@duetds/components 10.0.0-alpha.3 → 10.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (685) hide show
  1. package/hydrate/index.js +242 -251
  2. package/lib/cjs/{a11y-utils-8177cf00.js → a11y-utils-5ac97fdd.js} +1 -1
  3. package/lib/cjs/{app-globals-718a3704.js → app-globals-087a6bf3.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
  5. package/lib/cjs/duet-alert.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-badge.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-banner.cjs.entry.js +2 -2
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
  10. package/lib/cjs/duet-button_2.cjs.entry.js +12 -9
  11. package/lib/cjs/duet-callout.cjs.entry.js +4 -4
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +13 -43
  13. package/lib/cjs/duet-card.cjs.entry.js +8 -5
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-chip_3.cjs.entry.js +6 -6
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +11 -11
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
  19. package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +12 -7
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-footer.cjs.entry.js +7 -7
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +5 -5
  30. package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
  31. package/lib/cjs/duet-hero.cjs.entry.js +8 -8
  32. package/lib/cjs/duet-icon.cjs.entry.js +4 -4
  33. package/lib/cjs/duet-input_2.cjs.entry.js +10 -10
  34. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-list_2.cjs.entry.js +3 -3
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
  42. package/lib/cjs/duet-modal.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +4 -4
  44. package/lib/cjs/duet-nav.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +4 -4
  46. package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
  50. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  51. package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
  52. package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
  53. package/lib/cjs/duet-range-slider.cjs.entry.js +3 -3
  54. package/lib/cjs/duet-scrollable_3.cjs.entry.js +48 -48
  55. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  56. package/lib/cjs/duet-select.cjs.entry.js +3 -3
  57. package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
  58. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  59. package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
  60. package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
  61. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
  62. package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -10
  63. package/lib/cjs/duet-slideout.cjs.entry.js +19 -16
  64. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  66. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
  68. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  69. package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
  70. package/lib/cjs/duet-textarea.cjs.entry.js +7 -7
  71. package/lib/cjs/duet-toggle.cjs.entry.js +5 -5
  72. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
  74. package/lib/cjs/duet-toolbar-item.cjs.entry.js +7 -7
  75. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +6 -6
  78. package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
  79. package/lib/cjs/duet-tray.cjs.entry.js +4 -4
  80. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  81. package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
  82. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  83. package/lib/cjs/duet.cjs.js +3 -3
  84. package/lib/cjs/{errorcodes.utils-4e8a9de4.js → errorcodes.utils-62e9ce86.js} +1 -1
  85. package/lib/cjs/{focus-utils-2a0030aa.js → focus-utils-d551f3ab.js} +1 -1
  86. package/lib/cjs/{index-21e67ab3.js → index-b496e711.js} +1 -1
  87. package/lib/cjs/{label-2abeac23.js → label-65ad1748.js} +1 -1
  88. package/lib/cjs/{language-utils-b5940c7b.js → language-utils-de99a5da.js} +1 -1
  89. package/lib/cjs/loader.cjs.js +3 -3
  90. package/lib/cjs/{slot-utils-382633cf.js → slot-utils-0a5c7c03.js} +1 -1
  91. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  92. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  93. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  94. package/lib/collection/components/duet-button/duet-button.js +10 -7
  95. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  96. package/lib/collection/components/duet-caption/duet-caption.js +2 -2
  97. package/lib/collection/components/duet-card/duet-card.js +7 -4
  98. package/lib/collection/components/duet-checkbox/duet-checkbox.js +2 -2
  99. package/lib/collection/components/duet-chip/duet-chip.js +1 -1
  100. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  101. package/lib/collection/components/duet-choice/duet-choice.js +6 -6
  102. package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
  103. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  104. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  105. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  106. package/lib/collection/components/duet-date-picker/duet-date-picker.js +7 -2
  107. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  108. package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -2
  109. package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
  110. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  111. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  112. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  113. package/lib/collection/components/duet-grid/duet-grid.js +2 -2
  114. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  115. package/lib/collection/components/duet-heading/duet-heading.js +2 -2
  116. package/lib/collection/components/duet-hero/duet-hero.js +7 -10
  117. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  118. package/lib/collection/components/duet-input/duet-input.js +6 -6
  119. package/lib/collection/components/duet-link/duet-link.css +42 -0
  120. package/lib/collection/components/duet-link/duet-link.js +5 -42
  121. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  122. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  123. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  124. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  125. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  126. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  127. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  128. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  129. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  130. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +2 -2
  131. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  132. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  133. package/lib/collection/components/duet-scrollable/duet-scrollable.css +44 -1
  134. package/lib/collection/components/duet-scrollable/duet-scrollable.js +61 -8
  135. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  136. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  137. package/lib/collection/components/duet-slideout/duet-slideout.js +15 -12
  138. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  139. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  140. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  141. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  142. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  143. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  144. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  145. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  146. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  147. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  148. package/lib/collection/components/duet-tab-group/duet-tab-group.css +66 -56
  149. package/lib/collection/components/duet-tab-group/duet-tab-group.js +39 -40
  150. package/lib/collection/components/duet-table/duet-table.js +2 -2
  151. package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
  152. package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
  153. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  154. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  155. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  156. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  157. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  158. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
  159. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  160. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  161. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  162. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  163. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  164. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  165. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  166. package/lib/dist-custom-elements/duet-alert.js +1 -1
  167. package/lib/dist-custom-elements/duet-badge.js +1 -1
  168. package/lib/dist-custom-elements/duet-banner.js +4 -4
  169. package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
  170. package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
  171. package/lib/dist-custom-elements/duet-button.js +1 -1
  172. package/lib/dist-custom-elements/duet-callout.js +4 -4
  173. package/lib/dist-custom-elements/duet-caption.js +1 -1
  174. package/lib/dist-custom-elements/duet-card.js +11 -8
  175. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  176. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  177. package/lib/dist-custom-elements/duet-chip.js +1 -1
  178. package/lib/dist-custom-elements/duet-choice-group.js +10 -10
  179. package/lib/dist-custom-elements/duet-choice.js +10 -10
  180. package/lib/dist-custom-elements/duet-collapsible.js +4 -4
  181. package/lib/dist-custom-elements/duet-combobox.js +14 -14
  182. package/lib/dist-custom-elements/duet-contact-card.js +10 -10
  183. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  184. package/lib/dist-custom-elements/duet-date-picker.js +19 -14
  185. package/lib/dist-custom-elements/duet-divider.js +1 -1
  186. package/lib/dist-custom-elements/duet-editable-table.js +9 -9
  187. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  188. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  189. package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
  190. package/lib/dist-custom-elements/duet-footer.js +11 -11
  191. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  192. package/lib/dist-custom-elements/duet-grid.js +1 -1
  193. package/lib/dist-custom-elements/duet-header.js +8 -8
  194. package/lib/dist-custom-elements/duet-heading.js +1 -1
  195. package/lib/dist-custom-elements/duet-hero.js +14 -14
  196. package/lib/dist-custom-elements/duet-icon.js +1 -1
  197. package/lib/dist-custom-elements/duet-input.js +1 -1
  198. package/lib/dist-custom-elements/duet-label.js +2 -2
  199. package/lib/dist-custom-elements/duet-layout.js +1 -1
  200. package/lib/dist-custom-elements/duet-link.js +1 -1
  201. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  202. package/lib/dist-custom-elements/duet-list.js +1 -1
  203. package/lib/dist-custom-elements/duet-logo.js +1 -1
  204. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  205. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
  206. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
  207. package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
  208. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  209. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  210. package/lib/dist-custom-elements/duet-modal.js +8 -8
  211. package/lib/dist-custom-elements/duet-multiselect.js +8 -8
  212. package/lib/dist-custom-elements/duet-nav.js +2 -2
  213. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  214. package/lib/dist-custom-elements/duet-notification.js +4 -4
  215. package/lib/dist-custom-elements/duet-number-input.js +10 -10
  216. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  217. package/lib/dist-custom-elements/duet-page-heading.js +5 -5
  218. package/lib/dist-custom-elements/duet-pagination.js +13 -13
  219. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  220. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  221. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  222. package/lib/dist-custom-elements/duet-progress.js +1 -1
  223. package/lib/dist-custom-elements/duet-promo-card.js +6 -6
  224. package/lib/dist-custom-elements/duet-radio-group.js +9 -9
  225. package/lib/dist-custom-elements/duet-radio.js +1 -1
  226. package/lib/dist-custom-elements/duet-range-slider.js +1 -1
  227. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  228. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  229. package/lib/dist-custom-elements/duet-section-layout.js +4 -4
  230. package/lib/dist-custom-elements/duet-select.js +1 -1
  231. package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
  232. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  233. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  234. package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
  235. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
  236. package/lib/dist-custom-elements/duet-slideout-panel.js +9 -9
  237. package/lib/dist-custom-elements/duet-slideout.js +19 -16
  238. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  239. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  240. package/lib/dist-custom-elements/duet-step.js +4 -4
  241. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  242. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
  243. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
  244. package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
  245. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  246. package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
  247. package/lib/dist-custom-elements/duet-tab-group.js +40 -77
  248. package/lib/dist-custom-elements/duet-tab.js +4 -4
  249. package/lib/dist-custom-elements/duet-table.js +1 -1
  250. package/lib/dist-custom-elements/duet-textarea.js +12 -12
  251. package/lib/dist-custom-elements/duet-toggle.js +3 -3
  252. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  253. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
  254. package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
  255. package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
  256. package/lib/dist-custom-elements/duet-toolbar.js +3 -3
  257. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  258. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  259. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  260. package/lib/dist-custom-elements/duet-tray.js +5 -5
  261. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  262. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  263. package/lib/dist-custom-elements/duet-upload.js +21 -21
  264. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  265. package/lib/dist-custom-elements/index.js +1 -1
  266. package/lib/dist-custom-elements/{p-1f4fbc7a.js → p-0562173d.js} +1 -1
  267. package/lib/dist-custom-elements/{p-4da43fbc.js → p-06932c23.js} +5 -5
  268. package/lib/dist-custom-elements/{p-3431b690.js → p-09509e38.js} +3 -3
  269. package/lib/dist-custom-elements/{p-d77db171.js → p-188506d4.js} +1 -1
  270. package/lib/dist-custom-elements/{p-6b77d4d3.js → p-19a763d1.js} +3 -3
  271. package/lib/dist-custom-elements/{p-89b10856.js → p-1f07910e.js} +5 -5
  272. package/lib/dist-custom-elements/{p-de8f018a.js → p-3a8f6bf2.js} +3 -3
  273. package/lib/dist-custom-elements/{p-a2147aff.js → p-44f0c510.js} +7 -7
  274. package/lib/dist-custom-elements/{p-ab34075b.js → p-48b9317e.js} +1 -1
  275. package/lib/dist-custom-elements/{p-68c629a8.js → p-5c3b173b.js} +1 -1
  276. package/lib/dist-custom-elements/{p-df2042f8.js → p-5ccb11e5.js} +4 -4
  277. package/lib/dist-custom-elements/{p-3ce1f7b8.js → p-641af615.js} +12 -12
  278. package/lib/dist-custom-elements/{p-e176f419.js → p-69dae529.js} +3 -3
  279. package/lib/dist-custom-elements/{p-9f9423c6.js → p-7307e4ef.js} +1 -1
  280. package/lib/dist-custom-elements/{p-22147601.js → p-77f4f1d9.js} +4 -4
  281. package/lib/dist-custom-elements/{p-d1f89e90.js → p-7897b8a7.js} +2 -2
  282. package/lib/dist-custom-elements/{p-de4ee016.js → p-82f4662e.js} +8 -39
  283. package/lib/dist-custom-elements/{p-29be247b.js → p-8b5ed6f5.js} +1 -1
  284. package/lib/dist-custom-elements/{p-430f3778.js → p-9263fe36.js} +2 -2
  285. package/lib/dist-custom-elements/{p-41dca9e4.js → p-9a9bfcd7.js} +2 -2
  286. package/lib/dist-custom-elements/{p-b8de9a9c.js → p-9b7e188a.js} +5 -5
  287. package/lib/dist-custom-elements/{p-1ccd7c39.js → p-a6f6eeea.js} +4 -4
  288. package/lib/dist-custom-elements/{p-dad518a5.js → p-a95aa79f.js} +23 -14
  289. package/lib/dist-custom-elements/{p-02f97b91.js → p-b3ffc8ec.js} +2 -2
  290. package/lib/dist-custom-elements/{p-1296f851.js → p-b59bcc0d.js} +4 -4
  291. package/lib/dist-custom-elements/{p-9fa4eb51.js → p-b59d4ed8.js} +5 -5
  292. package/lib/dist-custom-elements/{p-087d8c5a.js → p-b605dc21.js} +3 -3
  293. package/lib/dist-custom-elements/{p-2f25dfb3.js → p-bc8e5d5f.js} +3 -3
  294. package/lib/dist-custom-elements/{p-956e3bce.js → p-c5766108.js} +3 -3
  295. package/lib/dist-custom-elements/{p-b0925e24.js → p-ca6c91da.js} +15 -12
  296. package/lib/dist-custom-elements/{p-d2a5148f.js → p-ceace5a5.js} +3 -3
  297. package/lib/dist-custom-elements/{p-2c70b9f4.js → p-d3f11b87.js} +3 -3
  298. package/lib/dist-custom-elements/{p-174a9d1d.js → p-d46e8086.js} +2 -2
  299. package/lib/dist-custom-elements/{p-e37d189b.js → p-e13570ea.js} +15 -15
  300. package/lib/dist-custom-elements/{p-36ab2d57.js → p-f08fd5ce.js} +4 -4
  301. package/lib/dist-custom-elements/{p-43c4a1af.js → p-f459d4e1.js} +3 -3
  302. package/lib/dist-custom-elements/{p-330bcf1d.js → p-fa0f5c3a.js} +6 -6
  303. package/lib/dist-custom-elements/{p-fe9e47d9.js → p-fbf7b0a3.js} +5 -5
  304. package/lib/dist-custom-elements/{p-c7d815f6.js → p-fc1fca67.js} +3 -3
  305. package/lib/duet/duet.esm.js +1 -1
  306. package/lib/duet/duet.js +1 -1
  307. package/lib/duet/{p-7f5c1da2.entry.js → p-000e222f.entry.js} +1 -1
  308. package/lib/duet/{p-1183d305.system.entry.js → p-0252f72e.system.entry.js} +1 -1
  309. package/lib/duet/p-02ed65bb.entry.js +4 -0
  310. package/lib/duet/{p-3810c7dc.entry.js → p-0591a60a.entry.js} +1 -1
  311. package/lib/duet/{p-0a305aee.entry.js → p-065b1525.entry.js} +1 -1
  312. package/lib/duet/{p-3106c658.entry.js → p-07ee8a5a.entry.js} +1 -1
  313. package/lib/duet/{p-d86d8491.system.entry.js → p-094a08cd.system.entry.js} +1 -1
  314. package/lib/duet/{p-bcc40139.system.entry.js → p-0ca126ad.system.entry.js} +2 -2
  315. package/lib/duet/{p-0e348f96.system.entry.js → p-0ede7f02.system.entry.js} +1 -1
  316. package/lib/duet/{p-34024554.system.entry.js → p-0ee00147.system.entry.js} +1 -1
  317. package/lib/duet/{p-76563c02.entry.js → p-0f6cce6b.entry.js} +1 -1
  318. package/lib/duet/p-1098a40f.system.js +4 -0
  319. package/lib/duet/{p-9b04e4a2.entry.js → p-13dc711a.entry.js} +1 -1
  320. package/lib/duet/{p-d3c304b5.system.js → p-149b677a.system.js} +1 -1
  321. package/lib/duet/{p-af209330.entry.js → p-150dbbea.entry.js} +1 -1
  322. package/lib/duet/{p-5dbd1202.entry.js → p-169b720a.entry.js} +1 -1
  323. package/lib/duet/{p-209d6065.system.entry.js → p-16d57da2.system.entry.js} +1 -1
  324. package/lib/duet/{p-7a67ce10.system.entry.js → p-1721c077.system.entry.js} +1 -1
  325. package/lib/duet/{p-76b84b22.entry.js → p-19119130.entry.js} +1 -1
  326. package/lib/duet/p-1a570ee1.system.entry.js +4 -0
  327. package/lib/duet/p-1ac41e38.entry.js +4 -0
  328. package/lib/duet/{p-1e9e887d.entry.js → p-1bd826bf.entry.js} +1 -1
  329. package/lib/duet/{p-e258270f.entry.js → p-1e0cebdf.entry.js} +1 -1
  330. package/lib/duet/{p-4e9052cd.entry.js → p-1e5e00f9.entry.js} +1 -1
  331. package/lib/duet/{p-6537159a.system.entry.js → p-1feb6b08.system.entry.js} +2 -2
  332. package/lib/duet/{p-e8dd29e7.entry.js → p-20fd92d9.entry.js} +1 -1
  333. package/lib/duet/{p-a7d809b4.system.entry.js → p-23e0edcb.system.entry.js} +1 -1
  334. package/lib/duet/{p-966bd64a.entry.js → p-23f70a40.entry.js} +1 -1
  335. package/lib/duet/{p-29152853.entry.js → p-25953772.entry.js} +1 -1
  336. package/lib/duet/{p-efa5ec67.entry.js → p-26807a70.entry.js} +1 -1
  337. package/lib/duet/{p-c8421271.system.entry.js → p-268864c3.system.entry.js} +1 -1
  338. package/lib/duet/{p-620d4575.system.entry.js → p-2bd1ad09.system.entry.js} +1 -1
  339. package/lib/duet/{p-7972306f.entry.js → p-2dcfcae6.entry.js} +1 -1
  340. package/lib/duet/{p-a19244e5.system.js → p-2e0eb8a4.system.js} +1 -1
  341. package/lib/duet/{p-cbedbd77.system.entry.js → p-3170270d.system.entry.js} +1 -1
  342. package/lib/duet/{p-605e69c8.system.js → p-32a09a31.system.js} +1 -1
  343. package/lib/duet/{p-76d69a18.system.js → p-35a1ffee.system.js} +1 -1
  344. package/lib/duet/{p-2de0ab3d.system.entry.js → p-3a1eeb98.system.entry.js} +1 -1
  345. package/lib/duet/{p-629a9c13.entry.js → p-3a76a6b7.entry.js} +1 -1
  346. package/lib/duet/{p-fee25f59.entry.js → p-3b807b7b.entry.js} +1 -1
  347. package/lib/duet/{p-58caf53a.system.entry.js → p-3d6d7bad.system.entry.js} +1 -1
  348. package/lib/duet/{p-670bd483.system.entry.js → p-3d96fc7c.system.entry.js} +1 -1
  349. package/lib/duet/p-3e39a663.system.entry.js +4 -0
  350. package/lib/duet/{p-43cc4ad9.system.entry.js → p-3ee6543a.system.entry.js} +1 -1
  351. package/lib/duet/{p-dfd223d9.entry.js → p-3f4ee42c.entry.js} +1 -1
  352. package/lib/duet/{p-c3ba8e74.system.entry.js → p-410f94e9.system.entry.js} +1 -1
  353. package/lib/duet/{p-3fe7e109.system.entry.js → p-477a0ad7.system.entry.js} +1 -1
  354. package/lib/duet/{p-e2daf94c.entry.js → p-4816c631.entry.js} +1 -1
  355. package/lib/duet/{p-2814473c.system.entry.js → p-4a96a1cc.system.entry.js} +1 -1
  356. package/lib/duet/{p-b765710e.entry.js → p-4ac45e30.entry.js} +1 -1
  357. package/lib/duet/{p-9253e832.system.entry.js → p-4ba72133.system.entry.js} +1 -1
  358. package/lib/duet/p-4c30f1b5.entry.js +4 -0
  359. package/lib/duet/{p-021a4763.system.entry.js → p-4cd00958.system.entry.js} +1 -1
  360. package/lib/duet/{p-3d96186f.system.entry.js → p-4dcf7aab.system.entry.js} +1 -1
  361. package/lib/duet/{p-2437b4cb.js → p-51b2f340.js} +1 -1
  362. package/lib/duet/{p-2fa7ecef.entry.js → p-51b8e39a.entry.js} +1 -1
  363. package/lib/duet/{p-fd2299b4.entry.js → p-529bb649.entry.js} +1 -1
  364. package/lib/duet/{p-2a0ad29c.system.entry.js → p-539ee8e9.system.entry.js} +1 -1
  365. package/lib/duet/{p-031167a1.system.entry.js → p-53b490bf.system.entry.js} +1 -1
  366. package/lib/duet/{p-79dfc8e6.system.entry.js → p-5428f3f5.system.entry.js} +2 -2
  367. package/lib/duet/{p-1e904342.entry.js → p-547f2129.entry.js} +1 -1
  368. package/lib/duet/{p-f43e134e.system.entry.js → p-54a3643a.system.entry.js} +1 -1
  369. package/lib/duet/p-55309597.system.entry.js +4 -0
  370. package/lib/duet/{p-2b35de7b.entry.js → p-57930d52.entry.js} +1 -1
  371. package/lib/duet/{p-b010f56b.system.entry.js → p-57ab6af5.system.entry.js} +2 -2
  372. package/lib/duet/{p-62bdecfb.system.entry.js → p-58ea29ca.system.entry.js} +1 -1
  373. package/lib/duet/{p-4ee7eb8a.entry.js → p-59435e55.entry.js} +1 -1
  374. package/lib/duet/{p-ff4f7076.entry.js → p-5acb3f21.entry.js} +1 -1
  375. package/lib/duet/{p-43d16748.system.entry.js → p-5ca36d56.system.entry.js} +1 -1
  376. package/lib/duet/{p-0ee85b71.entry.js → p-5dea17eb.entry.js} +1 -1
  377. package/lib/duet/{p-4e7f27d8.entry.js → p-5e234865.entry.js} +1 -1
  378. package/lib/duet/{p-2b45d2e4.entry.js → p-5e780477.entry.js} +1 -1
  379. package/lib/duet/{p-a47047f2.entry.js → p-5ebe5e38.entry.js} +1 -1
  380. package/lib/duet/{p-a8a381c9.system.entry.js → p-602843ca.system.entry.js} +1 -1
  381. package/lib/duet/{p-2dc360ee.entry.js → p-60d2344e.entry.js} +1 -1
  382. package/lib/duet/{p-f6bd2d4f.system.entry.js → p-645cfb68.system.entry.js} +1 -1
  383. package/lib/duet/{p-d7d86092.js → p-6817c980.js} +1 -1
  384. package/lib/duet/{p-2810c6dc.system.entry.js → p-68209f39.system.entry.js} +2 -2
  385. package/lib/duet/{p-41552571.system.entry.js → p-6898b482.system.entry.js} +1 -1
  386. package/lib/duet/p-6a263519.entry.js +4 -0
  387. package/lib/duet/{p-5170726b.system.entry.js → p-6a30f4a1.system.entry.js} +1 -1
  388. package/lib/duet/{p-fbf89657.system.entry.js → p-6c10d77d.system.entry.js} +1 -1
  389. package/lib/duet/{p-c8e22ae2.system.entry.js → p-6e72268d.system.entry.js} +1 -1
  390. package/lib/duet/{p-237efb0c.system.entry.js → p-6fe2f15f.system.entry.js} +1 -1
  391. package/lib/duet/{p-6b436ca9.entry.js → p-6fe8172a.entry.js} +1 -1
  392. package/lib/duet/{p-fcb14b31.system.entry.js → p-735aecee.system.entry.js} +2 -2
  393. package/lib/duet/{p-a3341588.entry.js → p-74f62fcc.entry.js} +1 -1
  394. package/lib/duet/{p-215f4257.system.entry.js → p-751e58ce.system.entry.js} +1 -1
  395. package/lib/duet/{p-051c4536.entry.js → p-76a9c7a5.entry.js} +1 -1
  396. package/lib/duet/{p-d43fc5e9.system.entry.js → p-76ce944a.system.entry.js} +1 -1
  397. package/lib/duet/{p-b6c584b6.entry.js → p-78368247.entry.js} +1 -1
  398. package/lib/duet/p-79bdb03d.entry.js +4 -0
  399. package/lib/duet/{p-6324514a.system.entry.js → p-79e58ba1.system.entry.js} +2 -2
  400. package/lib/duet/{p-8abb0984.js → p-7a75bff7.js} +1 -1
  401. package/lib/duet/p-7b47d427.entry.js +4 -0
  402. package/lib/duet/{p-3c64dab9.entry.js → p-7ee6ca05.entry.js} +1 -1
  403. package/lib/duet/{p-a2aa619b.system.entry.js → p-80d8a60b.system.entry.js} +1 -1
  404. package/lib/duet/{p-1e17463d.system.js → p-81835239.system.js} +1 -1
  405. package/lib/duet/p-85e7cc53.entry.js +4 -0
  406. package/lib/duet/{p-4a9978a4.entry.js → p-863b96d9.entry.js} +1 -1
  407. package/lib/duet/{p-c694f12d.system.entry.js → p-885bdca8.system.entry.js} +1 -1
  408. package/lib/duet/{p-d6dc9819.system.entry.js → p-88f8dcab.system.entry.js} +1 -1
  409. package/lib/duet/{p-c15cd383.system.entry.js → p-8bee9cd3.system.entry.js} +1 -1
  410. package/lib/duet/{p-44ee649f.system.entry.js → p-8c0a6ad4.system.entry.js} +1 -1
  411. package/lib/duet/{p-769a3309.system.entry.js → p-8c7b6794.system.entry.js} +1 -1
  412. package/lib/duet/{p-7acabaa7.system.js → p-8e540cf9.system.js} +1 -1
  413. package/lib/duet/{p-3df2981e.system.entry.js → p-8f2cac21.system.entry.js} +1 -1
  414. package/lib/duet/{p-250fb070.entry.js → p-8fe4cb7b.entry.js} +1 -1
  415. package/lib/duet/{p-f105f32a.system.entry.js → p-915b2385.system.entry.js} +1 -1
  416. package/lib/duet/{p-b69f3d9d.system.entry.js → p-942d73b3.system.entry.js} +1 -1
  417. package/lib/duet/{p-8f4cdf46.system.entry.js → p-97406378.system.entry.js} +1 -1
  418. package/lib/duet/{p-a2b93336.system.entry.js → p-99c527c4.system.entry.js} +1 -1
  419. package/lib/duet/{p-20d056ac.entry.js → p-99d8e4b1.entry.js} +1 -1
  420. package/lib/duet/{p-3faaa469.entry.js → p-9a3a1129.entry.js} +1 -1
  421. package/lib/duet/p-9bcd8d52.system.js +4 -0
  422. package/lib/duet/{p-27ed5ca7.system.entry.js → p-9c9e3bf3.system.entry.js} +1 -1
  423. package/lib/duet/{p-27260106.entry.js → p-9cc7444d.entry.js} +1 -1
  424. package/lib/duet/{p-cf30c088.entry.js → p-9cdabda3.entry.js} +1 -1
  425. package/lib/duet/{p-2fb96333.entry.js → p-9d6cf60e.entry.js} +1 -1
  426. package/lib/duet/{p-c22935bf.system.entry.js → p-9e014353.system.entry.js} +1 -1
  427. package/lib/duet/p-a030ecff.entry.js +4 -0
  428. package/lib/duet/{p-25d79094.entry.js → p-a49aa1e4.entry.js} +1 -1
  429. package/lib/duet/{p-a600451a.entry.js → p-a6ca2484.entry.js} +1 -1
  430. package/lib/duet/{p-f0b0e2b2.system.entry.js → p-abb0f090.system.entry.js} +1 -1
  431. package/lib/duet/{p-76b42e90.entry.js → p-af086dc4.entry.js} +1 -1
  432. package/lib/duet/{p-f5dd7e7e.system.entry.js → p-b065a169.system.entry.js} +1 -1
  433. package/lib/duet/p-b4f3e81a.js +4 -0
  434. package/lib/duet/{p-894c1be1.system.entry.js → p-b5ce0b66.system.entry.js} +1 -1
  435. package/lib/duet/{p-ce543cc1.system.entry.js → p-b6689aeb.system.entry.js} +1 -1
  436. package/lib/duet/p-b7247c4a.entry.js +4 -0
  437. package/lib/duet/p-b909d55e.system.entry.js +4 -0
  438. package/lib/duet/{p-8142169f.system.entry.js → p-c31aff06.system.entry.js} +1 -1
  439. package/lib/duet/{p-e38edd16.system.entry.js → p-c4b27218.system.entry.js} +1 -1
  440. package/lib/duet/{p-f75a6d54.system.entry.js → p-c4cd0199.system.entry.js} +1 -1
  441. package/lib/duet/{p-2b6a7397.js → p-c553a49a.js} +1 -1
  442. package/lib/duet/{p-5e25b406.entry.js → p-c59bc2db.entry.js} +1 -1
  443. package/lib/duet/{p-380f74e8.system.entry.js → p-c64eb22a.system.entry.js} +1 -1
  444. package/lib/duet/{p-7dd3b7d1.entry.js → p-c86a2ae1.entry.js} +1 -1
  445. package/lib/duet/p-c8bd1ccb.entry.js +4 -0
  446. package/lib/duet/{p-3d826a58.system.entry.js → p-c90242c5.system.entry.js} +1 -1
  447. package/lib/duet/{p-f97500ff.system.entry.js → p-cc70a233.system.entry.js} +1 -1
  448. package/lib/duet/{p-e44da0ff.system.entry.js → p-cc8d3ed0.system.entry.js} +1 -1
  449. package/lib/duet/{p-e0536bb5.entry.js → p-cd9f1743.entry.js} +1 -1
  450. package/lib/duet/{p-c52e8007.entry.js → p-cfa7d3f2.entry.js} +1 -1
  451. package/lib/duet/{p-c79cbfdb.entry.js → p-d07788a4.entry.js} +1 -1
  452. package/lib/duet/{p-60547899.system.entry.js → p-d146e39b.system.entry.js} +1 -1
  453. package/lib/duet/{p-7cce22af.system.js → p-d41e4088.system.js} +1 -1
  454. package/lib/duet/{p-49fa4a07.entry.js → p-d4ccd7cd.entry.js} +1 -1
  455. package/lib/duet/{p-612fbfcc.entry.js → p-d71ee4e2.entry.js} +1 -1
  456. package/lib/duet/{p-55674524.entry.js → p-d8e196af.entry.js} +1 -1
  457. package/lib/duet/{p-c2dd561e.entry.js → p-dd7fb771.entry.js} +1 -1
  458. package/lib/duet/{p-7d2fffc2.entry.js → p-de4bf9cc.entry.js} +1 -1
  459. package/lib/duet/{p-c6894b07.system.entry.js → p-e033daf1.system.entry.js} +1 -1
  460. package/lib/duet/{p-25af4a6c.entry.js → p-e0f5fed4.entry.js} +1 -1
  461. package/lib/duet/p-e2c7e2d3.entry.js +4 -0
  462. package/lib/duet/{p-2b2cd3be.entry.js → p-e385f91d.entry.js} +1 -1
  463. package/lib/duet/{p-5b927db3.entry.js → p-e395172c.entry.js} +1 -1
  464. package/lib/duet/{p-6447f20d.system.entry.js → p-e4b4cb3c.system.entry.js} +1 -1
  465. package/lib/duet/{p-c8d3cb52.entry.js → p-e57690a5.entry.js} +1 -1
  466. package/lib/duet/{p-6be341c4.entry.js → p-e7596a00.entry.js} +1 -1
  467. package/lib/duet/{p-ee1eb7cb.system.entry.js → p-ea4c67d7.system.entry.js} +1 -1
  468. package/lib/duet/{p-a51e1b9e.entry.js → p-eb00f684.entry.js} +1 -1
  469. package/lib/duet/p-ec87c2c0.entry.js +4 -0
  470. package/lib/duet/{p-eca03d5e.js → p-ecf89776.js} +1 -1
  471. package/lib/duet/{p-8481bbda.entry.js → p-f0d3cbf0.entry.js} +1 -1
  472. package/lib/duet/{p-8c9eb171.js → p-f2462d98.js} +1 -1
  473. package/lib/duet/{p-153b6150.system.entry.js → p-f3e11ae2.system.entry.js} +1 -1
  474. package/lib/duet/{p-40bab9a0.system.entry.js → p-f4cd0368.system.entry.js} +1 -1
  475. package/lib/duet/{p-fa3b3dbc.system.entry.js → p-f609ba36.system.entry.js} +1 -1
  476. package/lib/duet/{p-192bba35.system.entry.js → p-f64fe362.system.entry.js} +1 -1
  477. package/lib/duet/{p-486576ee.entry.js → p-f691b978.entry.js} +1 -1
  478. package/lib/duet/{p-aca3a5a9.entry.js → p-f8956559.entry.js} +1 -1
  479. package/lib/duet/{p-871d7ca1.system.entry.js → p-fb8e8fbf.system.entry.js} +2 -2
  480. package/lib/duet/{p-2eae4a0b.js → p-fbc347fd.js} +1 -1
  481. package/lib/duet/{p-07847129.system.entry.js → p-fcd4f841.system.entry.js} +1 -1
  482. package/lib/esm/{a11y-utils-8fc393f6.js → a11y-utils-c52606bf.js} +1 -1
  483. package/lib/esm/{app-globals-00959ca9.js → app-globals-18e70157.js} +1 -1
  484. package/lib/esm/duet-action-button.entry.js +2 -2
  485. package/lib/esm/duet-alert.entry.js +3 -3
  486. package/lib/esm/duet-badge.entry.js +3 -3
  487. package/lib/esm/duet-banner.entry.js +2 -2
  488. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  489. package/lib/esm/duet-breadcrumbs.entry.js +4 -4
  490. package/lib/esm/duet-button_2.entry.js +12 -9
  491. package/lib/esm/duet-callout.entry.js +4 -4
  492. package/lib/esm/duet-caption_4.entry.js +14 -44
  493. package/lib/esm/duet-card.entry.js +8 -5
  494. package/lib/esm/duet-checkbox.entry.js +3 -3
  495. package/lib/esm/duet-checkmark.entry.js +3 -3
  496. package/lib/esm/duet-chip_3.entry.js +6 -6
  497. package/lib/esm/duet-choice_2.entry.js +11 -11
  498. package/lib/esm/duet-collapsible.entry.js +4 -4
  499. package/lib/esm/duet-combobox.entry.js +3 -3
  500. package/lib/esm/duet-contact-card.entry.js +4 -4
  501. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  502. package/lib/esm/duet-date-picker.entry.js +12 -7
  503. package/lib/esm/duet-divider_2.entry.js +2 -2
  504. package/lib/esm/duet-editable-table_3.entry.js +9 -9
  505. package/lib/esm/duet-empty-state.entry.js +3 -3
  506. package/lib/esm/duet-fieldset.entry.js +5 -5
  507. package/lib/esm/duet-file-chooser.entry.js +2 -2
  508. package/lib/esm/duet-footer.entry.js +7 -7
  509. package/lib/esm/duet-grid_2.entry.js +5 -5
  510. package/lib/esm/duet-header_2.entry.js +2 -2
  511. package/lib/esm/duet-hero.entry.js +8 -8
  512. package/lib/esm/duet-icon.entry.js +4 -4
  513. package/lib/esm/duet-input_2.entry.js +10 -10
  514. package/lib/esm/duet-layout.entry.js +2 -2
  515. package/lib/esm/duet-list_2.entry.js +3 -3
  516. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  517. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
  518. package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
  519. package/lib/esm/duet-menu-bar-item.entry.js +6 -6
  520. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  521. package/lib/esm/duet-menu-bar.entry.js +2 -2
  522. package/lib/esm/duet-modal.entry.js +4 -4
  523. package/lib/esm/duet-multiselect.entry.js +4 -4
  524. package/lib/esm/duet-nav.entry.js +2 -2
  525. package/lib/esm/duet-notification_2.entry.js +4 -4
  526. package/lib/esm/duet-number-input.entry.js +3 -3
  527. package/lib/esm/duet-overlay.entry.js +1 -1
  528. package/lib/esm/duet-page-heading.entry.js +3 -3
  529. package/lib/esm/duet-pagination_2.entry.js +2 -2
  530. package/lib/esm/duet-progress.entry.js +2 -2
  531. package/lib/esm/duet-promo-card.entry.js +4 -4
  532. package/lib/esm/duet-radio_2.entry.js +3 -3
  533. package/lib/esm/duet-range-slider.entry.js +3 -3
  534. package/lib/esm/duet-scrollable_3.entry.js +48 -48
  535. package/lib/esm/duet-section-layout.entry.js +4 -4
  536. package/lib/esm/duet-select.entry.js +3 -3
  537. package/lib/esm/duet-shaped-image.entry.js +3 -3
  538. package/lib/esm/duet-show-more.entry.js +2 -2
  539. package/lib/esm/duet-slideout-lang.entry.js +3 -3
  540. package/lib/esm/duet-slideout-link.entry.js +3 -3
  541. package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
  542. package/lib/esm/duet-slideout-panel.entry.js +10 -10
  543. package/lib/esm/duet-slideout.entry.js +19 -16
  544. package/lib/esm/duet-step_2.entry.js +1 -1
  545. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  546. package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
  547. package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
  548. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  549. package/lib/esm/duet-submenu-bar.entry.js +6 -6
  550. package/lib/esm/duet-textarea.entry.js +7 -7
  551. package/lib/esm/duet-toggle.entry.js +5 -5
  552. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  553. package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
  554. package/lib/esm/duet-toolbar-item.entry.js +7 -7
  555. package/lib/esm/duet-toolbar-link.entry.js +3 -3
  556. package/lib/esm/duet-toolbar.entry.js +3 -3
  557. package/lib/esm/duet-tooltip-button_2.entry.js +6 -6
  558. package/lib/esm/duet-tooltip.entry.js +3 -3
  559. package/lib/esm/duet-tray.entry.js +4 -4
  560. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  561. package/lib/esm/duet-upload-item.entry.js +5 -5
  562. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  563. package/lib/esm/duet.js +4 -4
  564. package/lib/esm/{errorcodes.utils-d9431251.js → errorcodes.utils-e12abdc5.js} +1 -1
  565. package/lib/esm/{focus-utils-adcd9463.js → focus-utils-4226b57a.js} +1 -1
  566. package/lib/esm/{index-1d0b7c66.js → index-4b4e4ec8.js} +1 -1
  567. package/lib/esm/{label-ce262202.js → label-a30d1f04.js} +1 -1
  568. package/lib/esm/{language-utils-14969cef.js → language-utils-1b413a6b.js} +1 -1
  569. package/lib/esm/loader.js +4 -4
  570. package/lib/esm/{slot-utils-4e5ed4eb.js → slot-utils-ae4dc467.js} +1 -1
  571. package/lib/esm-es5/{a11y-utils-8fc393f6.js → a11y-utils-c52606bf.js} +1 -1
  572. package/lib/esm-es5/{app-globals-00959ca9.js → app-globals-18e70157.js} +1 -1
  573. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  574. package/lib/esm-es5/duet-alert.entry.js +1 -1
  575. package/lib/esm-es5/duet-badge.entry.js +1 -1
  576. package/lib/esm-es5/duet-banner.entry.js +1 -1
  577. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  578. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  579. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  580. package/lib/esm-es5/duet-callout.entry.js +1 -1
  581. package/lib/esm-es5/duet-caption_4.entry.js +2 -2
  582. package/lib/esm-es5/duet-card.entry.js +2 -2
  583. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  584. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  585. package/lib/esm-es5/duet-chip_3.entry.js +1 -1
  586. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  587. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  588. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  589. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  590. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  591. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  592. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  593. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  594. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  595. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  596. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  597. package/lib/esm-es5/duet-footer.entry.js +1 -1
  598. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  599. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  600. package/lib/esm-es5/duet-hero.entry.js +2 -2
  601. package/lib/esm-es5/duet-icon.entry.js +1 -1
  602. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  603. package/lib/esm-es5/duet-layout.entry.js +1 -1
  604. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  605. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  606. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  607. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  608. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  609. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  610. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  611. package/lib/esm-es5/duet-modal.entry.js +1 -1
  612. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  613. package/lib/esm-es5/duet-nav.entry.js +1 -1
  614. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  615. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  616. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  617. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  618. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  619. package/lib/esm-es5/duet-progress.entry.js +1 -1
  620. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  621. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  622. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  623. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  624. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  625. package/lib/esm-es5/duet-select.entry.js +1 -1
  626. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  627. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  628. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  629. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  630. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  631. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  632. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  633. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  634. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  635. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  636. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  637. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  638. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  639. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  640. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  641. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  642. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  643. package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
  644. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  645. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  646. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  647. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  648. package/lib/esm-es5/duet-tray.entry.js +1 -1
  649. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  650. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  651. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  652. package/lib/esm-es5/duet.js +1 -1
  653. package/lib/esm-es5/{errorcodes.utils-d9431251.js → errorcodes.utils-e12abdc5.js} +1 -1
  654. package/lib/esm-es5/focus-utils-4226b57a.js +4 -0
  655. package/lib/esm-es5/{index-1d0b7c66.js → index-4b4e4ec8.js} +1 -1
  656. package/lib/esm-es5/{label-ce262202.js → label-a30d1f04.js} +1 -1
  657. package/lib/esm-es5/{language-utils-14969cef.js → language-utils-1b413a6b.js} +1 -1
  658. package/lib/esm-es5/loader.js +1 -1
  659. package/lib/esm-es5/{slot-utils-4e5ed4eb.js → slot-utils-ae4dc467.js} +1 -1
  660. package/lib/types/components/duet-hero/duet-hero.d.ts +1 -2
  661. package/lib/types/components/duet-link/duet-link.d.ts +0 -7
  662. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +8 -0
  663. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +9 -4
  664. package/lib/types/components.d.ts +12 -6
  665. package/package.json +3 -3
  666. package/lib/duet/p-05ca5aea.entry.js +0 -4
  667. package/lib/duet/p-0e8e80b1.entry.js +0 -4
  668. package/lib/duet/p-1268b5a0.system.entry.js +0 -4
  669. package/lib/duet/p-20eaf445.system.entry.js +0 -4
  670. package/lib/duet/p-2a979523.entry.js +0 -4
  671. package/lib/duet/p-2bf17427.entry.js +0 -4
  672. package/lib/duet/p-5db9497a.entry.js +0 -4
  673. package/lib/duet/p-7483d86c.entry.js +0 -4
  674. package/lib/duet/p-965e597c.system.js +0 -4
  675. package/lib/duet/p-9fb9ba73.entry.js +0 -4
  676. package/lib/duet/p-aa82f9a1.entry.js +0 -4
  677. package/lib/duet/p-ac9460ca.entry.js +0 -4
  678. package/lib/duet/p-e1c881da.system.js +0 -4
  679. package/lib/duet/p-e93849fd.system.entry.js +0 -4
  680. package/lib/duet/p-e9d2f4a1.entry.js +0 -4
  681. package/lib/duet/p-f3633004.entry.js +0 -4
  682. package/lib/duet/p-f3cf6b50.entry.js +0 -4
  683. package/lib/duet/p-fbc396a7.system.entry.js +0 -4
  684. package/lib/duet/p-fd78f61a.js +0 -4
  685. package/lib/esm-es5/focus-utils-adcd9463.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as a,g as r}from"./p-8abb0984.js";import{i as o}from"./p-aaa7a7bd.js";const n=class{constructor(t){e(this,t),this.theme="",this.variation="default",this.accessibleLabel=void 0}componentWillLoad(){o(this)}render(){const e="primary"===this.variation||"negative"===this.variation||"turva"===this.theme&&"secondary"===this.variation?"primary":"secondary"===this.variation?"secondary":"default";return t(a,{key:"188a69397278acb8403cb0798a75fbc9d80a0d45"},t("nav",{key:"e215710483f2e92e44b12755d131bd1b7c3503fe",class:{"duet-toolbar":!0,"duet-theme-turva":"turva"===this.theme,[e]:!0},"aria-label":this.accessibleLabel},t("div",{key:"eacf66f064b8f43f140fb37852432c08d2bc4cde",class:"container"},t("div",{key:"fc3781dbe2dda46e2452d996dcabf0fc29f07695",class:"list",role:"list"},t("slot",{key:"291e04fd4f9b9aa3bc0a63577593825bcc51a94d",name:"left"})),t("div",{key:"3f9cfd1df02a12b5186353c61bb14b587308f1d4",class:"list",role:"list"},t("slot",{key:"7ab7c8a0f368b4d569370887ca4b5aefa2724893",name:"right"})))))}get element(){return r(this)}};n.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-toolbar{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255)}.duet-toolbar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;height:36px;margin:0 28px;border-bottom:1px solid rgb(212, 223, 229)}.duet-toolbar .list{display:flex;align-items:center;justify-content:space-between;height:100%;list-style-type:none}.duet-toolbar ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-toolbar.primary{background:rgb(0, 119, 179)}.duet-toolbar.primary .container{border-bottom:0}.duet-toolbar.secondary{background:rgb(8, 42, 77)}.duet-toolbar.secondary .container{border-bottom:0}.duet-toolbar.duet-theme-turva{background:rgb(255, 255, 255)}.duet-toolbar.duet-theme-turva .container{border-bottom:1px solid rgb(222, 224, 228)}.duet-toolbar.duet-theme-turva.primary{background:rgb(198, 12, 48)}.duet-toolbar.duet-theme-turva.primary .container{border-bottom:0}";export{n as duet_toolbar}
