@duetds/components 10.0.0-alpha.8 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1238) hide show
  1. package/hydrate/index.d.ts +38 -7
  2. package/hydrate/index.js +11723 -4211
  3. package/hydrate/index.mjs +46153 -0
  4. package/lib/cjs/_commonjsHelpers-4N64IRaP.js +10 -0
  5. package/lib/cjs/a11y-utils-DmZK4TTO.js +46 -0
  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-99f2f39f.js → app-globals-C35yvbFy.js} +2 -2
  9. package/lib/cjs/{common-strings-2984301e.js → common-strings-CC6Xpjb8.js} +30 -0
  10. package/lib/cjs/duet-action-button.cjs.entry.js +84 -29
  11. package/lib/cjs/duet-alert.cjs.entry.js +106 -49
  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 +152 -72
  17. package/lib/cjs/duet-callout.cjs.entry.js +13 -10
  18. package/lib/cjs/duet-caption_4.cjs.entry.js +212 -46
  19. package/lib/cjs/duet-card.cjs.entry.js +93 -35
  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 +279 -130
  24. package/lib/cjs/duet-collapsible.cjs.entry.js +92 -33
  25. package/lib/cjs/duet-combobox.cjs.entry.js +99 -58
  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 +158 -57
  29. package/lib/cjs/duet-divider_2.cjs.entry.js +30 -14
  30. package/lib/cjs/duet-editable-table_3.cjs.entry.js +556 -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 +159 -35
  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 +225 -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 -59
  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 +191 -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 +52 -0
  58. package/lib/cjs/duet-phone-input.cjs.entry.js +2072 -0
  59. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +550 -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 +245 -91
  65. package/lib/cjs/duet-section-layout.cjs.entry.js +17 -10
  66. package/lib/cjs/duet-select.cjs.entry.js +89 -46
  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 +85 -52
  76. package/lib/cjs/duet-status-icon.cjs.entry.js +28 -15
  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 +146 -71
  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-2db03da6.js → errorcodes.utils-lNwivqkj.js} +2 -2
  98. package/lib/cjs/floating-ui.dom.browser.min-Cj0r5YDz.js +709 -0
  99. package/lib/cjs/{focus-utils-5578a0a5.js → focus-utils-DFa0zwT7.js} +1 -1
  100. package/lib/cjs/form-search-CzPfHB80.js +21 -0
  101. package/lib/cjs/{index-9c3aea30.js → index-C0kw3uAi.js} +1863 -1363
  102. package/lib/cjs/{label-a742a2d5.js → label-BJ7gT5C1.js} +1 -1
  103. package/lib/cjs/{language-utils-9499975c.js → language-utils-v37OZJFe.js} +10 -2
  104. package/lib/cjs/loader.cjs.js +3 -5
  105. package/lib/cjs/{slot-utils-799906b5.js → slot-utils-DFmRJ2pY.js} +6 -1
  106. package/lib/cjs/{teleport-c6f8391a.js → teleport-D5NDbuu0.js} +22 -7
  107. package/lib/cjs/themeable-component-BEm0vuJc.js +74 -0
  108. package/lib/cjs/{token-utils-5000595c.js → token-utils-BJtlJxnJ.js} +80 -9
  109. package/lib/cjs/{tokens-57e06fe4.js → tokens-BxWzRxOl.js} +150 -8
  110. package/lib/cjs/{tokens.module-7c947029.js → tokens.module-DJt2h4FX.js} +99 -3
  111. package/lib/cjs/{watch-options-30a12622.js → watch-options-D4JNsU3B.js} +0 -20
  112. package/lib/collection/collection-manifest.json +6 -1
  113. package/lib/collection/common/themeable-component.js +61 -3
  114. package/lib/collection/common-strings.js +28 -0
  115. package/lib/collection/components/duet-action-button/duet-action-button.css +29 -12
  116. package/lib/collection/components/duet-action-button/duet-action-button.js +92 -33
  117. package/lib/collection/components/duet-alert/duet-alert.css +96 -58
  118. package/lib/collection/components/duet-alert/duet-alert.js +145 -58
  119. package/lib/collection/components/duet-badge/duet-badge.css +24 -9
  120. package/lib/collection/components/duet-badge/duet-badge.js +30 -6
  121. package/lib/collection/components/duet-banner/duet-banner.css +51 -24
  122. package/lib/collection/components/duet-banner/duet-banner.js +94 -29
  123. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +10 -8
  124. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +26 -28
  125. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +18 -7
  126. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +15 -6
  127. package/lib/collection/components/duet-button/duet-button.css +170 -48
  128. package/lib/collection/components/duet-button/duet-button.js +170 -89
  129. package/lib/collection/components/duet-callout/duet-callout.css +7 -2
  130. package/lib/collection/components/duet-callout/duet-callout.js +10 -4
  131. package/lib/collection/components/duet-caption/duet-caption.css +7 -3
  132. package/lib/collection/components/duet-caption/duet-caption.js +18 -6
  133. package/lib/collection/components/duet-card/duet-card.css +48 -16
  134. package/lib/collection/components/duet-card/duet-card.js +131 -37
  135. package/lib/collection/components/duet-checkbox/duet-checkbox.css +30 -8
  136. package/lib/collection/components/duet-checkbox/duet-checkbox.js +86 -47
  137. package/lib/collection/components/duet-chip/duet-chip.css +66 -25
  138. package/lib/collection/components/duet-chip/duet-chip.js +67 -35
  139. package/lib/collection/components/duet-choice/duet-checkmark.css +4 -0
  140. package/lib/collection/components/duet-choice/duet-checkmark.js +22 -7
  141. package/lib/collection/components/duet-choice/duet-choice.css +160 -40
  142. package/lib/collection/components/duet-choice/duet-choice.js +241 -139
  143. package/lib/collection/components/duet-choice-group/duet-choice-group.css +4 -4
  144. package/lib/collection/components/duet-choice-group/duet-choice-group.js +109 -48
  145. package/lib/collection/components/duet-collapsible/duet-collapsible.css +36 -13
  146. package/lib/collection/components/duet-collapsible/duet-collapsible.js +97 -35
  147. package/lib/collection/components/duet-combobox/duet-combobox.css +9 -2
  148. package/lib/collection/components/duet-combobox/duet-combobox.js +103 -56
  149. package/lib/collection/components/duet-contact-card/duet-contact-card.css +8 -4
  150. package/lib/collection/components/duet-contact-card/duet-contact-card.js +21 -19
  151. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +23 -14
  152. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +11 -5
  153. package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
  154. package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
  155. package/lib/collection/components/duet-date-picker/duet-date-picker.css +102 -45
  156. package/lib/collection/components/duet-date-picker/duet-date-picker.js +172 -69
  157. package/lib/collection/components/duet-divider/duet-divider.css +12 -6
  158. package/lib/collection/components/duet-divider/duet-divider.js +14 -4
  159. package/lib/collection/components/duet-editable-table/duet-editable-table.css +2 -2
  160. package/lib/collection/components/duet-editable-table/duet-editable-table.js +83 -26
  161. package/lib/collection/components/duet-empty-state/duet-empty-state.css +11 -6
  162. package/lib/collection/components/duet-empty-state/duet-empty-state.js +14 -5
  163. package/lib/collection/components/duet-fieldset/duet-fieldset.css +13 -6
  164. package/lib/collection/components/duet-fieldset/duet-fieldset.js +58 -20
  165. package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +2 -2
  166. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +17 -7
  167. package/lib/collection/components/duet-footer/duet-footer.css +43 -14
  168. package/lib/collection/components/duet-footer/duet-footer.js +55 -27
  169. package/lib/collection/components/duet-grid/duet-grid.css +2 -6
  170. package/lib/collection/components/duet-grid/duet-grid.js +144 -67
  171. package/lib/collection/components/duet-grid-item/duet-grid-item.css +6 -2
  172. package/lib/collection/components/duet-grid-item/duet-grid-item.js +40 -13
  173. package/lib/collection/components/duet-header/duet-header.css +165 -65
  174. package/lib/collection/components/duet-header/duet-header.js +165 -76
  175. package/lib/collection/components/duet-heading/duet-heading.css +11 -6
  176. package/lib/collection/components/duet-heading/duet-heading.js +56 -12
  177. package/lib/collection/components/duet-hero/duet-hero.css +326 -18
  178. package/lib/collection/components/duet-hero/duet-hero.js +197 -51
  179. package/lib/collection/components/duet-icon/duet-icon.css +17 -5
  180. package/lib/collection/components/duet-icon/duet-icon.js +71 -24
  181. package/lib/collection/components/duet-indicator/duet-indicator.css +50 -0
  182. package/lib/collection/components/duet-indicator/duet-indicator.js +138 -0
  183. package/lib/collection/components/duet-input/duet-input.css +159 -53
  184. package/lib/collection/components/duet-input/duet-input.js +315 -141
  185. package/lib/collection/components/duet-label/duet-label.css +8 -4
  186. package/lib/collection/components/duet-label/duet-label.js +23 -8
  187. package/lib/collection/components/duet-layout/duet-layout.css +4 -4
  188. package/lib/collection/components/duet-layout/duet-layout.js +35 -12
  189. package/lib/collection/components/duet-link/duet-link.css +144 -25
  190. package/lib/collection/components/duet-link/duet-link.js +120 -32
  191. package/lib/collection/components/duet-list/duet-list.css +4 -4
  192. package/lib/collection/components/duet-list/duet-list.js +38 -9
  193. package/lib/collection/components/duet-list-item/duet-list-item.css +29 -9
  194. package/lib/collection/components/duet-list-item/duet-list-item.js +50 -4
  195. package/lib/collection/components/duet-logo/duet-logo.css +36 -8
  196. package/lib/collection/components/duet-logo/duet-logo.js +111 -11
  197. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +108 -6
  198. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +59 -58
  199. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +17 -8
  200. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +33 -22
  201. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +28 -12
  202. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +20 -12
  203. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +19 -9
  204. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +18 -10
  205. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +28 -10
  206. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +39 -16
  207. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +25 -10
  208. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +19 -8
  209. package/lib/collection/components/duet-modal/duet-modal.css +23 -25
  210. package/lib/collection/components/duet-modal/duet-modal.js +193 -39
  211. package/lib/collection/components/duet-multiselect/duet-multiselect.css +70 -29
  212. package/lib/collection/components/duet-multiselect/duet-multiselect.js +98 -48
  213. package/lib/collection/components/duet-nav/duet-nav.css +8 -4
  214. package/lib/collection/components/duet-nav/duet-nav.js +10 -3
  215. package/lib/collection/components/duet-notification/duet-notification.css +33 -26
  216. package/lib/collection/components/duet-notification/duet-notification.js +46 -9
  217. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +38 -36
  218. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +57 -24
  219. package/lib/collection/components/duet-number-input/duet-number-input.css +29 -14
  220. package/lib/collection/components/duet-number-input/duet-number-input.js +204 -103
  221. package/lib/collection/components/duet-overlay/duet-overlay.css +5 -1
  222. package/lib/collection/components/duet-overlay/duet-overlay.js +40 -15
  223. package/lib/collection/components/duet-page-heading/duet-page-heading.css +44 -16
  224. package/lib/collection/components/duet-page-heading/duet-page-heading.js +17 -9
  225. package/lib/collection/components/duet-pagination/duet-pagination.css +8 -4
  226. package/lib/collection/components/duet-pagination/duet-pagination.js +130 -76
  227. package/lib/collection/components/duet-panel/duet-panel.css +99 -0
  228. package/lib/collection/components/duet-panel/duet-panel.js +233 -0
  229. package/lib/collection/components/duet-paragraph/duet-paragraph.css +19 -6
  230. package/lib/collection/components/duet-paragraph/duet-paragraph.js +29 -8
  231. package/lib/collection/components/duet-phone-input/duet-phone-input.css +64 -0
  232. package/lib/collection/components/duet-phone-input/duet-phone-input.js +930 -0
  233. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +14 -6
  234. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +245 -91
  235. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +30 -12
  236. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +64 -29
  237. package/lib/collection/components/duet-progress/duet-progress.css +27 -8
  238. package/lib/collection/components/duet-progress/duet-progress.js +36 -14
  239. package/lib/collection/components/duet-promo-card/duet-promo-card.css +18 -12
  240. package/lib/collection/components/duet-promo-card/duet-promo-card.js +47 -11
  241. package/lib/collection/components/duet-radio/duet-radio.css +41 -8
  242. package/lib/collection/components/duet-radio/duet-radio.js +67 -49
  243. package/lib/collection/components/duet-radio-group/duet-radio-group.css +4 -4
  244. package/lib/collection/components/duet-radio-group/duet-radio-group.js +78 -30
  245. package/lib/collection/components/duet-range-slider/duet-range-slider.css +63 -18
  246. package/lib/collection/components/duet-range-slider/duet-range-slider.js +85 -46
  247. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +8 -4
  248. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +43 -14
  249. package/lib/collection/components/duet-scrollable/duet-scrollable.css +36 -25
  250. package/lib/collection/components/duet-scrollable/duet-scrollable.js +175 -31
  251. package/lib/collection/components/duet-section-layout/duet-section-layout.css +4 -4
  252. package/lib/collection/components/duet-section-layout/duet-section-layout.js +16 -6
  253. package/lib/collection/components/duet-select/duet-select.css +54 -23
  254. package/lib/collection/components/duet-select/duet-select.js +109 -63
  255. package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +6 -6
  256. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +17 -9
  257. package/lib/collection/components/duet-share-chart/duet-share-chart.css +82 -0
  258. package/lib/collection/components/duet-share-chart/duet-share-chart.js +141 -0
  259. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +67 -0
  260. package/lib/collection/components/duet-show-more/duet-show-more.css +15 -8
  261. package/lib/collection/components/duet-show-more/duet-show-more.js +87 -37
  262. package/lib/collection/components/duet-slideout/duet-slideout.css +72 -40
  263. package/lib/collection/components/duet-slideout/duet-slideout.js +88 -50
  264. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +10 -6
  265. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +5 -2
  266. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +41 -13
  267. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +135 -12
  268. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +63 -40
  269. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +47 -30
  270. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +29 -16
  271. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +25 -11
  272. package/lib/collection/components/duet-spacer/duet-spacer.css +2 -2
  273. package/lib/collection/components/duet-spacer/duet-spacer.js +14 -4
  274. package/lib/collection/components/duet-spinner/duet-spinner.css +10 -16
  275. package/lib/collection/components/duet-spinner/duet-spinner.js +21 -23
  276. package/lib/collection/components/duet-status-icon/duet-status-icon.js +30 -15
  277. package/lib/collection/components/duet-step/duet-step.css +28 -13
  278. package/lib/collection/components/duet-step/duet-step.js +25 -16
  279. package/lib/collection/components/duet-stepper/duet-stepper.css +4 -4
  280. package/lib/collection/components/duet-stepper/duet-stepper.js +45 -10
  281. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +34 -16
  282. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +25 -16
  283. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +49 -15
  284. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +25 -13
  285. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +29 -8
  286. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +26 -8
  287. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +33 -10
  288. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +38 -15
  289. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +34 -9
  290. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +17 -5
  291. package/lib/collection/components/duet-tab/duet-tab.css +15 -11
  292. package/lib/collection/components/duet-tab/duet-tab.js +88 -24
  293. package/lib/collection/components/duet-tab-group/duet-tab-group.css +131 -85
  294. package/lib/collection/components/duet-tab-group/duet-tab-group.js +175 -52
  295. package/lib/collection/components/duet-table/duet-table-styles.js +68 -4
  296. package/lib/collection/components/duet-table/duet-table.js +43 -14
  297. package/lib/collection/components/duet-textarea/duet-textarea.css +67 -22
  298. package/lib/collection/components/duet-textarea/duet-textarea.js +227 -99
  299. package/lib/collection/components/duet-toggle/duet-toggle.css +26 -10
  300. package/lib/collection/components/duet-toggle/duet-toggle.js +62 -38
  301. package/lib/collection/components/duet-toolbar/duet-toolbar.css +11 -4
  302. package/lib/collection/components/duet-toolbar/duet-toolbar.js +11 -6
  303. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +42 -12
  304. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +28 -14
  305. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +21 -8
  306. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +23 -9
  307. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +52 -30
  308. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +48 -19
  309. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +60 -10
  310. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +23 -9
  311. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +24 -14
  312. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +9 -11
  313. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +48 -16
  314. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +18 -14
  315. package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -4
  316. package/lib/collection/components/duet-tooltip/duet-tooltip.js +100 -45
  317. package/lib/collection/components/duet-tray/duet-tray.css +43 -27
  318. package/lib/collection/components/duet-tray/duet-tray.js +63 -21
  319. package/lib/collection/components/duet-upload/duet-upload.css +6 -6
  320. package/lib/collection/components/duet-upload/duet-upload.js +419 -213
  321. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +35 -13
  322. package/lib/collection/components/duet-upload-item/duet-upload-item.js +17 -18
  323. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.css +3 -3
  324. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  325. package/lib/collection/data/countries.js +1762 -0
  326. package/lib/collection/index.js +1 -0
  327. package/lib/collection/utils/a11y-utils.js +20 -0
  328. package/lib/collection/utils/language-utils.js +7 -0
  329. package/lib/collection/utils/slot-utils.js +4 -0
  330. package/lib/collection/utils/teleport.js +22 -7
  331. package/lib/collection/utils/test-utils.js +2 -2
  332. package/lib/collection/utils/token-utils.js +59 -7
  333. package/lib/collection/utils/turva2-color-tokens.js +42 -0
  334. package/lib/duet/duet.esm.js +1 -1
  335. package/lib/duet/p-0393a2ca.entry.js +4 -0
  336. package/lib/duet/p-0b8da007.entry.js +4 -0
  337. package/lib/duet/p-0d2652f7.entry.js +4 -0
  338. package/lib/duet/p-0f746b98.entry.js +4 -0
  339. package/lib/duet/p-1061ece7.entry.js +4 -0
  340. package/lib/duet/p-10b89587.entry.js +4 -0
  341. package/lib/duet/p-155804fc.entry.js +4 -0
  342. package/lib/duet/p-1695a1dd.entry.js +4 -0
  343. package/lib/duet/p-1c122e53.entry.js +4 -0
  344. package/lib/duet/p-1ede805a.entry.js +4 -0
  345. package/lib/duet/p-1fc5668c.entry.js +4 -0
  346. package/lib/duet/p-203c2af3.entry.js +4 -0
  347. package/lib/duet/p-2170d5a6.entry.js +4 -0
  348. package/lib/duet/{p-98c15b83.entry.js → p-2292ac97.entry.js} +1 -1
  349. package/lib/duet/p-23719bbb.entry.js +4 -0
  350. package/lib/duet/p-25a8b510.entry.js +4 -0
  351. package/lib/duet/p-267d0b7d.entry.js +4 -0
  352. package/lib/duet/{p-bfafaac4.entry.js → p-333694e4.entry.js} +1 -1
  353. package/lib/duet/p-36e58097.entry.js +4 -0
  354. package/lib/duet/p-38159827.entry.js +4 -0
  355. package/lib/duet/p-3968d0e9.entry.js +4 -0
  356. package/lib/duet/p-39775eb6.entry.js +4 -0
  357. package/lib/duet/p-3f940846.entry.js +4 -0
  358. package/lib/duet/p-3fbe4a4b.entry.js +4 -0
  359. package/lib/duet/p-3hcgvjwC.js +4 -0
  360. package/lib/duet/p-40dc43ed.entry.js +4 -0
  361. package/lib/duet/p-4203ad81.entry.js +4 -0
  362. package/lib/duet/p-42c15472.entry.js +4 -0
  363. package/lib/duet/p-43129496.entry.js +4 -0
  364. package/lib/duet/p-44e37a84.entry.js +4 -0
  365. package/lib/duet/p-451c55fb.entry.js +4 -0
  366. package/lib/duet/p-475cc911.entry.js +4 -0
  367. package/lib/duet/p-47d446f9.entry.js +4 -0
  368. package/lib/duet/p-4966dc81.entry.js +4 -0
  369. package/lib/duet/{p-15ecb8d0.entry.js → p-4a86aee3.entry.js} +1 -1
  370. package/lib/duet/p-4cc6fbda.entry.js +4 -0
  371. package/lib/duet/p-4d49d2ad.entry.js +4 -0
  372. package/lib/duet/p-529c4873.entry.js +4 -0
  373. package/lib/duet/p-53cb5ddf.entry.js +4 -0
  374. package/lib/duet/p-55243d88.entry.js +4 -0
  375. package/lib/duet/p-581d7bf3.entry.js +4 -0
  376. package/lib/duet/p-58ab58da.entry.js +4 -0
  377. package/lib/duet/p-58f95bf2.entry.js +4 -0
  378. package/lib/duet/p-5c89aaf2.entry.js +4 -0
  379. package/lib/duet/p-5e15625d.entry.js +4 -0
  380. package/lib/duet/p-5iZMFvpJ.js +4 -0
  381. package/lib/duet/p-6be3d1ac.entry.js +4 -0
  382. package/lib/duet/p-6cb3031c.entry.js +4 -0
  383. package/lib/duet/p-7a4f44c2.entry.js +4 -0
  384. package/lib/duet/p-7b820413.entry.js +4 -0
  385. package/lib/duet/p-7be47e32.entry.js +4 -0
  386. package/lib/duet/{p-6138ae4f.entry.js → p-7d3681f4.entry.js} +1 -1
  387. package/lib/duet/p-80fd305f.entry.js +4 -0
  388. package/lib/duet/p-85074a3f.entry.js +4 -0
  389. package/lib/duet/p-871323e5.entry.js +4 -0
  390. package/lib/duet/p-88682993.entry.js +4 -0
  391. package/lib/duet/p-8885f050.entry.js +4 -0
  392. package/lib/duet/p-89c4434a.entry.js +4 -0
  393. package/lib/duet/p-8a5a900e.entry.js +4 -0
  394. package/lib/duet/p-96725230.entry.js +4 -0
  395. package/lib/duet/p-9c2ad6b1.entry.js +4 -0
  396. package/lib/duet/p-BDAqOMlM.js +4 -0
  397. package/lib/duet/p-BVgBUIYF.js +4 -0
  398. package/lib/duet/{p-81287261.js → p-B_NkY9T0.js} +1 -1
  399. package/lib/duet/p-BdCvOZ0R.js +4 -0
  400. package/lib/duet/p-Bg75Vqqq.js +4 -0
  401. package/lib/duet/p-BmMFVM-y.js +4 -0
  402. package/lib/duet/{p-5e9210a0.js → p-CDjWio68.js} +1 -1
  403. package/lib/duet/p-CVPfl9fc.js +4 -0
  404. package/lib/duet/p-CXz8FCgk.js +4 -0
  405. package/lib/duet/p-CooAqTCj.js +4 -0
  406. package/lib/duet/p-DEoH9jLj.js +4 -0
  407. package/lib/duet/p-DOuLHrH5.js +4 -0
  408. package/lib/duet/p-DXnMp1Z1.js +4 -0
  409. package/lib/duet/p-DYyVxyo8.js +4 -0
  410. package/lib/duet/{p-a45e3f8b.js → p-Db8rvjPI.js} +1 -1
  411. package/lib/duet/p-DvwKrUS6.js +4 -0
  412. package/lib/duet/p-EZOAO_vc.js +5 -0
  413. package/lib/duet/p-Tof9ag29.js +4 -0
  414. package/lib/duet/p-a05d9667.entry.js +4 -0
  415. package/lib/duet/p-a109719f.entry.js +4 -0
  416. package/lib/duet/p-a2c4fa32.entry.js +4 -0
  417. package/lib/duet/p-a3a61c66.entry.js +4 -0
  418. package/lib/duet/p-ac2a957c.entry.js +4 -0
  419. package/lib/duet/p-b4541648.entry.js +4 -0
  420. package/lib/duet/p-b4bf40a5.entry.js +4 -0
  421. package/lib/duet/p-b7d0d9fa.entry.js +4 -0
  422. package/lib/duet/p-baa33e33.entry.js +4 -0
  423. package/lib/duet/p-bd1c363d.entry.js +4 -0
  424. package/lib/duet/p-bda426ce.entry.js +4 -0
  425. package/lib/duet/p-c010c504.entry.js +4 -0
  426. package/lib/duet/p-c14ad166.entry.js +4 -0
  427. package/lib/duet/p-c3a79627.entry.js +4 -0
  428. package/lib/duet/p-d06af257.entry.js +4 -0
  429. package/lib/duet/p-d70babeb.entry.js +4 -0
  430. package/lib/duet/p-dc3f731a.entry.js +4 -0
  431. package/lib/duet/p-dc50ce9f.entry.js +4 -0
  432. package/lib/duet/p-dc53f89d.entry.js +4 -0
  433. package/lib/duet/p-e0054c71.entry.js +4 -0
  434. package/lib/duet/p-e26fee5b.entry.js +4 -0
  435. package/lib/duet/p-e528ba03.entry.js +4 -0
  436. package/lib/duet/p-e80de2cb.entry.js +4 -0
  437. package/lib/duet/p-eb6c0729.entry.js +4 -0
  438. package/lib/duet/p-ef206ef5.entry.js +4 -0
  439. package/lib/duet/p-f2fadb27.entry.js +4 -0
  440. package/lib/duet/p-fcbdf07c.entry.js +4 -0
  441. package/lib/duet/p-vVCYtBMj.js +4 -0
  442. package/lib/esm/_commonjsHelpers-DvwKrUS6.js +8 -0
  443. package/lib/esm/a11y-utils-By9FOQXs.js +43 -0
  444. package/lib/esm/action-arrow-down-small-Bk3GShyI.js +19 -0
  445. package/lib/esm/action-new-window-small-EH8_HdAm.js +19 -0
  446. package/lib/esm/{app-globals-f12e0500.js → app-globals-xm_WC7uO.js} +2 -2
  447. package/lib/esm/common-strings-CVPfl9fc.js +53 -0
  448. package/lib/esm/duet-action-button.entry.js +84 -27
  449. package/lib/esm/duet-alert.entry.js +106 -47
  450. package/lib/esm/duet-badge.entry.js +31 -7
  451. package/lib/esm/duet-banner.entry.js +71 -26
  452. package/lib/esm/duet-breadcrumb.entry.js +38 -25
  453. package/lib/esm/duet-breadcrumbs.entry.js +20 -12
  454. package/lib/esm/duet-button_2.entry.js +152 -70
  455. package/lib/esm/duet-callout.entry.js +13 -8
  456. package/lib/esm/duet-caption_4.entry.js +212 -44
  457. package/lib/esm/duet-card.entry.js +93 -33
  458. package/lib/esm/duet-checkbox.entry.js +68 -30
  459. package/lib/esm/duet-checkmark.entry.js +21 -7
  460. package/lib/esm/duet-chip.entry.js +354 -0
  461. package/lib/esm/duet-choice_2.entry.js +280 -129
  462. package/lib/esm/duet-collapsible.entry.js +92 -31
  463. package/lib/esm/duet-combobox.entry.js +99 -56
  464. package/lib/esm/duet-contact-card.entry.js +17 -16
  465. package/lib/esm/duet-cookie-consent.entry.js +14 -9
  466. package/lib/esm/duet-date-picker.entry.js +158 -55
  467. package/lib/esm/duet-divider_2.entry.js +30 -12
  468. package/lib/esm/duet-editable-table_3.entry.js +556 -208
  469. package/lib/esm/duet-empty-state.entry.js +15 -7
  470. package/lib/esm/duet-fieldset.entry.js +51 -16
  471. package/lib/esm/duet-file-chooser.entry.js +18 -9
  472. package/lib/esm/duet-footer.entry.js +56 -28
  473. package/lib/esm/duet-grid_2.entry.js +165 -62
  474. package/lib/esm/duet-header_2.entry.js +303 -90
  475. package/lib/esm/duet-hero.entry.js +159 -33
  476. package/lib/esm/duet-icon.entry.js +64 -18
  477. package/lib/esm/duet-indicator.entry.js +59 -0
  478. package/lib/esm/duet-input_2.entry.js +226 -85
  479. package/lib/esm/duet-layout.entry.js +33 -11
  480. package/lib/esm/duet-list_2.entry.js +58 -12
  481. package/lib/esm/duet-menu-bar-button.entry.js +24 -14
  482. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +19 -12
  483. package/lib/esm/duet-menu-bar-dropdown.entry.js +21 -14
  484. package/lib/esm/duet-menu-bar-item.entry.js +40 -17
  485. package/lib/esm/duet-menu-bar-link.entry.js +18 -8
  486. package/lib/esm/duet-menu-bar.entry.js +37 -57
  487. package/lib/esm/duet-modal.entry.js +122 -33
  488. package/lib/esm/duet-multiselect.entry.js +88 -40
  489. package/lib/esm/duet-nav.entry.js +12 -6
  490. package/lib/esm/duet-notification_2.entry.js +98 -30
  491. package/lib/esm/duet-number-input.entry.js +192 -69
  492. package/lib/esm/duet-overlay.entry.js +36 -12
  493. package/lib/esm/duet-page-heading.entry.js +16 -9
  494. package/lib/esm/duet-pagination_2.entry.js +162 -85
  495. package/lib/esm/duet-panel.entry.js +50 -0
  496. package/lib/esm/duet-phone-input.entry.js +2070 -0
  497. package/lib/esm/duet-popup-menu_2.entry.js +547 -0
  498. package/lib/esm/duet-progress.entry.js +32 -11
  499. package/lib/esm/duet-promo-card.entry.js +27 -11
  500. package/lib/esm/duet-radio_2.entry.js +114 -53
  501. package/lib/esm/duet-range-slider.entry.js +73 -35
  502. package/lib/esm/duet-scrollable_3.entry.js +245 -89
  503. package/lib/esm/duet-section-layout.entry.js +17 -8
  504. package/lib/esm/duet-select.entry.js +89 -44
  505. package/lib/esm/duet-shaped-image.entry.js +16 -9
  506. package/lib/esm/duet-share-chart-item.entry.js +20 -0
  507. package/lib/esm/duet-share-chart.entry.js +83 -0
  508. package/lib/esm/duet-show-more.entry.js +81 -36
  509. package/lib/esm/duet-slideout-lang.entry.js +10 -8
  510. package/lib/esm/duet-slideout-link.entry.js +61 -8
  511. package/lib/esm/duet-slideout-panel-dropdown.entry.js +25 -12
  512. package/lib/esm/duet-slideout-panel.entry.js +50 -34
  513. package/lib/esm/duet-slideout.entry.js +85 -50
  514. package/lib/esm/duet-status-icon.entry.js +28 -13
  515. package/lib/esm/duet-step_2.entry.js +73 -23
  516. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +25 -8
  517. package/lib/esm/duet-submenu-bar-dropdown.entry.js +27 -16
  518. package/lib/esm/duet-submenu-bar-item.entry.js +40 -17
  519. package/lib/esm/duet-submenu-bar-link.entry.js +18 -7
  520. package/lib/esm/duet-submenu-bar.entry.js +27 -19
  521. package/lib/esm/duet-textarea.entry.js +146 -69
  522. package/lib/esm/duet-toggle.entry.js +50 -27
  523. package/lib/esm/duet-toolbar-dropdown-link.entry.js +22 -9
  524. package/lib/esm/duet-toolbar-dropdown.entry.js +27 -14
  525. package/lib/esm/duet-toolbar-item.entry.js +46 -17
  526. package/lib/esm/duet-toolbar-link.entry.js +21 -8
  527. package/lib/esm/duet-toolbar.entry.js +12 -8
  528. package/lib/esm/duet-tooltip-button_2.entry.js +24 -25
  529. package/lib/esm/duet-tooltip.entry.js +97 -43
  530. package/lib/esm/duet-tray.entry.js +63 -22
  531. package/lib/esm/duet-upload-aria-status.entry.js +30 -9
  532. package/lib/esm/duet-upload-item.entry.js +12 -20
  533. package/lib/esm/duet-visually-hidden.entry.js +4 -5
  534. package/lib/esm/duet.js +7 -6
  535. package/lib/esm/{errorcodes.utils-d594aed8.js → errorcodes.utils-By8gaKwQ.js} +3 -3
  536. package/lib/esm/floating-ui.dom.browser.min-B_NkY9T0.js +702 -0
  537. package/lib/{dist-custom-elements/p-e30dc66d.js → esm/focus-utils-BVqqQKeY.js} +1 -1
  538. package/lib/esm/form-search-CevX33LA.js +19 -0
  539. package/lib/esm/{index-fa810c91.js → index-EZOAO_vc.js} +1861 -1359
  540. package/lib/{dist-custom-elements/p-8db11326.js → esm/keyboard-utils-Db8rvjPI.js} +1 -1
  541. package/lib/{dist-custom-elements/p-42619f94.js → esm/label-Dji6BDQC.js} +1 -1
  542. package/lib/esm/{language-utils-35eb1c9f.js → language-utils-COd-eoxb.js} +10 -3
  543. package/lib/esm/loader.js +4 -4
  544. package/lib/esm/{slot-utils-b2101c56.js → slot-utils-BSu3Mnho.js} +6 -2
  545. package/lib/{dist-custom-elements/p-ca3cb21e.js → esm/teleport-CooAqTCj.js} +22 -7
  546. package/lib/esm/themeable-component-spmVa3d3.js +72 -0
  547. package/lib/{dist-custom-elements/p-0562173d.js → esm/token-utils-Dks4GBDa.js} +80 -10
  548. package/lib/esm/{tokens-84fb2357.js → tokens-DOuLHrH5.js} +151 -7
  549. package/lib/esm/{tokens.module-2d02f5ff.js → tokens.module-BDAqOMlM.js} +100 -4
  550. package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-BmMFVM-y.js} +1 -20
  551. package/lib/index.js +1 -1
  552. package/lib/loader/cdn.js +1 -2
  553. package/lib/loader/index.cjs.js +1 -2
  554. package/lib/loader/index.es2017.js +0 -1
  555. package/lib/loader/index.js +1 -2
  556. package/lib/types/common-strings.d.ts +3 -0
  557. package/lib/types/common-types.d.ts +1 -1
  558. package/lib/types/components/duet-alert/duet-alert.d.ts +20 -10
  559. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
  560. package/lib/types/components/duet-banner/duet-banner.d.ts +6 -0
  561. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
  562. package/lib/types/components/duet-button/duet-button.d.ts +1 -1
  563. package/lib/types/components/duet-card/duet-card.d.ts +10 -0
  564. package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
  565. package/lib/types/components/duet-choice/duet-choice.d.ts +4 -8
  566. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +3 -2
  567. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +4 -1
  568. package/lib/types/components/duet-combobox/duet-combobox.d.ts +2 -0
  569. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +4 -0
  570. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +3 -0
  571. package/lib/types/components/duet-grid/duet-grid.d.ts +9 -7
  572. package/lib/types/components/duet-heading/duet-heading.d.ts +6 -0
  573. package/lib/types/components/duet-hero/duet-hero.d.ts +9 -0
  574. package/lib/types/components/duet-indicator/duet-indicator.d.ts +24 -0
  575. package/lib/types/components/duet-input/duet-input.d.ts +25 -16
  576. package/lib/types/components/duet-link/duet-link.d.ts +3 -0
  577. package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
  578. package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
  579. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
  580. package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
  581. package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
  582. package/lib/types/components/duet-number-input/duet-number-input.d.ts +13 -8
  583. package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
  584. package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
  585. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
  586. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +178 -0
  587. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +21 -7
  588. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
  589. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +4 -0
  590. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
  591. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +19 -0
  592. package/lib/types/components/duet-select/duet-select.d.ts +2 -1
  593. package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +34 -0
  594. package/lib/types/components/duet-share-chart-item/duet-share-chart-item.d.ts +13 -0
  595. package/lib/types/components/duet-show-more/duet-show-more.d.ts +1 -0
  596. package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -5
  597. package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +17 -0
  598. package/lib/types/components/duet-spinner/duet-spinner.d.ts +6 -3
  599. package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +1 -0
  600. package/lib/types/components/duet-stepper/duet-stepper.d.ts +5 -2
  601. package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
  602. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +10 -0
  603. package/lib/types/components/duet-textarea/duet-textarea.d.ts +21 -9
  604. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
  605. package/lib/types/components.d.ts +2440 -130
  606. package/lib/types/data/countries.d.ts +22 -0
  607. package/lib/types/index.d.ts +1 -0
  608. package/lib/types/stencil-public-runtime.d.ts +35 -6
  609. package/lib/types/utils/a11y-utils.d.ts +11 -0
  610. package/lib/types/utils/language-utils.d.ts +1 -0
  611. package/lib/types/utils/slot-utils.d.ts +1 -0
  612. package/lib/types/utils/teleport.d.ts +4 -1
  613. package/lib/types/utils/token-utils.d.ts +4 -0
  614. package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
  615. package/package.json +37 -17
  616. package/lib/cjs/a11y-utils-e921b85d.js +0 -25
  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 -703
  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/themeable-component-996b489c.js +0 -15
  623. package/lib/dist-custom-elements/duet-action-button.d.ts +0 -11
  624. package/lib/dist-custom-elements/duet-action-button.js +0 -9
  625. package/lib/dist-custom-elements/duet-alert.d.ts +0 -11
  626. package/lib/dist-custom-elements/duet-alert.js +0 -9
  627. package/lib/dist-custom-elements/duet-badge.d.ts +0 -11
  628. package/lib/dist-custom-elements/duet-badge.js +0 -9
  629. package/lib/dist-custom-elements/duet-banner.d.ts +0 -11
  630. package/lib/dist-custom-elements/duet-banner.js +0 -157
  631. package/lib/dist-custom-elements/duet-breadcrumb.d.ts +0 -11
  632. package/lib/dist-custom-elements/duet-breadcrumb.js +0 -101
  633. package/lib/dist-custom-elements/duet-breadcrumbs.d.ts +0 -11
  634. package/lib/dist-custom-elements/duet-breadcrumbs.js +0 -88
  635. package/lib/dist-custom-elements/duet-button.d.ts +0 -11
  636. package/lib/dist-custom-elements/duet-button.js +0 -9
  637. package/lib/dist-custom-elements/duet-callout.d.ts +0 -11
  638. package/lib/dist-custom-elements/duet-callout.js +0 -72
  639. package/lib/dist-custom-elements/duet-caption.d.ts +0 -11
  640. package/lib/dist-custom-elements/duet-caption.js +0 -9
  641. package/lib/dist-custom-elements/duet-card.d.ts +0 -11
  642. package/lib/dist-custom-elements/duet-card.js +0 -174
  643. package/lib/dist-custom-elements/duet-checkbox.d.ts +0 -11
  644. package/lib/dist-custom-elements/duet-checkbox.js +0 -9
  645. package/lib/dist-custom-elements/duet-checkmark.d.ts +0 -11
  646. package/lib/dist-custom-elements/duet-checkmark.js +0 -9
  647. package/lib/dist-custom-elements/duet-chip.d.ts +0 -11
  648. package/lib/dist-custom-elements/duet-chip.js +0 -9
  649. package/lib/dist-custom-elements/duet-choice-group.d.ts +0 -11
  650. package/lib/dist-custom-elements/duet-choice-group.js +0 -228
  651. package/lib/dist-custom-elements/duet-choice.d.ts +0 -11
  652. package/lib/dist-custom-elements/duet-choice.js +0 -454
  653. package/lib/dist-custom-elements/duet-collapsible.d.ts +0 -11
  654. package/lib/dist-custom-elements/duet-collapsible.js +0 -176
  655. package/lib/dist-custom-elements/duet-combobox.d.ts +0 -11
  656. package/lib/dist-custom-elements/duet-combobox.js +0 -702
  657. package/lib/dist-custom-elements/duet-contact-card.d.ts +0 -11
  658. package/lib/dist-custom-elements/duet-contact-card.js +0 -134
  659. package/lib/dist-custom-elements/duet-cookie-consent.d.ts +0 -11
  660. package/lib/dist-custom-elements/duet-cookie-consent.js +0 -106
  661. package/lib/dist-custom-elements/duet-date-picker.d.ts +0 -11
  662. package/lib/dist-custom-elements/duet-date-picker.js +0 -937
  663. package/lib/dist-custom-elements/duet-divider.d.ts +0 -11
  664. package/lib/dist-custom-elements/duet-divider.js +0 -9
  665. package/lib/dist-custom-elements/duet-editable-table.d.ts +0 -11
  666. package/lib/dist-custom-elements/duet-editable-table.js +0 -258
  667. package/lib/dist-custom-elements/duet-empty-state.d.ts +0 -11
  668. package/lib/dist-custom-elements/duet-empty-state.js +0 -9
  669. package/lib/dist-custom-elements/duet-fieldset.d.ts +0 -11
  670. package/lib/dist-custom-elements/duet-fieldset.js +0 -9
  671. package/lib/dist-custom-elements/duet-file-chooser.d.ts +0 -11
  672. package/lib/dist-custom-elements/duet-file-chooser.js +0 -86
  673. package/lib/dist-custom-elements/duet-footer.d.ts +0 -11
  674. package/lib/dist-custom-elements/duet-footer.js +0 -223
  675. package/lib/dist-custom-elements/duet-grid-item.d.ts +0 -11
  676. package/lib/dist-custom-elements/duet-grid-item.js +0 -9
  677. package/lib/dist-custom-elements/duet-grid.d.ts +0 -11
  678. package/lib/dist-custom-elements/duet-grid.js +0 -9
  679. package/lib/dist-custom-elements/duet-header.d.ts +0 -11
  680. package/lib/dist-custom-elements/duet-header.js +0 -698
  681. package/lib/dist-custom-elements/duet-heading.d.ts +0 -11
  682. package/lib/dist-custom-elements/duet-heading.js +0 -9
  683. package/lib/dist-custom-elements/duet-hero.d.ts +0 -11
  684. package/lib/dist-custom-elements/duet-hero.js +0 -299
  685. package/lib/dist-custom-elements/duet-icon.d.ts +0 -11
  686. package/lib/dist-custom-elements/duet-icon.js +0 -9
  687. package/lib/dist-custom-elements/duet-input.d.ts +0 -11
  688. package/lib/dist-custom-elements/duet-input.js +0 -9
  689. package/lib/dist-custom-elements/duet-label.d.ts +0 -11
  690. package/lib/dist-custom-elements/duet-label.js +0 -70
  691. package/lib/dist-custom-elements/duet-layout.d.ts +0 -11
  692. package/lib/dist-custom-elements/duet-layout.js +0 -94
  693. package/lib/dist-custom-elements/duet-link.d.ts +0 -11
  694. package/lib/dist-custom-elements/duet-link.js +0 -9
  695. package/lib/dist-custom-elements/duet-list-item.d.ts +0 -11
  696. package/lib/dist-custom-elements/duet-list-item.js +0 -9
  697. package/lib/dist-custom-elements/duet-list.d.ts +0 -11
  698. package/lib/dist-custom-elements/duet-list.js +0 -9
  699. package/lib/dist-custom-elements/duet-logo.d.ts +0 -11
  700. package/lib/dist-custom-elements/duet-logo.js +0 -9
  701. package/lib/dist-custom-elements/duet-menu-bar-button.d.ts +0 -11
  702. package/lib/dist-custom-elements/duet-menu-bar-button.js +0 -94
  703. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.d.ts +0 -11
  704. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +0 -87
  705. package/lib/dist-custom-elements/duet-menu-bar-dropdown.d.ts +0 -11
  706. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +0 -108
  707. package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +0 -11
  708. package/lib/dist-custom-elements/duet-menu-bar-item.js +0 -108
  709. package/lib/dist-custom-elements/duet-menu-bar-link.d.ts +0 -11
  710. package/lib/dist-custom-elements/duet-menu-bar-link.js +0 -70
  711. package/lib/dist-custom-elements/duet-menu-bar.d.ts +0 -11
  712. package/lib/dist-custom-elements/duet-menu-bar.js +0 -207
  713. package/lib/dist-custom-elements/duet-modal.d.ts +0 -11
  714. package/lib/dist-custom-elements/duet-modal.js +0 -382
  715. package/lib/dist-custom-elements/duet-multiselect.d.ts +0 -11
  716. package/lib/dist-custom-elements/duet-multiselect.js +0 -346
  717. package/lib/dist-custom-elements/duet-nav.d.ts +0 -11
  718. package/lib/dist-custom-elements/duet-nav.js +0 -54
  719. package/lib/dist-custom-elements/duet-notification-drawer.d.ts +0 -11
  720. package/lib/dist-custom-elements/duet-notification-drawer.js +0 -168
  721. package/lib/dist-custom-elements/duet-notification.d.ts +0 -11
  722. package/lib/dist-custom-elements/duet-notification.js +0 -95
  723. package/lib/dist-custom-elements/duet-number-input.d.ts +0 -11
  724. package/lib/dist-custom-elements/duet-number-input.js +0 -484
  725. package/lib/dist-custom-elements/duet-overlay.d.ts +0 -11
  726. package/lib/dist-custom-elements/duet-overlay.js +0 -9
  727. package/lib/dist-custom-elements/duet-page-heading.d.ts +0 -11
  728. package/lib/dist-custom-elements/duet-page-heading.js +0 -87
  729. package/lib/dist-custom-elements/duet-pagination.d.ts +0 -11
  730. package/lib/dist-custom-elements/duet-pagination.js +0 -493
  731. package/lib/dist-custom-elements/duet-paragraph.d.ts +0 -11
  732. package/lib/dist-custom-elements/duet-paragraph.js +0 -9
  733. package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +0 -11
  734. package/lib/dist-custom-elements/duet-popup-menu-item.js +0 -9
  735. package/lib/dist-custom-elements/duet-popup-menu.d.ts +0 -11
  736. package/lib/dist-custom-elements/duet-popup-menu.js +0 -9
  737. package/lib/dist-custom-elements/duet-progress.d.ts +0 -11
  738. package/lib/dist-custom-elements/duet-progress.js +0 -9
  739. package/lib/dist-custom-elements/duet-promo-card.d.ts +0 -11
  740. package/lib/dist-custom-elements/duet-promo-card.js +0 -105
  741. package/lib/dist-custom-elements/duet-radio-group.d.ts +0 -11
  742. package/lib/dist-custom-elements/duet-radio-group.js +0 -213
  743. package/lib/dist-custom-elements/duet-radio.d.ts +0 -11
  744. package/lib/dist-custom-elements/duet-radio.js +0 -230
  745. package/lib/dist-custom-elements/duet-range-slider.d.ts +0 -11
  746. package/lib/dist-custom-elements/duet-range-slider.js +0 -181
  747. package/lib/dist-custom-elements/duet-range-stepper.d.ts +0 -11
  748. package/lib/dist-custom-elements/duet-range-stepper.js +0 -234
  749. package/lib/dist-custom-elements/duet-scrollable.d.ts +0 -11
  750. package/lib/dist-custom-elements/duet-scrollable.js +0 -9
  751. package/lib/dist-custom-elements/duet-section-layout.d.ts +0 -11
  752. package/lib/dist-custom-elements/duet-section-layout.js +0 -56
  753. package/lib/dist-custom-elements/duet-select.d.ts +0 -11
  754. package/lib/dist-custom-elements/duet-select.js +0 -9
  755. package/lib/dist-custom-elements/duet-shaped-image.d.ts +0 -11
  756. package/lib/dist-custom-elements/duet-shaped-image.js +0 -64
  757. package/lib/dist-custom-elements/duet-show-more.d.ts +0 -11
  758. package/lib/dist-custom-elements/duet-show-more.js +0 -9
  759. package/lib/dist-custom-elements/duet-slideout-lang.d.ts +0 -11
  760. package/lib/dist-custom-elements/duet-slideout-lang.js +0 -76
  761. package/lib/dist-custom-elements/duet-slideout-link.d.ts +0 -11
  762. package/lib/dist-custom-elements/duet-slideout-link.js +0 -79
  763. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.d.ts +0 -11
  764. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +0 -93
  765. package/lib/dist-custom-elements/duet-slideout-panel.d.ts +0 -11
  766. package/lib/dist-custom-elements/duet-slideout-panel.js +0 -224
  767. package/lib/dist-custom-elements/duet-slideout.d.ts +0 -11
  768. package/lib/dist-custom-elements/duet-slideout.js +0 -328
  769. package/lib/dist-custom-elements/duet-spacer.d.ts +0 -11
  770. package/lib/dist-custom-elements/duet-spacer.js +0 -9
  771. package/lib/dist-custom-elements/duet-spinner.d.ts +0 -11
  772. package/lib/dist-custom-elements/duet-spinner.js +0 -9
  773. package/lib/dist-custom-elements/duet-status-icon.d.ts +0 -11
  774. package/lib/dist-custom-elements/duet-status-icon.js +0 -111
  775. package/lib/dist-custom-elements/duet-step.d.ts +0 -11
  776. package/lib/dist-custom-elements/duet-step.js +0 -147
  777. package/lib/dist-custom-elements/duet-stepper.d.ts +0 -11
  778. package/lib/dist-custom-elements/duet-stepper.js +0 -151
  779. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.d.ts +0 -11
  780. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +0 -81
  781. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +0 -11
  782. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +0 -152
  783. package/lib/dist-custom-elements/duet-submenu-bar-item.d.ts +0 -11
  784. package/lib/dist-custom-elements/duet-submenu-bar-item.js +0 -113
  785. package/lib/dist-custom-elements/duet-submenu-bar-link.d.ts +0 -11
  786. package/lib/dist-custom-elements/duet-submenu-bar-link.js +0 -72
  787. package/lib/dist-custom-elements/duet-submenu-bar.d.ts +0 -11
  788. package/lib/dist-custom-elements/duet-submenu-bar.js +0 -192
  789. package/lib/dist-custom-elements/duet-tab-group.d.ts +0 -11
  790. package/lib/dist-custom-elements/duet-tab-group.js +0 -306
  791. package/lib/dist-custom-elements/duet-tab.d.ts +0 -11
  792. package/lib/dist-custom-elements/duet-tab.js +0 -150
  793. package/lib/dist-custom-elements/duet-table.d.ts +0 -11
  794. package/lib/dist-custom-elements/duet-table.js +0 -9
  795. package/lib/dist-custom-elements/duet-textarea.d.ts +0 -11
  796. package/lib/dist-custom-elements/duet-textarea.js +0 -301
  797. package/lib/dist-custom-elements/duet-toggle.d.ts +0 -11
  798. package/lib/dist-custom-elements/duet-toggle.js +0 -146
  799. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.d.ts +0 -11
  800. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +0 -80
  801. package/lib/dist-custom-elements/duet-toolbar-dropdown.d.ts +0 -11
  802. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +0 -107
  803. package/lib/dist-custom-elements/duet-toolbar-item.d.ts +0 -11
  804. package/lib/dist-custom-elements/duet-toolbar-item.js +0 -120
  805. package/lib/dist-custom-elements/duet-toolbar-link.d.ts +0 -11
  806. package/lib/dist-custom-elements/duet-toolbar-link.js +0 -74
  807. package/lib/dist-custom-elements/duet-toolbar.d.ts +0 -11
  808. package/lib/dist-custom-elements/duet-toolbar.js +0 -67
  809. package/lib/dist-custom-elements/duet-tooltip-button.d.ts +0 -11
  810. package/lib/dist-custom-elements/duet-tooltip-button.js +0 -9
  811. package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +0 -11
  812. package/lib/dist-custom-elements/duet-tooltip-popup.js +0 -9
  813. package/lib/dist-custom-elements/duet-tooltip.d.ts +0 -11
  814. package/lib/dist-custom-elements/duet-tooltip.js +0 -9
  815. package/lib/dist-custom-elements/duet-tray.d.ts +0 -11
  816. package/lib/dist-custom-elements/duet-tray.js +0 -146
  817. package/lib/dist-custom-elements/duet-upload-aria-status.d.ts +0 -11
  818. package/lib/dist-custom-elements/duet-upload-aria-status.js +0 -9
  819. package/lib/dist-custom-elements/duet-upload-item.d.ts +0 -11
  820. package/lib/dist-custom-elements/duet-upload-item.js +0 -9
  821. package/lib/dist-custom-elements/duet-upload.d.ts +0 -11
  822. package/lib/dist-custom-elements/duet-upload.js +0 -1444
  823. package/lib/dist-custom-elements/duet-visually-hidden.d.ts +0 -11
  824. package/lib/dist-custom-elements/duet-visually-hidden.js +0 -9
  825. package/lib/dist-custom-elements/index.d.ts +0 -33
  826. package/lib/dist-custom-elements/index.js +0 -29
  827. package/lib/dist-custom-elements/p-0ccb587d.js +0 -124
  828. package/lib/dist-custom-elements/p-1080a6c7.js +0 -2130
  829. package/lib/dist-custom-elements/p-10cd2c68.js +0 -214
  830. package/lib/dist-custom-elements/p-115c79b6.js +0 -6
  831. package/lib/dist-custom-elements/p-1892dc7c.js +0 -80
  832. package/lib/dist-custom-elements/p-1a58f15b.js +0 -63
  833. package/lib/dist-custom-elements/p-297845c1.js +0 -206
  834. package/lib/dist-custom-elements/p-2d798e15.js +0 -80
  835. package/lib/dist-custom-elements/p-34a901da.js +0 -124
  836. package/lib/dist-custom-elements/p-35375593.js +0 -161
  837. package/lib/dist-custom-elements/p-3bea94c3.js +0 -313
  838. package/lib/dist-custom-elements/p-4c3d0ee5.js +0 -127
  839. package/lib/dist-custom-elements/p-530451fd.js +0 -55
  840. package/lib/dist-custom-elements/p-5ad0aa2d.js +0 -56
  841. package/lib/dist-custom-elements/p-6e12d8f9.js +0 -73
  842. package/lib/dist-custom-elements/p-77fe0881.js +0 -165
  843. package/lib/dist-custom-elements/p-7ef7ecb2.js +0 -607
  844. package/lib/dist-custom-elements/p-81287261.js +0 -1348
  845. package/lib/dist-custom-elements/p-846239a5.js +0 -340
  846. package/lib/dist-custom-elements/p-88a11eef.js +0 -81
  847. package/lib/dist-custom-elements/p-993aea39.js +0 -175
  848. package/lib/dist-custom-elements/p-9df4cfa4.js +0 -25
  849. package/lib/dist-custom-elements/p-9f10e30c.js +0 -642
  850. package/lib/dist-custom-elements/p-a2d287b0.js +0 -321
  851. package/lib/dist-custom-elements/p-aaa7a7bd.js +0 -13
  852. package/lib/dist-custom-elements/p-ad615991.js +0 -115
  853. package/lib/dist-custom-elements/p-afb6f7fb.js +0 -23
  854. package/lib/dist-custom-elements/p-b2db5fb1.js +0 -287
  855. package/lib/dist-custom-elements/p-b662900e.js +0 -178
  856. package/lib/dist-custom-elements/p-bae3d92e.js +0 -61
  857. package/lib/dist-custom-elements/p-bf91603e.js +0 -154
  858. package/lib/dist-custom-elements/p-c84c39d8.js +0 -60
  859. package/lib/dist-custom-elements/p-cea716f7.js +0 -503
  860. package/lib/dist-custom-elements/p-d004da5f.js +0 -6
  861. package/lib/dist-custom-elements/p-d07ce35f.js +0 -232
  862. package/lib/dist-custom-elements/p-d1aca1bf.js +0 -268
  863. package/lib/dist-custom-elements/p-d4202ee8.js +0 -110
  864. package/lib/dist-custom-elements/p-d74ee462.js +0 -61
  865. package/lib/dist-custom-elements/p-d8e88497.js +0 -194
  866. package/lib/dist-custom-elements/p-db1a07f5.js +0 -94
  867. package/lib/dist-custom-elements/p-df9299e6.js +0 -39
  868. package/lib/dist-custom-elements/p-e96839f2.js +0 -63
  869. package/lib/dist-custom-elements/p-ed2d40fe.js +0 -50
  870. package/lib/dist-custom-elements/p-f0d82988.js +0 -205
  871. package/lib/dist-custom-elements/p-f11208c3.js +0 -6
  872. package/lib/dist-custom-elements/p-f4e71ced.js +0 -102
  873. package/lib/dist-custom-elements/p-f6000a03.js +0 -753
  874. package/lib/dist-custom-elements/p-f611b32e.js +0 -83
  875. package/lib/dist-custom-elements/p-f86f4403.js +0 -100
  876. package/lib/dist-custom-elements/p-faa49d55.js +0 -370
  877. package/lib/duet/duet.js +0 -127
  878. package/lib/duet/p-038bb299.entry.js +0 -4
  879. package/lib/duet/p-03bfd386.system.js +0 -4
  880. package/lib/duet/p-050923e5.entry.js +0 -4
  881. package/lib/duet/p-053b71e6.system.js +0 -4
  882. package/lib/duet/p-054f5ec6.system.js +0 -4
  883. package/lib/duet/p-05aec682.entry.js +0 -4
  884. package/lib/duet/p-06995c4e.system.entry.js +0 -4
  885. package/lib/duet/p-08344bda.system.entry.js +0 -4
  886. package/lib/duet/p-0846f883.entry.js +0 -4
  887. package/lib/duet/p-08f3a77e.system.entry.js +0 -4
  888. package/lib/duet/p-091ce42a.entry.js +0 -4
  889. package/lib/duet/p-0998026d.system.entry.js +0 -4
  890. package/lib/duet/p-0a4b0639.entry.js +0 -4
  891. package/lib/duet/p-0a675075.js +0 -4
  892. package/lib/duet/p-0b818355.entry.js +0 -4
  893. package/lib/duet/p-0bcc93b7.entry.js +0 -4
  894. package/lib/duet/p-0c4708c0.system.entry.js +0 -4
  895. package/lib/duet/p-0c4bbd65.system.js +0 -4
  896. package/lib/duet/p-0cbec7c8.entry.js +0 -4
  897. package/lib/duet/p-0d334c84.system.entry.js +0 -4
  898. package/lib/duet/p-0d7369ef.system.entry.js +0 -4
  899. package/lib/duet/p-0d7da85a.js +0 -4
  900. package/lib/duet/p-0dc9089b.system.js +0 -4
  901. package/lib/duet/p-10b1f772.entry.js +0 -4
  902. package/lib/duet/p-115c79b6.js +0 -4
  903. package/lib/duet/p-12b25cdd.system.entry.js +0 -4
  904. package/lib/duet/p-145d2c10.entry.js +0 -4
  905. package/lib/duet/p-15d66914.system.entry.js +0 -4
  906. package/lib/duet/p-166d19ac.entry.js +0 -4
  907. package/lib/duet/p-178b8a47.system.entry.js +0 -4
  908. package/lib/duet/p-17bfda66.entry.js +0 -4
  909. package/lib/duet/p-18463379.system.entry.js +0 -4
  910. package/lib/duet/p-1a65974d.system.entry.js +0 -4
  911. package/lib/duet/p-1cc7a137.entry.js +0 -4
  912. package/lib/duet/p-1d1198dd.system.entry.js +0 -4
  913. package/lib/duet/p-1dff1118.system.entry.js +0 -4
  914. package/lib/duet/p-1ed2ef65.entry.js +0 -4
  915. package/lib/duet/p-20a1c9ac.entry.js +0 -4
  916. package/lib/duet/p-21dd3dba.system.entry.js +0 -4
  917. package/lib/duet/p-22d16f94.entry.js +0 -4
  918. package/lib/duet/p-2667d9dc.entry.js +0 -4
  919. package/lib/duet/p-2aa130a2.entry.js +0 -4
  920. package/lib/duet/p-2ae03409.entry.js +0 -4
  921. package/lib/duet/p-2afb5bf3.system.entry.js +0 -4
  922. package/lib/duet/p-2d6171e9.system.entry.js +0 -4
  923. package/lib/duet/p-2dcc7b0c.entry.js +0 -4
  924. package/lib/duet/p-31e19362.system.entry.js +0 -4
  925. package/lib/duet/p-330a4b1f.system.entry.js +0 -4
  926. package/lib/duet/p-374599c9.entry.js +0 -4
  927. package/lib/duet/p-38b22704.system.entry.js +0 -4
  928. package/lib/duet/p-3948c738.system.entry.js +0 -4
  929. package/lib/duet/p-3b15bdda.system.entry.js +0 -4
  930. package/lib/duet/p-3c2b3349.entry.js +0 -4
  931. package/lib/duet/p-3ca8e462.entry.js +0 -4
  932. package/lib/duet/p-41982d26.system.js +0 -4
  933. package/lib/duet/p-41d03609.system.entry.js +0 -4
  934. package/lib/duet/p-4289c19b.system.js +0 -5
  935. package/lib/duet/p-45c37e01.system.entry.js +0 -4
  936. package/lib/duet/p-473b8661.entry.js +0 -4
  937. package/lib/duet/p-485832e7.entry.js +0 -4
  938. package/lib/duet/p-49957220.system.js +0 -4
  939. package/lib/duet/p-4a2af66f.entry.js +0 -4
  940. package/lib/duet/p-4cff3036.system.js +0 -4
  941. package/lib/duet/p-4d06fd44.js +0 -4
  942. package/lib/duet/p-4d496fbd.entry.js +0 -4
  943. package/lib/duet/p-4d8a5d37.entry.js +0 -4
  944. package/lib/duet/p-4dc15982.system.entry.js +0 -4
  945. package/lib/duet/p-53604f23.entry.js +0 -4
  946. package/lib/duet/p-53c2006e.system.entry.js +0 -4
  947. package/lib/duet/p-53fc94a0.system.entry.js +0 -4
  948. package/lib/duet/p-54704ee1.system.entry.js +0 -4
  949. package/lib/duet/p-56f40850.system.entry.js +0 -4
  950. package/lib/duet/p-59f0bbf0.entry.js +0 -4
  951. package/lib/duet/p-5a0482d3.entry.js +0 -4
  952. package/lib/duet/p-5a72f8b5.system.entry.js +0 -4
  953. package/lib/duet/p-5c026823.entry.js +0 -4
  954. package/lib/duet/p-5ff95850.entry.js +0 -4
  955. package/lib/duet/p-60734222.system.entry.js +0 -4
  956. package/lib/duet/p-62a7d1e0.system.entry.js +0 -4
  957. package/lib/duet/p-652ef5c4.system.entry.js +0 -4
  958. package/lib/duet/p-65d9b543.entry.js +0 -4
  959. package/lib/duet/p-66dfb534.system.entry.js +0 -4
  960. package/lib/duet/p-6880e7e4.system.entry.js +0 -4
  961. package/lib/duet/p-69dda5cf.entry.js +0 -4
  962. package/lib/duet/p-6e5dbf3f.system.entry.js +0 -4
  963. package/lib/duet/p-6f878638.system.entry.js +0 -4
  964. package/lib/duet/p-70a6edcd.system.entry.js +0 -4
  965. package/lib/duet/p-70ea5a26.system.entry.js +0 -4
  966. package/lib/duet/p-72767ad2.entry.js +0 -4
  967. package/lib/duet/p-739ffce8.entry.js +0 -4
  968. package/lib/duet/p-74aa0f9d.system.js +0 -4
  969. package/lib/duet/p-752fa0fc.system.js +0 -4
  970. package/lib/duet/p-7648f559.system.js +0 -4
  971. package/lib/duet/p-77bbd147.entry.js +0 -4
  972. package/lib/duet/p-77f01407.entry.js +0 -4
  973. package/lib/duet/p-7931d6b8.entry.js +0 -4
  974. package/lib/duet/p-798942ab.entry.js +0 -4
  975. package/lib/duet/p-7b2d2e4d.system.entry.js +0 -4
  976. package/lib/duet/p-7bbf3a3b.system.entry.js +0 -4
  977. package/lib/duet/p-7d8a2628.js +0 -4
  978. package/lib/duet/p-7dfee16a.entry.js +0 -4
  979. package/lib/duet/p-7f16d0df.entry.js +0 -4
  980. package/lib/duet/p-7f22291f.entry.js +0 -4
  981. package/lib/duet/p-81cde516.system.entry.js +0 -4
  982. package/lib/duet/p-8228f180.system.entry.js +0 -4
  983. package/lib/duet/p-84835d40.entry.js +0 -4
  984. package/lib/duet/p-874f4064.system.entry.js +0 -4
  985. package/lib/duet/p-897e6941.entry.js +0 -4
  986. package/lib/duet/p-8a970f0a.system.entry.js +0 -4
  987. package/lib/duet/p-8b1c69f9.system.entry.js +0 -4
  988. package/lib/duet/p-8baeb065.entry.js +0 -4
  989. package/lib/duet/p-8eea942e.entry.js +0 -4
  990. package/lib/duet/p-8f477bd6.system.js +0 -4
  991. package/lib/duet/p-8f871c29.entry.js +0 -4
  992. package/lib/duet/p-8faaaf5f.system.js +0 -4
  993. package/lib/duet/p-90999186.entry.js +0 -4
  994. package/lib/duet/p-979fb2cf.entry.js +0 -4
  995. package/lib/duet/p-97b3fb78.system.entry.js +0 -4
  996. package/lib/duet/p-97eb9b2e.entry.js +0 -4
  997. package/lib/duet/p-97fe4968.js +0 -5
  998. package/lib/duet/p-98636086.system.js +0 -4
  999. package/lib/duet/p-9fab0a1d.system.entry.js +0 -4
  1000. package/lib/duet/p-a0a59034.system.entry.js +0 -4
  1001. package/lib/duet/p-a1a0370a.system.entry.js +0 -4
  1002. package/lib/duet/p-a20ed47c.js +0 -4
  1003. package/lib/duet/p-a4dbef0b.system.entry.js +0 -4
  1004. package/lib/duet/p-a54c3c58.system.entry.js +0 -4
  1005. package/lib/duet/p-a6bb7eb0.entry.js +0 -4
  1006. package/lib/duet/p-aaa7a7bd.js +0 -4
  1007. package/lib/duet/p-ac21f1dc.system.entry.js +0 -4
  1008. package/lib/duet/p-ac7ef7e2.js +0 -4
  1009. package/lib/duet/p-aca1538e.entry.js +0 -4
  1010. package/lib/duet/p-ae19da09.entry.js +0 -4
  1011. package/lib/duet/p-afad5fd3.system.js +0 -4
  1012. package/lib/duet/p-b2d5f07c.system.js +0 -4
  1013. package/lib/duet/p-b2f3287a.system.entry.js +0 -4
  1014. package/lib/duet/p-b5b8973c.js +0 -4
  1015. package/lib/duet/p-b6366830.system.entry.js +0 -4
  1016. package/lib/duet/p-b864159a.system.js +0 -4
  1017. package/lib/duet/p-b8d342d1.system.entry.js +0 -4
  1018. package/lib/duet/p-ba03d034.system.js +0 -4
  1019. package/lib/duet/p-bd3c7c60.system.entry.js +0 -4
  1020. package/lib/duet/p-be8044cb.system.entry.js +0 -4
  1021. package/lib/duet/p-beeb12f1.js +0 -4
  1022. package/lib/duet/p-bf85a8c6.entry.js +0 -4
  1023. package/lib/duet/p-bfe1d1d1.system.entry.js +0 -4
  1024. package/lib/duet/p-c2308ebd.entry.js +0 -4
  1025. package/lib/duet/p-c47bc68e.entry.js +0 -4
  1026. package/lib/duet/p-c5b6d9ed.entry.js +0 -4
  1027. package/lib/duet/p-c93daa4f.entry.js +0 -4
  1028. package/lib/duet/p-ca3cb21e.js +0 -4
  1029. package/lib/duet/p-cc5e6288.system.js +0 -4
  1030. package/lib/duet/p-cc67e773.js +0 -4
  1031. package/lib/duet/p-cc6e2037.system.entry.js +0 -4
  1032. package/lib/duet/p-cd4cd328.entry.js +0 -4
  1033. package/lib/duet/p-cf3dbdbe.entry.js +0 -4
  1034. package/lib/duet/p-cf6a502f.system.entry.js +0 -4
  1035. package/lib/duet/p-cfb501bd.entry.js +0 -4
  1036. package/lib/duet/p-d004da5f.js +0 -4
  1037. package/lib/duet/p-d080e1b9.system.js +0 -4
  1038. package/lib/duet/p-d159daa2.entry.js +0 -4
  1039. package/lib/duet/p-d3960f14.system.js +0 -4
  1040. package/lib/duet/p-d4f2abe8.entry.js +0 -4
  1041. package/lib/duet/p-d5a87e9a.js +0 -4
  1042. package/lib/duet/p-d6b00137.entry.js +0 -4
  1043. package/lib/duet/p-d7b8ea98.system.entry.js +0 -4
  1044. package/lib/duet/p-db2ccb9d.system.js +0 -4
  1045. package/lib/duet/p-dc68fee2.entry.js +0 -4
  1046. package/lib/duet/p-e05cecd0.system.entry.js +0 -4
  1047. package/lib/duet/p-e0b5d41a.system.entry.js +0 -4
  1048. package/lib/duet/p-e12066c8.system.js +0 -4
  1049. package/lib/duet/p-e1c5ef00.entry.js +0 -4
  1050. package/lib/duet/p-e21018b3.entry.js +0 -4
  1051. package/lib/duet/p-e216bea4.system.js +0 -4
  1052. package/lib/duet/p-e263283f.entry.js +0 -4
  1053. package/lib/duet/p-e4a0a1b3.entry.js +0 -4
  1054. package/lib/duet/p-e4c8559c.system.js +0 -4
  1055. package/lib/duet/p-e513c4ca.system.entry.js +0 -4
  1056. package/lib/duet/p-e6b5a1c7.system.js +0 -4
  1057. package/lib/duet/p-e6f7a7fd.system.entry.js +0 -4
  1058. package/lib/duet/p-e8f8aae8.system.js +0 -4
  1059. package/lib/duet/p-e93169b0.system.entry.js +0 -4
  1060. package/lib/duet/p-eb425c47.entry.js +0 -4
  1061. package/lib/duet/p-edcdd3e6.system.entry.js +0 -4
  1062. package/lib/duet/p-efa05a47.system.entry.js +0 -4
  1063. package/lib/duet/p-efe71c0a.system.entry.js +0 -4
  1064. package/lib/duet/p-f065f062.system.entry.js +0 -4
  1065. package/lib/duet/p-f11208c3.js +0 -4
  1066. package/lib/duet/p-f23de827.system.entry.js +0 -4
  1067. package/lib/duet/p-f4df9001.system.entry.js +0 -4
  1068. package/lib/duet/p-f5a0878c.entry.js +0 -4
  1069. package/lib/duet/p-f5b6fd8e.system.entry.js +0 -4
  1070. package/lib/duet/p-f6000a03.js +0 -4
  1071. package/lib/duet/p-f6b21d17.system.js +0 -4
  1072. package/lib/duet/p-f785408c.system.entry.js +0 -4
  1073. package/lib/duet/p-f892350a.entry.js +0 -4
  1074. package/lib/duet/p-f966e96a.system.entry.js +0 -4
  1075. package/lib/duet/p-fc06b1eb.system.entry.js +0 -4
  1076. package/lib/duet/p-fcc0e0bf.system.entry.js +0 -4
  1077. package/lib/duet/p-fd376e7c.entry.js +0 -4
  1078. package/lib/duet/p-fe13effe.system.entry.js +0 -4
  1079. package/lib/duet/p-ffb9535d.system.entry.js +0 -4
  1080. package/lib/esm/a11y-utils-9f6bee96.js +0 -23
  1081. package/lib/esm/action-arrow-down-small-82273dc8.js +0 -6
  1082. package/lib/esm/action-new-window-small-1945be91.js +0 -6
  1083. package/lib/esm/body-scroll-46854769.js +0 -234
  1084. package/lib/esm/bodyScrollLock.es6-ecbf187e.js +0 -184
  1085. package/lib/esm/common-strings-af765cad.js +0 -25
  1086. package/lib/esm/create-id-149a1b6d.js +0 -11
  1087. package/lib/esm/duet-chip_3.entry.js +0 -697
  1088. package/lib/esm/floating-ui.dom.esm-ebc91b33.js +0 -1348
  1089. package/lib/esm/focus-utils-fc101536.js +0 -18
  1090. package/lib/esm/form-search-ea8e19ae.js +0 -6
  1091. package/lib/esm/input-utils-85681162.js +0 -53
  1092. package/lib/esm/is-internet-explorer-2c48f686.js +0 -9
  1093. package/lib/esm/js-utils-9b9e0039.js +0 -47
  1094. package/lib/esm/keyboard-utils-daf80d44.js +0 -58
  1095. package/lib/esm/label-b3694b48.js +0 -20
  1096. package/lib/esm/polyfills/core-js.js +0 -11
  1097. package/lib/esm/polyfills/dom.js +0 -79
  1098. package/lib/esm/polyfills/es5-html-element.js +0 -1
  1099. package/lib/esm/polyfills/index.js +0 -34
  1100. package/lib/esm/polyfills/system.js +0 -6
  1101. package/lib/esm/string-utils-192eb3c8.js +0 -61
  1102. package/lib/esm/teleport-546f382d.js +0 -116
  1103. package/lib/esm/themeable-component-860041c5.js +0 -13
  1104. package/lib/esm/token-utils-b9ba8c5e.js +0 -138
  1105. package/lib/esm/watch-options-e96ecd92.js +0 -57
  1106. package/lib/esm-es5/a11y-utils-9f6bee96.js +0 -4
  1107. package/lib/esm-es5/action-arrow-down-small-82273dc8.js +0 -4
  1108. package/lib/esm-es5/action-new-window-small-1945be91.js +0 -4
  1109. package/lib/esm-es5/app-globals-f12e0500.js +0 -4
  1110. package/lib/esm-es5/body-scroll-46854769.js +0 -4
  1111. package/lib/esm-es5/bodyScrollLock.es6-ecbf187e.js +0 -4
  1112. package/lib/esm-es5/common-strings-af765cad.js +0 -4
  1113. package/lib/esm-es5/create-id-149a1b6d.js +0 -4
  1114. package/lib/esm-es5/duet-action-button.entry.js +0 -4
  1115. package/lib/esm-es5/duet-alert.entry.js +0 -4
  1116. package/lib/esm-es5/duet-badge.entry.js +0 -4
  1117. package/lib/esm-es5/duet-banner.entry.js +0 -4
  1118. package/lib/esm-es5/duet-breadcrumb.entry.js +0 -4
  1119. package/lib/esm-es5/duet-breadcrumbs.entry.js +0 -4
  1120. package/lib/esm-es5/duet-button_2.entry.js +0 -4
  1121. package/lib/esm-es5/duet-callout.entry.js +0 -4
  1122. package/lib/esm-es5/duet-caption_4.entry.js +0 -4
  1123. package/lib/esm-es5/duet-card.entry.js +0 -4
  1124. package/lib/esm-es5/duet-checkbox.entry.js +0 -4
  1125. package/lib/esm-es5/duet-checkmark.entry.js +0 -4
  1126. package/lib/esm-es5/duet-chip_3.entry.js +0 -4
  1127. package/lib/esm-es5/duet-choice_2.entry.js +0 -4
  1128. package/lib/esm-es5/duet-collapsible.entry.js +0 -4
  1129. package/lib/esm-es5/duet-combobox.entry.js +0 -4
  1130. package/lib/esm-es5/duet-contact-card.entry.js +0 -4
  1131. package/lib/esm-es5/duet-cookie-consent.entry.js +0 -4
  1132. package/lib/esm-es5/duet-date-picker.entry.js +0 -4
  1133. package/lib/esm-es5/duet-divider_2.entry.js +0 -4
  1134. package/lib/esm-es5/duet-editable-table_3.entry.js +0 -4
  1135. package/lib/esm-es5/duet-empty-state.entry.js +0 -4
  1136. package/lib/esm-es5/duet-fieldset.entry.js +0 -4
  1137. package/lib/esm-es5/duet-file-chooser.entry.js +0 -4
  1138. package/lib/esm-es5/duet-footer.entry.js +0 -4
  1139. package/lib/esm-es5/duet-grid_2.entry.js +0 -4
  1140. package/lib/esm-es5/duet-header_2.entry.js +0 -4
  1141. package/lib/esm-es5/duet-hero.entry.js +0 -4
  1142. package/lib/esm-es5/duet-icon.entry.js +0 -4
  1143. package/lib/esm-es5/duet-input_2.entry.js +0 -4
  1144. package/lib/esm-es5/duet-layout.entry.js +0 -4
  1145. package/lib/esm-es5/duet-list_2.entry.js +0 -4
  1146. package/lib/esm-es5/duet-menu-bar-button.entry.js +0 -4
  1147. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +0 -4
  1148. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +0 -4
  1149. package/lib/esm-es5/duet-menu-bar-item.entry.js +0 -4
  1150. package/lib/esm-es5/duet-menu-bar-link.entry.js +0 -4
  1151. package/lib/esm-es5/duet-menu-bar.entry.js +0 -4
  1152. package/lib/esm-es5/duet-modal.entry.js +0 -4
  1153. package/lib/esm-es5/duet-multiselect.entry.js +0 -4
  1154. package/lib/esm-es5/duet-nav.entry.js +0 -4
  1155. package/lib/esm-es5/duet-notification_2.entry.js +0 -4
  1156. package/lib/esm-es5/duet-number-input.entry.js +0 -4
  1157. package/lib/esm-es5/duet-overlay.entry.js +0 -4
  1158. package/lib/esm-es5/duet-page-heading.entry.js +0 -4
  1159. package/lib/esm-es5/duet-pagination_2.entry.js +0 -4
  1160. package/lib/esm-es5/duet-progress.entry.js +0 -4
  1161. package/lib/esm-es5/duet-promo-card.entry.js +0 -4
  1162. package/lib/esm-es5/duet-radio_2.entry.js +0 -4
  1163. package/lib/esm-es5/duet-range-slider.entry.js +0 -4
  1164. package/lib/esm-es5/duet-scrollable_3.entry.js +0 -4
  1165. package/lib/esm-es5/duet-section-layout.entry.js +0 -4
  1166. package/lib/esm-es5/duet-select.entry.js +0 -4
  1167. package/lib/esm-es5/duet-shaped-image.entry.js +0 -4
  1168. package/lib/esm-es5/duet-show-more.entry.js +0 -4
  1169. package/lib/esm-es5/duet-slideout-lang.entry.js +0 -4
  1170. package/lib/esm-es5/duet-slideout-link.entry.js +0 -4
  1171. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +0 -4
  1172. package/lib/esm-es5/duet-slideout-panel.entry.js +0 -4
  1173. package/lib/esm-es5/duet-slideout.entry.js +0 -4
  1174. package/lib/esm-es5/duet-status-icon.entry.js +0 -4
  1175. package/lib/esm-es5/duet-step_2.entry.js +0 -4
  1176. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +0 -4
  1177. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +0 -4
  1178. package/lib/esm-es5/duet-submenu-bar-item.entry.js +0 -4
  1179. package/lib/esm-es5/duet-submenu-bar-link.entry.js +0 -4
  1180. package/lib/esm-es5/duet-submenu-bar.entry.js +0 -4
  1181. package/lib/esm-es5/duet-textarea.entry.js +0 -4
  1182. package/lib/esm-es5/duet-toggle.entry.js +0 -4
  1183. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +0 -4
  1184. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +0 -4
  1185. package/lib/esm-es5/duet-toolbar-item.entry.js +0 -4
  1186. package/lib/esm-es5/duet-toolbar-link.entry.js +0 -4
  1187. package/lib/esm-es5/duet-toolbar.entry.js +0 -4
  1188. package/lib/esm-es5/duet-tooltip-button_2.entry.js +0 -4
  1189. package/lib/esm-es5/duet-tooltip.entry.js +0 -4
  1190. package/lib/esm-es5/duet-tray.entry.js +0 -4
  1191. package/lib/esm-es5/duet-upload-aria-status.entry.js +0 -4
  1192. package/lib/esm-es5/duet-upload-item.entry.js +0 -4
  1193. package/lib/esm-es5/duet-visually-hidden.entry.js +0 -4
  1194. package/lib/esm-es5/duet.js +0 -4
  1195. package/lib/esm-es5/errorcodes.utils-d594aed8.js +0 -4
  1196. package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
  1197. package/lib/esm-es5/focus-utils-fc101536.js +0 -4
  1198. package/lib/esm-es5/form-search-ea8e19ae.js +0 -4
  1199. package/lib/esm-es5/index-fa810c91.js +0 -4
  1200. package/lib/esm-es5/index.js +0 -3
  1201. package/lib/esm-es5/input-utils-85681162.js +0 -4
  1202. package/lib/esm-es5/is-internet-explorer-2c48f686.js +0 -4
  1203. package/lib/esm-es5/js-utils-9b9e0039.js +0 -4
  1204. package/lib/esm-es5/keyboard-utils-daf80d44.js +0 -4
  1205. package/lib/esm-es5/label-b3694b48.js +0 -4
  1206. package/lib/esm-es5/language-utils-35eb1c9f.js +0 -4
  1207. package/lib/esm-es5/loader.js +0 -4
  1208. package/lib/esm-es5/slot-utils-b2101c56.js +0 -4
  1209. package/lib/esm-es5/string-utils-192eb3c8.js +0 -4
  1210. package/lib/esm-es5/teleport-546f382d.js +0 -4
  1211. package/lib/esm-es5/themeable-component-860041c5.js +0 -4
  1212. package/lib/esm-es5/token-utils-b9ba8c5e.js +0 -4
  1213. package/lib/esm-es5/tokens-84fb2357.js +0 -4
  1214. package/lib/esm-es5/tokens.module-2d02f5ff.js +0 -4
  1215. package/lib/esm-es5/watch-options-e96ecd92.js +0 -4
  1216. package/lib/loader/package.json +0 -11
  1217. /package/lib/cjs/{body-scroll-dba42314.js → body-scroll-FWPe3_T_.js} +0 -0
  1218. /package/lib/cjs/{bodyScrollLock.es6-dd2d7d91.js → bodyScrollLock.es6-B2sCDud5.js} +0 -0
  1219. /package/lib/cjs/{create-id-1f8c438f.js → create-id-DtslnIOq.js} +0 -0
  1220. /package/lib/cjs/{input-utils-1096a2c5.js → input-utils-DUKdslOM.js} +0 -0
  1221. /package/lib/cjs/{is-internet-explorer-e7f58ebc.js → is-internet-explorer-BTLb_loH.js} +0 -0
  1222. /package/lib/cjs/{js-utils-92e24ba1.js → js-utils-hJ4A2edy.js} +0 -0
  1223. /package/lib/cjs/{keyboard-utils-f7c9f980.js → keyboard-utils-D9UlHbik.js} +0 -0
  1224. /package/lib/cjs/{string-utils-7b13c16e.js → string-utils-B35hEUBv.js} +0 -0
  1225. /package/lib/duet/{p-8354d1f1.js → p-B1B-PPrh.js} +0 -0
  1226. /package/lib/duet/{p-9e371678.js → p-BlUsLmbQ.js} +0 -0
  1227. /package/lib/duet/{p-fc09c464.js → p-C6CAT054.js} +0 -0
  1228. /package/lib/duet/{p-9c3c64b9.js → p-C6E9F6QT.js} +0 -0
  1229. /package/lib/duet/{p-df7874f9.js → p-CLDy7YaM.js} +0 -0
  1230. /package/lib/duet/{p-5e59e970.js → p-Cfr_DJqU.js} +0 -0
  1231. /package/lib/duet/{p-43b89e38.js → p-DxESMgwA.js} +0 -0
  1232. /package/lib/{dist-custom-elements/p-fc09c464.js → esm/body-scroll-C6CAT054.js} +0 -0
  1233. /package/lib/{dist-custom-elements/p-8354d1f1.js → esm/bodyScrollLock.es6-B1B-PPrh.js} +0 -0
  1234. /package/lib/{dist-custom-elements/p-5e59e970.js → esm/create-id-Cfr_DJqU.js} +0 -0
  1235. /package/lib/{dist-custom-elements/p-df7874f9.js → esm/input-utils-CLDy7YaM.js} +0 -0
  1236. /package/lib/{dist-custom-elements/p-43b89e38.js → esm/is-internet-explorer-DxESMgwA.js} +0 -0
  1237. /package/lib/{dist-custom-elements/p-9e371678.js → esm/js-utils-BlUsLmbQ.js} +0 -0
  1238. /package/lib/{dist-custom-elements/p-9c3c64b9.js → esm/string-utils-C6E9F6QT.js} +0 -0
