@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,6 +1,18 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
+ const colorBackgroundAccentPrimary = "rgb(240, 247, 250)";
5
+ const colorBackgroundAccentPrimaryTurva = "rgb(253, 247, 242)";
6
+ const colorBackgroundAccentSecondary = "rgb(217, 236, 245)";
7
+ const colorBackgroundAccentSecondaryTurva = "rgb(251, 225, 209)";
8
+ const colorBackgroundAccentTertiary = "rgb(0, 119, 179)";
9
+ const colorBackgroundAccentTertiaryTurva = "rgb(230, 23, 64)";
10
+ const colorBackgroundPrimary = "rgb(255, 255, 255)";
11
+ const colorBackgroundPrimaryTurva = "rgb(255, 255, 255)";
12
+ const colorBackgroundSecondary = "rgb(245, 248, 250)";
13
+ const colorBackgroundSecondaryTurva = "rgb(245, 246, 247)";
14
+ const colorBackgroundTertiary = "rgb(8, 42, 77)";
15
+ const colorBackgroundTertiaryTurva = "rgb(6, 23, 38)";
4
16
  const colorBrandBlue = "rgb(0, 161, 212)";
5
17
  const colorBrandGrayTurva = "rgb(178, 180, 179)";
6
18
  const colorCategoryFamily = "rgb(11, 114, 136)";
@@ -107,6 +119,30 @@ const colorSuccess700 = "rgb(48, 131, 105)";
107
119
  const colorSuccess800 = "rgb(29, 106, 88)";
108
120
  const colorSuccess900 = "rgb(13, 71, 59)";
109
121
  const colorSuccessTurva = "rgb(48, 131, 105)";
122
+ const colorTurva2Gray00 = "rgb(245, 246, 247)";
123
+ const colorTurva2Gray100 = "rgb(212, 221, 226)";
124
+ const colorTurva2Gray1000 = "rgb(6, 23, 38)";
125
+ const colorTurva2Gray200 = "rgb(178, 194, 205)";
126
+ const colorTurva2Gray300 = "rgb(148, 169, 185)";
127
+ const colorTurva2Gray400 = "rgb(120, 145, 164)";
128
+ const colorTurva2Gray50 = "rgb(228, 233, 237)";
129
+ const colorTurva2Gray500 = "rgb(95, 122, 143)";
130
+ const colorTurva2Gray600 = "rgb(72, 100, 122)";
131
+ const colorTurva2Gray700 = "rgb(53, 79, 101)";
132
+ const colorTurva2Gray800 = "rgb(37, 60, 80)";
133
+ const colorTurva2Gray900 = "rgb(23, 42, 59)";
134
+ const colorTurva2Red00 = "rgb(255, 242, 242)";
135
+ const colorTurva2Red100 = "rgb(255, 229, 230)";
136
+ const colorTurva2Red1000 = "rgb(51, 0, 10)";
137
+ const colorTurva2Red200 = "rgb(255, 201, 204)";
138
+ const colorTurva2Red300 = "rgb(249, 164, 172)";
139
+ const colorTurva2Red400 = "rgb(243, 119, 133)";
140
+ const colorTurva2Red50 = "rgb(255, 236, 236)";
141
+ const colorTurva2Red500 = "rgb(236, 69, 96)";
142
+ const colorTurva2Red600 = "rgb(230, 23, 64)";
143
+ const colorTurva2Red700 = "rgb(185, 3, 41)";
144
+ const colorTurva2Red800 = "rgb(140, 0, 30)";
145
+ const colorTurva2Red900 = "rgb(96, 0, 20)";
110
146
  const colorTurvaGray00 = "rgb(245, 247, 250)";
111
147
  const colorTurvaGray100 = "rgb(222, 224, 228)";
112
148
  const colorTurvaGray1000 = "rgb(8, 13, 38)";
@@ -119,6 +155,18 @@ const colorTurvaGray600 = "rgb(98, 104, 122)";
119
155
  const colorTurvaGray700 = "rgb(71, 78, 101)";
120
156
  const colorTurvaGray800 = "rgb(45, 52, 79)";
121
157
  const colorTurvaGray900 = "rgb(23, 28, 58)";
158
+ const colorTurvaNude00 = "rgb(253, 247, 242)";
159
+ const colorTurvaNude100 = "rgb(251, 225, 209)";
160
+ const colorTurvaNude1000 = "rgb(38, 21, 15)";
161
+ const colorTurvaNude200 = "rgb(241, 202, 178)";
162
+ const colorTurvaNude300 = "rgb(216, 174, 150)";
163
+ const colorTurvaNude400 = "rgb(190, 147, 124)";
164
+ const colorTurvaNude50 = "rgb(251, 235, 225)";
165
+ const colorTurvaNude500 = "rgb(165, 122, 101)";
166
+ const colorTurvaNude600 = "rgb(140, 98, 79)";
167
+ const colorTurvaNude700 = "rgb(114, 76, 60)";
168
+ const colorTurvaNude800 = "rgb(89, 56, 43)";
169
+ const colorTurvaNude900 = "rgb(64, 38, 28)";
122
170
  const colorTurvaRed00 = "rgb(255, 241, 241)";
123
171
  const colorTurvaRed100 = "rgb(255, 213, 215)";
124
172
  const colorTurvaRed1000 = "rgb(51, 5, 20)";
@@ -251,6 +299,18 @@ const zIndexToast = "500";
251
299
 