4
+ import{r as e,h as t,H as a,g as r}from"./p-7a75bff7.js";import{i as o}from"./p-aaa7a7bd.js";const n=class{constructor(t){e(this,t),this.theme="",this.variation="default",this.accessibleLabel=void 0}componentWillLoad(){o(this)}render(){const e="primary"===this.variation||"negative"===this.variation||"turva"===this.theme&&"secondary"===this.variation?"primary":"secondary"===this.variation?"secondary":"default";return t(a,{key:"623f017e9ed4beb5b7a48bd2e1f2fc84c1c249c3"},t("nav",{key:"dacb193ee88a1e8445a0b662de8f5a717f9883dd",class:{"duet-toolbar":!0,"duet-theme-turva":"turva"===this.theme,[e]:!0},"aria-label":this.accessibleLabel},t("div",{key:"10f9e7ede421701301e1e1ee45ae85b61c54184a",class:"container"},t("div",{key:"7bde8fc12ca6d1267484a0f5d2d0aa9146dfe220",class:"list",role:"list"},t("slot",{key:"71515d752a76eed3236b91e158221a39ea7f9984",name:"left"})),t("div",{key:"b731edf335cceac55399e111e45f67425e8c28ae",class:"list",role:"list"},t("slot",{key:"b079f0298ca68bdc17d45001797e3b759e0ea226",name:"right"})))))}get element(){return r(this)}};n.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-toolbar{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255)}.duet-toolbar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;height:36px;margin:0 28px;border-bottom:1px solid rgb(212, 223, 229)}.duet-toolbar .list{display:flex;align-items:center;justify-content:space-between;height:100%;list-style-type:none}.duet-toolbar ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-toolbar.primary{background:rgb(0, 119, 179)}.duet-toolbar.primary .container{border-bottom:0}.duet-toolbar.secondary{background:rgb(8, 42, 77)}.duet-toolbar.secondary .container{border-bottom:0}.duet-toolbar.duet-theme-turva{background:rgb(255, 255, 255)}.duet-toolbar.duet-theme-turva .container{border-bottom:1px solid rgb(222, 224, 228)}.duet-toolbar.duet-theme-turva.primary{background:rgb(198, 12, 48)}.duet-toolbar.duet-theme-turva.primary .container{border-bottom:0}";export{n as duet_toolbar}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as a,g as n}from"./p-8abb0984.js";import{i}from"./p-aaa7a7bd.js";import{f as r}from"./p-a1b7f2a0.js";const o=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.href="#",this.icon=void 0}componentWillLoad(){i(this)}handleEscape(e){if(r(e)){const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}render(){return t(a,{key:"2d44998a36518c013b11ebacab17b616834ab27c",role:"listitem"},t("a",{key:"848befb6c1d67cfe2ea4cd7c1431c15e3ebbe484",class:{"duet-submenu-bar-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,onKeyUp:e=>this.handleEscape(e),"aria-current":this.active?"true":"false"},this.icon&&t("duet-icon",{key:"9344282a522be5d1ee0396e8fd93becd53d423a5",class:"submenu-bar-link-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),t("span",{key:"a4a42910fa379e78ebe4711a47ea8338dc5d53b8",class:"label"},t("slot",{key:"c2fcb5acc1c26e0fca2a087238f281f1e931dc09"}))))}get element(){return n(this)}};o.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-link{display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;height:100%;padding:12px 1.5rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none}.duet-submenu-bar-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-submenu-bar-link:focus,.duet-submenu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-link .submenu-bar-link-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-link .submenu-bar-link-icon{width:16px;height:16px}}@media (min-width: 62em){.duet-submenu-bar-link{flex-direction:column;gap:5px;align-items:center;justify-content:center;font-size:0.875rem;color:rgb(0, 75, 129)}}@media (min-width: 62em){.duet-submenu-bar-link.active{color:rgb(0, 119, 179)}.duet-submenu-bar-link.active.duet-theme-turva{color:rgb(126, 2, 35)}}.duet-submenu-bar-link.active .label{position:relative}.duet-submenu-bar-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-link.active .label::after{display:none}.duet-submenu-bar-link.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}}.duet-submenu-bar-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-submenu-bar-link.duet-theme-turva.active .label::after{background:rgb(126, 2, 35)}.duet-submenu-bar-link.duet-theme-turva.active::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-link:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-link:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}}';export{o as duet_submenu_bar_link}
4
+ import{r as e,h as t,H as a,g as n}from"./p-7a75bff7.js";import{i}from"./p-aaa7a7bd.js";import{f as r}from"./p-a1b7f2a0.js";const o=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.href="#",this.icon=void 0}componentWillLoad(){i(this)}handleEscape(e){if(r(e)){const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}render(){return t(a,{key:"d44a022e91733242dcf9d0715fdea0dd9413fc8c",role:"listitem"},t("a",{key:"a86eeb53bc8714df6212d0a1576df487efd637dd",class:{"duet-submenu-bar-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,onKeyUp:e=>this.handleEscape(e),"aria-current":this.active?"true":"false"},this.icon&&t("duet-icon",{key:"46c05eceaaed109253e10fe7f5f4c4e02b71192d",class:"submenu-bar-link-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),t("span",{key:"999718d74fd76be6b9b89bc6b87877614ddc01ba",class:"label"},t("slot",{key:"bce3596e218360bc8f5e19182194a608471e75e3"}))))}get element(){return n(this)}};o.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-link{display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;height:100%;padding:12px 1.5rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none}.duet-submenu-bar-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-submenu-bar-link:focus,.duet-submenu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-link .submenu-bar-link-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-link .submenu-bar-link-icon{width:16px;height:16px}}@media (min-width: 62em){.duet-submenu-bar-link{flex-direction:column;gap:5px;align-items:center;justify-content:center;font-size:0.875rem;color:rgb(0, 75, 129)}}@media (min-width: 62em){.duet-submenu-bar-link.active{color:rgb(0, 119, 179)}.duet-submenu-bar-link.active.duet-theme-turva{color:rgb(126, 2, 35)}}.duet-submenu-bar-link.active .label{position:relative}.duet-submenu-bar-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-link.active .label::after{display:none}.duet-submenu-bar-link.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}}.duet-submenu-bar-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-submenu-bar-link.duet-theme-turva.active .label::after{background:rgb(126, 2, 35)}.duet-submenu-bar-link.duet-theme-turva.active::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-link:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-link:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}}';export{o as duet_submenu_bar_link}
@@ -1,4 +1,4 @@
1
1
  var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var a=0,o=t.length,n;a<o;a++){if(n||!(a in t)){if(!n)n=Array.prototype.slice.call(t,0,a);n[a]=t[a]}}return e.concat(n||Array.prototype.slice.call(t))};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-a19244e5.system.js","./p-e216bea4.system.js","./p-1e17463d.system.js","./p-4cff3036.system.js","./p-98636086.system.js","./p-ba03d034.system.js"],(function(e){"use strict";var t,r,a,o,n,i,d;return{setters:[function(e){t=e.r;r=e.h;a=e.H;o=e.g},function(e){n=e.i},function(e){i=e.g},function(e){d=e.g},function(){},function(){}],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;display:block;width:100%}::slotted(*){font-weight:400}::slotted(:last-child){font-weight:600}:host([variation=plain]) ::slotted(:last-child){font-weight:400}.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(8, 42, 77);background:rgb(240, 247, 250)}.duet-breadcrumbs.header .list duet-breadcrumb[href]:hover{color:rgb(0, 75, 129)}.duet-breadcrumbs.header .bottom-border--nav{display:block;background:rgb(212, 223, 229)}.duet-breadcrumbs.header.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-breadcrumbs.header.duet-theme-turva ol duet-breadcrumb[href]:hover{color:rgb(126, 2, 35)}.duet-breadcrumbs.footer{color:rgb(255, 255, 255);background:rgb(8, 42, 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)}.duet-breadcrumbs.plain .container{max-width:none;min-height:auto;margin:0}.duet-breadcrumbs.plain .list{padding:0}.duet-breadcrumbs.plain .bottom-border{display:none}';var b=s;var c=e("duet_breadcrumbs",function(){function e(e){t(this,e);this.observers=[];this.breadcrumbsAriaLabel=i({fi:"Murupolku",sv:"Ströbröd",en:"Breadcrumbs"});this.children=undefined;this.theme="";this.variation="header";this.color=""}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(t){var r=new MutationObserver((function(){return e.children=Array.from(e.element.children)}));r.observe(t,{childList:true,subtree:true,attributes:true,characterData:true});e.observers=__spreadArray(__spreadArray([],e.observers,true),[r],false)}))};e.prototype.disconnectedCallback=function(){this.observers.forEach((function(e){return e.disconnect()}));this.observers=[]};e.prototype.render=function(){var e;var t=d(this.color);return r(a,{key:"b29fa1c29f832b5173a6f30e3e81383b816d0b18"},r("nav",{key:"f7e7663d0a602a4c9f02468d54113cf3350e85a1","aria-label":this.breadcrumbsAriaLabel,class:(e={"duet-breadcrumbs":true,"duet-theme-turva":this.theme==="turva"},e[this.variation]=true,e)},r("div",{key:"1424535cfc3acfc02cd33286a9842c59b4483d06",class:"container"},r("div",{key:"3bed0500aa7c9f598a4c0fc57c037899f0cc9039",role:"list",class:"list",style:{color:t}},r("slot",{key:"6e4cde5793075f7a75085823737ecfebf7b407a3"})),r("div",{key:"57d436b5f0aab642c590c4af70078e26791405eb",class:"bottom-border bottom-border--container"})),r("div",{key:"d2ec591e3d2739dbf0a59c6216008b1ced2e5a48",class:"bottom-border bottom-border--nav"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());c.style=b}}}));
