@duetds/components 8.1.1 → 8.1.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 (616) hide show
  1. package/hydrate/index.js +40 -28
  2. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-banner.cjs.entry.js +4 -4
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
  8. package/lib/cjs/duet-button_2.cjs.entry.js +5 -4
  9. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
  11. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-chip.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +3 -3
  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 +2 -2
  27. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  29. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  31. package/lib/cjs/duet-input_2.cjs.entry.js +2 -2
  32. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
  34. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-modal.cjs.entry.js +3 -3
  40. package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
  41. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-pagination_2.cjs.entry.js +3 -3
  46. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-popup-menu.cjs.entry.js +3 -3
  48. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-scrollable_3.cjs.entry.js +3 -3
  53. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  55. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-slideout.cjs.entry.js +11 -8
  62. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +3 -3
  65. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  66. package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
  67. package/lib/cjs/duet-textarea.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  70. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
  71. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  73. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
  74. package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
  75. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  76. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  78. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  79. package/lib/cjs/duet.cjs.js +1 -1
  80. package/lib/cjs/{focus-utils-d0b70745.js → focus-utils-c921d7b4.js} +1 -1
  81. package/lib/cjs/{index-2dc54a15.js → index-23baafec.js} +1 -1
  82. package/lib/cjs/loader.cjs.js +1 -1
  83. package/lib/cjs/{teleport-e9d05bca.js → teleport-e7315776.js} +8 -0
  84. package/lib/cjs/{token-utils-84b3bca6.js → token-utils-f11c288e.js} +1 -1
  85. package/lib/cjs/{tokens-cecc0f2f.js → tokens-c0b8b3a8.js} +1 -1
  86. package/lib/cjs/{tokens.module-10f42b21.js → tokens.module-44ad1fdb.js} +1 -1
  87. package/lib/collection/components/duet-banner/duet-banner.js +1 -1
  88. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +2 -2
  89. package/lib/collection/components/duet-button/duet-button.css +2 -2
  90. package/lib/collection/components/duet-button/duet-button.js +1 -0
  91. package/lib/collection/components/duet-contact-card/duet-contact-card.css +1 -1
  92. package/lib/collection/components/duet-footer/duet-footer.css +1 -1
  93. package/lib/collection/components/duet-input/duet-input.css +2 -2
  94. package/lib/collection/components/duet-list-item/duet-list-item.css +1 -2
  95. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +5 -4
  96. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +12 -20
  97. package/lib/collection/components/duet-multiselect/duet-multiselect.css +12 -4
  98. package/lib/collection/components/duet-multiselect/duet-multiselect.js +1 -1
  99. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +5 -6
  100. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +9 -11
  101. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +1 -1
  102. package/lib/collection/components/duet-select/duet-select.css +1 -1
  103. package/lib/collection/components/duet-slideout/duet-slideout.js +6 -3
  104. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +4 -4
  105. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +15 -7
  106. package/lib/collection/components/duet-tab-group/duet-tab-group.js +3 -3
  107. package/lib/collection/components/duet-textarea/duet-textarea.css +1 -1
  108. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +5 -5
  109. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +12 -10
  110. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +1 -1
  111. package/lib/collection/utils/teleport.js +8 -0
  112. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  113. package/lib/dist-custom-elements/duet-alert.js +1 -1
  114. package/lib/dist-custom-elements/duet-badge.js +1 -1
  115. package/lib/dist-custom-elements/duet-banner.js +6 -6
  116. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  117. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  118. package/lib/dist-custom-elements/duet-button.js +1 -1
  119. package/lib/dist-custom-elements/duet-callout.js +3 -3
  120. package/lib/dist-custom-elements/duet-caption.js +1 -1
  121. package/lib/dist-custom-elements/duet-card.js +4 -4
  122. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  123. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  124. package/lib/dist-custom-elements/duet-chip.js +2 -2
  125. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  126. package/lib/dist-custom-elements/duet-choice.js +5 -5
  127. package/lib/dist-custom-elements/duet-collapsible.js +3 -3
  128. package/lib/dist-custom-elements/duet-combobox.js +2 -2
  129. package/lib/dist-custom-elements/duet-contact-card.js +9 -9
  130. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  131. package/lib/dist-custom-elements/duet-date-picker.js +12 -12
  132. package/lib/dist-custom-elements/duet-divider.js +1 -1
  133. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  134. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  135. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  136. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  137. package/lib/dist-custom-elements/duet-footer.js +5 -5
  138. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  139. package/lib/dist-custom-elements/duet-grid.js +1 -1
  140. package/lib/dist-custom-elements/duet-header.js +9 -9
  141. package/lib/dist-custom-elements/duet-heading.js +1 -1
  142. package/lib/dist-custom-elements/duet-hero.js +9 -9
  143. package/lib/dist-custom-elements/duet-icon.js +1 -1
  144. package/lib/dist-custom-elements/duet-input.js +1 -1
  145. package/lib/dist-custom-elements/duet-label.js +1 -1
  146. package/lib/dist-custom-elements/duet-layout.js +1 -1
  147. package/lib/dist-custom-elements/duet-link.js +1 -1
  148. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  149. package/lib/dist-custom-elements/duet-list.js +1 -1
  150. package/lib/dist-custom-elements/duet-logo.js +1 -1
  151. package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
  152. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
  153. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +4 -4
  154. package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
  155. package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
  156. package/lib/dist-custom-elements/duet-modal.js +8 -8
  157. package/lib/dist-custom-elements/duet-multiselect.js +12 -12
  158. package/lib/dist-custom-elements/duet-nav.js +1 -1
  159. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  160. package/lib/dist-custom-elements/duet-notification.js +2 -2
  161. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  162. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  163. package/lib/dist-custom-elements/duet-pagination.js +14 -14
  164. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  165. package/lib/dist-custom-elements/duet-popup-menu-item.js +4 -4
  166. package/lib/dist-custom-elements/duet-popup-menu.js +3 -3
  167. package/lib/dist-custom-elements/duet-progress.js +1 -1
  168. package/lib/dist-custom-elements/duet-promo-card.js +4 -4
  169. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  170. package/lib/dist-custom-elements/duet-radio.js +1 -1
  171. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  172. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  173. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  174. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  175. package/lib/dist-custom-elements/duet-select.js +1 -1
  176. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  177. package/lib/dist-custom-elements/duet-show-more.js +5 -5
  178. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  179. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  180. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  181. package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
  182. package/lib/dist-custom-elements/duet-slideout.js +10 -7
  183. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  184. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  185. package/lib/dist-custom-elements/duet-step.js +4 -4
  186. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  187. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  188. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
  189. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  190. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  191. package/lib/dist-custom-elements/duet-tab-group.js +15 -15
  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 +11 -11
  195. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  196. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  197. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
  198. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  199. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  200. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  201. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  202. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  203. package/lib/dist-custom-elements/duet-tray.js +4 -4
  204. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  205. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  206. package/lib/dist-custom-elements/duet-upload.js +18 -18
  207. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  208. package/lib/dist-custom-elements/index.js +1 -1
  209. package/lib/dist-custom-elements/{p-e929268c.js → p-003d89e4.js} +2 -2
  210. package/lib/dist-custom-elements/{p-6222a43f.js → p-09d350df.js} +2 -2
  211. package/lib/dist-custom-elements/{p-beb5db77.js → p-0a4f2604.js} +1 -1
  212. package/lib/{esm/tokens-e6b6db9b.js → dist-custom-elements/p-0cc51aa5.js} +1 -1
  213. package/lib/dist-custom-elements/{p-e034dfea.js → p-147a15c7.js} +1 -1
  214. package/lib/dist-custom-elements/p-1a884f8d.js +49 -0
  215. package/lib/dist-custom-elements/{p-04a295c6.js → p-1ecc8fe6.js} +1 -1
  216. package/lib/dist-custom-elements/{p-ba28f5ce.js → p-25e5732f.js} +10 -10
  217. package/lib/dist-custom-elements/{p-d0e52a83.js → p-2ffd3907.js} +1 -1
  218. package/lib/dist-custom-elements/{p-fc1fa737.js → p-32b5c09b.js} +4 -4
  219. package/lib/dist-custom-elements/{p-8e357cfb.js → p-3400ca0c.js} +1 -1
  220. package/lib/dist-custom-elements/{p-916e66c9.js → p-34e3bbfd.js} +2 -2
  221. package/lib/dist-custom-elements/{p-8b89622f.js → p-35de0b49.js} +5 -5
  222. package/lib/dist-custom-elements/{p-76e8ab22.js → p-367ad3f1.js} +2 -2
  223. package/lib/dist-custom-elements/{p-0f8e290f.js → p-5cb5afdb.js} +5 -5
  224. package/lib/dist-custom-elements/{p-5788a98f.js → p-5f0f197a.js} +2 -2
  225. package/lib/dist-custom-elements/p-60857718.js +301 -0
  226. package/lib/dist-custom-elements/{p-994556c0.js → p-63530da2.js} +3 -3
  227. package/lib/dist-custom-elements/{p-65d472d7.js → p-671e391d.js} +2 -2
  228. package/lib/dist-custom-elements/{p-2613ae6a.js → p-709ad7fb.js} +9 -9
  229. package/lib/dist-custom-elements/{p-4391eb0d.js → p-70dfb83b.js} +2 -2
  230. package/lib/dist-custom-elements/{p-b2e550a3.js → p-751344b2.js} +8 -0
  231. package/lib/dist-custom-elements/{p-c057158b.js → p-7d6b2e2a.js} +1 -1
  232. package/lib/dist-custom-elements/{p-10a15ea1.js → p-87c24ccc.js} +1 -1
  233. package/lib/dist-custom-elements/{p-5e1cd480.js → p-8977c832.js} +2 -2
  234. package/lib/dist-custom-elements/{p-490933fd.js → p-8aa81f02.js} +1 -1
  235. package/lib/dist-custom-elements/{p-1b2fea2b.js → p-8b205719.js} +2 -2
  236. package/lib/dist-custom-elements/{p-57a1cba9.js → p-9a81250e.js} +1 -1
  237. package/lib/dist-custom-elements/{p-0b123cad.js → p-a0befa19.js} +4 -4
  238. package/lib/dist-custom-elements/{p-618174a5.js → p-b06dc288.js} +3 -3
  239. package/lib/dist-custom-elements/{p-ff591309.js → p-b1f60850.js} +2 -2
  240. package/lib/dist-custom-elements/{p-24ae0332.js → p-c68e31b1.js} +2 -2
  241. package/lib/dist-custom-elements/{p-47247d7e.js → p-ce5d7b7d.js} +11 -11
  242. package/lib/dist-custom-elements/{p-adef0aaa.js → p-d080d0f8.js} +2 -2
  243. package/lib/dist-custom-elements/{p-064f1578.js → p-e4b39e02.js} +6 -6
  244. package/lib/dist-custom-elements/{p-1e4ca38f.js → p-e4d6f4d9.js} +1 -1
  245. package/lib/dist-custom-elements/{p-435c14fe.js → p-e6db0986.js} +1 -1
  246. package/lib/dist-custom-elements/{p-68bd36c7.js → p-e79a85cc.js} +1 -1
  247. package/lib/duet/duet.esm.js +1 -1
  248. package/lib/duet/duet.js +1 -1
  249. package/lib/duet/{p-a2a3b572.system.entry.js → p-01556920.system.entry.js} +1 -1
  250. package/lib/duet/{p-f18c2892.system.js → p-036071a1.system.js} +1 -1
  251. package/lib/duet/{p-27d40494.system.entry.js → p-03e42478.system.entry.js} +1 -1
  252. package/lib/duet/p-04648bbd.system.entry.js +4 -0
  253. package/lib/duet/{p-3efd29e1.entry.js → p-0584f2d0.entry.js} +1 -1
  254. package/lib/duet/{p-470f5db7.entry.js → p-07650e7e.entry.js} +1 -1
  255. package/lib/duet/{p-5e777157.entry.js → p-0cc36862.entry.js} +1 -1
  256. package/lib/duet/{p-64d43840.js → p-0cc51aa5.js} +1 -1
  257. package/lib/duet/{p-46cacf4b.entry.js → p-0dc0d364.entry.js} +1 -1
  258. package/lib/duet/{p-309546c3.system.entry.js → p-0f9e6b84.system.entry.js} +1 -1
  259. package/lib/duet/{p-26332d59.system.entry.js → p-146d8644.system.entry.js} +1 -1
  260. package/lib/duet/{p-fc366b12.system.entry.js → p-165a02ec.system.entry.js} +1 -1
  261. package/lib/duet/{p-07f5193f.entry.js → p-165e9779.entry.js} +1 -1
  262. package/lib/duet/{p-2ddd31db.entry.js → p-19a7ee95.entry.js} +1 -1
  263. package/lib/duet/{p-fc788a9a.entry.js → p-1a2966fc.entry.js} +1 -1
  264. package/lib/duet/p-1a9958ee.system.js +4 -0
  265. package/lib/duet/{p-094eedb8.entry.js → p-1aa7e90d.entry.js} +1 -1
  266. package/lib/duet/p-1b31feee.entry.js +4 -0
  267. package/lib/duet/{p-f19b59f8.entry.js → p-212608a2.entry.js} +1 -1
  268. package/lib/duet/{p-55fbe6bc.entry.js → p-219b4030.entry.js} +1 -1
  269. package/lib/duet/{p-4dc4f2de.system.entry.js → p-224ef4fb.system.entry.js} +1 -1
  270. package/lib/duet/{p-7c3de686.entry.js → p-232eaac8.entry.js} +1 -1
  271. package/lib/duet/{p-78e18f90.system.entry.js → p-23c53556.system.entry.js} +1 -1
  272. package/lib/duet/{p-11653c1e.entry.js → p-25c520b6.entry.js} +1 -1
  273. package/lib/duet/{p-f1f5dfa4.system.entry.js → p-262be7ec.system.entry.js} +1 -1
  274. package/lib/duet/{p-023ee57b.entry.js → p-277ddf44.entry.js} +1 -1
  275. package/lib/duet/{p-75655f00.entry.js → p-27f85f4b.entry.js} +1 -1
  276. package/lib/duet/{p-4da0332f.entry.js → p-28c5570c.entry.js} +1 -1
  277. package/lib/duet/p-2acffffa.entry.js +4 -0
  278. package/lib/duet/{p-1bd21f27.entry.js → p-2c839646.entry.js} +1 -1
  279. package/lib/duet/{p-ca5dfafc.entry.js → p-2d821b8d.entry.js} +1 -1
  280. package/lib/duet/{p-b32624a6.system.entry.js → p-2ebff6d7.system.entry.js} +1 -1
  281. package/lib/duet/{p-548b740e.entry.js → p-2ffd74b1.entry.js} +1 -1
  282. package/lib/duet/{p-d328922e.entry.js → p-3170506b.entry.js} +1 -1
  283. package/lib/duet/{p-c172f523.entry.js → p-31f882ec.entry.js} +1 -1
  284. package/lib/duet/p-323b233e.system.entry.js +4 -0
  285. package/lib/duet/{p-b294d764.system.entry.js → p-348752e5.system.entry.js} +1 -1
  286. package/lib/duet/{p-31c8c180.entry.js → p-3723bb5e.entry.js} +1 -1
  287. package/lib/duet/{p-582f1599.system.entry.js → p-38e71fa2.system.entry.js} +1 -1
  288. package/lib/duet/p-39927ae1.system.entry.js +4 -0
  289. package/lib/duet/{p-9d6c89df.system.entry.js → p-3b06628b.system.entry.js} +1 -1
  290. package/lib/duet/{p-d0270ec7.system.entry.js → p-3b92f8f8.system.entry.js} +1 -1
  291. package/lib/duet/{p-c6296393.system.entry.js → p-3ff35a28.system.entry.js} +1 -1
  292. package/lib/duet/{p-a57b06db.system.entry.js → p-40838403.system.entry.js} +1 -1
  293. package/lib/duet/{p-8bb9591d.system.js → p-4469e8f9.system.js} +1 -1
  294. package/lib/duet/p-467edb2f.system.entry.js +4 -0
  295. package/lib/duet/{p-bd2b785a.entry.js → p-46cdc3eb.entry.js} +1 -1
  296. package/lib/duet/{p-37d0ea90.system.entry.js → p-47280725.system.entry.js} +1 -1
  297. package/lib/duet/{p-507f463e.entry.js → p-476b19aa.entry.js} +1 -1
  298. package/lib/duet/{p-dba55421.entry.js → p-4855cdd1.entry.js} +1 -1
  299. package/lib/duet/{p-cab7ff29.entry.js → p-4857a879.entry.js} +1 -1
  300. package/lib/duet/{p-4d081cf5.system.entry.js → p-4a125e5e.system.entry.js} +1 -1
  301. package/lib/duet/{p-2877f5d2.system.entry.js → p-4a19cbfe.system.entry.js} +1 -1
  302. package/lib/duet/{p-785b629e.entry.js → p-4bd13a7d.entry.js} +1 -1
  303. package/lib/duet/p-4e70e1e4.system.entry.js +4 -0
  304. package/lib/duet/p-4fd75d60.system.entry.js +4 -0
  305. package/lib/duet/p-5141bab5.system.entry.js +4 -0
  306. package/lib/duet/p-52e711b6.system.js +4 -0
  307. package/lib/duet/{p-16203527.entry.js → p-5358d93b.entry.js} +1 -1
  308. package/lib/duet/{p-89f7e363.system.entry.js → p-541d7034.system.entry.js} +1 -1
  309. package/lib/duet/{p-92d45100.entry.js → p-54fa7330.entry.js} +1 -1
  310. package/lib/duet/{p-ef66a3c3.system.entry.js → p-57b76622.system.entry.js} +1 -1
  311. package/lib/duet/p-5802dd1b.entry.js +4 -0
  312. package/lib/duet/p-594a8770.entry.js +4 -0
  313. package/lib/duet/{p-7206856c.system.entry.js → p-59be3a18.system.entry.js} +1 -1
  314. package/lib/duet/p-5ba2eed6.entry.js +4 -0
  315. package/lib/duet/p-5c358bc1.entry.js +4 -0
  316. package/lib/duet/{p-1d772039.system.entry.js → p-5fd7ca40.system.entry.js} +1 -1
  317. package/lib/duet/{p-530dd0b2.entry.js → p-5ffec513.entry.js} +1 -1
  318. package/lib/duet/{p-27c6aebd.system.entry.js → p-60e172b5.system.entry.js} +1 -1
  319. package/lib/duet/{p-cbfdaac4.system.js → p-613459ec.system.js} +1 -1
  320. package/lib/duet/{p-3772cde9.entry.js → p-64deaa4c.entry.js} +1 -1
  321. package/lib/duet/{p-693ebab3.system.entry.js → p-659496e9.system.entry.js} +1 -1
  322. package/lib/duet/{p-fb5877c4.entry.js → p-67c86fda.entry.js} +1 -1
  323. package/lib/duet/{p-9b877798.system.entry.js → p-692bb988.system.entry.js} +1 -1
  324. package/lib/duet/{p-77216458.system.entry.js → p-69663b1b.system.entry.js} +1 -1
  325. package/lib/duet/{p-0f3f2906.system.entry.js → p-6c2c20cd.system.entry.js} +1 -1
  326. package/lib/duet/{p-63bdc921.system.entry.js → p-6ed3466a.system.entry.js} +1 -1
  327. package/lib/duet/{p-060a790b.system.entry.js → p-6f64f7ad.system.entry.js} +1 -1
  328. package/lib/duet/{p-1a44a9e5.system.entry.js → p-6feae75f.system.entry.js} +1 -1
  329. package/lib/duet/{p-23eaa3b4.system.entry.js → p-7098b274.system.entry.js} +1 -1
  330. package/lib/duet/{p-5ef65fd9.entry.js → p-710baba1.entry.js} +1 -1
  331. package/lib/duet/p-751344b2.js +4 -0
  332. package/lib/duet/{p-5aaf2889.entry.js → p-76126782.entry.js} +1 -1
  333. package/lib/duet/{p-87421fc1.system.entry.js → p-77d57c4f.system.entry.js} +1 -1
  334. package/lib/duet/{p-43249fcf.system.entry.js → p-791b8696.system.entry.js} +1 -1
  335. package/lib/duet/{p-ba95cf16.system.entry.js → p-79ee23d6.system.entry.js} +1 -1
  336. package/lib/duet/{p-c17932bc.entry.js → p-7ab2acd3.entry.js} +1 -1
  337. package/lib/duet/{p-bb05780d.entry.js → p-7af93eb8.entry.js} +1 -1
  338. package/lib/duet/{p-482cb8b5.system.entry.js → p-7f104c3a.system.entry.js} +1 -1
  339. package/lib/duet/{p-3640cb93.entry.js → p-80d1c3cd.entry.js} +1 -1
  340. package/lib/duet/{p-9f19cdc2.entry.js → p-820c3c6a.entry.js} +1 -1
  341. package/lib/duet/{p-68625c53.system.entry.js → p-838a0e3d.system.entry.js} +1 -1
  342. package/lib/duet/{p-93fd3aa5.system.entry.js → p-85531f7d.system.entry.js} +1 -1
  343. package/lib/duet/{p-5be3bb6e.entry.js → p-87d4aa11.entry.js} +1 -1
  344. package/lib/duet/{p-1276c914.js → p-8add9b29.js} +1 -1
  345. package/lib/duet/{p-de9c3476.system.entry.js → p-8b502861.system.entry.js} +1 -1
  346. package/lib/duet/{p-02f49953.system.entry.js → p-8def73a8.system.entry.js} +1 -1
  347. package/lib/duet/{p-9d033a04.system.js → p-8eaaef1c.system.js} +1 -1
  348. package/lib/duet/{p-07ce89ff.system.entry.js → p-926bc03b.system.entry.js} +1 -1
  349. package/lib/duet/p-92956f9e.system.entry.js +4 -0
  350. package/lib/duet/{p-2efce50b.system.entry.js → p-93952086.system.entry.js} +1 -1
  351. package/lib/duet/{p-37811477.system.entry.js → p-94387202.system.entry.js} +1 -1
  352. package/lib/duet/p-96ccba4e.entry.js +4 -0
  353. package/lib/duet/{p-737f4f78.entry.js → p-975d5c57.entry.js} +1 -1
  354. package/lib/duet/{p-27560f1b.system.entry.js → p-9befdbe8.system.entry.js} +1 -1
  355. package/lib/duet/{p-a5f0d126.entry.js → p-9cd2a179.entry.js} +1 -1
  356. package/lib/duet/{p-8693a1f3.entry.js → p-9f68dc35.entry.js} +1 -1
  357. package/lib/duet/{p-ab4e6587.entry.js → p-a26a04d4.entry.js} +1 -1
  358. package/lib/duet/{p-38320af8.js → p-a4fd3204.js} +1 -1
  359. package/lib/duet/{p-9fc19072.entry.js → p-a6753536.entry.js} +1 -1
  360. package/lib/duet/{p-9865ef30.system.entry.js → p-a9babd6c.system.entry.js} +1 -1
  361. package/lib/duet/{p-218eba4d.entry.js → p-aa47193b.entry.js} +1 -1
  362. package/lib/duet/{p-bcee8104.entry.js → p-aad672f1.entry.js} +1 -1
  363. package/lib/duet/{p-a931d71d.entry.js → p-ab380eb2.entry.js} +1 -1
  364. package/lib/duet/{p-c23ab199.entry.js → p-aee18e0f.entry.js} +1 -1
  365. package/lib/duet/{p-ffc50558.system.entry.js → p-af2458bb.system.entry.js} +1 -1
  366. package/lib/duet/{p-538a7c32.system.entry.js → p-af82dc9b.system.entry.js} +1 -1
  367. package/lib/duet/p-b214b357.entry.js +4 -0
  368. package/lib/duet/{p-5bab6421.entry.js → p-b2aa8a23.entry.js} +1 -1
  369. package/lib/duet/p-b587d0b8.entry.js +4 -0
  370. package/lib/duet/{p-917d8b40.system.entry.js → p-b5ec2571.system.entry.js} +1 -1
  371. package/lib/duet/{p-57f6f292.system.entry.js → p-b7f08ac0.system.entry.js} +1 -1
  372. package/lib/duet/{p-885b38a9.system.js → p-b985bcf7.system.js} +1 -1
  373. package/lib/duet/{p-644b687c.system.entry.js → p-b9afc2fb.system.entry.js} +1 -1
  374. package/lib/duet/{p-3126ade6.entry.js → p-b9b8e55c.entry.js} +1 -1
  375. package/lib/duet/{p-db4ca364.js → p-ba073aac.js} +1 -1
  376. package/lib/duet/{p-6399c03a.system.entry.js → p-bb1241dd.system.entry.js} +1 -1
  377. package/lib/duet/{p-f20d29b8.entry.js → p-bc44b51c.entry.js} +1 -1
  378. package/lib/duet/{p-0f162710.entry.js → p-bd513d22.entry.js} +1 -1
  379. package/lib/duet/{p-868deb49.entry.js → p-be4b6375.entry.js} +1 -1
  380. package/lib/duet/{p-db7ec3f2.system.entry.js → p-be945742.system.entry.js} +1 -1
  381. package/lib/duet/{p-3009021d.entry.js → p-c19f8b47.entry.js} +1 -1
  382. package/lib/duet/p-c43ee2af.system.entry.js +4 -0
  383. package/lib/duet/{p-461fd4d8.system.entry.js → p-c79bae8b.system.entry.js} +1 -1
  384. package/lib/duet/{p-5bb41296.system.entry.js → p-c998a6e0.system.entry.js} +1 -1
  385. package/lib/duet/{p-0b16d4ca.system.entry.js → p-c9cdb557.system.entry.js} +1 -1
  386. package/lib/duet/{p-25c78304.entry.js → p-cb9ea98d.entry.js} +1 -1
  387. package/lib/duet/{p-bec206f3.entry.js → p-cbc7c330.entry.js} +1 -1
  388. package/lib/duet/{p-50108ac2.system.entry.js → p-d02213d8.system.entry.js} +1 -1
  389. package/lib/duet/{p-380ee907.system.entry.js → p-d460763b.system.entry.js} +1 -1
  390. package/lib/duet/{p-52471579.system.entry.js → p-d4c8218f.system.entry.js} +1 -1
  391. package/lib/duet/p-d717d828.entry.js +4 -0
  392. package/lib/duet/{p-1753cb05.system.entry.js → p-d73aac37.system.entry.js} +1 -1
  393. package/lib/duet/{p-df073faa.entry.js → p-d75a69ce.entry.js} +1 -1
  394. package/lib/duet/{p-f1d51e20.js → p-d96c1564.js} +1 -1
  395. package/lib/duet/{p-ba993fed.entry.js → p-d9c7f458.entry.js} +1 -1
  396. package/lib/duet/{p-9ce2bf89.system.entry.js → p-dbf2f7c4.system.entry.js} +1 -1
  397. package/lib/duet/{p-df5f7376.entry.js → p-dc079043.entry.js} +1 -1
  398. package/lib/duet/{p-c71634ee.entry.js → p-dc30f206.entry.js} +1 -1
  399. package/lib/duet/p-e00c21b4.system.entry.js +4 -0
  400. package/lib/duet/p-e21f7498.system.entry.js +4 -0
  401. package/lib/duet/{p-d1ef0249.system.entry.js → p-e3472812.system.entry.js} +1 -1
  402. package/lib/duet/{p-00da8ac7.system.entry.js → p-e482c83a.system.entry.js} +2 -2
  403. package/lib/duet/{p-d5c70827.entry.js → p-e5b6378a.entry.js} +1 -1
  404. package/lib/duet/{p-f3efe8c2.system.entry.js → p-ea0b06d3.system.entry.js} +1 -1
  405. package/lib/duet/{p-c13fcc8d.entry.js → p-ea8c019e.entry.js} +1 -1
  406. package/lib/duet/{p-26de4395.system.entry.js → p-ec4c94f2.system.entry.js} +1 -1
  407. package/lib/duet/{p-4196e4ba.entry.js → p-f02dee9c.entry.js} +1 -1
  408. package/lib/duet/p-f0a86dc0.system.entry.js +4 -0
  409. package/lib/duet/{p-609aaedd.entry.js → p-f4b7ed29.entry.js} +1 -1
  410. package/lib/duet/{p-befd7146.system.entry.js → p-f58c84af.system.entry.js} +1 -1
  411. package/lib/duet/{p-6a4fa614.entry.js → p-f59fbe18.entry.js} +1 -1
  412. package/lib/duet/{p-3aa3de10.entry.js → p-f8c7fce1.entry.js} +1 -1
  413. package/lib/duet/{p-7f2e3a82.entry.js → p-fdc585bc.entry.js} +1 -1
  414. package/lib/duet/{p-2c67f7a8.entry.js → p-ffbf6336.entry.js} +1 -1
  415. package/lib/duet/{p-ac0a0c5f.system.entry.js → p-ffd099cc.system.entry.js} +1 -1
  416. package/lib/esm/duet-action-button.entry.js +3 -3
  417. package/lib/esm/duet-alert.entry.js +1 -1
  418. package/lib/esm/duet-badge.entry.js +1 -1
  419. package/lib/esm/duet-banner.entry.js +4 -4
  420. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  421. package/lib/esm/duet-breadcrumbs.entry.js +2 -2
  422. package/lib/esm/duet-button_2.entry.js +5 -4
  423. package/lib/esm/duet-callout.entry.js +1 -1
  424. package/lib/esm/duet-caption_4.entry.js +3 -3
  425. package/lib/esm/duet-card.entry.js +3 -3
  426. package/lib/esm/duet-checkbox.entry.js +1 -1
  427. package/lib/esm/duet-checkmark.entry.js +1 -1
  428. package/lib/esm/duet-chip.entry.js +1 -1
  429. package/lib/esm/duet-choice_2.entry.js +2 -2
  430. package/lib/esm/duet-collapsible.entry.js +2 -2
  431. package/lib/esm/duet-combobox.entry.js +1 -1
  432. package/lib/esm/duet-contact-card.entry.js +2 -2
  433. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  434. package/lib/esm/duet-date-picker.entry.js +2 -2
  435. package/lib/esm/duet-divider_2.entry.js +3 -3
  436. package/lib/esm/duet-editable-table_3.entry.js +3 -3
  437. package/lib/esm/duet-empty-state.entry.js +1 -1
  438. package/lib/esm/duet-fieldset.entry.js +1 -1
  439. package/lib/esm/duet-file-chooser.entry.js +1 -1
  440. package/lib/esm/duet-footer.entry.js +2 -2
  441. package/lib/esm/duet-grid_2.entry.js +2 -2
  442. package/lib/esm/duet-header_2.entry.js +3 -3
  443. package/lib/esm/duet-hero.entry.js +1 -1
  444. package/lib/esm/duet-icon.entry.js +3 -3
  445. package/lib/esm/duet-input_2.entry.js +2 -2
  446. package/lib/esm/duet-layout.entry.js +1 -1
  447. package/lib/esm/duet-list_2.entry.js +2 -2
  448. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  449. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  450. package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
  451. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  452. package/lib/esm/duet-menu-bar.entry.js +2 -2
  453. package/lib/esm/duet-modal.entry.js +3 -3
  454. package/lib/esm/duet-multiselect.entry.js +3 -3
  455. package/lib/esm/duet-nav.entry.js +1 -1
  456. package/lib/esm/duet-notification_2.entry.js +1 -1
  457. package/lib/esm/duet-number-input.entry.js +1 -1
  458. package/lib/esm/duet-page-heading.entry.js +1 -1
  459. package/lib/esm/duet-pagination_2.entry.js +3 -3
  460. package/lib/esm/duet-popup-menu-item.entry.js +3 -3
  461. package/lib/esm/duet-popup-menu.entry.js +3 -3
  462. package/lib/esm/duet-progress.entry.js +1 -1
  463. package/lib/esm/duet-promo-card.entry.js +3 -3
  464. package/lib/esm/duet-radio_2.entry.js +1 -1
  465. package/lib/esm/duet-range-slider.entry.js +2 -2
  466. package/lib/esm/duet-scrollable_3.entry.js +3 -3
  467. package/lib/esm/duet-section-layout.entry.js +1 -1
  468. package/lib/esm/duet-select.entry.js +2 -2
  469. package/lib/esm/duet-shaped-image.entry.js +1 -1
  470. package/lib/esm/duet-show-more.entry.js +1 -1
  471. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  472. package/lib/esm/duet-slideout-link.entry.js +1 -1
  473. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  474. package/lib/esm/duet-slideout-panel.entry.js +4 -4
  475. package/lib/esm/duet-slideout.entry.js +11 -8
  476. package/lib/esm/duet-step_2.entry.js +1 -1
  477. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  478. package/lib/esm/duet-submenu-bar-dropdown.entry.js +3 -3
  479. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  480. package/lib/esm/duet-submenu-bar.entry.js +2 -2
  481. package/lib/esm/duet-textarea.entry.js +2 -2
  482. package/lib/esm/duet-toggle.entry.js +1 -1
  483. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  484. package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
  485. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  486. package/lib/esm/duet-toolbar.entry.js +1 -1
  487. package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
  488. package/lib/esm/duet-tooltip.entry.js +2 -2
  489. package/lib/esm/duet-tray.entry.js +2 -2
  490. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  491. package/lib/esm/duet-upload-item.entry.js +1 -1
  492. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  493. package/lib/esm/duet.js +2 -2
  494. package/lib/esm/{focus-utils-23aad0c9.js → focus-utils-d6fb240b.js} +1 -1
  495. package/lib/esm/{index-02e78bbf.js → index-5f1c2664.js} +1 -1
  496. package/lib/esm/loader.js +2 -2
  497. package/lib/esm/{teleport-4462e8c1.js → teleport-691e534d.js} +8 -0
  498. package/lib/esm/{token-utils-b4bd3ec7.js → token-utils-84d66351.js} +1 -1
  499. package/lib/{dist-custom-elements/p-64d43840.js → esm/tokens-5a0d14c7.js} +1 -1
  500. package/lib/esm/{tokens.module-c7944140.js → tokens.module-16569707.js} +1 -1
  501. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  502. package/lib/esm-es5/duet-alert.entry.js +1 -1
  503. package/lib/esm-es5/duet-badge.entry.js +1 -1
  504. package/lib/esm-es5/duet-banner.entry.js +1 -1
  505. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  506. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  507. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  508. package/lib/esm-es5/duet-callout.entry.js +1 -1
  509. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  510. package/lib/esm-es5/duet-card.entry.js +1 -1
  511. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  512. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  513. package/lib/esm-es5/duet-chip.entry.js +1 -1
  514. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  515. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  516. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  517. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  518. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  519. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  520. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  521. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  522. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  523. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  524. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  525. package/lib/esm-es5/duet-footer.entry.js +1 -1
  526. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  527. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  528. package/lib/esm-es5/duet-hero.entry.js +1 -1
  529. package/lib/esm-es5/duet-icon.entry.js +1 -1
  530. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  531. package/lib/esm-es5/duet-layout.entry.js +1 -1
  532. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  533. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  534. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  535. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  536. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  537. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  538. package/lib/esm-es5/duet-modal.entry.js +1 -1
  539. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  540. package/lib/esm-es5/duet-nav.entry.js +1 -1
  541. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  542. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  543. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  544. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  545. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  546. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  547. package/lib/esm-es5/duet-progress.entry.js +1 -1
  548. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  549. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  550. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  551. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  552. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  553. package/lib/esm-es5/duet-select.entry.js +1 -1
  554. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  555. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  556. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  557. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  558. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  559. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  560. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  561. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  562. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  563. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  564. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  565. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  566. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  567. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  568. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  569. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  570. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  571. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  572. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  573. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  574. package/lib/esm-es5/duet-tray.entry.js +1 -1
  575. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  576. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  577. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  578. package/lib/esm-es5/duet.js +1 -1
  579. package/lib/esm-es5/focus-utils-d6fb240b.js +4 -0
  580. package/lib/esm-es5/{index-02e78bbf.js → index-5f1c2664.js} +1 -1
  581. package/lib/esm-es5/loader.js +1 -1
  582. package/lib/esm-es5/teleport-691e534d.js +4 -0
  583. package/lib/esm-es5/{token-utils-b4bd3ec7.js → token-utils-84d66351.js} +1 -1
  584. package/lib/esm-es5/{tokens-e6b6db9b.js → tokens-5a0d14c7.js} +1 -1
  585. package/lib/esm-es5/{tokens.module-c7944140.js → tokens.module-16569707.js} +1 -1
  586. package/lib/types/components/duet-slideout/duet-slideout.d.ts +1 -0
  587. package/package.json +9 -6
  588. package/lib/dist-custom-elements/p-1224c98d.js +0 -300
  589. package/lib/dist-custom-elements/p-63ec7678.js +0 -49
  590. package/lib/duet/p-0981fdb2.entry.js +0 -4
  591. package/lib/duet/p-0a5966c8.system.entry.js +0 -4
  592. package/lib/duet/p-176fa0e5.system.entry.js +0 -4
  593. package/lib/duet/p-24423276.system.entry.js +0 -4
  594. package/lib/duet/p-245dedef.system.entry.js +0 -4
  595. package/lib/duet/p-24f96782.system.entry.js +0 -4
  596. package/lib/duet/p-32aed830.system.entry.js +0 -4
  597. package/lib/duet/p-461d8a0b.entry.js +0 -4
  598. package/lib/duet/p-67c653f9.system.js +0 -4
  599. package/lib/duet/p-6b4c9fe2.entry.js +0 -4
  600. package/lib/duet/p-773d5541.system.entry.js +0 -4
  601. package/lib/duet/p-82b6d775.system.entry.js +0 -4
  602. package/lib/duet/p-95f33440.entry.js +0 -4
  603. package/lib/duet/p-9e36548d.system.js +0 -4
  604. package/lib/duet/p-a69a6b39.system.entry.js +0 -4
  605. package/lib/duet/p-abe0caff.system.entry.js +0 -4
  606. package/lib/duet/p-b2e550a3.js +0 -4
  607. package/lib/duet/p-bca48b8e.system.entry.js +0 -4
  608. package/lib/duet/p-d23f7bd1.entry.js +0 -4
  609. package/lib/duet/p-d5271b57.entry.js +0 -4
  610. package/lib/duet/p-d832be12.entry.js +0 -4
  611. package/lib/duet/p-e3ba4d89.entry.js +0 -4
  612. package/lib/duet/p-ef4a09e9.entry.js +0 -4
  613. package/lib/duet/p-f2b556d7.system.entry.js +0 -4
  614. package/lib/duet/p-fcfe83b1.entry.js +0 -4
  615. package/lib/esm-es5/focus-utils-23aad0c9.js +0 -4
  616. package/lib/esm-es5/teleport-4462e8c1.js +0 -4
