@duetds/components 8.5.1 → 8.5.3

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 (636) hide show
  1. package/hydrate/index.js +167 -248
  2. package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-banner.cjs.entry.js +4 -4
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
  9. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +4 -2
  11. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-chip.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +1 -1
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
  17. package/lib/cjs/duet-combobox.cjs.entry.js +23 -11
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-icon.cjs.entry.js +20 -8
  31. package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -36
  38. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-modal.cjs.entry.js +18 -17
  41. package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  46. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-popup-menu.cjs.entry.js +12 -7
  50. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
  52. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
  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 +2 -2
  63. package/lib/cjs/duet-slideout.cjs.entry.js +14 -7
  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 +1 -1
  67. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -36
  68. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
  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 +9 -15
  78. package/lib/cjs/duet-tooltip.cjs.entry.js +5 -21
  79. package/lib/cjs/duet-tray.cjs.entry.js +1 -1
  80. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  81. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  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-91f66430.js → floating-ui.dom.esm-806e7c53.js} +69 -0
  85. package/lib/cjs/{focus-utils-e1cd19ee.js → focus-utils-1da87e8d.js} +1 -1
  86. package/lib/cjs/{index-549a7702.js → index-819a454b.js} +1 -1
  87. package/lib/cjs/loader.cjs.js +2 -2
  88. package/lib/cjs/{teleport-6a1f83a1.js → teleport-a2fa9434.js} +37 -29
  89. package/lib/collection/components/duet-banner/duet-banner.js +3 -3
  90. package/lib/collection/components/duet-combobox/duet-combobox.css +2 -6
  91. package/lib/collection/components/duet-combobox/duet-combobox.js +22 -10
  92. package/lib/collection/components/duet-icon/duet-icon.css +149 -135
  93. package/lib/collection/components/duet-icon/duet-icon.e2e.js +0 -5
  94. package/lib/collection/components/duet-icon/duet-icon.js +32 -10
  95. package/lib/collection/components/duet-link/duet-link.css +4 -0
  96. package/lib/collection/components/duet-link/duet-link.js +26 -0
  97. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +16 -0
  98. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +3 -39
  99. package/lib/collection/components/duet-modal/duet-modal.e2e.js +1 -34
  100. package/lib/collection/components/duet-modal/duet-modal.js +20 -16
  101. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  102. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +11 -3
  103. package/lib/collection/components/duet-slideout/duet-slideout.js +11 -4
  104. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +16 -0
  105. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +3 -39
  106. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +10 -16
  107. package/lib/collection/components/duet-tooltip/duet-tooltip.js +4 -32
  108. package/lib/collection/utils/teleport.js +37 -29
  109. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  110. package/lib/dist-custom-elements/duet-alert.js +1 -1
  111. package/lib/dist-custom-elements/duet-badge.js +1 -1
  112. package/lib/dist-custom-elements/duet-banner.js +6 -6
  113. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  114. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  115. package/lib/dist-custom-elements/duet-button.js +1 -1
  116. package/lib/dist-custom-elements/duet-callout.js +2 -2
  117. package/lib/dist-custom-elements/duet-caption.js +1 -1
  118. package/lib/dist-custom-elements/duet-card.js +3 -3
  119. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  120. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  121. package/lib/dist-custom-elements/duet-chip.js +2 -2
  122. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  123. package/lib/dist-custom-elements/duet-choice.js +4 -4
  124. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  125. package/lib/dist-custom-elements/duet-combobox.js +24 -12
  126. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  127. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  128. package/lib/dist-custom-elements/duet-date-picker.js +13 -13
  129. package/lib/dist-custom-elements/duet-divider.js +1 -1
  130. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  131. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  132. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  133. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  134. package/lib/dist-custom-elements/duet-footer.js +4 -4
  135. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  136. package/lib/dist-custom-elements/duet-grid.js +1 -1
  137. package/lib/dist-custom-elements/duet-header.js +8 -8
  138. package/lib/dist-custom-elements/duet-heading.js +1 -1
  139. package/lib/dist-custom-elements/duet-hero.js +9 -9
  140. package/lib/dist-custom-elements/duet-icon.js +1 -1
  141. package/lib/dist-custom-elements/duet-input.js +1 -1
  142. package/lib/dist-custom-elements/duet-label.js +1 -1
  143. package/lib/dist-custom-elements/duet-layout.js +1 -1
  144. package/lib/dist-custom-elements/duet-link.js +1 -1
  145. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  146. package/lib/dist-custom-elements/duet-list.js +1 -1
  147. package/lib/dist-custom-elements/duet-logo.js +1 -1
  148. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  149. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  150. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  151. package/lib/dist-custom-elements/duet-menu-bar-item.js +6 -38
  152. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  153. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  154. package/lib/dist-custom-elements/duet-modal.js +25 -24
  155. package/lib/dist-custom-elements/duet-multiselect.js +9 -9
  156. package/lib/dist-custom-elements/duet-nav.js +1 -1
  157. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  158. package/lib/dist-custom-elements/duet-notification.js +2 -2
  159. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  160. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  161. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  162. package/lib/dist-custom-elements/duet-pagination.js +13 -13
  163. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  164. package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
  165. package/lib/dist-custom-elements/duet-popup-menu.js +11 -6
  166. package/lib/dist-custom-elements/duet-progress.js +1 -1
  167. package/lib/dist-custom-elements/duet-promo-card.js +3 -3
  168. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  169. package/lib/dist-custom-elements/duet-radio.js +1 -1
  170. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  171. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  172. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  173. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  174. package/lib/dist-custom-elements/duet-select.js +1 -1
  175. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  176. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  177. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  178. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  179. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  180. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  181. package/lib/dist-custom-elements/duet-slideout.js +15 -8
  182. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  183. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  184. package/lib/dist-custom-elements/duet-step.js +4 -4
  185. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  186. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  187. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  188. package/lib/dist-custom-elements/duet-submenu-bar-item.js +6 -38
  189. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  190. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  191. package/lib/dist-custom-elements/duet-tab-group.js +13 -13
  192. package/lib/dist-custom-elements/duet-tab.js +1 -1
  193. package/lib/dist-custom-elements/duet-table.js +1 -1
  194. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  195. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  196. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  197. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  198. package/lib/dist-custom-elements/duet-toolbar-item.js +2 -2
  199. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  200. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  201. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  202. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  203. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  204. package/lib/dist-custom-elements/duet-tray.js +3 -3
  205. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  206. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  207. package/lib/dist-custom-elements/duet-upload.js +19 -19
  208. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  209. package/lib/dist-custom-elements/index.js +1 -1
  210. package/lib/dist-custom-elements/{p-f111aa04.js → p-0324c76b.js} +1 -1
  211. package/lib/dist-custom-elements/{p-b1c54404.js → p-0bca2094.js} +2 -2
  212. package/lib/dist-custom-elements/{p-e61e745f.js → p-17cca138.js} +1 -1
  213. package/lib/dist-custom-elements/{p-e4eeb350.js → p-1ec7b44f.js} +10 -18
  214. package/lib/dist-custom-elements/{p-e44089a7.js → p-22557cb2.js} +2 -2
  215. package/lib/dist-custom-elements/{p-7f8b3939.js → p-2a03d339.js} +1 -1
  216. package/lib/{esm/floating-ui.dom.esm-34e0a5fa.js → dist-custom-elements/p-31ed51c3.js} +69 -1
  217. package/lib/dist-custom-elements/{p-c622edcc.js → p-4c8393bf.js} +6 -6
  218. package/lib/dist-custom-elements/{p-95c051bc.js → p-5171abf7.js} +1 -1
  219. package/lib/dist-custom-elements/{p-95c03966.js → p-588a9396.js} +1 -1
  220. package/lib/dist-custom-elements/{p-13bfc699.js → p-58f151c4.js} +1 -1
  221. package/lib/dist-custom-elements/{p-9a81bb97.js → p-5c203542.js} +1 -1
  222. package/lib/dist-custom-elements/{p-309d40ca.js → p-5d3d7f6a.js} +2 -2
  223. package/lib/dist-custom-elements/{p-967a8f13.js → p-6451129b.js} +2 -2
  224. package/lib/dist-custom-elements/{p-1156248d.js → p-72098dd1.js} +1 -1
  225. package/lib/dist-custom-elements/{p-ccdff614.js → p-7796b4bf.js} +37 -29
  226. package/lib/dist-custom-elements/{p-1d0794c9.js → p-77b6f913.js} +2 -2
  227. package/lib/dist-custom-elements/{p-4c9ec608.js → p-77e0f32d.js} +1 -1
  228. package/lib/dist-custom-elements/{p-771e2eca.js → p-7f57ba5d.js} +1 -1
  229. package/lib/dist-custom-elements/{p-efd41b98.js → p-849b7d71.js} +5 -5
  230. package/lib/dist-custom-elements/{p-b7523459.js → p-8921151e.js} +10 -10
  231. package/lib/dist-custom-elements/{p-a33222ce.js → p-8bfe29b8.js} +4 -4
  232. package/lib/dist-custom-elements/{p-204592de.js → p-8d55b737.js} +1 -1
  233. package/lib/dist-custom-elements/{p-a6ab22be.js → p-92b9e48c.js} +1 -1
  234. package/lib/dist-custom-elements/{p-a8fcb246.js → p-97bc000a.js} +8 -8
  235. package/lib/dist-custom-elements/{p-2a725cd8.js → p-9d84642c.js} +1 -1
  236. package/lib/dist-custom-elements/{p-b5ab75f4.js → p-ae8ebd75.js} +1 -1
  237. package/lib/dist-custom-elements/{p-0cb122bf.js → p-b0c3a9fe.js} +2 -2
  238. package/lib/dist-custom-elements/p-b6978bc4.js +217 -0
  239. package/lib/dist-custom-elements/{p-05cfef82.js → p-b9d8e51d.js} +1 -1
  240. package/lib/dist-custom-elements/{p-cfc01f01.js → p-c279897e.js} +5 -5
  241. package/lib/dist-custom-elements/{p-66a72b57.js → p-c51dab55.js} +1 -1
  242. package/lib/dist-custom-elements/{p-ce8ea46e.js → p-cc32aec2.js} +3 -3
  243. package/lib/dist-custom-elements/{p-6d835c97.js → p-d84c990e.js} +10 -10
  244. package/lib/dist-custom-elements/{p-47534dc7.js → p-e20d474e.js} +1 -1
  245. package/lib/dist-custom-elements/{p-2fa3041f.js → p-e4ab2ca9.js} +6 -3
  246. package/lib/dist-custom-elements/{p-1b6c466c.js → p-e71332b0.js} +10 -26
  247. package/lib/dist-custom-elements/{p-18f2ebcd.js → p-f35c9559.js} +1 -1
  248. package/lib/duet/duet.esm.js +1 -1
  249. package/lib/duet/duet.js +1 -1
  250. package/lib/duet/{p-f789f606.entry.js → p-0547bd78.entry.js} +1 -1
  251. package/lib/duet/{p-446d5ba7.system.entry.js → p-0684ecec.system.entry.js} +1 -1
  252. package/lib/duet/{p-42139e5a.system.entry.js → p-08a24cb5.system.entry.js} +1 -1
  253. package/lib/duet/{p-620cedba.entry.js → p-0bab798b.entry.js} +1 -1
  254. package/lib/duet/{p-1e75d2c2.entry.js → p-0bf0b59f.entry.js} +1 -1
  255. package/lib/duet/{p-ac5eb233.entry.js → p-0c45a4f4.entry.js} +1 -1
  256. package/lib/duet/{p-e14bba59.entry.js → p-0f64f352.entry.js} +1 -1
  257. package/lib/duet/{p-79aa2820.system.entry.js → p-1168ee85.system.entry.js} +1 -1
  258. package/lib/duet/{p-db25d820.system.entry.js → p-12c6d666.system.entry.js} +1 -1
  259. package/lib/duet/{p-bb65547e.system.entry.js → p-14518f0b.system.entry.js} +1 -1
  260. package/lib/duet/p-15d65ccc.system.js +4 -0
  261. package/lib/duet/p-17168f52.entry.js +4 -0
  262. package/lib/duet/{p-86b4751c.system.entry.js → p-175ddea1.system.entry.js} +1 -1
  263. package/lib/duet/{p-e4eeac5d.entry.js → p-179e43b4.entry.js} +1 -1
  264. package/lib/duet/p-18bd3ba5.system.js +4 -0
  265. package/lib/duet/{p-37ae40e9.system.entry.js → p-18f400c1.system.entry.js} +1 -1
  266. package/lib/duet/{p-bdb89a57.entry.js → p-19d63d71.entry.js} +1 -1
  267. package/lib/duet/{p-3f86b484.system.entry.js → p-1ac8b8be.system.entry.js} +1 -1
  268. package/lib/duet/{p-f447dc6b.system.entry.js → p-1bba69c2.system.entry.js} +1 -1
  269. package/lib/duet/p-1c3f4b12.entry.js +4 -0
  270. package/lib/duet/{p-ebdf6136.system.entry.js → p-1e9b8854.system.entry.js} +1 -1
  271. package/lib/duet/{p-1de381e2.system.entry.js → p-2050de53.system.entry.js} +1 -1
  272. package/lib/duet/{p-31fe1d1a.system.entry.js → p-20aeb938.system.entry.js} +1 -1
  273. package/lib/duet/{p-8c088f60.entry.js → p-221d1a74.entry.js} +1 -1
  274. package/lib/duet/{p-803acead.system.entry.js → p-22985302.system.entry.js} +1 -1
  275. package/lib/duet/{p-a2becf94.entry.js → p-23cdd84f.entry.js} +1 -1
  276. package/lib/duet/p-24037755.entry.js +4 -0
  277. package/lib/duet/{p-3b859909.system.entry.js → p-2931db50.system.entry.js} +1 -1
  278. package/lib/duet/{p-fae3a8e7.entry.js → p-29e95017.entry.js} +1 -1
  279. package/lib/duet/{p-5241ef6c.system.entry.js → p-2cc794d6.system.entry.js} +1 -1
  280. package/lib/duet/{p-986e6e20.system.entry.js → p-2dc8d5a6.system.entry.js} +1 -1
  281. package/lib/duet/p-2e39a453.entry.js +4 -0
  282. package/lib/duet/{p-3a5a9947.entry.js → p-2f68f3c2.entry.js} +1 -1
  283. package/lib/duet/{p-45f3e361.system.entry.js → p-30409ba9.system.entry.js} +1 -1
  284. package/lib/duet/p-313ef505.entry.js +4 -0
  285. package/lib/duet/p-31ed51c3.js +4 -0
  286. package/lib/duet/p-32f6613e.entry.js +4 -0
  287. package/lib/duet/{p-2d1aa4bb.entry.js → p-3378ac3d.entry.js} +1 -1
  288. package/lib/duet/{p-afd9fa1e.entry.js → p-343e2f83.entry.js} +1 -1
  289. package/lib/duet/{p-c61b7a67.entry.js → p-367dc390.entry.js} +1 -1
  290. package/lib/duet/{p-bd3e6f66.entry.js → p-36dc5351.entry.js} +1 -1
  291. package/lib/duet/{p-5781142a.system.entry.js → p-37aabf2c.system.entry.js} +1 -1
  292. package/lib/duet/{p-50c4e263.system.entry.js → p-3a1aca3a.system.entry.js} +1 -1
  293. package/lib/duet/{p-ccb310bf.entry.js → p-3b2cdc3b.entry.js} +1 -1
  294. package/lib/duet/{p-d5c7c1a6.entry.js → p-3e5e7ce2.entry.js} +1 -1
  295. package/lib/duet/{p-be289587.entry.js → p-3feb745e.entry.js} +1 -1
  296. package/lib/duet/{p-d620395a.entry.js → p-40a4d7b9.entry.js} +1 -1
  297. package/lib/duet/{p-20533062.system.entry.js → p-42a5047a.system.entry.js} +1 -1
  298. package/lib/duet/{p-dfb38e8b.entry.js → p-4686978c.entry.js} +1 -1
  299. package/lib/duet/p-482d2236.system.entry.js +4 -0
  300. package/lib/duet/{p-4a2dc59a.system.entry.js → p-4926ce78.system.entry.js} +1 -1
  301. package/lib/duet/{p-87e3f51e.entry.js → p-4c2eb04c.entry.js} +1 -1
  302. package/lib/duet/{p-76928c65.system.entry.js → p-4d4f1b20.system.entry.js} +1 -1
  303. package/lib/duet/{p-c9ecaf47.system.entry.js → p-4e108d92.system.entry.js} +1 -1
  304. package/lib/duet/p-4e1cee72.entry.js +4 -0
  305. package/lib/duet/{p-69b543fa.system.entry.js → p-4e240957.system.entry.js} +1 -1
  306. package/lib/duet/{p-31cc0bd5.entry.js → p-4e8f8ac1.entry.js} +1 -1
  307. package/lib/duet/{p-8c8dbb29.entry.js → p-4fff59f2.entry.js} +1 -1
  308. package/lib/duet/p-5040a3ed.js +4 -0
  309. package/lib/duet/{p-db42dba7.entry.js → p-51b36ffa.entry.js} +1 -1
  310. package/lib/duet/{p-87d6d6d1.entry.js → p-51c0483b.entry.js} +1 -1
  311. package/lib/duet/{p-cf17a64c.entry.js → p-546747ec.entry.js} +1 -1
  312. package/lib/duet/{p-254e32d9.entry.js → p-55af8257.entry.js} +1 -1
  313. package/lib/duet/{p-84dd785f.system.entry.js → p-5cc0339f.system.entry.js} +1 -1
  314. package/lib/duet/{p-38a1721f.system.entry.js → p-5e92613d.system.entry.js} +1 -1
  315. package/lib/duet/{p-eb8322af.system.entry.js → p-5f10e1ea.system.entry.js} +1 -1
  316. package/lib/duet/{p-02a4fab4.system.entry.js → p-5fa53f8a.system.entry.js} +1 -1
  317. package/lib/duet/p-6014ede1.system.entry.js +4 -0
  318. package/lib/duet/{p-5807d4a1.entry.js → p-60259162.entry.js} +1 -1
  319. package/lib/duet/{p-dc79932a.system.entry.js → p-6099f3fb.system.entry.js} +1 -1
  320. package/lib/duet/{p-e1b17390.entry.js → p-62f7041d.entry.js} +1 -1
  321. package/lib/duet/p-65eff254.system.entry.js +4 -0
  322. package/lib/duet/{p-8aa594cc.system.entry.js → p-68d84306.system.entry.js} +1 -1
  323. package/lib/duet/{p-3087775d.system.entry.js → p-6a8742f2.system.entry.js} +1 -1
  324. package/lib/duet/{p-7a96b8b3.system.entry.js → p-6a9ca61c.system.entry.js} +1 -1
  325. package/lib/duet/{p-f42c2d6e.system.js → p-6ad43e56.system.js} +1 -1
  326. package/lib/duet/{p-23be59a9.system.entry.js → p-71515256.system.entry.js} +1 -1
  327. package/lib/duet/{p-00490c2d.system.entry.js → p-72778a90.system.entry.js} +1 -1
  328. package/lib/duet/{p-975eda35.system.entry.js → p-738c0ff2.system.entry.js} +1 -1
  329. package/lib/duet/{p-c7b0caee.entry.js → p-73a3d0d5.entry.js} +1 -1
  330. package/lib/duet/{p-8f46fcdc.system.entry.js → p-73fd201d.system.entry.js} +1 -1
  331. package/lib/duet/{p-10b6ecba.system.entry.js → p-75952117.system.entry.js} +1 -1
  332. package/lib/duet/{p-81b997f3.system.entry.js → p-777b84f1.system.entry.js} +1 -1
  333. package/lib/duet/p-7796b4bf.js +4 -0
  334. package/lib/duet/{p-74700e22.entry.js → p-785f9e07.entry.js} +1 -1
  335. package/lib/duet/{p-8db70218.system.js → p-786d4382.system.js} +1 -1
  336. package/lib/duet/{p-059954c5.entry.js → p-78cbf5d2.entry.js} +1 -1
  337. package/lib/duet/{p-ed752627.system.entry.js → p-7a7696ac.system.entry.js} +1 -1
  338. package/lib/duet/{p-24455de3.entry.js → p-7ba7b47f.entry.js} +1 -1
  339. package/lib/duet/{p-3a7d5532.entry.js → p-7df1b866.entry.js} +1 -1
  340. package/lib/duet/{p-e852decc.js → p-7fa02974.js} +1 -1
  341. package/lib/duet/{p-aaa21d34.system.entry.js → p-805eb8e3.system.entry.js} +1 -1
  342. package/lib/duet/{p-0aaa7c52.system.entry.js → p-81734a3a.system.entry.js} +1 -1
  343. package/lib/duet/{p-0c4706df.entry.js → p-8562b36b.entry.js} +1 -1
  344. package/lib/duet/{p-fa6b4be4.entry.js → p-85ea2570.entry.js} +1 -1
  345. package/lib/duet/{p-190d47de.entry.js → p-8620878b.entry.js} +1 -1
  346. package/lib/duet/{p-c109f676.entry.js → p-8866afd0.entry.js} +1 -1
  347. package/lib/duet/p-89acf338.system.entry.js +4 -0
  348. package/lib/duet/{p-46ce246d.entry.js → p-89bac079.entry.js} +1 -1
  349. package/lib/duet/{p-b60245fb.entry.js → p-8a036cbf.entry.js} +1 -1
  350. package/lib/duet/{p-ee5d6418.entry.js → p-8bdd6890.entry.js} +1 -1
  351. package/lib/duet/{p-ab7e3bc7.system.entry.js → p-8d889c82.system.entry.js} +1 -1
  352. package/lib/duet/p-8dd01035.entry.js +4 -0
  353. package/lib/duet/{p-e9a9c2ac.entry.js → p-8e8c6ab2.entry.js} +1 -1
  354. package/lib/duet/{p-148bc528.entry.js → p-915b6e8d.entry.js} +1 -1
  355. package/lib/duet/{p-cad03252.system.entry.js → p-94575af6.system.entry.js} +1 -1
  356. package/lib/duet/p-96a84cdb.system.entry.js +4 -0
  357. package/lib/duet/{p-49229ba1.system.entry.js → p-9710e8fa.system.entry.js} +1 -1
  358. package/lib/duet/{p-730aecdb.entry.js → p-97aeacd6.entry.js} +1 -1
  359. package/lib/duet/{p-f12a21c8.entry.js → p-984f1d97.entry.js} +1 -1
  360. package/lib/duet/{p-327e2019.system.entry.js → p-98b54241.system.entry.js} +1 -1
  361. package/lib/duet/{p-2b44092c.entry.js → p-a043b3a8.entry.js} +1 -1
  362. package/lib/duet/{p-106ce428.system.entry.js → p-a251d44e.system.entry.js} +1 -1
  363. package/lib/duet/{p-4112aa71.system.entry.js → p-a3ef882e.system.entry.js} +1 -1
  364. package/lib/duet/{p-969d0963.system.entry.js → p-a5485451.system.entry.js} +1 -1
  365. package/lib/duet/{p-9ca4671a.entry.js → p-a6551519.entry.js} +1 -1
  366. package/lib/duet/{p-6217ecbb.entry.js → p-a6bc69cd.entry.js} +1 -1
  367. package/lib/duet/{p-e638b5f1.system.entry.js → p-a994665b.system.entry.js} +1 -1
  368. package/lib/duet/{p-b82a3bc9.entry.js → p-aa6d31e1.entry.js} +1 -1
  369. package/lib/duet/{p-117a0b29.system.entry.js → p-ac11612f.system.entry.js} +1 -1
  370. package/lib/duet/{p-9dc68857.entry.js → p-ac743b44.entry.js} +1 -1
  371. package/lib/duet/p-ad44b276.entry.js +4 -0
  372. package/lib/duet/p-ad85b36c.entry.js +4 -0
  373. package/lib/duet/{p-181d6ed0.entry.js → p-af24effe.entry.js} +1 -1
  374. package/lib/duet/{p-22a8fb2e.system.entry.js → p-b79f22c6.system.entry.js} +1 -1
  375. package/lib/duet/p-bad97405.entry.js +4 -0
  376. package/lib/duet/p-bb7aa33d.entry.js +4 -0
  377. package/lib/duet/{p-b13ac0d6.system.entry.js → p-bbe54df5.system.entry.js} +1 -1
  378. package/lib/duet/p-be261fa6.entry.js +4 -0
  379. package/lib/duet/{p-f63a6bb7.system.entry.js → p-be9a003f.system.entry.js} +1 -1
  380. package/lib/duet/{p-f7462af1.system.entry.js → p-bee52277.system.entry.js} +1 -1
  381. package/lib/duet/{p-7a4fa93b.entry.js → p-bf2c1a2a.entry.js} +1 -1
  382. package/lib/duet/{p-41e58471.system.entry.js → p-bfd2e046.system.entry.js} +1 -1
  383. package/lib/duet/{p-88bddd9b.entry.js → p-c18c9caf.entry.js} +1 -1
  384. package/lib/duet/{p-cfbd8dea.system.entry.js → p-c2379aa7.system.entry.js} +1 -1
  385. package/lib/duet/{p-a6111d86.system.entry.js → p-c324d834.system.entry.js} +1 -1
  386. package/lib/duet/{p-bc437348.system.entry.js → p-c670bacb.system.entry.js} +1 -1
  387. package/lib/duet/{p-cd536e94.system.js → p-c6765203.system.js} +1 -1
  388. package/lib/duet/{p-d826cf0f.entry.js → p-c6bbf588.entry.js} +1 -1
  389. package/lib/duet/{p-a9227434.entry.js → p-c8b0833a.entry.js} +1 -1
  390. package/lib/duet/{p-520a3a42.entry.js → p-cbc9fc97.entry.js} +1 -1
  391. package/lib/duet/{p-bc4503a0.system.entry.js → p-cea43c89.system.entry.js} +1 -1
  392. package/lib/duet/p-cf5dd1d0.system.entry.js +4 -0
  393. package/lib/duet/p-d5304064.system.entry.js +4 -0
  394. package/lib/duet/{p-87b0ef7e.system.entry.js → p-d663f27c.system.entry.js} +1 -1
  395. package/lib/duet/{p-062800e3.entry.js → p-d746661d.entry.js} +1 -1
  396. package/lib/duet/{p-cee77d01.system.entry.js → p-d8eb6ee0.system.entry.js} +1 -1
  397. package/lib/duet/{p-5edba964.system.entry.js → p-e23c8158.system.entry.js} +1 -1
  398. package/lib/duet/{p-936f98fb.system.entry.js → p-e95183b6.system.entry.js} +1 -1
  399. package/lib/duet/{p-6e7b84a3.entry.js → p-e9810475.entry.js} +1 -1
  400. package/lib/duet/{p-1fba8c78.system.entry.js → p-ec7b1642.system.entry.js} +1 -1
  401. package/lib/duet/p-ee1ca75a.system.entry.js +4 -0
  402. package/lib/duet/{p-a026f0ad.system.entry.js → p-ee7055aa.system.entry.js} +1 -1
  403. package/lib/duet/p-ef8aa016.entry.js +4 -0
  404. package/lib/duet/{p-e4063faf.entry.js → p-f22b4c2f.entry.js} +1 -1
  405. package/lib/duet/{p-c9bc93f6.entry.js → p-f2bd127b.entry.js} +1 -1
  406. package/lib/duet/{p-abc309a5.entry.js → p-f37fe74f.entry.js} +1 -1
  407. package/lib/duet/{p-2be9b17b.system.entry.js → p-f39a78c8.system.entry.js} +1 -1
  408. package/lib/duet/{p-1ccbd436.system.entry.js → p-f3c4461a.system.entry.js} +1 -1
  409. package/lib/duet/{p-500206c3.system.entry.js → p-f44eecac.system.entry.js} +1 -1
  410. package/lib/duet/{p-03b3896d.system.entry.js → p-f4545a2e.system.entry.js} +1 -1
  411. package/lib/duet/{p-f69d61e7.system.entry.js → p-f48dd49d.system.entry.js} +1 -1
  412. package/lib/duet/{p-2c13773e.system.entry.js → p-f4ad07a4.system.entry.js} +1 -1
  413. package/lib/duet/{p-2528b528.entry.js → p-f4c1a602.entry.js} +1 -1
  414. package/lib/duet/{p-3093fa09.entry.js → p-f6c42700.entry.js} +1 -1
  415. package/lib/duet/{p-9bdb09d1.entry.js → p-f7af5b34.entry.js} +1 -1
  416. package/lib/duet/{p-f554c8ae.entry.js → p-f7d903c7.entry.js} +1 -1
  417. package/lib/duet/p-f8e4c60e.entry.js +4 -0
  418. package/lib/duet/{p-8f36d670.system.entry.js → p-fdca03c7.system.entry.js} +1 -1
  419. package/lib/duet/{p-55b8f2fc.system.entry.js → p-ff82bea9.system.entry.js} +1 -1
  420. package/lib/duet/p-ff86187d.entry.js +4 -0
  421. package/lib/esm/duet-action-button.entry.js +1 -1
  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 +4 -4
  425. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  426. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  427. package/lib/esm/duet-button_2.entry.js +1 -1
  428. package/lib/esm/duet-callout.entry.js +1 -1
  429. package/lib/esm/duet-caption_4.entry.js +4 -2
  430. package/lib/esm/duet-card.entry.js +1 -1
  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 +1 -1
  435. package/lib/esm/duet-collapsible.entry.js +1 -1
  436. package/lib/esm/duet-combobox.entry.js +23 -11
  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 +1 -1
  441. package/lib/esm/duet-editable-table_3.entry.js +1 -1
  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 +1 -1
  446. package/lib/esm/duet-grid_2.entry.js +1 -1
  447. package/lib/esm/duet-header_2.entry.js +1 -1
  448. package/lib/esm/duet-hero.entry.js +1 -1
  449. package/lib/esm/duet-icon.entry.js +20 -8
  450. package/lib/esm/duet-input_2.entry.js +1 -1
  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 +1 -1
  454. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  455. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  456. package/lib/esm/duet-menu-bar-item.entry.js +5 -36
  457. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  458. package/lib/esm/duet-menu-bar.entry.js +1 -1
  459. package/lib/esm/duet-modal.entry.js +18 -17
  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-overlay.entry.js +2 -2
  465. package/lib/esm/duet-page-heading.entry.js +1 -1
  466. package/lib/esm/duet-pagination_2.entry.js +1 -1
  467. package/lib/esm/duet-popup-menu-item.entry.js +1 -1
  468. package/lib/esm/duet-popup-menu.entry.js +12 -7
  469. package/lib/esm/duet-progress.entry.js +1 -1
  470. package/lib/esm/duet-promo-card.entry.js +1 -1
  471. package/lib/esm/duet-radio_2.entry.js +1 -1
  472. package/lib/esm/duet-range-slider.entry.js +1 -1
  473. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  474. package/lib/esm/duet-section-layout.entry.js +1 -1
  475. package/lib/esm/duet-select.entry.js +1 -1
  476. package/lib/esm/duet-shaped-image.entry.js +1 -1
  477. package/lib/esm/duet-show-more.entry.js +1 -1
  478. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  479. package/lib/esm/duet-slideout-link.entry.js +1 -1
  480. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  481. package/lib/esm/duet-slideout-panel.entry.js +2 -2
  482. package/lib/esm/duet-slideout.entry.js +14 -7
  483. package/lib/esm/duet-step_2.entry.js +1 -1
  484. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  485. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  486. package/lib/esm/duet-submenu-bar-item.entry.js +5 -36
  487. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  488. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  489. package/lib/esm/duet-textarea.entry.js +1 -1
  490. package/lib/esm/duet-toggle.entry.js +1 -1
  491. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  492. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  493. package/lib/esm/duet-toolbar-item.entry.js +1 -1
  494. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  495. package/lib/esm/duet-toolbar.entry.js +1 -1
  496. package/lib/esm/duet-tooltip-button_2.entry.js +9 -15
  497. package/lib/esm/duet-tooltip.entry.js +5 -21
  498. package/lib/esm/duet-tray.entry.js +1 -1
  499. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  500. package/lib/esm/duet-upload-item.entry.js +1 -1
  501. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  502. package/lib/esm/duet.js +3 -3
  503. package/lib/{dist-custom-elements/p-11e152cd.js → esm/floating-ui.dom.esm-01fcd83a.js} +69 -1
  504. package/lib/esm/{focus-utils-2ec819ab.js → focus-utils-ab3ed36c.js} +1 -1
  505. package/lib/esm/{index-70bb0f65.js → index-32b4aaf9.js} +1 -1
  506. package/lib/esm/loader.js +3 -3
  507. package/lib/esm/{teleport-d66d62e4.js → teleport-13402d94.js} +37 -29
  508. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  509. package/lib/esm-es5/duet-alert.entry.js +1 -1
  510. package/lib/esm-es5/duet-badge.entry.js +1 -1
  511. package/lib/esm-es5/duet-banner.entry.js +1 -1
  512. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  513. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  514. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  515. package/lib/esm-es5/duet-callout.entry.js +1 -1
  516. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  517. package/lib/esm-es5/duet-card.entry.js +1 -1
  518. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  519. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  520. package/lib/esm-es5/duet-chip.entry.js +1 -1
  521. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  522. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  523. package/lib/esm-es5/duet-combobox.entry.js +2 -2
  524. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  525. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  526. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  527. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  528. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  529. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  530. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  531. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  532. package/lib/esm-es5/duet-footer.entry.js +1 -1
  533. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  534. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  535. package/lib/esm-es5/duet-hero.entry.js +1 -1
  536. package/lib/esm-es5/duet-icon.entry.js +2 -2
  537. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  538. package/lib/esm-es5/duet-layout.entry.js +1 -1
  539. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  540. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  541. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  542. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  543. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  544. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  545. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  546. package/lib/esm-es5/duet-modal.entry.js +2 -2
  547. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  548. package/lib/esm-es5/duet-nav.entry.js +1 -1
  549. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  550. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  551. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  552. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  553. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  554. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  555. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  556. package/lib/esm-es5/duet-progress.entry.js +1 -1
  557. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  558. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  559. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  560. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  561. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  562. package/lib/esm-es5/duet-select.entry.js +1 -1
  563. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  564. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  565. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  566. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  567. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  568. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  569. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  570. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  571. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  572. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  573. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  574. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  575. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  576. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  577. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  578. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  579. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  580. package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
  581. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  582. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  583. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  584. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  585. package/lib/esm-es5/duet-tray.entry.js +1 -1
  586. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  587. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  588. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  589. package/lib/esm-es5/duet.js +1 -1
  590. package/lib/esm-es5/{floating-ui.dom.esm-34e0a5fa.js → floating-ui.dom.esm-01fcd83a.js} +1 -1
  591. package/lib/esm-es5/{focus-utils-2ec819ab.js → focus-utils-ab3ed36c.js} +1 -1
  592. package/lib/esm-es5/{index-70bb0f65.js → index-32b4aaf9.js} +1 -1
  593. package/lib/esm-es5/loader.js +1 -1
  594. package/lib/esm-es5/{teleport-d66d62e4.js → teleport-13402d94.js} +1 -1
  595. package/lib/types/components/duet-banner/duet-banner.d.ts +1 -0
  596. package/lib/types/components/duet-combobox/duet-combobox.d.ts +3 -1
  597. package/lib/types/components/duet-icon/duet-icon.d.ts +3 -3
  598. package/lib/types/components/duet-link/duet-link.d.ts +5 -1
  599. package/lib/types/components/duet-menu-bar-item/duet-menu-bar-item.d.ts +1 -7
  600. package/lib/types/components/duet-modal/duet-modal.d.ts +2 -4
  601. package/lib/types/components/duet-submenu-bar-item/duet-submenu-bar-item.d.ts +1 -7
  602. package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +0 -1
  603. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -7
  604. package/lib/types/components.d.ts +12 -4
  605. package/lib/types/utils/teleport.d.ts +12 -10
  606. package/package.json +5 -5
  607. package/lib/dist-custom-elements/p-e8ab4056.js +0 -205
  608. package/lib/duet/p-03ba1f65.entry.js +0 -4
  609. package/lib/duet/p-095aba6c.entry.js +0 -4
  610. package/lib/duet/p-11e152cd.js +0 -4
  611. package/lib/duet/p-220bb407.system.entry.js +0 -4
  612. package/lib/duet/p-28669c27.entry.js +0 -4
  613. package/lib/duet/p-2c75274e.system.entry.js +0 -4
  614. package/lib/duet/p-2cf0931d.system.entry.js +0 -4
  615. package/lib/duet/p-2d7c2ce7.entry.js +0 -4
  616. package/lib/duet/p-2e2b6a95.system.entry.js +0 -4
  617. package/lib/duet/p-2eae6a4e.entry.js +0 -4
  618. package/lib/duet/p-421adcc5.entry.js +0 -4
  619. package/lib/duet/p-46333231.js +0 -4
  620. package/lib/duet/p-4fc5b308.entry.js +0 -4
  621. package/lib/duet/p-63c6795c.entry.js +0 -4
  622. package/lib/duet/p-76fec604.system.entry.js +0 -4
  623. package/lib/duet/p-79c1afbf.entry.js +0 -4
  624. package/lib/duet/p-82fc84ad.entry.js +0 -4
  625. package/lib/duet/p-9a467121.system.entry.js +0 -4
  626. package/lib/duet/p-9b0c7d54.entry.js +0 -4
  627. package/lib/duet/p-a6276e85.entry.js +0 -4
  628. package/lib/duet/p-ab7e7315.entry.js +0 -4
  629. package/lib/duet/p-ac6596bc.entry.js +0 -4
  630. package/lib/duet/p-bb1242c4.system.entry.js +0 -4
  631. package/lib/duet/p-ccdff614.js +0 -4
  632. package/lib/duet/p-de4fdfa7.entry.js +0 -4
  633. package/lib/duet/p-e639b9ee.system.js +0 -4
  634. package/lib/duet/p-e8d08921.system.entry.js +0 -4
  635. package/lib/duet/p-ee5aa36b.entry.js +0 -4
  636. package/lib/duet/p-eef2351f.system.js +0 -4