4
+ */System.register(["./p-2e0eb8a4.system.js","./p-e216bea4.system.js","./p-81835239.system.js","./p-4cff3036.system.js","./p-98636086.system.js","./p-ba03d034.system.js"],(function(e){"use strict";var t,r,a,o,n,i,d;return{setters:[function(e){t=e.r;r=e.h;a=e.H;o=e.g},function(e){n=e.i},function(e){i=e.g},function(e){d=e.g},function(){},function(){}],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;display:block;width:100%}::slotted(*){font-weight:400}::slotted(:last-child){font-weight:600}:host([variation=plain]) ::slotted(:last-child){font-weight:400}.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(8, 42, 77);background:rgb(240, 247, 250)}.duet-breadcrumbs.header .list duet-breadcrumb[href]:hover{color:rgb(0, 75, 129)}.duet-breadcrumbs.header .bottom-border--nav{display:block;background:rgb(212, 223, 229)}.duet-breadcrumbs.header.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-breadcrumbs.header.duet-theme-turva ol duet-breadcrumb[href]:hover{color:rgb(126, 2, 35)}.duet-breadcrumbs.footer{color:rgb(255, 255, 255);background:rgb(8, 42, 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)}.duet-breadcrumbs.plain .container{max-width:none;min-height:auto;margin:0}.duet-breadcrumbs.plain .list{padding:0}.duet-breadcrumbs.plain .bottom-border{display:none}';var b=s;var u=e("duet_breadcrumbs",function(){function e(e){t(this,e);this.observers=[];this.breadcrumbsAriaLabel=i({fi:"Murupolku",sv:"Ströbröd",en:"Breadcrumbs"});this.children=undefined;this.theme="";this.variation="header";this.color=""}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(t){var r=new MutationObserver((function(){return e.children=Array.from(e.element.children)}));r.observe(t,{childList:true,subtree:true,attributes:true,characterData:true});e.observers=__spreadArray(__spreadArray([],e.observers,true),[r],false)}))};e.prototype.disconnectedCallback=function(){this.observers.forEach((function(e){return e.disconnect()}));this.observers=[]};e.prototype.render=function(){var e;var t=d(this.color);return r(a,{key:"ffe039bba4cc62518ff8a4edf4e89bf3d9fba425"},r("nav",{key:"737b1828ee7babafbf81ec04ef95e3a3ead26230","aria-label":this.breadcrumbsAriaLabel,class:(e={"duet-breadcrumbs":true,"duet-theme-turva":this.theme==="turva"},e[this.variation]=true,e)},r("div",{key:"6b92d6297d3c7498300a2c1ef5722317435f18d2",class:"container"},r("div",{key:"26a88ae5dfc14f715ef17000218c94858b5082b5",role:"list",class:"list",style:{color:t}},r("slot",{key:"d5eb86ae00ae840c65739a494970a8815741d755"})),r("div",{key:"4d3b49ff815f667189b446ac736600edd7a59a20",class:"bottom-border bottom-border--container"})),r("div",{key:"f1ad3d2547626fe4473d8aa1d467772dd65170e2",class:"bottom-border bottom-border--nav"})))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());u.style=b}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-a19244e5.system.js"],(function(n){"use strict";return{setters:[function(){}],execute:function(){var e=n("g",(function(n,e){var r=Array.from(n.querySelectorAll(":scope > *"));return r.filter((function(n){return n.matches("[slot='".concat(e,"']"))}))}));var r=n("b",(function(n){var e=Array.from(n.querySelectorAll(":scope > *"));return e.filter((function(n){return!n.getAttribute("slot")}))}));var t=n("h",(function(n,t){return t?e(n,t).length>0:r(n).length>0}));var u=n("c",(function(n,r,t,u,i){if(u===void 0){u=0}if(i===void 0){i=false}var f=i?"error":"warn";var o=[];var s=e(n,r);var a=s.filter((function(n){if(n.matches(t)){return true}o.push('Only elements matcing selector "'.concat(t,'" may be used in slot ').concat(r,", found:\n").concat(n.outerHTML));if(i){n.remove();return false}return true}));if(u&&a.length>u){o.push("Only ".concat(u," element").concat(u>1?"s":""," may be used in slot ").concat(r,", found ").concat(s.length,"."));if(i){a.slice(u).forEach((function(n){return n.remove()}))}}if(o.length>0){console[f]("Duet ".concat(f," in ").concat(n.tagName.toLowerCase(),":\n").concat(o.join("\n")).concat(i?"\nElement".concat(o.length>1?"s":""," removed."):""))}}));var i=n("a",(function(n,e){e.innerHTML="";if(n.childNodes.length===0){e.innerHTML=n.innerHTML}else{n.childNodes.forEach((function(n){var r=n.cloneNode(true);e.appendChild(r)}))}}));var f=n("p",(function(n,e,r,t,u,i){if(i===void 0){i=undefined}var f=n.querySelector("input");var o=f||document.createElement("input");if(i===false){o.remove();return}o.id=e;if(r!==undefined&&r!==null){o.name=r}if(u){o.type="text";o.hidden=true;o.required=true}else{o.type="hidden";o.hidden=false;o.required=false}o.value=t;if(t!==undefined&&t!==null){o.value=t}else if(t===undefined||t===null){o.value=null}if(!f){n.appendChild(o)}}))}}}));
4
+ System.register(["./p-2e0eb8a4.system.js"],(function(n){"use strict";return{setters:[function(){}],execute:function(){var e=n("g",(function(n,e){var r=Array.from(n.querySelectorAll(":scope > *"));return r.filter((function(n){return n.matches("[slot='".concat(e,"']"))}))}));var r=n("b",(function(n){var e=Array.from(n.querySelectorAll(":scope > *"));return e.filter((function(n){return!n.getAttribute("slot")}))}));var t=n("h",(function(n,t){return t?e(n,t).length>0:r(n).length>0}));var u=n("c",(function(n,r,t,u,i){if(u===void 0){u=0}if(i===void 0){i=false}var f=i?"error":"warn";var o=[];var s=e(n,r);var a=s.filter((function(n){if(n.matches(t)){return true}o.push('Only elements matcing selector "'.concat(t,'" may be used in slot ').concat(r,", found:\n").concat(n.outerHTML));if(i){n.remove();return false}return true}));if(u&&a.length>u){o.push("Only ".concat(u," element").concat(u>1?"s":""," may be used in slot ").concat(r,", found ").concat(s.length,"."));if(i){a.slice(u).forEach((function(n){return n.remove()}))}}if(o.length>0){console[f]("Duet ".concat(f," in ").concat(n.tagName.toLowerCase(),":\n").concat(o.join("\n")).concat(i?"\nElement".concat(o.length>1?"s":""," removed."):""))}}));var i=n("a",(function(n,e){e.innerHTML="";if(n.childNodes.length===0){e.innerHTML=n.innerHTML}else{n.childNodes.forEach((function(n){var r=n.cloneNode(true);e.appendChild(r)}))}}));var f=n("p",(function(n,e,r,t,u,i){if(i===void 0){i=undefined}var f=n.querySelector("input");var o=f||document.createElement("input");if(i===false){o.remove();return}o.id=e;if(r!==undefined&&r!==null){o.name=r}if(u){o.type="text";o.hidden=true;o.required=true}else{o.type="hidden";o.hidden=false;o.required=false}o.value=t;if(t!==undefined&&t!==null){o.value=t}else if(t===undefined||t===null){o.value=null}if(!f){n.appendChild(o)}}))}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as i,h as o,H as e,g as a}from"./p-8abb0984.js";import{i as n}from"./p-aaa7a7bd.js";import{c as s}from"./p-5e59e970.js";import{d as r}from"./p-9e371678.js";import{i as d}from"./p-a1b7f2a0.js";import{g as c,c as h,d as u}from"./p-2437b4cb.js";import{c as b,g as l,s as p}from"./p-cc67e773.js";import"./p-9c3c64b9.js";import"./p-0d7da85a.js";const m=class{constructor(o){t(this,o),this.duetActionEvent=i(this,"duetActionEvent",6),this.listId=s("duet-action-button"),this.emitPageEvent=r((t=>{this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionId,name:this.actionName,meta:this.actionMeta,id:this.listId})})),this.numbersStore="",this.theme="",this.iconName="action-arrow-left-small",this.iconColor="currentColor",this.iconSize="xx-small",this.actionName=void 0,this.actionId=void 0,this.actionMeta=void 0,this.disabled=!1,this.color="",this.background="",this.accessibleTitle=!0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"},this.accessibleLabel=c(this.accessibleLabelsDefaults),this.accessibleControls="",this.url=void 0}async onKeyboardDown(t){d(t)&&this.emitPageEvent(t)}getTitle(){return"string"==typeof this.accessibleTitle?this.accessibleTitle:!0===this.accessibleTitle&&this.actionName?b(`${this.actionName}`):null}async onMouseHandler(t){t.preventDefault(),this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta})}componentWillLoad(){n(this)}connectedCallback(){h(this,{prop:"accessibleLabel",defaults:"accessibleLabelsDefaults"})}disconnectedCallback(){u(this)}async setFocus(t){this.nativeButton&&this.nativeButton.focus(t)}render(){const t="currentColor"===this.color?"currentColor":l(this.color,this.theme),i=l(this.background,this.theme),a=i?p(i,-.1):i,n=i?`\n button.duet-action-button {\n background: ${i} !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ${a} !important;\n }\n `:"",s={ref:t=>this.nativeButton=t,part:"button",style:{color:t,"border-color":l(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"},disabled:this.disabled,id:this.listId,type:"button","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls,title:this.getTitle(),class:{"duet-action-button":!0,"duet-action-button--disabled":this.disabled,[`duet-action-button--${this.theme}`]:""!==this.theme,"duet-theme-turva":"turva"===this.theme}};return o(e,{key:"784004122f9530676cbff39d09e3e4a4f7ccbf8f",onKeyDown:t=>this.onKeyboardDown(t)},o("style",{key:"b34416cab89d2c6f2c4d67902239ab7140d74fb4",innerHTML:n}),this.url&&!this.disabled?o("a",Object.assign({},s,{href:this.url}),o("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize})):o("button",Object.assign({},s,{onClick:t=>this.onMouseHandler(t)}),o("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),o("duet-visually-hidden",null,o("slot",null))))}get element(){return a(this)}};m.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;display:inline-block;margin:0 auto}.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(8, 42, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){.duet-action-button{width:32px;height:32px}}.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9ebee}.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-action-button:focus.duet-theme-turva{box-shadow:0 0 0 2px #171c3a !important}.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-action-button:active:focus.duet-theme-turva{background:#dddee1 !important}.duet-action-button:disabled{color:rgb(127, 150, 165);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-action-button.duet-theme-turva:disabled{color:rgb(143, 147, 158);background:rgb(245, 247, 250)}";export{m as duet_action_button}
4
+ import{r as t,c as i,h as o,H as e,g as a}from"./p-7a75bff7.js";import{i as n}from"./p-aaa7a7bd.js";import{c as s}from"./p-5e59e970.js";import{d as r}from"./p-9e371678.js";import{i as d}from"./p-a1b7f2a0.js";import{g as c,c as h,d as u}from"./p-51b2f340.js";import{c as b,g as l,s as p}from"./p-cc67e773.js";import"./p-9c3c64b9.js";import"./p-0d7da85a.js";const m=class{constructor(o){t(this,o),this.duetActionEvent=i(this,"duetActionEvent",6),this.listId=s("duet-action-button"),this.emitPageEvent=r((t=>{this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionId,name:this.actionName,meta:this.actionMeta,id:this.listId})})),this.numbersStore="",this.theme="",this.iconName="action-arrow-left-small",this.iconColor="currentColor",this.iconSize="xx-small",this.actionName=void 0,this.actionId=void 0,this.actionMeta=void 0,this.disabled=!1,this.color="",this.background="",this.accessibleTitle=!0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"},this.accessibleLabel=c(this.accessibleLabelsDefaults),this.accessibleControls="",this.url=void 0}async onKeyboardDown(t){d(t)&&this.emitPageEvent(t)}getTitle(){return"string"==typeof this.accessibleTitle?this.accessibleTitle:!0===this.accessibleTitle&&this.actionName?b(`${this.actionName}`):null}async onMouseHandler(t){t.preventDefault(),this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta})}componentWillLoad(){n(this)}connectedCallback(){h(this,{prop:"accessibleLabel",defaults:"accessibleLabelsDefaults"})}disconnectedCallback(){u(this)}async setFocus(t){this.nativeButton&&this.nativeButton.focus(t)}render(){const t="currentColor"===this.color?"currentColor":l(this.color,this.theme),i=l(this.background,this.theme),a=i?p(i,-.1):i,n=i?`\n button.duet-action-button {\n background: ${i} !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ${a} !important;\n }\n `:"",s={ref:t=>this.nativeButton=t,part:"button",style:{color:t,"border-color":l(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"},disabled:this.disabled,id:this.listId,type:"button","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls,title:this.getTitle(),class:{"duet-action-button":!0,"duet-action-button--disabled":this.disabled,[`duet-action-button--${this.theme}`]:""!==this.theme,"duet-theme-turva":"turva"===this.theme}};return o(e,{key:"784004122f9530676cbff39d09e3e4a4f7ccbf8f",onKeyDown:t=>this.onKeyboardDown(t)},o("style",{key:"b34416cab89d2c6f2c4d67902239ab7140d74fb4",innerHTML:n}),this.url&&!this.disabled?o("a",Object.assign({},s,{href:this.url}),o("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize})):o("button",Object.assign({},s,{onClick:t=>this.onMouseHandler(t)}),o("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),o("duet-visually-hidden",null,o("slot",null))))}get element(){return a(this)}};m.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;display:inline-block;margin:0 auto}.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(8, 42, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){.duet-action-button{width:32px;height:32px}}.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9ebee}.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-action-button:focus.duet-theme-turva{box-shadow:0 0 0 2px #171c3a !important}.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-action-button:active:focus.duet-theme-turva{background:#dddee1 !important}.duet-action-button:disabled{color:rgb(127, 150, 165);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-action-button.duet-theme-turva:disabled{color:rgb(143, 147, 158);background:rgb(245, 247, 250)}";export{m as duet_action_button}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,h as e,g as i,H as d}from"./p-8abb0984.js";import{i as s}from"./p-aaa7a7bd.js";import{w as l}from"./p-7d8a2628.js";const o=class{constructor(e){t(this,e),this.theme="",this.margin="auto",this.padding="auto",this.mobile="left",this.breakpoint="small",this.variation="default",this.labelWidth="30",this.responsive=!0}componentWillLoad(){s(this)}async connectedCallback(){this.mutationO=l(this.element,"duet-list-item",(()=>{this.updateListItems()})),this.updateListItems()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}toggleClass(t,e,i){i?t.classList.add(e):t.classList.remove(e)}async updateListItems(){Array.from(this.element.querySelectorAll("duet-list-item")).forEach((t=>{t.responsive=this.responsive,t.breakpoint=this.responsive?this.breakpoint||"small":void 0,t.classList.add(`duet-list-width-${this.labelWidth}`),t.classList.add(`duet-list-variation-${this.variation}`),this.toggleClass(t,"duet-p-0","none"===this.padding),this.toggleClass(t,"duet-list-mobile-center","center"===this.mobile),this.toggleClass(t,"duet-list-striped","striped"===this.variation),this.toggleClass(t,"duet-list-bordered","bordered"===this.variation),this.toggleClass(t,"duet-list-inner-bordered","inner-bordered"===this.variation),this.toggleClass(t,"duet-theme-turva","turva"===this.theme)}))}render(){return e("dl",{key:"0f63ce12f7d83722524fecc8e803c455f636d277",class:{"duet-list-component":!0,"duet-m-0":"none"===this.margin}},e("slot",{key:"d8dc331b6707093063ae55cb8024fa723b7adbca"}))}get element(){return i(this)}static get watchers(){return{theme:["updateListItems"],padding:["updateListItems"],mobile:["updateListItems"],responsive:["updateListItems"],breakpoint:["updateListItems"],variation:["updateListItems"],labelWidth:["updateListItems"]}}};o.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;display:block;width:100%}.duet-list-component{margin-bottom:16px !important;width:100%}.duet-list-component.duet-p-0{padding:0 !important}.duet-list-component.duet-m-0{margin:0 !important}";const a=class{constructor(e){t(this,e),this.responsive=!1,this.breakpoint="small"}render(){return e(d,{key:"95db1eb8cfa0c88dad6a34ca300fd710a8f2d773",class:{"duet-no-stacking":!this.responsive,"duet-list-item-breakpoint-x-small":"x-small"===this.breakpoint,"duet-list-item-breakpoint-small":"small"===this.breakpoint,"duet-list-item-breakpoint-medium":"medium"===this.breakpoint,"duet-list-item-breakpoint-large":"large"===this.breakpoint,"duet-list-item-breakpoint-x-large":"x-large"===this.breakpoint}},e("dt",{key:"27457dbebf1c7f29cd87199d1044d1830e00e1f9"},e("slot",{key:"6760928d435314ff885b768ab2f74917a7891a46",name:"label"})),e("dd",{key:"97ae930888f789b056413956ee6bc8240252d9c6"},e("slot",{key:"9a1daf78702df7b6b000e8d10aa8a848058f38ca",name:"value"})))}};a.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;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(8, 42, 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;overflow-wrap: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, 247, 250)}:host(.duet-list-bordered){border-block-start:1px solid rgb(212, 223, 229)}:host(.duet-list-bordered:last-child){border-block-end:1px solid rgb(212, 223, 229)}:host(.duet-list-bordered.duet-theme-turva){border-block-start:1px solid rgb(222, 224, 228)}:host(.duet-list-bordered.duet-theme-turva:last-child){border-block-end:1px solid rgb(222, 224, 228)}:host(.duet-list-inner-bordered:not(:last-child)){border-block-end:1px solid rgb(212, 223, 229)}:host(.duet-list-inner-bordered.duet-theme-turva:not(:last-child)){border-block-end:1px solid rgb(222, 224, 228)}: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%}}';export{o as duet_list,a as duet_list_item}
4
+ import{r as t,h as e,g as i,H as d}from"./p-7a75bff7.js";import{i as s}from"./p-aaa7a7bd.js";import{w as l}from"./p-7d8a2628.js";const o=class{constructor(e){t(this,e),this.theme="",this.margin="auto",this.padding="auto",this.mobile="left",this.breakpoint="small",this.variation="default",this.labelWidth="30",this.responsive=!0}componentWillLoad(){s(this)}async connectedCallback(){this.mutationO=l(this.element,"duet-list-item",(()=>{this.updateListItems()})),this.updateListItems()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}toggleClass(t,e,i){i?t.classList.add(e):t.classList.remove(e)}async updateListItems(){Array.from(this.element.querySelectorAll("duet-list-item")).forEach((t=>{t.responsive=this.responsive,t.breakpoint=this.responsive?this.breakpoint||"small":void 0,t.classList.add(`duet-list-width-${this.labelWidth}`),t.classList.add(`duet-list-variation-${this.variation}`),this.toggleClass(t,"duet-p-0","none"===this.padding),this.toggleClass(t,"duet-list-mobile-center","center"===this.mobile),this.toggleClass(t,"duet-list-striped","striped"===this.variation),this.toggleClass(t,"duet-list-bordered","bordered"===this.variation),this.toggleClass(t,"duet-list-inner-bordered","inner-bordered"===this.variation),this.toggleClass(t,"duet-theme-turva","turva"===this.theme)}))}render(){return e("dl",{key:"0f63ce12f7d83722524fecc8e803c455f636d277",class:{"duet-list-component":!0,"duet-m-0":"none"===this.margin}},e("slot",{key:"d8dc331b6707093063ae55cb8024fa723b7adbca"}))}get element(){return i(this)}static get watchers(){return{theme:["updateListItems"],padding:["updateListItems"],mobile:["updateListItems"],responsive:["updateListItems"],breakpoint:["updateListItems"],variation:["updateListItems"],labelWidth:["updateListItems"]}}};o.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;display:block;width:100%}.duet-list-component{margin-bottom:16px !important;width:100%}.duet-list-component.duet-p-0{padding:0 !important}.duet-list-component.duet-m-0{margin:0 !important}";const a=class{constructor(e){t(this,e),this.responsive=!1,this.breakpoint="small"}render(){return e(d,{key:"eb9ff2970967f44ffa2b7b6e2c5364d5e1ca9514",class:{"duet-no-stacking":!this.responsive,"duet-list-item-breakpoint-x-small":"x-small"===this.breakpoint,"duet-list-item-breakpoint-small":"small"===this.breakpoint,"duet-list-item-breakpoint-medium":"medium"===this.breakpoint,"duet-list-item-breakpoint-large":"large"===this.breakpoint,"duet-list-item-breakpoint-x-large":"x-large"===this.breakpoint}},e("dt",{key:"ad7a453ca942b71da2961c6f369102c739bb1f5c"},e("slot",{key:"b697a80721b971d368b1a079f60dde00a821d236",name:"label"})),e("dd",{key:"2a7d656b698a301e35a9537587f4676302f101b5"},e("slot",{key:"230ef1772d105ed50286c7dfbe2aac5f51ebffa6",name:"value"})))}};a.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;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(8, 42, 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;overflow-wrap: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, 247, 250)}:host(.duet-list-bordered){border-block-start:1px solid rgb(212, 223, 229)}:host(.duet-list-bordered:last-child){border-block-end:1px solid rgb(212, 223, 229)}:host(.duet-list-bordered.duet-theme-turva){border-block-start:1px solid rgb(222, 224, 228)}:host(.duet-list-bordered.duet-theme-turva:last-child){border-block-end:1px solid rgb(222, 224, 228)}:host(.duet-list-inner-bordered:not(:last-child)){border-block-end:1px solid rgb(212, 223, 229)}:host(.duet-list-inner-bordered.duet-theme-turva:not(:last-child)){border-block-end:1px solid rgb(222, 224, 228)}: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%}}';export{o as duet_list,a as duet_list_item}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,c as e,h as i,H as a,g as o}from"./p-8abb0984.js";import{f as n}from"./p-d004da5f.js";import{i as r}from"./p-aaa7a7bd.js";import{D as s}from"./p-2b6a7397.js";import{c as d}from"./p-5e59e970.js";import{c as l,r as u}from"./p-df7874f9.js";import{f as p,j as h,e as c,d as b,a as m}from"./p-a1b7f2a0.js";import{a as g,c as f,d as v,g as x}from"./p-2437b4cb.js";import{c as w,p as y}from"./p-eca03d5e.js";import{g as k}from"./p-cc67e773.js";import"./p-9c3c64b9.js";import"./p-0d7da85a.js";const S={search:n,email:{title:"form-email",tags:"form email",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 23.999c-3.205 0-6.218-1.248-8.484-3.514S.001 15.206.001 12.001s1.248-6.218 3.514-8.485C5.782 1.25 8.795.001 12 .001s6.218 1.248 8.485 3.514A11.92 11.92 0 0 1 24 12v2.25A3.754 3.754 0 0 1 20.25 18a3.77 3.77 0 0 1-3.48-2.365A6.009 6.009 0 0 1 12 18c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6v2.25c0 1.241 1.009 2.25 2.25 2.25s2.25-1.009 2.25-2.25V12c0-2.804-1.092-5.441-3.075-7.424A10.433 10.433 0 0 0 12 1.501c-2.804 0-5.441 1.092-7.424 3.075S1.501 9.196 1.501 12c0 2.805 1.092 5.441 3.075 7.424s4.619 3.074 7.423 3.074c2.257 0 4.494-.746 6.299-2.1a.749.749 0 1 1 .9 1.199A12.049 12.049 0 0 1 12 23.999zM12 7.5c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5 4.5-2.019 4.5-4.5-2.019-4.5-4.5-4.5z"/></svg>'}},C=class{constructor(i){t(this,i),this.duetInput=e(this,"duetInput",7),this.duetChange=e(this,"duetChange",3),this.duetBlur=e(this,"duetBlur",7),this.duetClear=e(this,"duetClear",7),this.duetFocus=e(this,"duetFocus",7),this.inputId=d("DuetInput"),this.proxyId=d("DuetInput"),this.clearId=d("DuetInputClear"),this.labelId=d("DuetLabel"),this.topCaptionId=d("DuetCaptionTop"),this.topCaptionPlaceholderId=d("DuetCaptionPlaceholderTop"),this.chipCountId=d("DuetInputChipCount"),this.errorId=d("DuetError"),this.disallowPatternRegex=null,this.clearLabel={en:"Clear",fi:"Tyhjennä",sv:"Rensa"},this.timeAnnouncement={en:"Time",fi:"Aika",sv:"Tid"},this.showPasswordLabel={en:"Show password",fi:"Näytä salasana",sv:"Visa lösenord"},this.hidePasswordLabel={en:"Hide password",fi:"Piilota salasana",sv:"Dölj lösenord"},this.passwordShownAriaAnnouncement={en:"Password is shown",fi:"Salasana näytetään",sv:"Lösenordet visas"},this.passwordHiddenAriaAnnouncement={en:"Password is hidden",fi:"Salasana on piilotettu",sv:"Lösenordet är dolt"},this.chipsSelectedDesriptionLabel={en:"selected",fi:"valittu",sv:"valt"},this.onInput=t=>{this.disallowPatternRegex&&l(this.nativeInput,this.disallowPatternRegex),this.chips&&this.clearChipSelection(),this.value=this.nativeInput.value||"",this.duetInput.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onBlur=t=>{t.relatedTarget!==this.nativeInput&&t.relatedTarget!==this.togglePasswordRevealedButton&&("revealable"===this.variation&&this.isPasswordRevealed&&(this.isPasswordRevealed=!1),this.isFocused=!1,this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-input"}))},this.onFocus=t=>{this.clearChipSelection(),this.isFocused=!0,this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onClear=t=>{this.duetClear.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.getAriaDescribedBy=()=>{const t=[];if(this.isCaptionVisible&&this.topCaptionId&&t.push(this.topCaptionId),this.accessibleDescribedBy&&t.push(this.accessibleDescribedBy),this.chips){const e=this.getAllChips();e.length&&(t.push(this.chipCountId),e.forEach((e=>t.push(e.id))))}return this.error&&t.push(this.errorId),t.length>0?t.join(" "):null},this.handleClearClick=t=>{const e=this.clearInput();return this.onClear(t),e},this.keyHandler=t=>(p(t)&&this.clear&&this.handleClearClick(t),h(t)&&"revealable"===this.variation&&(t.target===this.togglePasswordRevealedButton?t.stopPropagation():this.isPasswordRevealed=!1),this.chips&&0===this.nativeInput.value.length&&(c(t)&&(this.isChipSelected()&&(this.getSelectedChip().removeChip(),setTimeout((()=>this.selectLastChip()))),this.selectLastChip()),b(t)&&this.selectChipToLeft(),m(t)&&this.isChipSelected()&&this.selectChipToRight()),t),this.togglePasswordRevealed=()=>{this.isPasswordRevealed=!this.isPasswordRevealed},this.getInputType=()=>"revealable"===this.variation?this.isPasswordRevealed?"text":"password":this.type,this.language=g(),this.isPasswordRevealed=void 0,this.isFocused=!1,this.accessibleActiveDescendant=void 0,this.accessibleAutocomplete=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleExpanded=void 0,this.accessibleDescribedBy="",this.accessibleHasPopup=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLiveError="polite",this.debounce=0,this.clear=!1,this.caption=void 0,this.echoPlaceholder=!1,this.theme="",this.expand=!1,this.disabled=!1,this.identifier=void 0,this.margin="auto",this.inputAlign="left",this.inputPadding="medium",this.required=!1,this.type="text",this.variation="default",this.chips=!1,this.label="Label",this.labelColor=void 0,this.labelWeight=void 0,this.error="",this.labelHidden=!1,this.numericKeyboard=!1,this.name=void 0,this.pattern=void 0,this.maxlength=void 0,this.minlength=void 0,this.placeholder=void 0,this.component="input",this.role=void 0,this.icon=void 0,this.autoComplete="on",this.disallowPattern=null,this.value=void 0,this.tooltip="",this.tooltipDirection="auto"}disallowedPatternChange(){this.disallowPatternRegex=this.disallowPattern?new RegExp(this.disallowPattern,"gu"):null}valueChanged(){if(this.nativeInput&&this.nativeInput.value!==this.value){const t=u(this.nativeInput);this.nativeInput.value=this.value,t()}this.isCaptionVisible=!!this.caption;const t=()=>this.duetChange.emit({value:this.value,component:"duet-input"});0===this.debounce?t():(clearTimeout(this.timeoutId),this.timeoutId=setTimeout(t,this.debounce))}componentWillLoad(){r(this),this.disallowedPatternChange(),this.isCaptionVisible=!!this.caption,w(this.element,"tooltip","duet-tooltip",1,!0)}componentDidLoad(){"revealable"===this.variation&&this.nativeInput.form&&this.nativeInput.form.addEventListener("submit",(()=>{this.isPasswordRevealed=!1}))}connectedCallback(){f(this)}disconnectedCallback(){v(this)}componentDidRender(){y(this.element,this.proxyId,this.name,this.value,this.required)}async setFocus(t){this.nativeInput&&this.nativeInput.focus(t)}async resetCursor(){if(this.nativeInput){const t=u(this.nativeInput);this.nativeInput.value=this.value,t()}}async clearInput(){this.nativeInput&&(this.nativeInput.value="",this.nativeInput.focus(),this.value="")}getAllChips(){return Array.from(this.element.shadowRoot.querySelectorAll(".duet-input-relative duet-chip"))}isChipSelected(){return this.getAllChips().some((t=>t.selected))}getSelectedChip(){return this.getAllChips().find((t=>t.selected))}clearChipSelection(){this.getAllChips().forEach((t=>t.selected=!1))}selectLastChip(){const t=this.getAllChips();t.length&&(t.forEach((t=>t.selected=!1)),t.at(-1).selected=!0)}selectChipToLeft(){const t=this.getAllChips(),e=t.findIndex((t=>t.selected));t.length&&(t.forEach((t=>t.selected=!1)),-1===e?t.at(-1).selected=!0:0===e?t[0].selected=!0:t[e-1].selected=!0)}selectChipToRight(){const t=this.getAllChips(),e=t.findIndex((t=>t.selected));t.length&&(t.forEach((t=>t.selected=!1)),e>-1&&e<t.length-1&&(t[e+1].selected=!0))}async addChip(t){const e=this.element.shadowRoot.querySelector(".duet-input-relative"),i=e.querySelector("input:not(duet-chip input)");t.id=d("DuetInputChip"),e.insertBefore(t,i)}async hasChip({value:t,text:e}){return this.getAllChips().some((i=>i.value===t&&i.textContent===e))}async getChips(){return this.getAllChips()}async clearChips(){this.getAllChips().forEach((t=>t.remove()))}render(){const t=this.identifier||this.inputId,e={};let o;if(this.numericKeyboard&&(e.inputmode="numeric"),this.pattern&&"tel"!==this.type?e.pattern=this.pattern:this.pattern||"tel"!==this.type||(e.pattern="[0-9+ ]+"),this.value){o=new Date;try{o.setHours(Number(this.value.slice(0,2)),Number(this.value.slice(3,5)),0,0)}catch(t){o=void 0}}const n=!this.icon&&"text"!==this.type&&"tel"!==this.type&&"password"!==this.type&&"time"!==this.type&&"button"!==this.variation;return i(a,{key:"27157f0e0ef781231dc53f62242c93dd77416fe3",class:{"duet-expand":this.expand,"duet-m-0":"none"===this.margin},onKeyUp:t=>this.keyHandler(t)},"time"===this.type&&i("duet-visually-hidden",{key:"0950770844044af41ffeb7f505312cf68dbc2fa6","aria-live":"polite","aria-atomic":"true"},o?`${this.timeAnnouncement[this.language]} ${o.toLocaleTimeString()}`:""),i("div",{key:"0487bdedb2b60c45282063b1d0c4effeb6b79829",class:{"duet-input-container":!0,"duet-theme-turva":"turva"===this.theme,[`duet-input-variation-${this.variation}`]:!0,"duet-label-hidden":this.labelHidden,"duet-input-top-caption-shown":this.isCaptionVisible,"has-icon":"button"!==this.variation&&(!!this.icon||"text"!==this.type&&"tel"!==this.type&&"password"!==this.type&&"time"!==this.type),"has-error":!!this.error,"has-chips":this.chips,"has-clear":this.clear,"has-focus":this.isFocused,disabled:this.disabled}},i("div",{key:"40e554a5592ea303807714f476945a51d4cd0302",class:"duet-input-label-container"},i(s,{key:"82145a5b72cfa13cce38d0e8af3e8d0f8aa7fab7",theme:"turva"===this.theme?"turva":"default",margin:this.isCaptionVisible?"small":"auto",color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:t},this.label),this.tooltip&&i("duet-tooltip",{key:"74e0e7af69d8365d2066b542eba340291b76a9ec",class:"duet-input-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label,theme:"turva"===this.theme?"turva":"default"},this.tooltip),i("slot",{key:"5ccfc047cab7357c2e6e55808ccf9f111be22276",name:"tooltip"})),this.caption&&i("duet-caption",{key:"160a25f13bd945f574883cc89b5b829082a18008",id:this.topCaptionId,size:"medium"},this.caption),i("div",{key:"cab2e63b8540c1fdf2e91547b340e2bc6e9c4031",class:"duet-input-relative"},this.placeholder&&this.echoPlaceholder&&(this.value||"time"===this.type)&&i("duet-caption",{key:"f57924871c11446e290fbaace72833a2de1dbe44",id:this.topCaptionPlaceholderId,class:"duet-input-placeholder",margin:"none",size:"small"},this.placeholder),this.chips&&i("duet-visually-hidden",{key:"5f06062a838de900d4375ff88cb41d81e9b10cb1",id:this.chipCountId},", ",`${this.getAllChips().length} ${x(this.chipsSelectedDesriptionLabel)}`,","),i("input",Object.assign({key:"b609360af202b5553aad22388d27d3373044a9d6",ref:t=>this.nativeInput=t,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,type:this.getInputType(),class:{"duet-input":!0,disabled:this.disabled,"is-number":"number"===this.component,"is-date":"date"===this.component,"after-chip":this.getAllChips().length>0,"align-right":"right"===this.inputAlign,[`input-padding-${this.inputPadding}`]:!0},value:this.value,disabled:this.disabled,"aria-invalid":this.error?"true":"false","aria-labelledby":this.accessibleLabelledBy?`${this.labelId} ${this.accessibleLabelledBy}`:this.labelId,"aria-controls":this.accessibleControls,"aria-autocomplete":this.accessibleAutocomplete,"aria-activedescendant":this.accessibleActiveDescendant,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-expanded":this.accessibleExpanded,"aria-haspopup":this.accessibleHasPopup,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedBy(),placeholder:this.placeholder,spellcheck:"false",minlength:this.minlength,maxlength:this.maxlength,autocomplete:"password"===this.type?"off":this.autoComplete,required:this.required,role:this.role,name:this.name,id:t},e)),!this.value&&n&&i("div",{key:"5a464779c56b22fa5e47864b08645a6000b9e367",class:"duet-input-icon"},i("duet-icon",{key:"07c479f447dbc3e7c0c49fdf2aa96635afb428e3",margin:"none",size:"small",icon:S[this.type].svg,color:"currentColor"})),this.clear&&this.value&&i("div",{key:"7fa36d6ad59a8b190d640412faf6d57f50b60c7f",class:{"duet-input-clear-icon":!0,"duet-input-clear-icon-single":!n,"duet-input-clear-icon-double":!!this.icon,"duet-input-clear-icon-button":"button"===this.variation}},i("button",{key:"dfd9300e5066f5954a1d9c2064442d6bda1c55c4",onClick:this.handleClearClick,id:this.clearId,"aria-label":this.clearLabel[this.language],"aria-keyshortcuts":"Escape"},i("duet-icon",{key:"555bcd3e91c25634dcff7e6fe5943f03911aa9ad",margin:"none",size:"medium",name:"action-clear-input",color:"currentColor"}))),this.icon&&"button"!==this.variation&&i("div",{key:"2b55687e10eccff71ee6a9352374bbe6580a31fb",class:"duet-input-icon"},i("duet-icon",{key:"e2c67768dfdaac05944a056a7ada779c597dd296",margin:"none",size:"small",name:this.icon,color:"currentColor"})),"button"===this.variation&&i("slot",{key:"2f973344b0c97c66d9b4ec434c40cbe2b63f7fde",name:"button"}),"revealable"===this.variation&&i("duet-button",{key:"a357be477c11b6b966bb15109feaaa7bd9a6381b",ref:t=>this.togglePasswordRevealedButton=t,onBlur:this.onBlur,onFocus:this.onFocus,onClick:this.togglePasswordRevealed,icon:this.isPasswordRevealed?"action-hide":"action-show",accessibleLabel:this.isPasswordRevealed?this.hidePasswordLabel[this.language]:this.showPasswordLabel[this.language],margin:"none",variation:"input-button-embedded",fixed:!0,iconOnly:!0}),"revealable"===this.variation&&void 0!==this.isPasswordRevealed&&i("duet-visually-hidden",{key:"23d4b1ae14b4a0c21c4fbde49023db0d6413ee73"},i("span",{key:"9891ed43653dfa4c27457299fb1f3bbc3c248943","aria-live":"polite"},this.isPasswordRevealed?this.passwordShownAriaAnnouncement[this.language]:this.passwordHiddenAriaAnnouncement[this.language])),i("slot",{key:"55200ed3023d68f4f7fbd8acaa523e5b616221f9"})),i("span",{key:"5172ad8b5d0544b20e7fd5d2a9ba37c4a8eb6aa5",class:"duet-input-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&i("span",{key:"97f1f28f046074d7a450b1b56b1af793d41a734d",class:"duet-input-error"},this.error))))}get element(){return o(this)}static get watchers(){return{disallowPattern:["disallowedPatternChange"],value:["valueChanged"]}}};C.style='.duet-internal-label{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;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 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.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)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{margin-right:16px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}: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:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip,::slotted(duet-tooltip){position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){right:auto}}duet-caption:not(:last-of-type){margin-bottom:0}.duet-input-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-input-icon{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva .duet-input-icon{color:rgb(23, 28, 58)}.duet-input-container{position:relative;width:100%;height:100%}.duet-input-container.has-clear .duet-input-clear-icon{position:relative;z-index:250}.duet-input-container.has-clear .duet-input-clear-icon button{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear .duet-input-clear-icon 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-input-container.has-clear .duet-input-clear-icon button:focus,.duet-input-container.has-clear .duet-input-clear-icon button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear .duet-input-clear-icon button:active{opacity:0.75;transition:none}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single button{top:-48px;right:0}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double button{top:-24px;right:12px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-button button{top:-24px;right:0}.duet-input-container.has-clear.has-icon .duet-input-clear-icon{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button{color:rgb(8, 42, 77)}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-input-label-container{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container{justify-content:flex-start}}.duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;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 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small{padding:8px 10px !important}.duet-input.input-padding-x-small{padding:4px 6px !important}.duet-input.input-padding-xx-small{padding:0px 2px !important}.duet-input.is-number{padding-right:112px !important}.duet-input.is-date{padding-right:64px !important}.duet-input.after-chip{padding-left:8px !important}.has-error .duet-input,.has-error .duet-input[disabled]{border-color:rgb(214, 28, 82) !important}.has-error .duet-input+.duet-input-icon,.has-error .duet-input[disabled]+.duet-input-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.has-icon .duet-input{padding-right:48px !important}.duet-theme-turva .duet-input{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) !important;border-color:rgb(143, 147, 158) !important}.duet-input.align-right{text-align:right}.duet-input::-ms-clear{display:none}.duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva .duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva .duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled]{color:rgb(8, 42, 77) !important;cursor:not-allowed !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(8, 42, 77) !important}.duet-theme-turva .duet-input[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva .duet-input:focus+.duet-input-icon{color:rgb(23, 28, 58)}.has-error .duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input:focus+.duet-input-icon{color:rgb(0, 119, 179)}.duet-input[type=search]:not(:placeholder-shown):focus+.duet-input-icon{display:none}.duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number]::-webkit-inner-spin-button,.duet-input[type=number]::-webkit-outer-spin-button,.duet-input[type=time]::-webkit-inner-spin-button,.duet-input[type=time]::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-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(98, 121, 138);border-radius:4px}.duet-input-help span{display:block;margin-top:8px}.duet-theme-turva .duet-input-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(143, 147, 158)}.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-label-hidden label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative{position:relative;width:100%}.duet-input-variation-button{position:relative;width:100%}.duet-input-variation-button .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-button .duet-input-relative .duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable{position:relative;width:100%}.duet-input-variation-revealable ::-ms-reveal{display:none}.duet-input-variation-revealable .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-variation-revealable .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-revealable .duet-input-relative .duet-input{border-width:0 !important}.duet-input-variation-revealable .duet-input-relative .duet-input:focus,.duet-input-variation-revealable .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled .duet-input-relative{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus .duet-input-relative{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus .duet-input-relative{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips .duet-input-relative{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-container.has-chips .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips .duet-input-relative .duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips .duet-input-relative .duet-input:focus,.duet-input-container.has-chips .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}';const z=class{constructor(e){t(this,e),this.theme="",this.for=void 0,this.margin="auto",this.size="medium",this.weight="semi-bold",this.color=""}componentWillLoad(){r(this)}render(){const t=k(this.color);return i(a,{class:{"duet-label":!0,"duet-label-small":"small"===this.size,"duet-theme-turva":"turva"===this.theme,"duet-small-margin":"small"===this.margin,"duet-m-0":"none"===this.margin,[`duet-weight-${this.weight}`]:!0}},i("label",{htmlFor:this.for,style:{color:t}},i("span",null,i("slot",null))))}get element(){return o(this)}};z.style='*.sc-duet-label,*.sc-duet-label::after,*.sc-duet-label::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-label-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;line-height:1.25;cursor:default}.duet-p-0.sc-duet-label-h{padding:0 !important}.duet-m-0.sc-duet-label-h{margin:0 !important}.duet-m-0.sc-duet-label-h{margin-bottom:0 !important}.duet-small-margin.sc-duet-label-h{margin-top:8px !important;margin-bottom:4px !important}.duet-has-tooltip.sc-duet-label-h{padding-right:48px}@media (min-width: 48em){.duet-has-tooltip.sc-duet-label-h{padding-right:0}}label.sc-duet-label{margin: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:1rem;font-weight:600 !important;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word}label.sc-duet-label span.sc-duet-label{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-label-small.sc-duet-label-h label.sc-duet-label{font-size:0.875rem}.duet-label-small.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-size:0.875rem}.duet-weight-normal.sc-duet-label-h label.sc-duet-label{font-weight:400 !important}.duet-weight-normal.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-weight:400 !important}.duet-theme-turva.sc-duet-label-h label.sc-duet-label{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)}';export{C as duet_input,z as duet_label}
4
+ import{r as t,c as e,h as i,H as a,g as o}from"./p-7a75bff7.js";import{f as n}from"./p-d004da5f.js";import{i as r}from"./p-aaa7a7bd.js";import{D as s}from"./p-c553a49a.js";import{c as d}from"./p-5e59e970.js";import{c as l,r as u}from"./p-df7874f9.js";import{f as p,j as h,e as c,d as b,a as m}from"./p-a1b7f2a0.js";import{a as g,c as f,d as v,g as x}from"./p-51b2f340.js";import{c as w,p as y}from"./p-ecf89776.js";import{g as k}from"./p-cc67e773.js";import"./p-9c3c64b9.js";import"./p-0d7da85a.js";const S={search:n,email:{title:"form-email",tags:"form email",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 23.999c-3.205 0-6.218-1.248-8.484-3.514S.001 15.206.001 12.001s1.248-6.218 3.514-8.485C5.782 1.25 8.795.001 12 .001s6.218 1.248 8.485 3.514A11.92 11.92 0 0 1 24 12v2.25A3.754 3.754 0 0 1 20.25 18a3.77 3.77 0 0 1-3.48-2.365A6.009 6.009 0 0 1 12 18c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6v2.25c0 1.241 1.009 2.25 2.25 2.25s2.25-1.009 2.25-2.25V12c0-2.804-1.092-5.441-3.075-7.424A10.433 10.433 0 0 0 12 1.501c-2.804 0-5.441 1.092-7.424 3.075S1.501 9.196 1.501 12c0 2.805 1.092 5.441 3.075 7.424s4.619 3.074 7.423 3.074c2.257 0 4.494-.746 6.299-2.1a.749.749 0 1 1 .9 1.199A12.049 12.049 0 0 1 12 23.999zM12 7.5c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5 4.5-2.019 4.5-4.5-2.019-4.5-4.5-4.5z"/></svg>'}},C=class{constructor(i){t(this,i),this.duetInput=e(this,"duetInput",7),this.duetChange=e(this,"duetChange",3),this.duetBlur=e(this,"duetBlur",7),this.duetClear=e(this,"duetClear",7),this.duetFocus=e(this,"duetFocus",7),this.inputId=d("DuetInput"),this.proxyId=d("DuetInput"),this.clearId=d("DuetInputClear"),this.labelId=d("DuetLabel"),this.topCaptionId=d("DuetCaptionTop"),this.topCaptionPlaceholderId=d("DuetCaptionPlaceholderTop"),this.chipCountId=d("DuetInputChipCount"),this.errorId=d("DuetError"),this.disallowPatternRegex=null,this.clearLabel={en:"Clear",fi:"Tyhjennä",sv:"Rensa"},this.timeAnnouncement={en:"Time",fi:"Aika",sv:"Tid"},this.showPasswordLabel={en:"Show password",fi:"Näytä salasana",sv:"Visa lösenord"},this.hidePasswordLabel={en:"Hide password",fi:"Piilota salasana",sv:"Dölj lösenord"},this.passwordShownAriaAnnouncement={en:"Password is shown",fi:"Salasana näytetään",sv:"Lösenordet visas"},this.passwordHiddenAriaAnnouncement={en:"Password is hidden",fi:"Salasana on piilotettu",sv:"Lösenordet är dolt"},this.chipsSelectedDesriptionLabel={en:"selected",fi:"valittu",sv:"valt"},this.onInput=t=>{this.disallowPatternRegex&&l(this.nativeInput,this.disallowPatternRegex),this.chips&&this.clearChipSelection(),this.value=this.nativeInput.value||"",this.duetInput.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onBlur=t=>{t.relatedTarget!==this.nativeInput&&t.relatedTarget!==this.togglePasswordRevealedButton&&("revealable"===this.variation&&this.isPasswordRevealed&&(this.isPasswordRevealed=!1),this.isFocused=!1,this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-input"}))},this.onFocus=t=>{this.clearChipSelection(),this.isFocused=!0,this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onClear=t=>{this.duetClear.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.getAriaDescribedBy=()=>{const t=[];if(this.isCaptionVisible&&this.topCaptionId&&t.push(this.topCaptionId),this.accessibleDescribedBy&&t.push(this.accessibleDescribedBy),this.chips){const e=this.getAllChips();e.length&&(t.push(this.chipCountId),e.forEach((e=>t.push(e.id))))}return this.error&&t.push(this.errorId),t.length>0?t.join(" "):null},this.handleClearClick=t=>{const e=this.clearInput();return this.onClear(t),e},this.keyHandler=t=>(p(t)&&this.clear&&this.handleClearClick(t),h(t)&&"revealable"===this.variation&&(t.target===this.togglePasswordRevealedButton?t.stopPropagation():this.isPasswordRevealed=!1),this.chips&&0===this.nativeInput.value.length&&(c(t)&&(this.isChipSelected()&&(this.getSelectedChip().removeChip(),setTimeout((()=>this.selectLastChip()))),this.selectLastChip()),b(t)&&this.selectChipToLeft(),m(t)&&this.isChipSelected()&&this.selectChipToRight()),t),this.togglePasswordRevealed=()=>{this.isPasswordRevealed=!this.isPasswordRevealed},this.getInputType=()=>"revealable"===this.variation?this.isPasswordRevealed?"text":"password":this.type,this.language=g(),this.isPasswordRevealed=void 0,this.isFocused=!1,this.accessibleActiveDescendant=void 0,this.accessibleAutocomplete=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleExpanded=void 0,this.accessibleDescribedBy="",this.accessibleHasPopup=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLiveError="polite",this.debounce=0,this.clear=!1,this.caption=void 0,this.echoPlaceholder=!1,this.theme="",this.expand=!1,this.disabled=!1,this.identifier=void 0,this.margin="auto",this.inputAlign="left",this.inputPadding="medium",this.required=!1,this.type="text",this.variation="default",this.chips=!1,this.label="Label",this.labelColor=void 0,this.labelWeight=void 0,this.error="",this.labelHidden=!1,this.numericKeyboard=!1,this.name=void 0,this.pattern=void 0,this.maxlength=void 0,this.minlength=void 0,this.placeholder=void 0,this.component="input",this.role=void 0,this.icon=void 0,this.autoComplete="on",this.disallowPattern=null,this.value=void 0,this.tooltip="",this.tooltipDirection="auto"}disallowedPatternChange(){this.disallowPatternRegex=this.disallowPattern?new RegExp(this.disallowPattern,"gu"):null}valueChanged(){if(this.nativeInput&&this.nativeInput.value!==this.value){const t=u(this.nativeInput);this.nativeInput.value=this.value,t()}this.isCaptionVisible=!!this.caption;const t=()=>this.duetChange.emit({value:this.value,component:"duet-input"});0===this.debounce?t():(clearTimeout(this.timeoutId),this.timeoutId=setTimeout(t,this.debounce))}componentWillLoad(){r(this),this.disallowedPatternChange(),this.isCaptionVisible=!!this.caption,w(this.element,"tooltip","duet-tooltip",1,!0)}componentDidLoad(){"revealable"===this.variation&&this.nativeInput.form&&this.nativeInput.form.addEventListener("submit",(()=>{this.isPasswordRevealed=!1}))}connectedCallback(){f(this)}disconnectedCallback(){v(this)}componentDidRender(){y(this.element,this.proxyId,this.name,this.value,this.required)}async setFocus(t){this.nativeInput&&this.nativeInput.focus(t)}async resetCursor(){if(this.nativeInput){const t=u(this.nativeInput);this.nativeInput.value=this.value,t()}}async clearInput(){this.nativeInput&&(this.nativeInput.value="",this.nativeInput.focus(),this.value="")}getAllChips(){return Array.from(this.element.shadowRoot.querySelectorAll(".duet-input-relative duet-chip"))}isChipSelected(){return this.getAllChips().some((t=>t.selected))}getSelectedChip(){return this.getAllChips().find((t=>t.selected))}clearChipSelection(){this.getAllChips().forEach((t=>t.selected=!1))}selectLastChip(){const t=this.getAllChips();t.length&&(t.forEach((t=>t.selected=!1)),t.at(-1).selected=!0)}selectChipToLeft(){const t=this.getAllChips(),e=t.findIndex((t=>t.selected));t.length&&(t.forEach((t=>t.selected=!1)),-1===e?t.at(-1).selected=!0:0===e?t[0].selected=!0:t[e-1].selected=!0)}selectChipToRight(){const t=this.getAllChips(),e=t.findIndex((t=>t.selected));t.length&&(t.forEach((t=>t.selected=!1)),e>-1&&e<t.length-1&&(t[e+1].selected=!0))}async addChip(t){const e=this.element.shadowRoot.querySelector(".duet-input-relative"),i=e.querySelector("input:not(duet-chip input)");t.id=d("DuetInputChip"),e.insertBefore(t,i)}async hasChip({value:t,text:e}){return this.getAllChips().some((i=>i.value===t&&i.textContent===e))}async getChips(){return this.getAllChips()}async clearChips(){this.getAllChips().forEach((t=>t.remove()))}render(){const t=this.identifier||this.inputId,e={};let o;if(this.numericKeyboard&&(e.inputmode="numeric"),this.pattern&&"tel"!==this.type?e.pattern=this.pattern:this.pattern||"tel"!==this.type||(e.pattern="[0-9+ ]+"),this.value){o=new Date;try{o.setHours(Number(this.value.slice(0,2)),Number(this.value.slice(3,5)),0,0)}catch(t){o=void 0}}const n=!this.icon&&"text"!==this.type&&"tel"!==this.type&&"password"!==this.type&&"time"!==this.type&&"button"!==this.variation;return i(a,{key:"6c1d94f9d544b1fdec23f6993ea8856acb3ec25e",class:{"duet-expand":this.expand,"duet-m-0":"none"===this.margin},onKeyUp:t=>this.keyHandler(t)},"time"===this.type&&i("duet-visually-hidden",{key:"1c71f810fadfda464bf37499ef37dd373f610534","aria-live":"polite","aria-atomic":"true"},o?`${this.timeAnnouncement[this.language]} ${o.toLocaleTimeString()}`:""),i("div",{key:"1aeff156d8453ad8315d3e42af92f095ca7f6328",class:{"duet-input-container":!0,"duet-theme-turva":"turva"===this.theme,[`duet-input-variation-${this.variation}`]:!0,"duet-label-hidden":this.labelHidden,"duet-input-top-caption-shown":this.isCaptionVisible,"has-icon":"button"!==this.variation&&(!!this.icon||"text"!==this.type&&"tel"!==this.type&&"password"!==this.type&&"time"!==this.type),"has-error":!!this.error,"has-chips":this.chips,"has-clear":this.clear,"has-focus":this.isFocused,disabled:this.disabled}},i("div",{key:"a2a51d7bc74afa312058cabb51f94da42f54fc46",class:"duet-input-label-container"},i(s,{key:"7859061ce09bb88f1bee4b275a23b05c968b06fd",theme:"turva"===this.theme?"turva":"default",margin:this.isCaptionVisible?"small":"auto",color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:t},this.label),this.tooltip&&i("duet-tooltip",{key:"90608b6e873b5ccbda49563f4a04eef3e96ab48d",class:"duet-input-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label,theme:"turva"===this.theme?"turva":"default"},this.tooltip),i("slot",{key:"c77595ab15425b05c43c1bd4787f6088ef2e7499",name:"tooltip"})),this.caption&&i("duet-caption",{key:"07107c13f7f6269abdf11207be8ba7ce093c735b",id:this.topCaptionId,size:"medium"},this.caption),i("div",{key:"711e8416c4f16e82aa3efcecf68f9d7fa1cbb384",class:"duet-input-relative"},this.placeholder&&this.echoPlaceholder&&(this.value||"time"===this.type)&&i("duet-caption",{key:"4a0c67e4968b454c6cc339ae816d8c3eb2142861",id:this.topCaptionPlaceholderId,class:"duet-input-placeholder",margin:"none",size:"small"},this.placeholder),this.chips&&i("duet-visually-hidden",{key:"5c6bc95cfc7149aba9245c5f58e558a6831081d8",id:this.chipCountId},", ",`${this.getAllChips().length} ${x(this.chipsSelectedDesriptionLabel)}`,","),i("input",Object.assign({key:"3a70569af48c892b197d5dae77254074120bc185",ref:t=>this.nativeInput=t,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,type:this.getInputType(),class:{"duet-input":!0,disabled:this.disabled,"is-number":"number"===this.component,"is-date":"date"===this.component,"after-chip":this.getAllChips().length>0,"align-right":"right"===this.inputAlign,[`input-padding-${this.inputPadding}`]:!0},value:this.value,disabled:this.disabled,"aria-invalid":this.error?"true":"false","aria-labelledby":this.accessibleLabelledBy?`${this.labelId} ${this.accessibleLabelledBy}`:this.labelId,"aria-controls":this.accessibleControls,"aria-autocomplete":this.accessibleAutocomplete,"aria-activedescendant":this.accessibleActiveDescendant,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-expanded":this.accessibleExpanded,"aria-haspopup":this.accessibleHasPopup,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedBy(),placeholder:this.placeholder,spellcheck:"false",minlength:this.minlength,maxlength:this.maxlength,autocomplete:"password"===this.type?"off":this.autoComplete,required:this.required,role:this.role,name:this.name,id:t},e)),!this.value&&n&&i("div",{key:"0377efc4c565c66f5c14cb741f8ccb3e2545221a",class:"duet-input-icon"},i("duet-icon",{key:"862ec3d70162837ad3c72e1c648176c1dc771d36",margin:"none",size:"small",icon:S[this.type].svg,color:"currentColor"})),this.clear&&this.value&&i("div",{key:"4bbb87e3df3d533e086c2e5b0614e7a5fd1498df",class:{"duet-input-clear-icon":!0,"duet-input-clear-icon-single":!n,"duet-input-clear-icon-double":!!this.icon,"duet-input-clear-icon-button":"button"===this.variation}},i("button",{key:"08ead94af1665bdbd5f5ef366b29bba89d7df0c6",onClick:this.handleClearClick,id:this.clearId,"aria-label":this.clearLabel[this.language],"aria-keyshortcuts":"Escape"},i("duet-icon",{key:"f7a0d73ec05dfd4f0b1bdbd097f6637b18f6c62f",margin:"none",size:"medium",name:"action-clear-input",color:"currentColor"}))),this.icon&&"button"!==this.variation&&i("div",{key:"555da51b2ccc71bfdc259ee3b80ef0cb550a2757",class:"duet-input-icon"},i("duet-icon",{key:"4e61179d3006a21c36518b34a198f1ebbcd4ba65",margin:"none",size:"small",name:this.icon,color:"currentColor"})),"button"===this.variation&&i("slot",{key:"1fa648c46fd4dd1929185f0a0216e91724dd234f",name:"button"}),"revealable"===this.variation&&i("duet-button",{key:"ba539f81b4de281f1f548f858144120a308b7f27",ref:t=>this.togglePasswordRevealedButton=t,onBlur:this.onBlur,onFocus:this.onFocus,onClick:this.togglePasswordRevealed,icon:this.isPasswordRevealed?"action-hide":"action-show",accessibleLabel:this.isPasswordRevealed?this.hidePasswordLabel[this.language]:this.showPasswordLabel[this.language],margin:"none",variation:"input-button-embedded",fixed:!0,iconOnly:!0}),"revealable"===this.variation&&void 0!==this.isPasswordRevealed&&i("duet-visually-hidden",{key:"f2b57b97cb3de186e3e7cc8fcff5bff2aa0c50f7"},i("span",{key:"44280ae6250bd248ef4bc32ee3fda8adafb0b922","aria-live":"polite"},this.isPasswordRevealed?this.passwordShownAriaAnnouncement[this.language]:this.passwordHiddenAriaAnnouncement[this.language])),i("slot",{key:"37f27ffb2c201fef8f4058dabf29734c1fb596c6"})),i("span",{key:"87b22ac00aca098cc5e076850ca390e29cc022c9",class:"duet-input-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&i("span",{key:"961a7bdca67b47c2d4f694095fb9fe6edde487f7",class:"duet-input-error"},this.error))))}get element(){return o(this)}static get watchers(){return{disallowPattern:["disallowedPatternChange"],value:["valueChanged"]}}};C.style='.duet-internal-label{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;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 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.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)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{margin-right:16px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}: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:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip,::slotted(duet-tooltip){position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){right:auto}}duet-caption:not(:last-of-type){margin-bottom:0}.duet-input-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-input-icon{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva .duet-input-icon{color:rgb(23, 28, 58)}.duet-input-container{position:relative;width:100%;height:100%}.duet-input-container.has-clear .duet-input-clear-icon{position:relative;z-index:250}.duet-input-container.has-clear .duet-input-clear-icon button{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear .duet-input-clear-icon 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-input-container.has-clear .duet-input-clear-icon button:focus,.duet-input-container.has-clear .duet-input-clear-icon button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear .duet-input-clear-icon button:active{opacity:0.75;transition:none}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single button{top:-48px;right:0}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double button{top:-24px;right:12px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-button button{top:-24px;right:0}.duet-input-container.has-clear.has-icon .duet-input-clear-icon{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button{color:rgb(8, 42, 77)}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-input-label-container{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container{justify-content:flex-start}}.duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;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 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small{padding:8px 10px !important}.duet-input.input-padding-x-small{padding:4px 6px !important}.duet-input.input-padding-xx-small{padding:0px 2px !important}.duet-input.is-number{padding-right:112px !important}.duet-input.is-date{padding-right:64px !important}.duet-input.after-chip{padding-left:8px !important}.has-error .duet-input,.has-error .duet-input[disabled]{border-color:rgb(214, 28, 82) !important}.has-error .duet-input+.duet-input-icon,.has-error .duet-input[disabled]+.duet-input-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.has-icon .duet-input{padding-right:48px !important}.duet-theme-turva .duet-input{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) !important;border-color:rgb(143, 147, 158) !important}.duet-input.align-right{text-align:right}.duet-input::-ms-clear{display:none}.duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva .duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva .duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled]{color:rgb(8, 42, 77) !important;cursor:not-allowed !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(8, 42, 77) !important}.duet-theme-turva .duet-input[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva .duet-input:focus+.duet-input-icon{color:rgb(23, 28, 58)}.has-error .duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input:focus+.duet-input-icon{color:rgb(0, 119, 179)}.duet-input[type=search]:not(:placeholder-shown):focus+.duet-input-icon{display:none}.duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number]::-webkit-inner-spin-button,.duet-input[type=number]::-webkit-outer-spin-button,.duet-input[type=time]::-webkit-inner-spin-button,.duet-input[type=time]::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-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(98, 121, 138);border-radius:4px}.duet-input-help span{display:block;margin-top:8px}.duet-theme-turva .duet-input-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(143, 147, 158)}.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-label-hidden label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative{position:relative;width:100%}.duet-input-variation-button{position:relative;width:100%}.duet-input-variation-button .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-button .duet-input-relative .duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable{position:relative;width:100%}.duet-input-variation-revealable ::-ms-reveal{display:none}.duet-input-variation-revealable .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-variation-revealable .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-revealable .duet-input-relative .duet-input{border-width:0 !important}.duet-input-variation-revealable .duet-input-relative .duet-input:focus,.duet-input-variation-revealable .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled .duet-input-relative{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus .duet-input-relative{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus .duet-input-relative{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips .duet-input-relative{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-container.has-chips .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips .duet-input-relative .duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips .duet-input-relative .duet-input:focus,.duet-input-container.has-chips .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}';const z=class{constructor(e){t(this,e),this.theme="",this.for=void 0,this.margin="auto",this.size="medium",this.weight="semi-bold",this.color=""}componentWillLoad(){r(this)}render(){const t=k(this.color);return i(a,{class:{"duet-label":!0,"duet-label-small":"small"===this.size,"duet-theme-turva":"turva"===this.theme,"duet-small-margin":"small"===this.margin,"duet-m-0":"none"===this.margin,[`duet-weight-${this.weight}`]:!0}},i("label",{htmlFor:this.for,style:{color:t}},i("span",null,i("slot",null))))}get element(){return o(this)}};z.style='*.sc-duet-label,*.sc-duet-label::after,*.sc-duet-label::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-label-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;line-height:1.25;cursor:default}.duet-p-0.sc-duet-label-h{padding:0 !important}.duet-m-0.sc-duet-label-h{margin:0 !important}.duet-m-0.sc-duet-label-h{margin-bottom:0 !important}.duet-small-margin.sc-duet-label-h{margin-top:8px !important;margin-bottom:4px !important}.duet-has-tooltip.sc-duet-label-h{padding-right:48px}@media (min-width: 48em){.duet-has-tooltip.sc-duet-label-h{padding-right:0}}label.sc-duet-label{margin: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:1rem;font-weight:600 !important;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word}label.sc-duet-label span.sc-duet-label{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-label-small.sc-duet-label-h label.sc-duet-label{font-size:0.875rem}.duet-label-small.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-size:0.875rem}.duet-weight-normal.sc-duet-label-h label.sc-duet-label{font-weight:400 !important}.duet-weight-normal.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-weight:400 !important}.duet-theme-turva.sc-duet-label-h label.sc-duet-label{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)}';export{C as duet_input,z as duet_label}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,c as t,h as i,H as a,g as o}from"./p-8abb0984.js";import{i as d}from"./p-aaa7a7bd.js";import{D as r}from"./p-2b6a7397.js";import{c as s}from"./p-5e59e970.js";import{s as n,u as l}from"./p-a1b7f2a0.js";import{p as h}from"./p-eca03d5e.js";const u=class{constructor(i){e(this,i),this.duetChange=t(this,"duetChange",3),this.toggleId=s("DuetToggle"),this.proxyId=s("DuetToggle"),this.onClick=e=>{e.preventDefault(),this.setFocus(),this.checked=!this.checked},this.theme="",this.margin="auto",this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.label="label",this.labelColor=void 0,this.labelWeight=void 0,this.labelPosition="top",this.required=!1,this.disabled=!1,this.checked=!1,this.value=void 0,this.identifier=void 0,this.name=void 0,this.role=void 0}checkedChanged(e){this.duetChange.emit({checked:e,value:this.value,component:"duet-toggle"})}componentWillLoad(){d(this),void 0===this.value&&(this.value=this.identifier)}connectedCallback(){n(this)}disconnectedCallback(){l(this)}componentDidRender(){h(this.element,this.proxyId,this.name,this.value,this.required,this.checked)}async setFocus(e){this.nativeInput.focus(e)}render(){const e=this.identifier||this.toggleId;return i(a,{key:"694e8b1cb37f0b0b1842ff3d6c185029579e0b1f",onClick:this.disabled?void 0:this.onClick,class:{"duet-m-0":"none"===this.margin}},i("div",{key:"167e4372a5554dce04af310a69ed4c4e0c6ee3ed",class:{"duet-toggle":!0,"duet-theme-turva":"turva"===this.theme,"duet-side-label":"top"!==this.labelPosition,"duet-reverse-label":"right"===this.labelPosition}},i(r,{key:"125d2ac85be7fc1097655a5d14257c480861b7d4",theme:this.theme,color:this.labelColor,weight:this.labelWeight,for:e,margin:"top"===this.labelPosition?"auto":"none"},this.label),i("label",{key:"8f91d032e9063ff55aaf2c0058d2e5d401ad8724",class:"duet-switch"},i("input",{key:"c9bc713caaf82122725cb37f320f3318ce102fd8",type:"checkbox",value:this.value,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,id:e,role:this.role,name:this.name,checked:this.checked,required:this.required,disabled:this.disabled,ref:e=>this.nativeInput=e}),i("div",{key:"01ff73ea8682b434fa35435c3e6ceb1f0ddb650d",class:"duet-slider"}))))}get element(){return o(this)}static get watchers(){return{checked:["checkedChanged"]}}};u.style='.duet-internal-label{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;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 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.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)}*,*::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;-webkit-user-select:none;user-select:none;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}duet-label{display:block !important;width:100% !important}.duet-side-label{display:flex;gap:12px;align-items:center}.duet-side-label duet-label{width:auto !important}.duet-reverse-label{flex-direction:row-reverse}.duet-switch{position:relative;display:block;width:48px;height:28px}.duet-switch input{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-switch input:checked+.duet-slider{background-color:rgb(0, 119, 179);box-shadow:none}.duet-theme-turva .duet-switch input:checked+.duet-slider{background-color:rgb(198, 12, 48)}.duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #004467;transform:translateX(20px)}.duet-theme-turva .duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #660619}.duet-switch input:disabled+.duet-slider{cursor:default}.duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-theme-turva .duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-switch input:disabled:not(:checked)+.duet-slider{background:#bfcbd2}.duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255);box-shadow:none}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider{background:#c7c9cf}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255)}.duet-switch input:disabled:checked+.duet-slider{background:#80bbd9}.duet-theme-turva .duet-switch input:disabled:checked+.duet-slider{background:#e38698}:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(0, 119, 179, 0.75)}:host(.user-is-tabbing) .duet-theme-turva .duet-switch input:focus+.duet-slider{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(23, 28, 58, 0.75)}.duet-slider{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer;background-color:rgb(127, 150, 165);border-radius:24px;transition:background-color 300ms ease}.duet-slider::before{position:absolute;bottom:2px;left:2px;width:24px;height:24px;content:"";background-color:rgb(255, 255, 255);border-radius:50%;box-shadow:1px 0 2px 0 #5d6266;transition:300ms ease}.duet-theme-turva .duet-slider{background-color:rgb(143, 147, 158)}.duet-theme-turva .duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:1px 0 2px 0 #00334d}';export{u as duet_toggle}
4
+ import{r as e,c as t,h as i,H as a,g as o}from"./p-7a75bff7.js";import{i as d}from"./p-aaa7a7bd.js";import{D as r}from"./p-c553a49a.js";import{c as s}from"./p-5e59e970.js";import{s as n,u as l}from"./p-a1b7f2a0.js";import{p as h}from"./p-ecf89776.js";const b=class{constructor(i){e(this,i),this.duetChange=t(this,"duetChange",3),this.toggleId=s("DuetToggle"),this.proxyId=s("DuetToggle"),this.onClick=e=>{e.preventDefault(),this.setFocus(),this.checked=!this.checked},this.theme="",this.margin="auto",this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.label="label",this.labelColor=void 0,this.labelWeight=void 0,this.labelPosition="top",this.required=!1,this.disabled=!1,this.checked=!1,this.value=void 0,this.identifier=void 0,this.name=void 0,this.role=void 0}checkedChanged(e){this.duetChange.emit({checked:e,value:this.value,component:"duet-toggle"})}componentWillLoad(){d(this),void 0===this.value&&(this.value=this.identifier)}connectedCallback(){n(this)}disconnectedCallback(){l(this)}componentDidRender(){h(this.element,this.proxyId,this.name,this.value,this.required,this.checked)}async setFocus(e){this.nativeInput.focus(e)}render(){const e=this.identifier||this.toggleId;return i(a,{key:"bf8502b497d41349ab2fd1bb0abca6b16c87fb6c",onClick:this.disabled?void 0:this.onClick,class:{"duet-m-0":"none"===this.margin}},i("div",{key:"17d971af6ec2d5bc251ffd734bea74dd1f3ee749",class:{"duet-toggle":!0,"duet-theme-turva":"turva"===this.theme,"duet-side-label":"top"!==this.labelPosition,"duet-reverse-label":"right"===this.labelPosition}},i(r,{key:"ee79a22afd025e1c86d7f4526eb27af6d5e68d85",theme:this.theme,color:this.labelColor,weight:this.labelWeight,for:e,margin:"top"===this.labelPosition?"auto":"none"},this.label),i("label",{key:"9c4488aed6bafaf974b4389cb02809bb0ea2c478",class:"duet-switch"},i("input",{key:"8140d3b60b2e094489f89788cc34d29427bce990",type:"checkbox",value:this.value,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,id:e,role:this.role,name:this.name,checked:this.checked,required:this.required,disabled:this.disabled,ref:e=>this.nativeInput=e}),i("div",{key:"3c207d4e7ede368ebbaf589a9bda47b1f73abfef",class:"duet-slider"}))))}get element(){return o(this)}static get watchers(){return{checked:["checkedChanged"]}}};b.style='.duet-internal-label{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;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 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.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)}*,*::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;-webkit-user-select:none;user-select:none;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}duet-label{display:block !important;width:100% !important}.duet-side-label{display:flex;gap:12px;align-items:center}.duet-side-label duet-label{width:auto !important}.duet-reverse-label{flex-direction:row-reverse}.duet-switch{position:relative;display:block;width:48px;height:28px}.duet-switch input{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-switch input:checked+.duet-slider{background-color:rgb(0, 119, 179);box-shadow:none}.duet-theme-turva .duet-switch input:checked+.duet-slider{background-color:rgb(198, 12, 48)}.duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #004467;transform:translateX(20px)}.duet-theme-turva .duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #660619}.duet-switch input:disabled+.duet-slider{cursor:default}.duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-theme-turva .duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-switch input:disabled:not(:checked)+.duet-slider{background:#bfcbd2}.duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255);box-shadow:none}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider{background:#c7c9cf}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255)}.duet-switch input:disabled:checked+.duet-slider{background:#80bbd9}.duet-theme-turva .duet-switch input:disabled:checked+.duet-slider{background:#e38698}:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(0, 119, 179, 0.75)}:host(.user-is-tabbing) .duet-theme-turva .duet-switch input:focus+.duet-slider{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(23, 28, 58, 0.75)}.duet-slider{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer;background-color:rgb(127, 150, 165);border-radius:24px;transition:background-color 300ms ease}.duet-slider::before{position:absolute;bottom:2px;left:2px;width:24px;height:24px;content:"";background-color:rgb(255, 255, 255);border-radius:50%;box-shadow:1px 0 2px 0 #5d6266;transition:300ms ease}.duet-theme-turva .duet-slider{background-color:rgb(143, 147, 158)}.duet-theme-turva .duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:1px 0 2px 0 #00334d}';export{b as duet_toggle}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as o,H as a,g as t}from"./p-8abb0984.js";import{i as r}from"./p-aaa7a7bd.js";import{f as n}from"./p-a1b7f2a0.js";const i=class{constructor(o){e(this,o),this.accessibleLabel=void 0,this.theme="",this.targetLanguage=void 0,this.href="#",this.icon=void 0,this.active=!1}componentWillLoad(){r(this)}handleEscape(e){if(n(e)){const e=this.element.closest("duet-toolbar-dropdown");e.open=!1,e.setFocus()}}render(){return o(a,{key:"e6284cb0d289f8b64e26d5588c12aac7d490b170"},o("a",{key:"56812f3a45834d09c37c304491daa0a7b8573c8e",class:{"duet-toolbar-dropdown-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,lang:this.targetLanguage,hreflang:this.targetLanguage,role:"link menuitem","aria-label":this.accessibleLabel,"aria-current":this.active?"true":"false",onKeyUp:e=>this.handleEscape(e)},this.icon&&o("duet-icon",{key:"3a1f39a9f5c3fdfba1b4849b289b874ee6d0d3bf",name:this.icon,size:"x-small",margin:"none"}),o("span",{key:"ad7c40813561cb6d3c215b0986a25f0aeadac435",class:"label"},o("slot",{key:"ee1ffcf539b6fc36dab482151cbea393d7582ef0"})),this.active&&o("duet-icon",{key:"b95754e56d673cd0330bc41aefd6a6a48e25cff6",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))}get element(){return t(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-toolbar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 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 .label{flex:1;text-align:left}.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{background:rgb(240, 247, 250)}.duet-toolbar-dropdown-link.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-toolbar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-toolbar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}';export{i as duet_toolbar_dropdown_link}
4
+ import{r as e,h as o,H as a,g as t}from"./p-7a75bff7.js";import{i as r}from"./p-aaa7a7bd.js";import{f as n}from"./p-a1b7f2a0.js";const i=class{constructor(o){e(this,o),this.accessibleLabel=void 0,this.theme="",this.targetLanguage=void 0,this.href="#",this.icon=void 0,this.active=!1}componentWillLoad(){r(this)}handleEscape(e){if(n(e)){const e=this.element.closest("duet-toolbar-dropdown");e.open=!1,e.setFocus()}}render(){return o(a,{key:"34d25bff907ba75e14bb51f500bffea729b32482"},o("a",{key:"e9a8a7450c3e0f3c3835e7646384b52545b8b418",class:{"duet-toolbar-dropdown-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,lang:this.targetLanguage,hreflang:this.targetLanguage,role:"link menuitem","aria-label":this.accessibleLabel,"aria-current":this.active?"true":"false",onKeyUp:e=>this.handleEscape(e)},this.icon&&o("duet-icon",{key:"7f22b9e1f170f2c6b4a08df11be5cb4e11a2efd0",name:this.icon,size:"x-small",margin:"none"}),o("span",{key:"78c798a19faa674e60d34672d1db627c8b47ab08",class:"label"},o("slot",{key:"9f7e624dc12e4e35f51eb97e5bf01b5182f45635"})),this.active&&o("duet-icon",{key:"a85b6330a153a4d6acb61d74a10f538a7fbf95f7",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))}get element(){return t(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-toolbar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 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 .label{flex:1;text-align:left}.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{background:rgb(240, 247, 250)}.duet-toolbar-dropdown-link.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-toolbar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-toolbar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}';export{i as duet_toolbar_dropdown_link}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- System.register(["./p-a19244e5.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-34d7dd10.system.js","./p-1e17463d.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,s,o,i,a,n,r,c,h,u,l,d;return{setters:[function(e){t=e.r;s=e.c;o=e.h;i=e.H;a=e.g},function(e){n=e.i},function(e){r=e.c},function(e){c=e.i},function(e){h=e.a;u=e.g;l=e.c;d=e.d},function(){}],execute:function(){var b='*,*::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}.duet-show-more{margin-bottom:16px !important;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(8, 42, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more .content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-show-more.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-show-more.duet-theme-turva .content:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';var f=b;var m=e("duet_show_more",function(){function e(e){var o=this;t(this,e);this.duetToggle=s(this,"duetToggle",7);this.contentId=r("DuetShowMore");this.buttonId=r("DuetShowMoreButton");this.handleKeyDown=function(e){if(c(e)){o.handleClick(e)}};this.handleClick=function(e){e.preventDefault();var t=!o.open;o.open=t;if(t){setTimeout((function(){o.contentElement.focus()}),100);setTimeout((function(){o.buttonAriaOpen=t}),500)}else{o.buttonAriaOpen=t}o.duetToggle.emit({component:"duet-show-more",originalEvent:e})};this.buttonAriaOpen=false;this.theme="";this.language=h();this.showMoreLabelDefaults={fi:"Näytä lisää",sv:"Visa mer",en:"Show more"};this.showMoreLabel=u(this.showMoreLabelDefaults);this.showLessLabelDefaults={fi:"Näytä vähemmän",sv:"Visa mindre",en:"Show less"};this.showLessLabel=u(this.showLessLabelDefaults);this.showMoreAccessibleLabelDefaults={fi:"Näytä lisää tästä aiheesta",sv:"Visa mer om detta ämne",en:"Show more about this subject"};this.showMoreAccessibleLabel=u(this.showMoreAccessibleLabelDefaults);this.showLessAccessibleLabelDefaults={fi:"Näytä vähemmän tästä aiheesta",sv:"Visa mindre om detta ämne",en:"Show less about this subject"};this.showLessAccessibleLabel=u(this.showLessAccessibleLabelDefaults);this.margin="auto";this.buttonMargin="auto";this.buttonPadding="auto";this.open=false}e.prototype.componentWillLoad=function(){n(this);this.buttonAriaOpen=this.open};e.prototype.connectedCallback=function(){l(this,[{prop:"showMoreLabel",defaults:"showMoreLabelDefaults"},{prop:"showLessLabel",defaults:"showLessLabelDefaults"},{prop:"showMoreAccessibleLabel",defaults:"showMoreAccessibleLabelDefaults"},{prop:"showLessAccessibleLabel",defaults:"showLessAccessibleLabelDefaults"}])};e.prototype.disconnectedCallback=function(){d(this)};e.prototype.render=function(){var e=this;return o(i,{key:"7aabc68122e39e13570c288807ddf7217bf2c794"},o("div",{key:"d6624d52f08b44fd3a8bc120e4b91f27c7780930",class:{"duet-show-more":true,"duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none",open:this.open}},o("div",{key:"ae9e3f907c01acca68e65d494d95d5cb94fc98dc",ref:function(t){return e.contentElement=t},class:{content:true},id:this.contentId,tabindex:this.open?"0":""},o("div",{key:"b48162785643ad6cf19317034330292fb9b68d35",class:{"slotted-content":true}},o("slot",{key:"fbf4b3787e4da0aece2faa1572b17d2f90e5a305"}))),o("duet-button",{key:"607c79dca958f12c36b480232904934bfd75c2b7",id:this.buttonId,variation:"plain","accessible-label":this.buttonAriaOpen?this.showLessAccessibleLabel:this.showMoreAccessibleLabel,"accessible-expanded":this.buttonAriaOpen?"true":"false","accessible-controls":this.contentId,accessiblePressed:this.open,onClick:this.handleClick,onKeyDown:this.handleKeyDown,"icon-right":true,icon:this.open?"action-arrow-up-small":"action-arrow-down-small","icon-size":"medium-small",size:"small",margin:this.buttonMargin,padding:this.buttonPadding,theme:this.theme==="turva"?"turva":"default"},o("span",{key:"fc42b31d2ecdc7f250776565b6dc19fba34d3919"},this.open?this.showLessLabel:this.showMoreLabel))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());m.style=f}}}));
4
+ System.register(["./p-2e0eb8a4.system.js","./p-e216bea4.system.js","./p-e6b5a1c7.system.js","./p-34d7dd10.system.js","./p-81835239.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,s,o,i,a,n,r,c,h,u,l,d;return{setters:[function(e){t=e.r;s=e.c;o=e.h;i=e.H;a=e.g},function(e){n=e.i},function(e){r=e.c},function(e){c=e.i},function(e){h=e.a;u=e.g;l=e.c;d=e.d},function(){}],execute:function(){var b='*,*::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}.duet-show-more{margin-bottom:16px !important;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(8, 42, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more .content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-show-more.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-show-more.duet-theme-turva .content:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';var f=b;var m=e("duet_show_more",function(){function e(e){var o=this;t(this,e);this.duetToggle=s(this,"duetToggle",7);this.contentId=r("DuetShowMore");this.buttonId=r("DuetShowMoreButton");this.handleKeyDown=function(e){if(c(e)){o.handleClick(e)}};this.handleClick=function(e){e.preventDefault();var t=!o.open;o.open=t;if(t){setTimeout((function(){o.contentElement.focus()}),100);setTimeout((function(){o.buttonAriaOpen=t}),500)}else{o.buttonAriaOpen=t}o.duetToggle.emit({component:"duet-show-more",originalEvent:e})};this.buttonAriaOpen=false;this.theme="";this.language=h();this.showMoreLabelDefaults={fi:"Näytä lisää",sv:"Visa mer",en:"Show more"};this.showMoreLabel=u(this.showMoreLabelDefaults);this.showLessLabelDefaults={fi:"Näytä vähemmän",sv:"Visa mindre",en:"Show less"};this.showLessLabel=u(this.showLessLabelDefaults);this.showMoreAccessibleLabelDefaults={fi:"Näytä lisää tästä aiheesta",sv:"Visa mer om detta ämne",en:"Show more about this subject"};this.showMoreAccessibleLabel=u(this.showMoreAccessibleLabelDefaults);this.showLessAccessibleLabelDefaults={fi:"Näytä vähemmän tästä aiheesta",sv:"Visa mindre om detta ämne",en:"Show less about this subject"};this.showLessAccessibleLabel=u(this.showLessAccessibleLabelDefaults);this.margin="auto";this.buttonMargin="auto";this.buttonPadding="auto";this.open=false}e.prototype.componentWillLoad=function(){n(this);this.buttonAriaOpen=this.open};e.prototype.connectedCallback=function(){l(this,[{prop:"showMoreLabel",defaults:"showMoreLabelDefaults"},{prop:"showLessLabel",defaults:"showLessLabelDefaults"},{prop:"showMoreAccessibleLabel",defaults:"showMoreAccessibleLabelDefaults"},{prop:"showLessAccessibleLabel",defaults:"showLessAccessibleLabelDefaults"}])};e.prototype.disconnectedCallback=function(){d(this)};e.prototype.render=function(){var e=this;return o(i,{key:"7aabc68122e39e13570c288807ddf7217bf2c794"},o("div",{key:"d6624d52f08b44fd3a8bc120e4b91f27c7780930",class:{"duet-show-more":true,"duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none",open:this.open}},o("div",{key:"ae9e3f907c01acca68e65d494d95d5cb94fc98dc",ref:function(t){return e.contentElement=t},class:{content:true},id:this.contentId,tabindex:this.open?"0":""},o("div",{key:"b48162785643ad6cf19317034330292fb9b68d35",class:{"slotted-content":true}},o("slot",{key:"fbf4b3787e4da0aece2faa1572b17d2f90e5a305"}))),o("duet-button",{key:"607c79dca958f12c36b480232904934bfd75c2b7",id:this.buttonId,variation:"plain","accessible-label":this.buttonAriaOpen?this.showLessAccessibleLabel:this.showMoreAccessibleLabel,"accessible-expanded":this.buttonAriaOpen?"true":"false","accessible-controls":this.contentId,accessiblePressed:this.open,onClick:this.handleClick,onKeyDown:this.handleKeyDown,"icon-right":true,icon:this.open?"action-arrow-up-small":"action-arrow-down-small","icon-size":"medium-small",size:"small",margin:this.buttonMargin,padding:this.buttonPadding,theme:this.theme==="turva"?"turva":"default"},o("span",{key:"fc42b31d2ecdc7f250776565b6dc19fba34d3919"},this.open?this.showLessLabel:this.showMoreLabel))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());m.style=f}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as o,g as a}from"./p-8abb0984.js";import{i as n}from"./p-aaa7a7bd.js";import{f as r}from"./p-a1b7f2a0.js";const d=class{constructor(t){e(this,t),this.onClick=()=>{this.open=!this.open},this.getVariant=()=>(this.element.parentElement.getAttribute("slot"),"right"),this.accessibleLabel=void 0,this.theme="",this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&(this.open=!1)}componentWillLoad(){n(this)}handleEscape(e){r(e)&&(this.open=!1,this.setFocus())}async setFocus(e){this.button.focus(e)}render(){return t(o,{key:"8b40cdb860995adb53e2af728a887e9b4708691a",role:"listitem"},t("div",{key:"2f82e317fa1e0047cf4c39cc95f108bfc44a8f39",class:{"duet-menu-bar-dropdown":!0,"duet-theme-turva":"turva"===this.theme,active:this.open,[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]:!0}},t("button",{key:"1224e23b4a0ff1f364096bea12eb4f865444d1d8",ref:e=>this.button=e,"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:e=>this.handleEscape(e)},this.icon&&t("duet-icon",{key:"2a4af8378e45ded016940bfc47fa885ce2df9ce7",class:"menu-bar-dropdown-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),t("div",{key:"1f04992d67aaae7bff60adbffc1b44ce51888e89",class:"label"},t("slot",{key:"80a68b5b749449101c198271ea76e59ba299d36a",name:"label"}),t("duet-icon",{key:"c52a29144937f583f2acdd6fa295c22f66e9bda7",class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),t("div",{key:"e3585849f0b032094ebe1121f8923a4c6fab798b",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",{key:"c73b647bb5890887f3de54d54a2858190c57e630"}))))}get element(){return a(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;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, 75, 129);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 .menu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-dropdown .menu-bar-dropdown-icon{width:16px;height:16px}}.duet-menu-bar-dropdown .items{position:absolute;top:70%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:225px;padding:8px;color:rgb(8, 42, 77);background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15)}.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(255, 255, 255)}';export{d as duet_menu_bar_dropdown}
4
+ import{r as e,h as t,H as o,g as a}from"./p-7a75bff7.js";import{i as n}from"./p-aaa7a7bd.js";import{f as r}from"./p-a1b7f2a0.js";const d=class{constructor(t){e(this,t),this.onClick=()=>{this.open=!this.open},this.getVariant=()=>(this.element.parentElement.getAttribute("slot"),"right"),this.accessibleLabel=void 0,this.theme="",this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&(this.open=!1)}componentWillLoad(){n(this)}handleEscape(e){r(e)&&(this.open=!1,this.setFocus())}async setFocus(e){this.button.focus(e)}render(){return t(o,{key:"d71c83e01aa8580e0bd1eaabb91f3cca8734cc1b",role:"listitem"},t("div",{key:"7d606d5d43394752e02f372c6c1bc2df44fbb977",class:{"duet-menu-bar-dropdown":!0,"duet-theme-turva":"turva"===this.theme,active:this.open,[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]:!0}},t("button",{key:"88715073efb8ef87d18ebcbd493eabf5f4b10da5",ref:e=>this.button=e,"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:e=>this.handleEscape(e)},this.icon&&t("duet-icon",{key:"f70f97a8ba1769cc7eb214fa8c56f0fd526fd092",class:"menu-bar-dropdown-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),t("div",{key:"4d2d51d01fa52e5ebeb1aebeedb80d32021938dd",class:"label"},t("slot",{key:"ca9b40f144b8a0480fc04c51b336a4df20e30e5d",name:"label"}),t("duet-icon",{key:"bfca42219c5bd1c00604d68f6d3fe5b392e344ce",class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),t("div",{key:"35cf265e22ea94935890b4029cfd757e6f2a70ff",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",{key:"1aa83e543c586acb204c20e6762ffd98e6ad7d33"}))))}get element(){return a(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;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, 75, 129);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 .menu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-dropdown .menu-bar-dropdown-icon{width:16px;height:16px}}.duet-menu-bar-dropdown .items{position:absolute;top:70%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:225px;padding:8px;color:rgb(8, 42, 77);background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15)}.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(255, 255, 255)}';export{d as duet_menu_bar_dropdown}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as a,g as i}from"./p-7a75bff7.js";import{a as r}from"./p-f11208c3.js";import{D as o}from"./p-beeb12f1.js";import{i as s}from"./p-aaa7a7bd.js";import{g as n}from"./p-f2462d98.js";import{f as u}from"./p-a1b7f2a0.js";import{g as b,c as d,d as c}from"./p-51b2f340.js";import"./p-ecf89776.js";import"./p-9c3c64b9.js";const m=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.url=void 0,this.leadingIcon=void 0,this.trailingIcon=void 0,this.accessibleLabel=void 0,this.accessibleExpanded=void 0,this.accessiblePopup="false",this.accessibleLabelExternalDefaults=o,this.accessibleLabelExternal=b(this.accessibleLabelExternalDefaults),this.external=!1}componentWillLoad(){s(this)}connectedCallback(){d(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})}disconnectedCallback(){c(this)}handleEscape(e){if(u(e)){const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}async setFocus(e){setTimeout((()=>this.itemElement.focus(e)),200)}render(){const e=this.url?"link":"button";return t(a,{key:"6e2cee3487328e2c5f7b0c5e947a8f97c739abfe",role:"listitem"},t(this.url?"a":"button",{key:"dd06fa4821a6c3d39686c0a35bca3d3e643c7790",target:this.url?this.external?"_blank":"_self":null,ref:e=>this.itemElement=e,class:{"duet-submenu-bar-item":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.url,onKeyUp:e=>this.handleEscape(e),"aria-current":this.active?"true":"false","aria-label":this.url&&n(this)||this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,role:e,rel:this.external?"noopener":void 0},this.leadingIcon&&t("duet-icon",{key:"beedaa0abf90cebfed6a0bc49cdd0f022b97aaad",class:"leading-icon",theme:this.theme,name:this.leadingIcon,size:"auto",margin:"none",color:"currentColor"}),t("div",{key:"f740336fa798b6da2cbaaec645ae829b2587129a",class:"label"},t("span",{key:"aaf68d1e5dd57e8e2931d021ac3bec6b101b7b38",class:"label-text"},t("slot",{key:"1fcd6459e1af576b61871b9c050a31eb2a8b490d"})),(this.trailingIcon||this.external)&&t("duet-icon",{key:"c43767d76cec897ffda6a9e3718dfb0e624707dd",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":"action-arrow-down-small"===this.trailingIcon,"external-icon":!!this.external,rotate:"action-arrow-down-small"===this.trailingIcon&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.external?r.title:"",margin:"none",size:"auto",color:"currentColor"}))))}get element(){return i(this)}};m.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-item{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;height:100%;padding:12px 1.5rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-submenu-bar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar-item .label{display:flex;gap:5px;align-items:center;justify-content:center}.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:16px;height:16px}}.duet-submenu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-submenu-bar-item .external-icon{width:10px;height:10px}.duet-submenu-bar-item .trailing-icon{position:absolute;right:12px}.duet-submenu-bar-item[aria-expanded=true]{background:rgb(228, 241, 247)}.duet-submenu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-submenu-bar-item.active{color:rgb(0, 119, 179)}.duet-submenu-bar-item.active.duet-theme-turva{color:rgb(126, 2, 35)}.duet-submenu-bar-item.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-submenu-bar-item.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(126, 2, 35)}.duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(126, 2, 35)}.duet-submenu-bar-item:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-item:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}';export{m as duet_submenu_bar_item}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as e,h as t,H as i,g as a}from"./p-8abb0984.js";import{a as r}from"./p-f11208c3.js";import{D as o}from"./p-beeb12f1.js";import{i as n}from"./p-aaa7a7bd.js";import{g as s}from"./p-8c9eb171.js";import{g as d,c as m,d as c}from"./p-2437b4cb.js";import"./p-eca03d5e.js";import"./p-9c3c64b9.js";const u=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.url=void 0,this.leadingIcon=void 0,this.trailingIcon=void 0,this.accessibleLabel=void 0,this.accessibleExpanded=void 0,this.accessiblePopup="false",this.accessibleLabelExternalDefaults=o,this.accessibleLabelExternal=d(this.accessibleLabelExternalDefaults),this.external=!1}componentWillLoad(){n(this)}connectedCallback(){m(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})}disconnectedCallback(){c(this)}async setFocus(e){setTimeout((()=>this.itemElement.focus(e)),200)}render(){const e=this.url?"a":"button";return t(i,{key:"76d2f9d042bc0e53b7cc18ec3392809ec28741ec",role:"listitem"},t(e,{key:"610690beca56e7dad3a586a5e3dcfcd8371c8b97",target:this.url?this.external?"_blank":"_self":null,ref:e=>this.itemElement=e,class:{"duet-menu-bar-item":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.url,role:"a"===e?"link":"button","aria-current":this.active?"true":"false","aria-label":this.url&&s(this)||this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,rel:this.external?"noopener":void 0},this.leadingIcon&&t("duet-icon",{key:"0c6ff2c355336b6ec6047c0974ed85b608021ead",class:"leading-icon",size:"auto",name:this.leadingIcon,margin:"none",theme:this.theme,color:"currentColor"}),t("slot",{key:"0172426db559c60d93da9fcc61dc9ac9f2d84c50"}),(this.trailingIcon||this.external)&&t("duet-icon",{key:"91dff051070148a6f4f70aca4dcffe59b0f8f19f",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":"action-arrow-down-small"===this.trailingIcon,"external-icon":!!this.external,rotate:"action-arrow-down-small"===this.trailingIcon&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.external?r.title:"",margin:"none",size:"auto",color:"currentColor"})))}get element(){return a(this)}};u.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;height:100%}.duet-menu-bar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:inherit;font-weight:inherit;color:inherit;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-menu-bar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-item:focus,.duet-menu-bar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:16px;height:16px}}.duet-menu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-menu-bar-item .external-icon{width:10px;height:10px}.duet-menu-bar-item[aria-expanded=true]{color:rgb(0, 119, 179)}.duet-menu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-menu-bar-item.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-menu-bar-item.duet-theme-turva[aria-expanded=true]{color:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-item{padding:0 28px}}.duet-menu-bar-item.active{color:rgb(0, 119, 179)}.duet-menu-bar-item.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-item.active::after{z-index:auto;height:2px}}.duet-menu-bar-item.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item:hover{color:rgb(0, 119, 179)}.duet-menu-bar-item:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';export{u as duet_menu_bar_item}
4
+ import{r as e,h as t,H as i,g as a}from"./p-7a75bff7.js";import{a as r}from"./p-f11208c3.js";import{D as o}from"./p-beeb12f1.js";import{i as n}from"./p-aaa7a7bd.js";import{g as s}from"./p-f2462d98.js";import{g as m,c as d,d as u}from"./p-51b2f340.js";import"./p-ecf89776.js";import"./p-9c3c64b9.js";const c=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.url=void 0,this.leadingIcon=void 0,this.trailingIcon=void 0,this.accessibleLabel=void 0,this.accessibleExpanded=void 0,this.accessiblePopup="false",this.accessibleLabelExternalDefaults=o,this.accessibleLabelExternal=m(this.accessibleLabelExternalDefaults),this.external=!1}componentWillLoad(){n(this)}connectedCallback(){d(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})}disconnectedCallback(){u(this)}async setFocus(e){setTimeout((()=>this.itemElement.focus(e)),200)}render(){const e=this.url?"a":"button";return t(i,{key:"8346b680f96a6c7fe3fca566391be07cdeede6cb",role:"listitem"},t(e,{key:"bbd5013aeca3b13a33853b090201f3680c1b4b5c",target:this.url?this.external?"_blank":"_self":null,ref:e=>this.itemElement=e,class:{"duet-menu-bar-item":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.url,role:"a"===e?"link":"button","aria-current":this.active?"true":"false","aria-label":this.url&&s(this)||this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,rel:this.external?"noopener":void 0},this.leadingIcon&&t("duet-icon",{key:"38d682ecc0709ecfd54ecb8d3e59beee23f76b65",class:"leading-icon",size:"auto",name:this.leadingIcon,margin:"none",theme:this.theme,color:"currentColor"}),t("slot",{key:"0c6c8d102b7ef15a63b82d703f68688933791c8b"}),(this.trailingIcon||this.external)&&t("duet-icon",{key:"b5969ef13a137d3801d9f9fa1d6fd4cf4ac8a1b1",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":"action-arrow-down-small"===this.trailingIcon,"external-icon":!!this.external,rotate:"action-arrow-down-small"===this.trailingIcon&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.external?r.title:"",margin:"none",size:"auto",color:"currentColor"})))}get element(){return a(this)}};c.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-menu-bar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:inherit;font-weight:inherit;color:inherit;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-menu-bar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-item:focus,.duet-menu-bar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:16px;height:16px}}.duet-menu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-menu-bar-item .external-icon{width:10px;height:10px}.duet-menu-bar-item[aria-expanded=true]{color:rgb(0, 119, 179)}.duet-menu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-menu-bar-item.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-menu-bar-item.duet-theme-turva[aria-expanded=true]{color:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-item{padding:0 28px}}.duet-menu-bar-item.active{color:rgb(0, 119, 179)}.duet-menu-bar-item.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-item.active::after{z-index:auto;height:2px}}.duet-menu-bar-item.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item:hover{color:rgb(0, 119, 179)}.duet-menu-bar-item:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';export{c as duet_menu_bar_item}