@@ -3,18 +3,16 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- Object.defineProperty(exports, '__esModule', { value: true });
7
-
8
- const index = require('./index-9c3aea30.js');
9
- const themeableComponent = require('./themeable-component-996b489c.js');
10
- const jsUtils = require('./js-utils-92e24ba1.js');
11
- const keyboardUtils = require('./keyboard-utils-f7c9f980.js');
12
- const languageUtils = require('./language-utils-9499975c.js');
13
- const tokens_module = require('./tokens.module-7c947029.js');
14
- const tokenUtils = require('./token-utils-5000595c.js');
15
- const createId = require('./create-id-1f8c438f.js');
16
- const stringUtils = require('./string-utils-7b13c16e.js');
17
- const errorcodes_utils = require('./errorcodes.utils-2db03da6.js');
6
+ var index = require('./index-C0kw3uAi.js');
7
+ var themeableComponent = require('./themeable-component-BEm0vuJc.js');
8
+ var jsUtils = require('./js-utils-hJ4A2edy.js');
9
+ var keyboardUtils = require('./keyboard-utils-D9UlHbik.js');
10
+ var languageUtils = require('./language-utils-v37OZJFe.js');
11
+ var tokens_module = require('./tokens.module-DJt2h4FX.js');
12
+ var tokenUtils = require('./token-utils-BJtlJxnJ.js');
13
+ var createId = require('./create-id-DtslnIOq.js');
14
+ var stringUtils = require('./string-utils-B35hEUBv.js');
15
+ var errorcodes_utils = require('./errorcodes.utils-lNwivqkj.js');
18
16
 
