@duetds/components 6.10.3 → 6.11.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 (647) hide show
  1. package/hydrate/index.js +526 -175
  2. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-banner.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
  11. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-chip.cjs.entry.js +89 -9
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +9 -8
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -2
  17. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +31 -136
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +3 -2
  25. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-grid_2.cjs.entry.js +6 -3
  27. package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-hero.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  30. package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +35 -2
  46. package/lib/cjs/duet-popup-menu.cjs.entry.js +98 -8
  47. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  51. package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-show-more.cjs.entry.js +56 -27
  56. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  60. package/lib/cjs/duet-slideout.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  62. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  67. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  68. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-tooltip-popup.cjs.entry.js +56 -0
  73. package/lib/cjs/duet-tooltip.cjs.entry.js +20 -15
  74. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  75. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-upload-item.cjs.entry.js +93 -0
  77. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  78. package/lib/cjs/duet.cjs.js +6 -86
  79. package/lib/cjs/errorcodes.utils-5deca818.js +39 -0
  80. package/lib/cjs/{focus-utils-fa8771cc.js → focus-utils-f19181d6.js} +1 -1
  81. package/lib/cjs/{index-ad229c23.js → index-ef0568d5.js} +6 -19
  82. package/lib/cjs/loader.cjs.js +2 -2
  83. package/lib/cjs/slot-query-1624497e.js +10 -0
  84. package/lib/cjs/{token-utils-c1864408.js → token-utils-18a05118.js} +1 -1
  85. package/lib/cjs/{tokens.module-5fe478ed.js → tokens.module-d30fb52a.js} +1 -0
  86. package/lib/collection/collection-manifest.json +4 -2
  87. package/lib/collection/common/index.js +1 -0
  88. package/lib/collection/common/slot-query.js +9 -0
  89. package/lib/collection/components/duet-chip/duet-chip.css +38 -10
  90. package/lib/collection/components/duet-chip/duet-chip.js +117 -9
  91. package/lib/collection/components/duet-choice/duet-choice.css +22 -22
  92. package/lib/collection/components/duet-choice/duet-choice.js +7 -11
  93. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -5
  94. package/lib/collection/components/duet-fieldset/duet-fieldset.js +2 -1
  95. package/lib/collection/components/duet-grid/duet-grid.css +260 -116
  96. package/lib/collection/components/duet-grid/duet-grid.js +22 -1
  97. package/lib/collection/components/duet-hero/duet-hero.css +6 -1
  98. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +8 -1
  99. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +118 -9
  100. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +140 -1
  101. package/lib/collection/components/duet-scrollable/duet-scrollable.css +1 -1
  102. package/lib/collection/components/duet-show-more/duet-show-more.js +219 -26
  103. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +183 -0
  104. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +251 -0
  105. package/lib/collection/components/duet-tooltip/duet-tooltip.css +0 -163
  106. package/lib/collection/components/duet-tooltip/duet-tooltip.js +24 -13
  107. package/lib/collection/components/duet-upload/duet-upload.js +37 -13
  108. package/lib/collection/components/duet-upload-item/duet-upload-item.js +299 -0
  109. package/lib/collection/utils/teleport.js +30 -0
  110. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  111. package/lib/dist-custom-elements/duet-alert.js +1 -1
  112. package/lib/dist-custom-elements/duet-badge.js +1 -1
  113. package/lib/dist-custom-elements/duet-banner.js +5 -5
  114. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  115. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  116. package/lib/dist-custom-elements/duet-button.js +1 -1
  117. package/lib/dist-custom-elements/duet-callout.js +3 -3
  118. package/lib/dist-custom-elements/duet-caption.js +1 -1
  119. package/lib/dist-custom-elements/duet-card.js +4 -4
  120. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  121. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  122. package/lib/dist-custom-elements/duet-chip.js +95 -12
  123. package/lib/dist-custom-elements/duet-choice-group.js +16 -10
  124. package/lib/dist-custom-elements/duet-choice.js +13 -12
  125. package/lib/dist-custom-elements/duet-collapsible.js +4 -3
  126. package/lib/dist-custom-elements/duet-combobox.js +3 -3
  127. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  128. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  129. package/lib/dist-custom-elements/duet-date-picker.js +26 -20
  130. package/lib/dist-custom-elements/duet-divider.js +1 -1
  131. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  132. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  133. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  134. package/lib/dist-custom-elements/duet-footer.js +4 -4
  135. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  136. package/lib/dist-custom-elements/duet-grid.js +1 -1
  137. package/lib/dist-custom-elements/duet-header.js +9 -9
  138. package/lib/dist-custom-elements/duet-heading.js +1 -1
  139. package/lib/dist-custom-elements/duet-hero.js +10 -10
  140. package/lib/dist-custom-elements/duet-icon.js +1 -1
  141. package/lib/dist-custom-elements/duet-input.js +1 -1
  142. package/lib/dist-custom-elements/duet-label.js +1 -1
  143. package/lib/dist-custom-elements/duet-layout.js +1 -1
  144. package/lib/dist-custom-elements/duet-link.js +1 -1
  145. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  146. package/lib/dist-custom-elements/duet-list.js +1 -1
  147. package/lib/dist-custom-elements/duet-logo.js +1 -1
  148. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  149. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  150. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  151. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  152. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  153. package/lib/dist-custom-elements/duet-modal.js +8 -8
  154. package/lib/dist-custom-elements/duet-multiselect.js +20 -14
  155. package/lib/dist-custom-elements/duet-nav.js +1 -1
  156. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  157. package/lib/dist-custom-elements/duet-notification.js +2 -2
  158. package/lib/dist-custom-elements/duet-number-input.js +22 -16
  159. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  160. package/lib/dist-custom-elements/duet-pagination.js +7 -7
  161. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  162. package/lib/dist-custom-elements/duet-popup-menu-item.js +41 -4
  163. package/lib/dist-custom-elements/duet-popup-menu.js +101 -10
  164. package/lib/dist-custom-elements/duet-progress.js +1 -1
  165. package/lib/dist-custom-elements/duet-promo-card.js +4 -4
  166. package/lib/dist-custom-elements/duet-radio-group.js +16 -10
  167. package/lib/dist-custom-elements/duet-radio.js +1 -1
  168. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  169. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  170. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  171. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  172. package/lib/dist-custom-elements/duet-select.js +1 -1
  173. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  174. package/lib/dist-custom-elements/duet-show-more.js +71 -33
  175. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  176. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  177. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  178. package/lib/dist-custom-elements/duet-slideout-panel.js +4 -4
  179. package/lib/dist-custom-elements/duet-slideout.js +4 -4
  180. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  181. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  182. package/lib/dist-custom-elements/duet-step.js +4 -4
  183. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  184. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  185. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  186. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  187. package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
  188. package/lib/dist-custom-elements/duet-tab-group.js +26 -20
  189. package/lib/dist-custom-elements/duet-tab.js +1 -1
  190. package/lib/dist-custom-elements/duet-table.js +1 -1
  191. package/lib/dist-custom-elements/duet-textarea.js +20 -14
  192. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  193. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  194. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  195. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  196. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  197. package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +11 -0
  198. package/lib/dist-custom-elements/duet-tooltip-popup.js +9 -0
  199. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  200. package/lib/dist-custom-elements/duet-tray.js +4 -4
  201. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  202. package/lib/dist-custom-elements/duet-upload-item.d.ts +11 -0
  203. package/lib/dist-custom-elements/duet-upload-item.js +9 -0
  204. package/lib/dist-custom-elements/duet-upload.js +59 -159
  205. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  206. package/lib/dist-custom-elements/index.js +1 -1
  207. package/lib/dist-custom-elements/{p-f4a36471.js → p-00416416.js} +1 -1
  208. package/lib/dist-custom-elements/{p-c9cee36a.js → p-04bb5c9f.js} +1 -1
  209. package/lib/dist-custom-elements/{p-efaad71c.js → p-061830ef.js} +1 -1
  210. package/lib/dist-custom-elements/{p-fa4af49a.js → p-0ada372b.js} +30 -19
  211. package/lib/dist-custom-elements/{p-bd3f4de1.js → p-0aeec550.js} +2 -2
  212. package/lib/dist-custom-elements/{p-ddbc4897.js → p-0c506783.js} +6 -6
  213. package/lib/dist-custom-elements/{p-d993c8ca.js → p-0c934ab8.js} +5 -5
  214. package/lib/dist-custom-elements/{p-88a1aa29.js → p-1212aab5.js} +1 -1
  215. package/lib/dist-custom-elements/{p-0639a930.js → p-127ad24e.js} +1 -1
  216. package/lib/dist-custom-elements/{p-4524a59b.js → p-1f5d4fdb.js} +2 -2
  217. package/lib/dist-custom-elements/p-238d0ad2.js +187 -0
  218. package/lib/dist-custom-elements/{p-1460c5f4.js → p-264ce363.js} +1 -1
  219. package/lib/dist-custom-elements/{p-c5723f69.js → p-2c9478af.js} +2 -2
  220. package/lib/dist-custom-elements/{p-dade840c.js → p-31eb790f.js} +2 -2
  221. package/lib/dist-custom-elements/{p-f97098ff.js → p-42fe016c.js} +2 -2
  222. package/lib/dist-custom-elements/{p-c221f8d5.js → p-44376288.js} +5 -5
  223. package/lib/dist-custom-elements/{p-c3a8f22f.js → p-55c2bb2d.js} +1 -1
  224. package/lib/dist-custom-elements/{p-362cf634.js → p-62d5eeeb.js} +4 -3
  225. package/lib/dist-custom-elements/{p-de68431d.js → p-661e7864.js} +1 -1
  226. package/lib/dist-custom-elements/{p-9e321809.js → p-757bf6af.js} +1 -1
  227. package/lib/dist-custom-elements/{p-abf2f8eb.js → p-773bf99a.js} +1 -1
  228. package/lib/dist-custom-elements/p-7d158728.js +197 -0
  229. package/lib/dist-custom-elements/{p-9a39285c.js → p-85edc0fe.js} +2 -2
  230. package/lib/dist-custom-elements/{p-b0a1fc7a.js → p-980b82ed.js} +2 -2
  231. package/lib/dist-custom-elements/p-9d915d45.js +8 -0
  232. package/lib/dist-custom-elements/{p-ab8093ce.js → p-b761b810.js} +2 -2
  233. package/lib/dist-custom-elements/{p-87b42dc0.js → p-ba31dce0.js} +3 -3
  234. package/lib/dist-custom-elements/{p-06f56040.js → p-baccad0b.js} +2 -2
  235. package/lib/dist-custom-elements/{p-581d4969.js → p-c35ceaed.js} +1 -1
  236. package/lib/dist-custom-elements/{p-8549a5d3.js → p-c6c0520d.js} +3 -3
  237. package/lib/dist-custom-elements/{p-e6027c0e.js → p-ca8561b3.js} +20 -14
  238. package/lib/dist-custom-elements/{p-e8475b3c.js → p-cd9b5f96.js} +1 -1
  239. package/lib/dist-custom-elements/{p-0bab8976.js → p-cedbe8b5.js} +4 -4
  240. package/lib/dist-custom-elements/p-cfe72fa4.js +88 -0
  241. package/lib/dist-custom-elements/{p-e550208a.js → p-dfbbdce3.js} +4 -18
  242. package/lib/dist-custom-elements/{p-a76c2c68.js → p-e71e9330.js} +16 -10
  243. package/lib/dist-custom-elements/{p-b0e822ad.js → p-f462e031.js} +1 -1
  244. package/lib/duet/duet.esm.js +1 -1
  245. package/lib/duet/duet.js +1 -1
  246. package/lib/duet/{p-0de3b52d.system.entry.js → p-0077c0b9.system.entry.js} +2 -2
  247. package/lib/duet/{p-659b9600.system.entry.js → p-015f92ba.system.entry.js} +2 -2
  248. package/lib/duet/{p-679721de.system.entry.js → p-03b229f9.system.entry.js} +1 -1
  249. package/lib/duet/{p-596343b6.system.entry.js → p-04da6058.system.entry.js} +1 -1
  250. package/lib/duet/p-076452be.js +1 -1
  251. package/lib/duet/{p-e195ff77.entry.js → p-07b68373.entry.js} +1 -1
  252. package/lib/duet/{p-d1fdf904.entry.js → p-0a5bea68.entry.js} +1 -1
  253. package/lib/duet/p-0b19b2fc.system.entry.js +4 -0
  254. package/lib/duet/{p-bf5e03b7.system.entry.js → p-0d941b02.system.entry.js} +2 -2
  255. package/lib/duet/{p-53800205.entry.js → p-0de1d79f.entry.js} +1 -1
  256. package/lib/duet/{p-8c6e3c4f.system.js → p-10695d55.system.js} +1 -1
  257. package/lib/duet/p-120fcef7.system.entry.js +4 -0
  258. package/lib/duet/{p-be64cb47.system.entry.js → p-1447cb8a.system.entry.js} +1 -1
  259. package/lib/duet/{p-193d3aaa.system.entry.js → p-16493302.system.entry.js} +1 -1
  260. package/lib/duet/{p-f3baf86a.system.entry.js → p-17e717aa.system.entry.js} +1 -1
  261. package/lib/duet/p-1880e89c.system.js +5 -0
  262. package/lib/duet/{p-0fe6e2f3.entry.js → p-19c4479c.entry.js} +1 -1
  263. package/lib/duet/p-1afb6da1.system.entry.js +4 -0
  264. package/lib/duet/{p-7604e184.system.entry.js → p-1b7bb41b.system.entry.js} +2 -2
  265. package/lib/duet/{p-c838f35a.system.entry.js → p-1eb8f4fe.system.entry.js} +2 -2
  266. package/lib/duet/p-200f1abc.entry.js +4 -0
  267. package/lib/duet/{p-0fdddc6d.system.entry.js → p-21e22519.system.entry.js} +1 -1
  268. package/lib/duet/{p-b6f46697.entry.js → p-22b301c0.entry.js} +1 -1
  269. package/lib/duet/{p-8d9dc8b8.system.entry.js → p-26fc5f52.system.entry.js} +2 -2
  270. package/lib/duet/{p-71a46879.system.js → p-277d9e45.system.js} +1 -1
  271. package/lib/duet/{p-3ae87f9a.system.entry.js → p-2827e61e.system.entry.js} +2 -2
  272. package/lib/duet/{p-38b225ec.system.entry.js → p-2867f068.system.entry.js} +2 -2
  273. package/lib/duet/{p-fca2f60d.system.entry.js → p-28e7d8ee.system.entry.js} +2 -2
  274. package/lib/duet/p-2b16b250.system.entry.js +4 -0
  275. package/lib/duet/{p-855f2712.system.entry.js → p-2b79476c.system.entry.js} +1 -1
  276. package/lib/duet/{p-33e8ba00.entry.js → p-2bfb9cf4.entry.js} +1 -1
  277. package/lib/duet/{p-0b4324b1.system.entry.js → p-2ed796cf.system.entry.js} +2 -2
  278. package/lib/duet/{p-a80b6e7d.entry.js → p-30c6c9f0.entry.js} +1 -1
  279. package/lib/duet/{p-d20bc0fc.entry.js → p-30f0945c.entry.js} +1 -1
  280. package/lib/duet/p-312ae93d.system.entry.js +4 -0
  281. package/lib/duet/{p-7fe4bf9c.system.entry.js → p-32d6a948.system.entry.js} +1 -1
  282. package/lib/duet/{p-6fafabc4.system.entry.js → p-3499c5ce.system.entry.js} +2 -2
  283. package/lib/duet/{p-7fd5d974.system.entry.js → p-358f27d4.system.entry.js} +1 -1
  284. package/lib/duet/{p-831c76d5.system.entry.js → p-35fddc0c.system.entry.js} +2 -2
  285. package/lib/duet/{p-cd14aa98.system.entry.js → p-379b7a5b.system.entry.js} +1 -1
  286. package/lib/duet/{p-2a8ca3eb.entry.js → p-3a47193c.entry.js} +1 -1
  287. package/lib/duet/p-3a9e4386.system.entry.js +4 -0
  288. package/lib/duet/{p-eaf5b796.entry.js → p-3cff6ebc.entry.js} +1 -1
  289. package/lib/duet/{p-e6701508.entry.js → p-3dbbd772.entry.js} +1 -1
  290. package/lib/duet/{p-a6f4302f.system.entry.js → p-3f9bafee.system.entry.js} +1 -1
  291. package/lib/duet/{p-33ace290.system.entry.js → p-3fd216ee.system.entry.js} +2 -2
  292. package/lib/duet/{p-ff0c5b5b.system.entry.js → p-402a51b4.system.entry.js} +2 -2
  293. package/lib/duet/{p-ced270b7.system.entry.js → p-42e29141.system.entry.js} +2 -2
  294. package/lib/duet/p-435cb7c2.entry.js +4 -0
  295. package/lib/duet/p-440aff1c.system.entry.js +4 -0
  296. package/lib/duet/p-46547a79.entry.js +4 -0
  297. package/lib/duet/{p-242c1c1a.entry.js → p-469c8430.entry.js} +1 -1
  298. package/lib/duet/{p-ab15c9ba.entry.js → p-49c0b3f8.entry.js} +1 -1
  299. package/lib/duet/p-4b9c271c.entry.js +4 -0
  300. package/lib/duet/{p-d837c30c.entry.js → p-4ba495ae.entry.js} +1 -1
  301. package/lib/duet/{p-0b208f94.system.entry.js → p-4c05864f.system.entry.js} +1 -1
  302. package/lib/duet/{p-26cfed76.system.entry.js → p-4cb95b05.system.entry.js} +1 -1
  303. package/lib/duet/{p-10d57786.entry.js → p-4f49a9ca.entry.js} +1 -1
  304. package/lib/duet/p-57bc9d10.system.entry.js +4 -0
  305. package/lib/duet/p-5a9d75e1.js +1 -1
  306. package/lib/duet/{p-dcb58b72.system.entry.js → p-5ba959af.system.entry.js} +1 -1
  307. package/lib/duet/p-5c8e5f29.system.js +4 -0
  308. package/lib/duet/{p-f01b3bfa.entry.js → p-5c9febf5.entry.js} +1 -1
  309. package/lib/duet/{p-5f9fc349.system.entry.js → p-5cca8d3e.system.entry.js} +2 -2
  310. package/lib/duet/{p-10d47bb3.entry.js → p-6105d937.entry.js} +1 -1
  311. package/lib/duet/{p-bb450fde.entry.js → p-61611577.entry.js} +1 -1
  312. package/lib/duet/{p-f9191467.entry.js → p-6322975a.entry.js} +1 -1
  313. package/lib/duet/{p-e664403b.system.entry.js → p-6a1f6639.system.entry.js} +2 -2
  314. package/lib/duet/p-6b115b63.system.js +4 -0
  315. package/lib/duet/p-6b7d3c8c.entry.js +4 -0
  316. package/lib/duet/{p-0f05038e.system.entry.js → p-6c7a20e1.system.entry.js} +2 -2
  317. package/lib/duet/{p-82ebc3a6.system.entry.js → p-6e8dbf19.system.entry.js} +2 -2
  318. package/lib/duet/{p-2ab30c7f.entry.js → p-6ea838bf.entry.js} +1 -1
  319. package/lib/duet/{p-5c5dd33e.entry.js → p-6fba1a6d.entry.js} +1 -1
  320. package/lib/duet/{p-fce75de7.entry.js → p-71cc3d68.entry.js} +1 -1
  321. package/lib/duet/{p-18b63745.system.entry.js → p-74b822f7.system.entry.js} +2 -2
  322. package/lib/duet/{p-9cec464f.system.entry.js → p-75d98b0c.system.entry.js} +2 -2
  323. package/lib/duet/{p-a76ceaf6.js → p-75f7a572.js} +1 -1
  324. package/lib/duet/{p-07795672.entry.js → p-762f26d7.entry.js} +1 -1
  325. package/lib/duet/p-7649b95e.js +4 -0
  326. package/lib/duet/{p-e5ff4740.system.entry.js → p-798f633d.system.entry.js} +1 -1
  327. package/lib/duet/p-79b6ac98.js +5 -0
  328. package/lib/duet/{p-369190ba.entry.js → p-7b29ea1b.entry.js} +1 -1
  329. package/lib/duet/{p-60210fa0.entry.js → p-7d0c4a6e.entry.js} +1 -1
  330. package/lib/duet/{p-9781cd5a.entry.js → p-80c9d1a3.entry.js} +1 -1
  331. package/lib/duet/p-82b5380b.system.js +1 -1
  332. package/lib/duet/{p-42199e80.entry.js → p-84492c72.entry.js} +1 -1
  333. package/lib/duet/{p-6059377c.entry.js → p-84848786.entry.js} +1 -1
  334. package/lib/duet/p-864ccce8.system.entry.js +4 -0
  335. package/lib/duet/p-8793147c.system.entry.js +4 -0
  336. package/lib/duet/{p-bb3ab94b.entry.js → p-890ce3fa.entry.js} +1 -1
  337. package/lib/duet/{p-49cbf9cc.entry.js → p-8b1084e1.entry.js} +1 -1
  338. package/lib/duet/{p-65180079.entry.js → p-8cde4aa3.entry.js} +1 -1
  339. package/lib/duet/{p-67f35157.entry.js → p-8d1df4a0.entry.js} +1 -1
  340. package/lib/duet/{p-c01a1e38.entry.js → p-8fe534ac.entry.js} +1 -1
  341. package/lib/duet/{p-190e7c1f.system.entry.js → p-90b0a60f.system.entry.js} +2 -2
  342. package/lib/duet/{p-c8af967c.system.entry.js → p-95a2dc66.system.entry.js} +1 -1
  343. package/lib/duet/{p-9ad4b03e.entry.js → p-98894eb0.entry.js} +1 -1
  344. package/lib/duet/p-9a9bc779.entry.js +4 -0
  345. package/lib/duet/{p-d70c1993.entry.js → p-9b96a374.entry.js} +1 -1
  346. package/lib/duet/p-9d915d45.js +4 -0
  347. package/lib/duet/{p-476bec1d.entry.js → p-a18c65be.entry.js} +1 -1
  348. package/lib/duet/p-a4376044.entry.js +4 -0
  349. package/lib/duet/{p-6ff2601a.entry.js → p-a481cf6f.entry.js} +1 -1
  350. package/lib/duet/{p-77432368.entry.js → p-a4f63bc8.entry.js} +1 -1
  351. package/lib/duet/{p-ff814fdc.entry.js → p-a57b8625.entry.js} +1 -1
  352. package/lib/duet/{p-17569309.entry.js → p-a5ee6446.entry.js} +1 -1
  353. package/lib/duet/{p-c591ed98.system.entry.js → p-a7925c2c.system.entry.js} +2 -2
  354. package/lib/duet/p-a8657943.entry.js +4 -0
  355. package/lib/duet/{p-642a879a.system.entry.js → p-a9dee517.system.entry.js} +1 -1
  356. package/lib/duet/p-aaf1b496.system.js +4 -0
  357. package/lib/duet/{p-d309acda.entry.js → p-ab1488e4.entry.js} +1 -1
  358. package/lib/duet/{p-3fe319db.entry.js → p-ab308aa0.entry.js} +1 -1
  359. package/lib/duet/{p-7c81a1aa.system.entry.js → p-ab9b002c.system.entry.js} +1 -1
  360. package/lib/duet/{p-18084aa4.entry.js → p-ad3c2f28.entry.js} +1 -1
  361. package/lib/duet/p-ae4927ce.entry.js +4 -0
  362. package/lib/duet/{p-346b440a.entry.js → p-b07af8d7.entry.js} +1 -1
  363. package/lib/duet/{p-8a06964b.entry.js → p-b29fac9e.entry.js} +1 -1
  364. package/lib/duet/p-b54bf042.entry.js +4 -0
  365. package/lib/duet/{p-49f5f27e.entry.js → p-b5546c64.entry.js} +1 -1
  366. package/lib/duet/{p-d90b9d82.entry.js → p-b6d43529.entry.js} +1 -1
  367. package/lib/duet/p-b6d51921.system.js +1 -1
  368. package/lib/duet/{p-74bf128c.system.entry.js → p-bdd55461.system.entry.js} +2 -2
  369. package/lib/duet/p-be37633b.entry.js +4 -0
  370. package/lib/duet/{p-8fc58e21.entry.js → p-be8e6a2f.entry.js} +1 -1
  371. package/lib/duet/{p-9277a98e.entry.js → p-bf35789c.entry.js} +1 -1
  372. package/lib/duet/p-c1aafc6e.entry.js +4 -0
  373. package/lib/duet/{p-fcc9c563.entry.js → p-c1b71a60.entry.js} +1 -1
  374. package/lib/duet/{p-d95542b2.system.entry.js → p-c2860fc6.system.entry.js} +2 -2
  375. package/lib/duet/{p-0f49469b.system.entry.js → p-c3bf4ada.system.entry.js} +1 -1
  376. package/lib/duet/{p-000197bb.system.entry.js → p-c8967f73.system.entry.js} +2 -2
  377. package/lib/duet/p-c8dc599d.system.js +1 -1
  378. package/lib/duet/{p-6dea5bde.system.js → p-ca783bce.system.js} +1 -1
  379. package/lib/duet/{p-d1308874.entry.js → p-cad183f3.entry.js} +1 -1
  380. package/lib/duet/{p-a1e03781.entry.js → p-caf1d401.entry.js} +1 -1
  381. package/lib/duet/p-cb620ca3.system.entry.js +4 -0
  382. package/lib/duet/{p-e26c92ae.entry.js → p-cd1ed6f6.entry.js} +1 -1
  383. package/lib/duet/{p-8168ef41.system.entry.js → p-cdbd1085.system.entry.js} +2 -2
  384. package/lib/duet/{p-5590d075.system.entry.js → p-ce48373f.system.entry.js} +2 -2
  385. package/lib/duet/{p-f605a26a.system.entry.js → p-cefbaef0.system.entry.js} +1 -1
  386. package/lib/duet/p-cf504df5.js +4 -0
  387. package/lib/duet/{p-8215e341.system.entry.js → p-cfdd8822.system.entry.js} +1 -1
  388. package/lib/duet/{p-e1470177.system.entry.js → p-d58ad6fe.system.entry.js} +1 -1
  389. package/lib/duet/{p-fd760e06.system.entry.js → p-d7460d04.system.entry.js} +2 -2
  390. package/lib/duet/{p-c56f6296.entry.js → p-d86b661a.entry.js} +1 -1
  391. package/lib/duet/{p-d707c91d.entry.js → p-dc003f39.entry.js} +1 -1
  392. package/lib/duet/{p-aa1c11b3.system.entry.js → p-dd2c8397.system.entry.js} +1 -1
  393. package/lib/duet/{p-e3a868e7.system.entry.js → p-de933c56.system.entry.js} +1 -1
  394. package/lib/duet/{p-e13b266c.system.entry.js → p-deb6c0b1.system.entry.js} +1 -1
  395. package/lib/duet/p-df10a767.js +1 -1
  396. package/lib/duet/{p-bd21ed24.entry.js → p-e009dd0e.entry.js} +1 -1
  397. package/lib/duet/{p-c20f14ee.system.entry.js → p-e0711844.system.entry.js} +1 -1
  398. package/lib/duet/p-e414a557.js +4 -0
  399. package/lib/duet/{p-f1bce38a.system.entry.js → p-e53475fd.system.entry.js} +1 -1
  400. package/lib/duet/{p-a9fac1f4.entry.js → p-e66b2cf4.entry.js} +1 -1
  401. package/lib/duet/{p-639c44ed.system.entry.js → p-e689dc8c.system.entry.js} +2 -2
  402. package/lib/duet/{p-3aebf88e.entry.js → p-eb478d40.entry.js} +1 -1
  403. package/lib/duet/{p-54607ab5.system.entry.js → p-ebaf813c.system.entry.js} +1 -1
  404. package/lib/duet/{p-e33b158e.entry.js → p-ebd0deb2.entry.js} +1 -1
  405. package/lib/duet/p-ec120930.system.entry.js +4 -0
  406. package/lib/duet/{p-ea0b3f23.entry.js → p-ed2fa79e.entry.js} +1 -1
  407. package/lib/duet/{p-984be1b2.system.entry.js → p-f15e031a.system.entry.js} +2 -2
  408. package/lib/duet/{p-76c68d61.system.entry.js → p-f58f7049.system.entry.js} +1 -1
  409. package/lib/duet/{p-7b75c66a.system.entry.js → p-f5bc03c1.system.entry.js} +2 -2
  410. package/lib/duet/p-f5c10f8e.entry.js +4 -0
  411. package/lib/duet/{p-0fc4fd1f.entry.js → p-f6ba5087.entry.js} +1 -1
  412. package/lib/duet/{p-645d04bc.entry.js → p-f783a2bc.entry.js} +1 -1
  413. package/lib/duet/p-f80275c5.system.entry.js +4 -0
  414. package/lib/duet/p-f93a4db5.entry.js +4 -0
  415. package/lib/duet/{p-61dbdf5a.system.entry.js → p-fa579e10.system.entry.js} +1 -1
  416. package/lib/duet/{p-87ea8cd4.system.entry.js → p-fdd13933.system.entry.js} +2 -2
  417. package/lib/esm/duet-action-button.entry.js +3 -3
  418. package/lib/esm/duet-alert.entry.js +1 -1
  419. package/lib/esm/duet-badge.entry.js +1 -1
  420. package/lib/esm/duet-banner.entry.js +3 -3
  421. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  422. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  423. package/lib/esm/duet-button_2.entry.js +3 -3
  424. package/lib/esm/duet-callout.entry.js +1 -1
  425. package/lib/esm/duet-caption_4.entry.js +3 -3
  426. package/lib/esm/duet-card.entry.js +3 -3
  427. package/lib/esm/duet-checkbox.entry.js +1 -1
  428. package/lib/esm/duet-checkmark.entry.js +1 -1
  429. package/lib/esm/duet-chip.entry.js +89 -9
  430. package/lib/esm/duet-choice_2.entry.js +9 -8
  431. package/lib/esm/duet-collapsible.entry.js +3 -2
  432. package/lib/esm/duet-combobox.entry.js +1 -1
  433. package/lib/esm/duet-contact-card.entry.js +1 -1
  434. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  435. package/lib/esm/duet-date-picker.entry.js +2 -2
  436. package/lib/esm/duet-divider_2.entry.js +3 -3
  437. package/lib/esm/duet-editable-table_3.entry.js +23 -128
  438. package/lib/esm/duet-empty-state.entry.js +1 -1
  439. package/lib/esm/duet-fieldset.entry.js +3 -2
  440. package/lib/esm/duet-footer.entry.js +1 -1
  441. package/lib/esm/duet-grid_2.entry.js +6 -3
  442. package/lib/esm/duet-header_2.entry.js +2 -2
  443. package/lib/esm/duet-hero.entry.js +2 -2
  444. package/lib/esm/duet-icon.entry.js +3 -3
  445. package/lib/esm/duet-input_2.entry.js +1 -1
  446. package/lib/esm/duet-layout.entry.js +1 -1
  447. package/lib/esm/duet-list_2.entry.js +1 -1
  448. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  449. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  450. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  451. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  452. package/lib/esm/duet-menu-bar.entry.js +1 -1
  453. package/lib/esm/duet-modal.entry.js +2 -2
  454. package/lib/esm/duet-multiselect.entry.js +1 -1
  455. package/lib/esm/duet-nav.entry.js +1 -1
  456. package/lib/esm/duet-notification_2.entry.js +1 -1
  457. package/lib/esm/duet-number-input.entry.js +1 -1
  458. package/lib/esm/duet-page-heading.entry.js +1 -1
  459. package/lib/esm/duet-pagination_2.entry.js +1 -1
  460. package/lib/esm/duet-popup-menu-item.entry.js +35 -2
  461. package/lib/esm/duet-popup-menu.entry.js +99 -9
  462. package/lib/esm/duet-progress.entry.js +1 -1
  463. package/lib/esm/duet-promo-card.entry.js +3 -3
  464. package/lib/esm/duet-radio_2.entry.js +1 -1
  465. package/lib/esm/duet-range-slider.entry.js +2 -2
  466. package/lib/esm/duet-scrollable_3.entry.js +2 -2
  467. package/lib/esm/duet-section-layout.entry.js +1 -1
  468. package/lib/esm/duet-select.entry.js +1 -1
  469. package/lib/esm/duet-shaped-image.entry.js +1 -1
  470. package/lib/esm/duet-show-more.entry.js +57 -28
  471. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  472. package/lib/esm/duet-slideout-link.entry.js +1 -1
  473. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  474. package/lib/esm/duet-slideout-panel.entry.js +4 -4
  475. package/lib/esm/duet-slideout.entry.js +4 -4
  476. package/lib/esm/duet-step_2.entry.js +1 -1
  477. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  478. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  479. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  480. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  481. package/lib/esm/duet-textarea.entry.js +1 -1
  482. package/lib/esm/duet-toggle.entry.js +1 -1
  483. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  484. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  485. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  486. package/lib/esm/duet-toolbar.entry.js +1 -1
  487. package/lib/esm/duet-tooltip-popup.entry.js +52 -0
  488. package/lib/esm/duet-tooltip.entry.js +20 -15
  489. package/lib/esm/duet-tray.entry.js +2 -2
  490. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  491. package/lib/esm/duet-upload-item.entry.js +89 -0
  492. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  493. package/lib/esm/duet.js +7 -87
  494. package/lib/esm/errorcodes.utils-c0c33bce.js +36 -0
  495. package/lib/esm/{focus-utils-20785530.js → focus-utils-a516bd48.js} +1 -1
  496. package/lib/esm/{index-dcb8c495.js → index-23851de5.js} +7 -18
  497. package/lib/esm/loader.js +3 -3
  498. package/lib/esm/slot-query-8c7dce21.js +8 -0
  499. package/lib/esm/{token-utils-a1dcaa4b.js → token-utils-058d6220.js} +1 -1
  500. package/lib/esm/{tokens.module-ed773027.js → tokens.module-f436c2cd.js} +1 -1
  501. package/lib/esm-es5/duet-action-button.entry.js +2 -2
  502. package/lib/esm-es5/duet-alert.entry.js +2 -2
  503. package/lib/esm-es5/duet-badge.entry.js +1 -1
  504. package/lib/esm-es5/duet-banner.entry.js +1 -1
  505. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  506. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  507. package/lib/esm-es5/duet-button_2.entry.js +2 -2
  508. package/lib/esm-es5/duet-callout.entry.js +1 -1
  509. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  510. package/lib/esm-es5/duet-card.entry.js +2 -2
  511. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  512. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  513. package/lib/esm-es5/duet-chip.entry.js +2 -2
  514. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  515. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  516. package/lib/esm-es5/duet-combobox.entry.js +2 -2
  517. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  518. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  519. package/lib/esm-es5/duet-date-picker.entry.js +2 -2
  520. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  521. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  522. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  523. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  524. package/lib/esm-es5/duet-footer.entry.js +2 -2
  525. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  526. package/lib/esm-es5/duet-header_2.entry.js +2 -2
  527. package/lib/esm-es5/duet-hero.entry.js +2 -2
  528. package/lib/esm-es5/duet-icon.entry.js +2 -2
  529. package/lib/esm-es5/duet-input_2.entry.js +2 -2
  530. package/lib/esm-es5/duet-layout.entry.js +1 -1
  531. package/lib/esm-es5/duet-list_2.entry.js +2 -2
  532. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  533. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  534. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  535. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  536. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  537. package/lib/esm-es5/duet-modal.entry.js +2 -2
  538. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  539. package/lib/esm-es5/duet-nav.entry.js +1 -1
  540. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  541. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  542. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  543. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  544. package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
  545. package/lib/esm-es5/duet-popup-menu.entry.js +2 -2
  546. package/lib/esm-es5/duet-progress.entry.js +1 -1
  547. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  548. package/lib/esm-es5/duet-radio_2.entry.js +2 -2
  549. package/lib/esm-es5/duet-range-slider.entry.js +2 -2
  550. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  551. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  552. package/lib/esm-es5/duet-select.entry.js +2 -2
  553. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  554. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  555. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  556. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  557. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  558. package/lib/esm-es5/duet-slideout-panel.entry.js +2 -2
  559. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  560. package/lib/esm-es5/duet-step_2.entry.js +2 -2
  561. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  562. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +2 -2
  563. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  564. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  565. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  566. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  567. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  568. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +2 -2
  569. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  570. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  571. package/lib/esm-es5/duet-tooltip-popup.entry.js +4 -0
  572. package/lib/esm-es5/duet-tooltip.entry.js +2 -2
  573. package/lib/esm-es5/duet-tray.entry.js +1 -1
  574. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  575. package/lib/esm-es5/duet-upload-item.entry.js +4 -0
  576. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  577. package/lib/esm-es5/duet.js +1 -1
  578. package/lib/esm-es5/errorcodes.utils-c0c33bce.js +4 -0
  579. package/lib/esm-es5/floating-ui.dom.esm-37dc174a.js +1 -1
  580. package/lib/esm-es5/focus-utils-a516bd48.js +4 -0
  581. package/lib/esm-es5/index-23851de5.js +5 -0
  582. package/lib/esm-es5/language-utils-6be16ff0.js +1 -1
  583. package/lib/esm-es5/loader.js +1 -1
  584. package/lib/esm-es5/slot-query-8c7dce21.js +4 -0
  585. package/lib/esm-es5/string-utils-5954f458.js +1 -1
  586. package/lib/esm-es5/{token-utils-a1dcaa4b.js → token-utils-058d6220.js} +1 -1
  587. package/lib/esm-es5/{tokens.module-ed773027.js → tokens.module-f436c2cd.js} +1 -1
  588. package/lib/types/common/index.d.ts +1 -0
  589. package/lib/types/common/slot-query.d.ts +1 -0
  590. package/lib/types/components/duet-chip/duet-chip.d.ts +21 -2
  591. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +1 -1
  592. package/lib/types/components/duet-grid/duet-grid.d.ts +4 -0
  593. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +18 -1
  594. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +30 -0
  595. package/lib/types/components/duet-show-more/duet-show-more.d.ts +36 -5
  596. package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +41 -0
  597. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +4 -4
  598. package/lib/types/components/duet-upload/duet-upload.d.ts +2 -1
  599. package/lib/types/components/duet-upload-item/duet-upload-item.d.ts +29 -0
  600. package/lib/types/components.d.ts +208 -2
  601. package/lib/types/utils/teleport.d.ts +15 -0
  602. package/package.json +5 -5
  603. package/lib/cjs/dom-c42e1019.js +0 -78
  604. package/lib/cjs/shadow-css-6c99270e.js +0 -392
  605. package/lib/collection/components/duet-upload/upload-item.js +0 -44
  606. package/lib/dist-custom-elements/p-59964344.js +0 -183
  607. package/lib/dist-custom-elements/p-6ee53ac3.js +0 -390
  608. package/lib/duet/p-00c61228.system.entry.js +0 -4
  609. package/lib/duet/p-02a9b697.system.entry.js +0 -4
  610. package/lib/duet/p-0c7c6acc.system.entry.js +0 -4
  611. package/lib/duet/p-1090bfbd.entry.js +0 -4
  612. package/lib/duet/p-1983b903.system.entry.js +0 -4
  613. package/lib/duet/p-2271aa12.entry.js +0 -4
  614. package/lib/duet/p-26fb19cc.entry.js +0 -4
  615. package/lib/duet/p-29dd2b2b.entry.js +0 -4
  616. package/lib/duet/p-2f2554c2.entry.js +0 -4
  617. package/lib/duet/p-31a14896.entry.js +0 -4
  618. package/lib/duet/p-3d4d7d03.system.entry.js +0 -4
  619. package/lib/duet/p-4047730e.entry.js +0 -4
  620. package/lib/duet/p-41993ad4.js +0 -4
  621. package/lib/duet/p-4489355c.system.entry.js +0 -4
  622. package/lib/duet/p-45df6b17.entry.js +0 -4
  623. package/lib/duet/p-4f40525e.system.entry.js +0 -4
  624. package/lib/duet/p-5514488e.entry.js +0 -4
  625. package/lib/duet/p-57ec25ee.entry.js +0 -4
  626. package/lib/duet/p-59570fb7.system.entry.js +0 -4
  627. package/lib/duet/p-5dfc4e72.entry.js +0 -4
  628. package/lib/duet/p-6cf44bfa.system.js +0 -24
  629. package/lib/duet/p-6ee53ac3.js +0 -15
  630. package/lib/duet/p-72a8644b.system.entry.js +0 -4
  631. package/lib/duet/p-7ce403a2.system.entry.js +0 -4
  632. package/lib/duet/p-9b4b6a88.system.entry.js +0 -4
  633. package/lib/duet/p-9c159fd4.js +0 -22
  634. package/lib/duet/p-9d9204af.system.js +0 -16
  635. package/lib/duet/p-a7774674.system.js +0 -5
  636. package/lib/duet/p-bcb2eb05.js +0 -5
  637. package/lib/duet/p-f93a2b8c.system.js +0 -4
  638. package/lib/duet/p-fb88df1a.entry.js +0 -4
  639. package/lib/duet/p-fd4785ab.js +0 -4
  640. package/lib/esm/dom-ae12a113.js +0 -76
  641. package/lib/esm/shadow-css-66bc7949.js +0 -390
  642. package/lib/esm-es5/dom-ae12a113.js +0 -24
  643. package/lib/esm-es5/focus-utils-20785530.js +0 -4
  644. package/lib/esm-es5/index-dcb8c495.js +0 -5
  645. package/lib/esm-es5/shadow-css-66bc7949.js +0 -15
  646. package/lib/types/components/duet-upload/upload-item.d.ts +0 -20
  647. /package/lib/dist-custom-elements/{p-152ee893.js → p-ec4d603d.js} +0 -0
