@duetds/components 9.17.0 → 9.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (900) hide show
  1. package/hydrate/index.js +440 -182
  2. package/lib/cjs/{a11y-utils-3f03a649.js → a11y-utils-5b56e0b1.js} +1 -1
  3. package/lib/cjs/{app-globals-ec84cf84.js → app-globals-628c4829.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +6 -6
  5. package/lib/cjs/duet-alert.cjs.entry.js +11 -17
  6. package/lib/cjs/duet-badge.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-banner.cjs.entry.js +6 -6
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
  10. package/lib/cjs/duet-button_2.cjs.entry.js +7 -7
  11. package/lib/cjs/duet-callout.cjs.entry.js +4 -4
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
  13. package/lib/cjs/duet-card.cjs.entry.js +12 -10
  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.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +6 -6
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +17 -14
  19. package/lib/cjs/duet-combobox.cjs.entry.js +5 -5
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +6 -6
  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 +4 -4
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
  28. package/lib/cjs/duet-footer.cjs.entry.js +5 -5
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +4 -4
  30. package/lib/cjs/duet-header_2.cjs.entry.js +10 -9
  31. package/lib/cjs/duet-hero.cjs.entry.js +5 -5
  32. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  33. package/lib/cjs/duet-indicator.cjs.entry.js +3 -3
  34. package/lib/cjs/duet-input_2.cjs.entry.js +8 -8
  35. package/lib/cjs/duet-layout.cjs.entry.js +3 -3
  36. package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
  37. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  38. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
  39. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
  40. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
  41. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  42. package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-modal.cjs.entry.js +8 -8
  44. package/lib/cjs/duet-multiselect.cjs.entry.js +5 -5
  45. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  46. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -6
  47. package/lib/cjs/duet-number-input.cjs.entry.js +5 -5
  48. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-pagination_2.cjs.entry.js +7 -7
  51. package/lib/cjs/duet-panel.cjs.entry.js +3 -3
  52. package/lib/cjs/duet-phone-input.cjs.entry.js +5 -5
  53. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +7 -7
  54. package/lib/cjs/duet-progress.cjs.entry.js +4 -4
  55. package/lib/cjs/duet-promo-card.cjs.entry.js +7 -7
  56. package/lib/cjs/duet-radio_2.cjs.entry.js +5 -5
  57. package/lib/cjs/duet-range-slider.cjs.entry.js +4 -4
  58. package/lib/cjs/duet-scrollable_3.cjs.entry.js +14 -13
  59. package/lib/cjs/duet-section-layout.cjs.entry.js +2 -2
  60. package/lib/cjs/duet-select.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
  62. package/lib/cjs/duet-share-chart-item.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-share-chart.cjs.entry.js +7 -7
  64. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  65. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  66. package/lib/cjs/duet-slideout-link.cjs.entry.js +6 -6
  67. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +8 -6
  68. package/lib/cjs/duet-slideout-panel.cjs.entry.js +15 -13
  69. package/lib/cjs/duet-slideout.cjs.entry.js +12 -11
  70. package/lib/cjs/duet-status-icon.cjs.entry.js +2 -2
  71. package/lib/cjs/duet-step_2.cjs.entry.js +5 -5
  72. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +4 -4
  74. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
  75. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-submenu-bar.cjs.entry.js +4 -4
  77. package/lib/cjs/duet-textarea.cjs.entry.js +5 -5
  78. package/lib/cjs/duet-toggle.cjs.entry.js +3 -3
  79. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  80. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
  81. package/lib/cjs/duet-toolbar-item.cjs.entry.js +6 -6
  82. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
  83. package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
  84. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +9 -6
  85. package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
  86. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  87. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  88. package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
  89. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  90. package/lib/cjs/duet.cjs.js +2 -2
  91. package/lib/cjs/{errorcodes.utils-42b43a15.js → errorcodes.utils-d6716198.js} +1 -1
  92. package/lib/cjs/{focus-utils-c047d67f.js → focus-utils-21cb0103.js} +1 -1
  93. package/lib/cjs/{index-a23bb130.js → index-0444d660.js} +1 -1
  94. package/lib/cjs/{language-utils-ebd2e191.js → language-utils-a34e2467.js} +1 -1
  95. package/lib/cjs/loader.cjs.js +2 -2
  96. package/lib/cjs/{slot-utils-628154c1.js → slot-utils-4baa4a9d.js} +6 -1
  97. package/lib/cjs/{themeable-component-7637c899.js → themeable-component-ee2255e3.js} +1 -1
  98. package/lib/cjs/{token-utils-c73ca50c.js → token-utils-955dd258.js} +37 -37
  99. package/lib/cjs/{tokens-22702e71.js → tokens-bdaa8818.js} +144 -0
  100. package/lib/cjs/{tokens.module-a7c77c13.js → tokens.module-2358195b.js} +96 -0
  101. package/lib/collection/components/duet-action-button/duet-action-button.css +18 -20
  102. package/lib/collection/components/duet-alert/duet-alert.css +12 -23
  103. package/lib/collection/components/duet-alert/duet-alert.js +16 -16
  104. package/lib/collection/components/duet-badge/duet-badge.css +12 -12
  105. package/lib/collection/components/duet-banner/duet-banner.css +6 -28
  106. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +9 -7
  107. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +7 -7
  108. package/lib/collection/components/duet-button/duet-button.css +68 -60
  109. package/lib/collection/components/duet-callout/duet-callout.css +3 -3
  110. package/lib/collection/components/duet-caption/duet-caption.css +4 -4
  111. package/lib/collection/components/duet-card/duet-card.css +25 -18
  112. package/lib/collection/components/duet-card/duet-card.js +6 -4
  113. package/lib/collection/components/duet-checkbox/duet-checkbox.css +19 -12
  114. package/lib/collection/components/duet-chip/duet-chip.css +33 -28
  115. package/lib/collection/components/duet-choice/duet-checkmark.css +2 -2
  116. package/lib/collection/components/duet-choice/duet-choice.css +52 -53
  117. package/lib/collection/components/duet-choice-group/duet-choice-group.css +4 -4
  118. package/lib/collection/components/duet-collapsible/duet-collapsible.css +26 -14
  119. package/lib/collection/components/duet-collapsible/duet-collapsible.js +14 -10
  120. package/lib/collection/components/duet-combobox/duet-combobox.css +4 -4
  121. package/lib/collection/components/duet-contact-card/duet-contact-card.css +5 -5
  122. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +15 -15
  123. package/lib/collection/components/duet-date-picker/duet-date-picker.css +68 -51
  124. package/lib/collection/components/duet-divider/duet-divider.css +5 -5
  125. package/lib/collection/components/duet-editable-table/duet-editable-table.css +2 -2
  126. package/lib/collection/components/duet-empty-state/duet-empty-state.css +8 -8
  127. package/lib/collection/components/duet-fieldset/duet-fieldset.css +7 -7
  128. package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +2 -2
  129. package/lib/collection/components/duet-footer/duet-footer.css +33 -19
  130. package/lib/collection/components/duet-grid/duet-grid.css +2 -6
  131. package/lib/collection/components/duet-grid-item/duet-grid-item.css +3 -3
  132. package/lib/collection/components/duet-header/duet-header.css +116 -88
  133. package/lib/collection/components/duet-heading/duet-heading.css +7 -7
  134. package/lib/collection/components/duet-hero/duet-hero.css +27 -24
  135. package/lib/collection/components/duet-icon/duet-icon.css +7 -7
  136. package/lib/collection/components/duet-indicator/duet-indicator.css +4 -4
  137. package/lib/collection/components/duet-input/duet-input.css +75 -81
  138. package/lib/collection/components/duet-label/duet-label.css +5 -5
  139. package/lib/collection/components/duet-layout/duet-layout.css +4 -4
  140. package/lib/collection/components/duet-link/duet-link.css +24 -24
  141. package/lib/collection/components/duet-list/duet-list.css +4 -4
  142. package/lib/collection/components/duet-list-item/duet-list-item.css +10 -10
  143. package/lib/collection/components/duet-logo/duet-logo.css +16 -8
  144. package/lib/collection/components/duet-logo/duet-logo.js +2 -1
  145. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +13 -13
  146. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +12 -9
  147. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +19 -16
  148. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +13 -10
  149. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +17 -14
  150. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +16 -13
  151. package/lib/collection/components/duet-modal/duet-modal.css +13 -13
  152. package/lib/collection/components/duet-multiselect/duet-multiselect.css +46 -38
  153. package/lib/collection/components/duet-nav/duet-nav.css +4 -4
  154. package/lib/collection/components/duet-notification/duet-notification.css +18 -16
  155. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +30 -26
  156. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +4 -1
  157. package/lib/collection/components/duet-number-input/duet-number-input.css +20 -15
  158. package/lib/collection/components/duet-overlay/duet-overlay.css +2 -2
  159. package/lib/collection/components/duet-page-heading/duet-page-heading.css +9 -9
  160. package/lib/collection/components/duet-pagination/duet-pagination.css +5 -5
  161. package/lib/collection/components/duet-panel/duet-panel.css +8 -9
  162. package/lib/collection/components/duet-paragraph/duet-paragraph.css +9 -9
  163. package/lib/collection/components/duet-phone-input/duet-phone-input.css +5 -5
  164. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +7 -7
  165. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +23 -15
  166. package/lib/collection/components/duet-progress/duet-progress.css +14 -14
  167. package/lib/collection/components/duet-promo-card/duet-promo-card.css +15 -12
  168. package/lib/collection/components/duet-promo-card/duet-promo-card.js +1 -1
  169. package/lib/collection/components/duet-radio/duet-radio.css +22 -15
  170. package/lib/collection/components/duet-radio-group/duet-radio-group.css +4 -4
  171. package/lib/collection/components/duet-range-slider/duet-range-slider.css +33 -28
  172. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +5 -5
  173. package/lib/collection/components/duet-scrollable/duet-scrollable.css +20 -20
  174. package/lib/collection/components/duet-section-layout/duet-section-layout.css +4 -4
  175. package/lib/collection/components/duet-select/duet-select.css +36 -31
  176. package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +6 -6
  177. package/lib/collection/components/duet-share-chart/duet-share-chart.css +5 -5
  178. package/lib/collection/components/duet-show-more/duet-show-more.css +13 -10
  179. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  180. package/lib/collection/components/duet-slideout/duet-slideout.css +23 -23
  181. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -3
  182. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +5 -5
  183. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +14 -11
  184. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +34 -25
  185. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +7 -5
  186. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +20 -20
  187. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +5 -3
  188. package/lib/collection/components/duet-spacer/duet-spacer.css +2 -2
  189. package/lib/collection/components/duet-spinner/duet-spinner.css +5 -5
  190. package/lib/collection/components/duet-step/duet-step.css +17 -15
  191. package/lib/collection/components/duet-stepper/duet-stepper.css +4 -4
  192. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +23 -23
  193. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +24 -21
  194. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +16 -13
  195. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +20 -17
  196. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +19 -16
  197. package/lib/collection/components/duet-tab/duet-tab.css +15 -11
  198. package/lib/collection/components/duet-tab-group/duet-tab-group.css +33 -25
  199. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -4
  200. package/lib/collection/components/duet-table/duet-table.css +21 -18
  201. package/lib/collection/components/duet-textarea/duet-textarea.css +38 -31
  202. package/lib/collection/components/duet-toggle/duet-toggle.css +11 -9
  203. package/lib/collection/components/duet-toolbar/duet-toolbar.css +6 -6
  204. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +20 -17
  205. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +14 -11
  206. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +23 -21
  207. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +23 -15
  208. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +19 -16
  209. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +32 -25
  210. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +4 -1
  211. package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -4
  212. package/lib/collection/components/duet-tray/duet-tray.css +36 -32
  213. package/lib/collection/components/duet-upload/duet-upload.css +6 -6
  214. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.css +3 -3
  215. package/lib/collection/utils/slot-utils.js +4 -0
  216. package/lib/collection/utils/turva2-color-tokens.js +36 -36
  217. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  218. package/lib/dist-custom-elements/duet-alert.js +1 -1
  219. package/lib/dist-custom-elements/duet-badge.js +1 -1
  220. package/lib/dist-custom-elements/duet-banner.js +6 -6
  221. package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
  222. package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
  223. package/lib/dist-custom-elements/duet-button.js +1 -1
  224. package/lib/dist-custom-elements/duet-callout.js +4 -4
  225. package/lib/dist-custom-elements/duet-caption.js +1 -1
  226. package/lib/dist-custom-elements/duet-card.js +12 -10
  227. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  228. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  229. package/lib/dist-custom-elements/duet-chip.js +1 -1
  230. package/lib/dist-custom-elements/duet-choice-group.js +10 -10
  231. package/lib/dist-custom-elements/duet-choice.js +6 -6
  232. package/lib/dist-custom-elements/duet-collapsible.js +18 -15
  233. package/lib/dist-custom-elements/duet-combobox.js +17 -17
  234. package/lib/dist-custom-elements/duet-contact-card.js +9 -9
  235. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  236. package/lib/dist-custom-elements/duet-date-picker.js +15 -15
  237. package/lib/dist-custom-elements/duet-divider.js +1 -1
  238. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  239. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  240. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  241. package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
  242. package/lib/dist-custom-elements/duet-footer.js +9 -9
  243. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  244. package/lib/dist-custom-elements/duet-grid.js +1 -1
  245. package/lib/dist-custom-elements/duet-header.js +11 -11
  246. package/lib/dist-custom-elements/duet-heading.js +1 -1
  247. package/lib/dist-custom-elements/duet-hero.js +11 -11
  248. package/lib/dist-custom-elements/duet-icon.js +1 -1
  249. package/lib/dist-custom-elements/duet-indicator.js +1 -1
  250. package/lib/dist-custom-elements/duet-input.js +1 -1
  251. package/lib/dist-custom-elements/duet-label.js +1 -1
  252. package/lib/dist-custom-elements/duet-layout.js +3 -3
  253. package/lib/dist-custom-elements/duet-link.js +1 -1
  254. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  255. package/lib/dist-custom-elements/duet-list.js +1 -1
  256. package/lib/dist-custom-elements/duet-logo.js +1 -1
  257. package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
  258. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
  259. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
  260. package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
  261. package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
  262. package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
  263. package/lib/dist-custom-elements/duet-modal.js +11 -11
  264. package/lib/dist-custom-elements/duet-multiselect.js +11 -11
  265. package/lib/dist-custom-elements/duet-nav.js +2 -2
  266. package/lib/dist-custom-elements/duet-notification-drawer.js +11 -8
  267. package/lib/dist-custom-elements/duet-notification.js +4 -4
  268. package/lib/dist-custom-elements/duet-number-input.js +13 -13
  269. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  270. package/lib/dist-custom-elements/duet-page-heading.js +4 -4
  271. package/lib/dist-custom-elements/duet-pagination.js +15 -15
  272. package/lib/dist-custom-elements/duet-panel.js +2 -2
  273. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  274. package/lib/dist-custom-elements/duet-phone-input.js +18 -18
  275. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  276. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  277. package/lib/dist-custom-elements/duet-progress.js +1 -1
  278. package/lib/dist-custom-elements/duet-promo-card.js +7 -7
  279. package/lib/dist-custom-elements/duet-radio-group.js +10 -10
  280. package/lib/dist-custom-elements/duet-radio.js +2 -2
  281. package/lib/dist-custom-elements/duet-range-slider.js +4 -4
  282. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  283. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  284. package/lib/dist-custom-elements/duet-section-layout.js +2 -2
  285. package/lib/dist-custom-elements/duet-select.js +1 -1
  286. package/lib/dist-custom-elements/duet-shaped-image.js +2 -2
  287. package/lib/dist-custom-elements/duet-share-chart-item.js +1 -1
  288. package/lib/dist-custom-elements/duet-share-chart.js +5 -5
  289. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  290. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  291. package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
  292. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +8 -6
  293. package/lib/dist-custom-elements/duet-slideout-panel.js +14 -12
  294. package/lib/dist-custom-elements/duet-slideout.js +10 -9
  295. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  296. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  297. package/lib/dist-custom-elements/duet-status-icon.js +1 -1
  298. package/lib/dist-custom-elements/duet-step.js +5 -5
  299. package/lib/dist-custom-elements/duet-stepper.js +3 -3
  300. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  301. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
  302. package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
  303. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  304. package/lib/dist-custom-elements/duet-submenu-bar.js +5 -5
  305. package/lib/dist-custom-elements/duet-tab-group.js +14 -13
  306. package/lib/dist-custom-elements/duet-tab.js +3 -3
  307. package/lib/dist-custom-elements/duet-table.js +1 -1
  308. package/lib/dist-custom-elements/duet-textarea.js +12 -12
  309. package/lib/dist-custom-elements/duet-toggle.js +3 -3
  310. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
  311. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
  312. package/lib/dist-custom-elements/duet-toolbar-item.js +6 -6
  313. package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
  314. package/lib/dist-custom-elements/duet-toolbar.js +2 -2
  315. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  316. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  317. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  318. package/lib/dist-custom-elements/duet-tray.js +5 -5
  319. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  320. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  321. package/lib/dist-custom-elements/duet-upload.js +21 -21
  322. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  323. package/lib/dist-custom-elements/index.js +1 -1
  324. package/lib/dist-custom-elements/{p-b0f1b267.js → p-016c81f0.js} +2 -2
  325. package/lib/dist-custom-elements/{p-e2596bcf.js → p-08a5f7e9.js} +3 -3
  326. package/lib/dist-custom-elements/{p-7937b6b8.js → p-0e8e6adf.js} +4 -4
  327. package/lib/dist-custom-elements/{p-5e60533d.js → p-1dc37c4b.js} +2 -2
  328. package/lib/dist-custom-elements/{p-16e2a02e.js → p-1f2c89d9.js} +3 -3
  329. package/lib/dist-custom-elements/{p-9ffaf6b5.js → p-21f8ff7d.js} +10 -10
  330. package/lib/dist-custom-elements/{p-414a9cf3.js → p-30bc1a35.js} +7 -7
  331. package/lib/dist-custom-elements/{p-a0a4aa34.js → p-376095a8.js} +2 -2
  332. package/lib/dist-custom-elements/{p-e772674e.js → p-3ee131dc.js} +3 -3
  333. package/lib/dist-custom-elements/p-4343b5a1.js +318 -0
  334. package/lib/dist-custom-elements/{p-fedfd826.js → p-7645b4d2.js} +2 -2
  335. package/lib/dist-custom-elements/{p-54c30917.js → p-8035b482.js} +3 -3
  336. package/lib/dist-custom-elements/{p-f90dc0c0.js → p-80c4e77a.js} +12 -12
  337. package/lib/dist-custom-elements/{p-bf4a60a5.js → p-86c95505.js} +5 -4
  338. package/lib/dist-custom-elements/{p-3875b690.js → p-889bc211.js} +7 -7
  339. package/lib/dist-custom-elements/{p-f1ad635a.js → p-929f4a06.js} +3 -3
  340. package/lib/dist-custom-elements/{p-3fe34e20.js → p-9357efdb.js} +2 -2
  341. package/lib/dist-custom-elements/{p-ad548c39.js → p-958e3489.js} +3 -3
  342. package/lib/dist-custom-elements/{p-80451d58.js → p-a230e7ac.js} +10 -10
  343. package/lib/dist-custom-elements/{p-5fa530e0.js → p-a49f9fc6.js} +3 -3
  344. package/lib/dist-custom-elements/{p-a92010cb.js → p-a6f89351.js} +14 -14
  345. package/lib/dist-custom-elements/{p-4019d212.js → p-a70e2b0c.js} +2 -2
  346. package/lib/dist-custom-elements/{p-197ff38c.js → p-aa626f8d.js} +2 -2
  347. package/lib/dist-custom-elements/{p-a81fd33c.js → p-af586c7d.js} +3 -3
  348. package/lib/dist-custom-elements/{p-474d3bfc.js → p-b21352e2.js} +2 -2
  349. package/lib/dist-custom-elements/{p-04b7c053.js → p-b49de47a.js} +2 -2
  350. package/lib/dist-custom-elements/{p-ec992e6a.js → p-b5bb4c4e.js} +3 -3
  351. package/lib/dist-custom-elements/{p-7b1d0747.js → p-bf860820.js} +8 -5
  352. package/lib/dist-custom-elements/{p-78b6337a.js → p-c224f527.js} +37 -37
  353. package/lib/dist-custom-elements/{p-5251b6f3.js → p-c26b81c2.js} +3 -3
  354. package/lib/dist-custom-elements/{p-b678c2ea.js → p-c4345060.js} +7 -7
  355. package/lib/dist-custom-elements/{p-6f42296b.js → p-c936343b.js} +96 -0
  356. package/lib/dist-custom-elements/{p-eb60efcc.js → p-c972a96e.js} +144 -0
  357. package/lib/dist-custom-elements/{p-96c4a294.js → p-cdc57494.js} +4 -4
  358. package/lib/dist-custom-elements/{p-495059d2.js → p-d4245e15.js} +3 -3
  359. package/lib/dist-custom-elements/{p-a1ec8b34.js → p-d4904a7c.js} +1 -1
  360. package/lib/dist-custom-elements/{p-858e92f7.js → p-d6911e61.js} +3 -3
  361. package/lib/dist-custom-elements/{p-a1e9e10b.js → p-d80a01fd.js} +5 -5
  362. package/lib/dist-custom-elements/{p-314fe903.js → p-d84ceb08.js} +5 -5
  363. package/lib/dist-custom-elements/{p-6a3c8021.js → p-d8a121cc.js} +3 -3
  364. package/lib/dist-custom-elements/{p-24702026.js → p-db56d5a8.js} +2 -2
  365. package/lib/dist-custom-elements/p-dcc8afe8.js +221 -0
  366. package/lib/dist-custom-elements/{p-a6e34cfd.js → p-e48a192a.js} +3 -3
  367. package/lib/dist-custom-elements/{p-a69b6577.js → p-f33fb629.js} +2 -2
  368. package/lib/dist-custom-elements/{p-1e3171d9.js → p-f8d1e874.js} +1 -1
  369. package/lib/dist-custom-elements/{p-f21662ea.js → p-fe478fac.js} +5 -1
  370. package/lib/duet/duet.esm.js +1 -1
  371. package/lib/duet/duet.js +1 -1
  372. package/lib/duet/p-00fcf2fb.system.entry.js +4 -0
  373. package/lib/duet/p-033bb755.system.entry.js +4 -0
  374. package/lib/duet/p-04658922.entry.js +4 -0
  375. package/lib/duet/p-04c70e04.system.entry.js +4 -0
  376. package/lib/duet/{p-bf2ef446.system.entry.js → p-065bebcf.system.entry.js} +1 -1
  377. package/lib/duet/p-06a2c00d.entry.js +4 -0
  378. package/lib/duet/{p-496f50a3.entry.js → p-07cfc2f5.entry.js} +1 -1
  379. package/lib/duet/{p-05cdcf47.system.entry.js → p-082e654d.system.entry.js} +1 -1
  380. package/lib/duet/{p-b62b157d.entry.js → p-09497e9e.entry.js} +1 -1
  381. package/lib/duet/{p-c2a4fdd4.entry.js → p-0a280ddc.entry.js} +1 -1
  382. package/lib/duet/{p-a2b06e6c.system.entry.js → p-0c1a086f.system.entry.js} +1 -1
  383. package/lib/duet/p-0cf7d917.entry.js +4 -0
  384. package/lib/duet/{p-23e07f62.entry.js → p-0e04330c.entry.js} +1 -1
  385. package/lib/duet/{p-9b4645ac.system.entry.js → p-0e3375dd.system.entry.js} +1 -1
  386. package/lib/duet/p-0e9de590.entry.js +4 -0
  387. package/lib/duet/p-1060eeeb.system.entry.js +4 -0
  388. package/lib/duet/p-1198fd12.system.entry.js +4 -0
  389. package/lib/duet/p-11f86bdc.system.entry.js +4 -0
  390. package/lib/duet/p-1285b423.system.entry.js +4 -0
  391. package/lib/duet/{p-53e6e1da.js → p-12f16785.js} +1 -1
  392. package/lib/duet/p-1338bc5c.entry.js +4 -0
  393. package/lib/duet/{p-ca32f459.js → p-135e72bf.js} +1 -1
  394. package/lib/duet/p-13a834ce.system.entry.js +4 -0
  395. package/lib/duet/{p-e5f8e365.system.entry.js → p-158e2598.system.entry.js} +1 -1
  396. package/lib/duet/p-16a30d86.system.entry.js +4 -0
  397. package/lib/duet/p-17755657.system.entry.js +4 -0
  398. package/lib/duet/p-17ee74b1.system.entry.js +4 -0
  399. package/lib/duet/p-18a0cbe5.system.entry.js +4 -0
  400. package/lib/duet/{p-ae898815.entry.js → p-1d9091b2.entry.js} +1 -1
  401. package/lib/duet/p-1dcd8cb6.system.entry.js +4 -0
  402. package/lib/duet/p-1f4af013.entry.js +4 -0
  403. package/lib/duet/p-21cfc7c9.system.entry.js +4 -0
  404. package/lib/duet/p-2b4a068b.system.entry.js +4 -0
  405. package/lib/duet/{p-3a36c86a.entry.js → p-2daf9e75.entry.js} +1 -1
  406. package/lib/duet/p-2e136720.entry.js +4 -0
  407. package/lib/duet/p-2e64593c.system.entry.js +4 -0
  408. package/lib/duet/p-2e69eb33.entry.js +4 -0
  409. package/lib/duet/p-2fce48bf.entry.js +4 -0
  410. package/lib/duet/{p-1f4fc545.system.js → p-30af84d3.system.js} +1 -1
  411. package/lib/duet/{p-39754220.entry.js → p-311a334f.entry.js} +1 -1
  412. package/lib/duet/{p-d5ddd427.system.entry.js → p-31463f0b.system.entry.js} +1 -1
  413. package/lib/duet/{p-68fea15e.js → p-33c69e1b.js} +1 -1
  414. package/lib/duet/p-33f60648.entry.js +4 -0
  415. package/lib/duet/{p-9d8190ef.entry.js → p-34cdefd2.entry.js} +1 -1
  416. package/lib/duet/{p-6a768ba8.system.entry.js → p-357fba6d.system.entry.js} +1 -1
  417. package/lib/duet/{p-f183abd6.system.js → p-385da7a9.system.js} +1 -1
  418. package/lib/duet/{p-dbb01db7.entry.js → p-3aa5dbed.entry.js} +1 -1
  419. package/lib/duet/p-3c69cc2a.system.entry.js +4 -0
  420. package/lib/duet/p-3e52c8ff.system.entry.js +4 -0
  421. package/lib/duet/p-4030ca2a.system.entry.js +4 -0
  422. package/lib/duet/{p-c6b55245.entry.js → p-439c21e7.entry.js} +1 -1
  423. package/lib/duet/p-43bbba35.system.js +4 -0
  424. package/lib/duet/p-4453a6c6.system.entry.js +4 -0
  425. package/lib/duet/{p-bd89ee4c.system.entry.js → p-47d32341.system.entry.js} +1 -1
  426. package/lib/duet/{p-7c11a214.system.entry.js → p-48bd44c3.system.entry.js} +1 -1
  427. package/lib/duet/p-497bdd59.entry.js +4 -0
  428. package/lib/duet/{p-c6d073be.js → p-4ad740e2.js} +1 -1
  429. package/lib/duet/p-4b6e53bd.entry.js +4 -0
  430. package/lib/duet/{p-87097e7a.system.entry.js → p-4be139d3.system.entry.js} +1 -1
  431. package/lib/duet/{p-cbf98d67.entry.js → p-4cd75d1b.entry.js} +1 -1
  432. package/lib/duet/p-4cfd6aa0.system.entry.js +4 -0
  433. package/lib/duet/p-4d91e61a.system.entry.js +4 -0
  434. package/lib/duet/p-50bb0bef.system.entry.js +4 -0
  435. package/lib/duet/p-52e13815.entry.js +4 -0
  436. package/lib/duet/p-541a4093.system.entry.js +4 -0
  437. package/lib/duet/p-59d65494.entry.js +4 -0
  438. package/lib/duet/{p-1adddd5f.entry.js → p-5b88277b.entry.js} +1 -1
  439. package/lib/duet/{p-1070bd45.entry.js → p-5bb5a55a.entry.js} +1 -1
  440. package/lib/duet/p-5c374688.system.entry.js +4 -0
  441. package/lib/duet/{p-8ab69ada.entry.js → p-5cd1152a.entry.js} +1 -1
  442. package/lib/duet/p-5e33ada9.system.entry.js +4 -0
  443. package/lib/duet/p-60cfe03f.entry.js +4 -0
  444. package/lib/duet/{p-3294a767.entry.js → p-618dcd6b.entry.js} +1 -1
  445. package/lib/duet/p-61efcecb.entry.js +4 -0
  446. package/lib/duet/{p-dfe1b2d2.entry.js → p-638ab80b.entry.js} +1 -1
  447. package/lib/duet/p-66386c5e.entry.js +4 -0
  448. package/lib/duet/p-6751d70f.entry.js +4 -0
  449. package/lib/duet/p-6829be6c.system.entry.js +4 -0
  450. package/lib/duet/p-68fdf1da.system.entry.js +4 -0
  451. package/lib/duet/p-6d7d56e8.entry.js +4 -0
  452. package/lib/duet/p-70d7644c.system.entry.js +4 -0
  453. package/lib/duet/p-7266991d.entry.js +4 -0
  454. package/lib/duet/p-72efa27a.system.entry.js +4 -0
  455. package/lib/duet/{p-33700431.system.entry.js → p-758eb019.system.entry.js} +1 -1
  456. package/lib/duet/p-75c6a8ee.system.entry.js +4 -0
  457. package/lib/duet/p-76e57b3a.system.entry.js +4 -0
  458. package/lib/duet/{p-2436f107.system.js → p-77516717.system.js} +1 -1
  459. package/lib/duet/p-783316e7.system.entry.js +4 -0
  460. package/lib/duet/p-79628294.entry.js +4 -0
  461. package/lib/duet/p-7ae39a1c.entry.js +4 -0
  462. package/lib/duet/p-7c6b903a.entry.js +4 -0
  463. package/lib/duet/p-7ca8790f.system.entry.js +4 -0
  464. package/lib/duet/p-7f2ae5ad.entry.js +4 -0
  465. package/lib/duet/p-7f6f7008.system.entry.js +4 -0
  466. package/lib/duet/{p-76503ac9.system.js → p-80993983.system.js} +1 -1
  467. package/lib/duet/{p-823df6f8.entry.js → p-81677e17.entry.js} +1 -1
  468. package/lib/duet/p-81f0ab52.entry.js +4 -0
  469. package/lib/duet/p-824f8fec.entry.js +4 -0
  470. package/lib/duet/{p-581391e8.entry.js → p-8316c5a6.entry.js} +1 -1
  471. package/lib/duet/{p-e58784e3.entry.js → p-8417d209.entry.js} +1 -1
  472. package/lib/duet/p-855bf182.entry.js +4 -0
  473. package/lib/duet/p-884ee3c8.entry.js +4 -0
  474. package/lib/duet/{p-049c988c.entry.js → p-88880de6.entry.js} +1 -1
  475. package/lib/duet/p-8901b848.system.entry.js +4 -0
  476. package/lib/duet/{p-da1d7e82.entry.js → p-89e30005.entry.js} +1 -1
  477. package/lib/duet/p-8bbea850.system.entry.js +4 -0
  478. package/lib/duet/{p-4d453e20.entry.js → p-8d900bdc.entry.js} +1 -1
  479. package/lib/duet/p-8e21c393.entry.js +4 -0
  480. package/lib/duet/{p-c97abf64.entry.js → p-8f1696fc.entry.js} +1 -1
  481. package/lib/duet/{p-a270142b.system.entry.js → p-904d0415.system.entry.js} +1 -1
  482. package/lib/duet/p-916f4438.entry.js +4 -0
  483. package/lib/duet/p-91a5f0c8.entry.js +4 -0
  484. package/lib/duet/{p-b348dd23.entry.js → p-929579ed.entry.js} +1 -1
  485. package/lib/duet/{p-e177046c.system.entry.js → p-92b098f9.system.entry.js} +1 -1
  486. package/lib/duet/{p-29076935.system.entry.js → p-949a5c17.system.entry.js} +1 -1
  487. package/lib/duet/p-95cd3623.entry.js +4 -0
  488. package/lib/duet/{p-ceb58878.entry.js → p-95d2b637.entry.js} +1 -1
  489. package/lib/duet/p-9718c106.js +4 -0
  490. package/lib/duet/p-9a7b5888.system.entry.js +4 -0
  491. package/lib/duet/p-9d9457bf.js +4 -0
  492. package/lib/duet/p-9df05d74.entry.js +4 -0
  493. package/lib/duet/p-9df8182c.system.entry.js +4 -0
  494. package/lib/duet/p-a0e599fa.system.entry.js +4 -0
  495. package/lib/duet/p-a0f78e44.entry.js +4 -0
  496. package/lib/duet/p-a27a9c69.js +4 -0
  497. package/lib/duet/p-a395c023.entry.js +4 -0
  498. package/lib/duet/p-a48d38dd.entry.js +4 -0
  499. package/lib/duet/{p-1f9e01ca.entry.js → p-aa781739.entry.js} +1 -1
  500. package/lib/duet/p-ac388eb7.entry.js +4 -0
  501. package/lib/duet/p-b07f9abb.system.entry.js +4 -0
  502. package/lib/duet/p-b355076f.entry.js +4 -0
  503. package/lib/duet/p-b3c4e717.system.entry.js +4 -0
  504. package/lib/duet/p-b7691d79.system.entry.js +4 -0
  505. package/lib/duet/{p-293e9e27.system.entry.js → p-b7ce18dd.system.entry.js} +1 -1
  506. package/lib/duet/p-b81ac5ae.system.js +4 -0
  507. package/lib/duet/p-b91fd1ce.system.entry.js +4 -0
  508. package/lib/duet/p-b9f9f07f.entry.js +4 -0
  509. package/lib/duet/p-bd0ab8c6.system.entry.js +4 -0
  510. package/lib/duet/p-bd3c1bb9.entry.js +4 -0
  511. package/lib/duet/{p-8ab631e7.entry.js → p-bf87b23f.entry.js} +1 -1
  512. package/lib/duet/{p-4bb73342.entry.js → p-c03cf41b.entry.js} +1 -1
  513. package/lib/duet/{p-b4bdd169.entry.js → p-c370b95d.entry.js} +1 -1
  514. package/lib/duet/p-c5219057.system.entry.js +4 -0
  515. package/lib/duet/{p-a6944360.system.entry.js → p-c7b24194.system.entry.js} +1 -1
  516. package/lib/duet/{p-7ae725cf.system.js → p-c80618b4.system.js} +1 -1
  517. package/lib/duet/p-c972a96e.js +4 -0
  518. package/lib/duet/p-c976593b.entry.js +4 -0
  519. package/lib/duet/p-c97dbc9b.js +4 -0
  520. package/lib/duet/{p-537a1070.entry.js → p-c9971904.entry.js} +1 -1
  521. package/lib/duet/p-cab933ea.system.entry.js +4 -0
  522. package/lib/duet/p-caf1ece1.system.entry.js +4 -0
  523. package/lib/duet/p-cb37d121.entry.js +4 -0
  524. package/lib/duet/p-cbb72b0c.system.entry.js +4 -0
  525. package/lib/duet/p-cbf13746.entry.js +4 -0
  526. package/lib/duet/p-cc9ee2cb.system.entry.js +4 -0
  527. package/lib/duet/p-ccb84e6a.system.entry.js +4 -0
  528. package/lib/duet/{p-663ffd9a.system.entry.js → p-ce677952.system.entry.js} +1 -1
  529. package/lib/duet/{p-ed759aeb.system.entry.js → p-d10856d3.system.entry.js} +1 -1
  530. package/lib/duet/{p-a9c973e2.entry.js → p-d3602171.entry.js} +1 -1
  531. package/lib/duet/p-d44312ba.system.js +4 -0
  532. package/lib/duet/{p-d384c9b0.entry.js → p-d4a9606f.entry.js} +1 -1
  533. package/lib/duet/p-d4ecb287.js +4 -0
  534. package/lib/duet/{p-ddf20691.system.js → p-d4f972c3.system.js} +1 -1
  535. package/lib/duet/p-d6b96130.system.entry.js +4 -0
  536. package/lib/duet/p-d79d46f4.system.entry.js +4 -0
  537. package/lib/duet/p-d807313e.system.entry.js +4 -0
  538. package/lib/duet/p-d84ab69c.system.entry.js +4 -0
  539. package/lib/duet/p-da33830e.system.entry.js +4 -0
  540. package/lib/duet/p-db0ba7b6.system.js +4 -0
  541. package/lib/duet/{p-e14eece2.entry.js → p-dba326f3.entry.js} +1 -1
  542. package/lib/duet/{p-2fa5de89.entry.js → p-dca26ec6.entry.js} +1 -1
  543. package/lib/duet/{p-b28604f2.entry.js → p-df9388c0.entry.js} +1 -1
  544. package/lib/duet/p-e1c99881.system.entry.js +4 -0
  545. package/lib/duet/{p-94b4498f.system.entry.js → p-e26e10f1.system.entry.js} +1 -1
  546. package/lib/duet/p-e433ff50.system.entry.js +4 -0
  547. package/lib/duet/p-e5a7f0a5.system.entry.js +4 -0
  548. package/lib/duet/{p-fa24fae9.system.entry.js → p-e663f11f.system.entry.js} +1 -1
  549. package/lib/duet/p-e7dc7c7c.entry.js +4 -0
  550. package/lib/duet/{p-cfa5ca24.entry.js → p-e9dee331.entry.js} +1 -1
  551. package/lib/duet/p-ea60fb06.entry.js +4 -0
  552. package/lib/duet/p-ea986606.entry.js +4 -0
  553. package/lib/duet/{p-56774ba4.system.js → p-ec4bb6c3.system.js} +1 -1
  554. package/lib/duet/p-ef35ead4.entry.js +4 -0
  555. package/lib/duet/p-ef4f91d2.system.entry.js +4 -0
  556. package/lib/duet/p-ef97420d.system.entry.js +4 -0
  557. package/lib/duet/p-f0e3d159.js +4 -0
  558. package/lib/duet/p-f103010d.entry.js +4 -0
  559. package/lib/duet/p-f59845f1.entry.js +4 -0
  560. package/lib/duet/p-f5c47365.system.entry.js +4 -0
  561. package/lib/duet/{p-f6f1463b.entry.js → p-f5f409e3.entry.js} +1 -1
  562. package/lib/duet/{p-3f42d7b1.system.js → p-f6486434.system.js} +1 -1
  563. package/lib/duet/p-f81da033.system.entry.js +4 -0
  564. package/lib/duet/p-fa184877.system.entry.js +4 -0
  565. package/lib/duet/p-ff27191d.system.entry.js +4 -0
  566. package/lib/duet/{p-badd028d.system.entry.js → p-ff3fa3b2.system.entry.js} +1 -1
  567. package/lib/esm/{a11y-utils-477acfdc.js → a11y-utils-696f7b73.js} +1 -1
  568. package/lib/esm/{app-globals-fbabb161.js → app-globals-245f0f6e.js} +1 -1
  569. package/lib/esm/duet-action-button.entry.js +6 -6
  570. package/lib/esm/duet-alert.entry.js +11 -17
  571. package/lib/esm/duet-badge.entry.js +4 -4
  572. package/lib/esm/duet-banner.entry.js +6 -6
  573. package/lib/esm/duet-breadcrumb.entry.js +3 -3
  574. package/lib/esm/duet-breadcrumbs.entry.js +6 -6
  575. package/lib/esm/duet-button_2.entry.js +7 -7
  576. package/lib/esm/duet-callout.entry.js +4 -4
  577. package/lib/esm/duet-caption_4.entry.js +11 -11
  578. package/lib/esm/duet-card.entry.js +12 -10
  579. package/lib/esm/duet-checkbox.entry.js +3 -3
  580. package/lib/esm/duet-checkmark.entry.js +3 -3
  581. package/lib/esm/duet-chip.entry.js +4 -4
  582. package/lib/esm/duet-choice_2.entry.js +6 -6
  583. package/lib/esm/duet-collapsible.entry.js +17 -14
  584. package/lib/esm/duet-combobox.entry.js +5 -5
  585. package/lib/esm/duet-contact-card.entry.js +4 -4
  586. package/lib/esm/duet-cookie-consent.entry.js +3 -3
  587. package/lib/esm/duet-date-picker.entry.js +6 -6
  588. package/lib/esm/duet-divider_2.entry.js +6 -6
  589. package/lib/esm/duet-editable-table_3.entry.js +9 -9
  590. package/lib/esm/duet-empty-state.entry.js +3 -3
  591. package/lib/esm/duet-fieldset.entry.js +4 -4
  592. package/lib/esm/duet-file-chooser.entry.js +3 -3
  593. package/lib/esm/duet-footer.entry.js +5 -5
  594. package/lib/esm/duet-grid_2.entry.js +4 -4
  595. package/lib/esm/duet-header_2.entry.js +10 -9
  596. package/lib/esm/duet-hero.entry.js +5 -5
  597. package/lib/esm/duet-icon.entry.js +5 -5
  598. package/lib/esm/duet-indicator.entry.js +3 -3
  599. package/lib/esm/duet-input_2.entry.js +8 -8
  600. package/lib/esm/duet-layout.entry.js +3 -3
  601. package/lib/esm/duet-list_2.entry.js +4 -4
  602. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  603. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
  604. package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
  605. package/lib/esm/duet-menu-bar-item.entry.js +6 -6
  606. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  607. package/lib/esm/duet-menu-bar.entry.js +4 -4
  608. package/lib/esm/duet-modal.entry.js +8 -8
  609. package/lib/esm/duet-multiselect.entry.js +5 -5
  610. package/lib/esm/duet-nav.entry.js +3 -3
  611. package/lib/esm/duet-notification_2.entry.js +9 -6
  612. package/lib/esm/duet-number-input.entry.js +5 -5
  613. package/lib/esm/duet-overlay.entry.js +3 -3
  614. package/lib/esm/duet-page-heading.entry.js +3 -3
  615. package/lib/esm/duet-pagination_2.entry.js +7 -7
  616. package/lib/esm/duet-panel.entry.js +3 -3
  617. package/lib/esm/duet-phone-input.entry.js +5 -5
  618. package/lib/esm/duet-popup-menu_2.entry.js +7 -7
  619. package/lib/esm/duet-progress.entry.js +4 -4
  620. package/lib/esm/duet-promo-card.entry.js +7 -7
  621. package/lib/esm/duet-radio_2.entry.js +5 -5
  622. package/lib/esm/duet-range-slider.entry.js +4 -4
  623. package/lib/esm/duet-scrollable_3.entry.js +14 -13
  624. package/lib/esm/duet-section-layout.entry.js +2 -2
  625. package/lib/esm/duet-select.entry.js +4 -4
  626. package/lib/esm/duet-shaped-image.entry.js +3 -3
  627. package/lib/esm/duet-share-chart-item.entry.js +1 -1
  628. package/lib/esm/duet-share-chart.entry.js +7 -7
  629. package/lib/esm/duet-show-more.entry.js +5 -5
  630. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  631. package/lib/esm/duet-slideout-link.entry.js +6 -6
  632. package/lib/esm/duet-slideout-panel-dropdown.entry.js +8 -6
  633. package/lib/esm/duet-slideout-panel.entry.js +15 -13
  634. package/lib/esm/duet-slideout.entry.js +12 -11
  635. package/lib/esm/duet-status-icon.entry.js +2 -2
  636. package/lib/esm/duet-step_2.entry.js +5 -5
  637. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  638. package/lib/esm/duet-submenu-bar-dropdown.entry.js +4 -4
  639. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  640. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  641. package/lib/esm/duet-submenu-bar.entry.js +4 -4
  642. package/lib/esm/duet-textarea.entry.js +5 -5
  643. package/lib/esm/duet-toggle.entry.js +3 -3
  644. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  645. package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
  646. package/lib/esm/duet-toolbar-item.entry.js +6 -6
  647. package/lib/esm/duet-toolbar-link.entry.js +3 -3
  648. package/lib/esm/duet-toolbar.entry.js +3 -3
  649. package/lib/esm/duet-tooltip-button_2.entry.js +9 -6
  650. package/lib/esm/duet-tooltip.entry.js +5 -5
  651. package/lib/esm/duet-tray.entry.js +5 -5
  652. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  653. package/lib/esm/duet-upload-item.entry.js +4 -4
  654. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  655. package/lib/esm/duet.js +3 -3
  656. package/lib/esm/{errorcodes.utils-3b160dbb.js → errorcodes.utils-160ddc21.js} +1 -1
  657. package/lib/esm/{focus-utils-1bece0cd.js → focus-utils-d6e4011c.js} +1 -1
  658. package/lib/esm/{index-79fc1b32.js → index-22246570.js} +1 -1
  659. package/lib/esm/{language-utils-a17dc5f3.js → language-utils-09809102.js} +1 -1
  660. package/lib/esm/loader.js +3 -3
  661. package/lib/esm/{slot-utils-b099bb75.js → slot-utils-eb668280.js} +6 -2
  662. package/lib/esm/{themeable-component-356b273d.js → themeable-component-f4a04f2f.js} +1 -1
  663. package/lib/esm/{token-utils-cf052bc0.js → token-utils-d02c20ff.js} +37 -37
  664. package/lib/esm/{tokens-57aa1508.js → tokens-1fd83076.js} +144 -0
  665. package/lib/esm/{tokens.module-821694bb.js → tokens.module-7b07911f.js} +96 -0
  666. package/lib/esm-es5/{a11y-utils-477acfdc.js → a11y-utils-696f7b73.js} +1 -1
  667. package/lib/esm-es5/{app-globals-fbabb161.js → app-globals-245f0f6e.js} +1 -1
  668. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  669. package/lib/esm-es5/duet-alert.entry.js +2 -2
  670. package/lib/esm-es5/duet-badge.entry.js +1 -1
  671. package/lib/esm-es5/duet-banner.entry.js +1 -1
  672. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  673. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  674. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  675. package/lib/esm-es5/duet-callout.entry.js +1 -1
  676. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  677. package/lib/esm-es5/duet-card.entry.js +2 -2
  678. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  679. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  680. package/lib/esm-es5/duet-chip.entry.js +2 -2
  681. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  682. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  683. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  684. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  685. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  686. package/lib/esm-es5/duet-date-picker.entry.js +2 -2
  687. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  688. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  689. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  690. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  691. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  692. package/lib/esm-es5/duet-footer.entry.js +1 -1
  693. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  694. package/lib/esm-es5/duet-header_2.entry.js +2 -2
  695. package/lib/esm-es5/duet-hero.entry.js +1 -1
  696. package/lib/esm-es5/duet-icon.entry.js +1 -1
  697. package/lib/esm-es5/duet-indicator.entry.js +1 -1
  698. package/lib/esm-es5/duet-input_2.entry.js +2 -2
  699. package/lib/esm-es5/duet-layout.entry.js +1 -1
  700. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  701. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  702. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  703. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  704. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  705. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  706. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  707. package/lib/esm-es5/duet-modal.entry.js +1 -1
  708. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  709. package/lib/esm-es5/duet-nav.entry.js +1 -1
  710. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  711. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  712. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  713. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  714. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  715. package/lib/esm-es5/duet-panel.entry.js +1 -1
  716. package/lib/esm-es5/duet-phone-input.entry.js +2 -2
  717. package/lib/esm-es5/duet-popup-menu_2.entry.js +2 -2
  718. package/lib/esm-es5/duet-progress.entry.js +1 -1
  719. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  720. package/lib/esm-es5/duet-radio_2.entry.js +2 -2
  721. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  722. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  723. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  724. package/lib/esm-es5/duet-select.entry.js +2 -2
  725. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  726. package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
  727. package/lib/esm-es5/duet-share-chart.entry.js +1 -1
  728. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  729. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  730. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  731. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  732. package/lib/esm-es5/duet-slideout-panel.entry.js +2 -2
  733. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  734. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  735. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  736. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  737. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +2 -2
  738. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  739. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  740. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  741. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  742. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  743. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  744. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  745. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  746. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  747. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  748. package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
  749. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  750. package/lib/esm-es5/duet-tray.entry.js +1 -1
  751. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  752. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  753. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  754. package/lib/esm-es5/duet.js +1 -1
  755. package/lib/esm-es5/{errorcodes.utils-3b160dbb.js → errorcodes.utils-160ddc21.js} +1 -1
  756. package/lib/esm-es5/{focus-utils-1bece0cd.js → focus-utils-d6e4011c.js} +1 -1
  757. package/lib/esm-es5/{index-79fc1b32.js → index-22246570.js} +1 -1
  758. package/lib/esm-es5/{language-utils-a17dc5f3.js → language-utils-09809102.js} +1 -1
  759. package/lib/esm-es5/loader.js +1 -1
  760. package/lib/esm-es5/slot-utils-eb668280.js +4 -0
  761. package/lib/esm-es5/{themeable-component-356b273d.js → themeable-component-f4a04f2f.js} +1 -1
  762. package/lib/esm-es5/token-utils-d02c20ff.js +4 -0
  763. package/lib/esm-es5/tokens-1fd83076.js +4 -0
  764. package/lib/esm-es5/tokens.module-7b07911f.js +4 -0
  765. package/lib/types/components/duet-alert/duet-alert.d.ts +2 -4
  766. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +3 -1
  767. package/lib/types/components.d.ts +3 -3
  768. package/lib/types/utils/slot-utils.d.ts +1 -0
  769. package/package.json +9 -9
  770. package/lib/dist-custom-elements/p-7500a672.js +0 -318
  771. package/lib/dist-custom-elements/p-b2b8bd32.js +0 -227
  772. package/lib/duet/p-008bb91e.system.entry.js +0 -4
  773. package/lib/duet/p-0438375f.entry.js +0 -4
  774. package/lib/duet/p-04d95150.entry.js +0 -4
  775. package/lib/duet/p-05ca0ad3.system.entry.js +0 -4
  776. package/lib/duet/p-061ef483.entry.js +0 -4
  777. package/lib/duet/p-06359695.system.entry.js +0 -4
  778. package/lib/duet/p-0b80b34f.system.entry.js +0 -4
  779. package/lib/duet/p-0fa600fe.system.entry.js +0 -4
  780. package/lib/duet/p-0ff69fd9.system.entry.js +0 -4
  781. package/lib/duet/p-13eec75c.system.js +0 -4
  782. package/lib/duet/p-17efced0.js +0 -4
  783. package/lib/duet/p-19b6319d.entry.js +0 -4
  784. package/lib/duet/p-1c37974e.entry.js +0 -4
  785. package/lib/duet/p-1cd1ae13.system.entry.js +0 -4
  786. package/lib/duet/p-1d003050.system.entry.js +0 -4
  787. package/lib/duet/p-212cdff6.system.entry.js +0 -4
  788. package/lib/duet/p-2437fb8b.entry.js +0 -4
  789. package/lib/duet/p-273b65d0.entry.js +0 -4
  790. package/lib/duet/p-29d51b92.system.entry.js +0 -4
  791. package/lib/duet/p-2d1690fa.system.entry.js +0 -4
  792. package/lib/duet/p-2e8124ec.entry.js +0 -4
  793. package/lib/duet/p-3476ee3c.entry.js +0 -4
  794. package/lib/duet/p-3cff3d41.entry.js +0 -4
  795. package/lib/duet/p-3dc9bee2.entry.js +0 -4
  796. package/lib/duet/p-410c86aa.system.entry.js +0 -4
  797. package/lib/duet/p-42d40a3c.entry.js +0 -4
  798. package/lib/duet/p-443ac457.system.entry.js +0 -4
  799. package/lib/duet/p-46183ffe.system.entry.js +0 -4
  800. package/lib/duet/p-47d5e1ce.system.entry.js +0 -4
  801. package/lib/duet/p-493aa637.entry.js +0 -4
  802. package/lib/duet/p-4b6044f0.system.entry.js +0 -4
  803. package/lib/duet/p-4da157c6.entry.js +0 -4
  804. package/lib/duet/p-52284920.system.entry.js +0 -4
  805. package/lib/duet/p-55666326.system.entry.js +0 -4
  806. package/lib/duet/p-56c98bbe.system.entry.js +0 -4
  807. package/lib/duet/p-57184a72.system.entry.js +0 -4
  808. package/lib/duet/p-577ef99d.system.entry.js +0 -4
  809. package/lib/duet/p-57e79e5a.entry.js +0 -4
  810. package/lib/duet/p-58deab8e.system.entry.js +0 -4
  811. package/lib/duet/p-5b1d7d11.system.entry.js +0 -4
  812. package/lib/duet/p-5bbfd1f3.entry.js +0 -4
  813. package/lib/duet/p-5f76cca6.system.entry.js +0 -4
  814. package/lib/duet/p-60e0b1b3.entry.js +0 -4
  815. package/lib/duet/p-62f62a4e.system.entry.js +0 -4
  816. package/lib/duet/p-64959c1d.system.js +0 -4
  817. package/lib/duet/p-64fff9d4.entry.js +0 -4
  818. package/lib/duet/p-65282a91.entry.js +0 -4
  819. package/lib/duet/p-65b5d699.entry.js +0 -4
  820. package/lib/duet/p-67c1b790.entry.js +0 -4
  821. package/lib/duet/p-67c57029.entry.js +0 -4
  822. package/lib/duet/p-68b8d3a7.entry.js +0 -4
  823. package/lib/duet/p-68ec675c.system.entry.js +0 -4
  824. package/lib/duet/p-6af320c5.system.entry.js +0 -4
  825. package/lib/duet/p-6e179c6b.system.entry.js +0 -4
  826. package/lib/duet/p-700d90be.system.entry.js +0 -4
  827. package/lib/duet/p-718db92a.entry.js +0 -4
  828. package/lib/duet/p-74a09baf.system.entry.js +0 -4
  829. package/lib/duet/p-75fdf144.system.js +0 -4
  830. package/lib/duet/p-76fa145c.entry.js +0 -4
  831. package/lib/duet/p-79f4d63d.entry.js +0 -4
  832. package/lib/duet/p-7a4605fd.system.entry.js +0 -4
  833. package/lib/duet/p-7a9e70bd.entry.js +0 -4
  834. package/lib/duet/p-7ea0d841.js +0 -4
  835. package/lib/duet/p-7fb3b41a.entry.js +0 -4
  836. package/lib/duet/p-80bf7a6d.js +0 -4
  837. package/lib/duet/p-847984b4.system.entry.js +0 -4
  838. package/lib/duet/p-8480c4ef.entry.js +0 -4
  839. package/lib/duet/p-85e2b80d.system.entry.js +0 -4
  840. package/lib/duet/p-8642fde1.js +0 -4
  841. package/lib/duet/p-86482d30.system.entry.js +0 -4
  842. package/lib/duet/p-8668b568.entry.js +0 -4
  843. package/lib/duet/p-876e3c63.entry.js +0 -4
  844. package/lib/duet/p-88cf5661.entry.js +0 -4
  845. package/lib/duet/p-899d6d41.entry.js +0 -4
  846. package/lib/duet/p-8e2ffeb6.system.entry.js +0 -4
  847. package/lib/duet/p-9117cb65.system.entry.js +0 -4
  848. package/lib/duet/p-9468eb9d.entry.js +0 -4
  849. package/lib/duet/p-95193904.entry.js +0 -4
  850. package/lib/duet/p-97374309.system.entry.js +0 -4
  851. package/lib/duet/p-a0b4a7c0.system.entry.js +0 -4
  852. package/lib/duet/p-a3e95ce2.system.entry.js +0 -4
  853. package/lib/duet/p-a40be7c9.system.entry.js +0 -4
  854. package/lib/duet/p-a5997dea.entry.js +0 -4
  855. package/lib/duet/p-a5ddcabc.system.js +0 -4
  856. package/lib/duet/p-a65df70c.entry.js +0 -4
  857. package/lib/duet/p-ad04b6d1.system.entry.js +0 -4
  858. package/lib/duet/p-ae7b2ff0.entry.js +0 -4
  859. package/lib/duet/p-b0d6f6da.entry.js +0 -4
  860. package/lib/duet/p-b4ffb80d.js +0 -4
  861. package/lib/duet/p-b81c80d4.js +0 -4
  862. package/lib/duet/p-bb69d7c1.entry.js +0 -4
  863. package/lib/duet/p-c01ab555.system.entry.js +0 -4
  864. package/lib/duet/p-c185128e.system.entry.js +0 -4
  865. package/lib/duet/p-c1b0c2d9.system.entry.js +0 -4
  866. package/lib/duet/p-c34f89af.system.entry.js +0 -4
  867. package/lib/duet/p-c843e862.system.entry.js +0 -4
  868. package/lib/duet/p-caa37dc7.system.entry.js +0 -4
  869. package/lib/duet/p-cd1744f2.system.entry.js +0 -4
  870. package/lib/duet/p-d191efda.system.entry.js +0 -4
  871. package/lib/duet/p-d2e4bd07.system.entry.js +0 -4
  872. package/lib/duet/p-dc330b8c.system.entry.js +0 -4
  873. package/lib/duet/p-dcd63244.entry.js +0 -4
  874. package/lib/duet/p-ddf7a3ca.system.entry.js +0 -4
  875. package/lib/duet/p-e080806b.system.entry.js +0 -4
  876. package/lib/duet/p-e1d27084.system.entry.js +0 -4
  877. package/lib/duet/p-e3656611.system.entry.js +0 -4
  878. package/lib/duet/p-e3752ac5.entry.js +0 -4
  879. package/lib/duet/p-e3c246cb.entry.js +0 -4
  880. package/lib/duet/p-e94c7242.entry.js +0 -4
  881. package/lib/duet/p-e9a0f29e.system.entry.js +0 -4
  882. package/lib/duet/p-eb60efcc.js +0 -4
  883. package/lib/duet/p-ebe1da5f.system.entry.js +0 -4
  884. package/lib/duet/p-ef853142.system.entry.js +0 -4
  885. package/lib/duet/p-f55a48a1.entry.js +0 -4
  886. package/lib/duet/p-f6711efe.system.entry.js +0 -4
  887. package/lib/duet/p-f6b920dd.system.entry.js +0 -4
  888. package/lib/duet/p-f6d7404f.system.entry.js +0 -4
  889. package/lib/duet/p-f6efded0.entry.js +0 -4
  890. package/lib/duet/p-fa1176a3.system.entry.js +0 -4
  891. package/lib/duet/p-fa2f610d.entry.js +0 -4
  892. package/lib/duet/p-fb26ac12.system.entry.js +0 -4
  893. package/lib/duet/p-fd806af2.entry.js +0 -4
  894. package/lib/duet/p-fdf201cd.system.entry.js +0 -4
  895. package/lib/duet/p-fe781761.system.entry.js +0 -4
  896. package/lib/duet/p-ff8570f9.entry.js +0 -4
  897. package/lib/esm-es5/slot-utils-b099bb75.js +0 -4
  898. package/lib/esm-es5/token-utils-cf052bc0.js +0 -4
  899. package/lib/esm-es5/tokens-57aa1508.js +0 -4
  900. package/lib/esm-es5/tokens.module-821694bb.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as registerInstance,h,H as Host,g as getElement}from"./index-79fc1b32.js";import{i as inheritGlobalTheme}from"./themeable-component-356b273d.js";import{f as formatNumber}from"./language-utils-a17dc5f3.js";import{a as getElementsFromDefaultSlot}from"./slot-utils-b099bb75.js";import{g as getColorByName}from"./token-utils-cf052bc0.js";import"./string-utils-192eb3c8.js";import"./tokens.module-821694bb.js";var duetShareChartCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-share-chart-horizontal-bar{height:16px;margin-bottom:20px;border-radius:4px}.duet-share-chart-horizontal-bar .duet-share-chart-share{box-sizing:border-box;display:inline-block;height:16px;border-color:rgb(255, 255, 255);border-style:solid;border-width:0 1px}.duet-share-chart-horizontal-bar .duet-share-chart-share:first-child{border-left-width:0;border-radius:4px 0 0 4px}.duet-share-chart-horizontal-bar .duet-share-chart-share:last-child{border-right-width:0;border-radius:0 4px 4px 0}.duet-share-chart-item-list{padding:0 4px;margin:0;list-style:none}.duet-share-chart-item-list li{display:flex;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;color:rgb(8, 42, 77)}.duet-share-chart-item-list li.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-share-chart-item-list span{display:inline-block}.duet-share-chart-item-list .duet-share-chart-item-color{flex-shrink:0;width:12px;height:12px;margin-top:calc((1.5rem - 12px) / 2);margin-right:12px;border-radius:4px}.duet-share-chart-item-list .duet-share-chart-item-value{font-weight:600}:host(.duet-theme-turva2) .duet-share-chart-item-list li.duet-theme-turva{color:#172a3b}';var DuetShareChartStyle0=duetShareChartCss;var DuetShareChart=function(){function e(e){registerInstance(this,e);this.defaultColors=["lt-blue-800","lt-blue-600","success-600","success-800","warning-600","danger-600","danger-800"];this.items=undefined;this.theme="";this.unit="%"}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.connectedCallback=function(){{this.childObserver=new MutationObserver(this.updateChartItems.bind(this));this.childObserver.observe(this.element,{childList:true,subtree:true,attributes:true,characterData:true})}this.updateChartItems()};e.prototype.disconnectedCallback=function(){if(this.childObserver){this.childObserver.disconnect();this.childObserver=undefined}};e.prototype.updateChartItems=function(){var e=this;var t=getElementsFromDefaultSlot(this.element).filter((function(e){return e.tagName.toLocaleLowerCase()==="duet-share-chart-item"}));this.items=t.map((function(t,r){return{text:t.textContent,value:t.value,color:t.color||e.defaultColors[r%e.defaultColors.length]}}));this.itemsTotalValue=this.items.reduce((function(e,t){var r=t.value;return e+r}),0)};e.prototype.render=function(){var e=this;return h(Host,{key:"70e0558ae1aa0042d3488c4610edf2ae7f0ce700"},h("div",{key:"5bd7c4afeb50bc140af45a753caab394d6e0e296",class:"duet-share-chart-horizontal-bar",role:"presentation"},this.items.filter((function(e){return!!e.value})).map((function(t){return h("span",{class:"duet-share-chart-share",style:{width:"".concat(t.value/e.itemsTotalValue*100,"%"),backgroundColor:getColorByName(t.color,e.theme)}})}))),h("ul",{key:"c5aa993b912a4ed0d6ab461c9c7cc9759ed4e61c",class:"duet-share-chart-item-list"},this.items.map((function(t){return h("li",{class:{"duet-theme-turva":e.theme==="turva"}},h("span",{class:"duet-share-chart-item-color",style:{background:getColorByName(t.color,e.theme)}}),h("span",{class:"duet-share-chart-item-text"},t.text,":"),h("span",{class:"duet-share-chart-item-value"}," ",formatNumber(t.value)," ",e.unit),e.unit!=="%"&&h("duet-visually-hidden",null,"".concat(formatNumber(t.value/e.itemsTotalValue*100,0)," %")))}))),h("slot",{key:"61ede20c0cd58db96135ac036084888a09e2d4ad"}))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetShareChart.style=DuetShareChartStyle0;export{DuetShareChart as duet_share_chart};
4
+ import{r as registerInstance,h,H as Host,g as getElement}from"./index-22246570.js";import{i as inheritGlobalTheme}from"./themeable-component-f4a04f2f.js";import{f as formatNumber}from"./language-utils-09809102.js";import{b as getElementsFromDefaultSlot}from"./slot-utils-eb668280.js";import{g as getColorByName}from"./token-utils-d02c20ff.js";import"./string-utils-192eb3c8.js";import"./tokens.module-7b07911f.js";var duetShareChartCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.duet-share-chart-horizontal-bar{height:16px;margin-bottom:20px;border-radius:4px}.duet-share-chart-horizontal-bar .duet-share-chart-share{box-sizing:border-box;display:inline-block;height:16px;border-color:rgb(255, 255, 255);border-style:solid;border-width:0 1px}.duet-share-chart-horizontal-bar .duet-share-chart-share:first-child{border-left-width:0;border-radius:4px 0 0 4px}.duet-share-chart-horizontal-bar .duet-share-chart-share:last-child{border-right-width:0;border-radius:0 4px 4px 0}.duet-share-chart-item-list{padding:0 4px;margin:0;list-style:none}.duet-share-chart-item-list li{display:flex;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;color:rgb(8, 42, 77)}.duet-share-chart-item-list li.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-share-chart-item-list span{display:inline-block}.duet-share-chart-item-list .duet-share-chart-item-color{flex-shrink:0;width:12px;height:12px;margin-top:calc((1.5rem - 12px) / 2);margin-right:12px;border-radius:4px}.duet-share-chart-item-list .duet-share-chart-item-value{font-weight:600}:host(.duet-theme-turva2) .duet-share-chart-item-list li.duet-theme-turva{color:rgb(23, 42, 59)}';var DuetShareChartStyle0=duetShareChartCss;var DuetShareChart=function(){function e(e){registerInstance(this,e);this.defaultColors=["lt-blue-800","lt-blue-600","success-600","success-800","warning-600","danger-600","danger-800"];this.items=undefined;this.theme="";this.unit="%"}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.connectedCallback=function(){{this.childObserver=new MutationObserver(this.updateChartItems.bind(this));this.childObserver.observe(this.element,{childList:true,subtree:true,attributes:true,characterData:true})}this.updateChartItems()};e.prototype.disconnectedCallback=function(){if(this.childObserver){this.childObserver.disconnect();this.childObserver=undefined}};e.prototype.updateChartItems=function(){var e=this;var t=getElementsFromDefaultSlot(this.element).filter((function(e){return e.tagName.toLocaleLowerCase()==="duet-share-chart-item"}));this.items=t.map((function(t,r){return{text:t.textContent,value:t.value,color:t.color||e.defaultColors[r%e.defaultColors.length]}}));this.itemsTotalValue=this.items.reduce((function(e,t){var r=t.value;return e+r}),0)};e.prototype.render=function(){var e=this;return h(Host,{key:"70e0558ae1aa0042d3488c4610edf2ae7f0ce700"},h("div",{key:"5bd7c4afeb50bc140af45a753caab394d6e0e296",class:"duet-share-chart-horizontal-bar",role:"presentation"},this.items.filter((function(e){return!!e.value})).map((function(t){return h("span",{class:"duet-share-chart-share",style:{width:"".concat(t.value/e.itemsTotalValue*100,"%"),backgroundColor:getColorByName(t.color,e.theme)}})}))),h("ul",{key:"c5aa993b912a4ed0d6ab461c9c7cc9759ed4e61c",class:"duet-share-chart-item-list"},this.items.map((function(t){return h("li",{class:{"duet-theme-turva":e.theme==="turva"}},h("span",{class:"duet-share-chart-item-color",style:{background:getColorByName(t.color,e.theme)}}),h("span",{class:"duet-share-chart-item-text"},t.text,":"),h("span",{class:"duet-share-chart-item-value"}," ",formatNumber(t.value)," ",e.unit),e.unit!=="%"&&h("duet-visually-hidden",null,"".concat(formatNumber(t.value/e.itemsTotalValue*100,0)," %")))}))),h("slot",{key:"61ede20c0cd58db96135ac036084888a09e2d4ad"}))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetShareChart.style=DuetShareChartStyle0;export{DuetShareChart as duet_share_chart};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-79fc1b32.js";import{i as inheritGlobalTheme}from"./themeable-component-356b273d.js";import{c as createID}from"./create-id-149a1b6d.js";import{i as isKeyboardClick}from"./keyboard-utils-daf80d44.js";import{a as getLanguage,g as getLocaleString,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-a17dc5f3.js";import"./string-utils-192eb3c8.js";var duetShowMoreCss='*,*::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}:host(.duet-theme-turva2) .duet-show-more.duet-theme-turva{color:#172a3b}';var DuetShowMoreStyle0=duetShowMoreCss;var DuetShowMore=function(){function e(e){var t=this;registerInstance(this,e);this.duetToggle=createEvent(this,"duetToggle",7);this.contentId=createID("DuetShowMore");this.buttonId=createID("DuetShowMoreButton");this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(navigator===null||navigator===void 0?void 0:navigator.userAgent);this.handleKeyDown=function(e){if(isKeyboardClick(e)){t.handleClick(e)}};this.handleClick=function(e){e.preventDefault();var s=!t.open;t.open=s;if(s){setTimeout((function(){t.contentElement.focus()}),100);setTimeout((function(){t.buttonAriaOpen=s}),500)}else{t.buttonAriaOpen=s}t.duetToggle.emit({component:"duet-show-more",originalEvent:e})};this.buttonAriaOpen=false;this.theme="";this.language=getLanguage();this.showMoreLabelDefaults={fi:"Näytä lisää",sv:"Visa mer",en:"Show more"};this.showMoreLabel=getLocaleString(this.showMoreLabelDefaults);this.showLessLabelDefaults={fi:"Näytä vähemmän",sv:"Visa mindre",en:"Show less"};this.showLessLabel=getLocaleString(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=getLocaleString(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=getLocaleString(this.showLessAccessibleLabelDefaults);this.margin="auto";this.buttonMargin="auto";this.buttonPadding="auto";this.open=false}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.buttonAriaOpen=this.open};e.prototype.connectedCallback=function(){connectLanguageChangeObserver(this,[{prop:"showMoreLabel",defaults:"showMoreLabelDefaults"},{prop:"showLessLabel",defaults:"showLessLabelDefaults"},{prop:"showMoreAccessibleLabel",defaults:"showMoreAccessibleLabelDefaults"},{prop:"showLessAccessibleLabel",defaults:"showLessAccessibleLabelDefaults"}])};e.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this)};e.prototype.render=function(){var e=this;return h(Host,{key:"56ef8d68e3957481eb3c0fd77169a3830a6c0ec3"},h("div",{key:"d73ea6ea5f16f353ca41d0600aecf3eb91734338",class:{"duet-show-more":true,"duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none",open:this.open}},h("div",{key:"aa3781bcb009ab2f72dce109180c32c29e5a86d5",ref:function(t){return e.contentElement=t},class:{content:true},id:this.contentId,tabindex:this.open?"-1":""},h("div",{key:"79305d6a5745287d4baeda24e227cd0ee2e6cd28",class:{"slotted-content":true}},h("slot",{key:"b75e7fbce1ab1e8e1680bc88cca241d0a8503375"}))),h("duet-button",{key:"103cd44aef5b443ed759a845f684db2e9881b67c",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.isSafariBrowser?this.open:null,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"},h("span",{key:"c185219d1cbab88f4efb3e254dc3130c432f83f6"},this.open?this.showLessLabel:this.showMoreLabel))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetShowMore.style=DuetShowMoreStyle0;export{DuetShowMore as duet_show_more};
4
+ import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-22246570.js";import{i as inheritGlobalTheme}from"./themeable-component-f4a04f2f.js";import{c as createID}from"./create-id-149a1b6d.js";import{i as isKeyboardClick}from"./keyboard-utils-daf80d44.js";import{a as getLanguage,g as getLocaleString,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-09809102.js";import"./string-utils-192eb3c8.js";var duetShowMoreCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;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:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-show-more .content:focus,.duet-show-more .content:focus.duet-theme-turva,.duet-theme-turva2 .duet-show-more .content:focus,.duet-show-more .content:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.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)}:host(.duet-theme-turva2) .duet-show-more.duet-theme-turva{color:rgb(23, 42, 59)}';var DuetShowMoreStyle0=duetShowMoreCss;var DuetShowMore=function(){function e(e){var t=this;registerInstance(this,e);this.duetToggle=createEvent(this,"duetToggle",7);this.contentId=createID("DuetShowMore");this.buttonId=createID("DuetShowMoreButton");this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(navigator===null||navigator===void 0?void 0:navigator.userAgent);this.handleKeyDown=function(e){if(isKeyboardClick(e)){t.handleClick(e)}};this.handleClick=function(e){e.preventDefault();var o=!t.open;t.open=o;if(o){setTimeout((function(){t.contentElement.focus()}),100);setTimeout((function(){t.buttonAriaOpen=o}),500)}else{t.buttonAriaOpen=o}t.duetToggle.emit({component:"duet-show-more",originalEvent:e})};this.buttonAriaOpen=false;this.theme="";this.language=getLanguage();this.showMoreLabelDefaults={fi:"Näytä lisää",sv:"Visa mer",en:"Show more"};this.showMoreLabel=getLocaleString(this.showMoreLabelDefaults);this.showLessLabelDefaults={fi:"Näytä vähemmän",sv:"Visa mindre",en:"Show less"};this.showLessLabel=getLocaleString(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=getLocaleString(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=getLocaleString(this.showLessAccessibleLabelDefaults);this.margin="auto";this.buttonMargin="auto";this.buttonPadding="auto";this.open=false}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.buttonAriaOpen=this.open};e.prototype.connectedCallback=function(){connectLanguageChangeObserver(this,[{prop:"showMoreLabel",defaults:"showMoreLabelDefaults"},{prop:"showLessLabel",defaults:"showLessLabelDefaults"},{prop:"showMoreAccessibleLabel",defaults:"showMoreAccessibleLabelDefaults"},{prop:"showLessAccessibleLabel",defaults:"showLessAccessibleLabelDefaults"}])};e.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this)};e.prototype.render=function(){var e=this;return h(Host,{key:"56ef8d68e3957481eb3c0fd77169a3830a6c0ec3"},h("div",{key:"d73ea6ea5f16f353ca41d0600aecf3eb91734338",class:{"duet-show-more":true,"duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none",open:this.open}},h("div",{key:"6afaf121c58138f90038b80120d2078f26c03b0f",ref:function(t){return e.contentElement=t},class:{content:true,"duet-theme-turva":this.theme==="turva"},id:this.contentId,tabindex:this.open?"-1":""},h("div",{key:"dae368a22e7ccf39355af66f099c03affeb903a8",class:{"slotted-content":true}},h("slot",{key:"0a343674cab958718bf41cf81fa7f50377ef88a2"}))),h("duet-button",{key:"b099b8982f27b745619611d11b5d1fad9122c97f",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.isSafariBrowser?this.open:null,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"},h("span",{key:"3e653ae12786956661bcf4be192514d56ff9fcf3"},this.open?this.showLessLabel:this.showMoreLabel))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetShowMore.style=DuetShowMoreStyle0;export{DuetShowMore as duet_show_more};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as registerInstance,h,H as Host,g as getElement}from"./index-79fc1b32.js";import{i as inheritGlobalTheme}from"./themeable-component-356b273d.js";import{a as getLanguage,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver,g as getLocaleString}from"./language-utils-a17dc5f3.js";import"./string-utils-192eb3c8.js";var duetSlideoutLangCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-slideout-lang{display:flex;gap:16px;align-items:center;justify-content:flex-start;width:min-content;white-space:nowrap}::slotted(*){position:relative}::slotted(:not(:first-child)){padding-right:0;padding-left:0.5rem}::slotted(:not(:last-child))::after{position:absolute;top:25%;right:-14px;width:2px;height:50%;content:"";background:rgb(8, 42, 77)}.duet-theme-turva ::slotted(:not(:last-child))::after{background:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-theme-turva ::slotted(:not(:last-child))::after{background:#172a3b}';var DuetSlideoutLangStyle0=duetSlideoutLangCss;var DuetSlideoutLang=function(){function e(e){registerInstance(this,e);this.chooseLangObject={en:"Choose language",fi:"Valitse kieli",sv:"Välj språk"};this.language=getLanguage();this.theme=""}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.connectedCallback=function(){connectLanguageChangeObserver(this)};e.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this)};e.prototype.render=function(){var e=getLocaleString(this.chooseLangObject);return h(Host,{key:"2d8d0ea8ccd8932027c97026ab0fd8ff94b13f5d"},h("div",{key:"8ecd4a30d2535356b74019ea8a6e6243bb05b88c",class:"duet-slideout-lang",role:"group","aria-label":e},h("duet-icon",{key:"825bf7a329128b49e03969c52b7abb3c76922fef",name:"navigation-language",margin:"none",color:"secondary",size:"small"}),h("slot",{key:"a43360f381937d2d74610b34de107c10e384a880"})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetSlideoutLang.style=DuetSlideoutLangStyle0;export{DuetSlideoutLang as duet_slideout_lang};
4
+ import{r as registerInstance,h,H as Host,g as getElement}from"./index-22246570.js";import{i as inheritGlobalTheme}from"./themeable-component-f4a04f2f.js";import{a as getLanguage,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver,g as getLocaleString}from"./language-utils-09809102.js";import"./string-utils-192eb3c8.js";var duetSlideoutLangCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.duet-slideout-lang{display:flex;gap:16px;align-items:center;justify-content:flex-start;width:min-content;white-space:nowrap}::slotted(*){position:relative}::slotted(:not(:first-child)){padding-right:0;padding-left:0.5rem}::slotted(:not(:last-child))::after{position:absolute;top:25%;right:-14px;width:2px;height:50%;content:"";background:rgb(8, 42, 77)}.duet-theme-turva ::slotted(:not(:last-child))::after{background:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-theme-turva ::slotted(:not(:last-child))::after{background:rgb(23, 42, 59)}';var DuetSlideoutLangStyle0=duetSlideoutLangCss;var DuetSlideoutLang=function(){function e(e){registerInstance(this,e);this.chooseLangObject={en:"Choose language",fi:"Valitse kieli",sv:"Välj språk"};this.language=getLanguage();this.theme=""}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.connectedCallback=function(){connectLanguageChangeObserver(this)};e.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this)};e.prototype.render=function(){var e=getLocaleString(this.chooseLangObject);return h(Host,{key:"2d8d0ea8ccd8932027c97026ab0fd8ff94b13f5d"},h("div",{key:"8ecd4a30d2535356b74019ea8a6e6243bb05b88c",class:"duet-slideout-lang",role:"group","aria-label":e},h("duet-icon",{key:"825bf7a329128b49e03969c52b7abb3c76922fef",name:"navigation-language",margin:"none",color:"secondary",size:"small"}),h("slot",{key:"a43360f381937d2d74610b34de107c10e384a880"})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetSlideoutLang.style=DuetSlideoutLangStyle0;export{DuetSlideoutLang as duet_slideout_lang};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as registerInstance,h,H as Host,g as getElement}from"./index-79fc1b32.js";import{a as actionNewWindowSmall}from"./action-new-window-small-1945be91.js";import{a as DuetStringsExternalDefaults}from"./common-strings-1274857d.js";import{i as inheritGlobalTheme}from"./themeable-component-356b273d.js";import{g as getAccessibleLinkLabel}from"./a11y-utils-477acfdc.js";import{g as getLocaleString,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-a17dc5f3.js";import"./slot-utils-b099bb75.js";import"./string-utils-192eb3c8.js";var duetSlideoutLinkCss='*,*::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-slideout-link{position:relative;display:flex;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 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:inherit;font-weight:inherit;line-height:1.25;color:inherit;text-align:left;text-decoration:none}.duet-slideout-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-slideout-link:focus,.duet-slideout-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-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"}.duet-slideout-link.active span{position:relative}.duet-slideout-link.active .label-content::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:var(--active-height, 2px);content:"";background:rgb(0, 119, 179);transform:var(--active-translate-y, translateY(2px))}.duet-slideout-link.active.duet-theme-turva span::after{background:rgb(198, 12, 48)}.duet-slideout-link.small{font-size:1rem;font-weight:600}.duet-slideout-link.small span::after{--active-height:1px;--active-translate-y:1px}.duet-slideout-link.medium{font-size:1rem;font-weight:600}.duet-slideout-link.large{font-size:1.25rem;font-weight:800}.duet-slideout-link .label{display:flex;gap:8px;align-items:center;justify-content:space-between;width:100%}.duet-slideout-link .label-container{display:flex;gap:8px;align-items:center;justify-content:flex-start;width:100%}.duet-slideout-link .external-icon{width:10px;height:10px}.duet-slideout-link.medium .external-icon,.duet-slideout-link.large .external-icon{width:12px;height:12px}slot[name=description]::slotted(*){display:block;padding:8px 0 0;font-size:1rem;font-size:1.25;font-weight:400;color:rgb(98, 121, 138)}.duet-theme-turva slot[name=description]::slotted(*){color:rgb(113, 118, 132)}:host(.duet-theme-turva2) .duet-slideout-link.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-slideout-link.duet-theme-turva.active .label-content::after{background:#e61740}:host(.duet-theme-turva2) slot[name=description]::slotted(*){color:#172a3b}';var DuetSlideoutLinkStyle0=duetSlideoutLinkCss;var DuetSlideoutLink=function(){function e(e){registerInstance(this,e);this.accessibleLabel=undefined;this.theme="";this.targetLanguage=undefined;this.active=false;this.href="#";this.icon=undefined;this.size="inherit";this.caret=false;this.menuItem=false;this.accessibleLabelExternalDefaults=DuetStringsExternalDefaults;this.accessibleLabelExternal=getLocaleString(this.accessibleLabelExternalDefaults);this.external=false}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.connectedCallback=function(){connectLanguageChangeObserver(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};e.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this)};e.prototype.render=function(){var e;return h(Host,{key:"8f75d1b8cc2f5509ee8c41c0f09a1e0b7c325e2b"},h("a",{key:"470e7d3de6ae4220816ce83100eab2798017637c",target:!this.href?null:this.external?"_blank":"_self",class:(e={"duet-slideout-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},e[this.size]=true,e),href:this.href,"aria-current":this.active?"true":"false",lang:this.targetLanguage,hreflang:this.targetLanguage,"aria-label":this.href&&getAccessibleLinkLabel(this)||this.accessibleLabel,rel:this.external?"noopener":undefined},this.icon&&h("duet-icon",{key:"280f1b56285002d77cdae1dd796ccc4cead40484",name:this.icon,color:"secondary",size:this.menuItem?"x-small":"small",margin:"none"}),h("div",{key:"c20e8bd370c0c9419dac439bc9be417f532caa80",class:"label"},h("span",{key:"c9e43ff4e0f400bb100908512d4832941833413e"},h("span",{key:"362461c72afbd9a669ca2be4bb63b0e0a0816ae8",class:"label-container"},h("span",{key:"a5cd71224f0299bc2f8c63c65e28c8f535da4b59",class:"label-content"},h("slot",{key:"59eb785f2e0fe626375adca66fa6c0c1dc63f6d0"})),this.external&&h("duet-icon",{key:"55f8b1ed150acb31ad46d9f8ba2f7d47ada4f3ca",class:"external-icon",theme:this.theme,name:actionNewWindowSmall.title,margin:"none",size:"auto",color:"currentColor"})),h("slot",{key:"ddba75f06da785a06950ed38f726c1ac3cfea012",name:"description"})),this.caret&&h("duet-icon",{key:"f9091c7a26c7db26a48b8b96bd3b4502cb79bc10",name:"action-arrow-right",color:"secondary",size:"x-small",margin:"none"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetSlideoutLink.style=DuetSlideoutLinkStyle0;export{DuetSlideoutLink as duet_slideout_link};
4
+ import{r as registerInstance,h,H as Host,g as getElement}from"./index-22246570.js";import{a as actionNewWindowSmall}from"./action-new-window-small-1945be91.js";import{a as DuetStringsExternalDefaults}from"./common-strings-1274857d.js";import{i as inheritGlobalTheme}from"./themeable-component-f4a04f2f.js";import{g as getAccessibleLinkLabel}from"./a11y-utils-696f7b73.js";import{g as getLocaleString,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-09809102.js";import"./slot-utils-eb668280.js";import"./string-utils-192eb3c8.js";var duetSlideoutLinkCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}.duet-slideout-link{position:relative;display:flex;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 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:inherit;font-weight:inherit;line-height:1.25;color:inherit;text-align:left;text-decoration:none}.duet-slideout-link:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-slideout-link:focus,.duet-slideout-link:focus.duet-theme-turva,.duet-theme-turva2 .duet-slideout-link:focus,.duet-slideout-link:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-slideout-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"}.duet-slideout-link.active span{position:relative}.duet-slideout-link.active .label-content::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:var(--active-height, 2px);content:"";background:rgb(0, 119, 179);transform:var(--active-translate-y, translateY(2px))}.duet-slideout-link.active.duet-theme-turva span::after{background:rgb(198, 12, 48)}.duet-slideout-link.small{font-size:1rem;font-weight:600}.duet-slideout-link.small span::after{--active-height:1px;--active-translate-y:1px}.duet-slideout-link.medium{font-size:1rem;font-weight:600}.duet-slideout-link.large{font-size:1.25rem;font-weight:800}.duet-slideout-link .label{display:flex;gap:8px;align-items:center;justify-content:space-between;width:100%}.duet-slideout-link .label-container{display:flex;gap:8px;align-items:center;justify-content:flex-start;width:100%}.duet-slideout-link .external-icon{width:10px;height:10px}.duet-slideout-link.medium .external-icon,.duet-slideout-link.large .external-icon{width:12px;height:12px}slot[name=description]::slotted(*){display:block;padding:8px 0 0;font-size:1rem;font-size:1.25;font-weight:400;color:rgb(98, 121, 138)}.duet-theme-turva slot[name=description]::slotted(*){color:rgb(113, 118, 132)}:host(.duet-theme-turva2) .duet-slideout-link.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-slideout-link.duet-theme-turva.active .label-content::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) slot[name=description]::slotted(*){color:rgb(23, 42, 59)}';var DuetSlideoutLinkStyle0=duetSlideoutLinkCss;var DuetSlideoutLink=function(){function e(e){registerInstance(this,e);this.accessibleLabel=undefined;this.theme="";this.targetLanguage=undefined;this.active=false;this.href="#";this.icon=undefined;this.size="inherit";this.caret=false;this.menuItem=false;this.accessibleLabelExternalDefaults=DuetStringsExternalDefaults;this.accessibleLabelExternal=getLocaleString(this.accessibleLabelExternalDefaults);this.external=false}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.connectedCallback=function(){connectLanguageChangeObserver(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};e.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this)};e.prototype.render=function(){var e;return h(Host,{key:"8f75d1b8cc2f5509ee8c41c0f09a1e0b7c325e2b"},h("a",{key:"470e7d3de6ae4220816ce83100eab2798017637c",target:!this.href?null:this.external?"_blank":"_self",class:(e={"duet-slideout-link":true,"duet-theme-turva":this.theme==="turva",active:this.active},e[this.size]=true,e),href:this.href,"aria-current":this.active?"true":"false",lang:this.targetLanguage,hreflang:this.targetLanguage,"aria-label":this.href&&getAccessibleLinkLabel(this)||this.accessibleLabel,rel:this.external?"noopener":undefined},this.icon&&h("duet-icon",{key:"280f1b56285002d77cdae1dd796ccc4cead40484",name:this.icon,color:"secondary",size:this.menuItem?"x-small":"small",margin:"none"}),h("div",{key:"c20e8bd370c0c9419dac439bc9be417f532caa80",class:"label"},h("span",{key:"c9e43ff4e0f400bb100908512d4832941833413e"},h("span",{key:"362461c72afbd9a669ca2be4bb63b0e0a0816ae8",class:"label-container"},h("span",{key:"a5cd71224f0299bc2f8c63c65e28c8f535da4b59",class:"label-content"},h("slot",{key:"59eb785f2e0fe626375adca66fa6c0c1dc63f6d0"})),this.external&&h("duet-icon",{key:"55f8b1ed150acb31ad46d9f8ba2f7d47ada4f3ca",class:"external-icon",theme:this.theme,name:actionNewWindowSmall.title,margin:"none",size:"auto",color:"currentColor"})),h("slot",{key:"ddba75f06da785a06950ed38f726c1ac3cfea012",name:"description"})),this.caret&&h("duet-icon",{key:"f9091c7a26c7db26a48b8b96bd3b4502cb79bc10",name:"action-arrow-right",color:"secondary",size:"x-small",margin:"none"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetSlideoutLink.style=DuetSlideoutLinkStyle0;export{DuetSlideoutLink as duet_slideout_link};
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,o,n){function a(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,i){function r(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?o(e.value):a(e.value).then(r,s)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(o=0)),o)try{if(n=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:o.label++;return{value:s[1],done:false};case 5:o.label++;a=s[1];s=[0];continue;case 7:s=o.ops.pop();o.trys.pop();continue;default:if(!(i=o.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){o=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(s[0]===6&&o.label<i[1]){o.label=i[1];i=s;break}if(i&&o.label<i[2]){o.label=i[2];o.ops.push(s);break}if(i[2])o.ops.pop();o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e];a=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */import{r as registerInstance,h,H as Host,g as getElement}from"./index-79fc1b32.js";import{i as inheritGlobalTheme}from"./themeable-component-356b273d.js";var duetSlideoutPanelDropdownCss='*,*::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%}:host slot:not([name=label])::slotted(*){position:relative;top:-0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel-dropdown{position:relative;width:100%;height:100%}.duet-slideout-panel-dropdown button{position:relative;display:flex;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 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:1.25rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none;cursor:pointer}.duet-slideout-panel-dropdown button .label{position:relative;display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-slideout-panel-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel-dropdown button.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:calc(100% - 18px);height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(1px)}.duet-slideout-panel-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-height:1000px;padding:4px 20px 8px 36px;overflow-y:auto;visibility:visible;transition:max-height 0.3s ease-in, padding-bottom 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-slideout-panel-dropdown .items::-webkit-scrollbar{display:none}.duet-slideout-panel-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-out, padding-bottom 0.3s ease-out}.duet-slideout-panel-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-slideout-panel-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:rgb(198, 12, 48)}slot{--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:400;color:rgb(8, 42, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}slot[name=label]{font-size:1rem;font-weight:600}:host(.duet-theme-turva2) .duet-slideout-panel-dropdown.duet-theme-turva button{color:#172a3b}:host(.duet-theme-turva2) .duet-slideout-panel-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-theme-turva2) .duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:#e61740}:host(.duet-theme-turva2) slot{color:#172a3b}';var DuetSlideoutPanelDropdownStyle0=duetSlideoutPanelDropdownCss;var DuetSlideoutPanelDropdown=function(){function e(e){var t=this;registerInstance(this,e);this.onClick=function(){t.open=!t.open};this.theme="";this.active=false;this.open=false;this.icon=undefined}e.prototype.handleFocus=function(e){var t=this;var o=e.composedPath().every((function(e){return e!==t.element}));if(o){this.open=false}};e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);var e=this.element.querySelectorAll("duet-slideout-link");e.forEach((function(e){e.menuItem=true}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.button.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;return h(Host,{key:"d258b7901f9bc6e8c6d5be72c705441178343174"},h("div",{key:"8d089ee36780b154b591c28104fe576d16d44103",class:{"duet-slideout-panel-dropdown":true,"duet-theme-turva":this.theme==="turva",active:this.open}},h("button",{key:"b6d9cfa6742285816254d8f800d0134cbab60392",ref:function(t){return e.button=t},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{active:this.active},onClick:this.onClick},this.icon&&h("duet-icon",{key:"d47c45eda3b4efd847b762bf480f12529a017490",name:this.icon,size:"small",margin:"none",color:"secondary"}),h("span",{key:"6e7ca63c7898c2b71207f7a0d4c4ae5fd1e57383",class:"label"},h("slot",{key:"3c9920b20aee4d50cde6494dcb1789c74bd785f1",name:"label"}),h("duet-icon",{key:"b45531eb083d9819f941c20b70712e94cea1628b",class:"caret",name:"action-arrow-down-small",margin:"none",size:"xx-small",color:"secondary"}))),h("div",{key:"1d6fc52322fe24684457bb1e03ba908a5496e200",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true,hidden:!this.open}},h("slot",{key:"a74310df86c00bf3c2b547b16eb256adcb5681f3"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetSlideoutPanelDropdown.style=DuetSlideoutPanelDropdownStyle0;export{DuetSlideoutPanelDropdown as duet_slideout_panel_dropdown};
4
+ */import{r as registerInstance,h,H as Host,g as getElement}from"./index-22246570.js";import{i as inheritGlobalTheme}from"./themeable-component-f4a04f2f.js";var duetSlideoutPanelDropdownCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:-0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel-dropdown{position:relative;width:100%;height:100%}.duet-slideout-panel-dropdown button{position:relative;display:flex;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 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:1.25rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none;cursor:pointer}.duet-slideout-panel-dropdown button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-slideout-panel-dropdown button:focus,.duet-slideout-panel-dropdown button:focus.duet-theme-turva,.duet-theme-turva2 .duet-slideout-panel-dropdown button:focus,.duet-slideout-panel-dropdown button:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-slideout-panel-dropdown button .label{position:relative;display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-slideout-panel-dropdown button.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:calc(100% - 18px);height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(1px)}.duet-slideout-panel-dropdown .items{display:flex;visibility:visible;flex-direction:column;align-items:center;justify-content:center;width:100%;max-height:1000px;padding:4px 20px 8px 36px;overflow-y:auto;scrollbar-width:none;transition:max-height 0.3s ease-in, padding-bottom 0.3s ease-in;-ms-overflow-style:none}.duet-slideout-panel-dropdown .items::-webkit-scrollbar{display:none}.duet-slideout-panel-dropdown .items.hidden{visibility:hidden;max-height:0;padding:0;overflow:hidden;transition:max-height 0.3s ease-out, padding-bottom 0.3s ease-out}.duet-slideout-panel-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-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:rgb(198, 12, 48)}slot{--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:400;color:rgb(8, 42, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}slot[name=label]{font-size:1rem;font-weight:600}:host(.duet-theme-turva2) .duet-slideout-panel-dropdown.duet-theme-turva button{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) slot{color:rgb(23, 42, 59)}';var DuetSlideoutPanelDropdownStyle0=duetSlideoutPanelDropdownCss;var DuetSlideoutPanelDropdown=function(){function e(e){var t=this;registerInstance(this,e);this.onClick=function(){t.open=!t.open};this.theme="";this.active=false;this.open=false;this.icon=undefined}e.prototype.handleFocus=function(e){var t=this;var o=e.composedPath().every((function(e){return e!==t.element}));if(o){this.open=false}};e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);var e=this.element.querySelectorAll("duet-slideout-link");e.forEach((function(e){e.menuItem=true}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.button.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;return h(Host,{key:"d258b7901f9bc6e8c6d5be72c705441178343174"},h("div",{key:"8d089ee36780b154b591c28104fe576d16d44103",class:{"duet-slideout-panel-dropdown":true,"duet-theme-turva":this.theme==="turva",active:this.open}},h("button",{key:"428b9daa75c7a08099281e5ba581355fd74fbdc5",ref:function(t){return e.button=t},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{active:this.active,"duet-theme-turva":this.theme==="turva"},onClick:this.onClick},this.icon&&h("duet-icon",{key:"7bd9a51a7a92f315b4b02ffef0d7708beb565a8c",name:this.icon,size:"small",margin:"none",color:"secondary"}),h("span",{key:"b8670b3b90172b05734387490c087d7fa297acfa",class:"label"},h("slot",{key:"4260ac6d881d202a789b65042644e2d05e81181d",name:"label"}),h("duet-icon",{key:"0933c33444d037ea0a2187dfc2b657f0805d4571",class:"caret",name:"action-arrow-down-small",margin:"none",size:"xx-small",color:"secondary"}))),h("div",{key:"b244be18e4c62d771c5f6ef4b72cc05aa9bdf327",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true,hidden:!this.open,"duet-theme-turva":this.theme==="turva"}},h("slot",{key:"3400e2a37bc908cfa04587297e35f63f3aba6044"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetSlideoutPanelDropdown.style=DuetSlideoutPanelDropdownStyle0;export{DuetSlideoutPanelDropdown as duet_slideout_panel_dropdown};
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,a,i){function o(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,n){function s(e){try{r(i.next(e))}catch(e){n(e)}}function l(e){try{r(i["throw"](e))}catch(e){n(e)}}function r(e){e.done?a(e.value):o(e.value).then(s,l)}r((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,o,n,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(t){return r([e,t])}}function r(l){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,l[0]&&(a=0)),a)try{if(i=1,o&&(n=l[0]&2?o["return"]:l[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,l[1])).done)return n;if(o=0,n)l=[l[0]&2,n.value];switch(l[0]){case 0:case 1:n=l;break;case 4:a.label++;return{value:l[1],done:false};case 5:a.label++;o=l[1];l=[0];continue;case 7:l=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(l[0]===6||l[0]===2)){a=0;continue}if(l[0]===3&&(!n||l[1]>n[0]&&l[1]<n[3])){a.label=l[1];break}if(l[0]===6&&a.label<n[1]){a.label=n[1];n=l;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(l);break}if(n[2])a.ops.pop();a.trys.pop();continue}l=t.call(e,a)}catch(e){l=[6,e];o=0}finally{i=n=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};
1
+ var __awaiter=this&&this.__awaiter||function(e,t,a,i){function o(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,n){function l(e){try{r(i.next(e))}catch(e){n(e)}}function s(e){try{r(i["throw"](e))}catch(e){n(e)}}function r(e){e.done?a(e.value):o(e.value).then(l,s)}r((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,o,n,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return r([e,t])}}function r(s){if(i)throw new TypeError("Generator is already executing.");while(l&&(l=0,s[0]&&(a=0)),a)try{if(i=1,o&&(n=s[0]&2?o["return"]:s[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,s[1])).done)return n;if(o=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;o=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){a.label=s[1];break}if(s[0]===6&&a.label<n[1]){a.label=n[1];n=s;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(s);break}if(n[2])a.ops.pop();a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e];o=0}finally{i=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */import{r as registerInstance,h,H as Host,g as getElement}from"./index-79fc1b32.js";import{i as inheritGlobalTheme}from"./themeable-component-356b273d.js";import{e as enableBodyScroll,d as disableBodyScroll}from"./body-scroll-46854769.js";import{F as FocusGuard}from"./focus-utils-1bece0cd.js";import{a as getLanguage,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver,g as getLocaleString}from"./language-utils-a17dc5f3.js";import{h as hasSlot}from"./slot-utils-b099bb75.js";import{g as getColorByName}from"./token-utils-cf052bc0.js";import"./string-utils-192eb3c8.js";import"./tokens.module-821694bb.js";var duetSlideoutPanelCss='*,*::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%}:host slot:not([name=label])::slotted(*){position:relative;top:0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel{position:relative;height:100%}.duet-slideout-panel .link{position:relative;display:flex;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 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:1.5rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-slideout-panel .link .duet-slideout-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-slideout-panel .link .duet-slideout-icon{margin-right:8px}}.duet-slideout-panel .link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}.duet-slideout-panel .link .label-text.small{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.medium{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.large{font-size:1.25rem;font-weight:800}.duet-slideout-panel .link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .link.active .label-text{position:relative}.duet-slideout-panel .link.active .label-text.small::after{height:1px;transform:translateY(1px)}.duet-slideout-panel .link.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transform:translateY(2px)}.duet-slideout-panel .dialog{position:fixed;top:0;right:0;z-index:600;width:min(450px, 100%);height:100%;overflow-y:auto;visibility:visible}.duet-slideout-panel .dialog.hidden{visibility:hidden}.duet-slideout-panel .dialog.hidden .top .back,.duet-slideout-panel .dialog.hidden .top span{opacity:0}.duet-slideout-panel .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout-panel .top-container.has-sticky-header-slot .top{background:rgb(240, 247, 250)}.duet-slideout-panel .top-container.has-sticky-header-slot .sticky-header{display:block;padding:0 16px}.duet-slideout-panel .top{display:flex;align-items:center;justify-content:space-between;padding:4px}.duet-slideout-panel .top .back{opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .close:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .top duet-icon{padding:16px}.duet-slideout-panel .top span{font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.1rem;font-weight:700;line-height:1.5;color:rgb(8, 42, 77);opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229)}.duet-slideout-panel .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:12px 20px;overflow-y:auto;color:rgb(8, 42, 77)}@media (min-width: 36em){.duet-slideout-panel .items{padding:16px 28px}}.duet-slideout-panel duet-indicator{top:4px}.duet-slideout-panel.duet-theme-turva .link{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout-panel.duet-theme-turva .link:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(198, 12, 48)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 247, 250)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-slideout-panel.duet-theme-turva .top .back:focus,.duet-slideout-panel.duet-theme-turva .top .close:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .top span{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)}slot:not([name=label]){--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:600;color:rgb(8, 42, 77)}.duet-theme-turva slot:not([name=label]){color:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .link{color:#172a3b}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:#e61740}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top{background:#fdf7f2}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header{background:#fdf7f2;border-bottom-color:#fbe1d1}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .top span{color:#172a3b}:host(.duet-theme-turva2) slot:not([name=label]){color:#172a3b}';var DuetSlideoutPanelStyle0=duetSlideoutPanelCss;var DuetSlideoutPanel=function(){function e(e){var t=this;registerInstance(this,e);this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"};this.backLangObject={en:"Back to main menu",fi:"Takaisin päävalikkoon",sv:"Tillbaka till huvudmenyn"};this.hasStickyHeaderSlot=false;this.updateLabel=function(){var e=t.element.querySelector("[slot='label']");t.label=e};this.toggleMenu=function(){t.open=!t.open};this.onClick=function(){t.toggleMenu()};this.onCloseClick=function(e){e.stopPropagation();var a=t.element.parentElement;if(a.tagName==="DUET-SLIDEOUT"){var i=t.element.parentElement;enableBodyScroll(t.dialog);t.bodyScrollLocked=false;i.toggle()}};this.label=undefined;this.language=getLanguage();this.bodyScrollLocked=false;this.theme="";this.active=false;this.open=false;this.icon=undefined;this.labelSize="medium";this.backgroundColor="gray-lightest";this.badge=false}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.updateLabel();this.hasStickyHeaderSlot=hasSlot(this.element,"sticky-header")};e.prototype.connectedCallback=function(){var e=this;connectLanguageChangeObserver(this);this.mutationObserver=new MutationObserver((function(){var t=e.element.parentElement;if(t.tagName==="DUET-SLIDEOUT"){var a=e.element.parentElement;if(a.open&&e.open&&!e.bodyScrollLocked){e.bodyScrollLocked=true;disableBodyScroll(e.dialog,{reserveScrollBarGap:true})}else if(!a.open&&e.bodyScrollLocked){e.bodyScrollLocked=false;enableBodyScroll(e.dialog)}}}));this.mutationObserver.observe(this.element.parentElement,{childList:false,attributeFilter:["open"],subtree:false})};e.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this);if(this.dialog){enableBodyScroll(this.dialog);this.bodyScrollLocked=false}if(this.mutationObserver){this.mutationObserver.disconnect()}};e.prototype.handleOpenChange=function(e,t){var a=this;if(!!e===!!t){return}if(this.open&&!t){setTimeout((function(){var e=Array.from(a.element.parentElement.children);e.forEach((function(e){if(e!==a.element){e.inert=true}}));if(!a.bodyScrollLocked){disableBodyScroll(a.dialog,{reserveScrollBarGap:true});a.bodyScrollLocked=true}a.closeButton.focus()}),200)}else if(!this.open&&t){setTimeout((function(){var e=Array.from(a.element.parentElement.children);e.forEach((function(e){e.inert=false}));a.openButton.focus();enableBodyScroll(a.dialog);a.bodyScrollLocked=false}),200)}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(a){if(this.open){setTimeout((function(){t.closeButton.focus(e)}),200)}else{setTimeout((function(){t.openButton.focus(e)}),200)}return[2]}))}))};e.prototype.render=function(){var e;var t=this;var a={background:getColorByName(this.backgroundColor,this.theme)};var i=getLocaleString(this.exitLangObject);var o=getLocaleString(this.backLangObject);return h(Host,{key:"35f2c88d333a9f340fe932b7b4d1a7b0e161121c"},h("div",{key:"4c41b297d480b756e8f8a6534bd8a9bfe11752f6",class:{"duet-slideout-panel":true,"duet-theme-turva":this.theme==="turva",active:this.open}},this.badge&&h("duet-indicator",{key:"ab7fdbdf53e7a00de6d029caf32059da791cd8c6",variation:"change"}),h("button",{key:"b82bc5cb3f6c0cab2c75d1221b89b197af62fccb",ref:function(e){return t.openButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{link:true,active:this.active},onClick:this.onClick,inert:this.open},this.icon&&h("div",{key:"36db3f1d56f979de83a419d9b146b10517766578",class:"duet-slideout-icon"},h("duet-icon",{key:"40daa0bea7fa859523611fd4a321357f6417d29e",name:this.icon,size:"small",margin:"none",color:"secondary"})),h("span",{key:"dca0924732de13136afc665ea749dbc7326af42a",class:"label"},h("span",{key:"2d2cb8664580036b92d38c443067abe5104bcdb2",class:(e={"label-text":true},e[this.labelSize]=true,e)},h("slot",{key:"3a27effb385bcb69a00b36880a27cc2365d85387",name:"label"})),h("duet-icon",{key:"0c8f43acde619695b5dfb4a340384c6ff6c72b96",class:"caret",name:"action-arrow-right",margin:"none",size:"x-small",color:"secondary"}))),h("div",{key:"dc04111a0ccaf306e9d1f090de3ece36deba1cb7",ref:function(e){return t.dialog=e},class:{dialog:true,hidden:!this.open},style:a},h(FocusGuard,{key:"21c80b489ad5b2d99c6527c598642f08a110f012",moveFocusTo:this.closeButton}),h("div",{key:"94ecda012acf4236fbf0c4e6bb2ddf00f0dc1d85",class:{"top-container":true,"has-sticky-header-slot":this.hasStickyHeaderSlot}},h("div",{key:"e971612fa04b42cae7278eea004030dd0196ff24",class:"top"},h("button",{key:"ebf4cd9537f5593d8531e3f8a4083619c37c3315",ref:function(e){return t.closeButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-label":"".concat(o),type:"button",class:{back:true},onClick:this.onClick},h("duet-icon",{key:"203def1ac6d4a5f12739e1d65e408de037017af3",class:"caret",name:"action-arrow-left",margin:"none",size:"small",color:"secondary"})),h("span",{key:"eb1ef1869555fed504b3379aa1dd0d0d1d8757a4"},this.label.innerHTML),h("button",{key:"5f427bf5cb3ef229ff24623da9b7ad9ba0ffe90c",class:"close",type:"button",onClick:this.onCloseClick,"aria-label":"".concat(i)},h("duet-icon",{key:"7231ebeb54f08c90e946c8c2bdd9f7e5072ef8a8",name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),h("div",{key:"697a04a9c44a76c1c523acc00299f1876694b580",class:"sticky-header"},h("slot",{key:"474ad484641ecb1f1f4d85a8feaa2344693502f6",name:"sticky-header"}))),h("div",{key:"718778b6897b09783c1cb28c4d05a29c60a969e7",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true}},h("slot",{key:"c0ab6f7bea6779ea11e6f6d3fb9758c7ae96ff66"})),h(FocusGuard,{key:"1a537464c41b73e910b26f02eb6249451749a503",moveFocusTo:this.closeButton}))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:["handleOpenChange"]}},enumerable:false,configurable:true});return e}();DuetSlideoutPanel.style=DuetSlideoutPanelStyle0;export{DuetSlideoutPanel as duet_slideout_panel};
4
+ */import{r as registerInstance,h,H as Host,g as getElement}from"./index-22246570.js";import{i as inheritGlobalTheme}from"./themeable-component-f4a04f2f.js";import{e as enableBodyScroll,d as disableBodyScroll}from"./body-scroll-46854769.js";import{F as FocusGuard}from"./focus-utils-d6e4011c.js";import{a as getLanguage,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver,g as getLocaleString}from"./language-utils-09809102.js";import{h as hasSlot}from"./slot-utils-eb668280.js";import{g as getColorByName}from"./token-utils-d02c20ff.js";import"./string-utils-192eb3c8.js";import"./tokens.module-7b07911f.js";var duetSlideoutPanelCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel{position:relative;height:100%}.duet-slideout-panel .link{position:relative;display:flex;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 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:1.5rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-slideout-panel .link:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-slideout-panel .link:focus,.duet-slideout-panel .link:focus.duet-theme-turva,.duet-theme-turva2 .duet-slideout-panel .link:focus,.duet-slideout-panel .link:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-slideout-panel .link .duet-slideout-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-slideout-panel .link .duet-slideout-icon{margin-right:8px}}.duet-slideout-panel .link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}.duet-slideout-panel .link .label-text.small{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.medium{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.large{font-size:1.25rem;font-weight:800}.duet-slideout-panel .link.active .label-text{position:relative}.duet-slideout-panel .link.active .label-text.small::after{height:1px;transform:translateY(1px)}.duet-slideout-panel .link.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transform:translateY(2px)}.duet-slideout-panel .dialog{position:fixed;top:0;right:0;z-index:600;visibility:visible;width:min(450px, 100%);height:100%;overflow-y:auto}.duet-slideout-panel .dialog.hidden{visibility:hidden}.duet-slideout-panel .dialog.hidden .top .back,.duet-slideout-panel .dialog.hidden .top span{opacity:0}.duet-slideout-panel .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout-panel .top-container.has-sticky-header-slot .top{background:rgb(240, 247, 250)}.duet-slideout-panel .top-container.has-sticky-header-slot .sticky-header{display:block;padding:0 16px}.duet-slideout-panel .top{display:flex;align-items:center;justify-content:space-between;padding:4px}.duet-slideout-panel .top .back{opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .close:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .back:focus.duet-theme-turva,.duet-theme-turva2 .duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .back:focus.duet-theme-turva2,.duet-theme-turva .duet-slideout-panel .top .close:focus,.duet-slideout-panel .top .close:focus.duet-theme-turva,.duet-theme-turva2 .duet-slideout-panel .top .close:focus,.duet-slideout-panel .top .close:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-slideout-panel .top duet-icon{padding:16px}.duet-slideout-panel .top span{font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.1rem;font-weight:700;line-height:1.5;color:rgb(8, 42, 77);opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229)}.duet-slideout-panel .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:12px 20px;overflow-y:auto;color:rgb(8, 42, 77)}@media (min-width: 36em){.duet-slideout-panel .items{padding:16px 28px}}.duet-slideout-panel duet-indicator{top:4px}.duet-slideout-panel.duet-theme-turva .link{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(198, 12, 48)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 247, 250)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-slideout-panel.duet-theme-turva .top span{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)}slot:not([name=label]){--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:600;color:rgb(8, 42, 77)}.duet-theme-turva slot:not([name=label]){color:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .link{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(253, 247, 242);border-bottom-color:rgb(251, 225, 209)}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .top span{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) slot:not([name=label]){color:rgb(23, 42, 59)}';var DuetSlideoutPanelStyle0=duetSlideoutPanelCss;var DuetSlideoutPanel=function(){function e(e){var t=this;registerInstance(this,e);this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"};this.backLangObject={en:"Back to main menu",fi:"Takaisin päävalikkoon",sv:"Tillbaka till huvudmenyn"};this.hasStickyHeaderSlot=false;this.updateLabel=function(){var e=t.element.querySelector("[slot='label']");t.label=e};this.toggleMenu=function(){t.open=!t.open};this.onClick=function(){t.toggleMenu()};this.onCloseClick=function(e){e.stopPropagation();var a=t.element.parentElement;if(a.tagName==="DUET-SLIDEOUT"){var i=t.element.parentElement;enableBodyScroll(t.dialog);t.bodyScrollLocked=false;i.toggle()}};this.label=undefined;this.language=getLanguage();this.bodyScrollLocked=false;this.theme="";this.active=false;this.open=false;this.icon=undefined;this.labelSize="medium";this.backgroundColor="gray-lightest";this.badge=false}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.updateLabel();this.hasStickyHeaderSlot=hasSlot(this.element,"sticky-header")};e.prototype.connectedCallback=function(){var e=this;connectLanguageChangeObserver(this);this.mutationObserver=new MutationObserver((function(){var t=e.element.parentElement;if(t.tagName==="DUET-SLIDEOUT"){var a=e.element.parentElement;if(a.open&&e.open&&!e.bodyScrollLocked){e.bodyScrollLocked=true;disableBodyScroll(e.dialog,{reserveScrollBarGap:true})}else if(!a.open&&e.bodyScrollLocked){e.bodyScrollLocked=false;enableBodyScroll(e.dialog)}}}));this.mutationObserver.observe(this.element.parentElement,{childList:false,attributeFilter:["open"],subtree:false})};e.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this);if(this.dialog){enableBodyScroll(this.dialog);this.bodyScrollLocked=false}if(this.mutationObserver){this.mutationObserver.disconnect()}};e.prototype.handleOpenChange=function(e,t){var a=this;if(!!e===!!t){return}if(this.open&&!t){setTimeout((function(){var e=Array.from(a.element.parentElement.children);e.forEach((function(e){if(e!==a.element){e.inert=true}}));if(!a.bodyScrollLocked){disableBodyScroll(a.dialog,{reserveScrollBarGap:true});a.bodyScrollLocked=true}a.closeButton.focus()}),200)}else if(!this.open&&t){setTimeout((function(){var e=Array.from(a.element.parentElement.children);e.forEach((function(e){e.inert=false}));a.openButton.focus();enableBodyScroll(a.dialog);a.bodyScrollLocked=false}),200)}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(a){if(this.open){setTimeout((function(){t.closeButton.focus(e)}),200)}else{setTimeout((function(){t.openButton.focus(e)}),200)}return[2]}))}))};e.prototype.render=function(){var e;var t=this;var a={background:getColorByName(this.backgroundColor,this.theme)};var i=getLocaleString(this.exitLangObject);var o=getLocaleString(this.backLangObject);return h(Host,{key:"35f2c88d333a9f340fe932b7b4d1a7b0e161121c"},h("div",{key:"4c41b297d480b756e8f8a6534bd8a9bfe11752f6",class:{"duet-slideout-panel":true,"duet-theme-turva":this.theme==="turva",active:this.open}},this.badge&&h("duet-indicator",{key:"ab7fdbdf53e7a00de6d029caf32059da791cd8c6",variation:"change"}),h("button",{key:"bb2ed0ca834c688335e09255fb0a7abadd443e65",ref:function(e){return t.openButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{link:true,active:this.active,"duet-theme-turva":this.theme==="turva"},onClick:this.onClick,inert:this.open},this.icon&&h("div",{key:"d2ceb81a5d356ed8cde8bb422eadfdca1f694b5b",class:"duet-slideout-icon"},h("duet-icon",{key:"422f41f7a1721d55c213d1c3656ed35e71ab8f5a",name:this.icon,size:"small",margin:"none",color:"secondary"})),h("span",{key:"cdfcaf9efde37a4cdd7797040aa7281aa9d14d03",class:"label"},h("span",{key:"bf85b1b0eb2fcf3e119e0e19c78e7d0bec4a81ac",class:(e={"label-text":true},e[this.labelSize]=true,e)},h("slot",{key:"47258033a5a31298804cf656039c429c462cf8ff",name:"label"})),h("duet-icon",{key:"1a134e002b4e54d7b2aba8462d46890b4cece1db",class:"caret",name:"action-arrow-right",margin:"none",size:"x-small",color:"secondary"}))),h("div",{key:"25fc33ae8ef77c513c4966a0b44e9d87ba979832",ref:function(e){return t.dialog=e},class:{dialog:true,hidden:!this.open},style:a},h(FocusGuard,{key:"84d9b40827aa1b8e5651febd8a9e0b7af206bd21",moveFocusTo:this.closeButton}),h("div",{key:"fb989b818bcdccacda4bd975a71fabe74bf07e17",class:{"top-container":true,"has-sticky-header-slot":this.hasStickyHeaderSlot}},h("div",{key:"bdc79ef4c0ca28dd92ac8808ae32142beeb68e68",class:"top"},h("button",{key:"247fed3b9148060448c542e038a64b45ecb229fa",ref:function(e){return t.closeButton=e},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-label":"".concat(o),type:"button",class:{back:true,"duet-theme-turva":this.theme==="turva"},onClick:this.onClick},h("duet-icon",{key:"c019deaf0645e494c2eb6c3348a804490a904ce1",class:"caret",name:"action-arrow-left",margin:"none",size:"small",color:"secondary"})),h("span",{key:"f9248737a100ea05c07aae78f30c2e4f606eb85a"},this.label.innerHTML),h("button",{key:"64f1f447c272650ae5d82c77a3f7d90f6a411cbd",class:{close:true,"duet-theme-turva":this.theme==="turva"},type:"button",onClick:this.onCloseClick,"aria-label":"".concat(i)},h("duet-icon",{key:"3737094efd584ea8792fb742f1871984f099e761",name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),h("div",{key:"3fc932167f02adea970a4477eab2eea93e2c8db3",class:"sticky-header"},h("slot",{key:"835722e1ea03d08dc53d674d2170844e582bb414",name:"sticky-header"}))),h("div",{key:"70131a1615c354acf6f46c6eca1116116960f8c6",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true}},h("slot",{key:"4a3b4ec54bbde2ec40c4184e2f8cbcb5030c507b"})),h(FocusGuard,{key:"5cb519614160903a84503fc21ab428518004f284",moveFocusTo:this.closeButton}))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:["handleOpenChange"]}},enumerable:false,configurable:true});return e}();DuetSlideoutPanel.style=DuetSlideoutPanelStyle0;export{DuetSlideoutPanel as duet_slideout_panel};
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,i,o){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,s){function n(t){try{u(o.next(t))}catch(t){s(t)}}function r(t){try{u(o["throw"](t))}catch(t){s(t)}}function u(t){t.done?i(t.value):a(t.value).then(n,r)}u((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},o,a,s,n;return n={next:r(0),throw:r(1),return:r(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function r(t){return function(e){return u([t,e])}}function u(r){if(o)throw new TypeError("Generator is already executing.");while(n&&(n=0,r[0]&&(i=0)),i)try{if(o=1,a&&(s=r[0]&2?a["return"]:r[0]?a["throw"]||((s=a["return"])&&s.call(a),0):a.next)&&!(s=s.call(a,r[1])).done)return s;if(a=0,s)r=[r[0]&2,s.value];switch(r[0]){case 0:case 1:s=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;a=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!s||r[1]>s[0]&&r[1]<s[3])){i.label=r[1];break}if(r[0]===6&&i.label<s[1]){i.label=s[1];s=r;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(r);break}if(s[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];a=0}finally{o=s=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-79fc1b32.js";import{i as inheritGlobalTheme}from"./themeable-component-356b273d.js";import{e as enableBodyScroll,d as disableBodyScroll}from"./body-scroll-46854769.js";import{f as focusElement,F as FocusGuard}from"./focus-utils-1bece0cd.js";import{f as isEscapeKey}from"./keyboard-utils-daf80d44.js";import{a as getLanguage,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver,g as getLocaleString}from"./language-utils-a17dc5f3.js";import{h as hasSlot}from"./slot-utils-b099bb75.js";import{T as Teleport}from"./teleport-aa27d5f9.js";import{g as getColorByName}from"./token-utils-cf052bc0.js";import"./string-utils-192eb3c8.js";import"./tokens.module-821694bb.js";var duetSlideoutCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;height:100%}::slotted(*){position:relative;width:100%;visibility:hidden;opacity:0;transition:opacity 300ms ease;transition-delay:300ms}:host([open]:not([open=false])) ::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77)}.duet-slideout.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgb(23, 28, 58)}}.duet-slideout .dialog{position:fixed;top:0;right:0;bottom:0;left:auto;z-index:600;width:min(450px, 100%);padding-bottom:75px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1) inset;transition:bottom 300ms ease;transition-delay:0s}.duet-slideout .dialog:not(.modal){box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}.duet-slideout .dialog .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout .dialog .top-container.has-sticky-header-slot .top{background:rgb(240, 247, 250)}.duet-slideout .dialog .top-container.has-sticky-header-slot .sticky-header{display:block}.duet-slideout .dialog .top{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px;opacity:1;transition:opacity 300ms ease}.duet-slideout .dialog .top button{cursor:pointer}.duet-slideout .dialog .top button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout .dialog .top duet-icon{padding:16px}.duet-slideout .dialog .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229)}.duet-slideout .dialog .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:12px 20px;opacity:1;transition:padding 600ms ease, opacity 300ms ease;transition-delay:300ms}@media (min-width: 36em){.duet-slideout .dialog .items{padding:16px 28px}}.duet-slideout .dialog.hidden{bottom:100vh;pointer-events:none;visibility:hidden;transition:300ms ease}.duet-slideout .dialog.hidden .items{padding-top:28px;opacity:0}.duet-slideout .dialog.hidden .top{opacity:0}.duet-slideout.duet-theme-turva .dialog{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}.duet-slideout.duet-theme-turva .dialog:not(.modal){box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}.duet-slideout.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 247, 250)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-slideout.duet-theme-turva .dialog .top button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}slot{color:rgb(8, 42, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva{color:#172a3b}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva .desktop-bg{background:#172a3b}}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva button{color:#172a3b}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva button.active{color:#e61740}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva button.active::after{background:#e61740}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva .has-sticky-header-slot .top{background:#fdf7f2}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header{background:#fdf7f2;border-bottom-color:#fbe1d1}:host(.duet-theme-turva2) slot{color:#172a3b}';var DuetSlideoutStyle0=duetSlideoutCss;var DuetSlideout=function(){function t(t){var e=this;registerInstance(this,t);this.duetSlideoutEvent=createEvent(this,"duetSlideoutEvent",7);this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"};this.topLevelOpenMenuBarLangObject={en:"Exit this menu to find top level items",fi:"Poistu tästä valikosta löytääksesi ylätason kohteet",sv:"Stäng den här menyn för att hitta objekt på toppnivå"};this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(navigator===null||navigator===void 0?void 0:navigator.userAgent);this.hasStickyHeaderSlot=false;this.disconnectController=new AbortController;this.eventListenerController=new AbortController;this.setOpenButton=function(t,i){if(i===void 0){i=false}if(e.eventListenerController){e.eventListenerController.abort()}if(!t){e.openButton=undefined;return}try{var o=t;o.accessiblePopup="true";o.accessibleExpanded=false;e.openButton=o;if(i&&!e.disconnectController.signal.aborted){e.eventListenerController=new AbortController;e.openButton.addEventListener("click",e.openButtonEventListener,{signal:e.eventListenerController.signal})}}catch(t){console.error(t)}};this.setStickHeaderStyleMutations=function(t){if(t===void 0){t=false}var i=e.element.querySelectorAll('[slot="sticky-header"] duet-tab-group');i.forEach((function(e){e.style.position=t?null:"relative";e.style.top=t?null:"1px";e.switchLargeBreakpoint="always"}))};this.openButtonEventListener=function(t){e.onClick(t)};this.getOpenPanel=function(){return e.element.querySelector("duet-slideout-panel[open]")};this.toggleMenu=function(t){e.open=!e.open;e.duetSlideoutEvent.emit({originalEvent:t,data:{element:e.element,open:e.open},component:"duet-slideout"})};this.onClick=function(t){e.toggleMenu(t)};this.language=getLanguage();this.displaying=false;this.openPanel=false;this.theme="";this.accessibleRole="menubar";this.open=false;this.backgroundColor="gray-lightest";this.modal=true}Object.defineProperty(t.prototype,"opener",{get:function(){return this._opener},set:function(t){var e=typeof t==="string";var i=e?document.getElementById(t):t;if(this.openButton!==i){this._opener=t;this.setOpenButton(i,e)}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"controller",{get:function(){return this._opener},set:function(t){this.opener=t},enumerable:false,configurable:true});t.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.hasStickyHeaderSlot=hasSlot(this.element,"sticky-header")};t.prototype.connectedCallback=function(){var t=this;connectLanguageChangeObserver(this);if(this.disconnectController&&this.disconnectController.signal.aborted){this.disconnectController=new AbortController}if(!this.teleport){this.teleport=new Teleport(this.element)}if(this.teleport){this.teleport.activate()}this.setStickHeaderStyleMutations();if(!this.mutationObserver){this.mutationObserver=new MutationObserver((function(){t.openPanel=!!t.getOpenPanel()}))}if(this.mutationObserver){this.mutationObserver.observe(this.element,{childList:true,attributeFilter:["open"],subtree:true})}};t.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this);if(this.dialog&&this.modal){enableBodyScroll(this.dialog)}if(this.mutationObserver){this.mutationObserver.disconnect()}if(this.disconnectController){this.disconnectController.abort()}this.setOpenButton(undefined);this.setStickHeaderStyleMutations(true)};t.prototype.handleOpenChange=function(t,e){var i=this;if(!!t===!!e){return}if(this.open&&!e){if(this.openButton){this.openButton.accessibleExpanded=true}var o=this.getOpenPanel();this.teleport.makeSiblingsInert();if(this.modal){disableBodyScroll(this.dialog,{reserveScrollBarGap:true})}if(o){o.setFocus()}else{setTimeout((function(){i.closeButton.focus()}),200)}}else if(!this.open&&e){if(this.openButton){this.openButton.accessibleExpanded=false}setTimeout((function(){focusElement(i.openButton);if(i.modal){enableBodyScroll(i.dialog)}i.teleport.removeInertFromSiblings()}),200)}};t.prototype.handleKeyUp=function(t){if(isEscapeKey(t)){if(this.open){this.toggleMenu(t)}}};t.prototype.handleDocumentClick=function(t){if(!this.open){return}var e=t.composedPath();if(!e.includes(this.dialog)&&!e.includes(this.openButton)){this.toggleMenu(t)}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){(e=this.openButton)===null||e===void 0?void 0:e.focus(t);return[2]}))}))};t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){t=new CustomEvent("toggle");this.toggleMenu(t);setTimeout((function(){e.closeButton.focus()}),200);return[2]}))}))};t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.open){return[2]}this.setOpenButton(document.activeElement);this.toggleMenu(new CustomEvent("toggle"));return[2]}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.open){return[2]}this.toggleMenu(new CustomEvent("toggle"));return[2]}))}))};t.prototype.render=function(){var t=this;var e={background:getColorByName(this.backgroundColor,this.theme)};var i=getLocaleString(this.topLevelOpenMenuBarLangObject);var o=getLocaleString(this.exitLangObject);return h(Host,{key:"092ff7252a26d276ee0925def1cb985c4963f9f9"},h("div",{key:"4798e60685324dc1d96b79ed05d847531821734e",class:{"duet-slideout":true,"duet-theme-turva":this.theme==="turva"}},this.modal&&h("duet-overlay",{key:"6af2c640de7f635373f2f795e4adeebc4432fc87",visible:this.open,zIndex:"600"}),h("div",{key:"6613f55b6e61baa05833e225741427abc9c810bb",ref:function(e){return t.dialog=e},tabindex:"-1",role:"dialog",id:"dialog","aria-labelledby":"button","aria-modal":this.isSafariBrowser?false:true,"aria-flowto":"slot-container",class:{dialog:true,hidden:!this.open,modal:this.modal},style:e},h(FocusGuard,{key:"2bcc71858b33eb7031d874753e5b56ae08d27232",moveFocusTo:this.closeButton}),h("div",{key:"e93b3e3e696fed7a15af0b629cdc75d4e6c6a42e",class:{"top-container":true,"has-sticky-header-slot":this.hasStickyHeaderSlot}},h("div",{key:"3264075d1c8a40dd86f3fd0e54f6c0c3fd14042a",class:"top"},h("button",{key:"65e408749cc6f7ee8c01d1d261cc610df794f3fc",ref:function(e){return t.closeButton=e},"aria-haspopup":"dialog","aria-controls":"dialog","aria-expanded":this.open?"true":"false","aria-label":"".concat(o),type:"button",class:{"slideout-close":true,active:this.open},onClick:this.onClick,inert:this.openPanel},h("duet-icon",{key:"0e81890e31a7c1935f81687260391f8a4efee1dc",name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),h("div",{key:"a337d39c4c83b1f55addb400087a26a359f46167",class:"sticky-header"},h("slot",{key:"4a06486e639fac6b9fa5844e8b4bb0ad30ebe50a",name:"sticky-header"}))),h("div",{key:"3f809bf568d2364e7aaf4ffe4974a7a221b8fbb5",id:"slot-container",role:this.accessibleRole,"aria-label":this.openPanel?i:null,class:{items:true}},h("slot",{key:"61358e482b8f13d7facf58c55618bd6c45e044f9"})),h(FocusGuard,{key:"bb6241de5b1dd23f17300cb51361bb10b4e6bfc6",moveFocusTo:this.closeButton}))))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{open:["handleOpenChange"]}},enumerable:false,configurable:true});return t}();DuetSlideout.style=DuetSlideoutStyle0;export{DuetSlideout as duet_slideout};
4
+ */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-22246570.js";import{i as inheritGlobalTheme}from"./themeable-component-f4a04f2f.js";import{e as enableBodyScroll,d as disableBodyScroll}from"./body-scroll-46854769.js";import{f as focusElement,F as FocusGuard}from"./focus-utils-d6e4011c.js";import{f as isEscapeKey}from"./keyboard-utils-daf80d44.js";import{a as getLanguage,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver,g as getLocaleString}from"./language-utils-09809102.js";import{h as hasSlot}from"./slot-utils-eb668280.js";import{T as Teleport}from"./teleport-aa27d5f9.js";import{g as getColorByName}from"./token-utils-d02c20ff.js";import"./string-utils-192eb3c8.js";import"./tokens.module-7b07911f.js";var duetSlideoutCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;position:absolute;height:100%}::slotted(*){position:relative;visibility:hidden;width:100%;opacity:0;transition:opacity 300ms ease;transition-delay:300ms}:host([open]:not([open=false])) ::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77)}.duet-slideout.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgb(23, 28, 58)}}.duet-slideout .dialog{position:fixed;top:0;right:0;bottom:0;left:auto;z-index:600;width:min(450px, 100%);padding-bottom:75px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1) inset;transition:bottom 300ms ease;transition-delay:0s}.duet-slideout .dialog:not(.modal){box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}.duet-slideout .dialog .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout .dialog .top-container.has-sticky-header-slot .top{background:rgb(240, 247, 250)}.duet-slideout .dialog .top-container.has-sticky-header-slot .sticky-header{display:block}.duet-slideout .dialog .top{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px;opacity:1;transition:opacity 300ms ease}.duet-slideout .dialog .top button{cursor:pointer}.duet-slideout .dialog .top button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-slideout .dialog .top button:focus,.duet-slideout .dialog .top button:focus.duet-theme-turva,.duet-theme-turva2 .duet-slideout .dialog .top button:focus,.duet-slideout .dialog .top button:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-slideout .dialog .top duet-icon{padding:16px}.duet-slideout .dialog .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229)}.duet-slideout .dialog .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:12px 20px;opacity:1;transition:padding 600ms ease, opacity 300ms ease;transition-delay:300ms}@media (min-width: 36em){.duet-slideout .dialog .items{padding:16px 28px}}.duet-slideout .dialog.hidden{bottom:100vh;visibility:hidden;pointer-events:none;transition:300ms ease}.duet-slideout .dialog.hidden .items{padding-top:28px;opacity:0}.duet-slideout .dialog.hidden .top{opacity:0}.duet-slideout.duet-theme-turva .dialog{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}.duet-slideout.duet-theme-turva .dialog:not(.modal){box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}.duet-slideout.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-slideout.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 247, 250)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}slot{color:rgb(8, 42, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva{color:rgb(23, 42, 59)}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva .desktop-bg{background:rgb(23, 42, 59)}}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva button{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva button.active{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva button.active::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva .has-sticky-header-slot .top{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(253, 247, 242);border-bottom-color:rgb(251, 225, 209)}:host(.duet-theme-turva2) slot{color:rgb(23, 42, 59)}';var DuetSlideoutStyle0=duetSlideoutCss;var DuetSlideout=function(){function t(t){var e=this;registerInstance(this,t);this.duetSlideoutEvent=createEvent(this,"duetSlideoutEvent",7);this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"};this.topLevelOpenMenuBarLangObject={en:"Exit this menu to find top level items",fi:"Poistu tästä valikosta löytääksesi ylätason kohteet",sv:"Stäng den här menyn för att hitta objekt på toppnivå"};this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(navigator===null||navigator===void 0?void 0:navigator.userAgent);this.hasStickyHeaderSlot=false;this.disconnectController=new AbortController;this.eventListenerController=new AbortController;this.setOpenButton=function(t,i){if(i===void 0){i=false}if(e.eventListenerController){e.eventListenerController.abort()}if(!t){e.openButton=undefined;return}try{var o=t;o.accessiblePopup="true";o.accessibleExpanded=false;e.openButton=o;if(i&&!e.disconnectController.signal.aborted){e.eventListenerController=new AbortController;e.openButton.addEventListener("click",e.openButtonEventListener,{signal:e.eventListenerController.signal})}}catch(t){console.error(t)}};this.setStickHeaderStyleMutations=function(t){if(t===void 0){t=false}var i=e.element.querySelectorAll('[slot="sticky-header"] duet-tab-group');i.forEach((function(e){e.style.position=t?null:"relative";e.style.top=t?null:"1px";e.switchLargeBreakpoint="always"}))};this.openButtonEventListener=function(t){e.onClick(t)};this.getOpenPanel=function(){return e.element.querySelector("duet-slideout-panel[open]")};this.toggleMenu=function(t){e.open=!e.open;e.duetSlideoutEvent.emit({originalEvent:t,data:{element:e.element,open:e.open},component:"duet-slideout"})};this.onClick=function(t){e.toggleMenu(t)};this.language=getLanguage();this.displaying=false;this.openPanel=false;this.theme="";this.accessibleRole="menubar";this.open=false;this.backgroundColor="gray-lightest";this.modal=true}Object.defineProperty(t.prototype,"opener",{get:function(){return this._opener},set:function(t){var e=typeof t==="string";var i=e?document.getElementById(t):t;if(this.openButton!==i){this._opener=t;this.setOpenButton(i,e)}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"controller",{get:function(){return this._opener},set:function(t){this.opener=t},enumerable:false,configurable:true});t.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.hasStickyHeaderSlot=hasSlot(this.element,"sticky-header")};t.prototype.connectedCallback=function(){var t=this;connectLanguageChangeObserver(this);if(this.disconnectController&&this.disconnectController.signal.aborted){this.disconnectController=new AbortController}if(!this.teleport){this.teleport=new Teleport(this.element)}if(this.teleport){this.teleport.activate()}this.setStickHeaderStyleMutations();if(!this.mutationObserver){this.mutationObserver=new MutationObserver((function(){t.openPanel=!!t.getOpenPanel()}))}if(this.mutationObserver){this.mutationObserver.observe(this.element,{childList:true,attributeFilter:["open"],subtree:true})}};t.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this);if(this.dialog&&this.modal){enableBodyScroll(this.dialog)}if(this.mutationObserver){this.mutationObserver.disconnect()}if(this.disconnectController){this.disconnectController.abort()}this.setOpenButton(undefined);this.setStickHeaderStyleMutations(true)};t.prototype.handleOpenChange=function(t,e){var i=this;if(!!t===!!e){return}if(this.open&&!e){if(this.openButton){this.openButton.accessibleExpanded=true}var o=this.getOpenPanel();this.teleport.makeSiblingsInert();if(this.modal){disableBodyScroll(this.dialog,{reserveScrollBarGap:true})}if(o){o.setFocus()}else{setTimeout((function(){i.closeButton.focus()}),200)}}else if(!this.open&&e){if(this.openButton){this.openButton.accessibleExpanded=false}setTimeout((function(){focusElement(i.openButton);if(i.modal){enableBodyScroll(i.dialog)}i.teleport.removeInertFromSiblings()}),200)}};t.prototype.handleKeyUp=function(t){if(isEscapeKey(t)){if(this.open){this.toggleMenu(t)}}};t.prototype.handleDocumentClick=function(t){if(!this.open){return}var e=t.composedPath();if(!e.includes(this.dialog)&&!e.includes(this.openButton)){this.toggleMenu(t)}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){(e=this.openButton)===null||e===void 0?void 0:e.focus(t);return[2]}))}))};t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){t=new CustomEvent("toggle");this.toggleMenu(t);setTimeout((function(){e.closeButton.focus()}),200);return[2]}))}))};t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.open){return[2]}this.setOpenButton(document.activeElement);this.toggleMenu(new CustomEvent("toggle"));return[2]}))}))};t.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.open){return[2]}this.toggleMenu(new CustomEvent("toggle"));return[2]}))}))};t.prototype.render=function(){var t=this;var e={background:getColorByName(this.backgroundColor,this.theme)};var i=getLocaleString(this.topLevelOpenMenuBarLangObject);var o=getLocaleString(this.exitLangObject);return h(Host,{key:"092ff7252a26d276ee0925def1cb985c4963f9f9"},h("div",{key:"4798e60685324dc1d96b79ed05d847531821734e",class:{"duet-slideout":true,"duet-theme-turva":this.theme==="turva"}},this.modal&&h("duet-overlay",{key:"6af2c640de7f635373f2f795e4adeebc4432fc87",visible:this.open,zIndex:"600"}),h("div",{key:"6613f55b6e61baa05833e225741427abc9c810bb",ref:function(e){return t.dialog=e},tabindex:"-1",role:"dialog",id:"dialog","aria-labelledby":"button","aria-modal":this.isSafariBrowser?false:true,"aria-flowto":"slot-container",class:{dialog:true,hidden:!this.open,modal:this.modal},style:e},h(FocusGuard,{key:"2bcc71858b33eb7031d874753e5b56ae08d27232",moveFocusTo:this.closeButton}),h("div",{key:"e93b3e3e696fed7a15af0b629cdc75d4e6c6a42e",class:{"top-container":true,"has-sticky-header-slot":this.hasStickyHeaderSlot}},h("div",{key:"3264075d1c8a40dd86f3fd0e54f6c0c3fd14042a",class:"top"},h("button",{key:"a3f4bdaa53dc0db03844bb7eb22ebf24bf13ca97",ref:function(e){return t.closeButton=e},"aria-haspopup":"dialog","aria-controls":"dialog","aria-expanded":this.open?"true":"false","aria-label":"".concat(o),type:"button",class:{"slideout-close":true,active:this.open,"duet-theme-turva":this.theme==="turva"},onClick:this.onClick,inert:this.openPanel},h("duet-icon",{key:"20b4c13d074068a108d641d35774379c8a0e09c0",name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),h("div",{key:"e1b6159ff375a7e954c2a08c7b83012bd0584efd",class:"sticky-header"},h("slot",{key:"8da80f3f654ad32fc3dbd60f973cfc67a3f05395",name:"sticky-header"}))),h("div",{key:"9b937ee229143cbed731694b1fdaee6f3d901569",id:"slot-container",role:this.accessibleRole,"aria-label":this.openPanel?i:null,class:{items:true}},h("slot",{key:"1c039519309719e4a4b71d13355c719af6755a77"})),h(FocusGuard,{key:"bd10152d30a0ae84320b6dda7cf18833abf1f1dc",moveFocusTo:this.closeButton}))))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{open:["handleOpenChange"]}},enumerable:false,configurable:true});return t}();DuetSlideout.style=DuetSlideoutStyle0;export{DuetSlideout as duet_slideout};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as registerInstance,h,H as Host}from"./index-79fc1b32.js";import{t as tokens}from"./tokens-57aa1508.js";var DuetStatusIcon=function(){function t(t){registerInstance(this,t);this.bg={default:{default:"color_lt_blue_200",success:"color_success_200",warning:"color_warning_200",danger:"color_danger_200"},strong:{default:"color_lt_blue_700",success:"color_success_700",warning:"color_warning_500",danger:"color_danger_600"}};this.color={default:{default:"color_lt_blue_800",success:"color_success_800",warning:"color_warning_800",danger:"color_danger_800"},strong:{default:"color_lt_blue_100",success:"color_gray_lightest",warning:"color_warning_900",danger:"color_gray_lightest"}};this.variation="default";this.size="medium";this.margin="auto";this.strong=false}t.prototype.getVariation=function(){return["default","success","danger","warning"].includes(this.variation)?this.variation:"default"};t.prototype.getBg=function(){return tokens[this.bg[this.strong?"strong":"default"][this.getVariation()]]};t.prototype.getColor=function(){return tokens[this.color[this.strong?"strong":"default"][this.getVariation()]]};t.prototype.getIcon=function(){switch(this.getVariation()){case"default":return'\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <rect width="24" height="24" rx="12" fill="'.concat(this.getBg(),'"/>\n <path fill="').concat(this.getColor(),'" d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/>\n <circle fill="').concat(this.getColor(),'" cx="11.625" cy="7.125" r="1.125"/>\n </svg>');case"success":return'\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <rect width="24" height="24" rx="12" fill="'.concat(this.getBg(),'"/>\n <path fill="').concat(this.getColor(),'" d="M9.325 17.916a1.79 1.79 0 0 1-1.498-.799l-2.44-3.462a.75.75 0 0 1 1.227-.864l2.45 3.477a.306.306 0 0 0 .261.148.294.294 0 0 0 .236-.119l7.852-9.935a.75.75 0 1 1 1.175.93l-7.843 9.923a1.781 1.781 0 0 1-.423.396 1.78 1.78 0 0 1-.997.305z"/>\n </svg>');case"warning":case"danger":return'\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <path fill="'.concat(this.getBg(),'" d="M1.27,23.767C1.58,23.919 1.926,24 2.273,24L21.73,24C22.336,24 22.906,23.764 23.334,23.336C23.764,22.908 24.001,22.337 24.001,21.73C24.001,21.383 23.92,21.037 23.768,20.727L14.295,1.429C13.862,0.547 12.981,0 11.997,0C11.605,0 11.227,0.088 10.873,0.262C10.369,0.51 9.954,0.924 9.706,1.429L0.234,20.728C-0.034,21.271 -0.073,21.888 0.123,22.462C0.319,23.036 0.727,23.5 1.27,23.767Z"/>\n <rect fill="').concat(this.getColor(),'" x="11.1" y="7.2" width="1.8" height="8.4" rx="0.9"/>\n <rect fill="').concat(this.getColor(),'" x="10.8" y="18" width="2.4" height="2.4" rx="1.2"/>\n </svg>')}};t.prototype.render=function(){var t;return h(Host,{key:"284be2e2073b0593a3f301e93f02524ed9473460",class:(t={},t["duet-status-icon-".concat(this.getVariation())]=true,t["duet-strong-bg"]=this.strong,t)},h("duet-icon",{key:"fbffdc5785eec0a97fc236b056f01c1cde0140b8",icon:this.getIcon(),size:this.size,margin:this.margin}))};return t}();export{DuetStatusIcon as duet_status_icon};
4
+ import{r as registerInstance,h,H as Host}from"./index-22246570.js";import{t as tokens}from"./tokens-1fd83076.js";var DuetStatusIcon=function(){function t(t){registerInstance(this,t);this.bg={default:{default:"color_lt_blue_200",success:"color_success_200",warning:"color_warning_200",danger:"color_danger_200"},strong:{default:"color_lt_blue_700",success:"color_success_700",warning:"color_warning_500",danger:"color_danger_600"}};this.color={default:{default:"color_lt_blue_800",success:"color_success_800",warning:"color_warning_800",danger:"color_danger_800"},strong:{default:"color_lt_blue_100",success:"color_gray_lightest",warning:"color_warning_900",danger:"color_gray_lightest"}};this.variation="default";this.size="medium";this.margin="auto";this.strong=false}t.prototype.getVariation=function(){return["default","success","danger","warning"].includes(this.variation)?this.variation:"default"};t.prototype.getBg=function(){return tokens[this.bg[this.strong?"strong":"default"][this.getVariation()]]};t.prototype.getColor=function(){return tokens[this.color[this.strong?"strong":"default"][this.getVariation()]]};t.prototype.getIcon=function(){switch(this.getVariation()){case"default":return'\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <rect width="24" height="24" rx="12" fill="'.concat(this.getBg(),'"/>\n <path fill="').concat(this.getColor(),'" d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/>\n <circle fill="').concat(this.getColor(),'" cx="11.625" cy="7.125" r="1.125"/>\n </svg>');case"success":return'\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <rect width="24" height="24" rx="12" fill="'.concat(this.getBg(),'"/>\n <path fill="').concat(this.getColor(),'" d="M9.325 17.916a1.79 1.79 0 0 1-1.498-.799l-2.44-3.462a.75.75 0 0 1 1.227-.864l2.45 3.477a.306.306 0 0 0 .261.148.294.294 0 0 0 .236-.119l7.852-9.935a.75.75 0 1 1 1.175.93l-7.843 9.923a1.781 1.781 0 0 1-.423.396 1.78 1.78 0 0 1-.997.305z"/>\n </svg>');case"warning":case"danger":return'\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <path fill="'.concat(this.getBg(),'" d="M1.27,23.767C1.58,23.919 1.926,24 2.273,24L21.73,24C22.336,24 22.906,23.764 23.334,23.336C23.764,22.908 24.001,22.337 24.001,21.73C24.001,21.383 23.92,21.037 23.768,20.727L14.295,1.429C13.862,0.547 12.981,0 11.997,0C11.605,0 11.227,0.088 10.873,0.262C10.369,0.51 9.954,0.924 9.706,1.429L0.234,20.728C-0.034,21.271 -0.073,21.888 0.123,22.462C0.319,23.036 0.727,23.5 1.27,23.767Z"/>\n <rect fill="').concat(this.getColor(),'" x="11.1" y="7.2" width="1.8" height="8.4" rx="0.9"/>\n <rect fill="').concat(this.getColor(),'" x="10.8" y="18" width="2.4" height="2.4" rx="1.2"/>\n </svg>')}};t.prototype.render=function(){var t;return h(Host,{key:"284be2e2073b0593a3f301e93f02524ed9473460",class:(t={},t["duet-status-icon-".concat(this.getVariation())]=true,t["duet-strong-bg"]=this.strong,t)},h("duet-icon",{key:"fbffdc5785eec0a97fc236b056f01c1cde0140b8",icon:this.getIcon(),size:this.size,margin:this.margin}))};return t}();export{DuetStatusIcon as duet_status_icon};
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function o(e){try{u(n.next(e))}catch(e){a(e)}}function s(e){try{u(n["throw"](e))}catch(e){a(e)}}function u(e){e.done?i(e.value):r(e.value).then(o,s)}u((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return u([e,t])}}function u(s){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(i=0)),i)try{if(n=1,r&&(a=s[0]&2?r["return"]:s[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;if(r=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;r=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(s[0]===6&&i.label<a[1]){i.label=a[1];a=s;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(s);break}if(a[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];r=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-79fc1b32.js";import{i as inheritGlobalTheme}from"./themeable-component-356b273d.js";import{c as createID}from"./create-id-149a1b6d.js";import{i as isKeyboardClick,s as subscribeTabbingChange,u as unsubscribeTabbingChange}from"./keyboard-utils-daf80d44.js";import{d as DuetStringsListStepOfTotal}from"./common-strings-1274857d.js";import{a as getLanguage,g as getLocaleString}from"./language-utils-a17dc5f3.js";import"./string-utils-192eb3c8.js";var actionEdit2={title:"action-edit-2",tags:"action edit 2 pen pencil",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762z"/></svg>'};var duetStepCss='*,*::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-step{padding:20px !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;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.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";box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.rounded-top{border-top-left-radius:4px;border-top-right-radius:4px}.duet-step.rounded-bottom{margin-bottom:20px !important;border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-step.rounded-bottom{margin-bottom:0 !important}}@media (min-width: 36em){.duet-step{padding:0 20px 0 0 !important;margin:0 !important;font-size:1.25rem;box-shadow:none !important}}.duet-step-heading{display:flex;align-items:center;border-radius:4px}.duet-step-heading[aria-disabled=false]{cursor:pointer}.duet-step-heading:focus{outline:0}.duet-step-heading:active{opacity:0.75}:host(.user-is-tabbing) .duet-step-heading:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-step-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.is-complete .duet-step-heading:hover .duet-step-counter,.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#005f8f}.duet-theme-turva.is-complete .duet-step-heading:hover .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#9e0a26}.is-current .duet-step-heading{margin-bottom:20px}@media (min-width: 36em){.duet-step-heading{margin-top:8px;margin-bottom:8px !important}:host(:first-of-type) .duet-step-heading{margin-top:0}:host(:last-of-type) .duet-step-heading{margin-bottom:0 !important}}.duet-step-counter{-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;line-height:30px;color:rgb(255, 255, 255);text-align:center;border-radius:50%;transition:background-color 300ms ease}@media (min-width: 36em){.duet-step-counter{width:40px;height:40px;line-height:40px}}.is-complete .duet-step-counter,.is-current .duet-step-counter,.is-disabled .duet-step-counter{background-color:rgb(0, 119, 179)}.duet-theme-turva.is-complete .duet-step-counter,.duet-theme-turva.is-current .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-counter{background-color:rgb(198, 12, 48)}.is-incomplete .duet-step-counter{background-color:rgb(98, 121, 138)}.duet-theme-turva.is-incomplete .duet-step-counter{background-color:rgb(143, 147, 158)}.duet-step-icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px}@media (min-width: 36em){.duet-step-icon{width:20px;height:20px}}.duet-step-icon duet-icon{width:16px;height:16px}@media (min-width: 36em){.duet-step-icon duet-icon{width:20px;height:20px}}@media (min-width: 36em){.duet-step-content-wrapper{min-height:20px;padding-left:40px;margin-left:19px;border-left:2px solid rgb(212, 223, 229)}.duet-theme-turva .duet-step-content-wrapper{border-color:rgb(222, 224, 228)}:host(:last-of-type) .duet-step-content-wrapper{min-height:0;border:transparent}}.duet-step-content{display:none;padding-bottom:16px}@media (min-width: 36em){.duet-step-content{padding-bottom:28px}}.is-current .duet-step-content{display:block}.duet-step-heading-slot{display:none;margin-top:2px}@media (min-width: 48em){.duet-step-heading-slot{display:block}}:host(.duet-theme-turva2) .duet-theme-turva.is-complete .duet-step-counter,:host(.duet-theme-turva2) .duet-theme-turva.is-current .duet-step-counter,:host(.duet-theme-turva2) .duet-theme-turva.is-disabled .duet-step-counter{background-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva.is-complete .duet-step-heading:hover .duet-step-counter,:host(.duet-theme-turva2) .duet-theme-turva.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#b81233}:host(.duet-theme-turva2) .duet-theme-turva .duet-step-content-wrapper{border-color:#fbe1d1}';var DuetStepStyle0=duetStepCss;var DuetStep=function(){function e(e){var t=this;registerInstance(this,e);this.duetStepClick=createEvent(this,"duetStepClick",7);this.buttonId=createID("DuetStepButton");this.contentId=createID("DuetStepContent");this.handleKeyDown=function(e){if(t.isClickDisabled()){return}if(isKeyboardClick(e)){e.preventDefault();t.handleStepClick(e)}};this.handleClick=function(e){if(t.isClickDisabled()){return}t.handleStepClick(e)};this.theme="";this.heading=undefined;this.headingLevel=undefined;this.stepIndex=undefined;this.state=undefined;this.roundedTop=false;this.roundedBottom=false}e.prototype.handleStepClick=function(e){this.duetStepClick.emit({originalEvent:e,component:"duet-step",stepIndex:this.stepIndex})};e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.connectedCallback=function(){subscribeTabbingChange(this)};e.prototype.disconnectedCallback=function(){unsubscribeTabbingChange(this)};e.prototype.setFocus=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e={preventScroll:true}}return __generator(this,(function(t){this.buttonElement.focus(e);return[2]}))}))};e.prototype.isClickDisabled=function(){return this.state!=="complete"};e.prototype.headingColor=function(){if(this.state!=="incomplete"){return""}if(this.theme!=="turva"){return"gray-darker"}else{return"gray-dark-turva"}};e.prototype.renderStepCounter=function(){if(this.state==="complete"||this.state==="disabled"){return h("div",{class:"duet-step-icon"},h("duet-icon",{margin:"none",size:"auto",color:"gray-lightest",icon:actionEdit2.svg}))}return"".concat(this.stepIndex+1," ")};e.prototype.render=function(){var e;var t=this;return h("div",{class:(e={"duet-step":true},e["is-".concat(this.state)]=true,e["rounded-top"]=this.roundedTop,e["rounded-bottom"]=this.roundedBottom,e["duet-theme-turva"]=this.theme==="turva",e)},h("div",{class:"duet-step-heading",id:this.buttonId,role:this.state!=="current"?"button":"region","aria-current":this.state==="current"?"step":undefined,tabindex:this.state!=="current"?"0":undefined,"aria-disabled":this.isClickDisabled().toString(),"aria-expanded":(this.state==="current").toString(),"aria-controls":this.contentId,"aria-selected":(this.state==="current").toString(),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(e){return t.buttonElement=e}},h("div",{"aria-hidden":"true"},h("div",{class:"duet-step-counter"},this.renderStepCounter())),h("duet-spacer",{direction:"horizontal",size:"large",breakpoint:"small"}),h("duet-spacer",{direction:"horizontal",size:"medium",breakpoint:"x-small"}),h("div",null,h("duet-heading",{theme:this.theme,level:this.headingLevel,visualLevel:"h4",color:this.headingColor(),margin:"none"},this.heading)),h("duet-spacer",{direction:"horizontal",size:"large"}),h("div",{class:"duet-step-heading-slot"},h("slot",{name:"heading-content"}))),h("div",{class:"duet-step-content-wrapper"},h("div",{class:"duet-step-content",role:"region","aria-labelledby":this.buttonId,id:this.contentId},h("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetStep.style=DuetStepStyle0;function groupBy(e,t){var i={};t.forEach((function(t){var n=t[e];if(!i[n]){i[n]=[]}i[n].push(t)}));return i}var duetStepperCss=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}.duet-stepper{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-stepper{padding:28px !important;padding-top:36px !important;padding-bottom:36px !important;background:rgb(255, 255, 255);border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}}";var DuetStepperStyle0=duetStepperCss;var DuetStepper=function(){function e(e){registerInstance(this,e);this.duetStepChange=createEvent(this,"duetStepChange",7);this.language=getLanguage();this.theme="";this.accessibleLive=getLocaleString(DuetStringsListStepOfTotal,this.language);this.margin="auto";this.backDisabled=false;this.selected=0}e.prototype.currentStepChanged=function(e){var t=this;if(isNaN(e)){throw new Error("step must be a number. got: ".concat(e))}if(e<0){throw new Error("step must be not be less than zero. got: ".concat(e))}if(e>this.getSteps().length){throw new Error("step must not exceed total number of steps")}this.updateStepState();setTimeout((function(){return t.setStepFocus()}),50)};e.prototype.currentStepInvokedDisable=function(){this.updateStepState()};e.prototype.onDuetStepClick=function(e){this.duetStepChange.emit({fromStep:this.selected,toStep:e.detail.stepIndex,component:"duet-stepper"})};e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){{this.childObserver=new MutationObserver(this.updateStepState.bind(this));this.childObserver.observe(this.element,{childList:true})}this.updateStepState();return[2]}))}))};e.prototype.disconnectedCallback=function(){if(this.childObserver){this.childObserver.disconnect();this.childObserver=undefined}};e.prototype.getSteps=function(){return Array.from(this.element.querySelectorAll("duet-step"))};e.prototype.setStepFocus=function(){var e=this.getSteps();var t=e[this.selected];t.setFocus()};e.prototype.updateStepState=function(){var e=this;var t=this.getSteps();t.forEach((function(t,i){var n;if(i<e.selected){n=e.backDisabled?"disabled":"complete"}else if(i>e.selected){n="incomplete"}else{n="current"}t.theme=e.theme;t.state=n;t.stepIndex=i}));var i=groupBy("state",t);Object.values(i).forEach((function(e){e.forEach((function(t,i){t.roundedTop=i===0;t.roundedBottom=i===e.length-1}))}))};e.prototype.formatAnnouncement=function(){var e=this.getSteps();var t=(this.selected+1).toString(10);var i=e.length.toString(10);return this.accessibleLive.replace("{current}",t).replace("{total}",i)};e.prototype.render=function(){return h(Host,{key:"8990256cd5a15e62e1e41d4d99ec61376c0fab88",class:{"duet-m-0":this.margin==="none"}},h("div",{key:"6a9e41f275fa7183528d2ef71eaf9b0964883aa0",class:{"duet-stepper":true,"duet-theme-turva":this.theme==="turva"}},h("duet-visually-hidden",{key:"0afabdd2da5214751347e4c8cd6b364012eeda47","aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement()),h("slot",{key:"e2f78e4998188083683ca19ea28cb04eba2b893c"})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{selected:["currentStepChanged"],backDisabled:["currentStepInvokedDisable"]}},enumerable:false,configurable:true});return e}();DuetStepper.style=DuetStepperStyle0;export{DuetStep as duet_step,DuetStepper as duet_stepper};
4
+ */import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-22246570.js";import{i as inheritGlobalTheme}from"./themeable-component-f4a04f2f.js";import{c as createID}from"./create-id-149a1b6d.js";import{i as isKeyboardClick,s as subscribeTabbingChange,u as unsubscribeTabbingChange}from"./keyboard-utils-daf80d44.js";import{d as DuetStringsListStepOfTotal}from"./common-strings-1274857d.js";import{a as getLanguage,g as getLocaleString}from"./language-utils-09809102.js";import"./string-utils-192eb3c8.js";var actionEdit2={title:"action-edit-2",tags:"action edit 2 pen pencil",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762z"/></svg>'};var duetStepCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block}.duet-step{padding:20px !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;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.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";box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.rounded-top{border-top-left-radius:4px;border-top-right-radius:4px}.duet-step.rounded-bottom{margin-bottom:20px !important;border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-step.rounded-bottom{margin-bottom:0 !important}}@media (min-width: 36em){.duet-step{padding:0 20px 0 0 !important;margin:0 !important;font-size:1.25rem;box-shadow:none !important}}.duet-step-heading{display:flex;align-items:center;border-radius:4px}.duet-step-heading:focus{outline:0}:host(.user-is-tabbing) .duet-step-heading:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-step-heading:focus,:host(.user-is-tabbing) .duet-step-heading:focus.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-step-heading:focus,:host(.user-is-tabbing) .duet-step-heading:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-step-heading[aria-disabled=false]{cursor:pointer}.duet-step-heading:active{opacity:0.75}.is-complete .duet-step-heading:hover .duet-step-counter,.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#005f8f}.duet-theme-turva.is-complete .duet-step-heading:hover .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#9e0a26}.is-current .duet-step-heading{margin-bottom:20px}@media (min-width: 36em){.duet-step-heading{margin-top:8px;margin-bottom:8px !important}:host(:first-of-type) .duet-step-heading{margin-top:0}:host(:last-of-type) .duet-step-heading{margin-bottom:0 !important}}.duet-step-counter{-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;line-height:30px;color:rgb(255, 255, 255);text-align:center;border-radius:50%;transition:background-color 300ms ease}@media (min-width: 36em){.duet-step-counter{width:40px;height:40px;line-height:40px}}.is-complete .duet-step-counter,.is-current .duet-step-counter,.is-disabled .duet-step-counter{background-color:rgb(0, 119, 179)}.duet-theme-turva.is-complete .duet-step-counter,.duet-theme-turva.is-current .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-counter{background-color:rgb(198, 12, 48)}.is-incomplete .duet-step-counter{background-color:rgb(98, 121, 138)}.duet-theme-turva.is-incomplete .duet-step-counter{background-color:rgb(143, 147, 158)}.duet-step-icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px}@media (min-width: 36em){.duet-step-icon{width:20px;height:20px}}.duet-step-icon duet-icon{width:16px;height:16px}@media (min-width: 36em){.duet-step-icon duet-icon{width:20px;height:20px}}@media (min-width: 36em){.duet-step-content-wrapper{min-height:20px;padding-left:40px;margin-left:19px;border-left:2px solid rgb(212, 223, 229)}.duet-theme-turva .duet-step-content-wrapper{border-color:rgb(222, 224, 228)}:host(:last-of-type) .duet-step-content-wrapper{min-height:0;border:transparent}}.duet-step-content{display:none;padding-bottom:16px}@media (min-width: 36em){.duet-step-content{padding-bottom:28px}}.is-current .duet-step-content{display:block}.duet-step-heading-slot{display:none;margin-top:2px}@media (min-width: 48em){.duet-step-heading-slot{display:block}}:host(.duet-theme-turva2) .duet-theme-turva.is-complete .duet-step-counter,:host(.duet-theme-turva2) .duet-theme-turva.is-current .duet-step-counter,:host(.duet-theme-turva2) .duet-theme-turva.is-disabled .duet-step-counter{background-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva.is-complete .duet-step-heading:hover .duet-step-counter,:host(.duet-theme-turva2) .duet-theme-turva.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#b81233}:host(.duet-theme-turva2) .duet-theme-turva .duet-step-content-wrapper{border-color:rgb(251, 225, 209)}';var DuetStepStyle0=duetStepCss;var DuetStep=function(){function e(e){var t=this;registerInstance(this,e);this.duetStepClick=createEvent(this,"duetStepClick",7);this.buttonId=createID("DuetStepButton");this.contentId=createID("DuetStepContent");this.handleKeyDown=function(e){if(t.isClickDisabled()){return}if(isKeyboardClick(e)){e.preventDefault();t.handleStepClick(e)}};this.handleClick=function(e){if(t.isClickDisabled()){return}t.handleStepClick(e)};this.theme="";this.heading=undefined;this.headingLevel=undefined;this.stepIndex=undefined;this.state=undefined;this.roundedTop=false;this.roundedBottom=false}e.prototype.handleStepClick=function(e){this.duetStepClick.emit({originalEvent:e,component:"duet-step",stepIndex:this.stepIndex})};e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.connectedCallback=function(){subscribeTabbingChange(this)};e.prototype.disconnectedCallback=function(){unsubscribeTabbingChange(this)};e.prototype.setFocus=function(){return __awaiter(this,arguments,void 0,(function(e){if(e===void 0){e={preventScroll:true}}return __generator(this,(function(t){this.buttonElement.focus(e);return[2]}))}))};e.prototype.isClickDisabled=function(){return this.state!=="complete"};e.prototype.headingColor=function(){if(this.state!=="incomplete"){return""}if(this.theme!=="turva"){return"gray-darker"}else{return"gray-dark-turva"}};e.prototype.renderStepCounter=function(){if(this.state==="complete"||this.state==="disabled"){return h("div",{class:"duet-step-icon"},h("duet-icon",{margin:"none",size:"auto",color:"gray-lightest",icon:actionEdit2.svg}))}return"".concat(this.stepIndex+1," ")};e.prototype.render=function(){var e;var t=this;return h("div",{class:(e={"duet-step":true},e["is-".concat(this.state)]=true,e["rounded-top"]=this.roundedTop,e["rounded-bottom"]=this.roundedBottom,e["duet-theme-turva"]=this.theme==="turva",e)},h("div",{class:"duet-step-heading",id:this.buttonId,role:this.state!=="current"?"button":"region","aria-current":this.state==="current"?"step":undefined,tabindex:this.state!=="current"?"0":undefined,"aria-disabled":this.isClickDisabled().toString(),"aria-expanded":(this.state==="current").toString(),"aria-controls":this.contentId,"aria-selected":(this.state==="current").toString(),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(e){return t.buttonElement=e}},h("div",{"aria-hidden":"true"},h("div",{class:"duet-step-counter"},this.renderStepCounter())),h("duet-spacer",{direction:"horizontal",size:"large",breakpoint:"small"}),h("duet-spacer",{direction:"horizontal",size:"medium",breakpoint:"x-small"}),h("div",null,h("duet-heading",{theme:this.theme,level:this.headingLevel,visualLevel:"h4",color:this.headingColor(),margin:"none"},this.heading)),h("duet-spacer",{direction:"horizontal",size:"large"}),h("div",{class:"duet-step-heading-slot"},h("slot",{name:"heading-content"}))),h("div",{class:"duet-step-content-wrapper"},h("div",{class:"duet-step-content",role:"region","aria-labelledby":this.buttonId,id:this.contentId},h("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetStep.style=DuetStepStyle0;function groupBy(e,t){var i={};t.forEach((function(t){var n=t[e];if(!i[n]){i[n]=[]}i[n].push(t)}));return i}var duetStepperCss=":host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:20px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}.duet-stepper{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}@media (min-width: 36em){.duet-stepper{padding:28px !important;padding-top:36px !important;padding-bottom:36px !important;background:rgb(255, 255, 255);border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}}";var DuetStepperStyle0=duetStepperCss;var DuetStepper=function(){function e(e){registerInstance(this,e);this.duetStepChange=createEvent(this,"duetStepChange",7);this.language=getLanguage();this.theme="";this.accessibleLive=getLocaleString(DuetStringsListStepOfTotal,this.language);this.margin="auto";this.backDisabled=false;this.selected=0}e.prototype.currentStepChanged=function(e){var t=this;if(isNaN(e)){throw new Error("step must be a number. got: ".concat(e))}if(e<0){throw new Error("step must be not be less than zero. got: ".concat(e))}if(e>this.getSteps().length){throw new Error("step must not exceed total number of steps")}this.updateStepState();setTimeout((function(){return t.setStepFocus()}),50)};e.prototype.currentStepInvokedDisable=function(){this.updateStepState()};e.prototype.onDuetStepClick=function(e){this.duetStepChange.emit({fromStep:this.selected,toStep:e.detail.stepIndex,component:"duet-stepper"})};e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){{this.childObserver=new MutationObserver(this.updateStepState.bind(this));this.childObserver.observe(this.element,{childList:true})}this.updateStepState();return[2]}))}))};e.prototype.disconnectedCallback=function(){if(this.childObserver){this.childObserver.disconnect();this.childObserver=undefined}};e.prototype.getSteps=function(){return Array.from(this.element.querySelectorAll("duet-step"))};e.prototype.setStepFocus=function(){var e=this.getSteps();var t=e[this.selected];t.setFocus()};e.prototype.updateStepState=function(){var e=this;var t=this.getSteps();t.forEach((function(t,i){var n;if(i<e.selected){n=e.backDisabled?"disabled":"complete"}else if(i>e.selected){n="incomplete"}else{n="current"}t.theme=e.theme;t.state=n;t.stepIndex=i}));var i=groupBy("state",t);Object.values(i).forEach((function(e){e.forEach((function(t,i){t.roundedTop=i===0;t.roundedBottom=i===e.length-1}))}))};e.prototype.formatAnnouncement=function(){var e=this.getSteps();var t=(this.selected+1).toString(10);var i=e.length.toString(10);return this.accessibleLive.replace("{current}",t).replace("{total}",i)};e.prototype.render=function(){return h(Host,{key:"8990256cd5a15e62e1e41d4d99ec61376c0fab88",class:{"duet-m-0":this.margin==="none"}},h("div",{key:"6a9e41f275fa7183528d2ef71eaf9b0964883aa0",class:{"duet-stepper":true,"duet-theme-turva":this.theme==="turva"}},h("duet-visually-hidden",{key:"0afabdd2da5214751347e4c8cd6b364012eeda47","aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement()),h("slot",{key:"e2f78e4998188083683ca19ea28cb04eba2b893c"})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{selected:["currentStepChanged"],backDisabled:["currentStepInvokedDisable"]}},enumerable:false,configurable:true});return e}();DuetStepper.style=DuetStepperStyle0;export{DuetStep as duet_step,DuetStepper as duet_stepper};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as registerInstance,h,H as Host,g as getElement}from"./index-79fc1b32.js";import{i as inheritGlobalTheme}from"./themeable-component-356b273d.js";import{f as isEscapeKey}from"./keyboard-utils-daf80d44.js";var duetSubmenuBarDropdownLinkCss='*,*::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-submenu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:8px 20px 8px 60px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);text-align:left;text-decoration:none}.duet-submenu-bar-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-submenu-bar-dropdown-link:focus,.duet-submenu-bar-dropdown-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-dropdown-link .label-container{display:flex;flex:1;gap:12px;align-items:center;justify-content:flex-start}@media (min-width: 62em){.duet-submenu-bar-dropdown-link{padding:0.5rem 8px;font-size:1rem;line-height:1.5}}.duet-submenu-bar-dropdown-link.active .label{position:relative}.duet-submenu-bar-dropdown-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}.duet-submenu-bar-dropdown-link.active .active-check{display:none}.duet-submenu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown-link.duet-theme-turva.active .label::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown-link.active{background:rgb(240, 247, 250)}.duet-submenu-bar-dropdown-link.active .label::after{display:none}.duet-submenu-bar-dropdown-link.active .active-check{display:block}.duet-submenu-bar-dropdown-link.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-submenu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}}.duet-submenu-bar-dropdown-link.highlight{color:rgb(0, 119, 179)}.duet-submenu-bar-dropdown-link.highlight.duet-theme-turva{color:rgb(126, 2, 35)}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown-link.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown-link.duet-theme-turva.active .label::after{background:#e61740}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-submenu-bar-dropdown-link.duet-theme-turva.active{background:#fdf7f2}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown-link.duet-theme-turva:hover{background:#fbe1d1}}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown-link.duet-theme-turva.highlight{color:#e61740}';var DuetSubmenuBarDropdownLinkStyle0=duetSubmenuBarDropdownLinkCss;var DuetSubmenuBarDropdownLink=function(){function e(e){registerInstance(this,e);this.theme="";this.active=false;this.href="#";this.icon=undefined;this.caret=false;this.highlight=false}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.handleEscape=function(e){if(isEscapeKey(e)){var t=this.element.closest("duet-submenu-bar-dropdown");t.open=false;t.setFocus()}};e.prototype.render=function(){var e=this;return h(Host,{key:"19d203a6a4985d18c2b7714a75fb763188d04e1d"},h("a",{key:"a8d6478b1b598715a43964d304e26fae436e9974",class:{"duet-submenu-bar-dropdown-link":true,"duet-theme-turva":this.theme==="turva",highlight:this.highlight,active:this.active},"aria-current":this.active?"true":"false",href:this.href,onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&h("duet-icon",{key:"97b08ff1b5c0f8ce1dff0165f48822ec17cbed8b",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),h("span",{key:"28c79e781839ffd6bf371b22bebd8987ee542493",class:"label-container"},h("span",{key:"9580582e487212cfdf8db2a873f28395f4354c33",class:"label"},h("slot",{key:"bf4e8914b9284c0096d90b032b81e93d3d93da1d"})),this.caret&&h("duet-icon",{key:"6e5bc6f7b3bb53001e69c03c6b375aa1b448b4b1",name:"action-arrow-right-small",size:"xxx-small",margin:"none"})),this.active&&h("duet-icon",{key:"fc32960d986c1dcc88e60944358dfa5320494c41",class:"active-check",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetSubmenuBarDropdownLink.style=DuetSubmenuBarDropdownLinkStyle0;export{DuetSubmenuBarDropdownLink as duet_submenu_bar_dropdown_link};
4
+ import{r as registerInstance,h,H as Host,g as getElement}from"./index-22246570.js";import{i as inheritGlobalTheme}from"./themeable-component-f4a04f2f.js";import{f as isEscapeKey}from"./keyboard-utils-daf80d44.js";var duetSubmenuBarDropdownLinkCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}.duet-submenu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:8px 20px 8px 60px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);text-align:left;text-decoration:none}.duet-submenu-bar-dropdown-link:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-submenu-bar-dropdown-link:focus,.duet-submenu-bar-dropdown-link:focus.duet-theme-turva,.duet-theme-turva2 .duet-submenu-bar-dropdown-link:focus,.duet-submenu-bar-dropdown-link:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-submenu-bar-dropdown-link .label-container{display:flex;flex:1;gap:12px;align-items:center;justify-content:flex-start}@media (min-width: 62em){.duet-submenu-bar-dropdown-link{padding:0.5rem 8px;font-size:1rem;line-height:1.5}}.duet-submenu-bar-dropdown-link.active .label{position:relative}.duet-submenu-bar-dropdown-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}.duet-submenu-bar-dropdown-link.active .active-check{display:none}.duet-submenu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown-link.duet-theme-turva.active .label::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown-link.active{background:rgb(240, 247, 250)}.duet-submenu-bar-dropdown-link.active .label::after{display:none}.duet-submenu-bar-dropdown-link.active .active-check{display:block}.duet-submenu-bar-dropdown-link.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-submenu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}}.duet-submenu-bar-dropdown-link.highlight{color:rgb(0, 119, 179)}.duet-submenu-bar-dropdown-link.highlight.duet-theme-turva{color:rgb(126, 2, 35)}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown-link.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown-link.duet-theme-turva.active .label::after{background:rgb(230, 23, 64)}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-submenu-bar-dropdown-link.duet-theme-turva.active{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown-link.duet-theme-turva:hover{background:rgb(251, 225, 209)}}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown-link.duet-theme-turva.highlight{color:rgb(230, 23, 64)}';var DuetSubmenuBarDropdownLinkStyle0=duetSubmenuBarDropdownLinkCss;var DuetSubmenuBarDropdownLink=function(){function e(e){registerInstance(this,e);this.theme="";this.active=false;this.href="#";this.icon=undefined;this.caret=false;this.highlight=false}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.handleEscape=function(e){if(isEscapeKey(e)){var t=this.element.closest("duet-submenu-bar-dropdown");t.open=false;t.setFocus()}};e.prototype.render=function(){var e=this;return h(Host,{key:"19d203a6a4985d18c2b7714a75fb763188d04e1d"},h("a",{key:"a8d6478b1b598715a43964d304e26fae436e9974",class:{"duet-submenu-bar-dropdown-link":true,"duet-theme-turva":this.theme==="turva",highlight:this.highlight,active:this.active},"aria-current":this.active?"true":"false",href:this.href,onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&h("duet-icon",{key:"97b08ff1b5c0f8ce1dff0165f48822ec17cbed8b",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),h("span",{key:"28c79e781839ffd6bf371b22bebd8987ee542493",class:"label-container"},h("span",{key:"9580582e487212cfdf8db2a873f28395f4354c33",class:"label"},h("slot",{key:"bf4e8914b9284c0096d90b032b81e93d3d93da1d"})),this.caret&&h("duet-icon",{key:"6e5bc6f7b3bb53001e69c03c6b375aa1b448b4b1",name:"action-arrow-right-small",size:"xxx-small",margin:"none"})),this.active&&h("duet-icon",{key:"fc32960d986c1dcc88e60944358dfa5320494c41",class:"active-check",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetSubmenuBarDropdownLink.style=DuetSubmenuBarDropdownLinkStyle0;export{DuetSubmenuBarDropdownLink as duet_submenu_bar_dropdown_link};
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,o){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function u(e){try{i(o.next(e))}catch(e){a(e)}}function d(e){try{i(o["throw"](e))}catch(e){a(e)}}function i(e){e.done?n(e.value):r(e.value).then(u,d)}i((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,r,a,u;return u={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function d(e){return function(t){return i([e,t])}}function i(d){if(o)throw new TypeError("Generator is already executing.");while(u&&(u=0,d[0]&&(n=0)),n)try{if(o=1,r&&(a=d[0]&2?r["return"]:d[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,d[1])).done)return a;if(r=0,a)d=[d[0]&2,a.value];switch(d[0]){case 0:case 1:a=d;break;case 4:n.label++;return{value:d[1],done:false};case 5:n.label++;r=d[1];d=[0];continue;case 7:d=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){n.label=d[1];break}if(d[0]===6&&n.label<a[1]){n.label=a[1];a=d;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(d);break}if(a[2])n.ops.pop();n.trys.pop();continue}d=t.call(e,n)}catch(e){d=[6,e];r=0}finally{o=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,o){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,u){function a(e){try{i(o.next(e))}catch(e){u(e)}}function d(e){try{i(o["throw"](e))}catch(e){u(e)}}function i(e){e.done?n(e.value):r(e.value).then(a,d)}i((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},o,r,u,a;return a={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function d(e){return function(t){return i([e,t])}}function i(d){if(o)throw new TypeError("Generator is already executing.");while(a&&(a=0,d[0]&&(n=0)),n)try{if(o=1,r&&(u=d[0]&2?r["return"]:d[0]?r["throw"]||((u=r["return"])&&u.call(r),0):r.next)&&!(u=u.call(r,d[1])).done)return u;if(r=0,u)d=[d[0]&2,u.value];switch(d[0]){case 0:case 1:u=d;break;case 4:n.label++;return{value:d[1],done:false};case 5:n.label++;r=d[1];d=[0];continue;case 7:d=n.ops.pop();n.trys.pop();continue;default:if(!(u=n.trys,u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){n.label=d[1];break}if(d[0]===6&&n.label<u[1]){n.label=u[1];u=d;break}if(u&&n.label<u[2]){n.label=u[2];n.ops.push(d);break}if(u[2])n.ops.pop();n.trys.pop();continue}d=t.call(e,n)}catch(e){d=[6,e];r=0}finally{o=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */import{r as registerInstance,h,H as Host,g as getElement}from"./index-79fc1b32.js";import{a as media_query_large}from"./tokens-57aa1508.js";import{i as inheritGlobalTheme}from"./themeable-component-356b273d.js";import{f as isEscapeKey}from"./keyboard-utils-daf80d44.js";var duetSubmenuBarDropdownCss='*,*::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-dropdown{position:relative;height:100%}.duet-submenu-bar-dropdown button{position:relative;display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;width:100%;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;cursor:pointer}@media (min-width: 62em){.duet-submenu-bar-dropdown button{flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;font-size:0.875rem;color:rgb(0, 75, 129)}}.duet-submenu-bar-dropdown button .label{display:flex;gap:5px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar-dropdown button.open{background:rgb(228, 241, 247)}}.duet-submenu-bar-dropdown button.open .caret{transform:rotate(180deg)}.duet-submenu-bar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-submenu-bar-dropdown button.active .label-text{position:relative}.duet-submenu-bar-dropdown button.active .label-text::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-dropdown button.active .label-text::after{display:none}}@media (min-width: 62em){.duet-submenu-bar-dropdown button .caret{position:absolute;right:12px}.duet-submenu-bar-dropdown button:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown button:hover.active{color:rgb(8, 42, 77)}.duet-theme-turva .duet-submenu-bar-dropdown button:hover.active{color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-theme-turva .duet-submenu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-submenu-bar-dropdown button.active::after,.duet-submenu-bar-dropdown button.open::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-theme-turva .duet-submenu-bar-dropdown button.active::after,.duet-theme-turva .duet-submenu-bar-dropdown button.open::after{background:rgb(198, 12, 48)}}.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:16px;height:16px}}.duet-submenu-bar-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;max-height:1000px;padding:4px 0 16px;overflow-y:auto;color:rgb(8, 42, 77);visibility:visible;transition:max-height 0.3s ease-in, padding 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-submenu-bar-dropdown .items::-webkit-scrollbar{display:none}@media (min-width: 62em){.duet-submenu-bar-dropdown .items{position:absolute;top:93%;z-index:600;min-width:320px;padding:8px;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);transition:none}}.duet-submenu-bar-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-in, padding 0.3s ease-in}.duet-submenu-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)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button:hover{background:rgb(222, 224, 228)}}.duet-submenu-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-submenu-bar-dropdown.duet-theme-turva button.active .label-text::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open .label-text::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.active,.duet-submenu-bar-dropdown.duet-theme-turva button.open{color:rgb(126, 2, 35)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.open{background:rgb(222, 224, 228)}}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button{color:#172a3b}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button:hover{background:#fbe1d1}}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.active .label-text::after,:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.open .label-text::after{background:#e61740}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.active,:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.open{color:#8c001e}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.active::after,:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.open::after{background:#e61740}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.open{background:#fbe1d1}}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}}';var DuetSubmenuBarDropdownStyle0=duetSubmenuBarDropdownCss;var DuetSubmenuBarDropdown=function(){function e(e){var t=this;registerInstance(this,e);this.mql=[window.matchMedia(media_query_large.replace(/'/g,""))];this.boundMqlFunctions=[];this.checkIsDesktop=function(){if(t.mql[0].matches){t.isDesktop=true}else{t.isDesktop=false}};this.onClick=function(){var e=t.open;if(!t.isDesktop){var n=Array.from(t.element.parentElement.querySelectorAll("duet-submenu-bar-dropdown"));for(var o=0,r=n;o<r.length;o++){var a=r[o];a.open=false}}if(e){t.open=false}else{t.open=true}};this.isDesktop=false;this.theme="";this.active=false;this.open=false;this.icon=undefined}e.prototype.handleFocus=function(e){var t=this;var n=e.composedPath().every((function(e){return e!==t.element}));if(n&&this.isDesktop){this.open=false}};e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.connectedCallback=function(){this.checkIsDesktop();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.checkIsDesktop.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[]};e.prototype.handleEscape=function(e){if(isEscapeKey(e)){if(this.open){this.open=false}else{var t=this.element.closest("duet-submenu-bar");t.open=false;t.setFocus()}}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.button.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;return h(Host,{key:"9f33cd768a1ec69877aa0c76a0c77e1a100afae1",role:"listitem"},h("div",{key:"4d52101b1614586ac501f4e7104da73bbc451f70",class:{"duet-submenu-bar-dropdown":true,"duet-theme-turva":this.theme==="turva",open:this.open,active:this.active}},h("button",{key:"9d4b01c987a80d3ecead8711cd042160ad11c493",ref:function(t){return e.button=t},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{open:this.open,active:this.active},onClick:this.onClick,onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&h("duet-icon",{key:"f854ac46417778ce5eda977417cac11d9c50312a",class:"submenu-bar-dropdown-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),h("div",{key:"3db9012df5d99c1130d2fb288e0442d1ddec24ac",class:"label"},h("span",{key:"389bad658d35704a5ab2bb38e41a6db3f11d73f7",class:"label-text"},h("slot",{key:"ad3d4061471320cd5c87002e3a218f2e02434a2f",name:"label"})),h("duet-icon",{key:"f357faf4c4fa580b7cd66ce2d237ba4f18f0cb13",class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),h("div",{key:"7f5d346ee0965ad2fb4ae90035c37da48f5986bc",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true,hidden:!this.open}},h("slot",{key:"3290a7f8ab15948f69c18da3cd0311615484b5ad"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetSubmenuBarDropdown.style=DuetSubmenuBarDropdownStyle0;export{DuetSubmenuBarDropdown as duet_submenu_bar_dropdown};
4
+ */import{r as registerInstance,h,H as Host,g as getElement}from"./index-22246570.js";import{a as media_query_large}from"./tokens-1fd83076.js";import{i as inheritGlobalTheme}from"./themeable-component-f4a04f2f.js";import{f as isEscapeKey}from"./keyboard-utils-daf80d44.js";var duetSubmenuBarDropdownCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-dropdown{position:relative;height:100%}.duet-submenu-bar-dropdown button{position:relative;display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;width:100%;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;cursor:pointer}.duet-submenu-bar-dropdown button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-submenu-bar-dropdown button:focus,.duet-submenu-bar-dropdown button:focus.duet-theme-turva,.duet-theme-turva2 .duet-submenu-bar-dropdown button:focus,.duet-submenu-bar-dropdown button:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}@media (min-width: 62em){.duet-submenu-bar-dropdown button{flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;font-size:0.875rem;color:rgb(0, 75, 129)}}.duet-submenu-bar-dropdown button .label{display:flex;gap:5px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar-dropdown button.open{background:rgb(228, 241, 247)}}.duet-submenu-bar-dropdown button.open .caret{transform:rotate(180deg)}.duet-submenu-bar-dropdown button.active .label-text{position:relative}.duet-submenu-bar-dropdown button.active .label-text::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-dropdown button.active .label-text::after{display:none}}@media (min-width: 62em){.duet-submenu-bar-dropdown button .caret{position:absolute;right:12px}.duet-submenu-bar-dropdown button:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown button:hover.active{color:rgb(8, 42, 77)}.duet-theme-turva .duet-submenu-bar-dropdown button:hover.active{color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-theme-turva .duet-submenu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-submenu-bar-dropdown button.active::after,.duet-submenu-bar-dropdown button.open::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}.duet-theme-turva .duet-submenu-bar-dropdown button.active::after,.duet-theme-turva .duet-submenu-bar-dropdown button.open::after{background:rgb(198, 12, 48)}}.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:16px;height:16px}}.duet-submenu-bar-dropdown .items{display:flex;visibility:visible;flex-direction:column;align-items:center;justify-content:center;max-height:1000px;padding:4px 0 16px;overflow-y:auto;color:rgb(8, 42, 77);scrollbar-width:none;transition:max-height 0.3s ease-in, padding 0.3s ease-in;-ms-overflow-style:none}.duet-submenu-bar-dropdown .items::-webkit-scrollbar{display:none}@media (min-width: 62em){.duet-submenu-bar-dropdown .items{position:absolute;top:93%;z-index:600;min-width:320px;padding:8px;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);transition:none}}.duet-submenu-bar-dropdown .items.hidden{visibility:hidden;max-height:0;padding:0;overflow:hidden;transition:max-height 0.3s ease-in, padding 0.3s ease-in}.duet-submenu-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)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button:hover{background:rgb(222, 224, 228)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active .label-text::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open .label-text::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.active,.duet-submenu-bar-dropdown.duet-theme-turva button.open{color:rgb(126, 2, 35)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.open{background:rgb(222, 224, 228)}}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button{color:rgb(23, 42, 59)}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button:hover{background:rgb(251, 225, 209)}}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.active .label-text::after,:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.open .label-text::after{background:rgb(230, 23, 64)}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.active,:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.open{color:rgb(140, 0, 30)}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.active::after,:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.open::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.open{background:rgb(251, 225, 209)}}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}}';var DuetSubmenuBarDropdownStyle0=duetSubmenuBarDropdownCss;var DuetSubmenuBarDropdown=function(){function e(e){var t=this;registerInstance(this,e);this.mql=[window.matchMedia(media_query_large.replace(/'/g,""))];this.boundMqlFunctions=[];this.checkIsDesktop=function(){if(t.mql[0].matches){t.isDesktop=true}else{t.isDesktop=false}};this.onClick=function(){var e=t.open;if(!t.isDesktop){var n=Array.from(t.element.parentElement.querySelectorAll("duet-submenu-bar-dropdown"));for(var o=0,r=n;o<r.length;o++){var u=r[o];u.open=false}}if(e){t.open=false}else{t.open=true}};this.isDesktop=false;this.theme="";this.active=false;this.open=false;this.icon=undefined}e.prototype.handleFocus=function(e){var t=this;var n=e.composedPath().every((function(e){return e!==t.element}));if(n&&this.isDesktop){this.open=false}};e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.connectedCallback=function(){this.checkIsDesktop();for(var e=0;e<this.mql.length;e++){if(this.mql[e].addEventListener){var t=this.checkIsDesktop.bind(this);this.mql[e].addEventListener("change",t);this.boundMqlFunctions[e]=t}}};e.prototype.disconnectedCallback=function(){for(var e=0;e<this.mql.length;e++){if(this.mql[e].removeEventListener){this.mql[e].removeEventListener("change",this.boundMqlFunctions[e])}}this.boundMqlFunctions=[]};e.prototype.handleEscape=function(e){if(isEscapeKey(e)){if(this.open){this.open=false}else{var t=this.element.closest("duet-submenu-bar");t.open=false;t.setFocus()}}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.button.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;return h(Host,{key:"9f33cd768a1ec69877aa0c76a0c77e1a100afae1",role:"listitem"},h("div",{key:"4d52101b1614586ac501f4e7104da73bbc451f70",class:{"duet-submenu-bar-dropdown":true,"duet-theme-turva":this.theme==="turva",open:this.open,active:this.active}},h("button",{key:"9d4b01c987a80d3ecead8711cd042160ad11c493",ref:function(t){return e.button=t},"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{open:this.open,active:this.active},onClick:this.onClick,onKeyUp:function(t){return e.handleEscape(t)}},this.icon&&h("duet-icon",{key:"f854ac46417778ce5eda977417cac11d9c50312a",class:"submenu-bar-dropdown-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),h("div",{key:"3db9012df5d99c1130d2fb288e0442d1ddec24ac",class:"label"},h("span",{key:"389bad658d35704a5ab2bb38e41a6db3f11d73f7",class:"label-text"},h("slot",{key:"ad3d4061471320cd5c87002e3a218f2e02434a2f",name:"label"})),h("duet-icon",{key:"f357faf4c4fa580b7cd66ce2d237ba4f18f0cb13",class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),h("div",{key:"7f5d346ee0965ad2fb4ae90035c37da48f5986bc",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:true,hidden:!this.open}},h("slot",{key:"3290a7f8ab15948f69c18da3cd0311615484b5ad"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetSubmenuBarDropdown.style=DuetSubmenuBarDropdownStyle0;export{DuetSubmenuBarDropdown as duet_submenu_bar_dropdown};
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,a,n){function i(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,r){function u(e){try{s(n.next(e))}catch(e){r(e)}}function o(e){try{s(n["throw"](e))}catch(e){r(e)}}function s(e){e.done?a(e.value):i(e.value).then(u,o)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,i,r,u;return u={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(e){return function(t){return s([e,t])}}function s(o){if(n)throw new TypeError("Generator is already executing.");while(u&&(u=0,o[0]&&(a=0)),a)try{if(n=1,i&&(r=o[0]&2?i["return"]:o[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;if(i=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;i=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(r=a.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(o[0]===6&&a.label<r[1]){a.label=r[1];r=o;break}if(r&&a.label<r[2]){a.label=r[2];a.ops.push(o);break}if(r[2])a.ops.pop();a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e];i=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function u(e){try{s(a.next(e))}catch(e){i(e)}}function o(e){try{s(a["throw"](e))}catch(e){i(e)}}function s(e){e.done?n(e.value):r(e.value).then(u,o)}s((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,u;return u={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(e){return function(t){return s([e,t])}}function s(o){if(a)throw new TypeError("Generator is already executing.");while(u&&(u=0,o[0]&&(n=0)),n)try{if(a=1,r&&(i=o[0]&2?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;if(r=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;r=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){n.label=o[1];break}if(o[0]===6&&n.label<i[1]){n.label=i[1];i=o;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(o);break}if(i[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];r=0}finally{a=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */import{r as registerInstance,h,H as Host,g as getElement}from"./index-79fc1b32.js";import{a as actionNewWindowSmall}from"./action-new-window-small-1945be91.js";import{a as DuetStringsExternalDefaults}from"./common-strings-1274857d.js";import{i as inheritGlobalTheme}from"./themeable-component-356b273d.js";import{g as getAccessibleLinkLabel}from"./a11y-utils-477acfdc.js";import{f as isEscapeKey}from"./keyboard-utils-daf80d44.js";import{g as getLocaleString,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-a17dc5f3.js";import"./slot-utils-b099bb75.js";import"./string-utils-192eb3c8.js";var duetSubmenuBarItemCss='*,*::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)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-submenu-bar-item.active.duet-theme-turva{color:#e61740}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva.active .label::after{background:#e61740}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva.active::after{background:#e61740}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva:hover{color:#172a3b;background:#fbe1d1}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva:hover.active{color:#e61740}';var DuetSubmenuBarItemStyle0=duetSubmenuBarItemCss;var DuetSubmenuBarItem=function(){function e(e){registerInstance(this,e);this.theme="";this.active=false;this.url=undefined;this.leadingIcon=undefined;this.trailingIcon=undefined;this.accessibleLabel=undefined;this.accessibleExpanded=undefined;this.accessiblePopup="false";this.accessibleLabelExternalDefaults=DuetStringsExternalDefaults;this.accessibleLabelExternal=getLocaleString(this.accessibleLabelExternalDefaults);this.external=false}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.connectedCallback=function(){connectLanguageChangeObserver(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};e.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this)};e.prototype.handleEscape=function(e){if(isEscapeKey(e)){var t=this.element.closest("duet-submenu-bar");t.open=false;t.setFocus()}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(a){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";var a=this.url?"link":"button";return h(Host,{key:"c287dfc01f81f1f141e6737865729ed1f150393f",role:"listitem"},h(t,{key:"b3a25e1a9868133e026cc59014a92bc47b967da4",target:!this.url?null:this.external?"_blank":"_self",ref:function(t){return e.itemElement=t},class:{"duet-submenu-bar-item":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.url,onKeyUp:function(t){return e.handleEscape(t)},"aria-current":this.active?"true":"false","aria-label":this.url&&getAccessibleLinkLabel(this)||this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined,role:a,rel:this.external?"noopener":undefined},this.leadingIcon&&h("duet-icon",{key:"0155ac8b93b2da25697c0d19ea81b8b0fc12782b",class:"leading-icon",theme:this.theme,name:this.leadingIcon,size:"auto",margin:"none",color:"currentColor"}),h("div",{key:"71c2350aa20bcd4c44e2fda3789734b7571d0882",class:"label"},h("span",{key:"177921fcf4100c4accbb883e635b0ca4e7b4a8e2",class:"label-text"},h("slot",{key:"5bf35114d835ce7fbe1e0576fd56afce9050fa15"})),(this.trailingIcon||this.external)&&h("duet-icon",{key:"419f75603602b79929bd47fc4f50e57ba2912ed6",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":this.trailingIcon==="action-arrow-down-small","external-icon":!!this.external,rotate:this.trailingIcon==="action-arrow-down-small"&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.external?actionNewWindowSmall.title:"",margin:"none",size:"auto",color:"currentColor"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetSubmenuBarItem.style=DuetSubmenuBarItemStyle0;export{DuetSubmenuBarItem as duet_submenu_bar_item};
4
+ */import{r as registerInstance,h,H as Host,g as getElement}from"./index-22246570.js";import{a as actionNewWindowSmall}from"./action-new-window-small-1945be91.js";import{a as DuetStringsExternalDefaults}from"./common-strings-1274857d.js";import{i as inheritGlobalTheme}from"./themeable-component-f4a04f2f.js";import{g as getAccessibleLinkLabel}from"./a11y-utils-696f7b73.js";import{f as isEscapeKey}from"./keyboard-utils-daf80d44.js";import{g as getLocaleString,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-09809102.js";import"./slot-utils-eb668280.js";import"./string-utils-192eb3c8.js";var duetSubmenuBarItemCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;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;white-space:nowrap;text-decoration:none;cursor:pointer}.duet-submenu-bar-item:focus{outline:2px solid;outline-offset:-4px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva,.duet-theme-turva2 .duet-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva2{outline:2px solid;outline-offset:-4px;outline-color:rgba(53, 79, 101, 0.8)}.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);transform:translateY(1px);transition:300ms ease}.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)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-submenu-bar-item.active.duet-theme-turva{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva:hover{color:rgb(23, 42, 59);background:rgb(251, 225, 209)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva:hover.active{color:rgb(230, 23, 64)}';var DuetSubmenuBarItemStyle0=duetSubmenuBarItemCss;var DuetSubmenuBarItem=function(){function e(e){registerInstance(this,e);this.theme="";this.active=false;this.url=undefined;this.leadingIcon=undefined;this.trailingIcon=undefined;this.accessibleLabel=undefined;this.accessibleExpanded=undefined;this.accessiblePopup="false";this.accessibleLabelExternalDefaults=DuetStringsExternalDefaults;this.accessibleLabelExternal=getLocaleString(this.accessibleLabelExternalDefaults);this.external=false}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.connectedCallback=function(){connectLanguageChangeObserver(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};e.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this)};e.prototype.handleEscape=function(e){if(isEscapeKey(e)){var t=this.element.closest("duet-submenu-bar");t.open=false;t.setFocus()}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(n){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";var n=this.url?"link":"button";return h(Host,{key:"c287dfc01f81f1f141e6737865729ed1f150393f",role:"listitem"},h(t,{key:"b3a25e1a9868133e026cc59014a92bc47b967da4",target:!this.url?null:this.external?"_blank":"_self",ref:function(t){return e.itemElement=t},class:{"duet-submenu-bar-item":true,"duet-theme-turva":this.theme==="turva",active:this.active},href:this.url,onKeyUp:function(t){return e.handleEscape(t)},"aria-current":this.active?"true":"false","aria-label":this.url&&getAccessibleLinkLabel(this)||this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined,role:n,rel:this.external?"noopener":undefined},this.leadingIcon&&h("duet-icon",{key:"0155ac8b93b2da25697c0d19ea81b8b0fc12782b",class:"leading-icon",theme:this.theme,name:this.leadingIcon,size:"auto",margin:"none",color:"currentColor"}),h("div",{key:"71c2350aa20bcd4c44e2fda3789734b7571d0882",class:"label"},h("span",{key:"177921fcf4100c4accbb883e635b0ca4e7b4a8e2",class:"label-text"},h("slot",{key:"5bf35114d835ce7fbe1e0576fd56afce9050fa15"})),(this.trailingIcon||this.external)&&h("duet-icon",{key:"419f75603602b79929bd47fc4f50e57ba2912ed6",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":this.trailingIcon==="action-arrow-down-small","external-icon":!!this.external,rotate:this.trailingIcon==="action-arrow-down-small"&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.external?actionNewWindowSmall.title:"",margin:"none",size:"auto",color:"currentColor"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetSubmenuBarItem.style=DuetSubmenuBarItemStyle0;export{DuetSubmenuBarItem as duet_submenu_bar_item};