19
17
  //simple functional component that renders the data in the table
20
18
  const TableData = ({ data, groupId, alignment }, _children) => {
@@ -27,8 +25,7 @@ const TableData = ({ data, groupId, alignment }, _children) => {
27
25
  }
28
26
  };
29
27
 
30
- 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}";
31
- const DuetEditableTableStyle0 = duetEditableTableCss;
28
+ 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}";
32
29
 
33
30
  const DuetEditableTable = class {
34
31
  constructor(hostRef) {
@@ -38,6 +35,74 @@ const DuetEditableTable = class {
38
35
  this.hasHeadSlotFirst = false;
39
36
  this.hasHeadSlotLast = false;
40
37
  this.hasFootSlot = false;
38
+ this.language = languageUtils.getLanguage();
39
+ /**
40
+ * Duet-table: margin of the component.
41
+ */
42
+ this.margin = "auto";
43
+ /**
44
+ * Duet-table: Style variation of the table.
45
+ */
46
+ this.variation = "striped";
47
+ /**
48
+ * Duet-table: Controls whether the table has a sticky header.
49
+ * Sticky headers are not compatible with breakpoint="none-scrollable".
50
+ */
51
+ this.sticky = false;
52
+ /**
53
+ * Duet-table: Adjust the distance from top of the viewport (in pixels) when the
54
+ * table header becomes sticky.
55
+ */
56
+ this.stickyDistance = "with-links";
57
+ /**
58
+ * Duet-table: By default the table is responsive - it will be flattened at narrow viewport widths.
59
+ * This prop controls the breakpoint at which the table should be rendered as a _regular_ table.
60
+ * Set to "none" to disable the responsive functionality.
61
+ * Set to "none-scrollable" to disable responsive functionality _and_ allow horizontal scrolling -
62
+ * this is useful for comparison tables where it's important to maintain column and row layout.
63
+ */
64
+ this.breakpoint = "small";
65
+ /**
66
+ * Define actions for all items in a table
67
+ * An alternative to inline HTML table.
68
+ * required for Sortable tables
69
+ * @default undefined
70
+ */
71
+ this.actions = undefined;
72
+ /**
73
+ * Define columns for a table
74
+ * An alternative to inline HTML table.
75
+ * required for Sortable tables
76
+ * @default undefined
77
+ */
78
+ this.columns = undefined;
79
+ /**
80
+ * Define rows for a table
81
+ * An alternative to inline HTML table.
82
+ * required for Sortable tables
83
+ * @default undefined
84
+ */
85
+ this.rows = undefined;
86
+ /**
87
+ * Controls whether the table is sortable by headers
88
+ */
89
+ this.sortable = false;
90
+ /**
91
+ * Optional id that get passed to the table and used to setup ::parts
92
+ */
93
+ this.groupId = "";
94
+ /**
95
+ * Theme of the table.
96
+ */
97
+ this.theme = "";
98
+ /**
99
+ * Exposes the aria role for optimizing accessibility.
100
+ */
101
+ this.accessibleRole = undefined;
102
+ /**
103
+ * Hide a thead section visually. The content is still available to screen readers.
104
+ */
105
+ this.hideHeadVisually = false;
41
106
  this.sortableDefaultLabel = {
42
107
  fi: "Järjestä",
43
108
  en: "Click to sort",
@@ -68,20 +133,6 @@ const DuetEditableTable = class {
68
133
  this.toggleColumn(column, e);
69
134
  }
70
135
  };
71
- this.language = languageUtils.getLanguage();
72
- this.margin = "auto";
73
- this.variation = "striped";
74
- this.sticky = false;
75
- this.stickyDistance = "with-links";
76
- this.breakpoint = "small";
77
- this.actions = undefined;
78
- this.columns = undefined;
79
- this.rows = undefined;
80
- this.sortable = false;
81
- this.groupId = "";
82
- this.theme = "";
83
- this.accessibleRole = undefined;
84
- this.hideHeadVisually = false;
85
136
  }
86
137
  /**
87
138
  * Component lifecycle events.
@@ -178,7 +229,7 @@ const DuetEditableTable = class {
178
229
  * Render Methods
179
230
  */
180
231
  render() {
181
- return (index.h(index.Host, { key: '170a18bded5a1eefa62aabdfe9cbec40ebb9ad51', class: {
232
+ return (index.h(index.Host, { key: '05720c6ef38164df71b02c23fb45d3d84808c2ac', class: {
182
233
  [`duet-editable-table-${this.variation}`]: true,
183
234
  "duet-editable-table": true,
184
235
  [`duet-editable-table-${this.theme}`]: true,
@@ -188,12 +239,15 @@ const DuetEditableTable = class {
188
239
  "duet-editable-table-actions": !!this.actions,
189
240
  "duet-m-0": this.margin === "none",
190
241
  "duet-theme-turva": this.theme === "turva",
191
- } }, index.h("duet-table", { key: '2282f3b54102b8fd06bbfb8c1158e54f400a21cc', 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 }, index.h("table", { key: 'dda2ea49bff29277445de50a779df0434e35d620', role: this.accessibleRole }, index.h("caption", { key: 'bb4633c4947dbfe2c9b8148688d1f03c67d94188' }, index.h("slot", { key: '471406fee4b4173e29abf754212355814f591266', name: "tcaption" })), index.h("thead", { key: 'f907958d599c07d6f220bc3159e8efa0ba85feb5' }, this.hasHeadSlotFirst && (index.h("tr", { key: '32803f29a816f2abe67aa8b2dbfd99fdff7c9e5b' }, index.h("td", { key: '634ee6e9a8b53e9610a7cbd0e5a536bcaf654207', class: "duet-editable-table-actions-menu", colSpan: 99 }, index.h("slot", { key: '444de221a86d743d36598d71fc3256c0aa16d034', name: "thead-first" })))), this.renderTableHeader(), this.hasHeadSlotLast && (index.h("tr", { key: 'a2c9f9914ab42a5421daac067472db45f6d680a7' }, index.h("td", { key: '0edd405623af60d014f509636fad5cf2f53f86a5', class: "duet-editable-table-actions-menu", colSpan: 99 }, index.h("slot", { key: '84f0e807a4ddf22910655aad0de2dcd7fd93973c', name: "thead-last" }))))), index.h("tbody", { key: '7b4413d38b050b69a0a71bcca7a8200d1f480d43' }, this.renderTableBody()), this.hasFootSlot && (index.h("tfoot", { key: 'a7096789b2fc5615b7a9622df8de361ea486bb69' }, index.h("tr", { key: '52afc13a557588195883a16b10b308b6c1062232' }, index.h("td", { key: 'a231e63b19ed8c96aec86973242e07c07506547d', class: "duet-editable-table-footer-menu", colSpan: 99 }, index.h("slot", { key: '152c200e205eb63fff18df14c4ded8ea67a340d5', name: "tfoot" })))))))));
242
+ } }, index.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 }, index.h("table", { key: '7f0689d1e576d5f0c5324715feaf21ce21c42e97', role: this.accessibleRole }, index.h("caption", { key: '4e18555d5513dde6724a449d12030cc666937367' }, index.h("slot", { key: 'df9bcd3bde75a2669a08eb2ff0c67720750e5450', name: "tcaption" })), index.h("thead", { key: 'efbbe81840f6e9ae9e0cc91fee5653c43181f131' }, this.hasHeadSlotFirst && (index.h("tr", { key: '36d1a860bf16229740501f3b076b02125d1b3d85' }, index.h("td", { key: '24c22fca3cbfef4ab9e2582cf32bf967654b8b43', class: "duet-editable-table-actions-menu", colSpan: 99 }, index.h("slot", { key: 'a02148a1d13dc8c3147b26da2f5aa84e3b359cdf', name: "thead-first" })))), this.renderTableHeader(), this.hasHeadSlotLast && (index.h("tr", { key: '7b7ab392f982f5f7ce4caa5e86f7a1062412aad2' }, index.h("td", { key: 'cd739dea8b81f3290bb86d7e977fa83d124fdd03', class: "duet-editable-table-actions-menu", colSpan: 99 }, index.h("slot", { key: '068a9f86388a25ca00944d8e9ecfbed6cf0e2cfe', name: "thead-last" }))))), index.h("tbody", { key: 'f65077b6dee57c962826c459ddb044d4230753c5' }, this.renderTableBody()), this.hasFootSlot && (index.h("tfoot", { key: 'eceeface4ad0a0bbb15dc188a343291cef04ec72' }, index.h("tr", { key: 'aff41dc81c24e09a03db4742bf6d51c17b8ce937' }, index.h("td", { key: '5d332218393462356c02ca19ff9c3398fbeb89a7', class: "duet-editable-table-footer-menu", colSpan: 99 }, index.h("slot", { key: 'b438187cfa67ef90452783e9522d106ecf9ab9d3', name: "tfoot" })))))))));
192
243
  }
193
244
  get element() { return index.getElement(this); }
194
245
  };
