@duetds/components 8.4.2 → 8.4.4

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 (644) hide show
  1. package/hydrate/index.js +183 -47
  2. package/lib/cjs/action-new-window-50c8aed0.js +11 -0
  3. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  4. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-banner.cjs.entry.js +9 -8
  7. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
  10. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-caption_4.cjs.entry.js +45 -21
  12. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  13. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-chip.cjs.entry.js +1 -1
  16. package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  18. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  21. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  23. package/lib/cjs/duet-editable-table_3.cjs.entry.js +56 -9
  24. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-footer.cjs.entry.js +3 -5
  28. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
  30. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  32. package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
  33. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  40. package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
  41. package/lib/cjs/duet-modal.cjs.entry.js +4 -4
  42. package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -4
  48. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-popup-menu.cjs.entry.js +9 -4
  50. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
  52. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  54. package/lib/cjs/duet-scrollable_3.cjs.entry.js +3 -3
  55. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  62. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-slideout.cjs.entry.js +5 -5
  64. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
  67. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  69. package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -5
  70. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  73. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  74. package/lib/cjs/duet-toolbar-item.cjs.entry.js +1 -1
  75. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
  78. package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
  79. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  80. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  81. package/lib/cjs/duet-upload-item.cjs.entry.js +9 -2
  82. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  83. package/lib/cjs/duet.cjs.js +2 -2
  84. package/lib/cjs/{floating-ui.dom.esm-a7d59d53.js → floating-ui.dom.esm-91f66430.js} +60 -20
  85. package/lib/cjs/{focus-utils-c103ab0a.js → focus-utils-a2fa36c7.js} +1 -1
  86. package/lib/cjs/{index-7fe97a5d.js → index-321cd5c2.js} +1 -1
  87. package/lib/cjs/loader.cjs.js +2 -2
  88. package/lib/cjs/{token-utils-7a618677.js → token-utils-c8094d1e.js} +1 -1
  89. package/lib/cjs/{tokens-c3eecae6.js → tokens-5b487d39.js} +3 -0
  90. package/lib/cjs/{tokens.module-bc323a09.js → tokens.module-450a747b.js} +2 -0
  91. package/lib/collection/collection-manifest.json +1 -1
  92. package/lib/collection/components/duet-banner/duet-banner.css +26 -0
  93. package/lib/collection/components/duet-banner/duet-banner.js +5 -4
  94. package/lib/collection/components/duet-link/duet-link.css +95 -9
  95. package/lib/collection/components/duet-link/duet-link.js +73 -20
  96. package/lib/collection/components/duet-modal/duet-modal.js +1 -1
  97. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +24 -1
  98. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  99. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +3 -2
  100. package/lib/collection/components/duet-upload/duet-upload.js +95 -5
  101. package/lib/collection/components/duet-upload-item/duet-upload-item.js +30 -2
  102. package/lib/collection/utils/string-utils.js +6 -0
  103. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  104. package/lib/dist-custom-elements/duet-alert.js +1 -1
  105. package/lib/dist-custom-elements/duet-badge.js +1 -1
  106. package/lib/dist-custom-elements/duet-banner.js +11 -10
  107. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  108. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  109. package/lib/dist-custom-elements/duet-button.js +1 -1
  110. package/lib/dist-custom-elements/duet-callout.js +2 -2
  111. package/lib/dist-custom-elements/duet-caption.js +1 -1
  112. package/lib/dist-custom-elements/duet-card.js +4 -4
  113. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  114. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  115. package/lib/dist-custom-elements/duet-chip.js +2 -2
  116. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  117. package/lib/dist-custom-elements/duet-choice.js +6 -6
  118. package/lib/dist-custom-elements/duet-collapsible.js +3 -3
  119. package/lib/dist-custom-elements/duet-combobox.js +3 -3
  120. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  121. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  122. package/lib/dist-custom-elements/duet-date-picker.js +14 -14
  123. package/lib/dist-custom-elements/duet-divider.js +1 -1
  124. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  125. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  126. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  127. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  128. package/lib/dist-custom-elements/duet-footer.js +5 -7
  129. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  130. package/lib/dist-custom-elements/duet-grid.js +1 -1
  131. package/lib/dist-custom-elements/duet-header.js +11 -11
  132. package/lib/dist-custom-elements/duet-heading.js +1 -1
  133. package/lib/dist-custom-elements/duet-hero.js +9 -9
  134. package/lib/dist-custom-elements/duet-icon.js +1 -1
  135. package/lib/dist-custom-elements/duet-input.js +1 -1
  136. package/lib/dist-custom-elements/duet-label.js +1 -1
  137. package/lib/dist-custom-elements/duet-layout.js +1 -1
  138. package/lib/dist-custom-elements/duet-link.js +1 -1
  139. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  140. package/lib/dist-custom-elements/duet-list.js +1 -1
  141. package/lib/dist-custom-elements/duet-logo.js +1 -1
  142. package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
  143. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  144. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
  145. package/lib/dist-custom-elements/duet-menu-bar-item.js +3 -3
  146. package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
  147. package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
  148. package/lib/dist-custom-elements/duet-modal.js +10 -10
  149. package/lib/dist-custom-elements/duet-multiselect.js +9 -9
  150. package/lib/dist-custom-elements/duet-nav.js +1 -1
  151. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  152. package/lib/dist-custom-elements/duet-notification.js +2 -2
  153. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  154. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  155. package/lib/dist-custom-elements/duet-pagination.js +14 -14
  156. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  157. package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
  158. package/lib/dist-custom-elements/duet-popup-menu.js +10 -4
  159. package/lib/dist-custom-elements/duet-progress.js +1 -1
  160. package/lib/dist-custom-elements/duet-promo-card.js +4 -4
  161. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  162. package/lib/dist-custom-elements/duet-radio.js +1 -1
  163. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  164. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  165. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  166. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  167. package/lib/dist-custom-elements/duet-select.js +1 -1
  168. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  169. package/lib/dist-custom-elements/duet-show-more.js +5 -5
  170. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  171. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  172. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  173. package/lib/dist-custom-elements/duet-slideout-panel.js +4 -4
  174. package/lib/dist-custom-elements/duet-slideout.js +5 -5
  175. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  176. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  177. package/lib/dist-custom-elements/duet-step.js +4 -4
  178. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  179. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  180. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
  181. package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
  182. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  183. package/lib/dist-custom-elements/duet-submenu-bar.js +7 -6
  184. package/lib/dist-custom-elements/duet-tab-group.js +13 -13
  185. package/lib/dist-custom-elements/duet-tab.js +2 -2
  186. package/lib/dist-custom-elements/duet-table.js +1 -1
  187. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  188. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  189. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  190. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  191. package/lib/dist-custom-elements/duet-toolbar-item.js +2 -2
  192. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  193. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  194. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  195. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  196. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  197. package/lib/dist-custom-elements/duet-tray.js +4 -4
  198. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  199. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  200. package/lib/dist-custom-elements/duet-upload.js +74 -24
  201. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  202. package/lib/dist-custom-elements/index.js +1 -1
  203. package/lib/dist-custom-elements/{p-c1c9234e.js → p-00766c1c.js} +10 -10
  204. package/lib/dist-custom-elements/{p-d4663c7c.js → p-01cc0070.js} +8 -8
  205. package/lib/{esm/floating-ui.dom.esm-efad5c89.js → dist-custom-elements/p-11e152cd.js} +60 -20
  206. package/lib/dist-custom-elements/{p-0d9a20d2.js → p-16110f9e.js} +19 -11
  207. package/lib/dist-custom-elements/{p-cbac9ed5.js → p-2807b16f.js} +1 -1
  208. package/lib/dist-custom-elements/{p-d37a3cec.js → p-2f3ee599.js} +2 -0
  209. package/lib/dist-custom-elements/{p-fa23b7fe.js → p-37ed08ff.js} +5 -5
  210. package/lib/dist-custom-elements/{p-a48934c3.js → p-37fda12a.js} +1 -1
  211. package/lib/dist-custom-elements/{p-eef66341.js → p-4bd749d9.js} +1 -1
  212. package/lib/dist-custom-elements/{p-4f04ad3e.js → p-4ea72812.js} +2 -2
  213. package/lib/dist-custom-elements/{p-177cbf72.js → p-5d23f8e5.js} +1 -1
  214. package/lib/dist-custom-elements/{p-0a2e2799.js → p-60825051.js} +1 -1
  215. package/lib/dist-custom-elements/{p-601b571c.js → p-694eb563.js} +2 -2
  216. package/lib/dist-custom-elements/{p-6686826d.js → p-6d154d20.js} +1 -1
  217. package/lib/dist-custom-elements/{p-a0fb1ecb.js → p-6e276517.js} +2 -2
  218. package/lib/dist-custom-elements/{p-45f0a5c5.js → p-70db33ff.js} +5 -5
  219. package/lib/dist-custom-elements/{p-131d995f.js → p-769f67db.js} +2 -2
  220. package/lib/dist-custom-elements/{p-9b65c21f.js → p-7a282561.js} +2 -2
  221. package/lib/dist-custom-elements/{p-2996bc9b.js → p-80658678.js} +7 -7
  222. package/lib/dist-custom-elements/p-8855e26a.js +8 -0
  223. package/lib/dist-custom-elements/{p-61c2577e.js → p-95edd984.js} +4 -4
  224. package/lib/dist-custom-elements/{p-50ce213d.js → p-9a68c9c3.js} +2 -2
  225. package/lib/dist-custom-elements/{p-33a89c97.js → p-a0e148ea.js} +2 -2
  226. package/lib/dist-custom-elements/{p-f5c39ead.js → p-add43228.js} +5 -5
  227. package/lib/dist-custom-elements/{p-f1f23dbd.js → p-b72908a4.js} +4 -4
  228. package/lib/dist-custom-elements/{p-12eef2ad.js → p-b8be34fe.js} +3 -3
  229. package/lib/dist-custom-elements/{p-15c6804a.js → p-bc9b66e3.js} +2 -2
  230. package/lib/dist-custom-elements/{p-59846fe0.js → p-c3bf10f0.js} +2 -2
  231. package/lib/dist-custom-elements/{p-3e696237.js → p-c92fc106.js} +2 -2
  232. package/lib/dist-custom-elements/{p-47e5367a.js → p-c9e9fcdd.js} +1 -1
  233. package/lib/dist-custom-elements/{p-a15329e0.js → p-cd43ed13.js} +1 -1
  234. package/lib/dist-custom-elements/p-d0e58f2f.js +195 -0
  235. package/lib/dist-custom-elements/{p-5b729ba0.js → p-d98e622c.js} +2 -2
  236. package/lib/dist-custom-elements/{p-57761460.js → p-d9ce7d34.js} +2 -2
  237. package/lib/dist-custom-elements/{p-7e7a0c10.js → p-e0da6a34.js} +1 -1
  238. package/lib/dist-custom-elements/{p-d84e09c9.js → p-e20f6c37.js} +1 -1
  239. package/lib/dist-custom-elements/{p-a41e92cd.js → p-eb8112d7.js} +1 -1
  240. package/lib/{esm/tokens-30d01e1d.js → dist-custom-elements/p-ed995372.js} +3 -0
  241. package/lib/dist-custom-elements/{p-2a308935.js → p-f6bb0a14.js} +1 -1
  242. package/lib/dist-custom-elements/{p-1364c672.js → p-f971e88a.js} +2 -2
  243. package/lib/duet/duet.esm.js +1 -1
  244. package/lib/duet/duet.js +1 -1
  245. package/lib/duet/{p-22d72786.system.entry.js → p-010dd9f1.system.entry.js} +1 -1
  246. package/lib/duet/{p-9d2d5bb7.entry.js → p-021e6c41.entry.js} +1 -1
  247. package/lib/duet/{p-bba08afa.entry.js → p-03ecd2e4.entry.js} +1 -1
  248. package/lib/duet/{p-f2aa1623.js → p-03f6f09a.js} +1 -1
  249. package/lib/duet/p-04cc1871.entry.js +4 -0
  250. package/lib/duet/{p-1d44acfe.entry.js → p-0ae402bc.entry.js} +1 -1
  251. package/lib/duet/{p-0e015dcc.system.entry.js → p-0bbc8e7d.system.entry.js} +1 -1
  252. package/lib/duet/{p-b46eaf22.system.entry.js → p-0c7b4d0b.system.entry.js} +1 -1
  253. package/lib/duet/{p-04396632.entry.js → p-0ee178f3.entry.js} +1 -1
  254. package/lib/duet/{p-ea0114b0.system.entry.js → p-11d504bb.system.entry.js} +1 -1
  255. package/lib/duet/p-11e152cd.js +4 -0
  256. package/lib/duet/{p-0b31f281.entry.js → p-14dd96f6.entry.js} +1 -1
  257. package/lib/duet/{p-4a711595.system.entry.js → p-1a90862e.system.entry.js} +1 -1
  258. package/lib/duet/{p-cf68eb94.entry.js → p-1b7067b9.entry.js} +1 -1
  259. package/lib/duet/{p-da3a4563.system.entry.js → p-1c6ac55a.system.entry.js} +1 -1
  260. package/lib/duet/{p-10098739.system.entry.js → p-1d6732e5.system.entry.js} +1 -1
  261. package/lib/duet/{p-e8ef41fb.entry.js → p-1f1ea2e1.entry.js} +1 -1
  262. package/lib/duet/{p-18a5ed57.entry.js → p-1f51448a.entry.js} +1 -1
  263. package/lib/duet/{p-fe6d6541.entry.js → p-1f6614f2.entry.js} +1 -1
  264. package/lib/duet/p-1fd2d87d.entry.js +4 -0
  265. package/lib/duet/{p-0dfacf89.entry.js → p-218929dd.entry.js} +1 -1
  266. package/lib/duet/{p-5df167ce.entry.js → p-24707dfe.entry.js} +1 -1
  267. package/lib/duet/p-290fd0ec.entry.js +4 -0
  268. package/lib/duet/{p-738c2982.entry.js → p-296bce73.entry.js} +1 -1
  269. package/lib/duet/{p-edbb800c.entry.js → p-2a67d274.entry.js} +1 -1
  270. package/lib/duet/{p-10221818.system.entry.js → p-2accb711.system.entry.js} +1 -1
  271. package/lib/duet/{p-c1788410.entry.js → p-2ad9975b.entry.js} +1 -1
  272. package/lib/duet/{p-68563736.entry.js → p-2c3a0e0b.entry.js} +1 -1
  273. package/lib/duet/{p-321f5636.system.entry.js → p-2c7a4ccf.system.entry.js} +1 -1
  274. package/lib/duet/{p-c32fb0ad.system.entry.js → p-2d505c84.system.entry.js} +1 -1
  275. package/lib/duet/{p-7a62a25c.system.entry.js → p-2d5eea69.system.entry.js} +1 -1
  276. package/lib/duet/p-2e68af22.system.js +4 -0
  277. package/lib/duet/{p-846f6107.entry.js → p-30694f50.entry.js} +1 -1
  278. package/lib/duet/{p-851a2197.system.entry.js → p-30b37984.system.entry.js} +1 -1
  279. package/lib/duet/{p-70e8e2e8.entry.js → p-324a6828.entry.js} +1 -1
  280. package/lib/duet/{p-66811869.system.entry.js → p-328a40de.system.entry.js} +1 -1
  281. package/lib/duet/{p-dd11d532.system.entry.js → p-3350f9aa.system.entry.js} +1 -1
  282. package/lib/duet/p-34620d0d.entry.js +4 -0
  283. package/lib/duet/{p-3d1e8d07.system.entry.js → p-350fc5f7.system.entry.js} +1 -1
  284. package/lib/duet/{p-64d1ea6b.entry.js → p-368a4f49.entry.js} +1 -1
  285. package/lib/duet/{p-addd5e7e.system.entry.js → p-36cce3f9.system.entry.js} +1 -1
  286. package/lib/duet/{p-383a91dc.system.entry.js → p-383719e3.system.entry.js} +1 -1
  287. package/lib/duet/{p-ff73f982.system.entry.js → p-3a7594d3.system.entry.js} +1 -1
  288. package/lib/duet/{p-78e5a38c.system.entry.js → p-3cd30915.system.entry.js} +1 -1
  289. package/lib/duet/p-3d88b644.system.entry.js +4 -0
  290. package/lib/duet/p-3d951794.entry.js +4 -0
  291. package/lib/duet/{p-71028a1e.entry.js → p-3e26c389.entry.js} +1 -1
  292. package/lib/duet/{p-3dfbd404.system.entry.js → p-3f0589bb.system.entry.js} +1 -1
  293. package/lib/duet/{p-407a1728.entry.js → p-40c29b8e.entry.js} +1 -1
  294. package/lib/duet/{p-abdbce02.system.js → p-41ba30b7.system.js} +1 -1
  295. package/lib/duet/{p-99b0e6bb.system.entry.js → p-41e13b83.system.entry.js} +1 -1
  296. package/lib/duet/{p-ffb8996b.system.js → p-42101548.system.js} +1 -1
  297. package/lib/duet/p-432df72f.system.entry.js +4 -0
  298. package/lib/duet/{p-230604b9.entry.js → p-43cd9f87.entry.js} +1 -1
  299. package/lib/duet/{p-551e05af.system.entry.js → p-44c81d6b.system.entry.js} +1 -1
  300. package/lib/duet/{p-7a98a43c.entry.js → p-460aada9.entry.js} +1 -1
  301. package/lib/duet/p-4861c4a4.entry.js +4 -0
  302. package/lib/duet/{p-c46b15ea.entry.js → p-48bd3e10.entry.js} +1 -1
  303. package/lib/duet/{p-c57afc88.entry.js → p-4f779b7b.entry.js} +1 -1
  304. package/lib/duet/{p-49e02a59.system.entry.js → p-507f807b.system.entry.js} +1 -1
  305. package/lib/duet/p-5091eb50.entry.js +4 -0
  306. package/lib/duet/p-52e38899.system.js +4 -0
  307. package/lib/duet/{p-d9f35a79.entry.js → p-5555f60d.entry.js} +1 -1
  308. package/lib/duet/{p-8f916ac7.system.entry.js → p-55b5929c.system.entry.js} +1 -1
  309. package/lib/duet/{p-b685de1e.js → p-593e28ac.js} +1 -1
  310. package/lib/duet/{p-42473291.system.entry.js → p-5ca7f7cb.system.entry.js} +1 -1
  311. package/lib/duet/p-5d5b6fbd.entry.js +4 -0
  312. package/lib/duet/{p-04d81b55.entry.js → p-5e8c47fe.entry.js} +1 -1
  313. package/lib/duet/p-5f0c7704.system.entry.js +4 -0
  314. package/lib/duet/{p-187e0e31.entry.js → p-607be10a.entry.js} +1 -1
  315. package/lib/duet/{p-514310af.system.entry.js → p-60ca48d1.system.entry.js} +1 -1
  316. package/lib/duet/{p-2f75a831.system.entry.js → p-62ce745e.system.entry.js} +1 -1
  317. package/lib/duet/p-650a419d.system.js +4 -0
  318. package/lib/duet/{p-95575931.entry.js → p-66f4c2bb.entry.js} +1 -1
  319. package/lib/duet/{p-436828cd.entry.js → p-67956ba7.entry.js} +1 -1
  320. package/lib/duet/{p-b3fe4d80.system.entry.js → p-6a6136ac.system.entry.js} +1 -1
  321. package/lib/duet/p-6c3a10a7.system.entry.js +4 -0
  322. package/lib/duet/{p-bb0d4df8.system.entry.js → p-6cce9324.system.entry.js} +1 -1
  323. package/lib/duet/{p-69535738.system.entry.js → p-6d5bbd9d.system.entry.js} +1 -1
  324. package/lib/duet/{p-70192242.system.entry.js → p-6d67ee47.system.entry.js} +1 -1
  325. package/lib/duet/{p-5855d879.system.entry.js → p-6ef5d34b.system.entry.js} +1 -1
  326. package/lib/duet/{p-2d679611.entry.js → p-70961fe6.entry.js} +1 -1
  327. package/lib/duet/{p-428adef7.system.entry.js → p-7329324b.system.entry.js} +1 -1
  328. package/lib/duet/{p-7de032fc.system.entry.js → p-78c560b1.system.entry.js} +1 -1
  329. package/lib/duet/{p-c0580b3f.system.entry.js → p-797eaeab.system.entry.js} +1 -1
  330. package/lib/duet/{p-5a9a1c76.entry.js → p-79f72cff.entry.js} +1 -1
  331. package/lib/duet/{p-5f87ea3d.js → p-7a66b632.js} +1 -1
  332. package/lib/duet/{p-301fda37.entry.js → p-7a6ed189.entry.js} +1 -1
  333. package/lib/duet/{p-04c226e5.entry.js → p-7c0afcee.entry.js} +1 -1
  334. package/lib/duet/{p-ab0a3192.entry.js → p-7c2ceea1.entry.js} +1 -1
  335. package/lib/duet/{p-48a63ce5.system.entry.js → p-7e14f80d.system.entry.js} +1 -1
  336. package/lib/duet/{p-b2387806.entry.js → p-7ecb4a30.entry.js} +1 -1
  337. package/lib/duet/{p-fe3a3989.entry.js → p-7f0e15ec.entry.js} +1 -1
  338. package/lib/duet/{p-2fd350b6.entry.js → p-7fd57091.entry.js} +1 -1
  339. package/lib/duet/p-80dc1362.system.entry.js +4 -0
  340. package/lib/duet/{p-f5414759.system.entry.js → p-81363d5b.system.entry.js} +1 -1
  341. package/lib/duet/{p-89ff1726.entry.js → p-81a65ba4.entry.js} +1 -1
  342. package/lib/duet/{p-24c2902b.entry.js → p-81a72ffe.entry.js} +1 -1
  343. package/lib/duet/{p-a8da4509.system.entry.js → p-84c8b5a1.system.entry.js} +1 -1
  344. package/lib/duet/{p-43931eed.system.entry.js → p-86069994.system.entry.js} +1 -1
  345. package/lib/duet/{p-4afeea09.system.entry.js → p-87c91115.system.entry.js} +2 -2
  346. package/lib/duet/{p-1d2d899a.system.entry.js → p-87e6b946.system.entry.js} +1 -1
  347. package/lib/duet/p-8855e26a.js +4 -0
  348. package/lib/duet/{p-9da0ed12.system.entry.js → p-89310816.system.entry.js} +1 -1
  349. package/lib/duet/{p-65b7afbd.system.entry.js → p-89daabf5.system.entry.js} +1 -1
  350. package/lib/duet/p-8a5fcb79.system.entry.js +4 -0
  351. package/lib/duet/{p-c9ab053d.entry.js → p-8b929d17.entry.js} +1 -1
  352. package/lib/duet/{p-ff58fdad.system.entry.js → p-8c5009b8.system.entry.js} +1 -1
  353. package/lib/duet/{p-b40bceab.system.entry.js → p-8cb77e1f.system.entry.js} +1 -1
  354. package/lib/duet/{p-dc234b3a.entry.js → p-935dbe23.entry.js} +1 -1
  355. package/lib/duet/{p-17a52ca1.entry.js → p-94ec5a34.entry.js} +1 -1
  356. package/lib/duet/{p-0a61dd54.system.entry.js → p-97d09535.system.entry.js} +1 -1
  357. package/lib/duet/p-98c4123d.entry.js +4 -0
  358. package/lib/duet/{p-d5c5992f.entry.js → p-9b42d132.entry.js} +1 -1
  359. package/lib/duet/{p-4557d28f.entry.js → p-9c5592a0.entry.js} +1 -1
  360. package/lib/duet/{p-5688f257.entry.js → p-9e58080f.entry.js} +1 -1
  361. package/lib/duet/{p-3c42ae99.system.entry.js → p-9f780397.system.entry.js} +1 -1
  362. package/lib/duet/{p-08e002f8.entry.js → p-a0978112.entry.js} +1 -1
  363. package/lib/duet/{p-f64f4ff8.system.entry.js → p-a09a9abe.system.entry.js} +1 -1
  364. package/lib/duet/{p-da7f4cbf.system.entry.js → p-a144a9ba.system.entry.js} +1 -1
  365. package/lib/duet/{p-12597683.system.entry.js → p-a1c81497.system.entry.js} +1 -1
  366. package/lib/duet/{p-b0d5f427.system.entry.js → p-a225a097.system.entry.js} +1 -1
  367. package/lib/duet/{p-93e1f5f7.entry.js → p-a2ab881c.entry.js} +1 -1
  368. package/lib/duet/{p-fc353103.system.entry.js → p-a2ac806b.system.entry.js} +1 -1
  369. package/lib/duet/{p-ea92b78c.system.entry.js → p-a2f3f775.system.entry.js} +1 -1
  370. package/lib/duet/p-a46b4450.system.js +4 -0
  371. package/lib/duet/{p-757451ff.system.entry.js → p-a5066804.system.entry.js} +1 -1
  372. package/lib/duet/{p-29301434.system.entry.js → p-ac1cf4f6.system.entry.js} +1 -1
  373. package/lib/duet/{p-3a63e778.entry.js → p-adf1bd67.entry.js} +1 -1
  374. package/lib/duet/{p-10d39a4b.system.entry.js → p-afcd0356.system.entry.js} +1 -1
  375. package/lib/duet/{p-50559904.system.entry.js → p-b8182937.system.entry.js} +1 -1
  376. package/lib/duet/{p-96783b15.system.entry.js → p-b86feb9d.system.entry.js} +1 -1
  377. package/lib/duet/{p-a58f1913.system.entry.js → p-bb4a6a02.system.entry.js} +1 -1
  378. package/lib/duet/{p-b3fac2f5.entry.js → p-bbd94845.entry.js} +1 -1
  379. package/lib/duet/{p-f99a14a4.system.entry.js → p-bdec8ea8.system.entry.js} +1 -1
  380. package/lib/duet/{p-e3f76452.entry.js → p-bf2f9155.entry.js} +1 -1
  381. package/lib/duet/{p-e7bc8481.entry.js → p-bfc33dbb.entry.js} +1 -1
  382. package/lib/duet/{p-a45fe7ea.system.entry.js → p-c24529b8.system.entry.js} +1 -1
  383. package/lib/duet/{p-4fe29741.entry.js → p-c4a1468e.entry.js} +1 -1
  384. package/lib/duet/{p-deff3c18.entry.js → p-c6995ff3.entry.js} +1 -1
  385. package/lib/duet/{p-f7681856.system.entry.js → p-c7b3d9fd.system.entry.js} +1 -1
  386. package/lib/duet/p-c8564169.entry.js +4 -0
  387. package/lib/duet/{p-1f3ff1d7.system.entry.js → p-c9e8f35b.system.entry.js} +1 -1
  388. package/lib/duet/{p-fce3d5cc.system.entry.js → p-cdb63bbf.system.entry.js} +1 -1
  389. package/lib/duet/{p-0571c7df.system.entry.js → p-d156e8f9.system.entry.js} +1 -1
  390. package/lib/duet/{p-cfc901c8.entry.js → p-d547e4b8.entry.js} +1 -1
  391. package/lib/duet/{p-4f40d4b7.system.entry.js → p-d5e534d5.system.entry.js} +1 -1
  392. package/lib/duet/{p-cd03ee1c.entry.js → p-d6f9146f.entry.js} +1 -1
  393. package/lib/duet/{p-65126f35.system.entry.js → p-d76fa43c.system.entry.js} +1 -1
  394. package/lib/duet/{p-fa5eff27.js → p-d82b4974.js} +1 -1
  395. package/lib/duet/{p-ea0d7900.entry.js → p-d8d7c90b.entry.js} +1 -1
  396. package/lib/duet/{p-5935bb9e.system.entry.js → p-d936b946.system.entry.js} +1 -1
  397. package/lib/duet/{p-71fa6c5f.entry.js → p-da9e040d.entry.js} +1 -1
  398. package/lib/duet/{p-62d011ba.entry.js → p-db5e6b96.entry.js} +1 -1
  399. package/lib/duet/{p-df7a726b.entry.js → p-ddb1fc3d.entry.js} +1 -1
  400. package/lib/duet/{p-f0f494dc.system.js → p-def3d03c.system.js} +1 -1
  401. package/lib/duet/{p-02064d40.entry.js → p-e0e04af9.entry.js} +1 -1
  402. package/lib/duet/{p-e6a09596.entry.js → p-e1fbb2f0.entry.js} +1 -1
  403. package/lib/duet/{p-936894c4.entry.js → p-e31f82e8.entry.js} +1 -1
  404. package/lib/duet/{p-4aada7ef.system.entry.js → p-e3832e69.system.entry.js} +1 -1
  405. package/lib/duet/{p-937a64ee.system.entry.js → p-e39b3463.system.entry.js} +1 -1
  406. package/lib/duet/p-e639b9ee.system.js +4 -0
  407. package/lib/duet/{p-798d2be8.entry.js → p-eb2092ea.entry.js} +1 -1
  408. package/lib/duet/{p-ea787367.system.entry.js → p-ebd9d168.system.entry.js} +1 -1
  409. package/lib/duet/p-ed995372.js +4 -0
  410. package/lib/duet/{p-a6a2c0c2.entry.js → p-f10c1b71.entry.js} +1 -1
  411. package/lib/duet/{p-54cbe86f.system.entry.js → p-f11ee829.system.entry.js} +1 -1
  412. package/lib/duet/{p-01cb4eba.entry.js → p-f442a901.entry.js} +1 -1
  413. package/lib/duet/{p-b671985e.entry.js → p-f75d4521.entry.js} +1 -1
  414. package/lib/duet/{p-3611d8db.entry.js → p-f860fa92.entry.js} +1 -1
  415. package/lib/duet/{p-c8fd77c9.system.entry.js → p-f9567972.system.entry.js} +1 -1
  416. package/lib/duet/{p-94d25cb5.entry.js → p-f97b0583.entry.js} +1 -1
  417. package/lib/duet/{p-596fd1f4.entry.js → p-fcda7bb3.entry.js} +1 -1
  418. package/lib/duet/{p-9f23897e.system.entry.js → p-fdf3ee51.system.entry.js} +1 -1
  419. package/lib/duet/{p-d26277f5.entry.js → p-ff048b43.entry.js} +1 -1
  420. package/lib/esm/action-new-window-9c8f7830.js +8 -0
  421. package/lib/esm/duet-action-button.entry.js +3 -3
  422. package/lib/esm/duet-alert.entry.js +1 -1
  423. package/lib/esm/duet-badge.entry.js +1 -1
  424. package/lib/esm/duet-banner.entry.js +9 -8
  425. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  426. package/lib/esm/duet-breadcrumbs.entry.js +3 -3
  427. package/lib/esm/duet-button_2.entry.js +3 -3
  428. package/lib/esm/duet-callout.entry.js +1 -1
  429. package/lib/esm/duet-caption_4.entry.js +45 -21
  430. package/lib/esm/duet-card.entry.js +3 -3
  431. package/lib/esm/duet-checkbox.entry.js +1 -1
  432. package/lib/esm/duet-checkmark.entry.js +1 -1
  433. package/lib/esm/duet-chip.entry.js +1 -1
  434. package/lib/esm/duet-choice_2.entry.js +2 -2
  435. package/lib/esm/duet-collapsible.entry.js +2 -2
  436. package/lib/esm/duet-combobox.entry.js +1 -1
  437. package/lib/esm/duet-contact-card.entry.js +1 -1
  438. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  439. package/lib/esm/duet-date-picker.entry.js +2 -2
  440. package/lib/esm/duet-divider_2.entry.js +3 -3
  441. package/lib/esm/duet-editable-table_3.entry.js +56 -9
  442. package/lib/esm/duet-empty-state.entry.js +1 -1
  443. package/lib/esm/duet-fieldset.entry.js +1 -1
  444. package/lib/esm/duet-file-chooser.entry.js +1 -1
  445. package/lib/esm/duet-footer.entry.js +2 -4
  446. package/lib/esm/duet-grid_2.entry.js +2 -2
  447. package/lib/esm/duet-header_2.entry.js +4 -4
  448. package/lib/esm/duet-hero.entry.js +1 -1
  449. package/lib/esm/duet-icon.entry.js +3 -3
  450. package/lib/esm/duet-input_2.entry.js +3 -3
  451. package/lib/esm/duet-layout.entry.js +1 -1
  452. package/lib/esm/duet-list_2.entry.js +1 -1
  453. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  454. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  455. package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
  456. package/lib/esm/duet-menu-bar-item.entry.js +2 -2
  457. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  458. package/lib/esm/duet-menu-bar.entry.js +2 -2
  459. package/lib/esm/duet-modal.entry.js +4 -4
  460. package/lib/esm/duet-multiselect.entry.js +1 -1
  461. package/lib/esm/duet-nav.entry.js +1 -1
  462. package/lib/esm/duet-notification_2.entry.js +1 -1
  463. package/lib/esm/duet-number-input.entry.js +1 -1
  464. package/lib/esm/duet-page-heading.entry.js +1 -1
  465. package/lib/esm/duet-pagination_2.entry.js +4 -4
  466. package/lib/esm/duet-popup-menu-item.entry.js +1 -1
  467. package/lib/esm/duet-popup-menu.entry.js +9 -4
  468. package/lib/esm/duet-progress.entry.js +1 -1
  469. package/lib/esm/duet-promo-card.entry.js +3 -3
  470. package/lib/esm/duet-radio_2.entry.js +1 -1
  471. package/lib/esm/duet-range-slider.entry.js +2 -2
  472. package/lib/esm/duet-scrollable_3.entry.js +3 -3
  473. package/lib/esm/duet-section-layout.entry.js +1 -1
  474. package/lib/esm/duet-select.entry.js +1 -1
  475. package/lib/esm/duet-shaped-image.entry.js +1 -1
  476. package/lib/esm/duet-show-more.entry.js +1 -1
  477. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  478. package/lib/esm/duet-slideout-link.entry.js +1 -1
  479. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  480. package/lib/esm/duet-slideout-panel.entry.js +4 -4
  481. package/lib/esm/duet-slideout.entry.js +5 -5
  482. package/lib/esm/duet-step_2.entry.js +1 -1
  483. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  484. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  485. package/lib/esm/duet-submenu-bar-item.entry.js +2 -2
  486. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  487. package/lib/esm/duet-submenu-bar.entry.js +6 -5
  488. package/lib/esm/duet-textarea.entry.js +1 -1
  489. package/lib/esm/duet-toggle.entry.js +1 -1
  490. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  491. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  492. package/lib/esm/duet-toolbar-item.entry.js +1 -1
  493. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  494. package/lib/esm/duet-toolbar.entry.js +1 -1
  495. package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
  496. package/lib/esm/duet-tooltip.entry.js +3 -3
  497. package/lib/esm/duet-tray.entry.js +2 -2
  498. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  499. package/lib/esm/duet-upload-item.entry.js +9 -2
  500. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  501. package/lib/esm/duet.js +3 -3
  502. package/lib/{dist-custom-elements/p-00c8a755.js → esm/floating-ui.dom.esm-34e0a5fa.js} +60 -20
  503. package/lib/esm/{focus-utils-82a898ac.js → focus-utils-c70f9fb9.js} +1 -1
  504. package/lib/esm/{index-28be88c1.js → index-3c6b5eb8.js} +1 -1
  505. package/lib/esm/loader.js +3 -3
  506. package/lib/esm/{token-utils-0c77cb3c.js → token-utils-be83d039.js} +1 -1
  507. package/lib/{dist-custom-elements/p-d81ec707.js → esm/tokens-94133fa9.js} +3 -0
  508. package/lib/esm/{tokens.module-c9866649.js → tokens.module-3547915d.js} +2 -0
  509. package/lib/esm-es5/action-new-window-9c8f7830.js +4 -0
  510. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  511. package/lib/esm-es5/duet-alert.entry.js +1 -1
  512. package/lib/esm-es5/duet-badge.entry.js +1 -1
  513. package/lib/esm-es5/duet-banner.entry.js +1 -1
  514. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  515. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  516. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  517. package/lib/esm-es5/duet-callout.entry.js +1 -1
  518. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  519. package/lib/esm-es5/duet-card.entry.js +1 -1
  520. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  521. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  522. package/lib/esm-es5/duet-chip.entry.js +1 -1
  523. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  524. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  525. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  526. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  527. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  528. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  529. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  530. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  531. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  532. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  533. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  534. package/lib/esm-es5/duet-footer.entry.js +1 -1
  535. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  536. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  537. package/lib/esm-es5/duet-hero.entry.js +1 -1
  538. package/lib/esm-es5/duet-icon.entry.js +1 -1
  539. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  540. package/lib/esm-es5/duet-layout.entry.js +1 -1
  541. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  542. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  543. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  544. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  545. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  546. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  547. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  548. package/lib/esm-es5/duet-modal.entry.js +1 -1
  549. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  550. package/lib/esm-es5/duet-nav.entry.js +1 -1
  551. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  552. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  553. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  554. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  555. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  556. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  557. package/lib/esm-es5/duet-progress.entry.js +1 -1
  558. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  559. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  560. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  561. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  562. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  563. package/lib/esm-es5/duet-select.entry.js +1 -1
  564. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  565. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  566. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  567. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  568. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  569. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  570. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  571. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  572. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  573. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  574. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  575. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  576. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  577. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  578. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  579. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  580. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  581. package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
  582. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  583. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  584. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  585. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  586. package/lib/esm-es5/duet-tray.entry.js +1 -1
  587. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  588. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  589. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  590. package/lib/esm-es5/duet.js +1 -1
  591. package/lib/esm-es5/floating-ui.dom.esm-34e0a5fa.js +4 -0
  592. package/lib/esm-es5/{focus-utils-82a898ac.js → focus-utils-c70f9fb9.js} +1 -1
  593. package/lib/esm-es5/{index-28be88c1.js → index-3c6b5eb8.js} +1 -1
  594. package/lib/esm-es5/loader.js +1 -1
  595. package/lib/esm-es5/{token-utils-0c77cb3c.js → token-utils-be83d039.js} +1 -1
  596. package/lib/esm-es5/tokens-94133fa9.js +4 -0
  597. package/lib/esm-es5/tokens.module-3547915d.js +4 -0
  598. package/lib/types/common-types.d.ts +1 -1
  599. package/lib/types/components/duet-link/duet-link.d.ts +13 -5
  600. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +4 -0
  601. package/lib/types/components/duet-upload/duet-upload.d.ts +13 -0
  602. package/lib/types/components/duet-upload-item/duet-upload-item.d.ts +8 -0
  603. package/lib/types/components.d.ts +48 -6
  604. package/lib/types/utils/string-utils.d.ts +4 -0
  605. package/package.json +7 -6
  606. package/lib/cjs/action-arrow-right-24fe06be.js +0 -8
  607. package/lib/dist-custom-elements/p-6fa39608.js +0 -6
  608. package/lib/dist-custom-elements/p-e052b3b5.js +0 -169
  609. package/lib/duet/p-00c8a755.js +0 -4
  610. package/lib/duet/p-04423d37.system.entry.js +0 -4
  611. package/lib/duet/p-129bd497.system.entry.js +0 -4
  612. package/lib/duet/p-15fde8cc.system.js +0 -4
  613. package/lib/duet/p-1cf9481d.entry.js +0 -4
  614. package/lib/duet/p-1ededd77.system.js +0 -4
  615. package/lib/duet/p-20a0342c.entry.js +0 -4
  616. package/lib/duet/p-232940fa.system.js +0 -4
  617. package/lib/duet/p-2acaaa8b.entry.js +0 -4
  618. package/lib/duet/p-2ba2a50c.system.entry.js +0 -4
  619. package/lib/duet/p-3134bfb1.system.entry.js +0 -4
  620. package/lib/duet/p-5a031276.entry.js +0 -4
  621. package/lib/duet/p-69aa5532.system.entry.js +0 -4
  622. package/lib/duet/p-6fa39608.js +0 -4
  623. package/lib/duet/p-72fd7bb2.entry.js +0 -4
  624. package/lib/duet/p-81f6a1a9.system.entry.js +0 -4
  625. package/lib/duet/p-9a056716.entry.js +0 -4
  626. package/lib/duet/p-c0f44540.entry.js +0 -4
  627. package/lib/duet/p-c34022cb.entry.js +0 -4
  628. package/lib/duet/p-d81ec707.js +0 -4
  629. package/lib/duet/p-dd994793.system.js +0 -4
  630. package/lib/duet/p-ddd516cc.entry.js +0 -4
  631. package/lib/duet/p-e1868c94.system.js +0 -4
  632. package/lib/duet/p-f9932852.entry.js +0 -4
  633. package/lib/esm/action-arrow-right-f7d56681.js +0 -6
  634. package/lib/esm-es5/action-arrow-right-f7d56681.js +0 -4
  635. package/lib/esm-es5/floating-ui.dom.esm-efad5c89.js +0 -4
  636. package/lib/esm-es5/tokens-30d01e1d.js +0 -4
  637. package/lib/esm-es5/tokens.module-c9866649.js +0 -4
  638. /package/lib/cjs/{bodyScrollLock.es6-83f334d1.js → bodyScrollLock.es6-dd2d7d91.js} +0 -0
  639. /package/lib/dist-custom-elements/{p-62c7d9d4.js → p-33937fd7.js} +0 -0
  640. /package/lib/dist-custom-elements/{p-141e14d0.js → p-8354d1f1.js} +0 -0
  641. /package/lib/duet/{p-ed5a5071.system.js → p-49957220.system.js} +0 -0
  642. /package/lib/duet/{p-141e14d0.js → p-8354d1f1.js} +0 -0
  643. /package/lib/esm/{bodyScrollLock.es6-8dc7cca7.js → bodyScrollLock.es6-ecbf187e.js} +0 -0
  644. /package/lib/esm-es5/{bodyScrollLock.es6-8dc7cca7.js → bodyScrollLock.es6-ecbf187e.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { DuetIconColor, DuetIconName, DuetLanguage, DuetLinkVariation, DuetPadding, DuetTheme } from "../../common-types";
1
+ import { DuetColor, DuetIconColor, DuetIconName, DuetLanguage, DuetLinkVariation, DuetPadding, DuetTheme } from "../../common-types";
2
2
  import { ThemeableComponent } from "../../common/themeable-component";
3
3
  import { DuetLangObject } from "../../utils/language-utils";
4
4
  /**
@@ -8,7 +8,8 @@ import { DuetLangObject } from "../../utils/language-utils";
8
8
  */
9
9
  export declare class DuetLink implements ThemeableComponent {
10
10
  private nativeLink;
11
- private mediaQuery;
11
+ private mediaQuerySmall;
12
+ private mediaQueryMedium;
12
13
  private resolvedDownload;
13
14
  private screenTestBound;
14
15
  element: HTMLElement;
@@ -78,13 +79,17 @@ export declare class DuetLink implements ThemeableComponent {
78
79
  */
79
80
  tabToLink: boolean;
80
81
  /**
81
- * Icon to display on the left side of the ink text (only with "block" variation)
82
+ * Icon to display on the left side of the link text (only with "block" and "button" variations)
82
83
  */
83
84
  icon: DuetIconName;
84
85
  /**
85
- * Color of the icon to display (only with "block" variation)
86
+ * Color of the icon to display (only with "block" and "button" variations)
86
87
  */
87
88
  iconColor: DuetIconColor;
89
+ /**
90
+ * Color of the icon to display (only with "button" variation)
91
+ */
92
+ iconBackground: DuetColor;
88
93
  /**
89
94
  * Whether the icon changes its size responsively (only with "block" variation)
90
95
  */
@@ -97,6 +102,7 @@ export declare class DuetLink implements ThemeableComponent {
97
102
  * Stores the
98
103
  */
99
104
  isSmallScreen: boolean;
105
+ isMediumScreen: boolean;
100
106
  /**
101
107
  * Component lifecycle events.
102
108
  */
@@ -113,8 +119,10 @@ export declare class DuetLink implements ThemeableComponent {
113
119
  private screenTest;
114
120
  private getAccessibleLabel;
115
121
  private resolveDownload;
122
+ private renderDefaultContent;
123
+ private renderBlockContent;
124
+ private renderButtonContent;
116
125
  private renderContent;
117
- private renderGrid;
118
126
  /**
119
127
  * render() function
120
128
  * Always the last one in the class.
@@ -39,6 +39,10 @@ export declare class DuetPopupMenu implements ThemeableComponent {
39
39
  * Possible values: "top", "bottom", "left" and "right", optionally combined with "-start" or "-end".
40
40
  */
41
41
  placement: "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
42
+ /**
43
+ * Force placement.
44
+ */
45
+ forcePlacement: boolean;
42
46
  /**
43
47
  * Position.
44
48
  */
@@ -3,6 +3,7 @@ import { FormComponent, ThemeableComponent } from "../../common";
3
3
  import { DuetHeadingLevel, DuetMargin, DuetTheme, StatusMessage } from "../../common-types";
4
4
  import { DuetLangObject } from "../../utils/language-utils";
5
5
  import { DuetEditableTableActions } from "../duet-editable-table/duet-editable-table";
6
+ import { UploadActionButtonTitles } from "../duet-upload-item/duet-upload-item";
6
7
  import { DuetUploadErrorCode } from "./errorcodes.utils";
7
8
  import { DuetXhrRequest, DuetXhrRequestOptions, failureHandler, progressTracker, successHandler } from "./xhr.helpers";
8
9
  export type DuetUploadEvent = {
@@ -346,6 +347,15 @@ export declare class DuetUpload implements ThemeableComponent, FormComponent {
346
347
  * will emit an event on uploaded file link click (check linkClick event).
347
348
  */
348
349
  emitEvent: boolean;
350
+ /**
351
+ * Map action name to DuetLangObject or boolean. Sets upload item action buttons titles
352
+ * (show as DOM tooltip when hovering).
353
+ */
354
+ actionButtonTitles: string | UploadActionButtonTitles;
355
+ /**
356
+ * Use rename-duplicates to auto rename files with the same name instead of replacing them.
357
+ */
358
+ renameDuplicates: boolean;
349
359
  /**
350
360
  * Emitted when the value has changed.
351
361
  */
@@ -406,6 +416,7 @@ export declare class DuetUpload implements ThemeableComponent, FormComponent {
406
416
  private nativeInput?;
407
417
  private externalUploadButton?;
408
418
  private itemRefs;
419
+ private processedButtonTitles;
409
420
  /**
410
421
  * Properties
411
422
  */
@@ -491,6 +502,8 @@ export declare class DuetUpload implements ThemeableComponent, FormComponent {
491
502
  */
492
503
  private makeXHRPostRequest;
493
504
  private makeXHRDeleteRequest;
505
+ private getRenamedFileName;
506
+ private renameFiles;
494
507
  /**
495
508
  * Component event handling.
496
509
  */
@@ -5,6 +5,9 @@ import { DuetLangObject } from "../../utils/language-utils";
5
5
  import { DuetFileListItem, DuetUploadEvent } from "../duet-upload/duet-upload";
6
6
  import { DuetUploadErrorCode } from "../duet-upload/errorcodes.utils";
7
7
  export type ItemType = "pending" | "inprogress" | "failure" | "success";
8
+ export type UploadActionButtonTitles = {
9
+ [actionName: string]: DuetLangObject | boolean;
10
+ };
8
11
  export declare class DuetUploadItem implements ThemeableComponent {
9
12
  element: HTMLElement;
10
13
  /**
@@ -27,6 +30,10 @@ export declare class DuetUploadItem implements ThemeableComponent {
27
30
  * actions.
28
31
  */
29
32
  actions: any;
33
+ /**
34
+ * buttonTitles.
35
+ */
36
+ buttonTitles: UploadActionButtonTitles;
30
37
  /**
31
38
  * label.
32
39
  */
@@ -59,5 +66,6 @@ export declare class DuetUploadItem implements ThemeableComponent {
59
66
  private fileUploadingInfo;
60
67
  private onLinkClick;
61
68
  private getFileNameLine;
69
+ private getActionButtonTitle;
62
70
  render(): any;
63
71
  }
@@ -62,8 +62,9 @@ import { DuetTooltipBreakpoint } from "./components/duet-tooltip/duet-tooltip";
62
62
  import { DuetUploadEvent, DuetUploadTableGroupName, StringMap, XHRInternalMiddleWare } from "./components/duet-upload/duet-upload";
63
63
  import { DuetEditableTableActions as DuetEditableTableActions1 } from "./components/duet-editable-table/duet-editable-table";
64
64
  import { DuetUploadErrorCode } from "./components/duet-upload/errorcodes.utils";
65
+ import { UploadActionButtonTitles } from "./components/duet-upload-item/duet-upload-item";
65
66
  import { DuetFileListItem, DuetUploadEvent as DuetUploadEvent1 } from "./components/duet-upload/duet-upload";
66
- import { ItemType } from "./components/duet-upload-item/duet-upload-item";
67
+ import { ItemType, UploadActionButtonTitles as UploadActionButtonTitles1 } from "./components/duet-upload-item/duet-upload-item";
67
68
  import { EventEmitter } from "./stencil-public-runtime";
68
69
  export { DuetCardHeadingLevel, DuetChoiceGroupBreakpoint, DuetChoiceType, DuetColor, DuetDirection, DuetGridBreakpoint, DuetHeadingLevel, DuetIconColor, DuetIconName, DuetIconSize, DuetLanguage, DuetLinkVariation, DuetListBreakpoint, DuetLocale, DuetMargin, DuetPadding, DuetStatus, DuetTableBreakpoint, DuetTableStickyDistance, DuetTableVariant, DuetTextFontWeight, DuetTheme, DuetTooltipDirection, DuetVisualHeadingLevel, StatusMessage } from "./common-types";
69
70
  export { DuetActionButtonEvent, DuetActionButtonIconSize } from "./components/duet-action-button/duet-action-button";
@@ -122,8 +123,9 @@ export { DuetTooltipBreakpoint } from "./components/duet-tooltip/duet-tooltip";
122
123
  export { DuetUploadEvent, DuetUploadTableGroupName, StringMap, XHRInternalMiddleWare } from "./components/duet-upload/duet-upload";
123
124
  export { DuetEditableTableActions as DuetEditableTableActions1 } from "./components/duet-editable-table/duet-editable-table";
124
125
  export { DuetUploadErrorCode } from "./components/duet-upload/errorcodes.utils";
126
+ export { UploadActionButtonTitles } from "./components/duet-upload-item/duet-upload-item";
125
127
  export { DuetFileListItem, DuetUploadEvent as DuetUploadEvent1 } from "./components/duet-upload/duet-upload";
126
- export { ItemType } from "./components/duet-upload-item/duet-upload-item";
128
+ export { ItemType, UploadActionButtonTitles as UploadActionButtonTitles1 } from "./components/duet-upload-item/duet-upload-item";
127
129
  export { EventEmitter } from "./stencil-public-runtime";
128
130
  export namespace Components {
129
131
  interface DuetActionButton {
@@ -2101,11 +2103,15 @@ export namespace Components {
2101
2103
  */
2102
2104
  "external": boolean;
2103
2105
  /**
2104
- * Icon to display on the left side of the ink text (only with "block" variation)
2106
+ * Icon to display on the left side of the link text (only with "block" and "button" variations)
2105
2107
  */
2106
2108
  "icon": DuetIconName;
2107
2109
  /**
2108
- * Color of the icon to display (only with "block" variation)
2110
+ * Color of the icon to display (only with "button" variation)
2111
+ */
2112
+ "iconBackground": DuetColor;
2113
+ /**
2114
+ * Color of the icon to display (only with "block" and "button" variations)
2109
2115
  */
2110
2116
  "iconColor": DuetIconColor;
2111
2117
  /**
@@ -2955,6 +2961,10 @@ export namespace Components {
2955
2961
  * Cross axis positioning offset of the popup menu relative to its controller. For "top" and "bottom" placements cross axis is horizontal, for "left" and "right" vertical.
2956
2962
  */
2957
2963
  "crossAxisOffset": number;
2964
+ /**
2965
+ * Force placement.
2966
+ */
2967
+ "forcePlacement": boolean;
2958
2968
  /**
2959
2969
  * Hide.
2960
2970
  */
@@ -4624,6 +4634,10 @@ export namespace Components {
4624
4634
  * Indicates the id of a component owned by the input.
4625
4635
  */
4626
4636
  "accessibleOwns": string;
4637
+ /**
4638
+ * Map action name to DuetLangObject or boolean. Sets upload item action buttons titles (show as DOM tooltip when hovering).
4639
+ */
4640
+ "actionButtonTitles": string | UploadActionButtonTitles;
4627
4641
  /**
4628
4642
  * Default actions added to the internally used duet-editable-table
4629
4643
  */
@@ -4796,6 +4810,10 @@ export namespace Components {
4796
4810
  * Method for forcing a render of the upload list, element.files can be changed externally But it will only rerender on a new Map or a top Level change - this can be used to update the tabular data if the automatic re-render is no sufficient
4797
4811
  */
4798
4812
  "refresh": () => Promise<void>;
4813
+ /**
4814
+ * Use rename-duplicates to auto rename files with the same name instead of replacing them.
4815
+ */
4816
+ "renameDuplicates": boolean;
4799
4817
  /**
4800
4818
  * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
4801
4819
  */
@@ -4886,6 +4904,10 @@ export namespace Components {
4886
4904
  * actions.
4887
4905
  */
4888
4906
  "actions": any;
4907
+ /**
4908
+ * buttonTitles.
4909
+ */
4910
+ "buttonTitles": UploadActionButtonTitles1;
4889
4911
  /**
4890
4912
  * categoryLabel.
4891
4913
  */
@@ -8326,11 +8348,15 @@ declare namespace LocalJSX {
8326
8348
  */
8327
8349
  "external"?: boolean;
8328
8350
  /**
8329
- * Icon to display on the left side of the ink text (only with "block" variation)
8351
+ * Icon to display on the left side of the link text (only with "block" and "button" variations)
8330
8352
  */
8331
8353
  "icon"?: DuetIconName;
8332
8354
  /**
8333
- * Color of the icon to display (only with "block" variation)
8355
+ * Color of the icon to display (only with "button" variation)
8356
+ */
8357
+ "iconBackground"?: DuetColor;
8358
+ /**
8359
+ * Color of the icon to display (only with "block" and "button" variations)
8334
8360
  */
8335
8361
  "iconColor"?: DuetIconColor;
8336
8362
  /**
@@ -9167,6 +9193,10 @@ declare namespace LocalJSX {
9167
9193
  * Cross axis positioning offset of the popup menu relative to its controller. For "top" and "bottom" placements cross axis is horizontal, for "left" and "right" vertical.
9168
9194
  */
9169
9195
  "crossAxisOffset"?: number;
9196
+ /**
9197
+ * Force placement.
9198
+ */
9199
+ "forcePlacement"?: boolean;
9170
9200
  /**
9171
9201
  * Main axis positioning offset of the popup menu relative to its controller. For "top" and "bottom" placements main axis is vertical, for "left" and "right" horizontal.
9172
9202
  */
@@ -10814,6 +10844,10 @@ declare namespace LocalJSX {
10814
10844
  * Indicates the id of a component owned by the input.
10815
10845
  */
10816
10846
  "accessibleOwns"?: string;
10847
+ /**
10848
+ * Map action name to DuetLangObject or boolean. Sets upload item action buttons titles (show as DOM tooltip when hovering).
10849
+ */
10850
+ "actionButtonTitles"?: string | UploadActionButtonTitles;
10817
10851
  /**
10818
10852
  * Default actions added to the internally used duet-editable-table
10819
10853
  */
@@ -11018,6 +11052,10 @@ declare namespace LocalJSX {
11018
11052
  * Emitted when the user clicks the uploaded file link and link-click-event prop is set to true
11019
11053
  */
11020
11054
  "onLinkClick"?: (event: DuetUploadCustomEvent<DuetUploadEvent>) => void;
11055
+ /**
11056
+ * Use rename-duplicates to auto rename files with the same name instead of replacing them.
11057
+ */
11058
+ "renameDuplicates"?: boolean;
11021
11059
  /**
11022
11060
  * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
11023
11061
  */
@@ -11092,6 +11130,10 @@ declare namespace LocalJSX {
11092
11130
  * actions.
11093
11131
  */
11094
11132
  "actions"?: any;
11133
+ /**
11134
+ * buttonTitles.
11135
+ */
11136
+ "buttonTitles"?: UploadActionButtonTitles1;
11095
11137
  /**
11096
11138
  * categoryLabel.
11097
11139
  */
@@ -1,3 +1,7 @@
1
1
  export declare const parsePossibleJSON: (maybeJSON: unknown) => any;
2
2
  export declare function sanitizeString(string: string): string;
3
3
  export declare const convertHtmlQuotes: (string: any) => any;
4
+ /**
5
+ * Converts the first letter of the string to upper case. Note that with non-latin scrips this may not produce expected results
6
+ */
7
+ export declare const upperCaseFirst: (string: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duetds/components",
3
- "version": "8.4.2",
3
+ "version": "8.4.4",
4
4
  "description": "This package includes Duet Design System Web Components and related utilities.",
5
5
  "bugs": {
6
6
  "email": "duetdesignsystem@lahitapiola.fi"
@@ -43,9 +43,9 @@
43
43
  "body-scroll-lock": "3.1.5"
44
44
  },
45
45
  "devDependencies": {
46
- "@duetds/fonts": "3.0.38",
47
- "@duetds/icons": "4.0.38",
48
- "@duetds/tokens": "4.0.38",
46
+ "@duetds/fonts": "3.0.40",
47
+ "@duetds/icons": "4.0.40",
48
+ "@duetds/tokens": "4.0.40",
49
49
  "@percy/cli": "1.28.5",
50
50
  "@rollup/plugin-replace": "5.0.2",
51
51
  "@stencil/core": "4.10.0",
@@ -66,7 +66,8 @@
66
66
  "sass": "1.59.2",
67
67
  "stylelint": "14.6.1",
68
68
  "stylelint-config-recess-order": "3.0.0",
69
- "stylelint-config-sass-guidelines": "9.0.1"
69
+ "stylelint-config-sass-guidelines": "9.0.1",
70
+ "stylelint-junit-formatter": "0.2.2"
70
71
  },
71
72
  "publishConfig": {
72
73
  "access": "public"
@@ -74,5 +75,5 @@
74
75
  "collection": "lib/collection/collection-manifest.json",
75
76
  "es2015": "lib/esm/index.js",
76
77
  "es2017": "lib/esm/index.js",
77
- "gitHead": "f4ab86d25ac53521bd7d93ede8e38320084c3f03"
78
+ "gitHead": "77f1437ba33bbd1de350f8fff365ce79c67f0dcd"
78
79
  }
@@ -1,8 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- 'use strict';
5
-
6
- var actionArrowRight={"title":"action-arrow-right","tags":"action arrow right caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M5.499 24a.752.752 0 0 1-.53-1.281L15.689 12 4.969 1.28c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53c.141-.142.33-.22.53-.22s.389.078.53.22l10.72 10.72a1.5 1.5 0 0 1 .001 2.119L6.029 23.78a.743.743 0 0 1-.53.22z\"/></svg>"};
7
-
8
- exports.actionArrowRight = actionArrowRight;
@@ -1,6 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- var actionArrowRight={"title":"action-arrow-right","tags":"action arrow right caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M5.499 24a.752.752 0 0 1-.53-1.281L15.689 12 4.969 1.28c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53c.141-.142.33-.22.53-.22s.389.078.53.22l10.72 10.72a1.5 1.5 0 0 1 .001 2.119L6.029 23.78a.743.743 0 0 1-.53.22z\"/></svg>"};
5
-
6
- export { actionArrowRight as a };
@@ -1,169 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-177cbf72.js';
5
- import { a as actionArrowRight } from './p-6fa39608.js';
6
- import { a as actionNewWindowSmall } from './p-f11208c3.js';
7
- import { D as DuetStringsExternalDefaults, b as DuetStringsDownloadLinkDefaults } from './p-aa07d1a7.js';
8
- import { i as inheritGlobalTheme } from './p-a58bd561.js';
9
- import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2e36d5bf.js';
10
- import { b as breakpointToToken } from './p-cbac9ed5.js';
11
- import { d as defineCustomElement$1 } from './p-a0fb1ecb.js';
12
-
13
- var actionDownloadSmall={"title":"action-download-small","tags":"action download arrow down small","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M13.193 1.7c0-.658-.542-1.2-1.2-1.2-.657 0-1.199.542-1.199 1.2v8.922l-2.778-2.6a1.2 1.2 0 0 0-1.64 1.751l4.797 4.498c.458.43 1.183.43 1.64 0l4.798-4.498c.242-.228.379-.544.379-.875a1.2 1.2 0 0 0-2.02-.876l-2.777 2.603V1.699Z\"/><path d=\"M1.5 13.544a1.5 1.5 0 0 1 1.498 1.5v1.498a1.61 1.61 0 0 0 .418 1.096h-.003c0-.002.036.032.13.082.39.194.818.305 1.254.321H19.19a3.085 3.085 0 0 0 1.255-.32c.096-.051.13-.085.13-.085.27-.3.42-.69.414-1.096v-1.5c0-.822.677-1.498 1.5-1.498.822 0 1.499.676 1.499 1.499v1.499c0 1.16-.43 2.293-1.224 3.142-.518.557-1.235.876-1.791 1.056a5.976 5.976 0 0 1-1.783.302H4.797a6.053 6.053 0 0 1-1.782-.302c-.556-.18-1.274-.5-1.792-1.056A4.613 4.613 0 0 1 0 16.542v-1.499a1.5 1.5 0 0 1 1.5-1.499Z\"/></svg>"};
14
-
15
- const duetLinkCss = "*,*::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:inline}:host(.duet-link-block){display:block}.duet-link{display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-link.duet-theme-turva{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(198, 12, 48)}.duet-link:hover{color:rgb(0, 77, 128);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(148, 9, 37)}.duet-link:active{opacity:0.75;transition:none}.duet-link-is-external.duet-link:not(.block),.duet-link-is-download.duet-link:not(.block){text-decoration:none}.duet-link-is-external.duet-link:not(.block) .duet-link-content,.duet-link-is-download.duet-link:not(.block) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(0, 41, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:hover .block__chevron-icon{transform:translateX(4px)}";
16
-
17
- const DuetLink = /*@__PURE__*/ proxyCustomElement(class DuetLink extends H {
18
- constructor() {
19
- super();
20
- this.__registerHost();
21
- this.__attachShadow();
22
- this.variation = "default";
23
- this.accessibleLabel = undefined;
24
- this.language = getLanguage();
25
- this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
26
- this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
27
- this.accessibleLabelDownloadDefaults = DuetStringsDownloadLinkDefaults;
28
- this.accessibleLabelDownload = getLocaleString(this.accessibleLabelDownloadDefaults);
29
- this.identifier = undefined;
30
- this.theme = "";
31
- this.url = "#";
32
- this.external = false;
33
- this.download = null;
34
- this.tabToLink = false;
35
- this.icon = undefined;
36
- this.iconColor = "currentColor";
37
- this.iconResponsive = false;
38
- this.padding = "auto";
39
- this.isSmallScreen = false;
40
- }
41
- /**
42
- * Component lifecycle events.
43
- */
44
- componentWillLoad() {
45
- inheritGlobalTheme(this);
46
- this.initMediaQuery();
47
- this.resolvedDownload = this.resolveDownload();
48
- }
49
- connectedCallback() {
50
- connectLanguageChangeObserver(this, {
51
- prop: "accessibleLabelExternal",
52
- defaults: "accessibleLabelExternalDefaults",
53
- });
54
- }
55
- disconnectedCallback() {
56
- disconnectLanguageChangeObserver(this);
57
- this.destroyMediaQuery();
58
- }
59
- /**
60
- * Sets focus on the specified `duet-link`. Use this method instead of the global
61
- * `link.focus()`.
62
- */
63
- async setFocus(options) {
64
- this.nativeLink.focus(options);
65
- }
66
- initMediaQuery() {
67
- this.screenTestBound = this.screenTest.bind(this);
68
- this.mediaQuery = window.matchMedia(breakpointToToken["xx-small"]);
69
- this.isSmallScreen = this.mediaQuery.matches;
70
- this.mediaQuery.addEventListener("change", this.screenTestBound);
71
- }
72
- destroyMediaQuery() {
73
- if (!this.mediaQuery) {
74
- return;
75
- }
76
- this.mediaQuery.removeEventListener("change", this.screenTestBound);
77
- }
78
- screenTest(event) {
79
- this.isSmallScreen = event.matches;
80
- }
81
- getAccessibleLabel() {
82
- if (this.accessibleLabel) {
83
- return this.accessibleLabel;
84
- }
85
- if (!!this.download && this.element.textContent) {
86
- return `${this.element.textContent}. ${this.accessibleLabelDownload}.`;
87
- }
88
- if (this.external && this.element.textContent) {
89
- return `${this.element.textContent}. ${this.accessibleLabelExternal}.`;
90
- }
91
- return null;
92
- }
93
- resolveDownload() {
94
- if (this.download === "") {
95
- return this.url.split("/").pop();
96
- }
97
- return this.download;
98
- }
99
- renderContent() {
100
- return (h(Fragment, null, h("span", { class: "duet-link-content", part: "duet-link-content" }, h("slot", null)), (this.resolvedDownload || this.external) && (h(Fragment, null, h("span", { class: "duet-link-icon-tail" }, "\u00A0", h("duet-icon", { icon: this.resolvedDownload ? actionDownloadSmall.svg : actionNewWindowSmall.svg, size: "xx-small", margin: "none", color: "currentColor" }))))));
101
- }
102
- renderGrid() {
103
- return (h(Fragment, null, this.icon && (h("span", { class: "block__icon" }, h("duet-icon", { size: this.iconResponsive ? (this.isSmallScreen ? "medium" : "large") : "x-small", name: this.icon, margin: "none", color: this.iconColor }))), h("span", { class: "block__content" }, this.renderContent()), h("span", { class: "block__chevron", part: "block-chevron" }, h("duet-icon", { class: "block__chevron-icon", icon: actionArrowRight.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
104
- }
105
- /**
106
- * render() function
107
- * Always the last one in the class.
108
- */
109
- render() {
110
- // Notice that the external icon needs to be places right after the last word of the link.
111
- // This is why we use &nbps; to keep everything on the same line.
112
- return (h(Host, { class: {
113
- "duet-link-block": this.variation === "block",
114
- } }, h("a", { href: this.url, class: {
115
- "duet-link": true,
116
- "duet-link-is-external": this.external,
117
- "duet-link-is-download": !!this.download,
118
- "duet-link-has-icon": !!this.icon,
119
- "duet-tab-to-link": this.tabToLink,
120
- "duet-theme-turva": this.theme === "turva",
121
- "duet-p-0": this.padding === "none",
122
- [this.padding]: true,
123
- [this.variation]: true,
124
- }, target: this.download ? null : this.external ? "_blank" : "_self", download: this.resolvedDownload, "aria-label": this.getAccessibleLabel(), id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined }, this.variation === "block" ? this.renderGrid() : this.renderContent())));
125
- }
126
- static get delegatesFocus() { return true; }
127
- get element() { return this; }
128
- static get style() { return duetLinkCss; }
129
- }, [17, "duet-link", {
130
- "variation": [1],
131
- "accessibleLabel": [1, "accessible-label"],
132
- "language": [1537],
133
- "accessibleLabelExternalDefaults": [1, "accessible-label-external-default"],
134
- "accessibleLabelExternal": [1025, "accessible-label-external"],
135
- "accessibleLabelDownloadDefaults": [1, "accessible-label-download-default"],
136
- "accessibleLabelDownload": [1025, "accessible-label-download"],
137
- "identifier": [1],
138
- "theme": [1025],
139
- "url": [513],
140
- "external": [4],
141
- "download": [1],
142
- "tabToLink": [4, "tab-to-link"],
143
- "icon": [1],
144
- "iconColor": [1, "icon-color"],
145
- "iconResponsive": [4, "icon-responsive"],
146
- "padding": [1],
147
- "isSmallScreen": [32],
148
- "setFocus": [64]
149
- }]);
150
- function defineCustomElement() {
151
- if (typeof customElements === "undefined") {
152
- return;
153
- }
154
- const components = ["duet-link", "duet-icon"];
155
- components.forEach(tagName => { switch (tagName) {
156
- case "duet-link":
157
- if (!customElements.get(tagName)) {
158
- customElements.define(tagName, DuetLink);
159
- }
160
- break;
161
- case "duet-icon":
162
- if (!customElements.get(tagName)) {
163
- defineCustomElement$1();
164
- }
165
- break;
166
- } });
167
- }
168
-
169
- export { DuetLink as D, defineCustomElement as d };
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- const t=Math.min,n=Math.max,e={left:"right",right:"left",bottom:"top",top:"bottom"},o={start:"end",end:"start"};function r(e,o,r){return n(e,t(o,r))}function i(t,n){return"function"==typeof t?t(n):t}function a(t){return t.split("-")[0]}function l(t){return t.split("-")[1]}function c(t){return"x"===t?"y":"x"}function s(t){return"y"===t?"height":"width"}function u(t){return["top","bottom"].includes(a(t))?"y":"x"}function f(t){return c(u(t))}function d(t){return t.replace(/start|end/g,(t=>o[t]))}function y(t){return t.replace(/left|right|bottom|top/g,(t=>e[t]))}function m(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function p(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function x(t,n,e){let{reference:o,floating:r}=t;const i=u(n),c=f(n),d=s(c),y=a(n),m="y"===i,p=o.x+o.width/2-r.width/2,x=o.y+o.height/2-r.height/2,h=o[d]/2-r[d]/2;let g;switch(y){case"top":g={x:p,y:o.y-r.height};break;case"bottom":g={x:p,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:x};break;case"left":g={x:o.x-r.width,y:x};break;default:g={x:o.x,y:o.y}}switch(l(n)){case"start":g[c]-=h*(e&&m?-1:1);break;case"end":g[c]+=h*(e&&m?-1:1)}return g}async function h(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:a,rects:l,elements:c,strategy:s}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:y=!1,padding:x=0}=i(n,t),h=m(x),g=c[y?"floating"===d?"reference":"floating":d],w=p(await a.getClippingRect({element:null==(e=await(null==a.isElement?void 0:a.isElement(g)))||e?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(c.floating)),boundary:u,rootBoundary:f,strategy:s})),b="floating"===d?{...l.floating,x:o,y:r}:l.reference,v=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c.floating)),A=await(null==a.isElement?void 0:a.isElement(v))&&await(null==a.getScale?void 0:a.getScale(v))||{x:1,y:1},k=p(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:v,strategy:s}):b);return{top:(w.top-k.top+h.top)/A.y,bottom:(k.bottom-w.bottom+h.bottom)/A.y,left:(w.left-k.left+h.left)/A.x,right:(k.right-w.right+h.right)/A.x}}const g=n=>({name:"arrow",options:n,async fn(e){const{x:o,y:a,placement:c,rects:u,platform:d,elements:y}=e,{element:p,padding:x=0}=i(n,e)||{};if(null==p)return{};const h=m(x),g={x:o,y:a},w=f(c),b=s(w),v=await d.getDimensions(p),A="y"===w,k=A?"top":"left",S=A?"bottom":"right",R=A?"clientHeight":"clientWidth",P=u.reference[b]+u.reference[w]-g[w]-u.floating[b],C=g[w]-u.reference[w],D=await(null==d.getOffsetParent?void 0:d.getOffsetParent(p));let F=D?D[R]:0;F&&await(null==d.isElement?void 0:d.isElement(D))||(F=y.floating[R]||u.floating[b]);const M=P/2-C/2,T=F/2-v[b]/2-1,B=t(h[k],T),L=t(h[S],T),E=B,O=F-v[b]-L,N=F/2-v[b]/2+M,j=r(E,N,O),H=null!=l(c)&&N!=j&&u.reference[b]/2-(N<E?B:L)-v[b]/2<0?N<E?E-N:O-N:0;return{[w]:g[w]-H,data:{[w]:j,centerOffset:N-j+H}}}}),w=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e;const{placement:o,middlewareData:r,rects:c,initialPlacement:u,platform:m,elements:p}=n,{mainAxis:x=!0,crossAxis:g=!0,fallbackPlacements:w,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:A=!0,...k}=i(t,n),S=a(o),R=a(u)===u,P=await(null==m.isRTL?void 0:m.isRTL(p.floating)),C=w||(R||!A?[y(u)]:function(t){const n=y(t);return[d(t),n,d(n)]}(u));w||"none"===v||C.push(...function(t,n,e,o){const r=l(t);let i=function(t,n,e){const o=["left","right"],r=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?r:o:n?o:r;case"left":case"right":return n?i:a;default:return[]}}(a(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(d)))),i}(u,A,v,P));const D=[u,...C],F=await h(n,k),M=[];let T=(null==(e=r.flip)?void 0:e.overflows)||[];if(x&&M.push(F[S]),g){const t=function(t,n,e){void 0===e&&(e=!1);const o=l(t),r=f(t),i=s(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=y(a)),[a,y(a)]}(o,c,P);M.push(F[t[0]],F[t[1]])}if(T=[...T,{placement:o,overflows:M}],!M.every((t=>t<=0))){var B,L;const t=((null==(B=r.flip)?void 0:B.index)||0)+1,n=D[t];if(n)return{data:{index:t,overflows:T},reset:{placement:n}};let e=null==(L=T.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:L.placement;if(!e)switch(b){case"bestFit":{var E;const t=null==(E=T.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:E[0];t&&(e=t);break}case"initialPlacement":e=u}if(o!==e)return{reset:{placement:e}}}return{}}}},b=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){const{x:e,y:o}=n,r=await async function(t,n){const{placement:e,platform:o,elements:r}=t,c=await(null==o.isRTL?void 0:o.isRTL(r.floating)),s=a(e),f=l(e),d="y"===u(e),y=["left","top"].includes(s)?-1:1,m=c&&d?-1:1,p=i(n,t);let{mainAxis:x,crossAxis:h,alignmentAxis:g}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return f&&"number"==typeof g&&(h="end"===f?-1*g:g),d?{x:h*m,y:x*y}:{x:x*y,y:h*m}}(n,t);return{x:e+r.x,y:o+r.y,data:r}}}},v=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:l}=n,{mainAxis:s=!0,crossAxis:f=!1,limiter:d={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...y}=i(t,n),m={x:e,y:o},p=await h(n,y),x=u(a(l)),g=c(x);let w=m[g],b=m[x];s&&(w=r(w+p["y"===g?"top":"left"],w,w-p["y"===g?"bottom":"right"])),f&&(b=r(b+p["y"===x?"top":"left"],b,b-p["y"===x?"bottom":"right"]));const v=d.fn({...n,[g]:w,[x]:b});return{...v,data:{x:v.x-e,y:v.y-o}}}}};function A(t){var n;return(null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function k(t){return A(t).getComputedStyle(t)}function S(t){return t instanceof A(t).Node}function R(t){return S(t)?(t.nodeName||"").toLowerCase():""}function P(t){return t instanceof A(t).HTMLElement}function C(t){return t instanceof A(t).Element}function D(t){return"undefined"!=typeof ShadowRoot&&(t instanceof A(t).ShadowRoot||t instanceof ShadowRoot)}function F(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=k(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function M(t){return["table","td","th"].includes(R(t))}function T(t){const n=B(),e=k(t);return"none"!==e.transform||"none"!==e.perspective||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function B(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function L(t){return["html","body","#document"].includes(R(t))}const E=Math.min,O=Math.max,N=Math.round;function j(t){const n=k(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=P(t),i=r?t.offsetWidth:e,a=r?t.offsetHeight:o,l=N(e)!==i||N(o)!==a;return l&&(e=i,o=a),{width:e,height:o,fallback:l}}function H(t){return C(t)?t:t.contextElement}const V={x:1,y:1};function W(t){const n=H(t);if(!P(n))return V;const e=n.getBoundingClientRect(),{width:o,height:r,fallback:i}=j(n);let a=(i?N(e.width):e.width)/o,l=(i?N(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const X={x:0,y:0};function Y(t,n,e){var o,r;if(void 0===n&&(n=!0),!B())return X;const i=t?A(t):window;return!e||n&&e!==i?X:{x:(null==(o=i.visualViewport)?void 0:o.offsetLeft)||0,y:(null==(r=i.visualViewport)?void 0:r.offsetTop)||0}}function _(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=H(t);let a=V;n&&(o?C(o)&&(a=W(o)):a=W(t));const l=Y(i,e,o);let c=(r.left+l.x)/a.x,s=(r.top+l.y)/a.y,u=r.width/a.x,f=r.height/a.y;if(i){const t=A(i),n=o&&C(o)?A(o):o;let e=t.frameElement;for(;e&&o&&n!==t;){const t=W(e),n=e.getBoundingClientRect(),o=getComputedStyle(e);n.x+=(e.clientLeft+parseFloat(o.paddingLeft))*t.x,n.y+=(e.clientTop+parseFloat(o.paddingTop))*t.y,c*=t.x,s*=t.y,u*=t.x,f*=t.y,c+=n.x,s+=n.y,e=A(e).frameElement}}return p({width:u,height:f,x:c,y:s})}function q(t){return((S(t)?t.ownerDocument:t.document)||window.document).documentElement}function z(t){return C(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function G(t){return _(q(t)).left+z(t).scrollLeft}function I(t){if("html"===R(t))return t;const n=t.assignedSlot||t.parentNode||D(t)&&t.host||q(t);return D(n)?n.host:n}function J(t){const n=I(t);return L(n)?n.ownerDocument.body:P(n)&&F(n)?n:J(n)}function K(t,n){var e;void 0===n&&(n=[]);const o=J(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=A(o);return r?n.concat(i,i.visualViewport||[],F(o)?o:[]):n.concat(o,K(o))}function Q(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=A(t),o=q(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,c=0;if(r){i=r.width,a=r.height;const t=B();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===n)o=function(t){const n=q(t),e=z(t),o=t.ownerDocument.body,r=O(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=O(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+G(t);const l=-e.scrollTop;return"rtl"===k(o).direction&&(a+=O(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(q(t));else if(C(n))o=function(t,n){const e=_(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=P(t)?W(t):{x:1,y:1};return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=Y(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return p(o)}function U(t,n){const e=I(t);return!(e===n||!C(e)||L(e))&&("fixed"===k(e).position||U(e,n))}function Z(t,n){return P(t)&&"fixed"!==k(t).position?n?n(t):t.offsetParent:null}function $(t,n){const e=A(t);if(!P(t))return e;let o=Z(t,n);for(;o&&M(o)&&"static"===k(o).position;)o=Z(o,n);return o&&("html"===R(o)||"body"===R(o)&&"static"===k(o).position&&!T(o))?e:o||function(t){let n=I(t);for(;P(n)&&!L(n);){if(T(n))return n;n=I(n)}return null}(t)||e}function tt(t,n,e){const o=P(n),r=q(n),i="fixed"===e,a=_(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if(o||!o&&!i)if(("body"!==R(n)||F(r))&&(l=z(n)),P(n)){const t=_(n,!0,i,n);c.x=t.x+n.clientLeft,c.y=t.y+n.clientTop}else r&&(c.x=G(r));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}const nt={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?function(t,n){const e=n.get(t);if(e)return e;let o=K(t).filter((t=>C(t)&&"body"!==R(t))),r=null;const i="fixed"===k(t).position;let a=i?I(t):t;for(;C(a)&&!L(a);){const n=k(a),e=T(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&["absolute","fixed"].includes(r.position)||F(a)&&!e&&U(t,a))?o=o.filter((t=>t!==a)):r=n,a=I(a)}return n.set(t,o),o}(n,this._c):[].concat(e),o],a=i.reduce(((t,e)=>{const o=Q(n,e,r);return t.top=O(o.top,t.top),t.right=E(o.right,t.right),t.bottom=E(o.bottom,t.bottom),t.left=O(o.left,t.left),t}),Q(n,i[0],r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=P(e),i=q(e);if(e===i)return n;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const c={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==R(e)||F(i))&&(a=z(e)),P(e))){const t=_(e);l=W(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+c.x,y:n.y*l.y-a.scrollTop*l.y+c.y}},isElement:C,getDimensions:function(t){return j(t)},getOffsetParent:$,getDocumentElement:q,getScale:W,async getElementRects(t){let{reference:n,floating:e,strategy:o}=t;const r=this.getOffsetParent||$,i=this.getDimensions;return{reference:tt(n,await r(e),o),floating:{x:0,y:0,...await i(e)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===k(t).direction},et=(t,n,e)=>{const o=new Map,r={platform:nt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:f}=x(s,o,c),d=o,y={},m=0;for(let e=0;e<l.length;e++){const{name:i,fn:p}=l[e],{x:h,y:g,data:w,reset:b}=await p({x:u,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:y,rects:s,platform:a,elements:{reference:t,floating:n}});u=null!=h?h:u,f=null!=g?g:f,y={...y,[i]:{...y[i],...w}},b&&m<=50&&(m++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(s=!0===b.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):b.rects),({x:u,y:f}=x(s,d,c))),e=-1)}return{x:u,y:f,placement:d,strategy:r,middlewareData:y}})(t,n,{...r,platform:i})};export{g as a,et as c,w as f,b as o,v as s}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function o(e){try{u(i["throw"](e))}catch(e){r(e)}}function u(e){e.done?n(e.value):a(e.value).then(s,o)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,a,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return u([e,t])}}function u(o){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(n=0)),n)try{if(i=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;a=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){n.label=o[1];break}if(o[0]===6&&n.label<r[1]){n.label=r[1];r=o;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(o);break}if(r[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];a=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-ffb8996b.system.js","./p-50f4bca2.system.js","./p-224f6c46.system.js","./p-da20db91.system.js","./p-6ef75455.system.js"],(function(e){"use strict";var t,n,i,a,r,s;return{setters:[function(e){t=e.r;n=e.h;i=e.g},function(e){a=e.i},function(e){r=e.g},function(e){s=e.a},function(){}],execute:function(){var o=function(e,t){if(t===void 0){t=2}if(e===0){return"0 Bytes"}var n=1024;var i=t<0?0:t;var a=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"];var r=Math.floor(Math.log(e)/Math.log(n));return parseFloat((e/Math.pow(n,r)).toFixed(i))+" "+a[r]};var u=".file-link::part(duet-link){text-decoration:none}";var c=e("duet_upload_item",function(){function e(e){var n=this;t(this,e);this.fileUploadingInfo={fi:"Tiedosto latautuu",sv:"Filen laddas upp",en:"File is uploading"};this.onLinkClick=function(e){var t=n.data,i=t.url,a=t.meta;if(!!n.linkClickEvent){e.preventDefault();n.linkClickEvent.emit({component:"duet-upload",data:{name:n.data.item.name,url:i,meta:a}})}};this.theme="";this.data=undefined;this.type=undefined;this.showLinks=undefined;this.actions=undefined;this.label=undefined;this.categoryLabel=undefined;this.errorCodes=undefined;this.showCategory=undefined;this.linkClickEvent=undefined}e.prototype.componentWillLoad=function(){a(this)};e.prototype.focusActionButton=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!this.actionButton)return[3,2];return[4,this.actionButton.setFocus({preventScroll:true})];case 1:e.sent();this.actionButton.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"});e.label=2;case 2:return[2]}}))}))};e.prototype.getFileNameLine=function(){var e=this.data,t=e.item,i=e.size,a=e.uploaded,u=e.url,c=e.progress,l=e.error;var d=t.name;var h=n("span",{class:"duet-upload-item-name"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d);var f=n("span",{class:"duet-upload-item-size",style:{fontSize:"14px",fontWeight:"400"}},"(",o(i),")");switch(this.type){case"inprogress":return n("span",{class:"duet-upload-item-name",role:"status"},n("duet-paragraph",{class:"duet-upload-item-name",color:"gray-darker",margin:"none",weight:"semi-bold"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),n("duet-visually-hidden",null,n("duet-paragraph",null,r(this.fileUploadingInfo))),n("duet-progress",{progress:Math.ceil(c),"aria-hidden":true}));case"pending":return n("span",{class:"duet-upload-item-name"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d);case"failure":return n("span",{class:"duet-upload-item-error",role:"status"},n("duet-paragraph",{class:"duet-upload-item-name",color:"danger",margin:"none",weight:"semi-bold"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),n("duet-paragraph",{class:"duet-upload-item-error-label",size:"small",margin:"none",color:"danger"},s(l.type,this.errorCodes)));default:return a&&u&&this.showLinks?n("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},n("duet-link",{class:"file-link",onClick:this.onLinkClick,url:u},h),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),f):n("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},h,n("duet-spacer",{size:"xx-small",direction:"horizontal"}),f)}};e.prototype.render=function(){var e=this;var t=this.data,i=t.uid,a=t.meta,s=t.item;var o=a&&a.badges?n("span",null,a.badges.map((function(e){return n("duet-badge",{color:"primary"},e)}))):undefined;var u="".concat(a&&a.badges?a.badges.join(","):""," ").concat(s.name);return n("div",{class:{"upload-item-row":true}},this.showCategory&&n("div",{class:"item-categories"},n("duet-heading",{class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},r(this.categoryLabel)),o),n("div",{class:{"item-name":true,"no-category":!this.showCategory}},!!this.label&&n("duet-heading",{class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},r(this.label)),this.getFileNameLine()),n("div",{class:"item-actions"},this.actions.map((function(t){return n("duet-action-button",{actionMeta:Object.assign({},a||{}),actionId:i||null,actionName:t.name,theme:e.theme,iconName:t.icon,iconColor:t.color,iconSize:t.size,background:t.background,"accessible-label":"".concat(u," ").concat(r(t.label)," "),accessibleTitle:false,ref:function(t){return e.actionButton=t}})}))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());c.style=u}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,o,i){function r(t){return t instanceof o?t:new o((function(e){e(t)}))}return new(o||(o=Promise))((function(o,n){function a(t){try{u(i.next(t))}catch(t){n(t)}}function d(t){try{u(i["throw"](t))}catch(t){n(t)}}function u(t){t.done?o(t.value):r(t.value).then(a,d)}u((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var o={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,r,n,a;return a={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function d(t){return function(e){return u([t,e])}}function u(d){if(i)throw new TypeError("Generator is already executing.");while(a&&(a=0,d[0]&&(o=0)),o)try{if(i=1,r&&(n=d[0]&2?r["return"]:d[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,d[1])).done)return n;if(r=0,n)d=[d[0]&2,n.value];switch(d[0]){case 0:case 1:n=d;break;case 4:o.label++;return{value:d[1],done:false};case 5:o.label++;r=d[1];d=[0];continue;case 7:d=o.ops.pop();o.trys.pop();continue;default:if(!(n=o.trys,n=n.length>0&&n[n.length-1])&&(d[0]===6||d[0]===2)){o=0;continue}if(d[0]===3&&(!n||d[1]>n[0]&&d[1]<n[3])){o.label=d[1];break}if(d[0]===6&&o.label<n[1]){o.label=n[1];n=d;break}if(n&&o.label<n[2]){o.label=n[2];o.ops.push(d);break}if(n[2])o.ops.pop();o.trys.pop();continue}d=e.call(t,o)}catch(t){d=[6,t];r=0}finally{i=n=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-ffb8996b.system.js","./p-dd994793.system.js","./p-053b71e6.system.js","./p-8dd241c6.system.js","./p-50f4bca2.system.js","./p-b2716337.system.js","./p-224f6c46.system.js","./p-6ef75455.system.js"],(function(t){"use strict";var e,o,i,r,n,a,d,u,s,l,f,p,m,c,h,g;return{setters:[function(t){e=t.r;o=t.c;i=t.h;r=t.F;n=t.g},function(t){a=t.a},function(t){d=t.a},function(t){u=t.D},function(t){s=t.i},function(t){l=t.s;f=t.u},function(t){p=t.a;m=t.g;c=t.c;h=t.d},function(t){g=t.p}],execute:function(){var b={title:"action-new-window",tags:"arrow open new window tab external link square box rectangle action",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M10.25 2a.75.75 0 1 1 0 1.5h-6.5A2.252 2.252 0 0 0 1.5 5.75v14.5a2.252 2.252 0 0 0 2.25 2.25h14.5a2.252 2.252 0 0 0 2.25-2.25v-6.5a.75.75 0 0 1 1.5 0v6.5A3.754 3.754 0 0 1 18.25 24H3.75A3.754 3.754 0 0 1 0 20.25V5.75A3.754 3.754 0 0 1 3.75 2zm12.985-2c.1 0 .198.02.29.058l.025.011a.726.726 0 0 1 .15.091l.066.059a.755.755 0 0 1 .109.138l.051.1c.04.092.06.192.06.293l-.001 6.363c0 .2-.078.389-.22.53a.743.743 0 0 1-.53.22.743.743 0 0 1-.53-.22.743.743 0 0 1-.22-.53V2.559L15.28 9.764a.75.75 0 0 1-1.06-1.06l7.204-7.205h-4.553a.744.744 0 0 1-.75-.75c0-.2.078-.388.22-.53A.743.743 0 0 1 16.87 0z"/></svg>'};var x='*,*::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;flex-shrink:0;width:100%}::slotted([slot=info]){padding:0 28px;margin-top:36px}@media (min-width: 62em){::slotted([slot=info]){padding:0;margin:0}}.duet-footer{display:block;width:100%;padding-top:20px;padding-bottom:16px;margin-top:48px;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:400;line-height:1.5;color:rgb(255, 255, 255);text-align:left;background:rgb(0, 41, 77)}.duet-footer.duet-p-0{padding:0 !important}.duet-footer.duet-m-0{margin:0 !important}@media (min-width: 36em){.duet-footer{padding-top:36px}}@media (min-width: 62em){.duet-footer{padding-top:48px;padding-bottom:36px}}.duet-footer.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background:rgb(198, 12, 48)}.duet-footer a{color:rgb(255, 255, 255);text-decoration:none}@media (min-width: 62em){.duet-footer a{border-radius:4px}}.duet-footer a:focus{outline:0}:host(.user-is-tabbing) .duet-footer a:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva a:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-footer-wrapper{position:relative;margin:0 auto}@media (min-width: 62em){.duet-footer-wrapper{padding:0 72px 0 48px}}@media (min-width: 76.25em){.duet-footer-wrapper{max-width:1110px;padding:0 20px 0 0}}.duet-footer-top{width:100%}@media (min-width: 62em){.duet-footer-top{display:flex;flex-direction:row;align-items:center;justify-content:space-between}}.duet-footer-top .footer-top-logo{flex-grow:1}.duet-footer-top .footer-top-right-container{flex-grow:1.5}.duet-footer-top .footer-top-items{display:flex;flex-direction:column;justify-content:space-between}@media (min-width: 62em){.duet-footer-top .footer-top-items{flex-direction:row}}duet-logo{margin-left:16px !important}@media (min-width: 36em){duet-logo{margin-left:28px !important}}@media (min-width: 62em){duet-logo{margin-left:0 !important}}.duet-footer-link{padding:16px !important;display:flex;flex-direction:row;align-items:center;width:100%;font-weight:600;border-bottom:1px solid rgba(255, 255, 255, 0.2);transition:background-color 300ms ease}@media (min-width: 36em){.duet-footer-link{padding-right:20px !important;padding-left:28px !important}}@media (min-width: 62em){.duet-footer-link{width:auto;min-width:0;padding-right:0 !important;padding-left:0 !important;border:0}}.duet-footer-link:first-of-type{margin-top:20px;border-top:1px solid rgba(255, 255, 255, 0.2)}@media (min-width: 62em){.duet-footer-link:first-of-type{margin:0;border:0}}.duet-footer-link span{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.duet-footer-link:hover{background:rgba(0, 0, 0, 0.1)}@media (min-width: 62em){.duet-footer-link:hover{background:transparent}}.duet-footer-icon{display:flex;align-items:center;justify-content:center;padding:12px;margin-right:16px;background:rgb(0, 119, 179);border-radius:50%;transition:300ms ease}.duet-theme-turva .duet-footer-icon{background:transparent;box-shadow:0 0 0 1px #fff}a:hover .duet-footer-icon{background:#006ba1}.duet-theme-turva a:hover .duet-footer-icon{background:transparent}.duet-footer-arrow{display:flex;align-items:center;justify-content:center;width:20px;min-width:20px;max-width:20px;height:20px;max-height:20px;margin-left:auto;color:rgb(255, 255, 255);transition:transform 300ms ease}@media (min-width: 62em){.duet-footer-arrow{width:10px;min-width:10px;margin-top:3px;margin-left:8px}}@media (min-width: 62em){.duet-footer-arrow{margin-right:0}}a:hover .duet-footer-arrow{transform:translateX(4px)}.duet-footer-arrow duet-icon{width:20px;height:20px}@media (min-width: 62em){.duet-footer-arrow duet-icon{width:10px;height:10px}}.duet-footer-menu{padding:20px !important;display:flex;gap:2rem;font-size:0.875rem}@media (min-width: 36em){.duet-footer-menu{padding:28px !important}}@media (min-width: 62em){.duet-footer-menu{padding-left:8px !important}}.duet-footer-menu a{display:inline-block;text-decoration:none;overflow-wrap:break-word}.duet-footer-menu a:hover,.duet-footer-menu a:focus{text-decoration:underline}.duet-footer-menu a:hover .duet-footer-divider,.duet-footer-menu a:focus .duet-footer-divider{text-decoration:none}.duet-footer-menu .duet-footer-divider{display:inline-block;margin:0 8px}.duet-footer-menu .duet-footer-divider-copyright{display:none}.duet-footer-menu .duet-footer-menu-links{display:block;flex:1}@media (min-width: 62em){.duet-footer-menu .duet-footer-menu-links{text-align:right}}.duet-footer-menu a:last-of-type .duet-footer-divider{display:none}.duet-footer-copyright{display:none;font-size:0.875rem;color:rgb(255, 255, 255)}@media (min-width: 62em){.duet-footer-copyright{display:inline}}.duet-footer-copyright.duet-footer-copyright-mobile{display:block;padding-top:0.5rem;padding-bottom:1.25rem;padding-left:2rem;text-align:left}@media (min-width: 62em){.duet-footer-copyright.duet-footer-copyright-mobile{display:none}}.duet-footer-simple{padding:0;margin:0;margin-top:16px;color:rgb(0, 41, 77);background:transparent !important;border-top:1px solid rgb(225, 227, 230)}.duet-footer-simple .duet-footer-wrapper{max-width:100%;padding:0 20px;margin:0}@media (min-width: 62em){.duet-footer-simple .duet-footer-wrapper{padding:0 36px}}@media (min-width: 106.25em){.duet-footer-simple .duet-footer-wrapper{padding:0 48px}}.duet-footer-simple .duet-footer-copyright,.duet-footer-simple .duet-footer-menu a{color:rgb(0, 41, 77)}.duet-footer-simple .duet-footer-menu{padding:20px 0 !important}.duet-footer-simple .duet-footer-copyright-mobile{padding-left:0}.duet-footer-simple.duet-theme-turva{color:rgb(23, 28, 58);border-color:rgb(228, 228, 230)}.duet-footer-simple.duet-theme-turva .duet-footer-copyright,.duet-footer-simple.duet-theme-turva .duet-footer-menu a{color:rgb(23, 28, 58)}.duet-footer-external{display:inline-block;margin-left:4px;color:rgb(0, 119, 179)}.duet-theme-turva .duet-footer-external{color:rgb(255, 255, 255)}.duet-footer-simple.duet-theme-turva .duet-footer-external{color:rgb(198, 12, 48)}';var w={fi:{lahi:"© LähiTapiola",turva:"© Turva"},sv:{lahi:"© LokalTapiola",turva:"© Turva"},en:{lahi:"© LocalTapiola",turva:"© Turva"}};var v=function(t,e){return{component:"duet-footer",data:e,originalEvent:t}};var y=t("duet_footer",function(){function t(t){var i=this;e(this,t);this.duetChange=o(this,"duetChange",3);this.duetLogoClick=o(this,"duetLogoClick",7);this.duetMenuClick=o(this,"duetMenuClick",7);this.duetItemClick=o(this,"duetItemClick",7);this.duetAnalytics=o(this,"duetAnalytics",7);this.duetEvent=o(this,"duetEvent",7);this.handleClick=function(t){if(t.data.analyticsId){i.duetAnalytics.emit({component:"duet-footer",analyticsId:t.data.analyticsId})}i.duetChange.emit(t)};this.handleLogoClick=function(t){var e=v(t,{href:i.logoHref,label:"logo"});i.duetLogoClick.emit(e);i.handleClick(e)};this.handleMenuClick=function(t,e){var o=v(t,e);i.handleClick(o);i.duetMenuClick.emit(o)};this.handleItemClick=function(t,e){var o=v(t,e);i.handleClick(o);i.duetItemClick.emit(o)};this.emitDuetEvent=function(t,e){i.duetEvent.emit({component:"duet-footer",data:e,originalEvent:t})};this.processedMainItem=null;this.processedItems=null;this.processedMenu=null;this.theme="";this.variation="default";this.margin="auto";this.logoHref="/";this.language=p();this.items=undefined;this.accessibleLabel=undefined;this.accessibleLabelExternalDefaults=u;this.accessibleLabelExternal=m(this.accessibleLabelExternalDefaults);this.menu=undefined}t.prototype.componentWillLoad=function(){s(this);this.refresh();this.hasInfoSlot=!!this.element.querySelector(":scope > [slot='info']")};t.prototype.connectedCallback=function(){c(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"});l(this)};t.prototype.disconnectedCallback=function(){h(this);f(this)};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.processedItems=g(this.items);this.processedMenu=g(this.menu);return[2]}))}))};t.prototype.renderFooterTop=function(){var t=this;var e=i("div",{class:{"footer-top-logo":this.hasInfoSlot}},this.variation!=="simple"&&i("duet-logo",{href:this.logoHref,onClick:this.handleLogoClick,size:"large",inverse:true,language:this.language,theme:this.theme}));var o=this.processedItems&&this.variation!=="simple"&&this.processedItems.map((function(e){return i("a",{class:"duet-footer-link",href:e.href,id:e.id,target:e.external?"_blank":"_self",onClick:function(o){return t.handleItemClick(o,e)},onMouseEnter:function(o){return t.emitDuetEvent(o,e)},onTouchStart:function(o){return t.emitDuetEvent(o,e)}},i("div",{class:"duet-footer-icon"},i("duet-icon",{size:"medium",margin:"none",name:e.icon,color:"currentColor"})),i("span",null,e.label),!e.hideArrow&&i(r,null,e.external&&i("duet-visually-hidden",null,", ",t.accessibleLabelExternal),i("div",{class:"duet-footer-arrow"},e.external?i("duet-icon",{icon:b.svg,size:"xx-small",margin:"none",color:"currentColor"}):i("duet-icon",{icon:a.svg,size:"auto",margin:"none",color:"currentColor"}))))}));if(this.hasInfoSlot){return i(r,null,e,i("div",{class:"footer-top-right-container"},i("slot",{name:"info"}),i("div",{class:"footer-top-items"},o)))}return i(r,null,e,o)};t.prototype.render=function(){var t=this;var e=m(w);var o=this.theme==="turva"?e.turva:e.lahi;return i("footer",{class:{"duet-footer":true,"duet-m-0":this.margin==="none","duet-theme-turva":this.theme==="turva","duet-footer-simple":this.variation==="simple"},"aria-label":this.accessibleLabel},i("div",{class:"duet-footer-wrapper"},i("div",{class:"duet-footer-top",part:"top"},this.renderFooterTop()),i("slot",{name:"extra"}),i("p",{class:"duet-footer-menu",part:"menu"},i("span",{class:"duet-footer-copyright"},"".concat(o," ").concat((new Date).getFullYear())),i("span",{class:"duet-footer-menu-links"},this.processedMenu&&i(r,null,this.processedMenu.map((function(e){return i("a",{href:e.href,id:e.id,target:e.external?"_blank":"_self",onClick:function(o){return t.handleMenuClick(o,e)},onMouseEnter:function(o){return t.emitDuetEvent(o,e)},onTouchStart:function(o){return t.emitDuetEvent(o,e)}},e.label,e.external&&i(r,null,i("duet-visually-hidden",null,", ",t.accessibleLabelExternal),i("span",{class:"duet-footer-external"},i("duet-icon",{icon:d.svg,size:"xx-small",margin:"none",color:"currentColor"}))),i("span",{class:"duet-footer-divider",role:"presentation","aria-hidden":"true"},"/"))}))))),i("p",{class:"duet-footer-copyright duet-footer-copyright-mobile"},"".concat(o," ").concat((new Date).getFullYear()))))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{menu:["refresh"],items:["refresh"]}},enumerable:false,configurable:true});return t}());y.style=x}}}));