@@ -8,13 +8,12 @@ export declare class DuetTooltip implements ThemeableComponent {
8
8
  */
9
9
  private mql;
10
10
  private tooltipId;
11
- private scrollTimer;
12
11
  private buttonEl;
13
12
  private arrowEl;
14
13
  private contentEl;
15
14
  private popupElement;
16
- private resizeTimer;
17
15
  private intersectionObserver;
16
+ private autoUpdateCleanup;
18
17
  private aboutString;
19
18
  /**
20
19
  * Reference to host HTML element.
@@ -109,11 +108,6 @@ export declare class DuetTooltip implements ThemeableComponent {
109
108
  componentDidLoad(): Promise<void>;
110
109
  connectedCallback(): void;
111
110
  disconnectedCallback(): void;
112
- /**
113
- * Component event handling.
114
- */
115
- onScroll(): void;
116
- handleWindowResize(): void;
117
111
  handleDocumentClick(e: MouseEvent): void;
118
112
  handleKeyDown(e: KeyboardEvent): void;
119
113
  handlePopupClose(): void;
@@ -1081,7 +1081,7 @@ export namespace Components {
1081
1081
  */
1082
1082
  "filterType": "includes" | "startsWith";
1083
1083
  /**
1084
- * Force the user to make a selection (typing things in the input field will only be used for list search)
1084
+ * Force the user to make a selection (typing things in the input field will only be used for list search). This property also sync input value with selected value on blur.
1085
1085
  */
1086
1086
  "force": boolean;
1087
1087
  /**
@@ -2144,6 +2144,10 @@ export namespace Components {
2144
2144
  * @default "fi"
2145
2145
  */
2146
2146
  "language": DuetLanguage;
2147
+ /**
2148
+ * Controls the margin of the component (only with "button" variation)
2149
+ */
2150
+ "margin": DuetMargin;
2147
2151
  /**
2148
2152
  * Controls the padding of the component (only with "block" variation)
2149
2153
  */
@@ -2446,7 +2450,7 @@ export namespace Components {
2446
2450
  */
2447
2451
  "accessibleDetails": string;
2448
2452
  /**
2449
- * By default the heading is used as target for aria-labelledby, and it overrides this label. If you wish to skip the heading, you must set this label.
2453
+ * By default the heading is used aria-label for the modal. If you wish to use something else then you must set this label.
2450
2454
  */
2451
2455
  "accessibleLabel": string;
2452
2456
  /**
@@ -7304,7 +7308,7 @@ declare namespace LocalJSX {
7304
7308
  */
7305
7309
  "filterType"?: "includes" | "startsWith";
7306
7310
  /**
7307
- * Force the user to make a selection (typing things in the input field will only be used for list search)
7311
+ * Force the user to make a selection (typing things in the input field will only be used for list search). This property also sync input value with selected value on blur.
7308
7312
  */
7309
7313
  "force"?: boolean;
7310
7314
  /**
@@ -8452,6 +8456,10 @@ declare namespace LocalJSX {
8452
8456
  * @default "fi"
8453
8457
  */
8454
8458
  "language"?: DuetLanguage;
8459
+ /**
8460
+ * Controls the margin of the component (only with "button" variation)
8461
+ */
8462
+ "margin"?: DuetMargin;
8455
8463
  /**
8456
8464
  * Controls the padding of the component (only with "block" variation)
8457
8465
  */
@@ -8736,7 +8744,7 @@ declare namespace LocalJSX {
8736
8744
  */
8737
8745
  "accessibleDetails"?: string;
8738
8746
  /**
8739
- * By default the heading is used as target for aria-labelledby, and it overrides this label. If you wish to skip the heading, you must set this label.
8747
+ * By default the heading is used aria-label for the modal. If you wish to use something else then you must set this label.
8740
8748
  */
8741
8749
  "accessibleLabel"?: string;
8742
8750
  /**
@@ -1,9 +1,10 @@
1
1
  /**
2
2
  * Teleport helps resolving z-index issues of overlapping popup elements.
3
- * Initiate it in your component's willLoad or didLoad lifecycle hook.
4
- * When you open the popup, call teleport.go() and move focus to the popup.
5
- * When you close the popup, call teleport.resume() and move focus to the element that opened the popup.
6
- * If your popup has closing animation, use the timeout parameter.
3
+ * Initiate it in your component's connectedCallback.
4
+ * Call activate() to teleport the object.
5
+ * Call deactivate() to resume the object to its original place.
6
+ * Call makeSiblingsInert() to add inert attribute to sibling elements.
7
+ * Call removeInertFromSiblings() to remove inert attribute from sibling elements.
7
8
  */
8
9
  export declare class Teleport {
9
10
  element: HTMLElement;
@@ -13,12 +14,13 @@ export declare class Teleport {
13
14
  deletionObserver: MutationObserver;
14
15
  isActive: boolean;
15
16
  constructor(element: HTMLElement, target?: HTMLElement);
16
- /**
17
- * @param makeSiblingsInert - make all siblings of the element inert, use only with modals
18
- */
19
- go(makeSiblingsInert?: boolean): void;
20
- resume(delay?: number): void;
21
- private _resume;
17
+ activate(): void;
18
+ deactivate(): void;
19
+ makeSiblingsInert(): void;
20
+ removeInertFromSiblings(delay?: number): void;
21
+ private _isTeleportSkipped;
22
+ private _activate;
23
+ private _deactivate;
22
24
  private _remove;
23
25
  private _makeSiblingsInert;
24
26
  private _removeInertFromSiblings;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duetds/components",
3
- "version": "8.5.1",
3
+ "version": "8.5.3",
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.47",
47
- "@duetds/icons": "4.0.47",
48
- "@duetds/tokens": "4.0.47",
46
+ "@duetds/fonts": "3.0.49",
47
+ "@duetds/icons": "4.0.49",
48
+ "@duetds/tokens": "4.0.49",
49
49
  "@percy/cli": "1.28.5",
50
50
  "@rollup/plugin-replace": "5.0.2",
51
51
  "@stencil/core": "4.10.0",
@@ -75,5 +75,5 @@
75
75
  "collection": "lib/collection/collection-manifest.json",
76
76
  "es2015": "lib/esm/index.js",
77
77
  "es2017": "lib/esm/index.js",
78
- "gitHead": "f4a0df6671917521cff68ca8fa2735b78f6f749a"
78
+ "gitHead": "ed0daf77d869562ea3a95bbc54c4fa751d657591"
79
79
  }
@@ -1,205 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { E as Env, p as proxyCustomElement, H, h, d as Host } from './p-e61e745f.js';
5
- import { i as inheritGlobalTheme } from './p-a58bd561.js';
6
- import { g as getColorByName, r as rgbaColorFromRgb } from './p-25c80cdb.js';
7
-
8
- const cleanupSvg = (svgContent) => {
9
- if (typeof document === "undefined" || !svgContent) {
10
- return;
11
- }
12
- const div = document.createElement("div");
13
- div.innerHTML = svgContent;
14
- // setup this way to ensure it works on our buddy IE
15
- for (let i = div.childNodes.length - 1; i >= 0; i--) {
16
- const child = div.childNodes[i];
17
- if (child.nodeName.toLowerCase() !== "svg") {
18
- div.removeChild(div.childNodes[i]);
19
- }
20
- }
21
- return div.firstElementChild;
22
- };
23
- const isValid = (elm) => {
24
- if (elm.nodeName.toLowerCase() === "script") {
25
- return false;
26
- }
27
- for (let i = 0; i < elm.attributes.length; i++) {
28
- const attribute = elm.attributes[i];
29
- if (attribute.name.toLowerCase().indexOf("on") === 0) {
30
- return false;
31
- }
32
- }
33
- if (elm.children) {
34
- for (let i = 0; i < elm.children.length; i++) {
35
- if (!isValid(elm.children[i])) {
36
- return false;
37
- }
38
- }
39
- }
40
- return true;
41
- };
42
- const buildIconUrl = (iconName) => {
43
- // under normal operations the Icons should always be loaded from the CDN
44
- {
45
- return `${Env.cdnURIProd}/icons/${Env.duetIconVersion}/lib/assets/${iconName}.svg`;
46
- }
47
- };
48
- const iconCache = {};
49
- function fetchIconByUrl(url) {
50
- if (iconCache[url]) {
51
- return iconCache[url];
52
- }
53
- // we create a function that covers all the fetching, cleanup, validation etc,
54
- // this way we can perform that work just once, and then return the same promise in future.
55
- async function doFetch() {
56
- const res = await fetch(url);
57
- if (!res.ok) {
58
- throw new Error(`SVG request failed: ${res.status} ${res.statusText}`);
59
- }
60
- const responseText = await res.text();
61
- const svgElement = cleanupSvg(responseText);
62
- if (!isValid(svgElement)) {
63
- throw new Error("SVG validation failed");
64
- }
65
- // OuterHTML does not unfortunately work here with IE11
66
- // was previously: resolve(svgElement.outerHTML)
67
- const div = document.createElement("div");
68
- div.appendChild(svgElement);
69
- return div.innerHTML;
70
- }
71
- // we do not `await` the fetch, as we only care about initiating the work,
72
- // it's the responsibility of the calling code to wait for the response.
73
- const req = doFetch();
74
- // cache for the repeat requests
75
- return (iconCache[url] = req);
76
- }
77
-
78
- const duetIconCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:inline-block;width:auto;max-width:100%;color:inherit;-webkit-tap-highlight-color:transparent}@media (max-width: 35.9375em){:host(.duet-icon-has-outline){margin-bottom:0 !important}}@media (max-width: 35.9375em){:host(.duet-icon-has-background){margin-bottom:0 !important}}:host(.duet-m-0){margin:0 !important}@media (max-width: 35.9375em){:host(.duet-m-0){margin:0 !important}}.duet-icon{-webkit-user-select:none;user-select:none;display:block;width:100%;height:100%;transform-origin:top center}.duet-icon.duet-icon-has-outline{padding:12px;border-style:solid;border-width:1px}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-outline{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background{padding:16px;color:rgb(255, 255, 255)}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-background{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background.duet-theme-turva,.duet-icon.duet-icon-has-background.duet-theme-default{color:rgb(255, 255, 255)}.duet-icon.duet-icon-shape-circle{border-radius:50%}.duet-icon.duet-icon-shape-brand{border-radius:25%}.duet-icon.duet-icon-has-background.xxx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xxx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xx-small .duet-icon-svg{width:16px;height:16px}@media (max-width: 35.9375em){.duet-icon.duet-icon-not-responsive{transform:scale(1) !important}}.duet-icon.duet-theme-default{color:rgb(0, 119, 179)}.duet-icon.duet-theme-turva{color:rgb(198, 12, 48)}.duet-icon.auto .duet-icon-svg{width:100%;height:100%}.duet-icon.xxx-small .duet-icon-svg{width:7px;height:7px}.duet-icon.duet-icon-has-background.xxx-small{padding:6px}.duet-icon.duet-icon-has-outline.xxx-small{padding:4px}.duet-icon.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small{padding:8px}.duet-icon.duet-icon-has-outline.xx-small{padding:7px}.duet-icon.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-has-outline.x-small{padding:10px}.duet-icon.duet-icon-has-background.x-small{padding:12px}.duet-icon.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-has-background.small{padding:14px}.duet-icon.large .duet-icon-svg{width:30px;height:30px}.duet-icon.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.xxx-large .duet-icon-svg{width:48px;height:48px}@media (min-width: 48em){.duet-icon.xxx-large .duet-icon-svg{width:72px;height:72px}}.duet-icon.duet-icon-shape-brand.rotated{transform:rotate(20deg) scale(0.875);transform-origin:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva{display:flex;align-items:center;justify-content:center;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");mask-repeat:no-repeat}.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg{min-width:auto}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-small{width:18px;height:15px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-small{width:32px;height:30px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.small{width:36px;height:34px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.medium{width:48px;height:44px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.large{width:62px;height:56px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-large{width:76px;height:68px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-large{width:95px;height:86px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xxx-large{width:144px;height:130px;padding:0}.duet-icon.duet-icon-shape-brand.xxx-small{padding:0}.duet-icon.duet-icon-shape-brand.xxx-small .duet-icon-svg{width:0;height:0}.duet-icon.duet-icon-shape-brand.xx-small{padding:4px}.duet-icon.duet-icon-shape-brand.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-shape-brand.x-small{padding:8px}.duet-icon.duet-icon-shape-brand.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-shape-brand.small{padding:8px}.duet-icon.duet-icon-shape-brand.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-shape-brand.medium{padding:12px}.duet-icon.duet-icon-shape-brand.medium .duet-icon-svg{width:24px;height:24px}.duet-icon.duet-icon-shape-brand.large{padding:16px}.duet-icon.duet-icon-shape-brand.large .duet-icon-svg{width:30px;height:30px}.duet-icon.duet-icon-shape-brand.x-large{padding:20px}.duet-icon.duet-icon-shape-brand.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.duet-icon-shape-brand.xx-large{padding:24px}.duet-icon.duet-icon-shape-brand.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.duet-icon-shape-brand.xxx-large{padding:36px}.duet-icon.duet-icon-shape-brand.xxx-large .duet-icon-svg{width:72px;height:72px}.duet-icon .duet-icon-svg{display:block;width:24px;min-width:100%;height:24px;font-size:0}.duet-icon .duet-icon-svg.rotated{transform:rotate(-20deg) scale(1.14)}.duet-icon svg{width:100%;min-width:100%;fill:currentColor}";
79
-
80
- const DuetIcon = /*@__PURE__*/ proxyCustomElement(class DuetIcon extends H {
81
- constructor() {
82
- super();
83
- this.__registerHost();
84
- this.__attachShadow();
85
- this.svgContent = undefined;
86
- this.theme = "";
87
- this.icon = undefined;
88
- this.src = undefined;
89
- this.name = "action-add";
90
- this.margin = "auto";
91
- this.responsive = true;
92
- this.color = "";
93
- this.background = "";
94
- this.backgroundOpacity = 1;
95
- this.backgroundRotation = 0;
96
- this.size = "medium";
97
- this.outline = "";
98
- this.shape = "circle";
99
- }
100
- /**
101
- * Component lifecycle events.
102
- */
103
- componentWillLoad() {
104
- inheritGlobalTheme(this);
105
- if (this.src && this.icon) {
106
- console.warn("[DUET COMPONENTS]: <duet-icon> should have either have src or icon attributes, but not both. icon attribute will take precedence", "icon:", this.icon, "src:", this.src);
107
- }
108
- this.loadIcon();
109
- }
110
- async loadIcon() {
111
- // static icon known at build-time, so we can set it synchronously
112
- if (this.icon) {
113
- this.svgContent = this.icon;
114
- return;
115
- }
116
- // dynamically load icon from url
117
- const src = this.src ? this.src : buildIconUrl(this.name);
118
- try {
119
- this.svgContent = await fetchIconByUrl(src);
120
- }
121
- catch (e) {
122
- console.warn(`[DUET COMPONENTS]: <duet-icon> could not load SVG from URL: ${src}.`, e);
123
- }
124
- }
125
- /**
126
- * render() function.
127
- * Always the last one in the class.
128
- */
129
- render() {
130
- const color = this.color === "currentColor"
131
- ? "currentColor"
132
- : getColorByName(this.color, this.theme) || getColorByName(this.outline, this.theme);
133
- const backgroundRotationStyles = this.backgroundRotation
134
- ? {
135
- transform: `rotate(${this.backgroundRotation}deg)`,
136
- "transform-origin": "center center",
137
- }
138
- : {};
139
- const styles = Object.assign({ color, background: rgbaColorFromRgb(getColorByName(this.background, this.theme), this.backgroundOpacity), "border-color": getColorByName(this.outline, this.theme) }, backgroundRotationStyles);
140
- const iconRotationStyles = this.backgroundRotation
141
- ? {
142
- transform: `rotate(-${this.backgroundRotation}deg)`,
143
- "transform-origin": "center center",
144
- }
145
- : {};
146
- const iconStyles = Object.assign({}, iconRotationStyles);
147
- const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
148
- return (h(Host, { class: {
149
- "duet-m-0": this.margin === "none",
150
- "duet-icon-has-outline": !!this.outline,
151
- "duet-icon-has-background": !!this.background,
152
- } }, h("span", { "aria-hidden": "true", style: styles, class: {
153
- "duet-icon": true,
154
- [this.size]: true,
155
- "duet-theme-turva": this.theme === "turva",
156
- "duet-theme-default": this.theme === "default",
157
- "duet-icon-has-outline": !!this.outline,
158
- "duet-icon-has-background": !!this.background,
159
- [shapeStyle]: true,
160
- rotated: this.shape === "brand-rotated" && this.theme !== "turva",
161
- "duet-icon-not-responsive": !this.responsive,
162
- } }, h("span", { "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, innerHTML: this.svgContent, style: iconStyles }))));
163
- }
164
- get element() { return this; }
165
- static get watchers() { return {
166
- "src": ["loadIcon"],
167
- "icon": ["loadIcon"],
168
- "name": ["loadIcon"]
169
- }; }
170
- static get style() { return duetIconCss; }
171
- }, [1, "duet-icon", {
172
- "theme": [1025],
173
- "icon": [1],
174
- "src": [1],
175
- "name": [1],
176
- "margin": [1],
177
- "responsive": [4],
178
- "color": [513],
179
- "background": [1],
180
- "backgroundOpacity": [2, "background-opacity"],
181
- "backgroundRotation": [2, "background-rotation"],
182
- "size": [1],
183
- "outline": [1],
184
- "shape": [1],
185
- "svgContent": [32]
186
- }, undefined, {
187
- "src": ["loadIcon"],
188
- "icon": ["loadIcon"],
189
- "name": ["loadIcon"]
190
- }]);
191
- function defineCustomElement() {
192
- if (typeof customElements === "undefined") {
193
- return;
194
- }
195
- const components = ["duet-icon"];
196
- components.forEach(tagName => { switch (tagName) {
197
- case "duet-icon":
198
- if (!customElements.get(tagName)) {
199
- customElements.define(tagName, DuetIcon);
200
- }
201
- break;
202
- } });
203
- }
204
-
205
- export { DuetIcon as D, defineCustomElement as d };
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{E as t,r as e,h as i,H as d,g as n}from"./p-e852decc.js";import{i as o}from"./p-a58bd561.js";import{g as a,r}from"./p-0bdcf67f.js";import"./p-67dc45d7.js";const s=t=>{if("script"===t.nodeName.toLowerCase())return!1;for(let e=0;e<t.attributes.length;e++)if(0===t.attributes[e].name.toLowerCase().indexOf("on"))return!1;if(t.children)for(let e=0;e<t.children.length;e++)if(!s(t.children[e]))return!1;return!0},u={};const c=class{constructor(t){e(this,t),this.svgContent=void 0,this.theme="",this.icon=void 0,this.src=void 0,this.name="action-add",this.margin="auto",this.responsive=!0,this.color="",this.background="",this.backgroundOpacity=1,this.backgroundRotation=0,this.size="medium",this.outline="",this.shape="circle"}componentWillLoad(){o(this),this.src&&this.icon&&console.warn("[DUET COMPONENTS]: <duet-icon> should have either have src or icon attributes, but not both. icon attribute will take precedence","icon:",this.icon,"src:",this.src),this.loadIcon()}async loadIcon(){if(this.icon)return void(this.svgContent=this.icon);const e=this.src?this.src:`${t.cdnURIProd}/icons/${t.duetIconVersion}/lib/assets/${this.name}.svg`;try{this.svgContent=await function(t){if(u[t])return u[t];const e=async function(){const e=await fetch(t);if(!e.ok)throw new Error(`SVG request failed: ${e.status} ${e.statusText}`);const i=(t=>{if("undefined"==typeof document||!t)return;const e=document.createElement("div");e.innerHTML=t;for(let t=e.childNodes.length-1;t>=0;t--)"svg"!==e.childNodes[t].nodeName.toLowerCase()&&e.removeChild(e.childNodes[t]);return e.firstElementChild})(await e.text());if(!s(i))throw new Error("SVG validation failed");const d=document.createElement("div");return d.appendChild(i),d.innerHTML}();return u[t]=e}(e)}catch(t){console.warn(`[DUET COMPONENTS]: <duet-icon> could not load SVG from URL: ${e}.`,t)}}render(){const t="currentColor"===this.color?"currentColor":a(this.color,this.theme)||a(this.outline,this.theme),e=this.backgroundRotation?{transform:`rotate(${this.backgroundRotation}deg)`,"transform-origin":"center center"}:{},n=Object.assign({color:t,background:r(a(this.background,this.theme),this.backgroundOpacity),"border-color":a(this.outline,this.theme)},e),o=Object.assign({},this.backgroundRotation?{transform:`rotate(-${this.backgroundRotation}deg)`,"transform-origin":"center center"}:{});return i(d,{class:{"duet-m-0":"none"===this.margin,"duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background}},i("span",{"aria-hidden":"true",style:n,class:{"duet-icon":!0,[this.size]:!0,"duet-theme-turva":"turva"===this.theme,"duet-theme-default":"default"===this.theme,"duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background,["brand-rotated"===this.shape?"duet-icon-shape-brand":`duet-icon-shape-${this.shape}`]:!0,rotated:"brand-rotated"===this.shape&&"turva"!==this.theme,"duet-icon-not-responsive":!this.responsive}},i("span",{"aria-hidden":"true",class:{"duet-icon-svg":!0,rotated:"brand-rotated"===this.shape&&"turva"!==this.theme},innerHTML:this.svgContent,style:o})))}get element(){return n(this)}static get watchers(){return{src:["loadIcon"],icon:["loadIcon"],name:["loadIcon"]}}};c.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:inline-block;width:auto;max-width:100%;color:inherit;-webkit-tap-highlight-color:transparent}@media (max-width: 35.9375em){:host(.duet-icon-has-outline){margin-bottom:0 !important}}@media (max-width: 35.9375em){:host(.duet-icon-has-background){margin-bottom:0 !important}}:host(.duet-m-0){margin:0 !important}@media (max-width: 35.9375em){:host(.duet-m-0){margin:0 !important}}.duet-icon{-webkit-user-select:none;user-select:none;display:block;width:100%;height:100%;transform-origin:top center}.duet-icon.duet-icon-has-outline{padding:12px;border-style:solid;border-width:1px}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-outline{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background{padding:16px;color:rgb(255, 255, 255)}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-background{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background.duet-theme-turva,.duet-icon.duet-icon-has-background.duet-theme-default{color:rgb(255, 255, 255)}.duet-icon.duet-icon-shape-circle{border-radius:50%}.duet-icon.duet-icon-shape-brand{border-radius:25%}.duet-icon.duet-icon-has-background.xxx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xxx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xx-small .duet-icon-svg{width:16px;height:16px}@media (max-width: 35.9375em){.duet-icon.duet-icon-not-responsive{transform:scale(1) !important}}.duet-icon.duet-theme-default{color:rgb(0, 119, 179)}.duet-icon.duet-theme-turva{color:rgb(198, 12, 48)}.duet-icon.auto .duet-icon-svg{width:100%;height:100%}.duet-icon.xxx-small .duet-icon-svg{width:7px;height:7px}.duet-icon.duet-icon-has-background.xxx-small{padding:6px}.duet-icon.duet-icon-has-outline.xxx-small{padding:4px}.duet-icon.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small{padding:8px}.duet-icon.duet-icon-has-outline.xx-small{padding:7px}.duet-icon.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-has-outline.x-small{padding:10px}.duet-icon.duet-icon-has-background.x-small{padding:12px}.duet-icon.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-has-background.small{padding:14px}.duet-icon.large .duet-icon-svg{width:30px;height:30px}.duet-icon.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.xxx-large .duet-icon-svg{width:48px;height:48px}@media (min-width: 48em){.duet-icon.xxx-large .duet-icon-svg{width:72px;height:72px}}.duet-icon.duet-icon-shape-brand.rotated{transform:rotate(20deg) scale(0.875);transform-origin:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva{display:flex;align-items:center;justify-content:center;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");mask-repeat:no-repeat}.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg{min-width:auto}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-small{width:18px;height:15px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-small{width:32px;height:30px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.small{width:36px;height:34px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.medium{width:48px;height:44px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.large{width:62px;height:56px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-large{width:76px;height:68px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-large{width:95px;height:86px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xxx-large{width:144px;height:130px;padding:0}.duet-icon.duet-icon-shape-brand.xxx-small{padding:0}.duet-icon.duet-icon-shape-brand.xxx-small .duet-icon-svg{width:0;height:0}.duet-icon.duet-icon-shape-brand.xx-small{padding:4px}.duet-icon.duet-icon-shape-brand.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-shape-brand.x-small{padding:8px}.duet-icon.duet-icon-shape-brand.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-shape-brand.small{padding:8px}.duet-icon.duet-icon-shape-brand.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-shape-brand.medium{padding:12px}.duet-icon.duet-icon-shape-brand.medium .duet-icon-svg{width:24px;height:24px}.duet-icon.duet-icon-shape-brand.large{padding:16px}.duet-icon.duet-icon-shape-brand.large .duet-icon-svg{width:30px;height:30px}.duet-icon.duet-icon-shape-brand.x-large{padding:20px}.duet-icon.duet-icon-shape-brand.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.duet-icon-shape-brand.xx-large{padding:24px}.duet-icon.duet-icon-shape-brand.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.duet-icon-shape-brand.xxx-large{padding:36px}.duet-icon.duet-icon-shape-brand.xxx-large .duet-icon-svg{width:72px;height:72px}.duet-icon .duet-icon-svg{display:block;width:24px;min-width:100%;height:24px;font-size:0}.duet-icon .duet-icon-svg.rotated{transform:rotate(-20deg) scale(1.14)}.duet-icon svg{width:100%;min-width:100%;fill:currentColor}";export{c as duet_icon}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as t,H as a,g as i}from"./p-e852decc.js";import{a as o}from"./p-f9a8d356.js";import{i as r}from"./p-a58bd561.js";import{f as s}from"./p-a1b7f2a0.js";const n=class{constructor(t){e(this,t),this.mql=[window.matchMedia(o.replace(/'/g,""))],this.boundMqlFunctions=[],this.changeIconSize=()=>{this.iconSize=this.mql[0].matches?"x-small":"small"},this.iconSize="small",this.theme="",this.active=!1,this.url=void 0,this.leadingIcon=void 0,this.trailingIcon=void 0,this.accessibleLabel=void 0,this.accessibleExpanded=void 0,this.accessiblePopup="false"}componentWillLoad(){r(this)}connectedCallback(){this.changeIconSize();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.changeIconSize.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[]}handleEscape(e){if(s(e)){const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}async setFocus(e){setTimeout((()=>this.itemElement.focus(e)),200)}render(){return t(a,null,t(this.url?"a":"button",{ref:e=>this.itemElement=e,class:{"duet-submenu-bar-item":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.url,onKeyUp:e=>this.handleEscape(e),"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0},this.leadingIcon&&t("duet-icon",{theme:this.theme,name:this.leadingIcon,size:this.iconSize,margin:"none",color:"currentColor"}),t("div",{class:"label"},t("span",{class:"label-text"},t("slot",null)),this.trailingIcon&&t("duet-icon",{class:{"trailing-icon":!0,rotate:"action-arrow-down-small"===this.trailingIcon&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon,margin:"none",size:"action-arrow-down-small"===this.trailingIcon?"xxx-small":this.iconSize,color:"currentColor"}))))}get element(){return i(this)}};n.style='*,*::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;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-item{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;height:100%;padding:12px 1.5rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-submenu-bar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-item .label{display:flex;gap:5px;align-items:center;justify-content:center}.duet-submenu-bar-item .trailing-icon{position:absolute;right:12px}.duet-submenu-bar-item[aria-expanded=true]{background:rgb(230, 242, 248)}.duet-submenu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-submenu-bar-item.active{color:rgb(0, 119, 179)}.duet-submenu-bar-item.active.duet-theme-turva{color:rgb(148, 9, 37)}.duet-submenu-bar-item.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-submenu-bar-item.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(23, 28, 58)}.duet-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(148, 9, 37)}.duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(148, 9, 37)}.duet-submenu-bar-item:hover{color:rgb(0, 41, 77);background:rgb(230, 242, 248)}.duet-submenu-bar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(228, 228, 230)}.duet-submenu-bar-item:hover.duet-theme-turva.active{color:rgb(148, 9, 37)}';export{n as duet_submenu_bar_item}
@@ -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){const{x:n,y:e,width:o,height:r}=t;return{width:o,height:r,top:e,left:n,right:n+o,bottom:e+r,x:n,y:e}}function h(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,h=o.y+o.height/2-r.height/2,x=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:h};break;case"left":g={x:o.x-r.width,y:h};break;default:g={x:o.x,y:o.y}}switch(l(n)){case"start":g[c]-=x*(e&&m?-1:1);break;case"end":g[c]+=x*(e&&m?-1:1)}return g}async function x(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:h=0}=i(n,t),x=m(h),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})),v="floating"===d?{x:o,y:r,width:l.floating.width,height:l.floating.height}:l.reference,b=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c.floating)),A=await(null==a.isElement?void 0:a.isElement(b))&&await(null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},k=p(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:v,offsetParent:b,strategy:s}):v);return{top:(w.top-k.top+x.top)/A.y,bottom:(k.bottom-w.bottom+x.bottom)/A.y,left:(w.left-k.left+x.left)/A.x,right:(k.right-w.right+x.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,middlewareData:p}=e,{element:h,padding:x=0}=i(n,e)||{};if(null==h)return{};const g=m(x),w={x:o,y:a},v=f(c),b=s(v),A=await d.getDimensions(h),k="y"===v,S=k?"top":"left",R=k?"bottom":"right",D=k?"clientHeight":"clientWidth",P=u.reference[b]+u.reference[v]-w[v]-u.floating[b],C=w[v]-u.reference[v],F=await(null==d.getOffsetParent?void 0:d.getOffsetParent(h));let M=F?F[D]:0;M&&await(null==d.isElement?void 0:d.isElement(F))||(M=y.floating[D]||u.floating[b]);const T=P/2-C/2,B=M/2-A[b]/2-1,L=t(g[S],B),O=t(g[R],B),E=L,N=M-A[b]-O,j=M/2-A[b]/2+T,H=r(E,j,N),V=!p.arrow&&null!=l(c)&&j!==H&&u.reference[b]/2-(j<E?L:O)-A[b]/2<0,W=V?j<E?j-E:j-N:0;return{[v]:w[v]+W,data:{[v]:H,centerOffset:j-H-W,...V&&{alignmentOffset:W}},reset:V}}}),w=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:r,middlewareData:c,rects:u,initialPlacement:m,platform:p,elements:h}=n,{mainAxis:g=!0,crossAxis:w=!0,fallbackPlacements:v,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:A="none",flipAlignment:k=!0,...S}=i(t,n);if(null!=(e=c.arrow)&&e.alignmentOffset)return{};const R=a(r),D=a(m)===m,P=await(null==p.isRTL?void 0:p.isRTL(h.floating)),C=v||(D||!k?[y(m)]:function(t){const n=y(t);return[d(t),n,d(n)]}(m));v||"none"===A||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}(m,k,A,P));const F=[m,...C],M=await x(n,S),T=[];let B=(null==(o=c.flip)?void 0:o.overflows)||[];if(g&&T.push(M[R]),w){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)]}(r,u,P);T.push(M[t[0]],M[t[1]])}if(B=[...B,{placement:r,overflows:T}],!T.every((t=>t<=0))){var L,O;const t=((null==(L=c.flip)?void 0:L.index)||0)+1,n=F[t];if(n)return{data:{index:t,overflows:B},reset:{placement:n}};let e=null==(O=B.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:O.placement;if(!e)switch(b){case"bestFit":{var E;const t=null==(E=B.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=m}if(r!==e)return{reset:{placement:e}}}return{}}}},v=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,o;const{x:r,y:c,placement:s,middlewareData:f}=n,d=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:h,crossAxis:x,alignmentAxis:g}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return f&&"number"==typeof g&&(x="end"===f?-1*g:g),d?{x:x*m,y:h*y}:{x:h*y,y:x*m}}(n,t);return s===(null==(e=f.offset)?void 0:e.placement)&&null!=(o=f.arrow)&&o.alignmentOffset?{}:{x:r+d.x,y:c+d.y,data:{...d,placement:s}}}}},b=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 x(n,y),h=u(a(l)),g=c(h);let w=m[g],v=m[h];s&&(w=r(w+p["y"===g?"top":"left"],w,w-p["y"===g?"bottom":"right"])),f&&(v=r(v+p["y"===h?"top":"left"],v,v-p["y"===h?"bottom":"right"]));const b=d.fn({...n,[g]:w,[h]:v});return{...b,data:{x:b.x-e,y:b.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 D(t){return t instanceof A(t).HTMLElement}function P(t){return t instanceof A(t).Element}function C(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 O=Math.min,E=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=D(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 P(t)?t:t.contextElement}const V={x:1,y:1};function W(t){const n=H(t);if(!D(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?P(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&&P(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 P(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||C(t)&&t.host||q(t);return C(n)?n.host:n}function J(t){const n=I(t);return L(n)?n.ownerDocument.body:D(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=E(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),i=E(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-e.scrollLeft+G(t);const l=-e.scrollTop;return"rtl"===k(o).direction&&(a+=E(n.clientWidth,o.clientWidth)-r),{width:r,height:i,x:a,y:l}}(q(t));else if(P(n))o=function(t,n){const e=_(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=D(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||!P(e)||L(e))&&("fixed"===k(e).position||U(e,n))}function Z(t,n){return D(t)&&"fixed"!==k(t).position?n?n(t):t.offsetParent:null}function $(t,n){const e=A(t);if(!D(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(;D(n)&&!L(n);){if(T(n))return n;n=I(n)}return null}(t)||e}function tt(t,n,e){const o=D(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)),D(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=>P(t)&&"body"!==R(t))),r=null;const i="fixed"===k(t).position;let a=i?I(t):t;for(;P(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=E(o.top,t.top),t.right=O(o.right,t.right),t.bottom=O(o.bottom,t.bottom),t.left=E(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=D(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)),D(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:P,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}=h(s,o,c),d=o,y={},m=0;for(let e=0;e<l.length;e++){const{name:i,fn:p}=l[e],{x,y:g,data:w,reset:v}=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!=x?x:u,f=null!=g?g:f,y={...y,[i]:{...y[i],...w}},v&&m<=50&&(m++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(s=!0===v.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):v.rects),({x:u,y:f}=h(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,v as o,b as s}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{s(i.next(e))}catch(e){a(e)}}function u(e){try{s(i["throw"](e))}catch(e){a(e)}}function s(e){e.done?n(e.value):r(e.value).then(o,u)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return s([e,t])}}function s(u){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(i=1,r&&(a=u[0]&2?r["return"]:u[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;if(r=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;r=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];r=0}finally{i=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-8db70218.system.js","./p-1c689a26.system.js","./p-50f4bca2.system.js","./p-34d7dd10.system.js"],(function(e){"use strict";var t,n,i,r,a,o,u;return{setters:[function(e){t=e.r;n=e.h;i=e.H;r=e.g},function(e){a=e.a},function(e){o=e.i},function(e){u=e.f}],execute:function(){var s='*,*::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;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-item{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;height:100%;padding:12px 1.5rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-submenu-bar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-item .label{display:flex;gap:5px;align-items:center;justify-content:center}.duet-submenu-bar-item .trailing-icon{position:absolute;right:12px}.duet-submenu-bar-item[aria-expanded=true]{background:rgb(230, 242, 248)}.duet-submenu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-submenu-bar-item.active{color:rgb(0, 119, 179)}.duet-submenu-bar-item.active.duet-theme-turva{color:rgb(148, 9, 37)}.duet-submenu-bar-item.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-submenu-bar-item.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(23, 28, 58)}.duet-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(148, 9, 37)}.duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(148, 9, 37)}.duet-submenu-bar-item:hover{color:rgb(0, 41, 77);background:rgb(230, 242, 248)}.duet-submenu-bar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(228, 228, 230)}.duet-submenu-bar-item:hover.duet-theme-turva.active{color:rgb(148, 9, 37)}';var c=e("duet_submenu_bar_item",function(){function e(e){var n=this;t(this,e);this.mql=[window.matchMedia(a.replace(/'/g,""))];this.boundMqlFunctions=[];this.changeIconSize=function(){if(n.mql[0].matches){n.iconSize="x-small"}else{n.iconSize="small"}};this.iconSize="small";this.theme="";this.active=false;this.url=undefined;this.leadingIcon=undefined;this.trailingIcon=undefined;this.accessibleLabel=undefined;this.accessibleExpanded=undefined;this.accessiblePopup="false"}e.prototype.componentWillLoad=function(){o(this)};e.prototype.connectedCallback=function(){this.changeIconSize();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.changeIconSize.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[]};e.prototype.handleEscape=function(e){if(u(e)){var t=this.element.closest("duet-submenu-bar");t.open=false;t.setFocus()}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(n){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";return n(i,null,n(t,{ref:function(t){return e.itemElement=t},class:{"duet-submenu-bar-item":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.url,onKeyUp:function(t){return e.handleEscape(t)},"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined},this.leadingIcon&&n("duet-icon",{theme:this.theme,name:this.leadingIcon,size:this.iconSize,margin:"none",color:"currentColor"}),n("div",{class:"label"},n("span",{class:"label-text"},n("slot",null)),this.trailingIcon&&n("duet-icon",{class:{"trailing-icon":true,rotate:this.trailingIcon==="action-arrow-down-small"&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon,margin:"none",size:this.trailingIcon==="action-arrow-down-small"?"xxx-small":this.iconSize,color:"currentColor"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());c.style=s}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,c as t,h as a,g as d}from"./p-e852decc.js";import{d as i,e as o}from"./p-8354d1f1.js";import{i as s}from"./p-a58bd561.js";import{a as l}from"./p-beeb12f1.js";import{c as r}from"./p-5e59e970.js";import{f as n,F as m}from"./p-46333231.js";import{f as u}from"./p-a1b7f2a0.js";import{a as h,g as p,c,d as g}from"./p-2e36d5bf.js";import{h as b}from"./p-d87f6dd5.js";import{T as x}from"./p-ccdff614.js";import"./p-0e052642.js";const v=class{constructor(a){var d,i;e(this,a),this.duetOpen=t(this,"duetOpen",7),this.duetClose=t(this,"duetClose",7),this.duetBeforeClose=t(this,"duetBeforeClose",7),this.modalId=r("DuetModal"),this.slotDefaultId=r("DuetModal-default-slot"),this.hasStickyHeader=!1,this.isAndroidDevice=(null===(i=null===(d=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===d?void 0:d.toLowerCase())||void 0===i?void 0:i.indexOf("android"))>-1||null,this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(null===navigator||void 0===navigator?void 0:navigator.userAgent),this.accessibleLoaderAnnouncementDefaults=l,this.accessibleCloseLabelDefaults={fi:"Sulje ikkuna",sv:"Stäng fönstret",en:"Close the dialog"},this.handleAndroidResizeEvents=()=>{"INPUT"==document.activeElement.tagName&&window.setTimeout((function(){var e;try{null===(e=null===document||void 0===document?void 0:document.activeElement)||void 0===e||e.scrollIntoViewIfNeeded(!0)}catch(e){}}),100)},this.open=!1,this.language=h(),this.accessibleCloseLabel=p(this.accessibleCloseLabelDefaults,this.language),this.accessibleLoaderAnnouncement=p(this.accessibleLoaderAnnouncementDefaults,this.language),this.size="medium",this.accessibleDescribedBy=void 0,this.accessibleLabelledBy=void 0,this.accessibleLabel=void 0,this.accessibleDetails=void 0,this.accessibleDescription=void 0,this.variation="default",this.gutterSize="medium",this.theme="",this.heading="",this.headingLevel="h3",this.headingVisualLevel=void 0,this.icon="",this.color="",this.active=!1,this.closeOnBlur=!1}openChanged(){this.open?(this.modalEl&&this.modalEl.scrollTop&&(this.modalEl.scrollTop=0),this.focusedElBeforeOpen=document.activeElement,i(this.modalEl,{reserveScrollBarGap:!0}),this.teleport.go(!0),this.slotContainerEl.querySelectorAll(".duet-loader-message").forEach((e=>e.remove())),setTimeout((()=>{"loader"===this.variation?this.addMessage(this.accessibleLoaderAnnouncement,!1):this.buttonEl.setFocus()}),600),setTimeout((()=>{this.modalEl.classList.add("duet-disable-transitions")}),800),this.isAndroidDevice&&window.addEventListener("resize",this.handleAndroidResizeEvents),this.duetOpen.emit()):(this.modalEl.classList.remove("duet-disable-transitions"),o(this.modalEl),this.duetClose.emit(),this.teleport.resume(600),setTimeout((()=>{n(this.focusedElBeforeOpen)}),600),this.isAndroidDevice&&window.removeEventListener("resize",this.handleAndroidResizeEvents))}activeChanged(){this.open=this.active}componentWillLoad(){this.hasStickyHeader=b(this.element,"sticky-header"),s(this)}componentDidLoad(){this.teleport=new x(this.element),this.active&&(this.open=!0,this.modalEl.classList.add("duet-disable-transitions"))}connectedCallback(){c(this,[{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefaults"},{prop:"accessibleLoaderAnnouncement",defaults:"accessibleLoaderAnnouncementDefaults"}])}disconnectedCallback(){g(this),o(this.modalEl)}handleKeyUp(e){this.open&&u(e)&&this.closeModal(e)}async show(){this.open=!0}async hide(){this.open=!1}async addMessage(e,t=!0){const a=document.createElement(t?"duet-paragraph":"duet-visually-hidden");a.textContent=e,a.classList.add("duet-loader-message"),t&&setTimeout((()=>{this.slotContainerEl.querySelectorAll(".duet-loader-message").forEach((e=>e.classList.remove("show"))),a.classList.add("show")}),10),this.slotContainerEl.appendChild(a)}closeModal(e){this.duetBeforeClose.emit({originalEvent:e,component:"duet-modal"}),e.defaultPrevented||setTimeout((()=>{this.hide()}),1)}render(){var e;let t="primary",d="secondary";const i=a("div",{class:"duet-modal-close"},a("duet-button",{ref:e=>this.buttonEl=e,variation:"plain",accessibleLabel:this.accessibleCloseLabel,color:d,iconSize:"large",icon:"navigation-close",iconOnly:!0,margin:"none",theme:this.theme,onClick:e=>this.closeModal(e),fixed:!0}));return"turva"===this.theme&&(t="primary-turva",d="secondary-turva"),a("div",{ref:e=>this.modalEl=e,"aria-label":this.accessibleLabel,"aria-labelledby":!!this.heading&&this.modalId,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,role:"loader"===this.variation?"alert":"dialog","aria-modal":!this.isSafariBrowser,tabindex:"-1","aria-flowto":this.slotDefaultId,class:{"duet-modal-container":!0,"duet-theme-turva":"turva"===this.theme,"duet-modal-active":this.open,"duet-modal-slide-up":"slide-up"===this.variation,"duet-modal-has-sticky-header":this.hasStickyHeader}},a(m,{moveFocusTo:this.buttonEl}),a("duet-overlay",{"z-index":"-1",visible:this.open,variation:"loader"===this.variation?"white":"default"}),a("div",{ref:e=>this.modalInnerEl=e,class:{"duet-modal-inner":!0,[this.size]:!0,"duet-modal-slide-up":"slide-up"===this.variation},onClick:e=>{this.closeOnBlur&&(e.target||e.srcElement)===this.modalInnerEl&&this.closeModal(e)}},a("div",{class:{"duet-modal":!0,"duet-modal-has-sticky-header":this.hasStickyHeader,[this.size]:!0,[this.variation]:!0}},"none"!==this.gutterSize&&!this.hasStickyHeader&&a("duet-spacer",null),this.hasStickyHeader?a("div",{class:"duet-modal-sticky-header"},i,a("slot",{name:"sticky-header"})):i,a("div",{class:{"duet-modal-body":!0,"duet-modal-gutter-none":"none"===this.gutterSize,"duet-modal-gutter-small":"small"===this.gutterSize,"duet-modal-gutter-medium":"medium"===this.gutterSize,"duet-modal-gutter-large":"large"===this.gutterSize}},a("div",{class:"duet-modal-header"},a("span",{class:"duet-modal-inner-slot-top"},a("slot",{name:"top"})),this.icon&&a("duet-icon",{name:this.icon,size:"xx-large",color:this.color||t}),this.heading&&a("duet-heading",{"visual-level":null!==(e=this.headingVisualLevel)&&void 0!==e?e:this.headingLevel,level:this.headingLevel,theme:this.theme,id:this.modalId},this.heading)),"loader"===this.variation&&a("div",{class:"duet-modal-spinner"},a("duet-spinner",{size:"large",color:"primary"})),a("div",{class:"duet-modal-inner-slot-default",id:this.slotDefaultId,ref:e=>this.slotContainerEl=e,"aria-live":"loader"===this.variation?"assertive":"off"},a("slot",null))))),a(m,{moveFocusTo:this.buttonEl}))}get element(){return d(this)}static get watchers(){return{open:["openChanged"],active:["activeChanged"]}}};v.style='*,*::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}.duet-modal-container{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;max-height:100vh;overflow-y:auto;visibility:hidden;opacity:0;transition:300ms ease;transition-delay:200ms}.duet-modal-container.duet-modal-active{visibility:visible;opacity:1;transition:300ms ease;transition-delay:0s}.duet-modal-container.duet-disable-transitions{transition:none}.duet-modal-container.duet-modal-slide-up{overflow:hidden}::slotted(img){width:100%}.duet-modal-inner{display:flex;align-items:center;width:100%;min-height:100%;padding:20px 16px}@media (min-width: 36em){.duet-modal-inner{padding:48px 16px}}.duet-modal-inner.duet-modal-slide-up{align-items:stretch;justify-content:center;height:100%;padding-top:48px;padding-bottom:0;overflow:hidden}.duet-modal-inner.duet-modal-slide-up::after{position:absolute;bottom:0;z-index:300;display:block;width:100%;max-width:686px;height:48px;margin:auto;pointer-events:none;content:"";background:linear-gradient(rgba(255, 255, 255, 0), rgb(255, 255, 255))}.duet-modal-inner.duet-modal-slide-up::after.small{max-width:545px}.duet-modal-inner.duet-modal-slide-up::after.large{max-width:100%}@media (min-width: 36em){.duet-modal-inner.duet-modal-slide-up::after.large{max-width:1110px}}@media (max-width: 35.9375em){.duet-modal-inner.large{padding-right:0;padding-left:0}.duet-modal-inner.duet-modal-slide-up{padding:0;padding-top:28px}}.duet-modal{position:relative;width:100%;max-width:686px;margin:auto;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(0, 41, 77);background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:300ms ease;transition-delay:0ms;transform:scale(0.96)}.duet-theme-turva .duet-modal{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-modal-active .duet-modal{opacity:1;transition:300ms ease;transition-delay:200ms;transform:none}.duet-modal-active .duet-modal.slide-up{top:0;transition:top 600ms ease}.duet-modal.loader{text-align:center;background:transparent}.duet-modal.loader .duet-modal-close{display:none}.duet-modal.loader .duet-modal-spinner{position:relative;height:120px}.duet-modal.loader .duet-modal-inner-slot-default{position:relative;backdrop-filter:blur(10px)}.duet-modal.loader duet-paragraph.duet-loader-message{position:absolute;opacity:0;transition:all 300ms ease;transform:scaleY(0);transform-origin:top}.duet-modal.loader duet-paragraph.duet-loader-message.show{opacity:1;transform:scaleY(1);transform-origin:bottom}.duet-modal.loader duet-paragraph.duet-loader-message.show::part(duet-paragraph){backdrop-filter:blur(10px)}.duet-disable-transitions .duet-modal{transition:none}.duet-modal.small{max-width:545px}.duet-modal.large{max-width:100%}@media (min-width: 36em){.duet-modal.large{max-width:1110px}}.duet-modal.slide-up{top:100vh;margin:0;border-radius:4px 4px 0 0;opacity:1;transition:top 600ms ease}@media (max-width: 35.9375em){.duet-modal.slide-up{border-radius:16px 16px 0 0}}.duet-modal.duet-modal-has-sticky-header{height:100%;overflow:auto}.duet-modal:focus{outline:0}.duet-modal-body,.duet-modal-sticky-header{width:100%;padding:36px 28px}.duet-modal-body.duet-modal-gutter-none,.duet-modal-sticky-header.duet-modal-gutter-none{padding:0 !important}.duet-modal-body.duet-modal-gutter-small,.duet-modal-sticky-header.duet-modal-gutter-small{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}@media (max-width: 22.5em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 28px}}@media (max-width: 35.9375em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}}@media (min-width: 36em){.duet-modal-body,.duet-modal-sticky-header{padding:36px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:28px 72px}}@media (min-width: 48em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 72px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:36px 72px}}@media (min-width: 76.25em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 48px 48px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 94px}.small .duet-modal-body,.small .duet-modal-sticky-header{padding:36px 48px}}.duet-modal-header{text-align:center}.duet-modal-sticky-header{position:sticky;top:0;z-index:200;display:block;padding-bottom:12px;text-align:left;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-modal-sticky-header{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-modal-close{position:absolute;top:12px;right:12px}.duet-modal-heading{width:100%;padding-right:60px;overflow:hidden;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:1.25rem;font-style:normal;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);text-decoration:none;text-overflow:ellipsis;letter-spacing:-0.01rem;white-space:nowrap}.duet-modal-heading.duet-p-0{padding:0 !important}.duet-modal-heading.duet-m-0{margin:0 !important}';export{v as duet_modal}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,i){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function r(t){try{s(i.next(t))}catch(t){a(t)}}function d(t){try{s(i["throw"](t))}catch(t){a(t)}}function s(t){t.done?n(t.value):o(t.value).then(r,d)}s((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r;return r={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function d(t){return function(e){return s([t,e])}}function s(d){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,d[0]&&(n=0)),n)try{if(i=1,o&&(a=d[0]&2?o["return"]:d[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,d[1])).done)return a;if(o=0,a)d=[d[0]&2,a.value];switch(d[0]){case 0:case 1:a=d;break;case 4:n.label++;return{value:d[1],done:false};case 5:n.label++;o=d[1];d=[0];continue;case 7:d=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){n.label=d[1];break}if(d[0]===6&&n.label<a[1]){n.label=a[1];a=d;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(d);break}if(a[2])n.ops.pop();n.trys.pop();continue}d=e.call(t,n)}catch(t){d=[6,t];o=0}finally{i=a=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-8db70218.system.js","./p-50f4bca2.system.js","./p-6ef75455.system.js","./p-73e66b09.system.js","./p-a46b4450.system.js","./p-053b71e6.system.js","./p-cc5e6288.system.js","./p-224f6c46.system.js","./p-b31d31d8.system.js"],(function(t){"use strict";var e,n,i,o,a,r,d,s,u,l,h,m,c,p,g,b,f,k;return{setters:[function(t){e=t.r;n=t.h;i=t.H;o=t.g;a=t.F},function(t){r=t.i},function(t){d=t.s},function(t){s=t.g;u=t.a},function(t){l=t.a;h=t.b},function(t){m=t.a},function(t){c=t.D;p=t.c},function(t){g=t.a;b=t.g;f=t.c;k=t.d},function(){}],execute:function(){var x=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(101, 119, 135);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.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(116, 116, 117)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}';var v=t("duet_caption",function(){function t(t){e(this,t);this.theme="";this.margin="auto";this.selected=false;this.size="medium"}t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){return n(i,{class:{"duet-caption":true,"duet-caption-selected":this.selected,"duet-caption-small":this.size==="small","duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none"}},n("slot",null))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());v.style=x;var w='*,*::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;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);text-decoration:none;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.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";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(225, 227, 230)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(101, 119, 135)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h0.fixed-size{font-size:4.5rem}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h1.fixed-size{font-size:3rem}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h2.fixed-size{font-size:2.25rem}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h3.fixed-size{font-size:1.5rem}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h4.fixed-size{font-size:1.25rem}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h5.fixed-size{font-size:1.25rem}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}';var y=t("duet_heading",function(){function t(t){e(this,t);this.level="h2";this.margin="auto";this.visualLevel=undefined;this.border=false;this.weight="auto";this.color="";this.theme="";this.hyphenate=false;this.fixedSize=false}t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){var t;var e=d(this.level);var i=s(this.color);return n(e,{class:(t={"duet-heading":true,"duet-heading-border":this.border!==false,"duet-heading-border-solid":this.border==="solid","duet-normal":this.weight==="normal","duet-semibold":this.weight==="semibold","duet-heading-hyphenate":this.hyphenate,"duet-m-0":this.margin==="none"},t[this.visualLevel?this.visualLevel:this.level]=true,t["duet-theme-turva"]=this.theme==="turva",t["fixed-size"]=this.fixedSize,t),style:{color:i},part:"duet-heading"},n("slot",null))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());y.style=w;var z={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>'};var S='*,*::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}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}.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, 98, 154);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(173, 11, 43)}.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}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button),.duet-link-is-download.duet-link:not(.block,.button){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button) .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:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.button{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:12px;padding-right:20px;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(207, 210, 212);border-radius:12px;outline:0 solid rgb(207, 210, 212);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*{flex-shrink:0}.duet-link.button .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(0, 41, 77);text-align:left}.duet-link.button .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button.duet-link-has-icon-background{min-height:60px}.duet-link.button.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button{gap:16px;min-height:60px;border-radius:16px}.duet-link.button.duet-link-has-icon-background{min-height:72px}.duet-link.button.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva{border-color:rgb(207, 207, 209)}.duet-link.button.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}';var j=t("duet_link",function(){function t(t){e(this,t);this.variation="default";this.accessibleLabel=undefined;this.language=g();this.accessibleLabelExternalDefaults=c;this.accessibleLabelExternal=b(this.accessibleLabelExternalDefaults);this.accessibleLabelDownloadDefaults=p;this.accessibleLabelDownload=b(this.accessibleLabelDownloadDefaults);this.identifier=undefined;this.theme="";this.url="#";this.external=false;this.download=null;this.tabToLink=false;this.icon=undefined;this.iconColor="currentColor";this.iconBackground=null;this.iconResponsive=false;this.padding="auto";this.isSmallScreen=false;this.isMediumScreen=false}t.prototype.componentWillLoad=function(){r(this);this.initMediaQuery();this.resolvedDownload=this.resolveDownload();if(this.variation==="button"&&this.url==="#"){this.url=undefined}};t.prototype.connectedCallback=function(){f(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};t.prototype.disconnectedCallback=function(){k(this);this.destroyMediaQuery()};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.nativeLink.focus(t);return[2]}))}))};t.prototype.initMediaQuery=function(){this.screenTestBound=this.screenTest.bind(this);this.mediaQuerySmall=window.matchMedia(u["xx-small"]);this.mediaQueryMedium=window.matchMedia(u["medium"]);this.isSmallScreen=this.mediaQuerySmall.matches;this.mediaQuerySmall.addEventListener("change",this.screenTestBound);this.mediaQueryMedium.addEventListener("change",this.screenTestBound)};t.prototype.destroyMediaQuery=function(){if(this.mediaQuerySmall){this.mediaQuerySmall.removeEventListener("change",this.screenTestBound)}if(this.mediaQueryMedium){this.mediaQueryMedium.removeEventListener("change",this.screenTestBound)}};t.prototype.screenTest=function(t){this.isSmallScreen=t.matches};t.prototype.getAccessibleLabel=function(){if(this.accessibleLabel){return this.accessibleLabel}if(!!this.download&&this.element.textContent){return"".concat(this.element.textContent,". ").concat(this.accessibleLabelDownload,".")}if(this.external&&this.element.textContent){return"".concat(this.element.textContent,". ").concat(this.accessibleLabelExternal,".")}return null};t.prototype.resolveDownload=function(){if(this.download===""){return this.url.split("/").pop()}return this.download};t.prototype.renderDefaultContent=function(){return n(a,null,n("span",{class:"duet-link-content",part:"duet-link-content"},n("slot",null)),(this.resolvedDownload||this.external)&&this.variation==="default"&&n(a,null,n("span",{class:"duet-link-icon-tail"}," ",n("duet-icon",{icon:this.resolvedDownload?z.svg:m.svg,size:"xx-small",margin:"none",color:"currentColor"}))))};t.prototype.renderBlockContent=function(){return n(a,null,this.icon&&n("span",{class:"block__icon"},n("duet-icon",{size:this.iconResponsive?this.isSmallScreen?"medium":"large":"x-small",name:this.icon,margin:"none",color:this.iconColor})),n("span",{class:"block__content"},this.renderDefaultContent()),n("span",{class:"block__chevron",part:"block-chevron"},n("duet-icon",{class:"block__chevron-icon",icon:this.external?l.svg:h.svg,size:"x-small",margin:"none",color:"primary-dark"})))};t.prototype.renderButtonContent=function(){var t={"background-color":s(this.iconBackground,this.theme)};return n(a,null,n("span",{class:"icon-wrap",style:t},n("duet-icon",{size:this.isMediumScreen?"small":"medium",name:this.icon,margin:"none",color:this.iconColor})),n("span",{class:"duet-link-content",part:"duet-link-content"},n("slot",null)),n("duet-icon",{class:"block__chevron-icon",icon:this.external?l.svg:h.svg,size:"x-small",margin:"none",color:"primary-dark"}))};t.prototype.renderContent=function(){switch(this.variation){case"default":return this.renderDefaultContent();case"block":return this.renderBlockContent();case"button":return this.renderButtonContent()}};t.prototype.render=function(){var t,e;var o=this;var a=!this.url?"button":"a";return n(i,{class:(t={},t["duet-link-".concat(this.variation)]=true,t)},n(a,{href:this.url,class:(e={"duet-link":true,"duet-link-is-external":this.external,"duet-link-is-download":!!this.download,"duet-link-has-icon":!!this.icon,"duet-link-has-icon-background":!!this.iconBackground,"duet-tab-to-link":this.tabToLink,"duet-theme-turva":this.theme==="turva","duet-p-0":this.padding==="none"},e[this.padding]=true,e[this.variation]=true,e),target:this.download||!this.url?null:this.external?"_blank":"_self",download:this.resolvedDownload,"aria-label":this.getAccessibleLabel(),id:this.identifier,ref:function(t){return o.nativeLink=t},part:"duet-link",rel:this.external?"noopener":undefined},this.renderContent()))};Object.defineProperty(t,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());j.style=S;var _='*,*::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;position:relative;display:block;width:100%}.duet-paragraph{margin-bottom:16px !important;display:block;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77)}.duet-paragraph.duet-p-0{padding:0 !important}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.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(23, 28, 58)}.duet-paragraph.duet-paragraph-small{font-size:0.875rem}.duet-paragraph.duet-paragraph-semi-bold{font-weight:600}.duet-paragraph.duet-paragraph-bold{font-weight:700}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.intro{font-size:2.7vw;margin-bottom:28px !important;-webkit-hyphens:inherit;hyphens:inherit}@media (max-width: 37.037037037rem){.duet-paragraph.intro{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-paragraph.intro{font-size:1.25rem}}.duet-paragraph.intro.duet-m-0{margin:0 !important}::slotted(a){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;transition:300ms ease}::slotted(a).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)}::slotted(a):hover{color:rgb(0, 77, 128);text-decoration:none}::slotted(a):hover.duet-theme-turva{color:rgb(148, 9, 37)}::slotted(a):active{opacity:0.75;transition:none}';var I=t("duet_paragraph",function(){function t(t){e(this,t);this.theme="";this.margin="auto";this.size="medium";this.weight=undefined;this.variation="default";this.color=""}t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){var t;var e=s(this.color);return n("p",{class:(t={"duet-paragraph":true,"duet-paragraph-small":this.size==="small","duet-paragraph-semi-bold":this.weight==="semi-bold","duet-paragraph-bold":this.weight==="bold","duet-m-0":this.margin==="none"},t[this.variation]=true,t["duet-theme-turva"]=this.theme==="turva",t),style:{color:e},part:"duet-paragraph"},n("slot",null))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());I.style=_}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{s(i.next(e))}catch(e){a(e)}}function u(e){try{s(i["throw"](e))}catch(e){a(e)}}function s(e){e.done?n(e.value):r(e.value).then(o,u)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return s([e,t])}}function s(u){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(i=1,r&&(a=u[0]&2?r["return"]:u[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;if(r=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;r=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];r=0}finally{i=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-8db70218.system.js","./p-1c689a26.system.js","./p-50f4bca2.system.js"],(function(e){"use strict";var t,n,i,r,a,o;return{setters:[function(e){t=e.r;n=e.h;i=e.H;r=e.g},function(e){a=e.a},function(e){o=e.i}],execute:function(){var u='*,*::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;height:100%}.duet-menu-bar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;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:inherit;font-weight:inherit;color:inherit;color:inherit;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-menu-bar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-item:focus,.duet-menu-bar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-item[aria-expanded=true]{color:rgb(0, 119, 179)}.duet-menu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-menu-bar-item.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"}.duet-menu-bar-item.duet-theme-turva[aria-expanded=true]{color:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-item{padding:0 28px}}.duet-menu-bar-item.active{color:rgb(0, 119, 179)}.duet-menu-bar-item.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-item.active::after{z-index:auto;height:2px}}.duet-menu-bar-item.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item:hover{color:rgb(0, 119, 179)}.duet-menu-bar-item:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';var s=e("duet_menu_bar_item",function(){function e(e){var n=this;t(this,e);this.mql=[window.matchMedia(a.replace(/'/g,""))];this.boundMqlFunctions=[];this.changeIconSize=function(){if(n.mql[0].matches){n.iconSize="x-small"}else{n.iconSize="small"}};this.iconSize="x-small";this.theme="";this.active=false;this.url=undefined;this.leadingIcon=undefined;this.trailingIcon=undefined;this.accessibleLabel=undefined;this.accessibleExpanded=undefined;this.accessiblePopup="false"}e.prototype.componentWillLoad=function(){o(this)};e.prototype.connectedCallback=function(){this.changeIconSize();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.changeIconSize.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[]};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(n){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";return n(i,{role:"listitem"},n(t,{ref:function(t){return e.itemElement=t},class:{"duet-menu-bar-item":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.url,role:"".concat(t==="a"?"link":"button"),"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined},this.leadingIcon&&n("duet-icon",{size:this.iconSize,name:this.leadingIcon,margin:"none",theme:this.theme,color:"currentColor"}),n("slot",null),this.trailingIcon&&n("duet-icon",{class:{"trailing-icon":true,rotate:this.trailingIcon==="action-arrow-down-small"&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon,margin:"none",size:this.trailingIcon==="action-arrow-down-small"?"xxx-small":this.iconSize,color:"currentColor"})))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());s.style=u}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as r,H as s,g as a}from"./p-e852decc.js";import{i as o}from"./p-a58bd561.js";import{c as t}from"./p-5e59e970.js";import{g as i,c as n,d as p}from"./p-2e36d5bf.js";import"./p-0e052642.js";const d=class{constructor(r){e(this,r),this.progressId=t("DuetProgress"),this.progressLabelId=t("DuetProgressLabel"),this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabel=void 0,this.accessibleLabelUploadDefaults={fi:["lähetys valmis","lähetys käynnissä"],sv:["Uppladdningen är klar","Uppladdning pågår"],en:["upload completed","upload in progress"]},this.accessibleLabelUpload=i(this.accessibleLabelUploadDefaults),this.progress=0,this.caption=void 0,this.height="10px",this.theme=""}componentWillLoad(){o(this)}connectedCallback(){n(this,{prop:"accessibleLabelUpload",defaults:"accessibleLabelUploadDefaults"})}disconnectedCallback(){p(this)}render(){return r(s,null,r("div",{"aria-live":this.accessibleLabel?"polite":"off","aria-hidden":this.accessibleLabel?"false":"true","aria-atomic":"true",style:{height:this.height},id:this.progressId,class:{"duet-progress":!0,"duet-progress-done":100===this.progress,"duet-progress-start":0===this.progress,"duet-progress-inprogress":this.progress<99&&0!==this.progress,"duet-theme-turva":"turva"===this.theme}},r("duet-visually-hidden",null,r("label",{htmlFor:this.progressLabelId},r("span",null,this.accessibleLabel,0!==this.progress&&`, ${this.accessibleLabelUpload[this.progress<99?1:0]}`))),this.caption&&r("div",{class:"duet-progress-caption"},r("span",null,this.caption)),r("progress",{id:this.progressLabelId,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,role:"progressbar",value:this.progress,max:"100","aria-valuemin":"0","aria-valuemax":"100"},r("div",{class:"progress-bar"},r("span",{style:{width:`${this.progress}%;`}},"Progress: ",this.progress,"%")))))}get element(){return a(this)}};d.style="*,*::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;width:100%;height:inherit}.duet-progress{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;min-height:1px;}.duet-progress .progress-bar{position:relative;display:block;width:100%;height:inherit;min-height:1px;background-color:rgb(243, 249, 252);border-radius:0;box-shadow:none}.duet-theme-turva .duet-progress .progress-bar{background-color:rgb(252, 243, 244)}.duet-progress .progress-bar>span{display:block;height:inherit;text-indent:-9999px;background-color:rgb(0, 119, 179);border-radius:0}.duet-theme-turva .duet-progress .progress-bar>span{background-color:rgb(198, 12, 48)}.duet-progress progress[value]{display:flex;width:100%;height:inherit;min-height:1px;color:rgb(0, 119, 179);border:0 none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.duet-theme-turva .duet-progress progress[value]{color:rgb(198, 12, 48)}.duet-progress progress[value]::-webkit-progress-bar{background-color:rgb(243, 249, 252);border-radius:0}.duet-theme-turva .duet-progress progress[value]::-webkit-progress-bar{background-color:rgb(252, 243, 244)}.duet-progress progress[value]::-webkit-progress-value{background-color:rgb(0, 119, 179);background-size:35px 20px, 100% 100%, 100% 100%;border-radius:0;-webkit-animation:animate-stripes 5s linear infinite;animation:animate-stripes 5s linear infinite}.duet-theme-turva .duet-progress progress[value]::-webkit-progress-value{background-color:rgb(198, 12, 48)}.duet-progress progress[value] ::-moz-progress-bar{background-color:rgb(243, 249, 252)}.duet-theme-turva .duet-progress progress[value] ::-moz-progress-bar{background-color:rgb(252, 243, 244)}";export{d as duet_progress}