@@ -5,15 +5,16 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-ad229c23.js');
8
+ const index = require('./index-ef0568d5.js');
9
9
  const themeableComponent = require('./themeable-component-fdeaef9f.js');
10
10
  const jsUtils = require('./js-utils-134e0318.js');
11
11
  const keyboardUtils = require('./keyboard-utils-bb32119b.js');
12
12
  const languageUtils = require('./language-utils-44df1d37.js');
13
- const tokens_module = require('./tokens.module-5fe478ed.js');
14
- const tokenUtils = require('./token-utils-c1864408.js');
13
+ const tokens_module = require('./tokens.module-d30fb52a.js');
14
+ const tokenUtils = require('./token-utils-18a05118.js');
15
15
  const createId = require('./create-id-c3b984b1.js');
16
- const stringUtils = require('./string-utils-5cadd058.js');
16
+ const errorcodes_utils = require('./errorcodes.utils-5deca818.js');
17
+ require('./string-utils-5cadd058.js');
17
18
 
18
19
  //simple functional component that renders the data in the table
19
20
  const TableData = ({ data, groupId, alignment }, _children) => {
@@ -431,118 +432,6 @@ const errorCodes = [
431
432
  }
432
433
  ];
433
434
 
434
- const getError = (code, errorCodes) => {
435
- let error = {
436
- type: undefined,
437
- system_message: undefined,
438
- message: undefined,
439
- };
440
- errorCodes = stringUtils.parsePossibleJSON(errorCodes);
441
- error = errorCodes.filter(errorItem => {
442
- // the == is intentional we may be comparing numbers to strings - and that is ok here
443
- return errorItem.type == code;
444
- })[0];
445
- if (!error) {
446
- error = errorCodes.filter(errorItem => {
447
- return errorItem.type === "default";
448
- })[0];
449
- }
450
- return error;
451
- };
452
- const getI18nError = (errorCode, errorCodes) => {
453
- const errorFromJson = getError(errorCode, errorCodes);
454
- const i18String = languageUtils.getLocaleString(errorFromJson.message);
455
- if (i18String === "" || !i18String) {
456
- return errorFromJson.system_message;
457
- }
458
- else {
459
- return i18String;
460
- }
461
- };
462
-
463
- const formatBytes = (bytes, decimals = 2) => {
464
- if (bytes === 0) {
465
- return "0 Bytes";
466
- }
467
- const k = 1024;
468
- const dm = decimals < 0 ? 0 : decimals;
469
- const sizes = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"];
470
- const i = Math.floor(Math.log(bytes) / Math.log(k));
471
- return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + " " + sizes[i];
472
- };
473
-
474
- //tiedosto latautuu
475
- const fileUploadingInfo = {
476
- fi: "Tiedosto latautuu",
477
- sv: "Filen laddas upp",
478
- en: "File is uploading",
479
- };
480
- const UploadItem = ({ data, showLinks, type, actions, errorCodes, theme, label, categoryLabel, showCategory, onLinkClick, }) => {
481
- const { uid, item, size, uploaded, url, meta, progress, error } = data;
482
- const { name } = item;
483
- const linkClickHandler = (event) => {
484
- if (onLinkClick) {
485
- event.preventDefault();
486
- onLinkClick(name, url || "", meta);
487
- }
488
- };
489
- const getFileNameLine = () => {
490
- switch (type) {
491
- case "inprogress":
492
- return (index.h("span", { class: "duet-upload-item-name", role: "status" },
493
- index.h("duet-paragraph", { class: "duet-upload-item-name", color: "gray-darker", margin: "none", weight: "semi-bold" },
494
- index.h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }),
495
- index.h("duet-spacer", { size: "xx-small", direction: "horizontal" }),
496
- name),
497
- index.h("duet-visually-hidden", null,
498
- index.h("duet-paragraph", null, languageUtils.getLocaleString(fileUploadingInfo))),
499
- index.h("duet-progress", { progress: Math.ceil(progress), "aria-hidden": true })));
500
- case "pending":
501
- return (index.h("span", { class: "duet-upload-item-name" },
502
- index.h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }),
503
- index.h("duet-spacer", { size: "xx-small", direction: "horizontal" }),
504
- name));
505
- case "failure":
506
- return (index.h("span", { class: "duet-upload-item-error", role: "status" },
507
- index.h("duet-paragraph", { class: "duet-upload-item-name", color: "danger", margin: "none", weight: "semi-bold" },
508
- index.h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }),
509
- index.h("duet-spacer", { size: "xx-small", direction: "horizontal" }),
510
- name),
511
- index.h("duet-paragraph", { class: "duet-upload-item-error-label", size: "small", margin: "none", color: "danger" }, getI18nError(error.type, errorCodes))));
512
- default:
513
- return uploaded && url && showLinks ? (index.h("duet-paragraph", { color: "secondary", margin: "none", weight: "semi-bold" },
514
- index.h("duet-link", { onClick: linkClickHandler, url: url, external: true }, ContentName),
515
- index.h("duet-spacer", { size: "xx-small", direction: "horizontal" }),
516
- SizeText)) : (index.h("duet-paragraph", { color: "secondary", margin: "none", weight: "semi-bold" },
517
- ContentName,
518
- index.h("duet-spacer", { size: "xx-small", direction: "horizontal" }),
519
- SizeText));
520
- }
521
- };
522
- const ContentName = (index.h("span", { class: "duet-upload-item-name" },
523
- index.h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }),
524
- index.h("duet-spacer", { size: "xx-small", direction: "horizontal" }),
525
- name));
526
- const SizeText = (index.h("span", { class: "duet-upload-item-size", style: { fontSize: "14px", fontWeight: "400" } },
527
- "(",
528
- formatBytes(size),
529
- ")"));
530
- const Badges = meta && meta.badges ? (index.h("span", null, meta.badges.map(badgeText => (index.h("duet-badge", { color: "primary" }, badgeText))))) : undefined;
531
- const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${name}`;
532
- return (index.h("div", { class: {
533
- "upload-item-row": true,
534
- } },
535
- showCategory && (index.h("div", { class: "item-categories" },
536
- index.h("duet-heading", { class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, languageUtils.getLocaleString(categoryLabel)),
537
- Badges)),
538
- index.h("div", { class: { "item-name": true, "no-category": !showCategory } },
539
- !!label && (index.h("duet-heading", { class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, languageUtils.getLocaleString(label))),
540
- getFileNameLine()),
541
- index.h("div", { class: "item-actions" }, actions.map(actionItem => {
542
- return (index.h("duet-action-button", { actionMeta: Object.assign({}, meta || {}), actionId: uid || null, actionName: actionItem.name, theme: theme, iconName: actionItem.icon, iconColor: actionItem.color, iconSize: actionItem.size, background: actionItem.background, "accessible-label": `${actionDescription} ${languageUtils.getLocaleString(actionItem.label)} `, accessibleTitle: false }));
543
- }))));
544
- };
545
-
546
435
  const UploadItemHeader = ({ label, categoryLabel }) => {
547
436
  return (index.h("div", { class: "items-header" },
548
437
  categoryLabel && (index.h("duet-heading", { class: "category-header", border: "solid", color: "gray-darker", level: "h3", "visual-level": "h6", weight: "semibold", margin: "none" }, languageUtils.getLocaleString(categoryLabel))),
@@ -582,7 +471,7 @@ const validateFileSize = (size, maxBytes) => {
582
471
  const validateFile = (item, validators, errorCodes) => {
583
472
  const { allowedMimetypes, allowedExtensions, maxBytes } = validators;
584
473
  let valid = false;
585
- let errorMessage = getError("default", errorCodes);
474
+ let errorMessage = errorcodes_utils.getError("default", errorCodes);
586
475
  if (item) {
587
476
  const { name, type, size } = item;
588
477
  const mime = validateFileMime(type, allowedMimetypes);
@@ -594,13 +483,13 @@ const validateFile = (item, validators, errorCodes) => {
594
483
  : validateFileExtension(name.toLowerCase(), allowedExtensions);
595
484
  const bytes = validateFileSize(size, maxBytes);
596
485
  if (!mime) {
597
- errorMessage = getError("duet-upload-101", errorCodes);
486
+ errorMessage = errorcodes_utils.getError("duet-upload-101", errorCodes);
598
487
  }
599
488
  if (!ext) {
600
- errorMessage = getError("duet-upload-100", errorCodes);
489
+ errorMessage = errorcodes_utils.getError("duet-upload-100", errorCodes);
601
490
  }
602
491
  if (!bytes) {
603
- errorMessage = getError("duet-upload-201", errorCodes);
492
+ errorMessage = errorcodes_utils.getError("duet-upload-201", errorCodes);
604
493
  }
605
494
  valid = mime && ext && bytes;
606
495
  }
@@ -705,6 +594,7 @@ const DuetUpload = class {
705
594
  this.bytesMaxReached = false;
706
595
  this.filesToUploadExceedsLimit = false;
707
596
  this.internalStatusMessageLabel = undefined;
597
+ this.itemRefs = new Map();
708
598
  /**
709
599
  * Properties
710
600
  */
@@ -776,16 +666,24 @@ const DuetUpload = class {
776
666
  };
777
667
  this.mapFilesToUploadItems = (data, group, showCategory) => {
778
668
  if (group === this.DefaultGroups.success) {
779
- return (index.h(UploadItem, { theme: this.theme, actions: this.getActions(group), type: "success", data: data, showLinks: this.showLinks, onLinkClick: this.emitEvent ? this.onLinkClick : undefined, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory }));
669
+ return (index.h("duet-upload-item", { theme: this.theme, actions: this.getActions(group), type: "success", data: data, showLinks: this.showLinks, linkClickEvent: this.emitEvent ? this.linkClick : undefined, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory, ref: item => {
670
+ this.itemRefs.set(data.uid, item);
671
+ } }));
780
672
  }
781
673
  else if (group === this.DefaultGroups.inprogress) {
782
- return (index.h(UploadItem, { theme: this.theme, actions: this.getActions(group), type: "inprogress", data: data, showLinks: this.showLinks, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory }));
674
+ return (index.h("duet-upload-item", { theme: this.theme, actions: this.getActions(group), type: "inprogress", data: data, showLinks: this.showLinks, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory, ref: item => {
675
+ this.itemRefs.set(data.uid, item);
676
+ } }));
783
677
  }
784
678
  else if (group === this.DefaultGroups.pending) {
785
- return (index.h(UploadItem, { theme: this.theme, actions: this.getActions(group), type: "pending", data: data, showLinks: this.showLinks, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory }));
679
+ return (index.h("duet-upload-item", { theme: this.theme, actions: this.getActions(group), type: "pending", data: data, showLinks: this.showLinks, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory, ref: item => {
680
+ this.itemRefs.set(data.uid, item);
681
+ } }));
786
682
  }
787
683
  else if (group === this.DefaultGroups.failure) {
788
- return (index.h(UploadItem, { theme: this.theme, actions: this.getActions(group), type: "failure", data: data, showLinks: this.showLinks, errorCodes: this.errorCodes, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory }));
684
+ return (index.h("duet-upload-item", { theme: this.theme, actions: this.getActions(group), type: "failure", data: data, showLinks: this.showLinks, errorCodes: this.errorCodes, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory, ref: item => {
685
+ this.itemRefs.set(data.uid, item);
686
+ } }));
789
687
  }
790
688
  else if (data.group) {
791
689
  return data.html;
@@ -909,7 +807,7 @@ const DuetUpload = class {
909
807
  this.updateValueInMap(name, "valid", false, true);
910
808
  };
911
809
  this.transferFailed = name => {
912
- this.updateValueInMap(name, "error", getI18nError("duet-upload-001", this.errorCodes));
810
+ this.updateValueInMap(name, "error", errorcodes_utils.getI18nError("duet-upload-001", this.errorCodes));
913
811
  };
914
812
  this.transferCanceled = name => {
915
813
  this.files.delete(name);
@@ -920,10 +818,10 @@ const DuetUpload = class {
920
818
  const isTotalSizeOverMaxSize = validateTotalSizeIsAboveMax(this.files, this.maxBytesTotal);
921
819
  const isTotalFileAmountAboveMax = validateTotalAmountIsAboveMax(this.files, this.maxFiles);
922
820
  if (isTotalSizeOverMaxSize && name) {
923
- this.updateValueInMap(name, "error", getI18nError("duet-upload-202", this.errorCodes), false);
821
+ this.updateValueInMap(name, "error", errorcodes_utils.getI18nError("duet-upload-202", this.errorCodes), false);
924
822
  }
925
823
  if (isTotalFileAmountAboveMax && name) {
926
- this.updateValueInMap(name, "error", getI18nError("duet-upload-301", this.errorCodes), false);
824
+ this.updateValueInMap(name, "error", errorcodes_utils.getI18nError("duet-upload-301", this.errorCodes), false);
927
825
  }
928
826
  this.bytesMaxReached = isTotalSizeOverMaxSize;
929
827
  this.fileMaxReached = isTotalFileAmountAboveMax;
@@ -1069,14 +967,6 @@ const DuetUpload = class {
1069
967
  data: { files: this.files },
1070
968
  });
1071
969
  };
1072
- this.onLinkClick = (name, url, meta) => {
1073
- if (this.emitEvent) {
1074
- this.linkClick.emit({
1075
- component: "duet-upload",
1076
- data: { name, url, meta },
1077
- });
1078
- }
1079
- };
1080
970
  /**
1081
971
  * @description This functions return sorted map items byg condition which are:
1082
972
  */
@@ -1138,6 +1028,7 @@ const DuetUpload = class {
1138
1028
  return this.actions.filter(item => item.map.includes(id));
1139
1029
  };
1140
1030
  this.renderUploadedItems = () => {
1031
+ this.itemRefs.clear();
1141
1032
  const filteredItems = this.filterMap();
1142
1033
  const hasCategory = filteredItems.hasCategory;
1143
1034
  const ItemRows = this.groups.map(group => {
@@ -1385,6 +1276,10 @@ const DuetUpload = class {
1385
1276
  async updateValue(item, key, value) {
1386
1277
  this.updateValueInMap(item, key, value);
1387
1278
  }
1279
+ async focusActionButton(uid) {
1280
+ var _a;
1281
+ await ((_a = this.itemRefs.get(uid)) === null || _a === void 0 ? void 0 : _a.focusActionButton());
1282
+ }
1388
1283
  /**
1389
1284
  * render() function
1390
1285
  * Always the last one in the class.
@@ -1401,7 +1296,7 @@ const DuetUpload = class {
1401
1296
  this.externalUploadButton.ariaLabel = caption;
1402
1297
  }
1403
1298
  // @ts-ignore
1404
- return (index.h(index.Host, { class: { "duet-m-0": this.margin === "none" } }, index.h("duet-fieldset", { "label-hidden": this.hideHeader, label: this.label, caption: !this.captionOnBottom ? caption : undefined }, index.h("slot", { name: "header" }), !this.files.size && (index.h("duet-empty-state", { id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, index.h("duet-paragraph", { margin: "none" }, this.fileListEmpty))), !!this.files.size && index.h("slot", { name: "fileheader" }), !!this.files.size && (index.h("duet-upload-aria-status", { 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", { name: "filefooter" }), index.h("slot", { name: "uploadfooter" }), this.captionOnBottom && (index.h("duet-caption", { margin: "none", size: "small" }, index.h("div", { class: "upload-bottom-caption" }, caption))), index.h("slot", { name: "afterfooter" }), !this.hideButton && (index.h(index.Fragment, null, index.h("duet-spacer", { size: "large" }), index.h("duet-button", { id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel, "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 || this.bytesMaxReached || this.filesToUploadExceedsLimit) && (index.h(index.Fragment, null, index.h("duet-spacer", { size: "medium" }), index.h("duet-alert", { part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes)))), index.h("duet-visually-hidden", { "aria-hidden": "true" }, index.h("input", { ref: input => {
1299
+ return (index.h(index.Host, { class: { "duet-m-0": this.margin === "none" } }, index.h("duet-fieldset", { "label-hidden": this.hideHeader, label: this.label, caption: !this.captionOnBottom ? caption : undefined }, index.h("slot", { name: "header" }), !this.files.size && (index.h("duet-empty-state", { id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, index.h("duet-paragraph", { margin: "none" }, this.fileListEmpty))), !!this.files.size && index.h("slot", { name: "fileheader" }), !!this.files.size && (index.h("duet-upload-aria-status", { 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", { name: "filefooter" }), index.h("slot", { name: "uploadfooter" }), this.captionOnBottom && (index.h("duet-caption", { margin: "none", size: "small" }, index.h("div", { class: "upload-bottom-caption" }, caption))), index.h("slot", { name: "afterfooter" }), !this.hideButton && (index.h(index.Fragment, null, index.h("duet-spacer", { size: "large" }), index.h("duet-button", { id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel, "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 || this.bytesMaxReached || this.filesToUploadExceedsLimit) && (index.h(index.Fragment, null, index.h("duet-spacer", { size: "medium" }), index.h("duet-alert", { 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)))), index.h("duet-visually-hidden", { "aria-hidden": "true" }, index.h("input", { ref: input => {
1405
1300
  this.nativeInput = input;
1406
1301
  }, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
1407
1302
  "duet-upload": true,
@@ -5,7 +5,7 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-ad229c23.js');
8
+ const index = require('./index-ef0568d5.js');
9
9
  const themeableComponent = require('./themeable-component-fdeaef9f.js');
10
10
 
11
11
  const duetEmptyStateCss = "*,*::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;display:block;width:100%;height:100%}.duet-empty-state{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%;padding:48px;color:rgb(0, 41, 77);text-align:center;background:rgb(245, 248, 250);border-radius:4px}.duet-empty-state.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}";
@@ -5,8 +5,9 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-ad229c23.js');
8
+ const index = require('./index-ef0568d5.js');
9
9
  const themeableComponent = require('./themeable-component-fdeaef9f.js');
10
+ const slotQuery = require('./slot-query-1624497e.js');
10
11
  const createId = require('./create-id-c3b984b1.js');
11
12
 
12
13
  const duetFieldsetCss = "*,*::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;margin-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-legend-wrapper{position:relative;display:block;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);text-align:left;background:transparent}.duet-theme-turva .duet-legend-wrapper{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-fieldset-label{margin-bottom:12px !important;margin-top:8px}.duet-legend-has-caption .duet-fieldset-label{margin-bottom:6px !important}.duet-legend-has-tooltip .duet-fieldset-label{padding-right:36px}@media (min-width: 48em){.duet-legend-has-tooltip .duet-fieldset-label{margin-bottom:3px !important;padding-right:0}}@media (min-width: 48em){.duet-legend-has-tooltip.duet-legend-has-caption .duet-fieldset-label{margin-bottom:-3px !important}}.duet-fieldset-caption{margin-bottom:12px !important}.duet-fieldset-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(222, 35, 98);border-radius:4px}.duet-fieldset-help span{display:block;margin-top:12px}.duet-theme-turva .duet-fieldset-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(224, 42, 13)}::slotted(duet-tooltip){position:absolute;top:4px;right:0}@media (min-width: 48em){::slotted(duet-tooltip){position:relative;right:auto}}.duet-legend-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
@@ -17,7 +18,7 @@ const DuetFieldset = class {
17
18
  this.errorId = createId.createID("DuetError");
18
19
  this.labelId = createId.createID("DuetLabel");
19
20
  this.checkHasTooltip = () => {
20
- this.hasTooltip = !!this.element.querySelector("[slot='tooltip']");
21
+ this.hasTooltip = slotQuery.hasSlot(this.element, "tooltip");
21
22
  };
22
23
  this.hasTooltip = false;
23
24
  this.theme = "";
@@ -5,7 +5,7 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-ad229c23.js');
8
+ const index = require('./index-ef0568d5.js');
9
9
  const actionArrowRight = require('./action-arrow-right-24fe06be.js');
10
10
  const actionNewWindowSmall = require('./action-new-window-small-fa51dfb9.js');
11
11
  const commonStrings = require('./common-strings-de17f887.js');
@@ -5,12 +5,12 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-ad229c23.js');
8
+ const index = require('./index-ef0568d5.js');
9
9
  const tokens = require('./tokens-30e7656b.js');
10
10
  const watchOptions = require('./watch-options-d88afac0.js');
11
11
  const themeableComponent = require('./themeable-component-fdeaef9f.js');
12
12
 
13
- const duetGridCss = ".sc-duet-grid-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex !important;flex-direction:column !important;align-items:flex-start !important;justify-content:flex-start !important;width:100%;max-width:100%;height:auto}.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:row !important}.duet-grid-breakpoint-x-small.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}@media (max-width: 22.5em){.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}}@media (min-width: 36em){.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:row !important}.duet-grid-breakpoint-small.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 48em){.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:row !important}.duet-grid-breakpoint-medium.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 62em){.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:row !important}.duet-grid-breakpoint-large.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 64.0625em){.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:row !important}.duet-grid-breakpoint-x-large.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}.duet-grid-wrap.sc-duet-grid-h{flex-wrap:wrap !important}.duet-no-stacking.sc-duet-grid-h{flex-direction:row !important}.duet-no-stacking.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}.duet-grid-direction-vertical.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}@media (max-width: 35.9375em){.duet-grid-direction-vertical.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-direction-vertical.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 36em){.duet-grid-direction-vertical.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-direction-vertical.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 48em){.duet-grid-direction-vertical.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-direction-vertical.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 62em){.duet-grid-direction-vertical.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-direction-vertical.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 64.0625em){.duet-grid-direction-vertical.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-align-top.duet-no-stacking.sc-duet-grid-h{align-items:flex-start !important}.duet-grid-align-bottom.duet-no-stacking.sc-duet-grid-h{align-items:flex-end !important}.duet-grid-align-center.duet-no-stacking.sc-duet-grid-h{align-items:center !important}.duet-grid-align-stretch.duet-no-stacking.sc-duet-grid-h{align-items:stretch !important}.duet-grid-align-baseline.duet-no-stacking.sc-duet-grid-h{align-items:baseline !important}.duet-grid-align-top.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:flex-start !important}.duet-grid-align-bottom.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:flex-end !important}.duet-grid-align-center.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:center !important}.duet-grid-align-stretch.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:stretch !important}.duet-grid-align-baseline.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:baseline !important}@media (min-width: 36em){.duet-grid-align-top.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 36em){.duet-grid-align-bottom.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 36em){.duet-grid-align-center.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:center !important}}@media (min-width: 36em){.duet-grid-align-stretch.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 36em){.duet-grid-align-baseline.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 48em){.duet-grid-align-top.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 48em){.duet-grid-align-bottom.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 48em){.duet-grid-align-center.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:center !important}}@media (min-width: 48em){.duet-grid-align-stretch.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 48em){.duet-grid-align-baseline.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 62em){.duet-grid-align-top.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 62em){.duet-grid-align-bottom.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 62em){.duet-grid-align-center.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:center !important}}@media (min-width: 62em){.duet-grid-align-stretch.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 62em){.duet-grid-align-baseline.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 64.0625em){.duet-grid-align-top.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 64.0625em){.duet-grid-align-bottom.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 64.0625em){.duet-grid-align-center.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:center !important}}@media (min-width: 64.0625em){.duet-grid-align-stretch.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 64.0625em){.duet-grid-align-baseline.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:baseline !important}}.duet-grid-distribution-left.sc-duet-grid-h{justify-content:flex-start !important}.duet-grid-distribution-right.sc-duet-grid-h{justify-content:flex-end !important}.duet-grid-distribution-center.sc-duet-grid-h{justify-content:center !important}.duet-grid-distribution-between.sc-duet-grid-h{justify-content:space-between !important}.duet-grid-distribution-around.sc-duet-grid-h{justify-content:space-around !important}.duet-grid-distribution-evenly.sc-duet-grid-h{justify-content:space-evenly !important}@media (max-width: 35.9375em){.duet-grid-mobile-left.sc-duet-grid-h{align-items:flex-start !important;justify-content:flex-start !important;text-align:left !important}}@media (max-width: 35.9375em){.duet-grid-mobile-center.sc-duet-grid-h{align-items:center !important;justify-content:center !important;text-align:center !important}.duet-grid-mobile-center.sc-duet-grid-h *.sc-duet-grid{text-align:center !important}}@media (max-width: 35.9375em){.duet-grid-mobile-right.sc-duet-grid-h{align-items:flex-end !important;justify-content:flex-end !important;text-align:right !important}.duet-grid-mobile-right.sc-duet-grid-h *.sc-duet-grid{text-align:right !important}}";
13
+ const duetGridCss = ".sc-duet-grid-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-grid-variation-flex.sc-duet-grid-h{display:flex !important;flex-direction:column !important;align-items:flex-start !important;justify-content:flex-start !important;width:100%;max-width:100%;height:auto}.duet-grid-variation-flex.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-x-small.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}@media (max-width: 22.5em){.duet-grid-variation-flex.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-small.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-medium.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-large.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-x-large.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}.duet-grid-variation-flex.duet-grid-wrap.sc-duet-grid-h{flex-wrap:wrap !important}.duet-grid-variation-flex.duet-no-stacking.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-no-stacking.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-align-top.duet-no-stacking.sc-duet-grid-h{align-items:flex-start !important}.duet-grid-variation-flex.duet-grid-align-bottom.duet-no-stacking.sc-duet-grid-h{align-items:flex-end !important}.duet-grid-variation-flex.duet-grid-align-center.duet-no-stacking.sc-duet-grid-h{align-items:center !important}.duet-grid-variation-flex.duet-grid-align-stretch.duet-no-stacking.sc-duet-grid-h{align-items:stretch !important}.duet-grid-variation-flex.duet-grid-align-baseline.duet-no-stacking.sc-duet-grid-h{align-items:baseline !important}.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:flex-start !important}.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:flex-end !important}.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:center !important}.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:stretch !important}.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:baseline !important}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:center !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:center !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:center !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:center !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:baseline !important}}.duet-grid-variation-flex.duet-grid-distribution-left.sc-duet-grid-h{justify-content:flex-start !important}.duet-grid-variation-flex.duet-grid-distribution-right.sc-duet-grid-h{justify-content:flex-end !important}.duet-grid-variation-flex.duet-grid-distribution-center.sc-duet-grid-h{justify-content:center !important}.duet-grid-variation-flex.duet-grid-distribution-between.sc-duet-grid-h{justify-content:space-between !important}.duet-grid-variation-flex.duet-grid-distribution-around.sc-duet-grid-h{justify-content:space-around !important}.duet-grid-variation-flex.duet-grid-distribution-evenly.sc-duet-grid-h{justify-content:space-evenly !important}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-mobile-left.sc-duet-grid-h{align-items:flex-start !important;justify-content:flex-start !important;text-align:left !important}}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-mobile-center.sc-duet-grid-h{align-items:center !important;justify-content:center !important;text-align:center !important}.duet-grid-variation-flex.duet-grid-mobile-center.sc-duet-grid-h *.sc-duet-grid{text-align:center !important}}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-mobile-right.sc-duet-grid-h{align-items:flex-end !important;justify-content:flex-end !important;text-align:right !important}.duet-grid-variation-flex.duet-grid-mobile-right.sc-duet-grid-h *.sc-duet-grid{text-align:right !important}}.duet-grid-variation-grid.sc-duet-grid-h{display:grid;grid-template-rows:repeat(1, 1fr);grid-template-columns:repeat(4, minmax(0, 1fr));gap:16px;align-items:flex-start;justify-content:center;margin:0 20px}@media (min-width: 36em){.duet-grid-variation-grid.sc-duet-grid-h{gap:24px;margin:0 40px}}@media (min-width: 48em){.duet-grid-variation-grid.sc-duet-grid-h{grid-template-columns:repeat(8, 55px);gap:24px 32px;margin:0 auto}}@media (min-width: 62em){.duet-grid-variation-grid.sc-duet-grid-h{grid-template-columns:repeat(12, minmax(0, 1fr));margin:0 64px}}@media (min-width: 76.25em){.duet-grid-variation-grid.sc-duet-grid-h{grid-template-columns:repeat(12, 55px);gap:40px;margin:0 auto}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-small.sc-duet-grid-s>*{grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-small.sc-duet-grid-s>*{grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-small.sc-duet-grid-s>*{grid-column:3/span 8}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-medium.sc-duet-grid-s>*{grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-medium.sc-duet-grid-s>*{grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-medium.sc-duet-grid-s>*{grid-column:2/span 10}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-large.sc-duet-grid-s>*{grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-large.sc-duet-grid-s>*{grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-large.sc-duet-grid-s>*{grid-column:1/span 12}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(2){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(2){grid-column:9/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(2){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(2){grid-column:5/span 8}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 6}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(2){grid-column:5/span 4}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(2){grid-column:7/span 6}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(2){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(2){grid-column:5/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(3){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(3){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(3){grid-column:9/span 4}}";
14
14
 
15
15
  function isGridItem(element) {
16
16
  return element.tagName.toLowerCase() === "duet-grid-item";
@@ -31,6 +31,7 @@ const DuetGrid = class {
31
31
  this.alignment = "top";
32
32
  this.distribution = "default";
33
33
  this.mobile = "";
34
+ this.gridTemplate = null;
34
35
  }
35
36
  /**
36
37
  * Private functions
@@ -151,7 +152,9 @@ const DuetGrid = class {
151
152
  "duet-grid-breakpoint-large": this.breakpoint === "large",
152
153
  "duet-grid-breakpoint-x-large": this.breakpoint === "x-large",
153
154
  "duet-grid-row-reverse": this.rowReverse,
154
- } }));
155
+ [`duet-grid-variation-${this.gridTemplate ? "grid" : "flex"}`]: true,
156
+ [`duet-grid-template-${this.gridTemplate}`]: true,
157
+ } }, index.h("slot", null)));
155
158
  }
156
159
  get element() { return index.getElement(this); }
157
160
  static get watchers() { return {
@@ -5,7 +5,7 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-ad229c23.js');
8
+ const index = require('./index-ef0568d5.js');
9
9
  const formSearch = require('./form-search-d61b2843.js');
10
10
  const tokens = require('./tokens-30e7656b.js');
11
11
  const bodyScrollLock_es6 = require('./bodyScrollLock.es6-6ef1142a.js');
@@ -15,7 +15,7 @@ const keyboardUtils = require('./keyboard-utils-bb32119b.js');
15
15
  const languageUtils = require('./language-utils-44df1d37.js');
16
16
  const stringUtils = require('./string-utils-5cadd058.js');
17
17
  const actionArrowDownSmall = require('./action-arrow-down-small-ef77a2d1.js');
18
- const tokens_module = require('./tokens.module-5fe478ed.js');
18
+ const tokens_module = require('./tokens.module-d30fb52a.js');
19
19
  const createId = require('./create-id-c3b984b1.js');
20
20
 
21
21
  var navigationContactDropdown={"title":"navigation-contact-dropdown","tags":"navigation contact dropdown speech bubbles","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M20.247 24a.743.743 0 0 1-.53-.22l-4.28-4.28h-.439c-3.308 0-6-2.692-6-6s2.692-6 6-6h3c3.309.001 6 2.692 6 6a5.974 5.974 0 0 1-3 5.179v4.571a.75.75 0 0 1-.751.75zm-5.25-15c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5h.75c.198 0 .391.08.53.22l3.22 3.22v-3.213c0-.289.169-.555.429-.678a4.51 4.51 0 0 0 2.571-4.049 4.504 4.504 0 0 0-4.498-4.499h-3.002z\"/><path d=\"M3.747 16.5a.747.747 0 0 1-.75-.75v-4.57a5.967 5.967 0 0 1-2.65-3.171A5.948 5.948 0 0 1 .57 3.431 6.014 6.014 0 0 1 5.985 0h3.012a6.04 6.04 0 0 1 5.752 4.286.751.751 0 0 1-.718.964.755.755 0 0 1-.719-.536A4.531 4.531 0 0 0 8.997 1.5h-3a4.511 4.511 0 0 0-4.071 2.572c-.512 1.084-.571 2.302-.167 3.431s1.224 2.032 2.308 2.545c.261.123.43.39.43.678v3.214l1.72-1.72a.744.744 0 0 1 1.06 0 .752.752 0 0 1 0 1.061l-3 3a.744.744 0 0 1-.53.219z\"/></svg>"};