252
300
  const tokens = /*#__PURE__*/Object.freeze({
253
301
  __proto__: null,
302
+ colorBackgroundAccentPrimary: colorBackgroundAccentPrimary,
303
+ colorBackgroundAccentPrimaryTurva: colorBackgroundAccentPrimaryTurva,
304
+ colorBackgroundAccentSecondary: colorBackgroundAccentSecondary,
305
+ colorBackgroundAccentSecondaryTurva: colorBackgroundAccentSecondaryTurva,
306
+ colorBackgroundAccentTertiary: colorBackgroundAccentTertiary,
307
+ colorBackgroundAccentTertiaryTurva: colorBackgroundAccentTertiaryTurva,
308
+ colorBackgroundPrimary: colorBackgroundPrimary,
309
+ colorBackgroundPrimaryTurva: colorBackgroundPrimaryTurva,
310
+ colorBackgroundSecondary: colorBackgroundSecondary,
311
+ colorBackgroundSecondaryTurva: colorBackgroundSecondaryTurva,
312
+ colorBackgroundTertiary: colorBackgroundTertiary,
313
+ colorBackgroundTertiaryTurva: colorBackgroundTertiaryTurva,
254
314
  colorBrandBlue: colorBrandBlue,
255
315
  colorBrandGrayTurva: colorBrandGrayTurva,
256
316
  colorCategoryFamily: colorCategoryFamily,
@@ -357,6 +417,30 @@ const tokens = /*#__PURE__*/Object.freeze({
357
417
  colorSuccess800: colorSuccess800,
358
418
  colorSuccess900: colorSuccess900,
359
419
  colorSuccessTurva: colorSuccessTurva,
420
+ colorTurva2Gray00: colorTurva2Gray00,
421
+ colorTurva2Gray100: colorTurva2Gray100,
422
+ colorTurva2Gray1000: colorTurva2Gray1000,
423
+ colorTurva2Gray200: colorTurva2Gray200,
424
+ colorTurva2Gray300: colorTurva2Gray300,
425
+ colorTurva2Gray400: colorTurva2Gray400,
426
+ colorTurva2Gray50: colorTurva2Gray50,
427
+ colorTurva2Gray500: colorTurva2Gray500,
428
+ colorTurva2Gray600: colorTurva2Gray600,
429
+ colorTurva2Gray700: colorTurva2Gray700,
430
+ colorTurva2Gray800: colorTurva2Gray800,
431
+ colorTurva2Gray900: colorTurva2Gray900,
432
+ colorTurva2Red00: colorTurva2Red00,
433
+ colorTurva2Red100: colorTurva2Red100,
434
+ colorTurva2Red1000: colorTurva2Red1000,
435
+ colorTurva2Red200: colorTurva2Red200,
436
+ colorTurva2Red300: colorTurva2Red300,
437
+ colorTurva2Red400: colorTurva2Red400,
438
+ colorTurva2Red50: colorTurva2Red50,
439
+ colorTurva2Red500: colorTurva2Red500,
440
+ colorTurva2Red600: colorTurva2Red600,
441
+ colorTurva2Red700: colorTurva2Red700,
442
+ colorTurva2Red800: colorTurva2Red800,
443
+ colorTurva2Red900: colorTurva2Red900,
360
444
  colorTurvaGray00: colorTurvaGray00,
361
445
  colorTurvaGray100: colorTurvaGray100,
362
446
  colorTurvaGray1000: colorTurvaGray1000,
@@ -369,6 +453,18 @@ const tokens = /*#__PURE__*/Object.freeze({
369
453
  colorTurvaGray700: colorTurvaGray700,
370
454
  colorTurvaGray800: colorTurvaGray800,
371
455
  colorTurvaGray900: colorTurvaGray900,
456
+ colorTurvaNude00: colorTurvaNude00,
457
+ colorTurvaNude100: colorTurvaNude100,
458
+ colorTurvaNude1000: colorTurvaNude1000,
459
+ colorTurvaNude200: colorTurvaNude200,
460
+ colorTurvaNude300: colorTurvaNude300,
461
+ colorTurvaNude400: colorTurvaNude400,
462
+ colorTurvaNude50: colorTurvaNude50,
463
+ colorTurvaNude500: colorTurvaNude500,
464
+ colorTurvaNude600: colorTurvaNude600,
465
+ colorTurvaNude700: colorTurvaNude700,
466
+ colorTurvaNude800: colorTurvaNude800,
467
+ colorTurvaNude900: colorTurvaNude900,
372
468
  colorTurvaRed00: colorTurvaRed00,
373
469
  colorTurvaRed100: colorTurvaRed100,
374
470
  colorTurvaRed1000: colorTurvaRed1000,
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{a as getElementsFromDefaultSlot}from"./slot-utils-b099bb75.js";function getAccessibleLinkLabel(e){var t=e.element.textContent;if(e.accessibleLabel){return e.accessibleLabel}if((!!e.download||e.download==="")&&t){return"".concat(t,". ").concat(e.accessibleLabelDownload,".")}if(e.external&&t){return"".concat(t,". ").concat(e.accessibleLabelExternal,".")}if(getElementsFromDefaultSlot(e.element).length){return t}return null}export{getAccessibleLinkLabel as g};
4
+ import{b as getElementsFromDefaultSlot}from"./slot-utils-eb668280.js";function getAccessibleLinkLabel(e){var t=e.element.textContent;if(e.accessibleLabel){return e.accessibleLabel}if((!!e.download||e.download==="")&&t){return"".concat(t,". ").concat(e.accessibleLabelDownload,".")}if(e.external&&t){return"".concat(t,". ").concat(e.accessibleLabelExternal,".")}if(getElementsFromDefaultSlot(e.element).length){return t}return null}export{getAccessibleLinkLabel as g};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import"./index-79fc1b32.js";var setupLoggers=function(){{globalThis.ds={log:function(){return},warn:function(){return},info:function(){return}}}};var appGlobalScript=function(){setupLoggers()};var globalScripts=appGlobalScript;export{globalScripts as g};
4
+ import"./index-22246570.js";var setupLoggers=function(){{globalThis.ds={log:function(){return},warn:function(){return},info:function(){return}}}};var appGlobalScript=function(){setupLoggers()};var globalScripts=appGlobalScript;export{globalScripts as g};
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,n,i){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,r){function a(t){try{s(i.next(t))}catch(t){r(t)}}function u(t){try{s(i["throw"](t))}catch(t){r(t)}}function s(t){t.done?n(t.value):o(t.value).then(a,u)}s((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,o,r,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(e){return s([t,e])}}function s(u){if(i)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(n=0)),n)try{if(i=1,o&&(r=u[0]&2?o["return"]:u[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,u[1])).done)return r;if(o=0,r)u=[u[0]&2,r.value];switch(u[0]){case 0:case 1:r=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;o=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!r||u[1]>r[0]&&u[1]<r[3])){n.label=u[1];break}if(u[0]===6&&n.label<r[1]){n.label=r[1];r=u;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(u);break}if(r[2])n.ops.pop();n.trys.pop();continue}u=e.call(t,n)}catch(t){u=[6,t];o=0}finally{i=r=0}if(u[0]&5)throw u[1];return{value:u[0]?u[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{c as createID}from"./create-id-149a1b6d.js";import{d as debounce}from"./js-utils-9b9e0039.js";import{i as isKeyboardClick}from"./keyboard-utils-daf80d44.js";import{g as getLocaleString,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-a17dc5f3.js";import{c as capitalizeFirstLetter,g as getColorByName,s as shadeRGBColor}from"./token-utils-cf052bc0.js";import"./string-utils-192eb3c8.js";import"./tokens.module-821694bb.js";var duetActionButtonCss="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(8, 42, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){.duet-action-button{width:32px;height:32px}}.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9ebee}.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-action-button:focus.duet-theme-turva{box-shadow:0 0 0 2px #171c3a !important}.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-action-button:active:focus.duet-theme-turva{background:#dddee1 !important}.duet-action-button:disabled{color:rgb(127, 150, 165);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-action-button.duet-theme-turva:disabled{color:rgb(143, 147, 158);background:rgb(245, 247, 250)}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva{color:#172a3b;background:#fdf7f2}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:not(:disabled):hover{background:#f0ebe6}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:focus{box-shadow:0 0 0 2px #172a3b !important}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:active:focus{background:#e4deda !important;box-shadow:none}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:disabled{color:#7891a4;background:#f5f6f7}";var DuetActionButtonStyle0=duetActionButtonCss;var DuetActionButton=function(){function t(t){var e=this;registerInstance(this,t);this.duetActionEvent=createEvent(this,"duetActionEvent",6);this.listId=createID("duet-action-button");this.emitPageEvent=debounce((function(t){e.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:e.actionId,name:e.actionName,meta:e.actionMeta,id:e.listId})}));this.numbersStore="";this.theme="";this.iconName="action-arrow-left-small";this.iconColor="currentColor";this.iconSize="xx-small";this.actionName=undefined;this.actionId=undefined;this.actionMeta=undefined;this.disabled=false;this.color="";this.background="";this.accessibleTitle=true;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"};this.accessibleLabel=getLocaleString(this.accessibleLabelsDefaults);this.accessibleControls="";this.url=undefined}t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(isKeyboardClick(t)){this.emitPageEvent(t)}return[2]}))}))};t.prototype.getTitle=function(){if(typeof this.accessibleTitle==="string"){return this.accessibleTitle}if(this.accessibleTitle===true&&this.actionName){return capitalizeFirstLetter("".concat(this.actionName))}return null};t.prototype.onMouseHandler=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){t.preventDefault();this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta});return[2]}))}))};t.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};t.prototype.connectedCallback=function(){connectLanguageChangeObserver(this,{prop:"accessibleLabel",defaults:"accessibleLabelsDefaults"})};t.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t;var e=this;var n=this.color==="currentColor"?"currentColor":getColorByName(this.color,this.theme);var i=getColorByName(this.background,this.theme);var o=i?shadeRGBColor(i,-.1):i;var r=i?"\n button.duet-action-button {\n background: ".concat(i," !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ").concat(o," !important;\n }\n "):"";var a={color:n,"border-color":getColorByName(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"};var u={ref:function(t){return e.nativeButton=t},part:"button",style:a,disabled:this.disabled,id:this.listId,type:"button","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls,title:this.getTitle(),class:(t={"duet-action-button":true,"duet-action-button--disabled":this.disabled},t["duet-action-button--".concat(this.theme)]=this.theme!=="",t["duet-theme-turva"]=this.theme==="turva",t)};return h(Host,{key:"784004122f9530676cbff39d09e3e4a4f7ccbf8f",onKeyDown:function(t){return e.onKeyboardDown(t)}},h("style",{key:"b34416cab89d2c6f2c4d67902239ab7140d74fb4",innerHTML:r}),this.url&&!this.disabled?h("a",Object.assign({},u,{href:this.url}),h("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize})):h("button",Object.assign({},u,{onClick:function(t){return e.onMouseHandler(t)}}),h("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),h("duet-visually-hidden",null,h("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();DuetActionButton.style=DuetActionButtonStyle0;export{DuetActionButton as duet_action_button};
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{d as debounce}from"./js-utils-9b9e0039.js";import{i as isKeyboardClick}from"./keyboard-utils-daf80d44.js";import{g as getLocaleString,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-09809102.js";import{c as capitalizeFirstLetter,g as getColorByName,s as shadeRGBColor}from"./token-utils-d02c20ff.js";import"./string-utils-192eb3c8.js";import"./tokens.module-7b07911f.js";var duetActionButtonCss="*,*::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:inline-block;margin:0 auto}.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(8, 42, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-action-button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-action-button:focus,.duet-action-button:focus.duet-theme-turva,.duet-theme-turva2 .duet-action-button:focus,.duet-action-button:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){.duet-action-button{width:32px;height:32px}}.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9ebee}.duet-action-button:active:focus{background:#dddfe1 !important}.duet-action-button:active:focus.duet-theme-turva{background:#dddee1 !important}.duet-action-button:disabled{color:rgb(127, 150, 165);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-action-button.duet-theme-turva:disabled{color:rgb(143, 147, 158);background:rgb(245, 247, 250)}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva{color:rgb(23, 42, 59);background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:not(:disabled):hover{background:#f0ebe6}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:active:focus{background:#e4deda !important}:host(.duet-theme-turva2) .duet-action-button.duet-theme-turva:disabled{color:rgb(120, 145, 164);background:rgb(245, 246, 247)}";var DuetActionButtonStyle0=duetActionButtonCss;var DuetActionButton=function(){function t(t){var e=this;registerInstance(this,t);this.duetActionEvent=createEvent(this,"duetActionEvent",6);this.listId=createID("duet-action-button");this.emitPageEvent=debounce((function(t){e.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:e.actionId,name:e.actionName,meta:e.actionMeta,id:e.listId})}));this.numbersStore="";this.theme="";this.iconName="action-arrow-left-small";this.iconColor="currentColor";this.iconSize="xx-small";this.actionName=undefined;this.actionId=undefined;this.actionMeta=undefined;this.disabled=false;this.color="";this.background="";this.accessibleTitle=true;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"};this.accessibleLabel=getLocaleString(this.accessibleLabelsDefaults);this.accessibleControls="";this.url=undefined}t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(isKeyboardClick(t)){this.emitPageEvent(t)}return[2]}))}))};t.prototype.getTitle=function(){if(typeof this.accessibleTitle==="string"){return this.accessibleTitle}if(this.accessibleTitle===true&&this.actionName){return capitalizeFirstLetter("".concat(this.actionName))}return null};t.prototype.onMouseHandler=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){t.preventDefault();this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta});return[2]}))}))};t.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};t.prototype.connectedCallback=function(){connectLanguageChangeObserver(this,{prop:"accessibleLabel",defaults:"accessibleLabelsDefaults"})};t.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t;var e=this;var n=this.color==="currentColor"?"currentColor":getColorByName(this.color,this.theme);var i=getColorByName(this.background,this.theme);var o=i?shadeRGBColor(i,-.1):i;var r=i?"\n button.duet-action-button {\n background: ".concat(i," !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ").concat(o," !important;\n }\n "):"";var a={color:n,"border-color":getColorByName(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"};var u={ref:function(t){return e.nativeButton=t},part:"button",style:a,disabled:this.disabled,id:this.listId,type:"button","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls,title:this.getTitle(),class:(t={"duet-action-button":true,"duet-action-button--disabled":this.disabled},t["duet-action-button--".concat(this.theme)]=this.theme!=="",t["duet-theme-turva"]=this.theme==="turva",t)};return h(Host,{key:"784004122f9530676cbff39d09e3e4a4f7ccbf8f",onKeyDown:function(t){return e.onKeyboardDown(t)}},h("style",{key:"b34416cab89d2c6f2c4d67902239ab7140d74fb4",innerHTML:r}),this.url&&!this.disabled?h("a",Object.assign({},u,{href:this.url}),h("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize})):h("button",Object.assign({},u,{onClick:function(t){return e.onMouseHandler(t)}}),h("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),h("duet-visually-hidden",null,h("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();DuetActionButton.style=DuetActionButtonStyle0;export{DuetActionButton as duet_action_button};
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,a,i){function r(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,n){function s(e){try{d(i.next(e))}catch(e){n(e)}}function o(e){try{d(i["throw"](e))}catch(e){n(e)}}function d(e){e.done?a(e.value):r(e.value).then(s,o)}d((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,r,n,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return d([e,t])}}function d(o){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(a=0)),a)try{if(i=1,r&&(n=o[0]&2?r["return"]:o[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,o[1])).done)return n;if(r=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;r=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){a.label=o[1];break}if(o[0]===6&&a.label<n[1]){a.label=n[1];n=o;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(o);break}if(n[2])a.ops.pop();a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e];r=0}finally{i=n=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,r,i){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function s(e){try{d(i.next(e))}catch(e){n(e)}}function o(e){try{d(i["throw"](e))}catch(e){n(e)}}function d(e){e.done?r(e.value):a(e.value).then(s,o)}d((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,a,n,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return d([e,t])}}function d(o){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(r=0)),r)try{if(i=1,a&&(n=o[0]&2?a["return"]:o[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,o[1])).done)return n;if(a=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;a=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(o[0]===6&&r.label<n[1]){r.label=n[1];n=o;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(o);break}if(n[2])r.ops.pop();r.trys.pop();continue}o=t.call(e,r)}catch(e){o=[6,e];a=0}finally{i=n=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,c as createEvent,h,H as Host,g as getElement}from"./index-79fc1b32.js";import{D as DuetStatusLabels}from"./common-strings-1274857d.js";import{i as inheritGlobalTheme}from"./themeable-component-356b273d.js";import{c as createID}from"./create-id-149a1b6d.js";import{s as subscribeTabbingChange,u as unsubscribeTabbingChange}from"./keyboard-utils-daf80d44.js";import{g as getLocaleString,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-a17dc5f3.js";import{h as hasSlot}from"./slot-utils-b099bb75.js";import"./string-utils-192eb3c8.js";var duetAlertCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);background:rgb(228, 241, 247);border:1px solid rgb(172, 210, 229);border-radius:12px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.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-alert-wrapper.warning{color:rgb(38, 26, 4);background:rgb(255, 247, 221);border:1px solid rgb(255, 217, 120)}.duet-alert-wrapper.danger{color:rgb(89, 0, 45);background:rgb(255, 225, 231);border:1px solid rgb(252, 136, 162)}.duet-alert-wrapper.success{color:rgb(4, 38, 33);background:rgb(231, 248, 239);border:1px solid rgb(163, 229, 202)}.duet-alert-wrapper.below-nav{z-index:1;margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229);border-radius:0}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 72px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-wrapper .duet-alert.duet-alert-expandable{padding-right:20px}.duet-alert-dismiss{position:absolute;top:3px;right:3px}.duet-alert-dismiss duet-button:hover{background-color:rgb(198, 225, 238);border-radius:8px}.warning .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 232, 160)}.danger .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 173, 190)}.success .duet-alert-dismiss duet-button:hover{background-color:rgb(191, 239, 218)}.duet-alert-container{display:inline-flex;align-items:flex-start;width:100%;margin:0 auto !important}.duet-alert-container .duet-alert-content{flex-grow:1;line-height:1.5}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{position:relative;top:2px;display:inline-block;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-expander{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;width:calc(100% + 32px + 40px);padding:16px;padding-right:20px;padding-left:52px;margin:-16px;margin-left:-52px;font-family:inherit;color:inherit;cursor:pointer;background-color:inherit}.duet-alert-expanded .duet-alert-expander{margin-bottom:-4px}.duet-alert-expander .expanding-title{flex-grow:1;font-size:1rem;line-height:1.5;text-align:left}.duet-alert-expander duet-icon{position:relative;top:4px;transition:rotate 300ms ease}.duet-alert-expanded .duet-alert-expander duet-icon{rotate:180deg}.duet-alert-expander:hover{filter:brightness(85%)}';var DuetAlertStyle0=duetAlertCss;var DuetAlert=function(){function e(e){var t=this;registerInstance(this,e);this.duetDismiss=createEvent(this,"duetDismiss",7);this.duetCloseComplete=createEvent(this,"duetCloseComplete",7);this.descriptiveId=createID("DuetAlert");this.hasShowMoreSlot=false;this.handleDismiss=function(e){t.handleHide();t.duetDismiss.emit({component:"duet-alert",originalEvent:e})};this.handleShow=function(){t.isDismissed=false};this.handleHide=function(){t.isDismissed=true;t.element.addEventListener("transitionend",(function(){return t.duetCloseComplete.emit()}),{once:true})};this.handleExpandToggle=function(){t.isExpanded=!t.isExpanded};this.getRole=function(){if(!t.announcements){return undefined}if(["warning","danger"].includes(t.variation)){return"alert"}return"status"};this.theme="";this.isDismissed=false;this.isExpanded=false;this.timeoutID=undefined;this.accessibleLabelDefaults={fi:"Painike viestin sulkemiseen",sv:"Knapp för att stänga meddelandet",en:"Button to close the message"};this.accessibleLabel=getLocaleString(this.accessibleLabelDefaults);this.announcements=true;this.icon="";this.autoDismiss=undefined;this.margin="auto";this.padding="auto";this.variation="default";this.position="content";this.dismissible=false;this.focusable=false;this.expandingTitle=""}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.hasShowMoreSlot=hasSlot(this.element,"show-more")};e.prototype.componentDidLoad=function(){var e=this;if(this.autoDismiss){this.timeoutID=setTimeout((function(){return e.handleDismiss()}),this.autoDismiss)}};e.prototype.connectedCallback=function(){connectLanguageChangeObserver(this,{prop:"accessibleLabel",defaults:"accessibleLabelDefaults"});subscribeTabbingChange(this)};e.prototype.disconnectedCallback=function(){if(this.timeoutID){clearTimeout(this.timeoutID)}disconnectLanguageChangeObserver(this);unsubscribeTabbingChange(this)};e.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.handleShow();return[2]}))}))};e.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.handleHide();return[2]}))}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.alertContainer.focus(e);return[2]}))}))};e.prototype.render=function(){var e,t;var a=this;var i=["default","success","danger","warning"].includes(this.variation)?this.variation:"default";var r=getLocaleString(DuetStatusLabels[i]);return h(Host,{key:"b204a657de629955d04058f3c43813aa00980c1e",class:{"duet-theme-turva":this.theme==="turva","duet-alert-is-dismissed":this.isDismissed},role:this.getRole()},h("div",{key:"0d573c37ae4013f7fdef0d89a7d2cfff38157b44",class:(e={"duet-alert-wrapper":true,"duet-p-0":this.padding==="none","duet-m-0":this.margin==="none"},e[i]=true,e[this.position]=true,e["duet-theme-turva"]=this.theme==="turva",e)},h("div",{key:"ecb946bd29811c5ee207804498810a6cd3c83889",class:(t={"duet-alert":true,"duet-alert-expandable":!!this.expandingTitle,"duet-alert-expanded":this.isExpanded,"duet-alert-has-icon":!!this.icon||this.position==="below-nav","duet-alert-has-show-more":this.hasShowMoreSlot,"duet-alert-is-dismissible":this.dismissible,"duet-p-0":this.padding==="none","duet-m-0":this.margin==="none"},t[i]=true,t["duet-theme-turva"]=this.theme==="turva",t)},h("div",{key:"88e63f17d9d316a933266a2d98be63f1cf6fa939",class:"duet-alert-container",ref:function(e){a.alertContainer=e},tabindex:this.focusable?"0":undefined},this.position!=="below-nav"&&h("div",{key:"d0e266b3c576ec9c2532053c292c3bfbbc9d92b0",class:"duet-alert-icon"},this.icon&&h("duet-icon",{key:"efa5d1133ba832aa3e88fb419b8f2b454b5536c1",size:"auto",name:this.icon,color:"currentColor"})||h("duet-status-icon",{key:"7e00c8f29fb7a33a041acfbd82d1c359eadaf605",strong:true,variation:i,margin:"none",size:"auto"})),this.position==="below-nav"&&h("div",{key:"0314c3a000a06a357a7850f6c72002df3d32a541",class:"duet-alert-icon below-nav"},h("duet-status-icon",{key:"aec093d7be9e0c0d8940a5e0813495f707daefc0",strong:true,variation:i,margin:"none",size:"auto"})),h("div",{key:"97522cbf67c23477ae71603418f85f3d1a13d3c2",class:"duet-alert-content",id:this.descriptiveId},this.expandingTitle&&h("button",{key:"08d8a6d3b089bad3c54727907f6ba1df213a9103","aria-expanded":this.isExpanded.toString(),"aria-controls":"".concat(this.descriptiveId,"-content"),class:"duet-alert-expander",onClick:this.handleExpandToggle},h("span",{key:"4efe686cc2dff3077ea3efed7a52c79c3b8c090a",class:"expanding-title"},this.expandingTitle),h("duet-icon",{key:"2da0cd85883d2e850d65e0682c391079bcce2001",name:"action-arrow-down",color:i==="default"?"lt-blue-800":"".concat(i,"-800"),margin:"none",size:"x-small"})),(!this.expandingTitle||this.isExpanded)&&h("div",{key:"dd67482dc47bb4b23d8ff7fdbc7f50a09fd7f355",id:"".concat(this.descriptiveId,"-content")},h("duet-visually-hidden",{key:"0f892f87996b79076b9c04e9d66fadbe681cf913"},r),h("slot",{key:"fac36116e1b9128ad398c4cf997d8c0fd3bca795"})))),this.hasShowMoreSlot&&h("duet-show-more",{key:"10530ff533c94cb9c85eb23cae9ed3475f3567f2",margin:"none",class:"duet-alert-show-more"},h("slot",{key:"06e77a909ef86b0ae2e83e818e88c75b8caa9969",name:"show-more"})),this.dismissible&&!this.expandingTitle&&h("div",{key:"65f541e6bf54abcfa91757571cffb18013188c39",class:"duet-alert-dismiss"},h("duet-button",{key:"a2e00a7f2d07d04bf388544893ddb56d332c8929",variation:"plain",accessibleLabel:this.accessibleLabel,accessibleDescribedBy:this.descriptiveId,iconSize:"medium",icon:"navigation-close",iconOnly:true,margin:"none",color:i==="default"?"lt-blue-800":"".concat(i,"-800"),theme:this.theme,onClick:this.handleDismiss,fixed:true})))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetAlert.style=DuetAlertStyle0;export{DuetAlert as duet_alert};
4
+ */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-22246570.js";import{D as DuetStatusLabels}from"./common-strings-1274857d.js";import{i as inheritGlobalTheme}from"./themeable-component-f4a04f2f.js";import{c as createID}from"./create-id-149a1b6d.js";import{g as getLocaleString,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-09809102.js";import{h as hasSlot}from"./slot-utils-eb668280.js";import"./string-utils-192eb3c8.js";var duetAlertCss='*,*::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:grid;grid-template-rows:1fr;width:100%;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, grid-template-rows 300ms ease}:host(.duet-alert-is-dismissed){visibility:hidden !important;grid-template-rows:0fr;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert,:host(.duet-alert-is-dismissed) .duet-alert-wrapper{margin:0 !important;border-width:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;position:relative;width:100%;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);background:rgb(228, 241, 247);border:1px solid rgb(172, 210, 229);border-radius:12px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.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-alert-wrapper.warning{color:rgb(38, 26, 4);background:rgb(255, 247, 221);border:1px solid rgb(255, 217, 120)}.duet-alert-wrapper.danger{color:rgb(89, 0, 45);background:rgb(255, 225, 231);border:1px solid rgb(252, 136, 162)}.duet-alert-wrapper.success{color:rgb(4, 38, 33);background:rgb(231, 248, 239);border:1px solid rgb(163, 229, 202)}.duet-alert-wrapper.below-nav{z-index:1;margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229);border-radius:0}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 72px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-wrapper .duet-alert.duet-alert-expandable{padding-right:20px}.duet-alert-dismiss{position:absolute;top:3px;right:3px}.duet-alert-dismiss duet-button:hover{background-color:rgb(198, 225, 238);border-radius:8px}.warning .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 232, 160)}.danger .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 173, 190)}.success .duet-alert-dismiss duet-button:hover{background-color:rgb(191, 239, 218)}.duet-alert-container{display:inline-flex;align-items:flex-start;width:100%;margin:0 auto !important}.duet-alert-container .duet-alert-content{flex-grow:1;line-height:1.5}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{position:relative;top:2px;display:inline-block;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-expander{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;width:calc(100% + 32px + 40px);padding:16px;padding-right:20px;padding-left:52px;margin:-16px;margin-left:-52px;font-family:inherit;color:inherit;cursor:pointer;background-color:inherit}.duet-alert-expanded .duet-alert-expander{margin-bottom:-4px}.duet-alert-expander .expanding-title{flex-grow:1;font-size:1rem;line-height:1.5;text-align:left}.duet-alert-expander duet-icon{position:relative;top:4px;transition:rotate 300ms ease}.duet-alert-expanded .duet-alert-expander duet-icon{rotate:180deg}.duet-alert-expander:hover{filter:brightness(85%)}';var DuetAlertStyle0=duetAlertCss;var DuetAlert=function(){function e(e){var t=this;registerInstance(this,e);this.duetDismiss=createEvent(this,"duetDismiss",7);this.duetCloseComplete=createEvent(this,"duetCloseComplete",7);this.descriptiveId=createID("DuetAlert");this.hasShowMoreSlot=false;this.handleDismiss=function(e){t.handleHide();t.duetDismiss.emit({component:"duet-alert",originalEvent:e})};this.handleShow=function(){t.isDismissed=false};this.handleHide=function(){t.isDismissed=true;t.element.addEventListener("transitionend",(function(){return t.duetCloseComplete.emit()}),{once:true})};this.handleExpandToggle=function(){t.isExpanded=!t.isExpanded};this.getRole=function(){if(!t.announcements){return undefined}if(["warning","danger"].includes(t.variation)){return"alert"}return"status"};this.theme="";this.isDismissed=false;this.isExpanded=false;this.timeoutID=undefined;this.accessibleLabelDefaults={fi:"Painike viestin sulkemiseen",sv:"Knapp för att stänga meddelandet",en:"Button to close the message"};this.accessibleLabel=getLocaleString(this.accessibleLabelDefaults);this.announcements=true;this.icon="";this.autoDismiss=undefined;this.margin="auto";this.padding="auto";this.variation="default";this.position="content";this.dismissible=false;this.focusable=false;this.expandingTitle=""}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.hasShowMoreSlot=hasSlot(this.element,"show-more")};e.prototype.componentDidLoad=function(){var e=this;if(this.autoDismiss){this.timeoutID=setTimeout((function(){return e.handleDismiss()}),this.autoDismiss)}};e.prototype.connectedCallback=function(){connectLanguageChangeObserver(this,{prop:"accessibleLabel",defaults:"accessibleLabelDefaults"})};e.prototype.disconnectedCallback=function(){if(this.timeoutID){clearTimeout(this.timeoutID)}disconnectLanguageChangeObserver(this)};e.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.handleShow();return[2]}))}))};e.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.handleHide();return[2]}))}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.alertContainer.focus(e);return[2]}))}))};e.prototype.render=function(){var e,t;var r=this;var i=["default","success","danger","warning"].includes(this.variation)?this.variation:"default";var a=getLocaleString(DuetStatusLabels[i]);return h(Host,{key:"e8f6453951bdff6bcfebd3530d9cf0778842ad35",class:{"duet-theme-turva":this.theme==="turva","duet-alert-is-dismissed":this.isDismissed},role:this.getRole()},h("div",{key:"2f8010d50d96097d66d0cef58d35cbb008f314f0",class:(e={"duet-alert-wrapper":true,"duet-p-0":this.padding==="none","duet-m-0":this.margin==="none"},e[i]=true,e[this.position]=true,e["duet-theme-turva"]=this.theme==="turva",e)},h("div",{key:"b0b1d04c9ef3baa460c1d8d30f18f5f3b4b96d9c",class:(t={"duet-alert":true,"duet-alert-expandable":!!this.expandingTitle,"duet-alert-expanded":this.isExpanded,"duet-alert-has-icon":!!this.icon||this.position==="below-nav","duet-alert-has-show-more":this.hasShowMoreSlot,"duet-alert-is-dismissible":this.dismissible,"duet-p-0":this.padding==="none","duet-m-0":this.margin==="none"},t[i]=true,t["duet-theme-turva"]=this.theme==="turva",t)},h("div",{key:"1464c0cde46615a3e6b7b90a67b0713ba25cf002",class:"duet-alert-container",ref:function(e){r.alertContainer=e},tabindex:this.focusable?"-1":undefined},this.position!=="below-nav"&&h("div",{key:"924a50c915605a0fc653b2cd5a5a6341c7b9156f",class:"duet-alert-icon"},this.icon&&h("duet-icon",{key:"ccf3963fc3405034a7001e586397886ac586b504",size:"auto",name:this.icon,color:"currentColor"})||h("duet-status-icon",{key:"5adef94d4b80e48815a399928dee36d416caa3f8",strong:true,variation:i,margin:"none",size:"auto"})),this.position==="below-nav"&&h("div",{key:"bb1d04fb4ad4d5668dfef4fab649c23d09832d07",class:"duet-alert-icon below-nav"},h("duet-status-icon",{key:"a9cedbe680d906a25dc159b5637a30ee66491f03",strong:true,variation:i,margin:"none",size:"auto"})),h("div",{key:"8f1df5b4082d396e964b00b56da99f77ec4d9437",class:"duet-alert-content",id:this.descriptiveId},this.expandingTitle&&h("button",{key:"ecc75f181b29ccce59576cdc8db496b02511c201","aria-expanded":this.isExpanded.toString(),"aria-controls":"".concat(this.descriptiveId,"-content"),class:"duet-alert-expander",onClick:this.handleExpandToggle},h("span",{key:"eaaec58855ddf50c82d723f17056eef40d794ee4",class:"expanding-title"},this.expandingTitle),h("duet-icon",{key:"4504fda244cb64041c316142ccffd971a4399e78",name:"action-arrow-down",color:i==="default"?"lt-blue-800":"".concat(i,"-800"),margin:"none",size:"x-small"})),(!this.expandingTitle||this.isExpanded)&&h("div",{key:"a29eb8175f93a97b7195c7c9800bc5d62bb66073",id:"".concat(this.descriptiveId,"-content")},h("duet-visually-hidden",{key:"c7cb9674adeb3d85568090d9b97cf692d1609ed1"},a),h("slot",{key:"49d810ac06046de2cb02a0210e9ad6eff7397f2b"})))),this.hasShowMoreSlot&&h("duet-show-more",{key:"7fd2463d982eecdbeeea603266e2190b9347b6d5",margin:"none",class:"duet-alert-show-more"},h("slot",{key:"a229f22d76731baf242bca5613a990fa7508e611",name:"show-more"})),this.dismissible&&!this.expandingTitle&&h("div",{key:"1e2f89c906c19cc8703eb1ce0ab643d550e94260",class:"duet-alert-dismiss"},h("duet-button",{key:"80a86e22bd7b0317fbe4685879847f10d7598740",variation:"plain",accessibleLabel:this.accessibleLabel,accessibleDescribedBy:this.descriptiveId,iconSize:"medium",icon:"navigation-close",iconOnly:true,margin:"none",color:i==="default"?"lt-blue-800":"".concat(i,"-800"),theme:this.theme,onClick:this.handleDismiss,fixed:true})))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetAlert.style=DuetAlertStyle0;export{DuetAlert as duet_alert};
@@ -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{D as DuetStatusLabels}from"./common-strings-1274857d.js";import{i as inheritGlobalTheme}from"./themeable-component-356b273d.js";import{g as getLocaleString}from"./language-utils-a17dc5f3.js";import"./string-utils-192eb3c8.js";var duetBadgeCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{display:inline-block;width:100%;padding:4.4444444444px 12px 5.4444444444px;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.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fdecc9}.duet-badge.danger{background:#f7d2dc}.duet-badge.danger.duet-theme-turva{background:#f7d2dc}.duet-badge.success{background:#d6e6e1}.duet-badge.success.duet-theme-turva{background:#d6e6e1}.duet-badge.subtle{color:rgb(98, 121, 138);background:none;outline:1px solid rgb(212, 223, 229);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(113, 118, 132);background:none;outline-color:rgb(222, 224, 228)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#f9c153}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.subtle{border-color:rgb(181, 198, 208);outline-color:rgb(8, 42, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(199, 202, 207);outline-color:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-badge.duet-theme-turva.default{color:#172a3b;background:#e8eaeb}:host(.duet-theme-turva2) .duet-badge.duet-theme-turva.background-strong.default{color:rgb(255, 255, 255);background:#172a3b}:host(.duet-theme-turva2) .duet-badge.duet-theme-turva.background-strong.subtle{outline-color:#172a3b}';var DuetBadgeStyle0=duetBadgeCss;var DuetBadge=function(){function e(e){var t=this;registerInstance(this,e);this.getVariationLabel=function(){if(t.variation==="subtle"){return""}var e=["default","success","danger","warning"].includes(t.variation)?t.variation:"default";return getLocaleString(DuetStatusLabels[e])};this.theme="";this.variation="default";this.background="normal";this.margin="auto"}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.render=function(){var e;var t="background-".concat(this.background);return h(Host,{key:"754fb06eaa60be4bed96d8fc8af86e01d0cbdae2",class:{"duet-m-0":this.margin==="none"}},h("span",{key:"5585a67dfe38a5169f8e8987e983ea86472dd1a5",class:(e={"duet-badge":true},e[this.variation]=true,e[t]=true,e["duet-theme-turva"]=this.theme==="turva",e)},h("duet-visually-hidden",{key:"1c2d4cfaa171c9c53929a02c01a7135a42e45e55"},this.getVariationLabel()),h("slot",{key:"e54ce9c1b957589d73bd49410b769add59650735"})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetBadge.style=DuetBadgeStyle0;export{DuetBadge as duet_badge};
4
+ import{r as registerInstance,h,H as Host,g as getElement}from"./index-22246570.js";import{D as DuetStatusLabels}from"./common-strings-1274857d.js";import{i as inheritGlobalTheme}from"./themeable-component-f4a04f2f.js";import{g as getLocaleString}from"./language-utils-09809102.js";import"./string-utils-192eb3c8.js";var duetBadgeCss='*,*::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;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{display:inline-block;width:100%;padding:4.4444444444px 12px 5.4444444444px;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.75rem;font-style:normal;font-weight:600;line-height:1.25;vertical-align:middle;color:rgb(8, 42, 77);text-align:center;word-break:break-word;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fdecc9}.duet-badge.danger{background:#f7d2dc}.duet-badge.danger.duet-theme-turva{background:#f7d2dc}.duet-badge.success{background:#d6e6e1}.duet-badge.success.duet-theme-turva{background:#d6e6e1}.duet-badge.subtle{color:rgb(98, 121, 138);outline:1px solid rgb(212, 223, 229);outline-offset:-1px;background:none}.duet-badge.subtle.duet-theme-turva{color:rgb(113, 118, 132);outline-color:rgb(222, 224, 228);background:none}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#f9c153}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.subtle{outline-color:rgb(8, 42, 77);border-color:rgb(181, 198, 208)}.duet-badge.background-strong.subtle.duet-theme-turva{outline-color:rgb(23, 28, 58);border-color:rgb(199, 202, 207)}:host(.duet-theme-turva2) .duet-badge.duet-theme-turva.default{color:rgb(23, 42, 59);background:#e8eaeb}:host(.duet-theme-turva2) .duet-badge.duet-theme-turva.background-strong.default{color:rgb(255, 255, 255);background:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-badge.duet-theme-turva.background-strong.subtle{outline-color:rgb(23, 42, 59)}';var DuetBadgeStyle0=duetBadgeCss;var DuetBadge=function(){function e(e){var t=this;registerInstance(this,e);this.getVariationLabel=function(){if(t.variation==="subtle"){return""}var e=["default","success","danger","warning"].includes(t.variation)?t.variation:"default";return getLocaleString(DuetStatusLabels[e])};this.theme="";this.variation="default";this.background="normal";this.margin="auto"}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.render=function(){var e;var t="background-".concat(this.background);return h(Host,{key:"754fb06eaa60be4bed96d8fc8af86e01d0cbdae2",class:{"duet-m-0":this.margin==="none"}},h("span",{key:"5585a67dfe38a5169f8e8987e983ea86472dd1a5",class:(e={"duet-badge":true},e[this.variation]=true,e[t]=true,e["duet-theme-turva"]=this.theme==="turva",e)},h("duet-visually-hidden",{key:"1c2d4cfaa171c9c53929a02c01a7135a42e45e55"},this.getVariationLabel()),h("slot",{key:"e54ce9c1b957589d73bd49410b769add59650735"})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetBadge.style=DuetBadgeStyle0;export{DuetBadge as duet_badge};
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{h,r as registerInstance,H as Host,g as getElement}from"./index-79fc1b32.js";import{i as inheritGlobalTheme}from"./themeable-component-356b273d.js";import{h as hasSlot,c as checkNamedSlotElement}from"./slot-utils-b099bb75.js";import{p as parsePossibleJSON}from"./string-utils-192eb3c8.js";import{g as getColorByName,p as postfixTheme}from"./token-utils-cf052bc0.js";import"./tokens.module-821694bb.js";var DuetPicture=function(e){var n=e.img,t=e.sources;return h("picture",null,t&&t.map((function(e){return h("source",{srcSet:e.srcset,media:e.media,type:e.type,sizes:e.sizes})})),h("img",Object.assign({},n)))};var duetBannerCss="*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 0px) {\n .duet-banner .visual {\n /* stylelint-enable */\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20344%22%20fill%3D%22none%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.72641e-07%2091.1902C0.000476976%2097.9034%200.626077%20104.726%201.92282%20111.592L42.7493%20327.771C43.8045%20333.358%2045.2667%20338.776%2047.0996%20344H160V0H51.1439C19.7799%2019.1253%200.00268143%2053.4178%202.72641e-07%2091.1749C-9.08807e-08%2091.18%20-9.08875e-08%2091.1851%202.72641e-07%2091.1902Z%22%20fill%3D%22%23E6F2F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E\");\n transform: scale(101%);\n}\n.duet-banner .content {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 16px 20px 28px;\n}\n.duet-banner .content .description {\n hyphens: auto;\n}\n.duet-banner .action {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n align-items: flex-start;\n justify-content: flex-end;\n padding-top: 16px;\n}\n.duet-banner .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n.duet-banner .visual .image-container {\n width: 100%;\n height: auto;\n border-radius: 0;\n}\n.duet-banner .visual .icon {\n bottom: 30px;\n left: 15px;\n}\n.duet-banner.duet-theme-turva {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n.duet-banner.duet-theme-turva .visual .brand-shape {\n mask-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 160 344' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7920_3801)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.58983 142.533C0.751086 155.147 0.0746585 167.857 0.00796847 179.225C0.00263853 179.814 0 180.409 0 181.007C0 194.845 1.41172 210.806 3.58065 223.171C5.6528 234.934 8.58716 246.495 12.5981 257.779C21.2249 282.059 34.0151 304.109 50.8401 323.977C56.7824 330.993 63.0921 337.68 69.8162 344H160V0H65.0733C52.1771 10.7866 41.4339 23.4177 32.7528 37.7978C21.1154 57.0822 14.0367 77.9583 9.75424 99.7913C9.09214 103.157 8.55049 106.545 8.00901 109.933C7.75185 111.542 7.49474 113.15 7.22478 114.756C6.74308 117.618 6.24543 120.479 5.74776 123.34C4.6361 129.729 3.52432 136.12 2.58983 142.533Z' fill='%23F5F5F7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7920_3801'%3E%3Crect width='160' height='344' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A\");\n}\n.duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-disable */\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-medium .visual, .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-medium .visual .image-container, .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-medium .visual .image, .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-medium .visual .icon, .duet-banner.size-large .visual .icon {\n top: 36px;\n left: 168px;\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-medium .content, .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 28px 28px 28px 0;\n }\n .duet-banner.size-medium .action, .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n@container duet-banner-container (min-width: 586px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n.duet-banner.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-large .visual .icon {\n top: 40px;\n bottom: auto;\n left: 335px;\n }\n .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 48px 48px 48px 0;\n }\n .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n.duet-banner.no-image {\n display: flex;\n justify-content: center;\n padding: 36px 20px;\n}\n.duet-banner.no-image .visual {\n display: none;\n}\n.duet-banner.no-image .content {\n width: 100%;\n max-width: 720px;\n padding: 0;\n}\n.duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-enable */\n padding: 48px;\n }\n}\n\n:host(.duet-theme-turva2) .duet-banner {\n border-radius: 8px;\n}\n:host(.duet-theme-turva2) .duet-banner.size-medium, :host(.duet-theme-turva2) .duet-banner.size-large {\n /* stylelint-disable */\n}\n:host(.duet-theme-turva2) .duet-banner.size-medium .visual, :host(.duet-theme-turva2) .duet-banner.size-large .visual {\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n}\n:host(.duet-theme-turva2) .duet-banner.size-medium .visual .brand-shape, :host(.duet-theme-turva2) .duet-banner.size-large .visual .brand-shape {\n display: none;\n}\n@container duet-banner-container (min-width: 486px) {\n :host(.duet-theme-turva2) .duet-banner.size-medium, :host(.duet-theme-turva2) .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-columns: 1fr 1fr;\n gap: 28px;\n border-radius: 12px;\n }\n :host(.duet-theme-turva2) .duet-banner.size-medium .visual, :host(.duet-theme-turva2) .duet-banner.size-large .visual {\n border-top-left-radius: 12px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 12px;\n }\n}";var DuetBannerStyle0=duetBannerCss;var DuetBanner=function(){function e(e){var n=this;registerInstance(this,e);this.checkCurrentSize=function(){var e=n.element.clientWidth;if(e<500||n.size==="small"){n.currentSize="small"}else if(e<900||n.size==="medium"){n.currentSize="medium"}else{n.currentSize="large"}n.setButtonSize()};this.setButtonSize=function(){if(n.hasActionSlot&&n.currentSize){var e=n.element.querySelectorAll("[slot='action'] duet-button, duet-button[slot='action']");for(var t=0,a=e;t<a.length;t++){var i=a[t];if(i&&i.getAttribute("size")===null&&n.currentSize!=="large"){i.size="small"}else if(i&&i.getAttribute("size")===null&&n.currentSize==="large"){i.size="medium"}}}};this.isTurva2=function(){var e;return(e=document.documentElement.attributes.getNamedItem("class"))===null||e===void 0?void 0:e.value.includes("duet-theme-turva2")};this.getBackgroundColor=function(){if(n.theme==="turva"&&n.backgroundColor==="primary-lighter"){if(n.isTurva2()){return"#fdf7f2"}else{return getColorByName("gray-lighter",n.theme)}}return getColorByName(n.backgroundColor,n.theme)};this.currentSize=undefined;this.theme="";this.margin="auto";this.backgroundColor="primary-lighter";this.iconColor="gray-lightest";this.iconBackgroundColor="primary";this.textColor="secondary";this.size="large";this.image="";this.sources=undefined;this.icon="";this.headingLevel="h2"}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.hasHeadingSlot=hasSlot(this.element,"heading");this.hasDescriptionSlot=hasSlot(this.element,"description");this.hasActionSlot=hasSlot(this.element,"action");checkNamedSlotElement(this.element,"heading","span");this.setButtonSize()};e.prototype.connectedCallback=function(){window.addEventListener("resize",this.checkCurrentSize)};e.prototype.disconnectedCallback=function(){window.removeEventListener("resize",this.checkCurrentSize)};e.prototype.componentDidRender=function(){this.checkCurrentSize()};e.prototype.render=function(){var e;var n=this.getBackgroundColor();var t=getColorByName(this.textColor,this.theme);var a={backgroundColor:n};var i={img:{src:this.image,alt:"",loading:"lazy",class:"image",role:"presentation"},sources:parsePossibleJSON(this.sources)};return h(Host,{key:"c8e3140dea20791061866feb62588c5a5491f277",class:{"duet-m-0":this.margin==="none"}},h("aside",{key:"7e6834ed607505ee35d026a71d3406280644856b",class:(e={"duet-banner":true,"duet-theme-turva":this.theme==="turva"},e[this.currentSize]=true,e["size-medium"]=this.size==="medium"||this.size==="large",e["size-large"]=this.size==="large",e["no-image"]=!this.image,e),style:a},h("div",{key:"fc4dc8649243b6a63368328de6eb4e50ed176a6b",class:"visual"},h("div",{key:"37384ee4753623f1be3281d984a0bb838ed73f58",class:"image-container"},this.image&&h(DuetPicture,Object.assign({key:"20843c2967598ea78d178de08e35e9ac6b913e2d"},i))),1>2,h("div",{key:"c7a8ea6e28e80f6b10f37d3d9ae649e72362d59b",style:a,class:"brand-shape"})),h("div",{key:"1cf3029099015dd0ff396e9f9c94075c3eb5b70f",class:"content"},this.hasHeadingSlot&&h("div",{key:"bd471f924ebdcd3a08f9aed0ac669f46188a5452",class:"heading"},h("duet-heading",{key:"f8a595ae3eb8a76b5f2ffb245912d8dea6221873",theme:this.theme,level:this.headingLevel,"visual-level":this.currentSize==="large"?"h2":"h3","fixed-size":true,margin:"none",color:postfixTheme(this.textColor,this.theme)},h("span",{key:"cc6134c267fdc0401198afdff0a75776f091db58"},h("slot",{key:"bdfc9e47dfe979c9355b99379533e81e36d55ac3",name:"heading"})))),this.hasDescriptionSlot&&h("div",{key:"38b1971548ed44d7b5c02c5eb6feb85625880f09",class:"description",style:{color:t}},h("slot",{key:"2b8ed684179262322589d0e8702f3bd823e7614f",name:"description"})),this.hasActionSlot&&h("div",{key:"75e5f3ba7ef02266554854f6963e4c471ca0fa4f",class:"action"},h("slot",{key:"1c9affe286d41ac0266758465f0d574591e38b2c",name:"action"})))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetBanner.style=DuetBannerStyle0;export{DuetBanner as duet_banner};
4
+ import{h,r as registerInstance,H as Host,g as getElement}from"./index-22246570.js";import{i as inheritGlobalTheme}from"./themeable-component-f4a04f2f.js";import{h as hasSlot,c as checkNamedSlotElement}from"./slot-utils-eb668280.js";import{p as parsePossibleJSON}from"./string-utils-192eb3c8.js";import{g as getColorByName,p as postfixTheme}from"./token-utils-d02c20ff.js";import"./tokens.module-7b07911f.js";var DuetPicture=function(e){var n=e.img,t=e.sources;return h("picture",null,t&&t.map((function(e){return h("source",{srcSet:e.srcset,media:e.media,type:e.type,sizes:e.sizes})})),h("img",Object.assign({},n)))};var duetBannerCss="*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n border: 0;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n border: 0;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n}\n@container duet-banner-container (min-width: 0) {\n .duet-banner .visual {\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20344%22%20fill%3D%22none%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.72641e-07%2091.1902C0.000476976%2097.9034%200.626077%20104.726%201.92282%20111.592L42.7493%20327.771C43.8045%20333.358%2045.2667%20338.776%2047.0996%20344H160V0H51.1439C19.7799%2019.1253%200.00268143%2053.4178%202.72641e-07%2091.1749C-9.08807e-08%2091.18%20-9.08875e-08%2091.1851%202.72641e-07%2091.1902Z%22%20fill%3D%22%23E6F2F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E\");\n transform: scale(101%);\n}\n.duet-banner .content {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 16px 20px 28px;\n}\n.duet-banner .content .description {\n hyphens: auto;\n}\n.duet-banner .action {\n display: flex;\n flex-grow: 1;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-end;\n padding-top: 16px;\n}\n.duet-banner .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n.duet-banner .visual .image-container {\n width: 100%;\n height: auto;\n border-radius: 0;\n}\n.duet-banner .visual .icon {\n bottom: 30px;\n left: 15px;\n}\n.duet-banner.duet-theme-turva {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n.duet-banner.duet-theme-turva .visual .brand-shape {\n mask-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 160 344' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7920_3801)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.58983 142.533C0.751086 155.147 0.0746585 167.857 0.00796847 179.225C0.00263853 179.814 0 180.409 0 181.007C0 194.845 1.41172 210.806 3.58065 223.171C5.6528 234.934 8.58716 246.495 12.5981 257.779C21.2249 282.059 34.0151 304.109 50.8401 323.977C56.7824 330.993 63.0921 337.68 69.8162 344H160V0H65.0733C52.1771 10.7866 41.4339 23.4177 32.7528 37.7978C21.1154 57.0822 14.0367 77.9583 9.75424 99.7913C9.09214 103.157 8.55049 106.545 8.00901 109.933C7.75185 111.542 7.49474 113.15 7.22478 114.756C6.74308 117.618 6.24543 120.479 5.74776 123.34C4.6361 129.729 3.52432 136.12 2.58983 142.533Z' fill='%23F5F5F7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7920_3801'%3E%3Crect width='160' height='344' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A\");\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-medium .visual, .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-medium .visual .image-container, .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-medium .visual .image, .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-medium .visual .icon, .duet-banner.size-large .visual .icon {\n top: 36px;\n left: 168px;\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-medium .content, .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 28px 28px 28px 0;\n }\n .duet-banner.size-medium .action, .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n@container duet-banner-container (min-width: 586px) {\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-large .visual .icon {\n top: 40px;\n bottom: auto;\n left: 335px;\n }\n .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 48px 48px 48px 0;\n }\n .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n.duet-banner.no-image {\n display: flex;\n justify-content: center;\n padding: 36px 20px;\n}\n.duet-banner.no-image .visual {\n display: none;\n}\n.duet-banner.no-image .content {\n width: 100%;\n max-width: 720px;\n padding: 0;\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n padding: 48px;\n }\n}\n\n:host(.duet-theme-turva2) .duet-banner {\n border-radius: 8px;\n}\n:host(.duet-theme-turva2) .duet-banner.size-medium .visual, :host(.duet-theme-turva2) .duet-banner.size-large .visual {\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n}\n:host(.duet-theme-turva2) .duet-banner.size-medium .visual .brand-shape, :host(.duet-theme-turva2) .duet-banner.size-large .visual .brand-shape {\n display: none;\n}\n@container duet-banner-container (min-width: 486px) {\n :host(.duet-theme-turva2) .duet-banner.size-medium, :host(.duet-theme-turva2) .duet-banner.size-large {\n grid-template-columns: 1fr 1fr;\n gap: 28px;\n border-radius: 12px;\n }\n :host(.duet-theme-turva2) .duet-banner.size-medium .visual, :host(.duet-theme-turva2) .duet-banner.size-large .visual {\n border-top-left-radius: 12px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 12px;\n }\n}";var DuetBannerStyle0=duetBannerCss;var DuetBanner=function(){function e(e){var n=this;registerInstance(this,e);this.checkCurrentSize=function(){var e=n.element.clientWidth;if(e<500||n.size==="small"){n.currentSize="small"}else if(e<900||n.size==="medium"){n.currentSize="medium"}else{n.currentSize="large"}n.setButtonSize()};this.setButtonSize=function(){if(n.hasActionSlot&&n.currentSize){var e=n.element.querySelectorAll("[slot='action'] duet-button, duet-button[slot='action']");for(var t=0,a=e;t<a.length;t++){var i=a[t];if(i&&i.getAttribute("size")===null&&n.currentSize!=="large"){i.size="small"}else if(i&&i.getAttribute("size")===null&&n.currentSize==="large"){i.size="medium"}}}};this.isTurva2=function(){var e;return(e=document.documentElement.attributes.getNamedItem("class"))===null||e===void 0?void 0:e.value.includes("duet-theme-turva2")};this.getBackgroundColor=function(){if(n.theme==="turva"&&n.backgroundColor==="primary-lighter"){if(n.isTurva2()){return"#fdf7f2"}else{return getColorByName("gray-lighter",n.theme)}}return getColorByName(n.backgroundColor,n.theme)};this.currentSize=undefined;this.theme="";this.margin="auto";this.backgroundColor="primary-lighter";this.iconColor="gray-lightest";this.iconBackgroundColor="primary";this.textColor="secondary";this.size="large";this.image="";this.sources=undefined;this.icon="";this.headingLevel="h2"}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.hasHeadingSlot=hasSlot(this.element,"heading");this.hasDescriptionSlot=hasSlot(this.element,"description");this.hasActionSlot=hasSlot(this.element,"action");checkNamedSlotElement(this.element,"heading","span");this.setButtonSize()};e.prototype.connectedCallback=function(){window.addEventListener("resize",this.checkCurrentSize)};e.prototype.disconnectedCallback=function(){window.removeEventListener("resize",this.checkCurrentSize)};e.prototype.componentDidRender=function(){this.checkCurrentSize()};e.prototype.render=function(){var e;var n=this.getBackgroundColor();var t=getColorByName(this.textColor,this.theme);var a={backgroundColor:n};var i={img:{src:this.image,alt:"",loading:"lazy",class:"image",role:"presentation"},sources:parsePossibleJSON(this.sources)};return h(Host,{key:"c8e3140dea20791061866feb62588c5a5491f277",class:{"duet-m-0":this.margin==="none"}},h("aside",{key:"7e6834ed607505ee35d026a71d3406280644856b",class:(e={"duet-banner":true,"duet-theme-turva":this.theme==="turva"},e[this.currentSize]=true,e["size-medium"]=this.size==="medium"||this.size==="large",e["size-large"]=this.size==="large",e["no-image"]=!this.image,e),style:a},h("div",{key:"fc4dc8649243b6a63368328de6eb4e50ed176a6b",class:"visual"},h("div",{key:"37384ee4753623f1be3281d984a0bb838ed73f58",class:"image-container"},this.image&&h(DuetPicture,Object.assign({key:"20843c2967598ea78d178de08e35e9ac6b913e2d"},i))),1>2,h("div",{key:"c7a8ea6e28e80f6b10f37d3d9ae649e72362d59b",style:a,class:"brand-shape"})),h("div",{key:"1cf3029099015dd0ff396e9f9c94075c3eb5b70f",class:"content"},this.hasHeadingSlot&&h("div",{key:"bd471f924ebdcd3a08f9aed0ac669f46188a5452",class:"heading"},h("duet-heading",{key:"f8a595ae3eb8a76b5f2ffb245912d8dea6221873",theme:this.theme,level:this.headingLevel,"visual-level":this.currentSize==="large"?"h2":"h3","fixed-size":true,margin:"none",color:postfixTheme(this.textColor,this.theme)},h("span",{key:"cc6134c267fdc0401198afdff0a75776f091db58"},h("slot",{key:"bdfc9e47dfe979c9355b99379533e81e36d55ac3",name:"heading"})))),this.hasDescriptionSlot&&h("div",{key:"38b1971548ed44d7b5c02c5eb6feb85625880f09",class:"description",style:{color:t}},h("slot",{key:"2b8ed684179262322589d0e8702f3bd823e7614f",name:"description"})),this.hasActionSlot&&h("div",{key:"75e5f3ba7ef02266554854f6963e4c471ca0fa4f",class:"action"},h("slot",{key:"1c9affe286d41ac0266758465f0d574591e38b2c",name:"action"})))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetBanner.style=DuetBannerStyle0;export{DuetBanner as duet_banner};
@@ -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{s as subscribeTabbingChange,u as unsubscribeTabbingChange}from"./keyboard-utils-daf80d44.js";var actionArrowRightSmall={title:"action-arrow-right-small",tags:"action arrow right small caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>'};var duetBreadcrumbCss="*,*::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:list-item;width:auto}.container{display:flex;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;min-width:0.375rem;height:0.375rem;min-height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;padding:10px 8px;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";var DuetBreadcrumbStyle0=duetBreadcrumbCss;var DuetBreadcrumb=function(){function e(e){registerInstance(this,e);this.hasSlottedContent=false;this.theme="";this.href="";this.icon="arrow-right-small-icon";this.iconSize="x-small";this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.connectedCallback=function(){subscribeTabbingChange(this);this.hasSlottedContent=Array.from(this.element.childNodes).length>0};e.prototype.disconnectedCallback=function(){unsubscribeTabbingChange(this)};e.prototype.render=function(){var e=this.href?"a":"span";return h(Host,{key:"2207c094fc1739e35d0282ff76d24264b62ce36a",role:"listitem"},h("div",{key:"3cc99566d2766c3924b4d8b6ede7905180bcbbb9",class:"container"},this.icon==="arrow-right-small-icon"&&h("duet-icon",{key:"39dd9e66014828b37093cd6803823b2e15c3672e",class:"duet-breadrumbs-arrow",size:"auto",icon:actionArrowRightSmall.svg,margin:"none",color:"currentColor"}),h(e,{key:"53f7d4b23f6beaa1d85c5ea9838c715b3f7c43b1",class:{"duet-breadcrumb":true,"duet-theme-turva":this.theme==="turva","icon-only":this.icon&&!this.hasSlottedContent},href:this.href||undefined,"aria-label":this.accessibleLabel||this.element.textContent,"aria-current":this.href?undefined:"page"},this.icon!=="arrow-right-small-icon"&&this.icon&&[h("duet-icon",{key:"619c49353a03cf8963836ef4fd76aefd9cfd60b2",size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),this.hasSlottedContent&&h("duet-spacer",{key:"fd54d24f48cab981020265dd86753fcc46f0276c",size:"x-small",direction:"horizontal"})],h("slot",{key:"42334600d458ab1b9930d17f0b674fd06a1af09c"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetBreadcrumb.style=DuetBreadcrumbStyle0;export{DuetBreadcrumb as duet_breadcrumb};
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{s as subscribeTabbingChange,u as unsubscribeTabbingChange}from"./keyboard-utils-daf80d44.js";var actionArrowRightSmall={title:"action-arrow-right-small",tags:"action arrow right small caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>'};var duetBreadcrumbCss="*,*::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:list-item;width:auto}.container{display:flex;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;min-width:0.375rem;height:0.375rem;min-height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;padding:10px 8px;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-breadcrumb:focus,:host(.user-is-tabbing) .duet-breadcrumb:focus.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-breadcrumb:focus,:host(.user-is-tabbing) .duet-breadcrumb:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}";var DuetBreadcrumbStyle0=duetBreadcrumbCss;var DuetBreadcrumb=function(){function e(e){registerInstance(this,e);this.hasSlottedContent=false;this.theme="";this.href="";this.icon="arrow-right-small-icon";this.iconSize="x-small";this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.connectedCallback=function(){subscribeTabbingChange(this);this.hasSlottedContent=Array.from(this.element.childNodes).length>0};e.prototype.disconnectedCallback=function(){unsubscribeTabbingChange(this)};e.prototype.render=function(){var e=this.href?"a":"span";return h(Host,{key:"2207c094fc1739e35d0282ff76d24264b62ce36a",role:"listitem"},h("div",{key:"3cc99566d2766c3924b4d8b6ede7905180bcbbb9",class:"container"},this.icon==="arrow-right-small-icon"&&h("duet-icon",{key:"39dd9e66014828b37093cd6803823b2e15c3672e",class:"duet-breadrumbs-arrow",size:"auto",icon:actionArrowRightSmall.svg,margin:"none",color:"currentColor"}),h(e,{key:"53f7d4b23f6beaa1d85c5ea9838c715b3f7c43b1",class:{"duet-breadcrumb":true,"duet-theme-turva":this.theme==="turva","icon-only":this.icon&&!this.hasSlottedContent},href:this.href||undefined,"aria-label":this.accessibleLabel||this.element.textContent,"aria-current":this.href?undefined:"page"},this.icon!=="arrow-right-small-icon"&&this.icon&&[h("duet-icon",{key:"619c49353a03cf8963836ef4fd76aefd9cfd60b2",size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),this.hasSlottedContent&&h("duet-spacer",{key:"fd54d24f48cab981020265dd86753fcc46f0276c",size:"x-small",direction:"horizontal"})],h("slot",{key:"42334600d458ab1b9930d17f0b674fd06a1af09c"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetBreadcrumb.style=DuetBreadcrumbStyle0;export{DuetBreadcrumb as duet_breadcrumb};
@@ -1,4 +1,4 @@
1
1
  var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var a=0,o=r.length,d;a<o;a++){if(d||!(a in r)){if(!d)d=Array.prototype.slice.call(r,0,a);d[a]=r[a]}}return e.concat(d||Array.prototype.slice.call(r))};
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{g as getLocaleString}from"./language-utils-a17dc5f3.js";import{g as getColorByName}from"./token-utils-cf052bc0.js";import"./string-utils-192eb3c8.js";import"./tokens.module-821694bb.js";var duetBreadcrumbsCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}::slotted(*){font-weight:400}::slotted(:last-child){font-weight:600}:host([variation=plain]) ::slotted(:last-child){font-weight:400}.duet-breadcrumbs{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-breadcrumbs .container{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;min-height:36px;margin:0 28px 0 20px}.duet-breadcrumbs .list{display:flex;flex-direction:row;flex-wrap:wrap;gap:0;align-items:center;justify-content:flex-start;color:inherit;list-style:none}.duet-breadcrumbs .bottom-border{position:absolute;bottom:0;display:none;width:100%;height:1px}.duet-breadcrumbs.header{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-breadcrumbs.header .list duet-breadcrumb[href]:hover{color:rgb(0, 75, 129)}.duet-breadcrumbs.header .bottom-border--nav{display:block;background:rgb(212, 223, 229)}.duet-breadcrumbs.header.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-breadcrumbs.header.duet-theme-turva ol duet-breadcrumb[href]:hover{color:rgb(126, 2, 35)}.duet-breadcrumbs.footer{color:rgb(255, 255, 255);background:rgb(8, 42, 77)}@media (min-width: 64.0625em){.duet-breadcrumbs.footer{justify-content:flex-start}}@media (min-width: 76.25em){.duet-breadcrumbs.footer{justify-content:center}}.duet-breadcrumbs.footer .container{max-width:1110px}@media (min-width: 62em){.duet-breadcrumbs.footer .container{margin:0 72px 0 48px}}.duet-breadcrumbs.footer .list{padding:20px 0}@media (min-width: 62em){.duet-breadcrumbs.footer .list{padding:20px 8px}}.duet-breadcrumbs.footer .list duet-breadcrumb[href]:hover{text-decoration:underline}.duet-breadcrumbs.footer .bottom-border--container{display:block;background:rgba(255, 255, 255, 0.2)}.duet-breadcrumbs.footer.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-breadcrumbs.plain .container{max-width:none;min-height:auto;margin:0}.duet-breadcrumbs.plain .list{padding:0}.duet-breadcrumbs.plain .bottom-border{display:none}:host(.duet-theme-turva2) .duet-breadcrumbs.duet-theme-turva.header{color:#172a3b;background:#fdf7f2}:host(.duet-theme-turva2) .duet-breadcrumbs.duet-theme-turva.header ol duet-breadcrumb[href]:hover{color:rgb(126, 2, 35)}:host(.duet-theme-turva2) .duet-breadcrumbs.duet-theme-turva.footer{background:#e61740}';var DuetBreadcrumbsStyle0=duetBreadcrumbsCss;var DuetBreadcrumbs=function(){function e(e){registerInstance(this,e);this.observers=[];this.breadcrumbsAriaLabel=getLocaleString({fi:"Murupolku",sv:"Ströbröd",en:"Breadcrumbs"});this.children=undefined;this.theme="";this.variation="header";this.color=""}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.children=Array.from(this.element.children)};e.prototype.connectedCallback=function(){var e=this;Array.from(this.element.children).forEach((function(r){var t=new MutationObserver((function(){return e.children=Array.from(e.element.children)}));t.observe(r,{childList:true,subtree:true,attributes:true,characterData:true});e.observers=__spreadArray(__spreadArray([],e.observers,true),[t],false)}))};e.prototype.disconnectedCallback=function(){this.observers.forEach((function(e){return e.disconnect()}));this.observers=[]};e.prototype.render=function(){var e;var r=getColorByName(this.color);return h(Host,{key:"353dc54191f3da65ebc9bbba39c9904a23ac31d7"},h("nav",{key:"98ea70d7dba93ceda61bba1c572dc690bbb3aab9","aria-label":this.breadcrumbsAriaLabel,class:(e={"duet-breadcrumbs":true,"duet-theme-turva":this.theme==="turva"},e[this.variation]=true,e)},h("div",{key:"affe18004c3a9fbdb8f820d78b3bcb08cc9bb6f3",class:"container"},h("div",{key:"f90581d901c83261650c3c887f332888a160858a",role:"list",class:"list",style:{color:r}},h("slot",{key:"55867215483c5114bd599015847cd0ecafd7c456"})),h("div",{key:"cbbc4775098ce98422265fbce5632be69ed916f9",class:"bottom-border bottom-border--container"})),h("div",{key:"7463cda762ef2acdb4437c88f030ee7bfcd34864",class:"bottom-border bottom-border--nav"})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetBreadcrumbs.style=DuetBreadcrumbsStyle0;export{DuetBreadcrumbs as duet_breadcrumbs};
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{g as getLocaleString}from"./language-utils-09809102.js";import{g as getColorByName}from"./token-utils-d02c20ff.js";import"./string-utils-192eb3c8.js";import"./tokens.module-7b07911f.js";var duetBreadcrumbsCss='*,*::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;width:100%}::slotted(*){font-weight:400}::slotted(:last-child){font-weight:600}:host([variation=plain]) ::slotted(:last-child){font-weight:400}.duet-breadcrumbs{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-breadcrumbs .container{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;min-height:36px;margin:0 28px 0 20px}.duet-breadcrumbs .list{display:flex;flex-direction:row;flex-wrap:wrap;gap:0;align-items:center;justify-content:flex-start;color:inherit;list-style:none}.duet-breadcrumbs .bottom-border{position:absolute;bottom:0;display:none;width:100%;height:1px}.duet-breadcrumbs.header{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-breadcrumbs.header .list duet-breadcrumb[href]:hover{color:rgb(0, 75, 129)}.duet-breadcrumbs.header .bottom-border--nav{display:block;background:rgb(212, 223, 229)}.duet-breadcrumbs.header.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-breadcrumbs.header.duet-theme-turva ol duet-breadcrumb[href]:hover{color:rgb(126, 2, 35)}.duet-breadcrumbs.footer{color:rgb(255, 255, 255);background:rgb(8, 42, 77)}@media (min-width: 64.0625em){.duet-breadcrumbs.footer{justify-content:flex-start}}@media (min-width: 76.25em){.duet-breadcrumbs.footer{justify-content:center}}.duet-breadcrumbs.footer .container{max-width:1110px}@media (min-width: 62em){.duet-breadcrumbs.footer .container{margin:0 72px 0 48px}}.duet-breadcrumbs.footer .list{padding:20px 0}@media (min-width: 62em){.duet-breadcrumbs.footer .list{padding:20px 8px}}.duet-breadcrumbs.footer .list duet-breadcrumb[href]:hover{text-decoration:underline}.duet-breadcrumbs.footer .bottom-border--container{display:block;background:rgba(255, 255, 255, 0.2)}.duet-breadcrumbs.footer.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-breadcrumbs.plain .container{max-width:none;min-height:auto;margin:0}.duet-breadcrumbs.plain .list{padding:0}.duet-breadcrumbs.plain .bottom-border{display:none}:host(.duet-theme-turva2) .duet-breadcrumbs.duet-theme-turva.header{color:rgb(23, 42, 59);background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-breadcrumbs.duet-theme-turva.header ol duet-breadcrumb[href]:hover{color:rgb(126, 2, 35)}:host(.duet-theme-turva2) .duet-breadcrumbs.duet-theme-turva.footer{background:rgb(230, 23, 64)}';var DuetBreadcrumbsStyle0=duetBreadcrumbsCss;var DuetBreadcrumbs=function(){function e(e){registerInstance(this,e);this.observers=[];this.breadcrumbsAriaLabel=getLocaleString({fi:"Murupolku",sv:"Ströbröd",en:"Breadcrumbs"});this.children=undefined;this.theme="";this.variation="header";this.color=""}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.children=Array.from(this.element.children)};e.prototype.connectedCallback=function(){var e=this;Array.from(this.element.children).forEach((function(r){var t=new MutationObserver((function(){return e.children=Array.from(e.element.children)}));t.observe(r,{childList:true,subtree:true,attributes:true,characterData:true});e.observers=__spreadArray(__spreadArray([],e.observers,true),[t],false)}))};e.prototype.disconnectedCallback=function(){this.observers.forEach((function(e){return e.disconnect()}));this.observers=[]};e.prototype.render=function(){var e;var r=getColorByName(this.color);return h(Host,{key:"353dc54191f3da65ebc9bbba39c9904a23ac31d7"},h("nav",{key:"98ea70d7dba93ceda61bba1c572dc690bbb3aab9","aria-label":this.breadcrumbsAriaLabel,class:(e={"duet-breadcrumbs":true,"duet-theme-turva":this.theme==="turva"},e[this.variation]=true,e)},h("div",{key:"affe18004c3a9fbdb8f820d78b3bcb08cc9bb6f3",class:"container"},h("div",{key:"f90581d901c83261650c3c887f332888a160858a",role:"list",class:"list",style:{color:r}},h("slot",{key:"55867215483c5114bd599015847cd0ecafd7c456"})),h("div",{key:"cbbc4775098ce98422265fbce5632be69ed916f9",class:"bottom-border bottom-border--container"})),h("div",{key:"7463cda762ef2acdb4437c88f030ee7bfcd34864",class:"bottom-border bottom-border--nav"})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetBreadcrumbs.style=DuetBreadcrumbsStyle0;export{DuetBreadcrumbs as duet_breadcrumbs};
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(t,e,u,o){function n(t){return t instanceof u?t:new u((function(e){e(t)}))}return new(u||(u=Promise))((function(u,r){function d(t){try{a(o.next(t))}catch(t){r(t)}}function i(t){try{a(o["throw"](t))}catch(t){r(t)}}function a(t){t.done?u(t.value):n(t.value).then(d,i)}a((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,n,r,d;return d={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(d[Symbol.iterator]=function(){return this}),d;function i(t){return function(e){return a([t,e])}}function a(i){if(o)throw new TypeError("Generator is already executing.");while(d&&(d=0,i[0]&&(u=0)),u)try{if(o=1,n&&(r=i[0]&2?n["return"]:i[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;if(n=0,r)i=[i[0]&2,r.value];switch(i[0]){case 0:case 1:r=i;break;case 4:u.label++;return{value:i[1],done:false};case 5:u.label++;n=i[1];i=[0];continue;case 7:i=u.ops.pop();u.trys.pop();continue;default:if(!(r=u.trys,r=r.length>0&&r[r.length-1])&&(i[0]===6||i[0]===2)){u=0;continue}if(i[0]===3&&(!r||i[1]>r[0]&&i[1]<r[3])){u.label=i[1];break}if(i[0]===6&&u.label<r[1]){u.label=r[1];r=i;break}if(r&&u.label<r[2]){u.label=r[2];u.ops.push(i);break}if(r[2])u.ops.pop();u.trys.pop();continue}i=e.call(t,u)}catch(t){i=[6,t];n=0}finally{o=r=0}if(i[0]&5)throw i[1];return{value:i[0]?i[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{a as DuetStringsExternalDefaults,c as DuetStringsLoadingDefaults}from"./common-strings-1274857d.js";import{a as getLanguage,g as getLocaleString,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-a17dc5f3.js";import{g as getColorByName}from"./token-utils-cf052bc0.js";import"./string-utils-192eb3c8.js";import"./tokens.module-821694bb.js";var duetButtonCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, outline 300ms ease, padding 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:12.5px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:18px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:18px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:10px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:14px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:14px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){min-width:48px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-theme-turva .duet-button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(222, 224, 228)}.duet-button.default:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(222, 224, 228) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary,.duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary,.duet-theme-turva .duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover,.duet-button.input-button-left-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover,.duet-theme-turva .duet-button.input-button-left-primary:hover{background:rgb(126, 2, 35);border-color:rgb(126, 2, 35)}.duet-button.primary:focus,.duet-button.input-button-primary:focus,.duet-button.input-button-left-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus,.duet-theme-turva .duet-button.input-button-left-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-left-secondary,.duet-button.input-button-embedded{color:rgb(8, 42, 77) !important;background:transparent;border-color:rgb(8, 42, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-left-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-left-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-left-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(212, 223, 229) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(222, 224, 228) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled],.duet-button.plain[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled],.duet-theme-turva .duet-button.plain[disabled]:hover{color:rgb(113, 118, 132) !important;cursor:not-allowed;background:transparent !important;border-color:rgb(222, 224, 228) !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(126, 2, 35) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded,.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents,.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-secondary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-embedded .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-secondary .duet-button-contents.icon-right{padding:0 16px}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px}.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.square{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(222, 224, 228)}.duet-button.square:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.square:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(143, 147, 158) !important;cursor:not-allowed;background:rgb(222, 224, 228) !important;border-color:rgb(222, 224, 228) !important;outline-color:rgb(222, 224, 228) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button{border-radius:8px}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default{color:#e61740 !important;border-color:#fbe1d1}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default:hover{border-color:#e61740;outline-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative{background-color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-primary{background:#e61740;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded{color:#172a3b !important;border-color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative{color:#172a3b !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative:hover{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain{color:#e61740 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain:hover{color:#8c001e !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled]:hover{color:#5f7a8f !important;background:transparent !important;border-color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square{border-color:#fbe1d1}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square.duet-button-negative{background:#e61740;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square:hover{border-color:#e61740;outline-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled]:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:#7891a4 !important;cursor:not-allowed;background:#d4dde2 !important;border-color:#d4dde2 !important;outline-color:#d4dde2 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button-is-loading.default{color:#e61740}';var DuetButtonStyle0=duetButtonCss;var DuetButton=function(){function t(t){var e=this;registerInstance(this,t);this.duetFocus=createEvent(this,"duetFocus",7);this.duetBlur=createEvent(this,"duetBlur",7);this.proxyButtonSetUp=function(){var t=e.element.querySelector("button[slot=proxybutton]");var u=t||document.createElement("button");if(e.url){if(t){t.remove()}e.proxyButton=null;return}u.setAttribute("slot","proxybutton");u.style.display="none";u.type=e.getButtonType();u.disabled=e.disabled;u.setAttribute("form",e.form);if(!e.form){u.removeAttribute("form")}if(e.name!=null){u.name=e.name}else{u.removeAttribute("name")}if(e.value!=null){u.value=e.value}else{u.removeAttribute("value")}if(!t){e.element.appendChild(u)}e.proxyButton=u};this.handleClick=function(t){if(e.submit&&!e.url&&(e.element.closest("form")||e.form)){t.stopPropagation();t.preventDefault();e.proxyButton.click()}};this.onFocus=function(){e.duetFocus.emit()};this.onBlur=function(){e.duetBlur.emit()};this.accessibleLabel=undefined;this.accessibleControls=undefined;this.accessiblePopup="false";this.accessibleActiveDescendant=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleExpanded=undefined;this.accessiblePressed=undefined;this.loading=false;this.variation="default";this.negative=false;this.theme="";this.margin="auto";this.form=undefined;this.padding="auto";this.centerText=false;this.wrapping="auto";this.expand=false;this.fixed=false;this.disabled=false;this.name=undefined;this.value=undefined;this.identifier=undefined;this.submit=false;this.external=false;this.language=getLanguage();this.accessibleLabelExternalDefaults=DuetStringsExternalDefaults;this.accessibleLabelExternal=getLocaleString(this.accessibleLabelExternalDefaults);this.accessibleLabelLoadingDefaults=DuetStringsLoadingDefaults;this.accessibleLabelLoading=getLocaleString(this.accessibleLabelLoadingDefaults);this.icon="";this.color="";this.iconRight=false;this.iconSize="medium";this.size="medium";this.iconOnly=false;this.url=undefined}t.prototype.componentWillLoad=function(){inheritGlobalTheme(this);if(this.url&&this.external&&this.icon){console.warn("[DUET]: Button used as an external link will override any icon that is set")}};t.prototype.connectedCallback=function(){connectLanguageChangeObserver(this,[{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"},{prop:"accessibleLabelLoading",defaults:"accessibleLabelLoadingDefaults"}])};t.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this)};t.prototype.componentDidRender=function(){if(this.disabled===false){this.element.removeAttribute("disabled")}if(this.submit){this.proxyButtonSetUp()}};t.prototype.getButtonType=function(){return this.submit?"submit":"button"};t.prototype.getButtonIconSize=function(){switch(this.iconSize){case"small":return"small";case"medium-small":return"medium-small";case"medium":return"medium";case"large":return"large";default:return"medium"}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t,e,u,o;var n=this;var r,d;var i=this.external&&this.url;var a=i?"action-new-window":this.icon;var b=i?true:this.iconRight;var s=h("span",{key:"4b6618222c037ec329c118f7ad247b9fd514e878",class:{"duet-button-contents":true,"icon-right":b},style:{color:getColorByName(this.color,this.theme)}},a&&h("span",{key:"67492c9b50231879ba232f7c6bcdadcb2d219875","aria-hidden":"true",class:(t={"duet-button-icon":true,left:!b,right:b},t[this.getButtonIconSize()]=true,t)},h("duet-icon",{key:"fce0630d78df187c2a7f3946ff3d262c43e5ce95",size:"auto",margin:"none",name:a,color:"currentColor"})),h("span",{key:"34d608211bac6921c4aec51f71a9b33e2ac2b7b0",class:"duet-button-contents-slot"},h("slot",{key:"b2478d851993c148be6a83a76f9f725469bc9944"})));var l=this.size=="medium"||this.size=="small"||this.size=="x-small"?this.size:"medium";var m={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(t){return n.nativeButton=t},id:this.identifier,class:(e={"duet-m-0":this.margin==="none","duet-p-0":this.padding==="none","duet-no-wrap":this.wrapping==="none","duet-button":true,"duet-button-is-small":this.size==="small"},e["duet-button-size-".concat(l)]=true,e["duet-button-icon-only"]=this.iconOnly,e["duet-button-text-center"]=this.centerText,e["duet-button-negative"]=this.negative||this.variation==="negative",e[this.variation]=true,e["input-button"]=(r=this.variation)===null||r===void 0?void 0:r.startsWith("input-button"),e.disabled=this.disabled,e.icon=!!a,e["icon-right"]=b,e["icon-left"]=!!a&&!b,e[this.getButtonIconSize()]=true,e),"aria-controls":this.accessibleControls,"aria-label":this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription};return h(Host,{key:"c70e2d9cbe884c7b6cc3012721f01ce6d54b4555",class:(u={"duet-m-0":this.margin==="none","duet-small":this.size==="small","duet-x-small":this.size==="x-small","duet-fixed":this.fixed,"duet-expand":this.expand},u[this.variation]=true,u["input-button"]=(d=this.variation)===null||d===void 0?void 0:d.startsWith("input-button"),u)},h("span",{key:"c8be7792d2ae572befbfbe921a3ec453c073637d",onClick:this.handleClick,class:(o={"duet-button-container":true,"duet-button-is-loading":this.loading,"duet-theme-turva":this.theme==="turva","duet-button-negative":this.negative||this.variation==="negative"},o[this.variation]=true,o)},this.url?h("a",Object.assign({},m,{href:this.url,target:this.external?"_blank":"_self",rel:this.external?"noopener":undefined}),s,this.external&&h("duet-visually-hidden",null,", ",this.accessibleLabelExternal)):h("button",Object.assign({},m,{type:this.getButtonType(),disabled:this.disabled,name:this.name,value:this.value,"aria-pressed":this.accessiblePressed!=null?this.accessiblePressed.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined,"aria-disabled":this.disabled}),s,this.loading&&h("duet-visually-hidden",null," ",this.accessibleLabelLoading," ")),this.loading&&h("duet-spinner",{key:"da956cda627d2afc5084ee69629b54ffabcb672b",color:"currentColor"})),h("slot",{key:"0ead01a475d6242c0049a259f9b9c725830d4b80",name:"proxybutton"}))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();DuetButton.style=DuetButtonStyle0;var duetSpinnerCss=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;top:50%;left:50%;z-index:800;max-width:100%}:host(.duet-theme-default) .duet-spinner{color:rgb(0, 119, 179) !important}:host(.duet-theme-turva) .duet-spinner{color:rgb(198, 12, 48) !important}:host(.duet-custom-color){color:inherit}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-spinner{-webkit-user-select:none;user-select:none;position:absolute;top:50%;left:50%;z-index:800;width:24px;height:24px;color:rgb(0, 119, 179);border:2px solid transparent;border-left:2px solid currentColor;border-radius:50%;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%;animation:duetRotate 0.6s linear infinite}.duet-spinner::after{position:absolute;top:50%;left:50%;z-index:200;box-sizing:content-box;width:100%;height:100%;overflow:hidden;content:"";border:2px solid currentColor;border-radius:50%;opacity:0.3;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%}.duet-spinner.medium{width:36px;height:36px;border-width:4px}.duet-spinner.medium::after{border-width:4px}.duet-spinner.large{width:72px;height:72px;border-width:8px}.duet-spinner.large::after{border-width:8px}@keyframes duetRotate{0%{transform:translateZ(0) rotate(0deg) translateX(-50%) translateY(-50%)}100%{transform:translateZ(0) rotate(360deg) translateX(-50%) translateY(-50%)}}:host(.duet-theme-turva2) .duet-spinner{color:#e61740 !important}';var DuetSpinnerStyle0=duetSpinnerCss;var DuetSpinner=function(){function t(t){registerInstance(this,t);this.accessibleLabel=undefined;this.color="gray-lightest";this.size="small";this.theme=""}t.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};t.prototype.render=function(){var t;var e=this.color==="currentColor"?"currentColor":getColorByName(this.color);return h(Host,{key:"feb500dd4e62ad66f8d1caed2c882a89acddc938",class:{"duet-custom-color":this.color!=="currentColor"&&this.theme!=="turva"&&this.theme!=="default","duet-theme-turva":this.theme==="turva"&&this.color!=="currentColor","duet-theme-default":this.theme==="default"&&this.color!=="currentColor"}},h("div",{key:"9483e2ed54fc623f7ae129808bbd88607c0de1e2",class:(t={"duet-spinner":true},t[this.size]=true,t),style:{color:e},"aria-label":this.accessibleLabel}))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();DuetSpinner.style=DuetSpinnerStyle0;export{DuetButton as duet_button,DuetSpinner as duet_spinner};
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{a as DuetStringsExternalDefaults,c as DuetStringsLoadingDefaults}from"./common-strings-1274857d.js";import{a as getLanguage,g as getLocaleString,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-09809102.js";import{g as getColorByName}from"./token-utils-d02c20ff.js";import"./string-utils-192eb3c8.js";import"./tokens.module-7b07911f.js";var duetButtonCss='*,*::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;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, padding 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva,.duet-theme-turva2 .duet-button:focus,.duet-button:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-button.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:12.5px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:18px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:18px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:10px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:14px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:14px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){min-width:48px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-theme-turva .duet-button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(222, 224, 228)}.duet-button.default:hover{outline:2px solid rgb(0, 119, 179);outline-offset:-2px;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default:hover{outline-color:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(222, 224, 228) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary,.duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary,.duet-theme-turva .duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover,.duet-button.input-button-left-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover,.duet-theme-turva .duet-button.input-button-left-primary:hover{background:rgb(126, 2, 35);border-color:rgb(126, 2, 35)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-left-secondary,.duet-button.input-button-embedded{color:rgb(8, 42, 77) !important;background:transparent;border-color:rgb(8, 42, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-left-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-left-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179);outline:2px solid;outline-color:rgb(98, 121, 138);outline-offset:-1px}.duet-theme-turva .duet-button.secondary:hover,.duet-button.secondary:hover.duet-theme-turva,.duet-theme-turva2 .duet-button.secondary:hover,.duet-button.secondary:hover.duet-theme-turva2,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-button.input-button-secondary:hover.duet-theme-turva,.duet-theme-turva2 .duet-button.input-button-secondary:hover,.duet-button.input-button-secondary:hover.duet-theme-turva2,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-button.input-button-left-secondary:hover.duet-theme-turva,.duet-theme-turva2 .duet-button.input-button-left-secondary:hover,.duet-button.input-button-left-secondary:hover.duet-theme-turva2,.duet-theme-turva .duet-button.input-button-embedded:hover,.duet-button.input-button-embedded:hover.duet-theme-turva,.duet-theme-turva2 .duet-button.input-button-embedded:hover,.duet-button.input-button-embedded:hover.duet-theme-turva2{outline-color:rgb(120, 145, 164)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-left-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(212, 223, 229) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(222, 224, 228) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled],.duet-button.plain[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled],.duet-theme-turva .duet-button.plain[disabled]:hover{color:rgb(113, 118, 132) !important;cursor:not-allowed;background:transparent !important;border-color:rgb(222, 224, 228) !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(126, 2, 35) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !important}.duet-button.plain.duet-button-icon-only:focus{outline-offset:1px}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded,.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents,.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-secondary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-embedded .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-secondary .duet-button-contents.icon-right{padding:0 16px}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px}.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.square{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(222, 224, 228)}.duet-button.square:hover{outline:2px solid rgb(0, 119, 179);outline-offset:-2px;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square:hover{outline-color:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;outline:none !important;outline-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !important;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(143, 147, 158) !important;cursor:not-allowed;outline-color:rgb(222, 224, 228) !important;background:rgb(222, 224, 228) !important;border-color:rgb(222, 224, 228) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button{border-radius:8px}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default{color:rgb(230, 23, 64) !important;border-color:rgb(251, 225, 209)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default:hover{outline-color:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(251, 225, 209) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(230, 23, 64) !important;border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-primary{background:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 42, 59) !important;border-color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(230, 23, 64) !important;border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(251, 225, 209) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(230, 23, 64) !important;border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-bottom-left-radius:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-left-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button.input-button-left-secondary{border-top-right-radius:0;border-bottom-right-radius:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative{color:rgb(23, 42, 59) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative:hover{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain{color:rgb(230, 23, 64) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain:hover{color:rgb(140, 0, 30) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled]:hover{color:rgb(95, 122, 143) !important;background:transparent !important;border-color:rgb(251, 225, 209) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square{border-color:rgb(251, 225, 209)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square.duet-button-negative{background:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square:hover{outline-color:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled]:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(120, 145, 164) !important;cursor:not-allowed;outline-color:rgb(212, 221, 226) !important;background:rgb(212, 221, 226) !important;border-color:rgb(212, 221, 226) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button-is-loading.default{color:rgb(230, 23, 64)}';var DuetButtonStyle0=duetButtonCss;var DuetButton=function(){function t(t){var e=this;registerInstance(this,t);this.duetFocus=createEvent(this,"duetFocus",7);this.duetBlur=createEvent(this,"duetBlur",7);this.proxyButtonSetUp=function(){var t=e.element.querySelector("button[slot=proxybutton]");var u=t||document.createElement("button");if(e.url){if(t){t.remove()}e.proxyButton=null;return}u.setAttribute("slot","proxybutton");u.style.display="none";u.type=e.getButtonType();u.disabled=e.disabled;u.setAttribute("form",e.form);if(!e.form){u.removeAttribute("form")}if(e.name!=null){u.name=e.name}else{u.removeAttribute("name")}if(e.value!=null){u.value=e.value}else{u.removeAttribute("value")}if(!t){e.element.appendChild(u)}e.proxyButton=u};this.handleClick=function(t){if(e.submit&&!e.url&&(e.element.closest("form")||e.form)){t.stopPropagation();t.preventDefault();e.proxyButton.click()}};this.onFocus=function(){e.duetFocus.emit()};this.onBlur=function(){e.duetBlur.emit()};this.accessibleLabel=undefined;this.accessibleControls=undefined;this.accessiblePopup="false";this.accessibleActiveDescendant=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleExpanded=undefined;this.accessiblePressed=undefined;this.loading=false;this.variation="default";this.negative=false;this.theme="";this.margin="auto";this.form=undefined;this.padding="auto";this.centerText=false;this.wrapping="auto";this.expand=false;this.fixed=false;this.disabled=false;this.name=undefined;this.value=undefined;this.identifier=undefined;this.submit=false;this.external=false;this.language=getLanguage();this.accessibleLabelExternalDefaults=DuetStringsExternalDefaults;this.accessibleLabelExternal=getLocaleString(this.accessibleLabelExternalDefaults);this.accessibleLabelLoadingDefaults=DuetStringsLoadingDefaults;this.accessibleLabelLoading=getLocaleString(this.accessibleLabelLoadingDefaults);this.icon="";this.color="";this.iconRight=false;this.iconSize="medium";this.size="medium";this.iconOnly=false;this.url=undefined}t.prototype.componentWillLoad=function(){inheritGlobalTheme(this);if(this.url&&this.external&&this.icon){console.warn("[DUET]: Button used as an external link will override any icon that is set")}};t.prototype.connectedCallback=function(){connectLanguageChangeObserver(this,[{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"},{prop:"accessibleLabelLoading",defaults:"accessibleLabelLoadingDefaults"}])};t.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this)};t.prototype.componentDidRender=function(){if(this.disabled===false){this.element.removeAttribute("disabled")}if(this.submit){this.proxyButtonSetUp()}};t.prototype.getButtonType=function(){return this.submit?"submit":"button"};t.prototype.getButtonIconSize=function(){switch(this.iconSize){case"small":return"small";case"medium-small":return"medium-small";case"medium":return"medium";case"large":return"large";default:return"medium"}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t,e,u,o;var n=this;var r,d;var i=this.external&&this.url;var a=i?"action-new-window":this.icon;var b=i?true:this.iconRight;var s=h("span",{key:"4b6618222c037ec329c118f7ad247b9fd514e878",class:{"duet-button-contents":true,"icon-right":b},style:{color:getColorByName(this.color,this.theme)}},a&&h("span",{key:"67492c9b50231879ba232f7c6bcdadcb2d219875","aria-hidden":"true",class:(t={"duet-button-icon":true,left:!b,right:b},t[this.getButtonIconSize()]=true,t)},h("duet-icon",{key:"fce0630d78df187c2a7f3946ff3d262c43e5ce95",size:"auto",margin:"none",name:a,color:"currentColor"})),h("span",{key:"34d608211bac6921c4aec51f71a9b33e2ac2b7b0",class:"duet-button-contents-slot"},h("slot",{key:"b2478d851993c148be6a83a76f9f725469bc9944"})));var l=this.size=="medium"||this.size=="small"||this.size=="x-small"?this.size:"medium";var m={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(t){return n.nativeButton=t},id:this.identifier,class:(e={"duet-m-0":this.margin==="none","duet-p-0":this.padding==="none","duet-no-wrap":this.wrapping==="none","duet-button":true,"duet-button-is-small":this.size==="small"},e["duet-button-size-".concat(l)]=true,e["duet-button-icon-only"]=this.iconOnly,e["duet-button-text-center"]=this.centerText,e["duet-button-negative"]=this.negative||this.variation==="negative",e[this.variation]=true,e["input-button"]=(r=this.variation)===null||r===void 0?void 0:r.startsWith("input-button"),e.disabled=this.disabled,e.icon=!!a,e["icon-right"]=b,e["icon-left"]=!!a&&!b,e[this.getButtonIconSize()]=true,e),"aria-controls":this.accessibleControls,"aria-label":this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription};return h(Host,{key:"c70e2d9cbe884c7b6cc3012721f01ce6d54b4555",class:(u={"duet-m-0":this.margin==="none","duet-small":this.size==="small","duet-x-small":this.size==="x-small","duet-fixed":this.fixed,"duet-expand":this.expand},u[this.variation]=true,u["input-button"]=(d=this.variation)===null||d===void 0?void 0:d.startsWith("input-button"),u)},h("span",{key:"c8be7792d2ae572befbfbe921a3ec453c073637d",onClick:this.handleClick,class:(o={"duet-button-container":true,"duet-button-is-loading":this.loading,"duet-theme-turva":this.theme==="turva","duet-button-negative":this.negative||this.variation==="negative"},o[this.variation]=true,o)},this.url?h("a",Object.assign({},m,{href:this.url,target:this.external?"_blank":"_self",rel:this.external?"noopener":undefined}),s,this.external&&h("duet-visually-hidden",null,", ",this.accessibleLabelExternal)):h("button",Object.assign({},m,{type:this.getButtonType(),disabled:this.disabled,name:this.name,value:this.value,"aria-pressed":this.accessiblePressed!=null?this.accessiblePressed.toString():undefined,"aria-haspopup":this.accessiblePopup!=null?this.accessiblePopup.toString():undefined,"aria-disabled":this.disabled}),s,this.loading&&h("duet-visually-hidden",null," ",this.accessibleLabelLoading," ")),this.loading&&h("duet-spinner",{key:"da956cda627d2afc5084ee69629b54ffabcb672b",color:"currentColor"})),h("slot",{key:"0ead01a475d6242c0049a259f9b9c725830d4b80",name:"proxybutton"}))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();DuetButton.style=DuetButtonStyle0;var duetSpinnerCss=':host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;position:absolute;top:50%;left:50%;z-index:800;max-width:100%}:host(.duet-theme-default) .duet-spinner{color:rgb(0, 119, 179) !important}:host(.duet-theme-turva) .duet-spinner{color:rgb(198, 12, 48) !important}:host(.duet-custom-color){color:inherit}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.duet-spinner{-webkit-user-select:none;user-select:none;position:absolute;top:50%;left:50%;z-index:800;width:24px;height:24px;color:rgb(0, 119, 179);border:2px solid transparent;border-left:2px solid currentColor;border-radius:50%;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%;animation:duetRotate 0.6s linear infinite}.duet-spinner::after{position:absolute;top:50%;left:50%;z-index:200;box-sizing:content-box;width:100%;height:100%;overflow:hidden;content:"";border:2px solid currentColor;border-radius:50%;opacity:0.3;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%}.duet-spinner.medium{width:36px;height:36px;border-width:4px}.duet-spinner.medium::after{border-width:4px}.duet-spinner.large{width:72px;height:72px;border-width:8px}.duet-spinner.large::after{border-width:8px}@keyframes duetRotate{0%{transform:translateZ(0) rotate(0deg) translateX(-50%) translateY(-50%)}100%{transform:translateZ(0) rotate(360deg) translateX(-50%) translateY(-50%)}}:host(.duet-theme-turva2) .duet-spinner{color:rgb(230, 23, 64) !important}';var DuetSpinnerStyle0=duetSpinnerCss;var DuetSpinner=function(){function t(t){registerInstance(this,t);this.accessibleLabel=undefined;this.color="gray-lightest";this.size="small";this.theme=""}t.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};t.prototype.render=function(){var t;var e=this.color==="currentColor"?"currentColor":getColorByName(this.color);return h(Host,{key:"feb500dd4e62ad66f8d1caed2c882a89acddc938",class:{"duet-custom-color":this.color!=="currentColor"&&this.theme!=="turva"&&this.theme!=="default","duet-theme-turva":this.theme==="turva"&&this.color!=="currentColor","duet-theme-default":this.theme==="default"&&this.color!=="currentColor"}},h("div",{key:"9483e2ed54fc623f7ae129808bbd88607c0de1e2",class:(t={"duet-spinner":true},t[this.size]=true,t),style:{color:e},"aria-label":this.accessibleLabel}))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();DuetSpinner.style=DuetSpinnerStyle0;export{DuetButton as duet_button,DuetSpinner as duet_spinner};