@@ -1,300 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-04a295c6.js';
5
- import { i as inheritGlobalTheme } from './p-a58bd561.js';
6
- import { D as DuetStringsExternalDefaults, a as DuetStringsLoadingDefaults } from './p-4ab776f4.js';
7
- import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2e36d5bf.js';
8
- import { g as getColorByName } from './p-57a1cba9.js';
9
- import { d as defineCustomElement$3 } from './p-65d472d7.js';
10
- import { d as defineCustomElement$2 } from './p-24ae0332.js';
11
- import { d as defineCustomElement$1 } from './p-68bd36c7.js';
12
-
13
- const duetButtonCss = "*,*::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-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.input-button){z-index:250}:host(.duet-small){margin-right:2px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small){width:auto}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;width:100%}.duet-button{padding:14px 27px 15px !important;-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:2px;border-radius:20rem;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){padding:9px 19px 10px !important;min-width:48px;font-size:0.875rem}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon{padding-left:48px !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon-right{padding-right:48px !important;padding-left:20px !important}.duet-theme-turva .duet-button{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) !important}.duet-button .duet-button-contents{position:relative;display:inline-block;margin:0 auto;pointer-events:none}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button.icon{padding-left:52px !important}.duet-button.icon-right{padding-right:52px !important;padding-left:28px !important}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{position:absolute;top:50%;left:-28px;display:flex;align-items:center;justify-content:center;width:16px;height:16px;margin:0 !important;transform:translateY(-50%)}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.right{right:-28px;left:auto}.duet-button .duet-button-icon.large{left:-32px;width:20px;height:20px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.large.right{right:-32px;left:auto}.duet-button .duet-button-icon.medium-small{left:-16px;width:10px;height:10px;padding-top:1px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.medium-small.right{right:-16px;left:auto}.duet-button .duet-button-icon.small{left:-16px;width:7px;height:7px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button .duet-button-icon.small.right{right:-16px;left:auto}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{border-color:rgb(225, 227, 230)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(228, 228, 230)}.duet-button.default:hover{border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(228, 228, 230) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover{background:rgb(148, 9, 37);border-color:rgb(148, 9, 37)}.duet-button.primary:focus,.duet-button.input-button-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-embedded{color:rgb(0, 41, 77) !important;background:transparent;border-color:rgb(0, 41, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(225, 227, 230) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.negative{color:rgb(0, 41, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(222, 35, 98);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(224, 42, 13);border-color:rgb(224, 42, 13)}.duet-button.destructive-primary:hover{background:#b21c4e;border-color:#b21c4e;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#b3220a}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(222, 35, 98) !important;background:rgb(255, 255, 255);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(224, 42, 13) !important;background:rgb(255, 255, 255);border-color:rgb(224, 42, 13)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b21c4e;border-color:#b21c4e}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b3220a;border-color:#b3220a}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.icon{padding-left:20px !important}.duet-button.plain.icon.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.small{padding-left:20px !important}.duet-button.plain.icon.small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium-small{padding-left:20px !important}.duet-button.plain.icon.medium-small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium{padding-left:24px !important}.duet-button.plain.icon.medium.icon-right{padding-right:24px !important;padding-left:0 !important}.duet-button.plain.icon.large{padding-left:30px !important}.duet-button.plain.icon.large.icon-right{padding-right:30px !important;padding-left:0 !important}.duet-button.plain .duet-button-icon.left{left:-16.6666666667px !important}.duet-button.plain .duet-button-icon.left.medium{left:-24px !important}.duet-button.plain .duet-button-icon.left.large{left:-30px !important}.duet-button.plain .duet-button-icon.right{right:-16.6666666667px !important}.duet-button.plain .duet-button-icon.right.medium{right:-24px !important}.duet-button.plain .duet-button-icon.right.large{right:-30px !important}.duet-button.plain[disabled]{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(228, 228, 230) !important}.duet-button.plain:hover{color:rgb(0, 77, 128) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(148, 9, 37) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.plain.duet-button-negative:hover{color:rgb(0, 119, 179) !important}.duet-theme-turva .duet-button.plain.duet-button-negative:hover{color:rgb(198, 12, 48) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px;border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.square{width:48px !important;min-width:auto !important;height:48px !important;padding:0 !important;font-size:1.25rem;border-color:rgb(225, 227, 230);border-width:1px;border-radius:8px}.duet-button.square.duet-button-is-small{width:28px !important;height:28px !important;padding:0 !important;font-size:1rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(228, 228, 230)}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(116, 116, 117) !important;cursor:not-allowed;background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}";
14
-
15
- const DuetButton = /*@__PURE__*/ proxyCustomElement(class DuetButton extends H {
16
- constructor() {
17
- super();
18
- this.__registerHost();
19
- this.__attachShadow();
20
- this.duetFocus = createEvent(this, "duetFocus", 7);
21
- this.duetBlur = createEvent(this, "duetBlur", 7);
22
- /**
23
- * Component event handling.
24
- */
25
- this.handleClick = (ev) => {
26
- // If this button wants to specifically submit a form
27
- // climb up the dom to see if we're in a <form>
28
- // and if so, then use JS to submit it.
29
- // To understand better, see: https://www.hjorthhansen.dev/shadow-dom-form-participation/
30
- if (!this.url && this.element.closest("form")) {
31
- ev.preventDefault();
32
- this.proxyButton.click();
33
- }
34
- };
35
- this.onFocus = () => {
36
- this.duetFocus.emit();
37
- };
38
- this.onBlur = () => {
39
- this.duetBlur.emit();
40
- };
41
- this.accessibleLabel = undefined;
42
- this.accessibleControls = undefined;
43
- this.accessiblePopup = "false";
44
- this.accessibleActiveDescendant = undefined;
45
- this.accessibleOwns = undefined;
46
- this.accessibleDescribedBy = undefined;
47
- this.accessibleDetails = undefined;
48
- this.accessibleLabelledBy = undefined;
49
- this.accessibleDescription = undefined;
50
- this.accessibleExpanded = undefined;
51
- this.accessiblePressed = undefined;
52
- this.loading = false;
53
- this.variation = "default";
54
- this.negative = false;
55
- this.theme = "";
56
- this.margin = "auto";
57
- this.padding = "auto";
58
- this.centerText = false;
59
- this.wrapping = "auto";
60
- this.expand = false;
61
- this.fixed = false;
62
- this.disabled = false;
63
- this.name = undefined;
64
- this.value = undefined;
65
- this.identifier = undefined;
66
- this.submit = false;
67
- this.external = false;
68
- this.language = getLanguage();
69
- this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
70
- this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
71
- this.accessibleLabelLoadingDefaults = DuetStringsLoadingDefaults;
72
- this.accessibleLabelLoading = getLocaleString(this.accessibleLabelLoadingDefaults);
73
- this.icon = "";
74
- this.color = "";
75
- this.iconRight = false;
76
- this.iconSize = "medium";
77
- this.size = "medium";
78
- this.iconOnly = false;
79
- this.url = undefined;
80
- }
81
- /**
82
- * Component lifecycle events.
83
- */
84
- componentWillLoad() {
85
- inheritGlobalTheme(this);
86
- if (this.url && this.external && this.icon) {
87
- console.warn("[DUET]: Button used as an external link will override any icon that is set");
88
- }
89
- }
90
- connectedCallback() {
91
- this.proxyButton = document.createElement("button");
92
- this.proxyButton.style.display = "none";
93
- this.syncToProxyButton();
94
- connectLanguageChangeObserver(this, [
95
- {
96
- prop: "accessibleLabelExternal",
97
- defaults: "accessibleLabelExternalDefaults",
98
- },
99
- {
100
- prop: "accessibleLabelLoading",
101
- defaults: "accessibleLabelLoadingDefaults",
102
- },
103
- ]);
104
- if (!this.url && this.element.closest("form")) {
105
- this.element.insertAdjacentElement("beforebegin", this.proxyButton);
106
- }
107
- }
108
- disconnectedCallback() {
109
- this.proxyButton.remove();
110
- this.proxyButton = null;
111
- disconnectLanguageChangeObserver(this);
112
- }
113
- syncToProxyButton() {
114
- this.proxyButton.type = this.getButtonType();
115
- this.proxyButton.disabled = this.disabled;
116
- // attributes should be removed in cases where name/value is not set
117
- if (this.name != null) {
118
- this.proxyButton.name = this.name;
119
- }
120
- else {
121
- this.proxyButton.removeAttribute("name");
122
- }
123
- if (this.value != null) {
124
- this.proxyButton.value = this.value;
125
- }
126
- else {
127
- this.proxyButton.removeAttribute("value");
128
- }
129
- }
130
- getButtonType() {
131
- return this.submit ? "submit" : "button";
132
- }
133
- getButtonIconSize() {
134
- switch (this.iconSize) {
135
- case "small":
136
- return "small";
137
- case "medium-small":
138
- return "medium-small";
139
- case "medium":
140
- return "medium";
141
- case "large":
142
- return "large";
143
- default:
144
- return "medium";
145
- }
146
- }
147
- /**
148
- * Sets focus on the specified `duet-button`. Use this method instead of the global
149
- * `button.focus()`.
150
- */
151
- async setFocus(options) {
152
- if (this.nativeButton) {
153
- this.nativeButton.focus(options);
154
- }
155
- }
156
- /**
157
- * render() function.
158
- * Always the last one in the class.
159
- */
160
- render() {
161
- var _a;
162
- const isExternalLink = this.external && this.url;
163
- // enforce consistency for external links
164
- const icon = isExternalLink ? "action-new-window" : this.icon;
165
- const iconRight = isExternalLink ? true : this.iconRight;
166
- const commonChildren = (h("span", { class: "duet-button-contents", style: { color: getColorByName(this.color) } }, icon && (h("div", { "aria-hidden": "true", class: {
167
- "duet-button-icon": true,
168
- left: !iconRight,
169
- right: iconRight,
170
- [this.getButtonIconSize()]: true,
171
- } }, h("duet-icon", { size: "auto", margin: "none", name: icon, color: "currentColor" }))), h("slot", null)));
172
- const commonProps = {
173
- onFocus: this.onFocus,
174
- onBlur: this.onBlur,
175
- ref: button => (this.nativeButton = button),
176
- id: this.identifier,
177
- class: {
178
- "duet-m-0": this.margin === "none",
179
- "duet-p-0": this.padding === "none",
180
- "duet-no-wrap": this.wrapping === "none",
181
- "duet-button": true,
182
- "duet-button-is-small": this.size === "small",
183
- "duet-button-icon-only": this.iconOnly,
184
- "duet-button-text-center": this.centerText,
185
- "duet-button-negative": this.negative || this.variation === "negative",
186
- [this.variation]: true,
187
- disabled: this.disabled,
188
- icon: !!icon,
189
- "icon-right": iconRight,
190
- [this.getButtonIconSize()]: true,
191
- },
192
- "aria-controls": this.accessibleControls,
193
- "aria-label": this.accessibleLabel,
194
- "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined,
195
- "aria-activedescendant": this.accessibleActiveDescendant,
196
- "aria-owns": this.accessibleOwns,
197
- "aria-describedby": this.accessibleDescribedBy,
198
- "aria-labelledby": this.accessibleLabelledBy,
199
- "aria-details": this.accessibleDetails,
200
- "aria-description": this.accessibleDescription,
201
- };
202
- return (h(Host, { onClick: this.handleClick, class: {
203
- "duet-m-0": this.margin === "none",
204
- "duet-small": this.size === "small",
205
- "duet-fixed": this.fixed,
206
- "duet-expand": this.expand,
207
- "input-button": (_a = this.variation) === null || _a === void 0 ? void 0 : _a.startsWith("input-button"),
208
- } }, h("div", { class: {
209
- "duet-button-container": true,
210
- "duet-button-is-loading": this.loading,
211
- "duet-theme-turva": this.theme === "turva",
212
- "duet-button-negative": this.negative || this.variation === "negative",
213
- [this.variation]: true,
214
- } }, this.url ? (h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && h("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && h("duet-spinner", { color: "currentColor" }))));
215
- }
216
- get element() { return this; }
217
- static get watchers() { return {
218
- "disabled": ["syncToProxyButton"],
219
- "submit": ["syncToProxyButton"],
220
- "value": ["syncToProxyButton"],
221
- "name": ["syncToProxyButton"]
222
- }; }
223
- static get style() { return duetButtonCss; }
224
- }, [1, "duet-button", {
225
- "accessibleLabel": [1, "accessible-label"],
226
- "accessibleControls": [1, "accessible-controls"],
227
- "accessiblePopup": [1, "accessible-popup"],
228
- "accessibleActiveDescendant": [1, "accessible-active-descendant"],
229
- "accessibleOwns": [1, "accessible-owns"],
230
- "accessibleDescribedBy": [1, "accessible-described-by"],
231
- "accessibleDetails": [1, "accessible-details"],
232
- "accessibleLabelledBy": [1, "accessible-labelled-by"],
233
- "accessibleDescription": [1, "accessible-description"],
234
- "accessibleExpanded": [4, "accessible-expanded"],
235
- "accessiblePressed": [4, "accessible-pressed"],
236
- "loading": [4],
237
- "variation": [1],
238
- "negative": [4],
239
- "theme": [1025],
240
- "margin": [1],
241
- "padding": [1],
242
- "centerText": [4, "center-text"],
243
- "wrapping": [1],
244
- "expand": [4],
245
- "fixed": [4],
246
- "disabled": [516],
247
- "name": [1],
248
- "value": [1],
249
- "identifier": [1],
250
- "submit": [516],
251
- "external": [4],
252
- "language": [1537],
253
- "accessibleLabelExternalDefaults": [1, "accessible-label-external-default"],
254
- "accessibleLabelExternal": [1025, "accessible-label-external"],
255
- "accessibleLabelLoadingDefaults": [1, "accessible-label-loading-default"],
256
- "accessibleLabelLoading": [1025, "accessible-label-loading"],
257
- "icon": [1],
258
- "color": [1],
259
- "iconRight": [4, "icon-right"],
260
- "iconSize": [1, "icon-size"],
261
- "size": [1],
262
- "iconOnly": [4, "icon-only"],
263
- "url": [513],
264
- "setFocus": [64]
265
- }, undefined, {
266
- "disabled": ["syncToProxyButton"],
267
- "submit": ["syncToProxyButton"],
268
- "value": ["syncToProxyButton"],
269
- "name": ["syncToProxyButton"]
270
- }]);
271
- function defineCustomElement() {
272
- if (typeof customElements === "undefined") {
273
- return;
274
- }
275
- const components = ["duet-button", "duet-icon", "duet-spinner", "duet-visually-hidden"];
276
- components.forEach(tagName => { switch (tagName) {
277
- case "duet-button":
278
- if (!customElements.get(tagName)) {
279
- customElements.define(tagName, DuetButton);
280
- }
281
- break;
282
- case "duet-icon":
283
- if (!customElements.get(tagName)) {
284
- defineCustomElement$3();
285
- }
286
- break;
287
- case "duet-spinner":
288
- if (!customElements.get(tagName)) {
289
- defineCustomElement$2();
290
- }
291
- break;
292
- case "duet-visually-hidden":
293
- if (!customElements.get(tagName)) {
294
- defineCustomElement$1();
295
- }
296
- break;
297
- } });
298
- }
299
-
300
- export { DuetButton as D, defineCustomElement as d };
@@ -1,49 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-04a295c6.js';
5
-
6
- const duetListItemCss = "*,*::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;flex-direction:column;display:flex;width:100%;overflow:visible;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;line-height:1.25;color:rgb(0, 41, 77)}:host dt{padding-bottom:4px}:host dd{padding-top:0}:host dt,:host dd{flex-basis:100%}:host dt,:host dd{width:100%;margin-inline-start:0;-webkit-hyphens:auto;hyphens:auto;text-align:left;word-break:break-all;word-break:break-word}:host dt{font-weight:600}.duet-theme-turva :host dt{font-weight:700}:host dd{margin-left:auto}:host(.duet-list-striped) dt,:host(.duet-list-striped) dd{padding:16px}:host(.duet-list-striped) dt{padding-bottom:4px}:host(.duet-list-striped) dd{padding-top:0}:host(.duet-list-striped.duet-no-stacking) dt,:host(.duet-list-striped.duet-no-stacking) dd{padding:16px}:host(:not(.duet-list-striped)) dt,:host(:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(:not(.duet-list-striped)) dt{padding-bottom:4px}:host(:not(.duet-list-striped)) dd{padding-top:0}:host(:not(.duet-list-striped).duet-no-stacking) dt,:host(:not(.duet-list-striped).duet-no-stacking) dd{padding:8px;padding-inline:0}:host(.duet-p-0) dt,:host(.duet-p-0) dd{padding:0 !important}:host(.duet-list-mobile-center) dt,:host(.duet-list-mobile-center) dd{text-align:center}: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(23, 28, 58)}:host(.duet-list-striped:nth-child(odd)) dt,:host(.duet-list-striped:nth-child(odd)) dd{background:rgb(245, 248, 250)}:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dt,:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dd{background:rgb(245, 245, 247)}:host(.duet-list-bordered){border-block-start:1px solid rgb(225, 227, 230)}:host(.duet-list-bordered:last-child){border-block-end:1px solid rgb(225, 227, 230)}:host(.duet-list-bordered.duet-theme-turva){border-block-start:1px solid rgb(228, 228, 230)}:host(.duet-list-bordered.duet-theme-turva:last-child){border-block-end:1px solid rgb(228, 228, 230)}:host(.duet-list-inner-bordered:not(:last-child)){border-block-end:1px solid rgb(225, 227, 230)}:host(.duet-list-inner-bordered.duet-theme-turva:not(:last-child)){border-block-end:1px solid rgb(228, 228, 230)}:host(.duet-no-stacking){flex-direction:row}:host(.duet-list-mobile-center.duet-no-stacking) dt,:host(.duet-list-mobile-center.duet-no-stacking) dd{text-align:left}:host(.duet-no-stacking.duet-list-width-30) dt{flex-basis:33%}:host(.duet-no-stacking.duet-list-width-30) dd{flex-basis:67%}:host(.duet-no-stacking.duet-list-width-50) dt{flex-basis:47%}:host(.duet-no-stacking.duet-list-width-50) dd{flex-basis:53%}:host(.duet-no-stacking.duet-list-width-70) dt{flex-basis:65%}:host(.duet-no-stacking.duet-list-width-70) dd{flex-basis:35%}:host(.duet-list-item-breakpoint-x-small){flex-direction:row}:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-x-small.duet-p-0) dt,:host(.duet-list-item-breakpoint-x-small.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dd{flex-basis:35%}@media (max-width: 22.5em){:host(.duet-list-item-breakpoint-x-small){flex-direction:column}:host(.duet-list-item-breakpoint-x-small) dt{padding-bottom:4px}:host(.duet-list-item-breakpoint-x-small) dd{padding-top:0}:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dt{padding-bottom:4px}:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dd{padding-top:0}:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dt{padding-bottom:4px}:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dd{padding-top:0}:host(.duet-list-item-breakpoint-x-small.duet-p-0) dt,:host(.duet-list-item-breakpoint-x-small.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dd{text-align:center}:host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dd{flex-basis:100%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dd{flex-basis:100%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dd{flex-basis:100%}}@media (min-width: 36em){:host(.duet-list-item-breakpoint-small){flex-direction:row}:host(.duet-list-item-breakpoint-small.duet-list-striped) dt,:host(.duet-list-item-breakpoint-small.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-small:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-small:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-small.duet-p-0) dt,:host(.duet-list-item-breakpoint-small.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-small.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-small.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-small.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-small.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-small.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-small.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-small.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-small.duet-list-width-70) dd{flex-basis:35%}}@media (min-width: 48em){:host(.duet-list-item-breakpoint-medium){flex-direction:row}:host(.duet-list-item-breakpoint-medium.duet-list-striped) dt,:host(.duet-list-item-breakpoint-medium.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-medium:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-medium:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-medium.duet-p-0) dt,:host(.duet-list-item-breakpoint-medium.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-medium.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-medium.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-medium.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-medium.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-medium.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-medium.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-medium.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-medium.duet-list-width-70) dd{flex-basis:35%}}@media (min-width: 62em){:host(.duet-list-item-breakpoint-large){flex-direction:row}:host(.duet-list-item-breakpoint-large.duet-list-striped) dt,:host(.duet-list-item-breakpoint-large.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-large:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-large:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-large.duet-p-0) dt,:host(.duet-list-item-breakpoint-large.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-large.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-large.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-large.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-large.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-large.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-large.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-large.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-large.duet-list-width-70) dd{flex-basis:35%}}@media (min-width: 64.0625em){:host(.duet-list-item-breakpoint-x-large){flex-direction:row}:host(.duet-list-item-breakpoint-x-large.duet-list-striped) dt,:host(.duet-list-item-breakpoint-x-large.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-x-large:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-x-large:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-x-large.duet-p-0) dt,:host(.duet-list-item-breakpoint-x-large.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-x-large.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-x-large.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-x-large.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-70) dd{flex-basis:35%}}";
7
-
8
- const DuetListItem = /*@__PURE__*/ proxyCustomElement(class DuetListItem extends H {
9
- constructor() {
10
- super();
11
- this.__registerHost();
12
- this.__attachShadow();
13
- this.responsive = false;
14
- this.breakpoint = "small";
15
- }
16
- /**
17
- * render() function
18
- * Always the last one in the class.
19
- */
20
- render() {
21
- return (h(Host, { class: {
22
- "duet-no-stacking": !this.responsive,
23
- "duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
24
- "duet-list-item-breakpoint-small": this.breakpoint === "small",
25
- "duet-list-item-breakpoint-medium": this.breakpoint === "medium",
26
- "duet-list-item-breakpoint-large": this.breakpoint === "large",
27
- "duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
28
- } }, h("dt", null, h("slot", { name: "label" })), h("dd", null, h("slot", { name: "value" }))));
29
- }
30
- static get style() { return duetListItemCss; }
31
- }, [1, "duet-list-item", {
32
- "responsive": [4],
33
- "breakpoint": [1]
34
- }]);
35
- function defineCustomElement() {
36
- if (typeof customElements === "undefined") {
37
- return;
38
- }
39
- const components = ["duet-list-item"];
40
- components.forEach(tagName => { switch (tagName) {
41
- case "duet-list-item":
42
- if (!customElements.get(tagName)) {
43
- customElements.define(tagName, DuetListItem);
44
- }
45
- break;
46
- } });
47
- }
48
-
49
- export { DuetListItem as D, defineCustomElement as d };
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as e,h as i,H as s,g as o}from"./p-1276c914.js";import{i as l}from"./p-a58bd561.js";import{c as a}from"./p-5e59e970.js";import{f as r,o as u,j as n,d as c,b as h,a as d,c as m}from"./p-2bb2b022.js";import{a as p,c as b,d as g}from"./p-2e36d5bf.js";import{p as x}from"./p-0e052642.js";const v=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.errorId=a("DuetError"),this.labelId=a("DuetLabel"),this.topCaptionId=a("DuetCaptionTop"),this.selectedLangObject={en:"selected",fi:"valittu",sv:"vald"},this.selectAllLabel={en:"Select all",fi:"Valitse kaikki",sv:"Välj alla"},this.clearAllLabel={en:"Clear all",fi:"Tyhjennä kaikki",sv:"Rensa alla"},this.placeholderLabel={en:"Hint",fi:"Vihje",sv:"Tips"},this.onChange=t=>{this.duetChange.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onBlur=t=>{this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onFocus=t=>{this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onMultiselectKeyDown=t=>{(r(t)||u(t))&&this.checkboxesVisible&&(this.checkboxesVisible=!1,this.multiselectElement.focus(),t.preventDefault())},this.onMultiselectInputKeyDown=t=>{n(t)&&(t.preventDefault(),this.toggleCheckboxes(),setTimeout((()=>{if(this.checkboxesVisible){const t=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(this.allControls?-2:0)}`);t&&t.focus()}}),200))},this.onCheckboxKeyDown=(t,e)=>{let i;c(t)||h(t)?i=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(e-1)}`):(d(t)||m(t))&&(i=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(e+1)}`)),i&&(i.focus(),t.preventDefault(),this.activeDescendant=i.id)},this.toggleCheckboxes=()=>{this.checkboxesVisible=!this.checkboxesVisible},this.toggleCheckbox=(t,e)=>{this.value=function(t,e){return t.includes(e)?t.filter((t=>t!==e)):[...t,e]}(this.value,e),this.onChange(t)},this.handleSelectAllClick=t=>{this.value=this.processedItems,this.onChange(t)},this.handleClearAllClick=t=>{this.value=[],this.onChange(t)},this.getOptionIdentifier=t=>`${this.identifier}-option-${t}`,this.getDescribedBy=()=>{const t=[];return this.isCaptionVisible&&this.topCaptionId&&t.push(this.topCaptionId),this.accessibleDescribedBy&&t.push(this.accessibleDescribedBy),this.error&&t.push(this.errorId),t.length>0?t.join(" "):null},this.processedItems=[],this.checkboxesVisible=!1,this.activeDescendant="",this.language=p(),this.margin="auto",this.error="",this.accessibleLiveError="polite",this.expand=!1,this.value=[],this.theme="",this.labelHidden=!1,this.identifier=a("DuetMultiselect"),this.allControls=!1,this.placeholder="",this.caption=void 0,this.items=void 0,this.disabled=!1,this.label="label",this.accessibleDescribedBy=void 0,this.tooltip="",this.tooltipDirection="auto"}handleFocus(t){t.composedPath().every((t=>t!==this.element))&&(this.checkboxesVisible=!1)}componentWillLoad(){l(this),this.isCaptionVisible=!!this.caption,this.refresh()}connectedCallback(){b(this)}disconnectedCallback(){g(this)}async setFocus(t){this.multiselectElement&&this.multiselectElement.focus(t)}async refresh(){this.processedItems=x(this.items)}render(){return i(s,{class:{"duet-m-0":"none"===this.margin,"duet-expand":this.expand}},i("div",{class:{"duet-multiselect-container":!0,"duet-label-hidden":this.labelHidden,"duet-theme-turva":"turva"===this.theme,"duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error},onKeyDown:t=>this.onMultiselectKeyDown(t)},i("duet-label",{theme:"turva"===this.theme?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},id:this.labelId,for:this.identifier},this.label),this.tooltip&&i("duet-tooltip",{class:"duet-multiselect-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),this.caption&&i("duet-caption",{id:this.topCaptionId,size:"medium"},this.caption),i("div",{class:"duet-multiselect-wrapper"},i("button",{id:this.identifier,ref:t=>this.multiselectElement=t,class:{"duet-multiselect":!0,"duet-multiselect-active":this.checkboxesVisible},tabindex:"0",onClick:()=>this.toggleCheckboxes(),onFocus:t=>this.onFocus(t),onBlur:t=>this.onBlur(t),role:"combobox","aria-expanded":this.checkboxesVisible?"true":"false","aria-haspopup":"listbox","aria-labelledby":this.labelId,"aria-describedby":this.getDescribedBy(),"aria-owns":`${this.identifier}-checkboxes`,onKeyDown:t=>this.onMultiselectInputKeyDown(t),disabled:this.disabled},i("span",{role:"textbox","aria-readonly":"true","aria-multiline":"false","aria-autocomplete":"none","aria-controls":`${this.identifier}-checkboxes`,"aria-label":this.placeholderLabel[this.language]},this.placeholder),this.value&&this.value.length>0&&i("duet-badge",{class:"duet-multiselect-badge",margin:"none",theme:this.theme},this.value.length," ",this.selectedLangObject[this.language],i("duet-visually-hidden",null,", ",this.value.map((t=>t.label)).join(", "))),i("svg",{class:{"duet-multiselect-icon":!0,"duet-multiselect-icon--rotate":this.checkboxesVisible},fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},i("path",{d:"m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z"}))),i("div",{id:`${this.identifier}-checkboxes`,role:"listbox",class:{"duet-multiselect-checkboxes":!0,"duet-multiselect-checkboxes-active":this.checkboxesVisible},"aria-activedescendant":this.activeDescendant,"aria-multiselectable":"true"},this.processedItems&&this.allControls&&i("div",{class:"duet-multiselect-all-control-buttons"},i("button",{class:"duet-multiselect-select-all",onClick:this.handleSelectAllClick,id:this.getOptionIdentifier(-2),onKeyDown:t=>this.onCheckboxKeyDown(t,-2)},this.selectAllLabel[this.language]),i("button",{class:"duet-multiselect-clear-all",onClick:this.handleClearAllClick,id:this.getOptionIdentifier(-1),onKeyDown:t=>this.onCheckboxKeyDown(t,-1)},this.clearAllLabel[this.language])),this.processedItems&&this.processedItems.map(((t,e)=>{var s,o;return i("duet-checkbox",{identifier:this.getOptionIdentifier(e),role:"option",label:t.label,value:t.value,key:t.value,checked:null===(s=this.value)||void 0===s?void 0:s.includes(t),"accessible-selected":(null===(o=this.value)||void 0===o?void 0:o.includes(t))?"true":void 0,disabled:!this.checkboxesVisible||t.disabled,onDuetChange:e=>this.toggleCheckbox(e,t),onKeyDown:t=>this.onCheckboxKeyDown(t,e),theme:this.theme})})))),i("span",{class:"duet-multiselect-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&i("span",null,this.error))))}get element(){return o(this)}static get watchers(){return{items:["refresh"]}}};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;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-multiselect-tooltip{position:absolute;top:12px;right:0}@media (min-width: 48em){.duet-multiselect-tooltip{position:relative;top:4px;right:auto}}.duet-multiselect-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-multiselect-container{position:relative;width:100%}.duet-multiselect-wrapper{position:relative;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.25}.duet-theme-turva .duet-multiselect-wrapper{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-multiselect{display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;min-width:8rem;padding:12px 14px !important;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:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-multiselect:hover{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(116, 116, 117);box-shadow:0 0 0 1px #0077b3}.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #e55039}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-multiselect:focus,.duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:focus,.duet-theme-turva.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #e55039}.duet-multiselect[disabled]{color:rgb(0, 41, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-multiselect>:first-child{flex:1;min-height:24px}.duet-multiselect .duet-multiselect-badge{position:absolute;right:3rem}.has-error .duet-multiselect{border-color:rgb(222, 35, 98) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error .duet-multiselect{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(224, 42, 13) !important}.duet-theme-turva .duet-multiselect{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);border-color:rgb(116, 116, 117)}.duet-multiselect svg{width:20px;height:20px;color:rgb(0, 41, 77);pointer-events:none}.duet-theme-turva .duet-multiselect svg{color:rgb(23, 28, 58)}.duet-multiselect svg.duet-multiselect-icon--rotate{transform:rotate(180deg)}.duet-multiselect-checkboxes{position:absolute;z-index:700;width:100%;padding:16px;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-theme-turva .duet-multiselect-checkboxes{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230);box-shadow:0 4px 10px 0 rgba(23, 28, 58, 0.15)}.duet-multiselect-checkboxes.duet-multiselect-checkboxes-active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons{padding:8px 0;margin:-16px;margin-bottom:16px;border-bottom:1px solid rgb(225, 227, 230)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{padding:6px 16px;margin:-4px 0;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;color:rgb(0, 119, 179);cursor:pointer;border-radius:4px}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus,.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:first-child{border-right:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(23, 28, 58)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(0, 41, 77)}.duet-multiselect-help{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-multiselect-help span{display:block;margin-top:8px}.duet-theme-turva .duet-multiselect-help{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(116, 116, 117)}.has-error .duet-multiselect-help{color:rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(224, 42, 13)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';export{v as duet_multiselect}
@@ -1,4 +0,0 @@
1
- var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var a=0,o=r.length,n;a<o;a++){if(n||!(a in r)){if(!n)n=Array.prototype.slice.call(r,0,a);n[a]=r[a]}}return e.concat(n||Array.prototype.slice.call(r))};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-f18c2892.system.js","./p-50f4bca2.system.js","./p-224f6c46.system.js","./p-6ef75455.system.js"],(function(e){"use strict";var r,t,a,o,n,i;return{setters:[function(e){r=e.r;t=e.h;a=e.H;o=e.g},function(e){n=e.i},function(e){i=e.g},function(){}],execute:function(){var d='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}::slotted(duet-breadcrumb){font-weight:400}::slotted(duet-breadcrumb:last-of-type){font-weight:600}.duet-breadcrumbs{position:relative;display:flex;align-items:center;justify-content:center;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-breadcrumbs .container{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;min-height:36px;margin:0 28px}.duet-breadcrumbs .list{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px 0;color:inherit;list-style:none}.duet-breadcrumbs .bottom-border{position:absolute;bottom:0;display:none;width:100%;height:1px}.duet-breadcrumbs.header{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-breadcrumbs.header .list duet-breadcrumb[href]:hover{color:rgb(0, 77, 128)}.duet-breadcrumbs.header .bottom-border--nav{display:block;background:rgb(225, 227, 230)}.duet-breadcrumbs.header.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-breadcrumbs.header.duet-theme-turva ol duet-breadcrumb[href]:hover{color:rgb(148, 9, 37)}.duet-breadcrumbs.footer{color:rgb(255, 255, 255);background:rgb(0, 41, 77)}@media (min-width: 64.0625em){.duet-breadcrumbs.footer{justify-content:flex-start}}@media (min-width: 76.25em){.duet-breadcrumbs.footer{justify-content:center}}.duet-breadcrumbs.footer .container{max-width:1110px}@media (min-width: 62em){.duet-breadcrumbs.footer .container{margin:0 72px 0 48px}}.duet-breadcrumbs.footer .list{padding:20px 0}@media (min-width: 62em){.duet-breadcrumbs.footer .list{padding:20px 8px}}.duet-breadcrumbs.footer .list duet-breadcrumb[href]:hover{text-decoration:underline}.duet-breadcrumbs.footer .bottom-border--container{display:block;background:rgba(255, 255, 255, 0.2)}.duet-breadcrumbs.footer.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}';var s=e("duet_breadcrumbs",function(){function e(e){r(this,e);this.observers=[];this.breadcrumbsAriaLabel=i({fi:"Murupolku",sv:"Ströbröd",en:"Breadcrumbs"});this.children=undefined;this.theme="";this.variation="header"}e.prototype.componentWillLoad=function(){n(this);this.children=Array.from(this.element.children)};e.prototype.connectedCallback=function(){var e=this;Array.from(this.element.children).forEach((function(r){var t=new MutationObserver((function(){return e.children=Array.from(e.element.children)}));t.observe(r,{childList:true,subtree:true,attributes:true,characterData:true});e.observers=__spreadArray(__spreadArray([],e.observers,true),[t],false)}))};e.prototype.disconnectedCallback=function(){this.observers.forEach((function(e){return e.disconnect()}));this.observers=[]};e.prototype.render=function(){var e;return t(a,null,t("nav",{"aria-label":this.breadcrumbsAriaLabel,class:(e={"duet-breadcrumbs":true,"duet-theme-turva":this.theme==="turva"},e[this.variation]=true,e)},t("div",{class:"container"},t("div",{role:"list",class:"list"},t("slot",null)),t("div",{class:"bottom-border bottom-border--container"})),t("div",{class:"bottom-border bottom-border--nav"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());s.style=d}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function u(t){try{s(r["throw"](t))}catch(t){i(t)}}function s(t){t.done?n(t.value):o(t.value).then(a,u)}s((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(e){return s([t,e])}}function s(u){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(n=0)),n)try{if(r=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;o=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1];i=u;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(u);break}if(i[2])n.ops.pop();n.trys.pop();continue}u=e.call(t,n)}catch(t){u=[6,t];o=0}finally{r=i=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-f18c2892.system.js","./p-885b38a9.system.js","./p-50f4bca2.system.js","./p-5795b0d9.system.js"],(function(t){"use strict";var e,n,r,o,i,a,u;return{setters:[function(t){e=t.r;n=t.h;r=t.H;o=t.g},function(t){i=t.a},function(t){a=t.i},function(t){u=t.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;height:100%}@media (min-width: 62em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 16px}}@media (min-width: 76.25em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 28px}}.duet-menu-bar-dropdown{position:relative;height:100%}.duet-menu-bar-dropdown button{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:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;cursor:pointer}@media (min-width: 62em){.duet-menu-bar-dropdown button{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-dropdown button{padding:0 28px}}.duet-menu-bar-dropdown button:hover{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-menu-bar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-menu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button.active .caret{transform:rotate(180deg)}.duet-theme-turva .duet-menu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown button.active::after{position:absolute;top:auto;bottom:2px;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}.duet-theme-turva .duet-menu-bar-dropdown button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown .items{position:absolute;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:225px;padding:1rem 0;color:rgb(0, 41, 77);background:rgb(243, 249, 252);border-radius:0 0 8px 8px;box-shadow:0 6px 6px 0 rgba(0, 41, 77, 0.1)}.duet-menu-bar-dropdown .items.hidden{display:none}.duet-menu-bar-dropdown.duet-theme-turva button{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-menu-bar-dropdown.duet-theme-turva button:hover{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva .items{background:rgb(245, 245, 247)}';var d=t("duet_menu_bar_dropdown",function(){function t(t){var n=this;e(this,t);this.mql=[window.matchMedia(i.replace(/'/g,""))];this.boundMqlFunctions=[];this.changeIconSize=function(){if(n.mql[0].matches){n.iconSize="x-small"}else{n.iconSize="small"}};this.onClick=function(){n.open=!n.open};this.getVariant=function(){var t=n.element.parentElement.getAttribute("slot");switch(t){case"center":return"right";case"right":return"right";default:return"right"}};this.iconSize="x-small";this.accessibleLabel=undefined;this.theme="";this.open=false;this.icon=undefined}t.prototype.handleFocus=function(t){var e=this;var n=t.composedPath().every((function(t){return t!==e.element}));if(n){this.open=false}};t.prototype.componentWillLoad=function(){a(this)};t.prototype.connectedCallback=function(){this.changeIconSize();for(var t=0;t<this.mql.length;t++){if(this.mql[t].addEventListener){var e=this.changeIconSize.bind(this);this.mql[t].addEventListener("change",e);this.boundMqlFunctions[t]=e}}};t.prototype.disconnectedCallback=function(){for(var t=0;t<this.mql.length;t++){if(this.mql[t].removeEventListener){this.mql[t].removeEventListener("change",this.boundMqlFunctions[t])}}this.boundMqlFunctions=[]};t.prototype.handleEscape=function(t){if(u(t)){this.open=false;this.setFocus()}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.button.focus(t);return[2]}))}))};t.prototype.render=function(){var t;var e=this;return n(r,null,n("div",{class:(t={"duet-menu-bar-dropdown":true,"duet-theme-turva":this.theme==="turva",active:this.open},t["duet-menu-bar-dropdown--slot-".concat(this.getVariant())]=true,t)},n("button",{ref:function(t){return e.button=t},"aria-label":this.accessibleLabel,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick,onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&n("duet-icon",{theme:this.theme,name:this.icon,size:this.iconSize,margin:"none",color:"currentColor"}),n("div",{class:"label"},n("slot",{name:"label"}),n("duet-icon",{class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),n("div",{tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true,hidden:!this.open}},n("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());d.style=s}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,o){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,u){function i(t){try{a(o.next(t))}catch(t){u(t)}}function d(t){try{a(o["throw"](t))}catch(t){u(t)}}function a(t){t.done?n(t.value):r(t.value).then(i,d)}a((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},o,r,u,i;return i={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function d(t){return function(e){return a([t,e])}}function a(d){if(o)throw new TypeError("Generator is already executing.");while(i&&(i=0,d[0]&&(n=0)),n)try{if(o=1,r&&(u=d[0]&2?r["return"]:d[0]?r["throw"]||((u=r["return"])&&u.call(r),0):r.next)&&!(u=u.call(r,d[1])).done)return u;if(r=0,u)d=[d[0]&2,u.value];switch(d[0]){case 0:case 1:u=d;break;case 4:n.label++;return{value:d[1],done:false};case 5:n.label++;r=d[1];d=[0];continue;case 7:d=n.ops.pop();n.trys.pop();continue;default:if(!(u=n.trys,u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){n.label=d[1];break}if(d[0]===6&&n.label<u[1]){n.label=u[1];u=d;break}if(u&&n.label<u[2]){n.label=u[2];n.ops.push(d);break}if(u[2])n.ops.pop();n.trys.pop();continue}d=e.call(t,n)}catch(t){d=[6,t];r=0}finally{o=u=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-f18c2892.system.js","./p-50f4bca2.system.js","./p-d1cedaa1.system.js","./p-224f6c46.system.js","./p-67c653f9.system.js","./p-6ef75455.system.js","./p-9d033a04.system.js"],(function(t){"use strict";var e,n,o,r,u,i,d,a,b,s,l,p,h;return{setters:[function(t){e=t.r;n=t.c;o=t.h;r=t.H;u=t.g},function(t){i=t.i},function(t){d=t.D;a=t.a},function(t){b=t.a;s=t.g;l=t.c;p=t.d},function(t){h=t.g},function(){},function(){}],execute:function(){var c='*,*::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-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.input-button){z-index:250}:host(.duet-small){margin-right:2px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small){width:auto}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;width:100%}.duet-button{padding:14px 27px 15px !important;-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;min-width:8rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:2px;border-radius:20rem;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){padding:9px 19px 10px !important;min-width:48px;font-size:0.875rem}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon{padding-left:48px !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon-right{padding-right:48px !important;padding-left:20px !important}.duet-theme-turva .duet-button{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) !important}.duet-button .duet-button-contents{position:relative;display:inline-block;margin:0 auto;pointer-events:none}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button.icon{padding-left:52px !important}.duet-button.icon-right{padding-right:52px !important;padding-left:28px !important}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{position:absolute;top:50%;left:-28px;display:flex;align-items:center;justify-content:center;width:16px;height:16px;margin:0 !important;transform:translateY(-50%)}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.right{right:-28px;left:auto}.duet-button .duet-button-icon.large{left:-32px;width:20px;height:20px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.large.right{right:-32px;left:auto}.duet-button .duet-button-icon.medium-small{left:-16px;width:10px;height:10px;padding-top:1px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.medium-small.right{right:-16px;left:auto}.duet-button .duet-button-icon.small{left:-16px;width:7px;height:7px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button .duet-button-icon.small.right{right:-16px;left:auto}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{border-color:rgb(225, 227, 230)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(228, 228, 230)}.duet-button.default:hover{border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(228, 228, 230) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover{background:rgb(148, 9, 37);border-color:rgb(148, 9, 37)}.duet-button.primary:focus,.duet-button.input-button-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-embedded{color:rgb(0, 41, 77) !important;background:transparent;border-color:rgb(0, 41, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(225, 227, 230) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.negative{color:rgb(0, 41, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(222, 35, 98);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(224, 42, 13);border-color:rgb(224, 42, 13)}.duet-button.destructive-primary:hover{background:#b21c4e;border-color:#b21c4e;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#b3220a}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(222, 35, 98) !important;background:rgb(255, 255, 255);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(224, 42, 13) !important;background:rgb(255, 255, 255);border-color:rgb(224, 42, 13)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b21c4e;border-color:#b21c4e}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b3220a;border-color:#b3220a}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.icon{padding-left:20px !important}.duet-button.plain.icon.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.small{padding-left:20px !important}.duet-button.plain.icon.small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium-small{padding-left:20px !important}.duet-button.plain.icon.medium-small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium{padding-left:24px !important}.duet-button.plain.icon.medium.icon-right{padding-right:24px !important;padding-left:0 !important}.duet-button.plain.icon.large{padding-left:30px !important}.duet-button.plain.icon.large.icon-right{padding-right:30px !important;padding-left:0 !important}.duet-button.plain .duet-button-icon.left{left:-16.6666666667px !important}.duet-button.plain .duet-button-icon.left.medium{left:-24px !important}.duet-button.plain .duet-button-icon.left.large{left:-30px !important}.duet-button.plain .duet-button-icon.right{right:-16.6666666667px !important}.duet-button.plain .duet-button-icon.right.medium{right:-24px !important}.duet-button.plain .duet-button-icon.right.large{right:-30px !important}.duet-button.plain[disabled]{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(228, 228, 230) !important}.duet-button.plain:hover{color:rgb(0, 77, 128) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(148, 9, 37) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.plain.duet-button-negative:hover{color:rgb(0, 119, 179) !important}.duet-theme-turva .duet-button.plain.duet-button-negative:hover{color:rgb(198, 12, 48) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px;border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.square{width:48px !important;min-width:auto !important;height:48px !important;padding:0 !important;font-size:1.25rem;border-color:rgb(225, 227, 230);border-width:1px;border-radius:8px}.duet-button.square.duet-button-is-small{width:28px !important;height:28px !important;padding:0 !important;font-size:1rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(228, 228, 230)}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(116, 116, 117) !important;cursor:not-allowed;background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}';var m=t("duet_button",function(){function t(t){var o=this;e(this,t);this.duetFocus=n(this,"duetFocus",7);this.duetBlur=n(this,"duetBlur",7);this.handleClick=function(t){if(!o.url&&o.element.closest("form")){t.preventDefault();o.proxyButton.click()}};this.onFocus=function(){o.duetFocus.emit()};this.onBlur=function(){o.duetBlur.emit()};this.accessibleLabel=undefined;this.accessibleControls=undefined;this.accessiblePopup="false";this.accessibleActiveDescendant=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleExpanded=undefined;this.accessiblePressed=undefined;this.loading=false;this.variation="default";this.negative=false;this.theme="";this.margin="auto";this.padding="auto";this.centerText=false;this.wrapping="auto";this.expand=false;this.fixed=false;this.disabled=false;this.name=undefined;this.value=undefined;this.identifier=undefined;this.submit=false;this.external=false;this.language=b();this.accessibleLabelExternalDefaults=d;this.accessibleLabelExternal=s(this.accessibleLabelExternalDefaults);this.accessibleLabelLoadingDefaults=a;this.accessibleLabelLoading=s(this.accessibleLabelLoadingDefaults);this.icon="";this.color="";this.iconRight=false;this.iconSize="medium";this.size="medium";this.iconOnly=false;this.url=undefined}t.prototype.componentWillLoad=function(){i(this);if(this.url&&this.external&&this.icon){console.warn("[DUET]: Button used as an external link will override any icon that is set")}};t.prototype.connectedCallback=function(){this.proxyButton=document.createElement("button");this.proxyButton.style.display="none";this.syncToProxyButton();l(this,[{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"},{prop:"accessibleLabelLoading",defaults:"accessibleLabelLoadingDefaults"}]);if(!this.url&&this.element.closest("form")){this.element.insertAdjacentElement("beforebegin",this.proxyButton)}};t.prototype.disconnectedCallback=function(){this.proxyButton.remove();this.proxyButton=null;p(this)};t.prototype.syncToProxyButton=function(){this.proxyButton.type=this.getButtonType();this.proxyButton.disabled=this.disabled;if(this.name!=null){this.proxyButton.name=this.name}else{this.proxyButton.removeAttribute("name")}if(this.value!=null){this.proxyButton.value=this.value}else{this.proxyButton.removeAttribute("value")}};t.prototype.getButtonType=function(){return this.submit?"submit":"button"};t.prototype.getButtonIconSize=function(){switch(this.iconSize){case"small":return"small";case"medium-small":return"medium-small";case"medium":return"medium";case"large":return"large";default:return"medium"}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t,e,n;var u=this;var i;var d=this.external&&this.url;var a=d?"action-new-window":this.icon;var b=d?true:this.iconRight;var s=o("span",{class:"duet-button-contents",style:{color:h(this.color)}},a&&o("div",{"aria-hidden":"true",class:(t={"duet-button-icon":true,left:!b,right:b},t[this.getButtonIconSize()]=true,t)},o("duet-icon",{size:"auto",margin:"none",name:a,color:"currentColor"})),o("slot",null));var l={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(t){return u.nativeButton=t},id:this.identifier,class:(e={"duet-m-0":this.margin==="none","duet-p-0":this.padding==="none","duet-no-wrap":this.wrapping==="none","duet-button":true,"duet-button-is-small":this.size==="small","duet-button-icon-only":this.iconOnly,"duet-button-text-center":this.centerText,"duet-button-negative":this.negative||this.variation==="negative"},e[this.variation]=true,e.disabled=this.disabled,e.icon=!!a,e["icon-right"]=b,e[this.getButtonIconSize()]=true,e),"aria-controls":this.accessibleControls,"aria-label":this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription};return o(r,{onClick:this.handleClick,class:{"duet-m-0":this.margin==="none","duet-small":this.size==="small","duet-fixed":this.fixed,"duet-expand":this.expand,"input-button":(i=this.variation)===null||i===void 0?void 0:i.startsWith("input-button")}},o("div",{class:(n={"duet-button-container":true,"duet-button-is-loading":this.loading,"duet-theme-turva":this.theme==="turva","duet-button-negative":this.negative||this.variation==="negative"},n[this.variation]=true,n)},this.url?o("a",Object.assign({},l,{href:this.url,target:this.external?"_blank":"_self",rel:this.external?"noopener":undefined}),s,this.external&&o("duet-visually-hidden",null,", ",this.accessibleLabelExternal)):o("button",Object.assign({},l,{type:this.getButtonType(),disabled:this.disabled,name:this.name,value:this.value,"aria-pressed":this.accessiblePressed!=null?this.accessiblePressed.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined,"aria-disabled":this.disabled}),s,this.loading&&o("duet-visually-hidden",null," ",this.accessibleLabelLoading," ")),this.loading&&o("duet-spinner",{color:"currentColor"})))};Object.defineProperty(t.prototype,"element",{get:function(){return u(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["syncToProxyButton"],submit:["syncToProxyButton"],value:["syncToProxyButton"],name:["syncToProxyButton"]}},enumerable:false,configurable:true});return t}());m.style=c;var g=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;top:50%;left:50%;z-index:800;max-width:100%}:host(.duet-theme-default) .duet-spinner{color:rgb(0, 119, 179) !important}:host(.duet-theme-turva) .duet-spinner{color:rgb(198, 12, 48) !important}:host(.duet-custom-color){color:inherit}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-spinner{-webkit-user-select:none;user-select:none;position:absolute;top:50%;left:50%;z-index:800;width:24px;height:24px;color:rgb(0, 119, 179);border:2px solid transparent;border-left:2px solid currentColor;border-radius:50%;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%;animation:duetRotate 0.6s linear infinite}.duet-spinner::after{position:absolute;top:50%;left:50%;z-index:200;box-sizing:content-box;width:100%;height:100%;overflow:hidden;content:"";border:2px solid currentColor;border-radius:50%;opacity:0.3;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%}.duet-spinner.medium{width:36px;height:36px;border-width:4px}.duet-spinner.medium::after{border-width:4px}.duet-spinner.large{width:72px;height:72px;border-width:8px}.duet-spinner.large::after{border-width:8px}@keyframes duetRotate{0%{transform:translateZ(0) rotate(0deg) translateX(-50%) translateY(-50%)}100%{transform:translateZ(0) rotate(360deg) translateX(-50%) translateY(-50%)}}';var f=t("duet_spinner",function(){function t(t){e(this,t);this.accessibleLabel=undefined;this.color="gray-lightest";this.size="small";this.theme=""}t.prototype.componentWillLoad=function(){i(this)};t.prototype.render=function(){var t;var e=this.color==="currentColor"?"currentColor":h(this.color);return o(r,{class:{"duet-custom-color":this.color!=="currentColor"&&this.theme!=="turva"&&this.theme!=="default","duet-theme-turva":this.theme==="turva"&&this.color!=="currentColor","duet-theme-default":this.theme==="default"&&this.color!=="currentColor"}},o("div",{class:(t={"duet-spinner":true},t[this.size]=true,t),style:{color:e},"aria-label":this.accessibleLabel}))};return t}());f.style=g}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-f18c2892.system.js","./p-50f4bca2.system.js","./p-224f6c46.system.js","./p-6ef75455.system.js"],(function(t){"use strict";var e,i,n,a,o,s,r,d;return{setters:[function(t){e=t.r;i=t.h;n=t.H;a=t.g},function(t){o=t.i},function(t){s=t.a;r=t.c;d=t.d},function(){}],execute:function(){var c='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77)}.duet-contact-card.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)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;word-break:break-all}';var m=t("duet_contact_card",function(){function t(t){e(this,t);this.phoneLabel={en:"Phone",fi:"Puhelin",sv:"Telefon"};this.language=s();this.theme="";this.margin="auto";this.image=undefined;this.name=undefined;this.description=undefined;this.email=undefined;this.phone=undefined;this.buttonText=undefined;this.buttonIcon="form-date";this.buttonUrl=undefined}t.prototype.componentWillLoad=function(){o(this)};t.prototype.connectedCallback=function(){r(this)};t.prototype.disconnectedCallback=function(){d(this)};t.prototype.render=function(){var t=this.theme==="turva";var e=t?"turva":"default";return i(n,{class:{"duet-m-0":this.margin==="none"}},i("div",{class:{"duet-contact-card":true,"duet-theme-turva":this.theme==="turva"},role:"group","aria-label":this.name},this.image?i("img",{class:"image",src:this.image,alt:this.name}):i("div",null),i("div",null,this.name&&i("duet-heading",{class:"name",level:"h3",margin:"none",theme:e},this.name),this.description&&i("duet-paragraph",{class:"description",margin:"none",theme:e},this.description),this.email&&i("div",{class:"email"},i("duet-icon",{name:"navigation-message",size:"x-small",color:"primary-dark",margin:"none",theme:e}),i("duet-link",{url:"mailto:".concat(this.email),accessibleLabel:"Email: ".concat(this.email),theme:e},this.email)),this.phone&&i("div",{class:"phone"},i("duet-icon",{name:"form-tel",size:"x-small",color:"primary-dark",margin:"none",theme:e}),i("duet-link",{url:"tel:".concat(this.phone),accessibleLabel:"".concat(this.phoneLabel[this.language],": ").concat(this.phone),theme:e},this.phone))),this.buttonUrl&&this.buttonText&&i("div",{class:"call-to-action"},i("duet-button",{variation:"default",icon:this.buttonIcon,fixed:true,margin:"none",url:this.buttonUrl,theme:e},this.buttonText)),i("div",null),i("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());m.style=c}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-f18c2892.system.js","./p-50f4bca2.system.js","./p-5795b0d9.system.js"],(function(e){"use strict";var t,o,n,r,a,i;return{setters:[function(e){t=e.r;o=e.h;n=e.H;r=e.g},function(e){a=e.i},function(e){i=e.f}],execute:function(){var d='*,*::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%}.duet-toolbar-dropdown-link{display:flex;flex-direction:row;gap:0.5rem;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 20px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none}.duet-toolbar-dropdown-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-toolbar-dropdown-link:focus,.duet-toolbar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-dropdown-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(23, 28, 58)}.duet-toolbar-dropdown-link.active,.duet-toolbar-dropdown-link.active:hover{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-toolbar-dropdown-link.active.duet-theme-turva,.duet-toolbar-dropdown-link.active:hover.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-toolbar-dropdown-link:hover{background:rgb(230, 242, 248)}.duet-toolbar-dropdown-link:hover.duet-theme-turva{background:rgb(228, 228, 230)}';var l=e("duet_toolbar_dropdown_link",function(){function e(e){t(this,e);this.accessibleLabel=undefined;this.theme="";this.targetLanguage=undefined;this.href="#";this.icon=undefined;this.active=false}e.prototype.componentWillLoad=function(){a(this)};e.prototype.handleEscape=function(e){if(i(e)){var t=this.element.closest("duet-toolbar-dropdown");t.open=false;t.setFocus()}};e.prototype.render=function(){var e=this;return o(n,null,o("a",{class:{"duet-toolbar-dropdown-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.href,lang:this.targetLanguage,hreflang:this.targetLanguage,role:"menuitem","aria-label":this.accessibleLabel,"aria-current":this.active?"true":"false",onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&o("duet-icon",{name:this.icon,size:"x-small",margin:"none"}),o("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());l.style=d}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-f18c2892.system.js","./p-50f4bca2.system.js","./p-5795b0d9.system.js"],(function(e){"use strict";var t,n,r,o,a,i;return{setters:[function(e){t=e.r;n=e.h;r=e.H;o=e.g},function(e){a=e.i},function(e){i=e.f}],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;width:100%;height:100%}.duet-menu-bar-dropdown-link{display:flex;flex-direction:row;gap:0.5rem;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 20px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none}.duet-menu-bar-dropdown-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(23, 28, 58)}.duet-menu-bar-dropdown-link--slot-right: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-dropdown-link--slot-right:focus,.duet-menu-bar-dropdown-link--slot-right:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown-link--slot-right:hover{background:rgb(230, 242, 248)}.duet-menu-bar-dropdown-link--slot-right:hover.duet-theme-turva{background:rgb(228, 228, 230)}.duet-menu-bar-dropdown-link--slot-below:hover{color:rgb(0, 77, 128);background:rgb(243, 249, 252)}.duet-menu-bar-dropdown-link--slot-below:hover.duet-theme-turva{color:rgb(148, 9, 37);background:rgb(228, 228, 230)}';var s=e("duet_menu_bar_dropdown_link",function(){function e(e){var n=this;t(this,e);this.getVariant=function(){var e=n.element.parentElement.parentElement.getAttribute("slot");switch(e){case"center":return"right";case"right":return"right";default:return"right"}};this.theme="";this.href="#";this.icon=undefined;this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){a(this)};e.prototype.handleEscape=function(e){if(i(e)){var t=this.element.closest("duet-menu-bar-dropdown");t.open=false;t.setFocus()}};e.prototype.render=function(){var e;var t=this;return n(r,null,n("a",{class:(e={"duet-menu-bar-dropdown-link":true},e["duet-menu-bar-dropdown-link--slot-".concat(this.getVariant())]=true,e["duet-theme-turva"]=this.theme==="turva",e),href:this.href,role:"menuitem",onKeyUp:function(e){return t.handleEscape(e)},"aria-label":this.accessibleLabel},this.icon&&n("duet-icon",{theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("slot",null)))};Object.defineProperty(e.prototype,"element",{get:function(){return o(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 t,c as i,h as e,H as s,g as o}from"./p-1276c914.js";import{d as a,e as n}from"./p-141e14d0.js";import{i as d}from"./p-a58bd561.js";import{F as l}from"./p-db4ca364.js";import{f as r}from"./p-2bb2b022.js";import{a as h,c as u,d as p,g as c}from"./p-2e36d5bf.js";import{T as m}from"./p-b2e550a3.js";import{g as b}from"./p-38320af8.js";import"./p-0e052642.js";import"./p-f1d51e20.js";const g=class{constructor(e){t(this,e),this.duetSlideoutEvent=i(this,"duetSlideoutEvent",7),this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"},this.topLevelOpenMenuBarLangObject={en:"Exit this menu to find top level items",fi:"Poistu tästä valikosta löytääksesi ylätason kohteet",sv:"Stäng den här menyn för att hitta objekt på toppnivå"},this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(null===navigator||void 0===navigator?void 0:navigator.userAgent),this.handleBodyScrolling=()=>{this.displaying&&this.open?a(this.dialog,{reserveScrollBarGap:!0}):n(this.dialog)},this.getOpenPanel=()=>this.element.querySelector("duet-slideout-panel[open]"),this.toggleMenu=t=>{if(this.open=!this.open,this.openButton&&(this.openButton.accessibleExpanded=this.open),this.duetSlideoutEvent.emit({originalEvent:t,data:{element:this.element,open:this.open},component:"duet-slideout"}),this.open){const t=this.getOpenPanel();this.teleport.go(!0),t?(t.setFocus(),this.handleBodyScrolling()):setTimeout((()=>{this.closeButton.focus(),this.handleBodyScrolling()}),200)}else setTimeout((()=>{var t;null===(t=this.openButton)||void 0===t||t.setFocus(),this.handleBodyScrolling(),this.teleport.resume()}),200)},this.onClick=t=>{this.toggleMenu(t)},this.language=h(),this.displaying=!1,this.openPanel=!1,this.theme="",this.open=!1,this.opener=void 0,this.backgroundColor="gray-lightest"}async toggle(){const t=new CustomEvent("toggle");this.toggleMenu(t),setTimeout((()=>{this.closeButton.focus()}),200)}async show(){if(this.open)return;const t=document.activeElement;t&&(t.accessiblePopup="true",this.openButton=t),this.toggleMenu(new CustomEvent("toggle"))}async hide(){this.open&&this.toggleMenu(new CustomEvent("toggle"))}componentWillLoad(){d(this);const t=this.opener&&document.getElementById(this.opener);t&&(t.accessiblePopup="true",t.accessibleExpanded=!1,t.addEventListener("click",(i=>{i.stopPropagation(),i.preventDefault(),this.openButton=t,this.onClick(i)}))),this.teleport=new m(this.element)}async componentDidLoad(){this.intersectionObserver=new IntersectionObserver((t=>{this.displaying=!!t[0].isIntersecting,this.handleBodyScrolling()})),this.intersectionObserver.observe(this.dialog)}connectedCallback(){u(this),this.mutationObserver=new MutationObserver((()=>{this.openPanel=!!this.getOpenPanel()})),this.mutationObserver.observe(this.element,{childList:!0,attributeFilter:["open"],subtree:!0})}disconnectedCallback(){p(this),n(this.dialog),this.intersectionObserver&&this.intersectionObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect()}handleKeyUp(t){r(t)&&this.open&&this.toggleMenu(t)}async setFocus(t){var i;null===(i=this.openButton)||void 0===i||i.focus(t)}render(){const t={background:b(this.backgroundColor,this.theme)},i=c(this.topLevelOpenMenuBarLangObject),o=c(this.exitLangObject);return e(s,null,e("div",{class:{"duet-slideout":!0,"duet-theme-turva":"turva"===this.theme}},e("div",{class:{"desktop-bg":!0,hidden:!this.open},onClick:()=>{this.open=!1}}),e("div",{ref:t=>this.dialog=t,tabindex:"-1",role:"dialog",id:"dialog","aria-labelledby":"button","aria-modal":!this.isSafariBrowser,"aria-flowto":"menubar",class:{dialog:!0,hidden:!this.open},style:t},e(l,{moveFocusTo:this.closeButton}),e("div",{class:"top"},e("button",{ref:t=>this.closeButton=t,"aria-haspopup":"dialog","aria-controls":"dialog","aria-expanded":this.open?"true":"false","aria-label":`${o}`,type:"button",class:{"slideout-close":!0,active:this.open},onClick:this.onClick,inert:this.openPanel},e("duet-icon",{name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),e("div",{id:"menubar",role:"menubar","aria-label":this.openPanel?i:null,class:{items:!0}},e("slot",null)),e(l,{moveFocusTo:this.closeButton}))))}get element(){return o(this)}};g.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;position:absolute;height:100%}::slotted(*){position:relative;width:100%;visibility:hidden;opacity:0}:host([open]) ::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height:100%}.duet-slideout .desktop-bg{display:none}@media (min-width: 62em){.duet-slideout .desktop-bg{position:fixed;top:0;left:0;z-index:400;display:block;width:100%;height:100%;visibility:hidden;background:rgba(0, 41, 77, 0.6);opacity:0;transition:600ms ease}.duet-slideout .desktop-bg:not(.hidden){visibility:visible;opacity:1;transition:600ms ease}}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgba(23, 28, 58, 0.6)}}.duet-slideout .dialog{position:fixed;top:0;bottom:0;left:0;z-index:400;width:100%;height:100%;padding-bottom:75px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1) inset}@media (min-width: 62em){.duet-slideout .dialog{right:0;left:auto;width:500px;padding-bottom:0;transition:right 300ms ease;transition-delay:0s}}.duet-slideout .dialog .top{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px}.duet-slideout .dialog .top button{cursor:pointer}.duet-slideout .dialog .top button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout .dialog .top duet-icon{padding:16px}.duet-slideout .dialog .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:0 1.5rem}.duet-slideout .dialog.hidden{pointer-events:none;visibility:hidden}@media (min-width: 62em){.duet-slideout .dialog.hidden{right:-500px;transition:300ms ease}}.duet-slideout.duet-theme-turva .dialog{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}.duet-slideout.duet-theme-turva button{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-slideout.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva .dialog .top button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}slot{color:rgb(0, 41, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}';export{g as duet_slideout}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-9d033a04.system.js"],(function(r){"use strict";var n,t,i,u,e,a,f,o,v,c;return{setters:[function(r){n=r.m;t=r.a;i=r.b;u=r.c;e=r.d;a=r.e;f=r.f;o=r.g;v=r.h;c=r.t}],execute:function(){r({c:p,g:j,r:y,s:O});var s=["turva"];function d(r){var n=r.includes("-");var t=r.includes(" ")||r.includes("_");var i=r.charAt(0)==="-";return n&&!t&&!i}function l(r){if(r===void 0){r=""}return"".concat(r.charAt(0).toUpperCase()).concat(r.slice(1))}function x(r){if(r===void 0){r=""}return"".concat(r.charAt(0).toLowerCase()).concat(r.slice(1))}function m(r){if(r===void 0){r=""}var n=r.split("-");n.forEach((function(r,t){n[t]=l(r)}));return n.join("")}function g(r){if(r===void 0){r=""}if(s.includes(r.toLowerCase())){return r.toLowerCase()}return""}function p(r){return r.charAt(0).toUpperCase()+r.slice(1)}function I(r,n){if(n===void 0){n=""}return n.indexOf(p(r))===0||n.indexOf(r)===0}function b(r,n){if(n===void 0){n=""}if(n&&!d(n)&&!I(r,n)){return"".concat(r).concat(l(n))}return n}function h(r,n){var t=g(n).length;if(t&&r.indexOf(n)===-1){return"".concat(r).concat(l(n))}return r}function j(r,n){if(n===void 0){n=""}if(!r){return undefined}var t=M(r);var i=M(r,n);var u=c[i];if(!u){u=c[t]}return u}function M(r,n){if(r===void 0){r=""}if(n===void 0){n=""}var t=r;var i=d(r);if(i){t=m(t)}t=b("color",t);t=h(t,n);t=x(t);return t}function y(r,n){if(!r||n!==0&&!n){return undefined}var t=r.split(",");var i=parseInt(t[0].slice(4)),u=parseInt(t[1]),e=parseInt(t[2]);return"rgba(".concat(i,",").concat(u,",").concat(e,",").concat(n,")")}function O(r,n){var t=r.split(","),i=n<0?0:255,u=n<0?n*-1:n;var e=parseInt(t[0].slice(4)),a=parseInt(t[1]),f=parseInt(t[2]);e=Math.round((i-e)*u)+e;a=Math.round((i-a)*u)+a;f=Math.round((i-f)*u)+f;e=e<0?0:e;e=e>255?255:e;a=a<0?0:a;a=a>255?255:a;f=f<0?0:f;f=f>255?255:f;return"rgb(".concat(e,",").concat(a,",").concat(f,")")}var S=function(r){return r.substring(1,r.length-1)};var _=r("a",{"xxx-small":S(v),"xx-small":S(n),"x-small":S(t),small:S(i),medium:S(u),large:S(e),"x-large":S(a),"xx-large":S(f),"xxx-large":S(o)});var k=r("b",Object.keys(_).filter((function(r){return r.indexOf("x-small")!==-1})));Object.keys(_).filter((function(r){return!k.includes(r)}))}}}));