195
- DuetEditableTable.style = DuetEditableTableStyle0;
246
+ DuetEditableTable.style = duetEditableTableCss;
196
247
 
248
+ const rgbable = (value) => {
249
+ return value.replace("rgb(", "").replace(")", "");
250
+ };
197
251
  const styles = `
198
252
  duet-table {
199
253
  box-sizing: border-box;
@@ -359,6 +413,7 @@ duet-table {
359
413
  .duet-table-sticky thead th {
360
414
  position: sticky;
361
415
  top: 0;
416
+ z-index: $z-index-sticky;
362
417
  background: ${tokens_module.colorGrayLightest};
363
418
  }
364
419
 
@@ -394,7 +449,7 @@ duet-table {
394
449
  }
395
450
 
396
451
  &.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd) {
397
- background: rgba(${tokens_module.colorSecondaryTurva}, 0.04);
452
+ background: rgba(${rgbable(tokens_module.colorSecondaryTurva)}, 0.04);
398
453
  }
399
454
 
400
455
  tbody:not(:only-of-type) tr:nth-of-type(even) {
@@ -402,7 +457,7 @@ duet-table {
402
457
  }
403
458
 
404
459
  &.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even) {
405
- background: rgba(${tokens_module.colorSecondaryTurva}, 0.04);
460
+ background: rgba(${rgbable(tokens_module.colorSecondaryTurva)}, 0.04);
406
461
  }
407
462
 
408
463
  tfoot td {
@@ -603,10 +658,10 @@ duet-table {
603
658
  }
604
659
 
605
660
  .duet-table-selected-column {
606
- background: rgba(${tokens_module.colorPrimary}, 0.08);
661
+ background: rgba(${rgbable(tokens_module.colorPrimary)}, 0.08);
607
662
 
608
663
  .duet-theme-turva & {
609
- background: rgba(${tokens_module.colorGrayDarkerTurva}, 0.08);
664
+ background: rgba(${rgbable(tokens_module.colorGrayDarkerTurva)}, 0.08);
610
665
  }
611
666
  }
612
667
 
@@ -667,6 +722,66 @@ duet-table {
667
722
  grid-column: 2;
668
723
  }
669
724
  }
725
+
726
+ duet-table.duet-theme-turva2 {
727
+ &.duet-theme-turva td {
728
+ color: $color-turva2-gray-900;
729
+ }
730
+
731
+ &.duet-theme-turva tbody th {
732
+ color: $color-turva2-gray-900;
733
+ }
734
+
735
+ &.duet-table-striped.duet-theme-turva.duet-table-sticky thead {
736
+ th,
737
+ td {
738
+ border-bottom-color: $color-turva-nude-100;
739
+ }
740
+ }
741
+
742
+ &.duet-table-striped.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd) {
743
+ background: rgba($color-turva2-gray-900, 0.04);
744
+ }
745
+
746
+ &.duet-table-striped.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even) {
747
+ background: rgba($color-turva2-gray-900, 0.04);
748
+ }
749
+
750
+ &.duet-table-striped.duet-theme-turva tfoot td {
751
+ border-top-color: $color-turva-nude-100;
752
+ }
753
+
754
+ &.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr {
755
+ border-top-color: $color-turva-nude-100;
756
+ }
757
+
758
+ &.duet-table-plain.duet-theme-turva tbody {
759
+ th,
760
+ td {
761
+ border-bottom-color: $color-turva-nude-100;
762
+ }
763
+ }
764
+
765
+ &.duet-table-plain.duet-theme-turva tbody td {
766
+ border-bottom-color: $color-turva-nude-100;
767
+ }
768
+
769
+ &.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr {
770
+ border-bottom-color: $color-turva-nude-100;
771
+ }
772
+
773
+ &.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot {
774
+ border-top-color: $color-turva-nude-100;
775
+ }
776
+
777
+ &.duet-table-fixed.duet-theme-turva:not(.duet-table-flattened) tfoot {
778
+ border-top-color: $color-turva-nude-100;
779
+ }
780
+
781
+ &.duet-table-sortable.duet-theme-turva:not(.duet-table-flattened) tfoot {
782
+ border-top-color: $color-turva-nude-100;
783
+ }
784
+ }
670
785
  }
671
786
  `.replace(/[\n\r\t]/gm, "");
672
787
  function createStyles(element) {
@@ -699,18 +814,47 @@ const DuetTable = class {
699
814
  constructor(hostRef) {
700
815
  index.registerInstance(this, hostRef);
701
816
  this.headingSelector = "thead tr > :not(*.duet-editable-table-actions-menu)";
702
- this.handleMediaQueryChange = (mq) => {
703
- this.matchesBreakpoint = tokenUtils.breakpointTokensUpTo.includes(this.breakpoint) ? !mq.matches : mq.matches;
704
- };
817
+ /**
818
+ * 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.
819
+ */
705
820
  this.matchesBreakpoint = true;
821
+ /**
822
+ * While table itself does not use language, the copyHeadingsToCells() method needs to be triggered when language changes.
823
+ */
706
824
  this.language = languageUtils.getLanguage();
707
- this.theme = undefined;
825
+ /**
826
+ * Controls the margin of the component.
827
+ */
708
828
  this.margin = "auto";
829
+ /**
830
+ * Style variation of the table.
831
+ */
709
832
  this.variation = "striped";
833
+ /**
834
+ * Controls whether the table has a sticky header.
835
+ * Sticky headers are not compatible with breakpoint="none-scrollable".
836
+ */
710
837
  this.sticky = false;
838
+ /**
839
+ * Adjust the distance from top of the viewport (in pixels) when the
840
+ * table header becomes sticky.
841
+ */
711
842
  this.stickyDistance = "with-links";
843
+ /**
844
+ * By default the table is responsive - it will be flattened at narrow viewport widths.
845
+ * This prop controls the breakpoint at which the table should be rendered as a _regular_ table.
846
+ * Set to "none" to disable the responsive functionality.
847
+ * Set to "none-scrollable" to disable responsive functionality _and_ allow horizontal scrolling -
848
+ * this is useful for comparison tables where it's important to maintain column and row layout.
849
+ */
712
850
  this.breakpoint = "small";
851
+ /**
852
+ * Hide a thead section visually. The content is still available to screen readers.
853
+ */
713
854
  this.hideHeadVisually = false;
855
+ this.handleMediaQueryChange = (mq) => {
856
+ this.matchesBreakpoint = tokenUtils.breakpointTokensUpTo.includes(this.breakpoint) ? !mq.matches : mq.matches;
857
+ };
714
858
  }
715
859
  watchLanguageStateHandler(newValue, oldValue) {
716
860
  if (newValue !== oldValue) {
@@ -760,6 +904,9 @@ const DuetTable = class {
760
904
  * Local methods.
761
905
  */
762
906
  copyHeadingsToCells() {
907
+ if (["none", "none-scrollable"].includes(this.breakpoint)) {
908
+ return;
909
+ }
763
910
  const headingElements = this.element.querySelectorAll(this.headingSelector);
764
911
  const rowElements = this.element.querySelectorAll("tbody tr");
765
912
  const headings = Array.from(headingElements).map(th => th.textContent.trim());
@@ -781,7 +928,7 @@ const DuetTable = class {
781
928
  });
782
929
  }
783
930
  render() {
784
- return (index.h(index.Host, { key: 'fcdd601ace6ef28821198d34d85eb3dc94b73aa3', class: {
931
+ return (index.h(index.Host, { key: '02ed0a7f4b3c7504b0f6df2ee9e923f5afbca106', class: {
785
932
  [`duet-table-${this.variation}`]: true,
786
933
  "duet-table-flattened": !this.matchesBreakpoint,
787
934
  // sticky only valid when in regular table layout
@@ -790,7 +937,7 @@ const DuetTable = class {
790
937
  "duet-m-0": this.margin === "none",
791
938
  "duet-theme-turva": this.theme === "turva",
792
939
  "duet-table-hide-head-visually": this.hideHeadVisually,
793
- } }, index.h("slot", { key: '35cef7a6450ff5dc1e34cda94637a50dec7860a8' })));
940
+ } }, index.h("slot", { key: '946a620f959caf19dc712844d81ebc345870757d' })));
794
941
  }
795
942
  get element() { return index.getElement(this); }
796
943
  static get watchers() { return {
@@ -798,7 +945,7 @@ const DuetTable = class {
798
945
  }; }
799
946
  };
800
947
 
801
- const errorCodes = [
948
+ var errorCodes = [
802
949
  {
803
950
  type: "default",
804
951
  system_message: "unknown error",
@@ -1104,8 +1251,7 @@ const makeXhrRequest = ({ payload, options, onFailure, onSuccess, onProgress })
1104
1251
  return xhr;
1105
1252
  };
1106
1253
 
1107
- 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}";
1108
- const DuetUploadStyle0 = duetUploadCss;
1254
+ 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}";
1109
1255
 
1110
1256
  const DuetUpload = class {
1111
1257
  constructor(hostRef) {
@@ -1121,6 +1267,330 @@ const DuetUpload = class {
1121
1267
  this.duetProgress = index.createEvent(this, "duetProgress", 3);
1122
1268
  this.duetUpload = index.createEvent(this, "duetUpload", 3);
1123
1269
  this.linkClick = index.createEvent(this, "linkClick", 3);
1270
+ /**
1271
+ * State() variables
1272
+ */
1273
+ this.tick = Date.now();
1274
+ /**
1275
+ * If external is set to true, the upload component will not actually upload the files, but only keep states
1276
+ * it will be up to you to handle the upload and return progress information to the upload-component
1277
+ */
1278
+ this.external = false;
1279
+ /**
1280
+ * 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
1281
+ */
1282
+ this.middleware = null;
1283
+ /**
1284
+ * If defer-upload is true, duet-upload will not (as recommended) instantly upload files but await a call to uploadPending()
1285
+ */
1286
+ this.deferUpload = false;
1287
+ /**
1288
+ * If set the upload component will not display an upload button, you will have to create one yourself
1289
+ * and call the exposed method startUpload to open the upload dialog
1290
+ */
1291
+ this.hideButton = false;
1292
+ /**
1293
+ * Default actions added to the internally used duet-editable-table
1294
+ */
1295
+ this.actions = [
1296
+ {
1297
+ icon: "action-delete",
1298
+ color: "color-danger",
1299
+ size: "x-small",
1300
+ background: "gray-lightest",
1301
+ name: "delete",
1302
+ map: ["success", "failure"],
1303
+ label: {
1304
+ fi: "Poista tiedosto",
1305
+ en: "Delete the file",
1306
+ sv: "Ta bort filen",
1307
+ },
1308
+ },
1309
+ {
1310
+ icon: "navigation-close",
1311
+ color: "primary",
1312
+ size: "x-small",
1313
+ background: "gray-lightest",
1314
+ name: "cancel",
1315
+ map: ["inprogress", "pending"],
1316
+ label: {
1317
+ fi: "Keskeytä lähetys",
1318
+ en: "Cancel the upload",
1319
+ sv: "Stop överföringen",
1320
+ },
1321
+ },
1322
+ ];
1323
+ /**
1324
+ * If enabled the editable-table will display links on successfully uploaded items,
1325
+ * this requires the server can respond with link URIs in the correct format
1326
+ * and that the files are accessible to the user
1327
+ */
1328
+ this.showLinks = false;
1329
+ /**
1330
+ * Property to change the aria upload progress text read aloud by screenreaders
1331
+ * @default {
1332
+ * fi: {
1333
+ * inProgress: "Lähetetään {filesUploaded}, yhteensä lähetettävänä {filesTotal}.",
1334
+ * inProgressWithErrors:
1335
+ * "Lähetetään {filesInProgress}, lähetetty {filesUploaded}, yhteensä lähetettävänä {filesTotal}, {filesWithErrors} epäonnistui",
1336
+ * done: "Lähetys valmis, {filesTotal} lisätty onnistuneesti",
1337
+ * doneWithErrors: "Lähetys valmis, {filesUploaded} lisätty onnistuneesti, {filesWithErrors} epäonnistui",
1338
+ * files: "tiedostoa",
1339
+ * file: "tiedosto",
1340
+ * },
1341
+ * sv: {
1342
+ * inProgress: "Laddar upp {filesUploaded} av {filesTotal}",
1343
+ * inProgressWithErrors:
1344
+ * "Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",
1345
+ * done: "Uppladdningen slutförd, {filesTotal} har lagts till",
1346
+ * doneWithErrors: "Uppladdningen slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",
1347
+ * files: "filer",
1348
+ * file: "fil",
1349
+ * },
1350
+ * en: {
1351
+ * inProgress: "Uploading {filesUploaded} of {filesTotal}",
1352
+ * inProgressWithErrors:
1353
+ * "Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",
1354
+ * done: "Upload completed, {filesTotal} added successfully",
1355
+ * doneWithErrors: "Upload completed, {filesUploaded} added successfully, {filesWithErrors} failed.",
1356
+ * files: "files",
1357
+ * file: "file",
1358
+ * },
1359
+ * }
1360
+ */
1361
+ this.statusLabelDefaults = {
1362
+ fi: {
1363
+ inProgress: "Lähetetään {filesUploaded}, yhteensä lähetettävänä {filesTotal}.",
1364
+ inProgressWithErrors: "Lähetetään {filesInProgress}, lähetetty {filesUploaded}, yhteensä lähetettävänä {filesTotal}, {filesWithErrors} epäonnistui",
1365
+ done: "Lähetys valmis, {filesTotal} lisätty onnistuneesti",
1366
+ doneWithErrors: "Lähetys valmis, {filesUploaded} lisätty onnistuneesti, {filesWithErrors} epäonnistui",
1367
+ files: "tiedostoa",
1368
+ file: "tiedosto",
1369
+ },
1370
+ sv: {
1371
+ inProgress: "Laddar upp {filesUploaded} av {filesTotal}",
1372
+ inProgressWithErrors: "Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",
1373
+ done: "Uppladdningen slutförd, {filesTotal} har lagts till",
1374
+ doneWithErrors: "Uppladdningen slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",
1375
+ files: "filer",
1376
+ file: "fil",
1377
+ },
1378
+ en: {
1379
+ inProgress: "Uploading {filesUploaded} of {filesTotal}",
1380
+ inProgressWithErrors: "Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",
1381
+ done: "Upload completed, {filesTotal} added successfully",
1382
+ doneWithErrors: "Upload completed, {filesUploaded} added successfully, {filesWithErrors} failed.",
1383
+ files: "files",
1384
+ file: "file",
1385
+ },
1386
+ };
1387
+ /**
1388
+ * Strings used for the status aria-label
1389
+ */
1390
+ this.statusMessageLabel = languageUtils.getLocaleString(this.statusLabelDefaults);
1391
+ /**
1392
+ * Property to change button label defaults on the component.
1393
+ * @default {
1394
+ fi: "Lisää liite",
1395
+ sv: "Lägg till en bilaga",
1396
+ en: "Add an attachment",
1397
+ }
1398
+ */
1399
+ this.buttonLabelDefaults = {
1400
+ fi: "Lisää liite",
1401
+ sv: "Lägg till en bilaga",
1402
+ en: "Add an attachment",
1403
+ };
1404
+ /**
1405
+ * Label of button
1406
+ * @default { fi: "Lisää liite", sv: "Lägg till en bilaga", en: "Add an attachment" }
1407
+ */
1408
+ this.buttonLabel = languageUtils.getLocaleString(this.buttonLabelDefaults);
1409
+ /**
1410
+ * accessible aria-Label of button
1411
+ */
1412
+ this.accessibleButtonLabel = undefined;
1413
+ /**
1414
+ * Theme of the input.
1415
+ */
1416
+ this.theme = "";
1417
+ /**
1418
+ * Makes the input component disabled. This prevents users from being able to
1419
+ * interact with the upload component, and conveys its inactive state to assistive technologies.
1420
+ */
1421
+ this.disabled = false;
1422
+ /**
1423
+ * Controls the margin of the component.
1424
+ */
1425
+ this.margin = "auto";
1426
+ /**
1427
+ * Set whether the input is required or not. Please note that this is necessary for
1428
+ * accessible inputs when the user is required to fill them. When using this property
1429
+ * you need to also set “novalidate” attribute to your form element to prevent
1430
+ * browser from displaying its own validation errors.
1431
+ */
1432
+ this.required = false;
1433
+ /**
1434
+ * Key used to set vertical alignment of action buttons
1435
+ */
1436
+ this.alignment = "middle";
1437
+ /**
1438
+ * Visually hides the groups labels in the editable table list used to display the list of files
1439
+ */
1440
+ this.hideGroups = false;
1441
+ /**
1442
+ * Map of string that contain list of uploaded files.
1443
+ */
1444
+ this.files = new Map();
1445
+ /**
1446
+ * Property to read if the internally used editable-table contains errors or not
1447
+ */
1448
+ this.valid = !this.required;
1449
+ /**
1450
+ * Property to change labelDefaults defaults on the component.
1451
+ * normally you would handle these strings on an application level and override label when needed
1452
+ * @default { fi: "Lisää liite",sv: "Lägg till en bilaga",en: "Add attachments"}
1453
+ */
1454
+ this.labelDefaults = {
1455
+ fi: "Lisää liite",
1456
+ sv: "Lägg till en bilaga",
1457
+ en: "Add attachments",
1458
+ };
1459
+ /**
1460
+ * Label for the input.
1461
+ * @default { fi: "Lisää liite",sv: "Lägg till en bilaga",en: "Add attachments"}
1462
+ */
1463
+ this.label = languageUtils.getLocaleString(this.labelDefaults);
1464
+ /**
1465
+ * Property to change descriptionDefaults defaults on the component.
1466
+ * @default {
1467
+ * 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}.",
1468
+ * 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}.",
1469
+ * 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.",
1470
+ * }
1471
+ */
1472
+ this.descriptionDefaults = {
1473
+ 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}.",
1474
+ 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}.",
1475
+ 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.",
1476
+ };
1477
+ /**
1478
+ * Description for the upload component.
1479
+ * @default {
1480
+ * 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}.",
1481
+ * 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}.",
1482
+ * 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.",
1483
+ * }
1484
+ */
1485
+ this.description = languageUtils.getLocaleString(this.descriptionDefaults);
1486
+ /**
1487
+ * Defaults for the filelist's empty state.
1488
+ * @default {
1489
+ fi: "Ei vielä lisättyjä tiedostoja.",
1490
+ sv: "Inga filer har lagts till ännu.",
1491
+ en: "No files added yet.",
1492
+ }
1493
+ */
1494
+ this.fileListEmptyDefaults = {
1495
+ fi: "Ei vielä lisättyjä tiedostoja.",
1496
+ sv: "Inga filer har lagts till ännu.",
1497
+ en: "No files added yet.",
1498
+ };
1499
+ /**
1500
+ * Label for the filelist's empty state.
1501
+ * @default { fi: "Ei vielä lisättyjä tiedostoja.",sv: "Inga filer har lagts till ännu.",en: "No files added yet."}
1502
+ */
1503
+ this.fileListEmpty = languageUtils.getLocaleString(this.fileListEmptyDefaults);
1504
+ /**
1505
+ * Display the input in error state along with an error message.
1506
+ */
1507
+ this.error = "";
1508
+ /**
1509
+ * Default errorcodes used by the component, modifiable via javascript
1510
+ */
1511
+ this.errorCodes = errorCodes;
1512
+ /**
1513
+ * Use maxBytes to specify the maximum size in Bytes of a file that can be uploaded.
1514
+ */
1515
+ this.maxBytes = 200000000;
1516
+ /**
1517
+ * Use maxBytesTotal to specify the maximum size in Bytes of All files combined that can be uploaded.
1518
+ */
1519
+ this.maxBytesTotal = undefined;
1520
+ /**
1521
+ * Use maxFiles to specify the maximum amount of files that can be uploaded
1522
+ */
1523
+ this.maxFiles = 99;
1524
+ /**
1525
+ * A string of commaseperated file type values that are allowed
1526
+ * @example: .pdf,.doc,.docx
1527
+ */
1528
+ this.allowedExtensions = "all";
1529
+ /**
1530
+ * A string of commaseperated mime type values that are allowed
1531
+ * @example: image/*,application/msword,
1532
+ */
1533
+ this.allowedMimetypes = "";
1534
+ /**
1535
+ * Use multiple to allow the user to select multiple files when uploading
1536
+ */
1537
+ this.multiple = true;
1538
+ /**
1539
+ * Use limitSelection to enforce the value in allowedExtension & allowedMimetypes when selecting files,
1540
+ * by default this is off, setting this to true will limit the users choices to what has been explicitly set
1541
+ */
1542
+ this.limitSelection = false;
1543
+ /**
1544
+ * Use hideCancelButton to hide cancel button for pending and in progress uploads
1545
+ */
1546
+ this.hideCancelButton = false;
1547
+ /**
1548
+ * If true the input caption will be placed below file list and footer
1549
+ */
1550
+ this.captionOnBottom = false;
1551
+ /**
1552
+ * Use show-uploaded-items-header to show single, generic, header for uploaded items
1553
+ */
1554
+ this.showUploadedItemsHeader = false;
1555
+ /**
1556
+ * Property to change single uploaded items header label
1557
+ * @default {
1558
+ * fi: "Ladattu tiedosto.",
1559
+ * sv: "Nedladdad fil.",
1560
+ * en: "Uploaded file.",
1561
+ * }
1562
+ */
1563
+ this.uploadedItemsHeaderLabel = {
1564
+ fi: "Ladattu tiedosto",
1565
+ sv: "Lägg till en bilaga",
1566
+ en: "Uploaded file",
1567
+ };
1568
+ /**
1569
+ * Heading level for the label in the legend element. This is only used to give screen readers better logical structure.
1570
+ * This does not affect visual appearance.
1571
+ */
1572
+ this.headerHeadingLevel = "h3";
1573
+ /**
1574
+ * Use hide-header to hide upload component header and caption (if caption is not on bottom)
1575
+ */
1576
+ this.hideHeader = false;
1577
+ /**
1578
+ * If link-click-event is set to true then upload component
1579
+ * will emit an event on uploaded file link click (check linkClick event).
1580
+ */
1581
+ this.emitEvent = false;
1582
+ /**
1583
+ * Map action name to DuetLangObject or boolean. Sets upload item action buttons titles
1584
+ * (show as DOM tooltip when hovering).
1585
+ */
1586
+ this.actionButtonTitles = {
1587
+ cancel: false,
1588
+ delete: false,
1589
+ };
1590
+ /**
1591
+ * Use rename-duplicates to auto rename files with the same name instead of replacing them.
1592
+ */
1593
+ this.renameDuplicates = false;
1124
1594
  /**
1125
1595
  * Own Properties
1126
1596
  */
@@ -1143,6 +1613,45 @@ const DuetUpload = class {
1143
1613
  pending: "pending",
1144
1614
  failure: "failure",
1145
1615
  };
1616
+ /**
1617
+ * Array of group names that you want the editable table to use to display files
1618
+ * @required
1619
+ * @example [{ id: "success", label: {fi: "Onnistunut", en: "Success", sv: "Alt klart", }}]
1620
+ */
1621
+ this.groups = [
1622
+ {
1623
+ id: this.DefaultGroups.success,
1624
+ label: {
1625
+ fi: "Valmiit tiedostot",
1626
+ sv: "Files success",
1627
+ en: "Files success",
1628
+ },
1629
+ },
1630
+ {
1631
+ id: this.DefaultGroups.failure,
1632
+ label: {
1633
+ fi: "Tiedostot, joissa on virheitä",
1634
+ sv: "Filer med fel",
1635
+ en: "Files with errors",
1636
+ },
1637
+ },
1638
+ {
1639
+ id: this.DefaultGroups.inprogress,
1640
+ label: {
1641
+ fi: "Kesken olevat tiedostot",
1642
+ sv: "Filer inprogress",
1643
+ en: "Files inprogress",
1644
+ },
1645
+ },
1646
+ {
1647
+ id: this.DefaultGroups.pending,
1648
+ label: {
1649
+ en: "Files to upload",
1650
+ sv: "Filer att ladda",
1651
+ fi: "Ladattavat tiedostot",
1652
+ },
1653
+ },
1654
+ ];
1146
1655
  this.kick = jsUtils.debounce(() => {
1147
1656
  this.tick = Date.now();
1148
1657
  }, 30); // will trigger re-render
@@ -1582,169 +2091,6 @@ const DuetUpload = class {
1582
2091
  });
1583
2092
  return (index.h(index.Fragment, null, this.showUploadedItemsHeader && (index.h(UploadItemHeader, { categoryLabel: hasCategory ? this.categoryLabel : undefined, label: this.uploadedItemsHeaderLabel })), ItemRows));
1584
2093
  };
1585
- this.tick = Date.now();
1586
- this.accessibleActiveDescendant = undefined;
1587
- this.accessibleDescribedBy = undefined;
1588
- this.accessibleControls = undefined;
1589
- this.accessibleOwns = undefined;
1590
- this.external = false;
1591
- this.middleware = null;
1592
- this.deferUpload = false;
1593
- this.hideButton = false;
1594
- this.actions = [
1595
- {
1596
- icon: "action-delete",
1597
- color: "color-danger",
1598
- size: "x-small",
1599
- background: "gray-lightest",
1600
- name: "delete",
1601
- map: ["success", "failure"],
1602
- label: {
1603
- fi: "Poista tiedosto",
1604
- en: "Delete the file",
1605
- sv: "Ta bort filen",
1606
- },
1607
- },
1608
- {
1609
- icon: "navigation-close",
1610
- color: "primary",
1611
- size: "x-small",
1612
- background: "gray-lightest",
1613
- name: "cancel",
1614
- map: ["inprogress", "pending"],
1615
- label: {
1616
- fi: "Keskeytä lähetys",
1617
- en: "Cancel the upload",
1618
- sv: "Stop överföringen",
1619
- },
1620
- },
1621
- ];
1622
- this.uri = undefined;
1623
- this.showLinks = false;
1624
- this.caption = undefined;
1625
- this.statusLabelDefaults = {
1626
- fi: {
1627
- inProgress: "Lähetetään {filesUploaded}, yhteensä lähetettävänä {filesTotal}.",
1628
- inProgressWithErrors: "Lähetetään {filesInProgress}, lähetetty {filesUploaded}, yhteensä lähetettävänä {filesTotal}, {filesWithErrors} epäonnistui",
1629
- done: "Lähetys valmis, {filesTotal} lisätty onnistuneesti",
1630
- doneWithErrors: "Lähetys valmis, {filesUploaded} lisätty onnistuneesti, {filesWithErrors} epäonnistui",
1631
- files: "tiedostoa",
1632
- file: "tiedosto",
1633
- },
1634
- sv: {
1635
- inProgress: "Laddar upp {filesUploaded} av {filesTotal}",
1636
- inProgressWithErrors: "Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",
1637
- done: "Uppladdningen slutförd, {filesTotal} har lagts till",
1638
- doneWithErrors: "Uppladdningen slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",
1639
- files: "filer",
1640
- file: "fil",
1641
- },
1642
- en: {
1643
- inProgress: "Uploading {filesUploaded} of {filesTotal}",
1644
- inProgressWithErrors: "Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",
1645
- done: "Upload completed, {filesTotal} added successfully",
1646
- doneWithErrors: "Upload completed, {filesUploaded} added successfully, {filesWithErrors} failed.",
1647
- files: "files",
1648
- file: "file",
1649
- },
1650
- };
1651
- this.statusMessageLabel = languageUtils.getLocaleString(this.statusLabelDefaults);
1652
- this.buttonLabelDefaults = {
1653
- fi: "Lisää liite",
1654
- sv: "Lägg till en bilaga",
1655
- en: "Add an attachment",
1656
- };
1657
- this.buttonLabel = languageUtils.getLocaleString(this.buttonLabelDefaults);
1658
- this.accessibleButtonLabel = undefined;
1659
- this.theme = "";
1660
- this.disabled = false;
1661
- this.identifier = undefined;
1662
- this.margin = "auto";
1663
- this.required = false;
1664
- this.alignment = "middle";
1665
- this.hideGroups = false;
1666
- this.files = new Map();
1667
- this.valid = !this.required;
1668
- this.labelDefaults = {
1669
- fi: "Lisää liite",
1670
- sv: "Lägg till en bilaga",
1671
- en: "Add attachments",
1672
- };
1673
- this.label = languageUtils.getLocaleString(this.labelDefaults);
1674
- this.descriptionDefaults = {
1675
- 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}.",
1676
- 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}.",
1677
- 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.",
1678
- };
1679
- this.description = languageUtils.getLocaleString(this.descriptionDefaults);
1680
- this.fileListEmptyDefaults = {
1681
- fi: "Ei vielä lisättyjä tiedostoja.",
1682
- sv: "Inga filer har lagts till ännu.",
1683
- en: "No files added yet.",
1684
- };
1685
- this.fileListEmpty = languageUtils.getLocaleString(this.fileListEmptyDefaults);
1686
- this.error = "";
1687
- this.errorCodes = errorCodes;
1688
- this.name = undefined;
1689
- this.maxBytes = 200000000;
1690
- this.maxBytesTotal = undefined;
1691
- this.maxFiles = 99;
1692
- this.allowedExtensions = "all";
1693
- this.allowedMimetypes = "";
1694
- this.multiple = true;
1695
- this.limitSelection = false;
1696
- this.hideCancelButton = false;
1697
- this.value = undefined;
1698
- this.externalUploadButtonId = undefined;
1699
- this.captionOnBottom = false;
1700
- this.showUploadedItemsHeader = false;
1701
- this.uploadedItemsHeaderLabel = {
1702
- fi: "Ladattu tiedosto",
1703
- sv: "Lägg till en bilaga",
1704
- en: "Uploaded file",
1705
- };
1706
- this.headerHeadingLevel = "h3";
1707
- this.hideHeader = false;
1708
- this.emitEvent = false;
1709
- this.actionButtonTitles = {
1710
- cancel: false,
1711
- delete: false,
1712
- };
1713
- this.renameDuplicates = false;
1714
- this.groups = [
1715
- {
1716
- id: this.DefaultGroups.success,
1717
- label: {
1718
- fi: "Valmiit tiedostot",
1719
- sv: "Files success",
1720
- en: "Files success",
1721
- },
1722
- },
1723
- {
1724
- id: this.DefaultGroups.failure,
1725
- label: {
1726
- fi: "Tiedostot, joissa on virheitä",
1727
- sv: "Filer med fel",
1728
- en: "Files with errors",
1729
- },
1730
- },
1731
- {
1732
- id: this.DefaultGroups.inprogress,
1733
- label: {
1734
- fi: "Kesken olevat tiedostot",
1735
- sv: "Filer inprogress",
1736
- en: "Files inprogress",
1737
- },
1738
- },
1739
- {
1740
- id: this.DefaultGroups.pending,
1741
- label: {
1742
- en: "Files to upload",
1743
- sv: "Filer att ladda",
1744
- fi: "Ladattavat tiedostot",
1745
- },
1746
- },
1747
- ];
1748
2094
  }
1749
2095
  watchValidHandler(newValue, oldValue) {
1750
2096
  if (newValue !== oldValue) {
@@ -1849,10 +2195,10 @@ const DuetUpload = class {
1849
2195
  this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
1850
2196
  }
1851
2197
  // @ts-ignore
1852
- return (index.h(index.Host, { key: 'dd2d8df45d7b1e8526fc08809e07f4cb33685750', class: { "duet-m-0": this.margin === "none" } }, index.h("duet-fieldset", { key: '5763ea920a4090ca67c77c4408df558a1381a4ea', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, index.h("slot", { key: 'c156b40628ec1b5d9270df434022ed16e8946eae', name: "header" }), !this.files.size && (index.h("duet-empty-state", { key: 'ad1d9f14e0c17f73b93aa3989fbd6105e5668a11', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, index.h("duet-paragraph", { key: 'aa1475ad4c73fd61976e8ba408d76f1b55b850cb', margin: "none" }, this.fileListEmpty))), !!this.files.size && index.h("slot", { key: 'a4dd57cd140b091b2bd5622b5fc5c55dc567e144', name: "fileheader" }), !!this.files.size && (index.h("duet-upload-aria-status", { key: '8f5beb8ce03d9b4f1b7df6d01ba707485daecf5a', 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 && index.h("slot", { key: '0432c1b02bcc36c239b05c5b4aa260ce4392c5cd', name: "filefooter" }), index.h("slot", { key: 'dd19564b15aad3cc65396121f3862ee1275e3da6', name: "uploadfooter" }), this.captionOnBottom && (index.h("duet-caption", { key: '388956db21f30c93c685fac7b11604932baf6ab1', margin: "none", size: "small" }, index.h("div", { key: '24766af55c816957c30880f6ccf31c2c8d24cebe', class: "upload-bottom-caption" }, caption))), index.h("slot", { key: 'bb6a994d5c65c0d3514a304eb2547a2f81d3feb3', name: "afterfooter" }), !this.hideButton && (index.h(index.Fragment, { key: '0028099baf1d0d8224d5549a16c663005fb78875' }, index.h("duet-spacer", { key: '295a793dcf0cff48d7b3b211984a44a68aff5a1c', size: "large" }), index.h("duet-button", { key: '7375e766eac86aee16440e44c9645173ad2a8d1e', 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 ||
2198
+ return (index.h(index.Host, { key: '855e27e55645747625669bf080e6f65423b9bbf0', class: { "duet-m-0": this.margin === "none" } }, index.h("duet-fieldset", { key: '89d6b1b88260ccb7ffa2f4a3130fdf74d904e048', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, index.h("slot", { key: '10b9cdc44bd94871f538a9299ea6252f4375a864', name: "header" }), !this.files.size && (index.h("duet-empty-state", { key: '924905b1aafa76175b93f12dd6e7d7ac8ac5b5e3', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, index.h("duet-paragraph", { key: 'f744c2afdb520cd0e69a15c0a942f6ecd8e30b75', margin: "none" }, this.fileListEmpty))), !!this.files.size && index.h("slot", { key: 'da55dafcb732e24b895185995040decfe40382c6', name: "fileheader" }), !!this.files.size && (index.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 && index.h("slot", { key: 'd6327694548a1ee39188af3935c67d0a6eaead79', name: "filefooter" }), index.h("slot", { key: '718e1e5d1f7041d2d596ada75a717942b74999f6', name: "uploadfooter" }), this.captionOnBottom && (index.h("duet-caption", { key: 'd15f3fd09b07de11dc1f725bc9ee344889b6445f', margin: "none", size: "small" }, index.h("div", { key: '1e4e1c3a29338fa3339cd2de701ba3c776c1166a', class: "upload-bottom-caption" }, caption))), index.h("slot", { key: '90f1e8de4c8359df2b8dded1bf5211857ce48a79', name: "afterfooter" }), !this.hideButton && (index.h(index.Fragment, { key: '431fb04536068eefdf974fc34f89f56e712674c9' }, index.h("duet-spacer", { key: 'c98d3f3e0f06d17b1b86ab40486a663ef8c6a75e', size: "large" }), index.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 ||
1853
2199
  this.bytesMaxReached ||
1854
2200
  this.filesToUploadExceedsLimit ||
1855
- this.filesToUploadTotalSizeIsAboveMax) && (index.h(index.Fragment, { key: '30cbbe58d5267a103f6aecf7dad5481c878d7662' }, index.h("duet-spacer", { key: 'a18c694807a23f24ffaa895874546efb8864602d', size: "medium" }), index.h("duet-alert", { key: 'db0280069c76343b698ee84899d829c257558f7a', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && errorcodes_utils.getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && errorcodes_utils.getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && errorcodes_utils.getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && errorcodes_utils.getI18nError("duet-upload-203", this.errorCodes)))), index.h("duet-visually-hidden", { key: '5f2458287c90d4c906fe6366bf9fa42a844cf8f9', "aria-hidden": "true" }, index.h("input", { key: '6d5180b885ae0c13c8c06118084bb49d0df0c989', ref: input => {
2201
+ this.filesToUploadTotalSizeIsAboveMax) && (index.h(index.Fragment, { key: '8169162805d7ec3a093344e09a4bd9241c1b9c58' }, index.h("duet-spacer", { key: '0f6500a4ada6c4b3c73f6524bf224ee1d79f0ae6', size: "medium" }), index.h("duet-alert", { key: '8bbc63eb777fa98ff0f797d970d66835ac6155a5', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && errorcodes_utils.getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && errorcodes_utils.getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && errorcodes_utils.getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && errorcodes_utils.getI18nError("duet-upload-203", this.errorCodes)))), index.h("duet-visually-hidden", { key: '5fb70459ca757cc24041ce6e01414165ba6497b5', "aria-hidden": "true" }, index.h("input", { key: '808b15c23e12cf691f85e48e1a03106409b81565', ref: input => {
1856
2202
  this.nativeInput = input;
1857
2203
  }, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
1858
2204
  "duet-upload": true,
@@ -2037,7 +2383,7 @@ const DuetUpload = class {
2037
2383
  "valid": ["watchValidHandler"]
2038
2384
  }; }
2039
2385
  };
2040
- DuetUpload.style = DuetUploadStyle0;
2386
+ DuetUpload.style = duetUploadCss;
2041
2387
 
2042
2388
  exports.duet_editable_table = DuetEditableTable;
2043
2389
  exports.duet_table = DuetTable;