@duetds/components 9.2.7 → 10.0.0-alpha.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 (680) hide show
  1. package/hydrate/index.js +954 -265
  2. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  3. package/lib/cjs/duet-badge.cjs.entry.js +2 -2
  4. package/lib/cjs/duet-banner.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-breadcrumb.cjs.entry.js +4 -4
  6. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
  7. package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
  8. package/lib/cjs/duet-callout.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-caption_4.cjs.entry.js +6 -6
  10. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
  12. package/lib/cjs/duet-chip_3.cjs.entry.js +2 -2
  13. package/lib/cjs/duet-choice_2.cjs.entry.js +98 -12
  14. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  15. package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-date-picker.cjs.entry.js +11 -8
  19. package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
  20. package/lib/cjs/duet-editable-table_3.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-fieldset.cjs.entry.js +4 -4
  23. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-footer.cjs.entry.js +14 -6
  25. package/lib/cjs/duet-grid_2.cjs.entry.js +4 -4
  26. package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-hero.cjs.entry.js +6 -6
  28. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  29. package/lib/cjs/duet-input_2.cjs.entry.js +14 -10
  30. package/lib/cjs/duet-layout.cjs.entry.js +6 -6
  31. package/lib/cjs/duet-list_2.cjs.entry.js +3 -3
  32. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  33. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
  34. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +4 -4
  35. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-modal.cjs.entry.js +7 -7
  39. package/lib/cjs/duet-multiselect.cjs.entry.js +6 -6
  40. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-notification_2.cjs.entry.js +5 -5
  42. package/lib/cjs/duet-number-input.cjs.entry.js +9 -4
  43. package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-page-heading.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-pagination_2.cjs.entry.js +13 -13
  46. package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-radio_2.cjs.entry.js +86 -10
  48. package/lib/cjs/duet-range-slider.cjs.entry.js +8 -3
  49. package/lib/cjs/duet-scrollable_3.cjs.entry.js +14 -14
  50. package/lib/cjs/duet-section-layout.cjs.entry.js +3 -3
  51. package/lib/cjs/duet-select.cjs.entry.js +7 -7
  52. package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
  53. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  54. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-slideout-link.cjs.entry.js +2 -2
  56. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +4 -4
  57. package/lib/cjs/duet-slideout-panel.cjs.entry.js +7 -7
  58. package/lib/cjs/duet-slideout.cjs.entry.js +5 -5
  59. package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
  60. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  61. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +4 -4
  62. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-submenu-bar.cjs.entry.js +5 -5
  65. package/lib/cjs/duet-textarea.cjs.entry.js +9 -5
  66. package/lib/cjs/duet-toggle.cjs.entry.js +8 -3
  67. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +4 -4
  69. package/lib/cjs/duet-toolbar-item.cjs.entry.js +4 -4
  70. package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
  71. package/lib/cjs/duet-toolbar.cjs.entry.js +2 -2
  72. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +4 -4
  73. package/lib/cjs/duet-tooltip.cjs.entry.js +19 -1
  74. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  75. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-upload-item.cjs.entry.js +2 -2
  77. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  78. package/lib/cjs/duet.cjs.js +1 -1
  79. package/lib/cjs/loader.cjs.js +1 -1
  80. package/lib/cjs/{slot-utils-f309572d.js → slot-utils-31c0ed00.js} +51 -0
  81. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  82. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  83. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  84. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  85. package/lib/collection/components/duet-checkbox/duet-checkbox.js +1 -1
  86. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  87. package/lib/collection/components/duet-choice/duet-choice.css +19 -18
  88. package/lib/collection/components/duet-choice/duet-choice.js +97 -13
  89. package/lib/collection/components/duet-choice-group/duet-choice-group.js +3 -6
  90. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  91. package/lib/collection/components/duet-combobox/duet-combobox.js +1 -1
  92. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  93. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  94. package/lib/collection/components/duet-date-picker/date-picker-input.js +2 -2
  95. package/lib/collection/components/duet-date-picker/duet-date-picker.js +9 -8
  96. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  97. package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
  98. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  99. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  100. package/lib/collection/components/duet-footer/duet-footer.js +15 -7
  101. package/lib/collection/components/duet-grid/duet-grid.js +3 -6
  102. package/lib/collection/components/duet-grid-item/duet-grid-item.js +3 -6
  103. package/lib/collection/components/duet-heading/duet-heading.js +2 -2
  104. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  105. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  106. package/lib/collection/components/duet-input/duet-input.js +15 -14
  107. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  108. package/lib/collection/components/duet-link/duet-link.js +2 -2
  109. package/lib/collection/components/duet-list/duet-list.js +1 -1
  110. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  111. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  112. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
  113. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  114. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  115. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  116. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  117. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  118. package/lib/collection/components/duet-modal/duet-modal.js +6 -6
  119. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  120. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  121. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  122. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +0 -4
  123. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  124. package/lib/collection/components/duet-number-input/duet-number-input.js +10 -8
  125. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  126. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  127. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  128. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  129. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  130. package/lib/collection/components/duet-progress/duet-progress.js +1 -0
  131. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  132. package/lib/collection/components/duet-radio/duet-radio.css +29 -27
  133. package/lib/collection/components/duet-radio/duet-radio.js +90 -13
  134. package/lib/collection/components/duet-radio-group/duet-radio-group.js +3 -6
  135. package/lib/collection/components/duet-range-slider/duet-range-slider.js +9 -7
  136. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  137. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  138. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  139. package/lib/collection/components/duet-select/duet-select.js +7 -10
  140. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  141. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  142. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  143. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  144. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  145. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  146. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  147. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  148. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  149. package/lib/collection/components/duet-step/duet-step.js +3 -6
  150. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  151. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  152. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  153. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  154. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  155. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  156. package/lib/collection/components/duet-tab/duet-tab.js +4 -7
  157. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  158. package/lib/collection/components/duet-table/duet-table.js +2 -2
  159. package/lib/collection/components/duet-textarea/duet-textarea.js +10 -9
  160. package/lib/collection/components/duet-toggle/duet-toggle.js +9 -7
  161. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  162. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  163. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  164. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +6 -0
  165. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  166. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  167. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
  168. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  169. package/lib/collection/components/duet-tooltip/duet-tooltip.js +19 -1
  170. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  171. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  172. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  173. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  174. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  175. package/lib/collection/utils/slot-utils.js +51 -0
  176. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  177. package/lib/dist-custom-elements/duet-alert.js +1 -1
  178. package/lib/dist-custom-elements/duet-badge.js +1 -1
  179. package/lib/dist-custom-elements/duet-banner.js +3 -3
  180. package/lib/dist-custom-elements/duet-breadcrumb.js +6 -6
  181. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  182. package/lib/dist-custom-elements/duet-button.js +1 -1
  183. package/lib/dist-custom-elements/duet-callout.js +4 -4
  184. package/lib/dist-custom-elements/duet-card.js +2 -2
  185. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  186. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  187. package/lib/dist-custom-elements/duet-chip.js +1 -1
  188. package/lib/dist-custom-elements/duet-choice-group.js +12 -11
  189. package/lib/dist-custom-elements/duet-choice.js +100 -12
  190. package/lib/dist-custom-elements/duet-collapsible.js +4 -4
  191. package/lib/dist-custom-elements/duet-combobox.js +15 -14
  192. package/lib/dist-custom-elements/duet-contact-card.js +9 -9
  193. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  194. package/lib/dist-custom-elements/duet-date-picker.js +23 -19
  195. package/lib/dist-custom-elements/duet-divider.js +1 -1
  196. package/lib/dist-custom-elements/duet-editable-table.js +6 -6
  197. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  198. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  199. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  200. package/lib/dist-custom-elements/duet-footer.js +20 -12
  201. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  202. package/lib/dist-custom-elements/duet-grid.js +1 -1
  203. package/lib/dist-custom-elements/duet-header.js +7 -7
  204. package/lib/dist-custom-elements/duet-heading.js +1 -1
  205. package/lib/dist-custom-elements/duet-hero.js +14 -14
  206. package/lib/dist-custom-elements/duet-icon.js +1 -1
  207. package/lib/dist-custom-elements/duet-input.js +1 -1
  208. package/lib/dist-custom-elements/duet-layout.js +6 -6
  209. package/lib/dist-custom-elements/duet-link.js +1 -1
  210. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  211. package/lib/dist-custom-elements/duet-list.js +1 -1
  212. package/lib/dist-custom-elements/duet-logo.js +1 -1
  213. package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
  214. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
  215. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +5 -5
  216. package/lib/dist-custom-elements/duet-menu-bar-item.js +3 -3
  217. package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
  218. package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
  219. package/lib/dist-custom-elements/duet-modal.js +14 -14
  220. package/lib/dist-custom-elements/duet-multiselect.js +12 -12
  221. package/lib/dist-custom-elements/duet-nav.js +1 -1
  222. package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
  223. package/lib/dist-custom-elements/duet-notification.js +3 -3
  224. package/lib/dist-custom-elements/duet-number-input.js +19 -13
  225. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  226. package/lib/dist-custom-elements/duet-page-heading.js +4 -4
  227. package/lib/dist-custom-elements/duet-pagination.js +21 -21
  228. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  229. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  230. package/lib/dist-custom-elements/duet-progress.js +1 -1
  231. package/lib/dist-custom-elements/duet-promo-card.js +5 -5
  232. package/lib/dist-custom-elements/duet-radio-group.js +11 -10
  233. package/lib/dist-custom-elements/duet-radio.js +87 -8
  234. package/lib/dist-custom-elements/duet-range-slider.js +10 -4
  235. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  236. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  237. package/lib/dist-custom-elements/duet-section-layout.js +3 -3
  238. package/lib/dist-custom-elements/duet-select.js +1 -1
  239. package/lib/dist-custom-elements/duet-shaped-image.js +2 -2
  240. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  241. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  242. package/lib/dist-custom-elements/duet-slideout-link.js +3 -3
  243. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +5 -5
  244. package/lib/dist-custom-elements/duet-slideout-panel.js +8 -8
  245. package/lib/dist-custom-elements/duet-slideout.js +7 -7
  246. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  247. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  248. package/lib/dist-custom-elements/duet-step.js +5 -5
  249. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  250. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  251. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +5 -5
  252. package/lib/dist-custom-elements/duet-submenu-bar-item.js +2 -2
  253. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  254. package/lib/dist-custom-elements/duet-submenu-bar.js +7 -7
  255. package/lib/dist-custom-elements/duet-tab-group.js +15 -15
  256. package/lib/dist-custom-elements/duet-tab.js +5 -4
  257. package/lib/dist-custom-elements/duet-table.js +1 -1
  258. package/lib/dist-custom-elements/duet-textarea.js +18 -13
  259. package/lib/dist-custom-elements/duet-toggle.js +10 -4
  260. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
  261. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +5 -5
  262. package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
  263. package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
  264. package/lib/dist-custom-elements/duet-toolbar.js +2 -2
  265. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  266. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  267. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  268. package/lib/dist-custom-elements/duet-tray.js +4 -4
  269. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  270. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  271. package/lib/dist-custom-elements/duet-upload.js +19 -19
  272. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  273. package/lib/dist-custom-elements/{p-d5201dfd.js → p-01846eb6.js} +10 -10
  274. package/lib/dist-custom-elements/{p-a8b848a0.js → p-0ac72fc8.js} +3 -2
  275. package/lib/dist-custom-elements/p-145c94a8.js +273 -0
  276. package/lib/dist-custom-elements/{p-20906875.js → p-18c3a72b.js} +1 -1
  277. package/lib/dist-custom-elements/{p-d58879c8.js → p-266569ef.js} +1 -1
  278. package/lib/dist-custom-elements/{p-e87b21c0.js → p-2a6a71e4.js} +2 -2
  279. package/lib/dist-custom-elements/{p-358832fc.js → p-36804cd7.js} +3 -2
  280. package/lib/dist-custom-elements/{p-ee6f575b.js → p-38a3168a.js} +3 -3
  281. package/lib/dist-custom-elements/{p-026f66e3.js → p-39b63c58.js} +2 -2
  282. package/lib/dist-custom-elements/{p-a19d42f7.js → p-4d4c66b0.js} +2 -2
  283. package/lib/dist-custom-elements/{p-369da8da.js → p-4f5a1d66.js} +1 -1
  284. package/lib/dist-custom-elements/{p-3844adaa.js → p-5270ad3d.js} +3 -3
  285. package/lib/dist-custom-elements/{p-23a9891b.js → p-61282ed8.js} +3 -3
  286. package/lib/dist-custom-elements/{p-79fb21bb.js → p-644b52bb.js} +2 -2
  287. package/lib/dist-custom-elements/{p-6f149d10.js → p-649a8c3e.js} +2 -2
  288. package/lib/dist-custom-elements/{p-a866db8a.js → p-7ff1b14d.js} +2 -2
  289. package/lib/dist-custom-elements/{p-dde3f1e6.js → p-824a3b0b.js} +3 -3
  290. package/lib/dist-custom-elements/{p-b5b250a2.js → p-8342a3e5.js} +3 -3
  291. package/lib/dist-custom-elements/{p-1ae20645.js → p-8c993e48.js} +1 -1
  292. package/lib/dist-custom-elements/{p-79372cc4.js → p-92f36210.js} +11 -11
  293. package/lib/dist-custom-elements/{p-1a9028fa.js → p-98b1d4c1.js} +25 -6
  294. package/lib/dist-custom-elements/{p-7590e1a9.js → p-a5c06963.js} +2 -2
  295. package/lib/dist-custom-elements/{p-f3d279c9.js → p-aa62c36f.js} +1 -1
  296. package/lib/dist-custom-elements/{p-a4667181.js → p-acacce04.js} +6 -6
  297. package/lib/dist-custom-elements/{p-02e6b3aa.js → p-b33a176e.js} +2 -2
  298. package/lib/dist-custom-elements/{p-8b3decf2.js → p-b5ea877d.js} +49 -1
  299. package/lib/dist-custom-elements/{p-1f84f4ac.js → p-b9488320.js} +23 -18
  300. package/lib/dist-custom-elements/{p-343f0aa2.js → p-c57a67d3.js} +4 -4
  301. package/lib/dist-custom-elements/{p-aad0e9d5.js → p-c9a14c7b.js} +4 -4
  302. package/lib/dist-custom-elements/{p-4d4d8c03.js → p-cb5df864.js} +2 -2
  303. package/lib/dist-custom-elements/{p-4b198aee.js → p-d0a4a69f.js} +1 -1
  304. package/lib/dist-custom-elements/{p-e6540ffb.js → p-e5962501.js} +2 -2
  305. package/lib/dist-custom-elements/{p-82cbf2aa.js → p-ed8b17fe.js} +6 -6
  306. package/lib/dist-custom-elements/{p-0bd5bcab.js → p-ee079d76.js} +3 -3
  307. package/lib/dist-custom-elements/{p-3cf59aa7.js → p-fb63021d.js} +1 -1
  308. package/lib/dist-custom-elements/{p-a1c8f31d.js → p-fc92fc89.js} +2 -2
  309. package/lib/duet/duet.esm.js +1 -1
  310. package/lib/duet/{p-9a9505b0.system.entry.js → p-00c7bd0a.system.entry.js} +2 -2
  311. package/lib/duet/p-0245b6df.system.entry.js +4 -0
  312. package/lib/duet/p-03ad2cf3.system.entry.js +4 -0
  313. package/lib/duet/p-0c527115.entry.js +4 -0
  314. package/lib/duet/{p-1de76e0d.entry.js → p-0cb1aedd.entry.js} +1 -1
  315. package/lib/duet/{p-87345e08.system.entry.js → p-0cde41e1.system.entry.js} +1 -1
  316. package/lib/duet/p-0d730e50.system.entry.js +4 -0
  317. package/lib/duet/{p-d20f0c7d.system.entry.js → p-0d79ddc1.system.entry.js} +1 -1
  318. package/lib/duet/{p-332d0c18.system.entry.js → p-0f3fbf65.system.entry.js} +1 -1
  319. package/lib/duet/{p-ae15b924.system.entry.js → p-12abe4eb.system.entry.js} +1 -1
  320. package/lib/duet/p-130939b4.entry.js +4 -0
  321. package/lib/duet/p-1411cba2.entry.js +4 -0
  322. package/lib/duet/{p-d9845dc6.entry.js → p-146a6092.entry.js} +1 -1
  323. package/lib/duet/p-14b4ee4d.entry.js +4 -0
  324. package/lib/duet/{p-238d490e.system.entry.js → p-14c1e05f.system.entry.js} +1 -1
  325. package/lib/duet/p-19096d3f.system.entry.js +4 -0
  326. package/lib/duet/p-194e89c3.system.entry.js +4 -0
  327. package/lib/duet/{p-3cb42e12.system.entry.js → p-19519c35.system.entry.js} +1 -1
  328. package/lib/duet/{p-9eedb975.entry.js → p-19baff31.entry.js} +1 -1
  329. package/lib/duet/p-1aaa8887.entry.js +4 -0
  330. package/lib/duet/{p-14d1fc10.entry.js → p-1ac5803b.entry.js} +1 -1
  331. package/lib/duet/p-1b6e33e3.system.entry.js +4 -0
  332. package/lib/duet/p-1bdd845b.system.js +4 -0
  333. package/lib/duet/p-1ce82dfa.system.js +1 -1
  334. package/lib/duet/{p-8f66a793.system.entry.js → p-1ec66cb0.system.entry.js} +1 -1
  335. package/lib/duet/{p-0457dff6.system.entry.js → p-210045f4.system.entry.js} +1 -1
  336. package/lib/duet/{p-977e9ed4.system.entry.js → p-21785af3.system.entry.js} +2 -2
  337. package/lib/duet/{p-02473a29.entry.js → p-252df607.entry.js} +1 -1
  338. package/lib/duet/p-265b2d3f.system.entry.js +4 -0
  339. package/lib/duet/{p-911a8711.entry.js → p-293cb37c.entry.js} +1 -1
  340. package/lib/duet/p-296eb384.entry.js +4 -0
  341. package/lib/duet/{p-f96c47b4.system.entry.js → p-2de11c55.system.entry.js} +1 -1
  342. package/lib/duet/{p-955c3761.entry.js → p-343c72ca.entry.js} +1 -1
  343. package/lib/duet/{p-45c3a7d2.system.entry.js → p-351076bc.system.entry.js} +1 -1
  344. package/lib/duet/{p-07b9cd1a.system.entry.js → p-35196930.system.entry.js} +1 -1
  345. package/lib/duet/{p-43a86f8a.entry.js → p-3662ad90.entry.js} +1 -1
  346. package/lib/duet/p-3693a39c.entry.js +4 -0
  347. package/lib/duet/p-39733fa6.system.entry.js +4 -0
  348. package/lib/duet/{p-6a4f6469.system.entry.js → p-3a1f45d1.system.entry.js} +1 -1
  349. package/lib/duet/{p-d6613fe4.system.entry.js → p-3b77a305.system.entry.js} +1 -1
  350. package/lib/duet/{p-05ea29c7.system.entry.js → p-3f690e05.system.entry.js} +1 -1
  351. package/lib/duet/{p-5786db38.system.entry.js → p-3fce7ef4.system.entry.js} +1 -1
  352. package/lib/duet/{p-ea692823.entry.js → p-405ba8bb.entry.js} +1 -1
  353. package/lib/duet/{p-c5970ff9.entry.js → p-413ee44a.entry.js} +1 -1
  354. package/lib/duet/{p-3ffcebff.system.entry.js → p-425e3794.system.entry.js} +1 -1
  355. package/lib/duet/{p-4c79d2a9.system.entry.js → p-4afd1e0f.system.entry.js} +1 -1
  356. package/lib/duet/{p-15e00afb.entry.js → p-4bdae83b.entry.js} +1 -1
  357. package/lib/duet/p-4e261200.js +4 -0
  358. package/lib/duet/{p-aa8f18b0.entry.js → p-4f913952.entry.js} +1 -1
  359. package/lib/duet/{p-83c03efa.system.entry.js → p-50754042.system.entry.js} +2 -2
  360. package/lib/duet/{p-ad81986c.system.entry.js → p-5222dec4.system.entry.js} +1 -1
  361. package/lib/duet/{p-36593090.system.entry.js → p-5269e599.system.entry.js} +1 -1
  362. package/lib/duet/{p-aeb9568f.entry.js → p-530144b7.entry.js} +1 -1
  363. package/lib/duet/{p-a6f74d7f.system.entry.js → p-58497877.system.entry.js} +1 -1
  364. package/lib/duet/p-5c17c2ad.entry.js +4 -0
  365. package/lib/duet/{p-f3d88a94.system.entry.js → p-5e62f1da.system.entry.js} +1 -1
  366. package/lib/duet/{p-e9cecefd.system.entry.js → p-603f6dd4.system.entry.js} +1 -1
  367. package/lib/duet/p-62e046bf.system.entry.js +4 -0
  368. package/lib/duet/{p-da5fbdcd.entry.js → p-639fd3db.entry.js} +1 -1
  369. package/lib/duet/{p-8bfbadfc.system.entry.js → p-65a3b7a2.system.entry.js} +1 -1
  370. package/lib/duet/p-6727fc0e.entry.js +4 -0
  371. package/lib/duet/{p-8136e15e.system.entry.js → p-6858f043.system.entry.js} +1 -1
  372. package/lib/duet/{p-c620f77b.system.entry.js → p-69d6bbfe.system.entry.js} +1 -1
  373. package/lib/duet/{p-d87f8bb5.system.entry.js → p-6c501d0a.system.entry.js} +1 -1
  374. package/lib/duet/{p-0b61a372.system.entry.js → p-702dc745.system.entry.js} +1 -1
  375. package/lib/duet/{p-c1c02b47.entry.js → p-706c3914.entry.js} +1 -1
  376. package/lib/duet/{p-f9d54f1a.system.entry.js → p-70fd8af5.system.entry.js} +1 -1
  377. package/lib/duet/{p-a414d7b1.entry.js → p-71d12412.entry.js} +1 -1
  378. package/lib/duet/{p-74025593.entry.js → p-72508bb9.entry.js} +1 -1
  379. package/lib/duet/p-778e721c.entry.js +4 -0
  380. package/lib/duet/p-779cfa4a.system.entry.js +4 -0
  381. package/lib/duet/{p-2fc1b57e.system.entry.js → p-77eb9c59.system.entry.js} +1 -1
  382. package/lib/duet/p-783e8788.system.entry.js +4 -0
  383. package/lib/duet/{p-af0c9fa2.system.entry.js → p-79bd8c35.system.entry.js} +1 -1
  384. package/lib/duet/{p-bc57459e.system.entry.js → p-7ba55da2.system.entry.js} +2 -2
  385. package/lib/duet/{p-09b2f2cb.entry.js → p-7f519ad1.entry.js} +1 -1
  386. package/lib/duet/{p-89558e39.system.entry.js → p-83d125ee.system.entry.js} +1 -1
  387. package/lib/duet/{p-fb083164.entry.js → p-849cdc4a.entry.js} +1 -1
  388. package/lib/duet/{p-836ae3bb.system.entry.js → p-8911e1f0.system.entry.js} +1 -1
  389. package/lib/duet/p-898a81ab.system.entry.js +4 -0
  390. package/lib/duet/p-8a9a7082.entry.js +4 -0
  391. package/lib/duet/{p-b6e98c33.entry.js → p-8bc4d112.entry.js} +1 -1
  392. package/lib/duet/{p-d90c1000.system.entry.js → p-907ef071.system.entry.js} +1 -1
  393. package/lib/duet/{p-d6efda2f.entry.js → p-93bc8bc7.entry.js} +1 -1
  394. package/lib/duet/{p-099daa35.system.entry.js → p-989ecf2e.system.entry.js} +1 -1
  395. package/lib/duet/{p-e84dc0ac.entry.js → p-99443d70.entry.js} +1 -1
  396. package/lib/duet/p-99f873a0.entry.js +4 -0
  397. package/lib/duet/p-9a219c40.entry.js +4 -0
  398. package/lib/duet/p-9c45ed44.entry.js +4 -0
  399. package/lib/duet/{p-83920005.system.entry.js → p-9e27e0a8.system.entry.js} +1 -1
  400. package/lib/duet/p-9e9599ce.system.entry.js +4 -0
  401. package/lib/duet/p-9f30783d.system.entry.js +4 -0
  402. package/lib/duet/{p-042ce36a.system.entry.js → p-9f466e90.system.entry.js} +1 -1
  403. package/lib/duet/{p-8d3cb875.entry.js → p-9ff1b619.entry.js} +1 -1
  404. package/lib/duet/{p-2a4032e4.entry.js → p-a023bf22.entry.js} +1 -1
  405. package/lib/duet/{p-d1dd14a3.entry.js → p-a1dbb6ae.entry.js} +1 -1
  406. package/lib/duet/{p-4219eda3.system.entry.js → p-a236f333.system.entry.js} +1 -1
  407. package/lib/duet/{p-c552326c.system.entry.js → p-a42c1c73.system.entry.js} +2 -2
  408. package/lib/duet/p-a5406a98.entry.js +4 -0
  409. package/lib/duet/{p-1d56f5f8.system.entry.js → p-a6ee1072.system.entry.js} +1 -1
  410. package/lib/duet/{p-b0632410.system.entry.js → p-aa436035.system.entry.js} +1 -1
  411. package/lib/duet/{p-f9d93246.entry.js → p-aabf13cc.entry.js} +1 -1
  412. package/lib/duet/{p-2073ff86.system.entry.js → p-abe63ae2.system.entry.js} +1 -1
  413. package/lib/duet/p-ac1125e2.entry.js +4 -0
  414. package/lib/duet/p-ad0b50f0.entry.js +4 -0
  415. package/lib/duet/{p-fea43afb.entry.js → p-ad3fc579.entry.js} +1 -1
  416. package/lib/duet/{p-6f5dbc6e.system.entry.js → p-b1c78160.system.entry.js} +2 -2
  417. package/lib/duet/{p-3fe02797.entry.js → p-b1f3e71c.entry.js} +1 -1
  418. package/lib/duet/{p-8335c1bf.entry.js → p-b55e935f.entry.js} +1 -1
  419. package/lib/duet/{p-d25bbacd.entry.js → p-b5b5040f.entry.js} +1 -1
  420. package/lib/duet/{p-b7f262fc.system.entry.js → p-b5eec241.system.entry.js} +1 -1
  421. package/lib/duet/{p-5e12c437.system.entry.js → p-b5ef2959.system.entry.js} +1 -1
  422. package/lib/duet/{p-b238bac2.entry.js → p-b6214d5a.entry.js} +1 -1
  423. package/lib/duet/p-bbc168d3.entry.js +4 -0
  424. package/lib/duet/{p-8c44d3e9.entry.js → p-bf2016fd.entry.js} +1 -1
  425. package/lib/duet/{p-e6eb1780.system.entry.js → p-c00beb34.system.entry.js} +1 -1
  426. package/lib/duet/p-c032689a.entry.js +4 -0
  427. package/lib/duet/p-c055a0a5.entry.js +4 -0
  428. package/lib/duet/{p-24f98450.entry.js → p-c0f0ba52.entry.js} +1 -1
  429. package/lib/duet/{p-20c7ae09.entry.js → p-c20c2ae0.entry.js} +1 -1
  430. package/lib/duet/{p-f86c7315.entry.js → p-c20e0bcd.entry.js} +1 -1
  431. package/lib/duet/{p-a52fb767.entry.js → p-c2ece51b.entry.js} +1 -1
  432. package/lib/duet/{p-bcd88ac2.system.entry.js → p-c5efbb76.system.entry.js} +1 -1
  433. package/lib/duet/p-c6915c43.system.entry.js +4 -0
  434. package/lib/duet/{p-8378430a.system.entry.js → p-c7f38ac3.system.entry.js} +1 -1
  435. package/lib/duet/{p-3deacd18.system.entry.js → p-c8437ddb.system.entry.js} +2 -2
  436. package/lib/duet/{p-180c21a7.entry.js → p-cab2979b.entry.js} +1 -1
  437. package/lib/duet/{p-c9d3dd02.system.entry.js → p-cdccf8e6.system.entry.js} +1 -1
  438. package/lib/duet/{p-c1ef1b6e.entry.js → p-cfee6451.entry.js} +1 -1
  439. package/lib/duet/{p-db3eaaa3.entry.js → p-d1e5ab5e.entry.js} +1 -1
  440. package/lib/duet/{p-fa115b76.system.entry.js → p-d2ded72c.system.entry.js} +2 -2
  441. package/lib/duet/{p-a2e17a01.entry.js → p-d3a5400e.entry.js} +1 -1
  442. package/lib/duet/{p-69d18102.entry.js → p-d452cbb7.entry.js} +1 -1
  443. package/lib/duet/{p-edaefdfb.entry.js → p-d554e96b.entry.js} +1 -1
  444. package/lib/duet/{p-44af6523.entry.js → p-d6b53d40.entry.js} +1 -1
  445. package/lib/duet/{p-9c93192b.entry.js → p-d709d282.entry.js} +1 -1
  446. package/lib/duet/{p-ff1e3ce2.entry.js → p-d7c1c492.entry.js} +1 -1
  447. package/lib/duet/{p-ccc58d5d.system.entry.js → p-d803a966.system.entry.js} +1 -1
  448. package/lib/duet/p-da7ce3da.entry.js +4 -0
  449. package/lib/duet/p-dc74c7c2.system.entry.js +4 -0
  450. package/lib/duet/p-dd1ec0ef.entry.js +4 -0
  451. package/lib/duet/{p-5763afe7.system.entry.js → p-dea69e25.system.entry.js} +1 -1
  452. package/lib/duet/{p-a37f93eb.entry.js → p-e062a11a.entry.js} +1 -1
  453. package/lib/duet/p-e1d33d05.entry.js +4 -0
  454. package/lib/duet/{p-eeb9da2d.entry.js → p-e33c42ff.entry.js} +1 -1
  455. package/lib/duet/p-e8465166.entry.js +4 -0
  456. package/lib/duet/{p-14662d84.entry.js → p-eb35e521.entry.js} +1 -1
  457. package/lib/duet/{p-cf16818c.system.entry.js → p-f210b371.system.entry.js} +1 -1
  458. package/lib/duet/{p-9c0b9de2.system.entry.js → p-f29c480a.system.entry.js} +1 -1
  459. package/lib/duet/{p-9eb974d8.entry.js → p-f35be908.entry.js} +1 -1
  460. package/lib/duet/{p-1037271e.system.entry.js → p-f380d364.system.entry.js} +1 -1
  461. package/lib/duet/p-f417c864.entry.js +4 -0
  462. package/lib/duet/{p-f745dcfb.entry.js → p-f6900a3e.entry.js} +1 -1
  463. package/lib/duet/{p-8df1c0da.system.entry.js → p-f933ada6.system.entry.js} +1 -1
  464. package/lib/duet/{p-7831e011.entry.js → p-f9a64d11.entry.js} +1 -1
  465. package/lib/esm/duet-alert.entry.js +1 -1
  466. package/lib/esm/duet-badge.entry.js +2 -2
  467. package/lib/esm/duet-banner.entry.js +1 -1
  468. package/lib/esm/duet-breadcrumb.entry.js +4 -4
  469. package/lib/esm/duet-breadcrumbs.entry.js +2 -2
  470. package/lib/esm/duet-button_2.entry.js +2 -2
  471. package/lib/esm/duet-callout.entry.js +3 -3
  472. package/lib/esm/duet-caption_4.entry.js +6 -6
  473. package/lib/esm/duet-checkbox.entry.js +1 -1
  474. package/lib/esm/duet-checkmark.entry.js +2 -2
  475. package/lib/esm/duet-chip_3.entry.js +2 -2
  476. package/lib/esm/duet-choice_2.entry.js +98 -12
  477. package/lib/esm/duet-collapsible.entry.js +3 -3
  478. package/lib/esm/duet-combobox.entry.js +2 -2
  479. package/lib/esm/duet-contact-card.entry.js +2 -2
  480. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  481. package/lib/esm/duet-date-picker.entry.js +11 -8
  482. package/lib/esm/duet-divider_2.entry.js +2 -2
  483. package/lib/esm/duet-editable-table_3.entry.js +4 -4
  484. package/lib/esm/duet-empty-state.entry.js +2 -2
  485. package/lib/esm/duet-fieldset.entry.js +4 -4
  486. package/lib/esm/duet-file-chooser.entry.js +1 -1
  487. package/lib/esm/duet-footer.entry.js +14 -6
  488. package/lib/esm/duet-grid_2.entry.js +4 -4
  489. package/lib/esm/duet-header_2.entry.js +1 -1
  490. package/lib/esm/duet-hero.entry.js +6 -6
  491. package/lib/esm/duet-icon.entry.js +3 -3
  492. package/lib/esm/duet-input_2.entry.js +14 -10
  493. package/lib/esm/duet-layout.entry.js +6 -6
  494. package/lib/esm/duet-list_2.entry.js +3 -3
  495. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  496. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  497. package/lib/esm/duet-menu-bar-dropdown.entry.js +4 -4
  498. package/lib/esm/duet-menu-bar-item.entry.js +2 -2
  499. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  500. package/lib/esm/duet-menu-bar.entry.js +2 -2
  501. package/lib/esm/duet-modal.entry.js +7 -7
  502. package/lib/esm/duet-multiselect.entry.js +6 -6
  503. package/lib/esm/duet-nav.entry.js +1 -1
  504. package/lib/esm/duet-notification_2.entry.js +5 -5
  505. package/lib/esm/duet-number-input.entry.js +9 -4
  506. package/lib/esm/duet-overlay.entry.js +1 -1
  507. package/lib/esm/duet-page-heading.entry.js +2 -2
  508. package/lib/esm/duet-pagination_2.entry.js +13 -13
  509. package/lib/esm/duet-promo-card.entry.js +3 -3
  510. package/lib/esm/duet-radio_2.entry.js +86 -10
  511. package/lib/esm/duet-range-slider.entry.js +8 -3
  512. package/lib/esm/duet-scrollable_3.entry.js +14 -14
  513. package/lib/esm/duet-section-layout.entry.js +3 -3
  514. package/lib/esm/duet-select.entry.js +7 -7
  515. package/lib/esm/duet-shaped-image.entry.js +2 -2
  516. package/lib/esm/duet-show-more.entry.js +2 -2
  517. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  518. package/lib/esm/duet-slideout-link.entry.js +2 -2
  519. package/lib/esm/duet-slideout-panel-dropdown.entry.js +4 -4
  520. package/lib/esm/duet-slideout-panel.entry.js +7 -7
  521. package/lib/esm/duet-slideout.entry.js +5 -5
  522. package/lib/esm/duet-step_2.entry.js +3 -3
  523. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  524. package/lib/esm/duet-submenu-bar-dropdown.entry.js +4 -4
  525. package/lib/esm/duet-submenu-bar-item.entry.js +1 -1
  526. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  527. package/lib/esm/duet-submenu-bar.entry.js +5 -5
  528. package/lib/esm/duet-textarea.entry.js +9 -5
  529. package/lib/esm/duet-toggle.entry.js +8 -3
  530. package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
  531. package/lib/esm/duet-toolbar-dropdown.entry.js +4 -4
  532. package/lib/esm/duet-toolbar-item.entry.js +4 -4
  533. package/lib/esm/duet-toolbar-link.entry.js +2 -2
  534. package/lib/esm/duet-toolbar.entry.js +2 -2
  535. package/lib/esm/duet-tooltip-button_2.entry.js +4 -4
  536. package/lib/esm/duet-tooltip.entry.js +19 -1
  537. package/lib/esm/duet-tray.entry.js +2 -2
  538. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  539. package/lib/esm/duet-upload-item.entry.js +2 -2
  540. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  541. package/lib/esm/duet.js +1 -1
  542. package/lib/esm/loader.js +1 -1
  543. package/lib/esm/{slot-utils-1be24d72.js → slot-utils-23c88903.js} +49 -1
  544. package/lib/esm-es5/duet-alert.entry.js +1 -1
  545. package/lib/esm-es5/duet-badge.entry.js +1 -1
  546. package/lib/esm-es5/duet-banner.entry.js +1 -1
  547. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  548. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  549. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  550. package/lib/esm-es5/duet-callout.entry.js +1 -1
  551. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  552. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  553. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  554. package/lib/esm-es5/duet-chip_3.entry.js +1 -1
  555. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  556. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  557. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  558. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  559. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  560. package/lib/esm-es5/duet-date-picker.entry.js +2 -2
  561. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  562. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  563. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  564. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  565. package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
  566. package/lib/esm-es5/duet-footer.entry.js +1 -1
  567. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  568. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  569. package/lib/esm-es5/duet-hero.entry.js +2 -2
  570. package/lib/esm-es5/duet-icon.entry.js +1 -1
  571. package/lib/esm-es5/duet-input_2.entry.js +2 -2
  572. package/lib/esm-es5/duet-layout.entry.js +1 -1
  573. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  574. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  575. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  576. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  577. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  578. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  579. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  580. package/lib/esm-es5/duet-modal.entry.js +1 -1
  581. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  582. package/lib/esm-es5/duet-nav.entry.js +1 -1
  583. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  584. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  585. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  586. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  587. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  588. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  589. package/lib/esm-es5/duet-radio_2.entry.js +2 -2
  590. package/lib/esm-es5/duet-range-slider.entry.js +2 -2
  591. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  592. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  593. package/lib/esm-es5/duet-select.entry.js +2 -2
  594. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  595. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  596. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  597. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  598. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  599. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  600. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  601. package/lib/esm-es5/duet-step_2.entry.js +2 -2
  602. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  603. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  604. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  605. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  606. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  607. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  608. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  609. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  610. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  611. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  612. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  613. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  614. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  615. package/lib/esm-es5/duet-tooltip.entry.js +2 -2
  616. package/lib/esm-es5/duet-tray.entry.js +1 -1
  617. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  618. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  619. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  620. package/lib/esm-es5/duet.js +1 -1
  621. package/lib/esm-es5/loader.js +1 -1
  622. package/lib/esm-es5/{slot-utils-1be24d72.js → slot-utils-23c88903.js} +1 -1
  623. package/lib/types/components/duet-choice/duet-choice.d.ts +7 -1
  624. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +2 -0
  625. package/lib/types/components/duet-footer/duet-footer.d.ts +8 -4
  626. package/lib/types/components/duet-input/duet-input.d.ts +2 -0
  627. package/lib/types/components/duet-number-input/duet-number-input.d.ts +2 -0
  628. package/lib/types/components/duet-progress/duet-progress.d.ts +0 -6
  629. package/lib/types/components/duet-radio/duet-radio.d.ts +7 -1
  630. package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +2 -0
  631. package/lib/types/components/duet-textarea/duet-textarea.d.ts +2 -0
  632. package/lib/types/components/duet-toggle/duet-toggle.d.ts +2 -0
  633. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +3 -0
  634. package/lib/types/components.d.ts +4 -4
  635. package/lib/types/utils/slot-utils.d.ts +17 -0
  636. package/package.json +2 -2
  637. package/lib/dist-custom-elements/p-05a0e048.js +0 -272
  638. package/lib/duet/p-062b4356.system.entry.js +0 -4
  639. package/lib/duet/p-197fcd81.entry.js +0 -4
  640. package/lib/duet/p-2892f9e4.entry.js +0 -4
  641. package/lib/duet/p-2be4521f.entry.js +0 -4
  642. package/lib/duet/p-34caafca.entry.js +0 -4
  643. package/lib/duet/p-3c48ca69.system.entry.js +0 -4
  644. package/lib/duet/p-46753ebc.entry.js +0 -4
  645. package/lib/duet/p-4920eb5e.entry.js +0 -4
  646. package/lib/duet/p-4efc484e.entry.js +0 -4
  647. package/lib/duet/p-5ba11951.entry.js +0 -4
  648. package/lib/duet/p-5d429d2c.entry.js +0 -4
  649. package/lib/duet/p-60e1e165.system.entry.js +0 -4
  650. package/lib/duet/p-618a822d.system.entry.js +0 -4
  651. package/lib/duet/p-63a09802.js +0 -4
  652. package/lib/duet/p-6abb0f77.system.entry.js +0 -4
  653. package/lib/duet/p-6f3fd8bf.entry.js +0 -4
  654. package/lib/duet/p-70fab25f.system.entry.js +0 -4
  655. package/lib/duet/p-762b831e.system.entry.js +0 -4
  656. package/lib/duet/p-79c1f08a.entry.js +0 -4
  657. package/lib/duet/p-835e6d3b.entry.js +0 -4
  658. package/lib/duet/p-849ae71a.system.entry.js +0 -4
  659. package/lib/duet/p-8babfd74.entry.js +0 -4
  660. package/lib/duet/p-8df4a03c.entry.js +0 -4
  661. package/lib/duet/p-8e672ddb.entry.js +0 -4
  662. package/lib/duet/p-919c1794.system.entry.js +0 -4
  663. package/lib/duet/p-9c95fff6.entry.js +0 -4
  664. package/lib/duet/p-9c9b25f3.system.entry.js +0 -4
  665. package/lib/duet/p-a4914611.entry.js +0 -4
  666. package/lib/duet/p-a8333037.entry.js +0 -4
  667. package/lib/duet/p-aa61f1da.entry.js +0 -4
  668. package/lib/duet/p-b7fe31c6.system.entry.js +0 -4
  669. package/lib/duet/p-b8b011df.system.entry.js +0 -4
  670. package/lib/duet/p-c2ca6ff0.system.entry.js +0 -4
  671. package/lib/duet/p-c8896685.system.entry.js +0 -4
  672. package/lib/duet/p-d03accc5.entry.js +0 -4
  673. package/lib/duet/p-d3f4d98f.system.entry.js +0 -4
  674. package/lib/duet/p-e238bb61.entry.js +0 -4
  675. package/lib/duet/p-e7a6457f.entry.js +0 -4
  676. package/lib/duet/p-f022f85b.entry.js +0 -4
  677. package/lib/duet/p-f7f098cb.entry.js +0 -4
  678. package/lib/duet/p-f84cdfef.entry.js +0 -4
  679. package/lib/duet/p-faa44b79.system.entry.js +0 -4
  680. package/lib/duet/p-fadcbdae.system.js +0 -4
package/hydrate/index.js CHANGED
@@ -3801,6 +3801,40 @@ const checkNamedSlotElement = (hostElement, slotName, selector, maxChildren = 0,
3801
3801
  console[warnOrError](`Duet ${warnOrError} in ${hostElement.tagName.toLowerCase()}:\n${errors.join("\n")}${remove ? `\nElement${errors.length > 1 ? "s" : ""} removed.` : ""}`);
3802
3802
  }
3803
3803
  };
3804
+ /**
3805
+ * Creates hidden input element inside component's slot.
3806
+ * This can be used to support native <form> element functionalities.
3807
+ *
3808
+ * @param element Element
3809
+ * @param name Input name
3810
+ * @param value Input value
3811
+ */
3812
+ const proxyInputToSlot = (element, id, name, value, required, checked = undefined) => {
3813
+ const prevInput = element.querySelector("input");
3814
+ const input = prevInput || document.createElement("input");
3815
+ if (checked === false) {
3816
+ input.remove();
3817
+ return;
3818
+ }
3819
+ input.id = id;
3820
+ if (name !== undefined && name !== null) {
3821
+ input.name = name;
3822
+ }
3823
+ if (required) {
3824
+ input.type = "text";
3825
+ input.hidden = true;
3826
+ input.required = true;
3827
+ }
3828
+ else {
3829
+ input.type = "hidden";
3830
+ input.hidden = false;
3831
+ input.required = false;
3832
+ }
3833
+ input.value = value;
3834
+ if (!prevInput) {
3835
+ element.appendChild(input);
3836
+ }
3837
+ };
3804
3838
 
3805
3839
  const 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;border-radius:4px;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:#f2f8fb;border:1px solid rgb(0, 119, 179);border-radius:4px;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\";color:rgb(23, 28, 58);background:#f3f4f5;border-color:rgb(23, 28, 58)}.duet-alert-wrapper.warning{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.warning.duet-theme-turva{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.danger{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.danger.duet-theme-turva{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.success{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.success.duet-theme-turva{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229)}.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 48px 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-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon.below-nav{align-self:flex-start}.duet-alert-icon duet-icon{width:20px;height:20px}";
3806
3840
  var DuetAlertStyle0 = duetAlertCss;
@@ -3986,12 +4020,12 @@ class DuetBadge {
3986
4020
  */
3987
4021
  render() {
3988
4022
  const backgroundClass = `background-${this.background}`;
3989
- return (hAsync(Host, { key: 'f6c7cba47b61653771f763bf926f6e42f043a51a', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '953adfad1705f38f74fef7490b449f51dc3c8372', class: {
4023
+ return (hAsync(Host, { key: 'ae708838b39b1a8db655ca27383e92baba3795fd', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '29dbf98cb938dcd05be7a57c20e355db1e05b1df', class: {
3990
4024
  "duet-badge": true,
3991
4025
  [this.variation]: true,
3992
4026
  [backgroundClass]: true,
3993
4027
  "duet-theme-turva": this.theme === "turva",
3994
- } }, hAsync("slot", { key: '4129c1565dbec8d0269a41e5c5cf0ce71b315be4' }))));
4028
+ } }, hAsync("slot", { key: 'aa2b310511ff50a759a7ef772a38ddbe196ef74a' }))));
3995
4029
  }
3996
4030
  get element() { return getElement(this); }
3997
4031
  static get style() { return DuetBadgeStyle0; }
@@ -4181,14 +4215,14 @@ class DuetBreadcrumb {
4181
4215
  */
4182
4216
  render() {
4183
4217
  var _a;
4184
- return (hAsync(Host, { key: 'd563a73d4bfb9f69e7680da922d0b2689565ad1c', role: "listitem" }, hAsync("div", { key: '10fc5b8b4a2c25d70156271a11e3a233e3171b5b', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: 'bfb363e4ddc22dee217eb2caafddfc2195b211af', class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: '87a994e8838d6b2271066aba7bf9960b5d328393', class: {
4218
+ return (hAsync(Host, { key: '40039dc021f3bad94fd13cf99da9d9d0de8f68a7', role: "listitem" }, hAsync("div", { key: '8208ce2c97c5ddffbb262dbe191f07d71fb8741d', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: '0d1655e8b1119eb81366df2808daad4844495e1c', class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: '47cb74d024694bf8b53c372ec5256d883de7a79e', class: {
4185
4219
  "duet-breadcrumb": true,
4186
4220
  "duet-theme-turva": this.theme === "turva",
4187
4221
  }, href: this.href ? this.href : undefined, "aria-label": `${!this.href ? `${getLocaleString(this.currentCrumb)} ` : ""}${(_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.element.innerHTML}`, role: "link" }, this.icon !== "arrow-right-small-icon" &&
4188
4222
  this.icon && [
4189
- hAsync("duet-icon", { key: '3866247a6992476b2559aced40a034a0cc76c437', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
4190
- this.hasSlottedContent && hAsync("duet-spacer", { key: 'aadee41608241f0903e843ac3e54a7985a947206', size: "x-small", direction: "horizontal" }),
4191
- ], hAsync("slot", { key: 'dc5cfef7de5a83c0bd04f32204d042400819129f' })))));
4223
+ hAsync("duet-icon", { key: '86ee4831b6e005533aecf1371f13fe4e7af742a3', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
4224
+ this.hasSlottedContent && hAsync("duet-spacer", { key: '25868dfb7eaf17d0eb274284762291a990a549e5', size: "x-small", direction: "horizontal" }),
4225
+ ], hAsync("slot", { key: 'dc22ae47f49397cc88f3b1d48a0ca047c081abf2' })))));
4192
4226
  }
4193
4227
  get element() { return getElement(this); }
4194
4228
  static get style() { return DuetBreadcrumbStyle0; }
@@ -4249,11 +4283,11 @@ class DuetBreadcrumbs {
4249
4283
  */
4250
4284
  render() {
4251
4285
  const color = getColorByName(this.color);
4252
- return (hAsync(Host, { key: '2ff5911d23c100d3643be758c450037f7e9a188b' }, hAsync("nav", { key: '73bf3c3a13dfbca9d8a627b3833e392a689fdb16', "aria-label": this.breadcrumbsAriaLabel, class: {
4286
+ return (hAsync(Host, { key: 'eb7b2e1fa288283c0cee25d2ca736f1e2b0c20e0' }, hAsync("nav", { key: '0fd682f03a66a5ace3ddd82f24a198fbcf934c11', "aria-label": this.breadcrumbsAriaLabel, class: {
4253
4287
  "duet-breadcrumbs": true,
4254
4288
  "duet-theme-turva": this.theme === "turva",
4255
4289
  [this.variation]: true,
4256
- } }, hAsync("div", { key: 'eab81ecd243618026326688741ff0eacf6eb1bf0', class: "container" }, hAsync("div", { key: '8c7f57f32ec5f458fe10497450995fbcc5feadca', role: "list", class: "list", style: { color } }, hAsync("slot", { key: '8f89e08a64377083ee60c92599459324439c0f8b' })), hAsync("div", { key: '27bc05b04c9b6f613bb95c6bd1576c2486fa30cf', class: "bottom-border bottom-border--container" })), hAsync("div", { key: '437f2b1c77d0a03503c002ce637c79748eba62ea', class: "bottom-border bottom-border--nav" }))));
4290
+ } }, hAsync("div", { key: 'ce482ca58e56cf134d6cd9eb89da7ad0f86c4d43', class: "container" }, hAsync("div", { key: '4e49822a247fbc27d2ee8d11c7e15401e4906cf8', role: "list", class: "list", style: { color } }, hAsync("slot", { key: '40de9a013b3521d649df9e070cdfca80c04aafdb' })), hAsync("div", { key: '6f16a5234caf4512abf463e1509134b78fd599c3', class: "bottom-border bottom-border--container" })), hAsync("div", { key: '907f549692f35ee96b2273485f5667b11fba763e', class: "bottom-border bottom-border--nav" }))));
4257
4291
  }
4258
4292
  get element() { return getElement(this); }
4259
4293
  static get style() { return DuetBreadcrumbsStyle0; }
@@ -4607,11 +4641,11 @@ class DuetCallout {
4607
4641
  <path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>
4608
4642
  </svg>
4609
4643
  `;
4610
- return (hAsync(Host, { key: 'e5a47020ada7c007c90d23a7f9c796c2f6b2457e' }, hAsync("div", { key: '136d467b3ef4aa8f442ee7047cc124990fa61bb8', class: {
4644
+ return (hAsync(Host, { key: '1b4cbe35da31a702d426b208e1320028b3112f9a' }, hAsync("div", { key: 'fab24aac061b0c7920309f3290a5a8159e37a0c4', class: {
4611
4645
  "duet-callout": true,
4612
4646
  "duet-theme-turva": this.theme === "turva",
4613
4647
  "duet-m-0": this.margin === "none",
4614
- } }, hAsync("figure", { key: '493242d5535a0c9792bea659848083a341788177', class: "container" }, hAsync("duet-icon", { key: '8b8205d4eee5b38576a9c1d7d38b2fbb440bda73', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), hAsync("blockquote", { key: 'fbde831b7ff9d98ff97bdab185dd20e69f2a199c' }, hAsync("slot", { key: 'b08a535e736f7f7b4a9e9bf0c0f87cbd4feb0b9b' })), this.hasAuthorSlot && (hAsync("figcaption", { key: '4e10df600d75e995d0be670382e9f02eb2b2216c', class: "author" }, hAsync("span", { key: 'b8c898cee551b4b54df90d4cc13a2f8a43747722' }, "\u2014 "), hAsync("slot", { key: 'c0b4ad3dc00ff79d592e0283d31230700d6d9715', name: "author" })))))));
4648
+ } }, hAsync("figure", { key: '8f550e61a90cbad9121cd324a6c6cc4e433cafd0', class: "container" }, hAsync("duet-icon", { key: '5dd94e456b38480e892dedd68ccf223f4f25b5a9', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), hAsync("blockquote", { key: '4ea5035888ae6ad897f92f66f0b6cd46de7e76d3' }, hAsync("slot", { key: '2a646124096ae8b25c2f29ada8a993bf7294cab5' })), this.hasAuthorSlot && (hAsync("figcaption", { key: '164a3bedfcb1ffd6156b47ffe430818a910f4b6c', class: "author" }, hAsync("span", { key: 'd7ce517642be6e5ab5c17e690b927f5a78c4f41d' }, "\u2014 "), hAsync("slot", { key: 'e29dd6eb00f784b90876edabc7cc69f02a736359', name: "author" })))))));
4615
4649
  }
4616
4650
  get element() { return getElement(this); }
4617
4651
  static get style() { return DuetCalloutStyle0; }
@@ -4817,7 +4851,7 @@ class DuetCard {
4817
4851
  }; }
4818
4852
  }
4819
4853
 
4820
- const duetCheckboxCss = "*.sc-duet-checkbox,*.sc-duet-checkbox::after,*.sc-duet-checkbox::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-checkbox-h{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;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-checkbox-h:last-child,.sc-duet-checkbox-h:last-of-type{margin-right:0 !important}.sc-duet-checkbox-h:last-child:not(:only-child){margin-bottom:0 !important}.duet-m-0.sc-duet-checkbox-h{margin:0 !important}.duet-label.sc-duet-checkbox{position:relative;z-index:100;display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva.sc-duet-checkbox .duet-label.sc-duet-checkbox{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-label.sc-duet-checkbox span.sc-duet-checkbox{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container.sc-duet-checkbox{position:relative;width:100%;height:100%}.duet-checkbox.sc-duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:\"\";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(0, 119, 179);border:1px solid rgb(0, 119, 179)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox[aria-invalid=true].sc-duet-checkbox+label.sc-duet-checkbox::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[aria-invalid=true].sc-duet-checkbox+label.sc-duet-checkbox::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox{position:static}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:\"\";background:transparent url(\"data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E\") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled].sc-duet-checkbox{cursor:default}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(143, 147, 158)}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(199, 202, 207)}.duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(127, 150, 165);border:1px solid rgb(127, 150, 165)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}.duet-checkbox-error.sc-duet-checkbox{margin-left:31px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox-error.sc-duet-checkbox{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(214, 28, 82)}.duet-label-hidden.sc-duet-checkbox .duet-label.sc-duet-checkbox span.sc-duet-checkbox,.duet-label-hidden.sc-duet-checkbox .duet-checkbox-error.sc-duet-checkbox span.sc-duet-checkbox{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
4854
+ const duetCheckboxCss = "*,*::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;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(:last-child:not(:only-child)){margin-bottom:0 !important}:host(.duet-m-0){margin:0 !important}.duet-label{position:relative;z-index:100;display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva .duet-label{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-label span{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container{position:relative;width:100%;height:100%}.duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox+label::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:\"\";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:4px}.duet-theme-turva .duet-checkbox+label::before{border-color:rgb(23, 28, 58)}.duet-checkbox:checked+label::before{background:rgb(0, 119, 179);border:1px solid rgb(0, 119, 179)}.duet-theme-turva .duet-checkbox:checked+label::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-checkbox+label{position:static}.duet-checkbox:checked+label::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:\"\";background:transparent url(\"data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E\") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled]{cursor:default}.duet-checkbox[disabled]+label{color:rgb(98, 121, 138)}.duet-theme-turva .duet-checkbox[disabled]+label{color:rgb(143, 147, 158)}.duet-checkbox[disabled]+label::before{border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-checkbox[disabled]+label::before{border-color:rgb(199, 202, 207)}.duet-checkbox[disabled]:checked+label::before{background:rgb(127, 150, 165);border:1px solid rgb(127, 150, 165)}.duet-theme-turva .duet-checkbox[disabled]:checked+label::before{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}.duet-checkbox-error{margin-left:31px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-theme-turva .duet-checkbox-error{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(214, 28, 82)}.duet-label-hidden .duet-label span,.duet-label-hidden .duet-checkbox-error span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
4821
4855
  var DuetCheckboxStyle0 = duetCheckboxCss;
4822
4856
 
4823
4857
  class DuetCheckbox {
@@ -4920,7 +4954,7 @@ class DuetCheckbox {
4920
4954
  get element() { return getElement(this); }
4921
4955
  static get style() { return DuetCheckboxStyle0; }
4922
4956
  static get cmpMeta() { return {
4923
- "$flags$": 2,
4957
+ "$flags$": 9,
4924
4958
  "$tagName$": "duet-checkbox",
4925
4959
  "$members$": {
4926
4960
  "accessibleActiveDescendant": [1, "accessible-active-descendant"],
@@ -4972,11 +5006,11 @@ class DuetCheckmark {
4972
5006
  inheritGlobalTheme(this);
4973
5007
  }
4974
5008
  render() {
4975
- return (hAsync(Host, { key: 'c27233d217d6300b031461ab116340e1c584066c', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '19290a374763929d9ddf126e675956ff3aaed52e', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: 'faac346948b9a766a35bb35ad9865fca24efaba0', class: {
5009
+ return (hAsync(Host, { key: '4f894c8f4f3ec363b66b92d64106650948eddbd9', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '97af2cb562ab2260fff669a97236d17119417883', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: '0017ec40a1dfa14357bb3ae08b409b537549b953', class: {
4976
5010
  "duet-checkmark-container": true,
4977
5011
  center: this.center,
4978
5012
  "duet-checkmark-radio": this.type === "radio",
4979
- } }, this.checked && hAsync("div", { key: '4d79344b9b2bf72c06fa51d0134c4ae0255d6a59', class: "duet-checkmark" })))));
5013
+ } }, this.checked && hAsync("div", { key: 'bf36ed6a59e749c98ec6f3862c013998343c2077', class: "duet-checkmark" })))));
4980
5014
  }
4981
5015
  static get style() { return DuetCheckmarkStyle0; }
4982
5016
  static get cmpMeta() { return {
@@ -5338,7 +5372,9 @@ class DuetChip {
5338
5372
  }; }
5339
5373
  }
5340
5374
 
5341
- const duetChoiceCss = "*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:1px;border-radius:8px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:1px solid rgb(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(23, 28, 58)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):not([checked]):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){padding:1rem}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(143, 147, 158)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(98, 121, 138) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(127, 150, 165) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(199, 202, 207) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(164, 4, 40)}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked.sc-duet-choice{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked.sc-duet-choice{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container.sc-duet-choice-s>*,.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container .sc-duet-choice-s>*{display:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.sc-duet-choice{border-color:rgb(127, 150, 165)}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(143, 147, 158) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(143, 147, 158)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}";
5375
+ var messagingInfo={"title":"messaging-info","tags":"messaging info information circle","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z\"/><circle cx=\"11.625\" cy=\"7.125\" r=\"1.125\"/><path d=\"M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z\"/></svg>"};
5376
+
5377
+ const duetChoiceCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(.vertical){margin-right:0 !important}@media (min-width: 48em){:host(.horizontal){margin-bottom:0 !important}}@media (min-width: 48em){:host(.horizontal-responsive){margin-bottom:0 !important;margin-right:16px !important}:host(.horizontal-responsive):last-child,:host(.horizontal-responsive):last-of-type{margin-right:0 !important}}:host(:last-child:not(:only-child)){margin-right:0 !important}.duet-choice-card{position:relative;display:block;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:1px;border-radius:8px}.duet-choice-card.duet-p-0{padding:0 !important}.duet-choice-card.duet-m-0{margin:0 !important}.duet-theme-turva .duet-choice-card{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer{display:flex}.duet-choice-label{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:1px solid rgb(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text .duet-choice-card-icon,.duet-choice-label.has-before-text .duet-choice-card-text{align-self:flex-start;margin-top:0.25rem}.duet-choice-label>div:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info .duet-choice-label{border-top-right-radius:0;border-bottom-right-radius:0}.info .duet-choice-label{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva .duet-choice-label{border-color:rgb(222, 224, 228)}.duet-theme-turva .info .duet-choice-label{border-color:rgb(222, 224, 228)}.duet-choice-label:active{opacity:0.75;transition:none !important}.checked>.duet-choice-label{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked>.duet-choice-label .duet-checkmark-container{border-color:rgb(0, 119, 179)}.duet-theme-turva .checked>.duet-choice-label{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{border-color:rgb(198, 12, 48)}.checked.collapsible>.duet-choice-label,.collapsible-force-expanded.collapsible>.duet-choice-label{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container{border-color:rgb(127, 150, 165)}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(23, 28, 58)}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container{border-color:rgb(143, 147, 158)}.duet-theme-turva .info :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(143, 147, 158)}:host(:not(.no-hover):not(.disabled):not([checked]):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){padding:1rem}input:focus{outline:0}:host(.user-is-tabbing) .checked.focus.duet-choice-label{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}:host(.user-is-tabbing) :not(.checked).focus.duet-choice-label{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .checked.focus.duet-choice-label{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}:host(.user-is-tabbing) .duet-theme-turva :not(.checked).focus.duet-choice-label{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.disabled.duet-choice-label{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.disabled.duet-choice-label .duet-choice-card-icon{color:rgb(98, 121, 138)}.duet-theme-turva .disabled.duet-choice-label .duet-choice-card-icon{color:rgb(143, 147, 158)}.disabled.duet-choice-label .duet-checkmark{border-color:rgb(98, 121, 138) !important}.disabled.duet-choice-label:hover,.disabled.duet-choice-label:active,.disabled.duet-choice-label:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva .disabled.duet-choice-label{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva .disabled.duet-choice-label .duet-checkmark{border-color:rgb(143, 147, 158) !important}.checked>.disabled.duet-choice-label{border-color:rgb(127, 150, 165) !important}.duet-theme-turva .checked>.disabled.duet-choice-label{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva .duet-checkmark-container{border-color:rgb(143, 147, 158)}.checked>.duet-choice-label .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}label.disabled .duet-checkmark-container{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva label.disabled .duet-checkmark-container{border-color:rgb(199, 202, 207) !important}.checked>label.disabled .duet-checkmark-container{background:rgb(181, 198, 208) !important}.duet-theme-turva .checked>label.disabled .duet-checkmark-container{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva .duet-choice-card-icon{color:rgb(164, 4, 40)}.duet-choice-card-icon duet-icon{display:block}.duet-choice-section-hidden{display:none}.duet-choice-card-info.duet-choice-card-collapsed,.duet-choice-card-collapsed.duet-choice-card-collapsible{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info,.duet-choice-card-collapsible{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info,.duet-choice-card-collapsible{padding:28px !important}}.duet-theme-turva .duet-choice-card-info,.duet-theme-turva .duet-choice-card-collapsible{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked>.duet-choice-card-info,.checked>.duet-choice-card-collapsible{display:block}.duet-choice-card-info-expanded,.duet-choice-card-collapsible-expanded{display:block}.duet-choice-card-collapsible{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked{border-color:rgb(222, 224, 228)}.duet-choice-card-info{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container ::slotted(*){display:none}:host(.user-is-tabbing) .duet-choice-info-container:focus{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.disabled) .duet-choice-card-collapsible{border-color:rgb(127, 150, 165)}:host(.disabled) .duet-choice-card-collapsible.duet-theme-turva{border-color:rgb(143, 147, 158)}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){border-color:rgb(143, 147, 158)}:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true]{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva .duet-choice-info-toggle[aria-expanded=true]{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled]{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled] .duet-choice-info-icon{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva .duet-choice-info-icon{color:rgb(143, 147, 158) !important}.duet-choice-info-toggle:focus{outline:none}:host(.user-is-tabbing) .duet-choice-info-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-choice-info-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked+.duet-choice-info-toggle{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle duet-icon{display:block}.duet-choice-info-toggle .duet-choice-info-icon{color:rgb(0, 119, 179)}.duet-theme-turva .duet-choice-info-toggle .duet-choice-info-icon{color:rgb(198, 12, 48)}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label .duet-choice-info-toggle{border-left-color:rgb(127, 150, 165)}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label .duet-choice-info-toggle{border-left-color:rgb(143, 147, 158)}.duet-choice-input,*::slotted([slot=choiceradioinput]){position:absolute !important;width:100%;height:100%;opacity:0}";
5342
5378
  var DuetChoiceStyle0 = duetChoiceCss;
5343
5379
 
5344
5380
  /**
@@ -5362,6 +5398,58 @@ class DuetChoice {
5362
5398
  this.expandId = createID("DuetChoiceExpand");
5363
5399
  this.headerId = createID("DuetChoiceHeader");
5364
5400
  this.infoButtonId = createID("DuetChoiceInfoButton");
5401
+ this.radioInputListenersRemove = radioInput => {
5402
+ radioInput.removeEventListener("change", this.onChange);
5403
+ radioInput.removeEventListener("keydown", this.handleKeyDown);
5404
+ radioInput.removeEventListener("focus", this.onFocus);
5405
+ radioInput.removeEventListener("blur", this.onBlur);
5406
+ };
5407
+ this.radioInputListenersAdd = radioInput => {
5408
+ radioInput.addEventListener("change", this.onChange);
5409
+ radioInput.addEventListener("keydown", this.handleKeyDown);
5410
+ radioInput.addEventListener("focus", this.onFocus);
5411
+ radioInput.addEventListener("blur", this.onBlur);
5412
+ };
5413
+ this.radioInputSetUp = () => {
5414
+ const slotInput = this.element.querySelector("input[slot=choiceradioinput]");
5415
+ const radioInput = slotInput || document.createElement("input");
5416
+ radioInput.slot = "choiceradioinput";
5417
+ radioInput.disabled = this.getDisabled();
5418
+ radioInput.id = this.identifier || this.choiceId;
5419
+ radioInput.type = "radio";
5420
+ radioInput.name = this.name;
5421
+ radioInput.value = this.value;
5422
+ radioInput.checked = this.checked;
5423
+ radioInput.required = this.required;
5424
+ radioInput.ariaDescription = this.accessibleDescription;
5425
+ if (this.accessibleControls) {
5426
+ radioInput.setAttribute("aria-controls", this.accessibleControls);
5427
+ }
5428
+ if (this.accessibleActiveDescendant) {
5429
+ radioInput.setAttribute("aria-activedescendant", this.accessibleActiveDescendant);
5430
+ }
5431
+ if (this.accessibleLabelledBy) {
5432
+ radioInput.setAttribute("aria-labelledby", this.accessibleLabelledBy);
5433
+ }
5434
+ if (this.accessibleDetails) {
5435
+ radioInput.setAttribute("aria-details", this.accessibleDetails);
5436
+ }
5437
+ if (this.accessibleOwns) {
5438
+ radioInput.setAttribute("aria-owns", this.accessibleOwns);
5439
+ }
5440
+ if (this.getAriaDescribedby()) {
5441
+ radioInput.setAttribute("aria-describedby", this.getAriaDescribedby());
5442
+ }
5443
+ radioInput.ariaLabel = this.getLabel();
5444
+ if (slotInput) {
5445
+ this.radioInputListenersRemove(radioInput);
5446
+ }
5447
+ else {
5448
+ this.element.appendChild(radioInput);
5449
+ }
5450
+ this.radioInputListenersAdd(radioInput);
5451
+ this.focusableElement = radioInput;
5452
+ };
5365
5453
  /**
5366
5454
  * Component event handling.
5367
5455
  */
@@ -5383,7 +5471,9 @@ class DuetChoice {
5383
5471
  }
5384
5472
  };
5385
5473
  this.onChange = () => {
5386
- this.checked = this.nativeInput.checked || false;
5474
+ const input = this.focusableElement;
5475
+ const inputChecked = input.checked;
5476
+ this.checked = inputChecked;
5387
5477
  this.duetChange.emit({
5388
5478
  checked: this.checked,
5389
5479
  value: this.value,
@@ -5391,6 +5481,7 @@ class DuetChoice {
5391
5481
  });
5392
5482
  };
5393
5483
  this.onBlur = (ev) => {
5484
+ this.focus = false;
5394
5485
  this.duetBlur.emit({
5395
5486
  originalEvent: ev,
5396
5487
  checked: this.checked,
@@ -5399,6 +5490,7 @@ class DuetChoice {
5399
5490
  });
5400
5491
  };
5401
5492
  this.onFocus = (ev) => {
5493
+ this.focus = true;
5402
5494
  this.duetFocus.emit({
5403
5495
  originalEvent: ev,
5404
5496
  checked: this.checked,
@@ -5437,6 +5529,7 @@ class DuetChoice {
5437
5529
  }, 150);
5438
5530
  }
5439
5531
  };
5532
+ this.focus = false;
5440
5533
  this.isHovering = false;
5441
5534
  this.isInfoOpen = false;
5442
5535
  this.theme = "";
@@ -5501,6 +5594,11 @@ class DuetChoice {
5501
5594
  subscribeTabbingChange(this);
5502
5595
  this.duetChoiceReady.emit();
5503
5596
  }
5597
+ componentDidRender() {
5598
+ if (this.type === "radio") {
5599
+ this.radioInputSetUp();
5600
+ }
5601
+ }
5504
5602
  disconnectedCallback() {
5505
5603
  disconnectLanguageChangeObserver(this);
5506
5604
  unsubscribeTabbingChange(this);
@@ -5511,7 +5609,7 @@ class DuetChoice {
5511
5609
  * `input.focus()`.
5512
5610
  */
5513
5611
  async setFocus(options) {
5514
- this.nativeInput.focus(options);
5612
+ this.focusableElement.focus(options);
5515
5613
  }
5516
5614
  /**
5517
5615
  * This method toggles the info section.
@@ -5588,19 +5686,68 @@ class DuetChoice {
5588
5686
  "duet-choice-default-slot": true,
5589
5687
  };
5590
5688
  }
5689
+ getLabel() {
5690
+ let slotLabel = "";
5691
+ let slotBeforeText = "";
5692
+ let slotAdditional = "";
5693
+ if (this.hasLabel) {
5694
+ const slotContent = getElementsFromNamedSlot(this.element, "label");
5695
+ slotLabel = slotContent.length > 0 ? slotContent[0].textContent : "";
5696
+ }
5697
+ if (this.hasBeforeText) {
5698
+ const slotContent = getElementsFromNamedSlot(this.element, "before-text");
5699
+ slotBeforeText = slotContent.length > 0 ? slotContent[0].textContent : "";
5700
+ }
5701
+ if (this.hasAdditional) {
5702
+ const slotContent = getElementsFromNamedSlot(this.element, "additional");
5703
+ slotAdditional = slotContent.length > 0 ? slotContent[0].textContent : "";
5704
+ }
5705
+ return `${slotBeforeText} ${this.hasLabel ? slotLabel : this.label} ${this.caption} ${slotAdditional}`;
5706
+ }
5591
5707
  /**
5592
5708
  * render() function
5593
5709
  * Always the last one in the class.
5594
5710
  */
5595
5711
  render() {
5596
- {
5597
- return;
5598
- }
5712
+ const identifier = this.identifier || this.choiceId;
5713
+ return (hAsync(Host, { key: '769363c98f975c9f2881acdc911ba2cd28c36351', class: {
5714
+ horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
5715
+ "horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
5716
+ "duet-m-0": this.margin === "none",
5717
+ "duet-expand": this.expand,
5718
+ "duet-theme-turva": this.theme === "turva",
5719
+ "no-hover": this.isHovering,
5720
+ disabled: this.getDisabled(),
5721
+ } }, hAsync("div", { key: '93dea4566ff9694947713e14e172c338ae0c8d8c', class: {
5722
+ "duet-choice-card-flextainer": true,
5723
+ "duet-theme-turva": this.theme === "turva",
5724
+ } }, hAsync("div", { key: '846c05b6a685ecba8be08d1c7bad60165452d98f', class: {
5725
+ "duet-choice-card": true,
5726
+ "has-icon": !!this.icon,
5727
+ "has-info": this.hasInfo,
5728
+ checked: this.checked,
5729
+ info: this.isInfoOpen,
5730
+ collapsible: this.collapsible,
5731
+ "collapsible-force-expanded": this.collapsibleForceExpanded,
5732
+ "duet-p-0": this.padding === "none",
5733
+ } }, this.type === "checkbox" && (hAsync("input", { key: '033d896b5949802ed8031f649e5f82d438a59014', class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.getDisabled(), required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-label": this.getLabel(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.focusableElement = input) })), hAsync("slot", { key: 'c9f2bf88993e31592ea467c16858bb8a57ac5e56', name: "choiceradioinput" }), hAsync("label", { key: 'e038f367106ffd8712a0908d65d125b5f285a916', class: {
5734
+ "duet-choice-label": true,
5735
+ "has-before-text": this.hasBeforeText,
5736
+ checked: this.checked,
5737
+ focus: this.focus,
5738
+ disabled: this.getDisabled(),
5739
+ }, onClick: this.onClick }, this.hasBeforeText && hAsync("slot", { key: '1b19e1fa3fcf5a3a3e16f5330a513adff661798e', name: "before-text" }), this.icon && (hAsync("div", { key: 'cf7b7dba99cf4c93a0af8348841a548a0e4153aa', class: "duet-choice-card-icon" }, hAsync("duet-icon", { key: '3adb65bb97bad88b84472b408c2c7582ad3e6012', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), hAsync("div", { key: '8a85581545676b925ca39c614876f3cebb5553c4', class: "duet-choice-card-text" }, hAsync("div", { key: '4baf1c808b3a8946f63cd5d64c135f29387910a1' }, this.hasLabel ? hAsync("slot", { name: "label" }) : this.label), this.caption && (hAsync("div", { key: 'd4d2e94b379c242853047e92b8ef3d02358d47ab' }, hAsync("duet-spacer", { key: 'cb761b10de1afba742bcfb83cfcd0885e09d4da2', size: "xx-small" }), hAsync("duet-caption", { key: 'f4238edc949718154d77c4a465d515b4eaeae3df', margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (hAsync("div", { key: 'e932cefc8acedea9b152c66d50bbe591be8cf04d' }, hAsync("duet-spacer", { key: '1ea7940f74edb2bb99405091097530836c0412eb', size: "xx-small" }), hAsync("slot", { key: '63fc4d2ad4a0f5d14666ff703ad4defaf2e950ed', name: "additional" })))), hAsync("div", { key: '9ca502e4e6929ed03c09818909b708e6174392c9' }, hAsync("div", { key: 'e2ec3f18108f7be37e7d38a3a8a6b7126ac37367', class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && hAsync("div", { key: 'aed8333ed8fcc374095721d94a070fec03761d47', class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (hAsync("button", { key: '209184ed7ae21002ff718c2efce27aa498db02d3', ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
5740
+ "duet-choice-info-toggle": true,
5741
+ "duet-theme-turva": this.theme === "turva",
5742
+ }, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, hAsync("div", { key: 'eb76ae734893e6c9375d63a7ce73283437c3bf40', class: "duet-choice-info-icon" }, hAsync("duet-icon", { key: '21eaedd36a86a68b74ccd1420dbe838f1e23d4f0', icon: messagingInfo.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (hAsync("span", { key: 'a681b8c754aa3d6e24a70f95bf7d7c6bf7d31f5c', id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (hAsync("div", { class: this.getClassNames(), id: this.expandId }, hAsync("span", { class: {
5743
+ "duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
5744
+ "duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
5745
+ } }, hAsync("span", { id: this.headerId }, hAsync("slot", { name: "header" })), this.hasInfo ? (hAsync("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container", onKeyUp: e => this.handleEscape(e) }, hAsync("span", null, hAsync("slot", { name: "info" })), hAsync("slot", null))) : (hAsync("span", { id: `${this.choiceId}-collapsible-content` }, hAsync("slot", null)))))) : null));
5599
5746
  }
5600
5747
  get element() { return getElement(this); }
5601
5748
  static get style() { return DuetChoiceStyle0; }
5602
5749
  static get cmpMeta() { return {
5603
- "$flags$": 6,
5750
+ "$flags$": 9,
5604
5751
  "$tagName$": "duet-choice",
5605
5752
  "$members$": {
5606
5753
  "theme": [1025],
@@ -5635,6 +5782,7 @@ class DuetChoice {
5635
5782
  "infoLabel": [1025, "info-label"],
5636
5783
  "collapsibleNotificationDefaults": [1, "accessible-collapsible-notification-default"],
5637
5784
  "collapsibleNotification": [1025, "collapsible-notification"],
5785
+ "focus": [32],
5638
5786
  "isHovering": [32],
5639
5787
  "isInfoOpen": [32],
5640
5788
  "setFocus": [64],
@@ -5646,7 +5794,7 @@ class DuetChoice {
5646
5794
  }; }
5647
5795
  }
5648
5796
 
5649
- const duetChoiceGroupCss = "*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";
5797
+ const duetChoiceGroupCss = "*,*::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%}:host(.horizontal) .duet-choice-group{display:block;margin-bottom:-12px}:host(.horizontal) .duet-choice-group.duet-no-stacking{display:flex}@media (min-width: 48em){:host(.horizontal) .duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){:host(.horizontal) .duet-choice-group{display:flex}}:host(.horizontal.duet-choice-group-breakpoint-x-small) .duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){:host(.horizontal.duet-choice-group-breakpoint-x-small) .duet-choice-group:not(.duet-no-stacking){display:block}}:host(.horizontal.duet-choice-group-breakpoint-small) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){:host(.horizontal.duet-choice-group-breakpoint-small) .duet-choice-group:not(.duet-no-stacking){display:flex}}:host(.horizontal.duet-choice-group-breakpoint-medium) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){:host(.horizontal.duet-choice-group-breakpoint-medium) .duet-choice-group:not(.duet-no-stacking){display:flex}}:host(.horizontal.duet-choice-group-breakpoint-large) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){:host(.horizontal.duet-choice-group-breakpoint-large) .duet-choice-group:not(.duet-no-stacking){display:flex}}:host(.horizontal.duet-choice-group-breakpoint-x-large) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){:host(.horizontal.duet-choice-group-breakpoint-x-large) .duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";
5650
5798
  var DuetChoiceGroupStyle0 = duetChoiceGroupCss;
5651
5799
 
5652
5800
  /**
@@ -5765,9 +5913,14 @@ class DuetChoiceGroup {
5765
5913
  * Always the last one in the class.
5766
5914
  */
5767
5915
  render() {
5768
- {
5769
- return;
5770
- }
5916
+ return (hAsync(Host, { key: '0f05e4491b0ed604ed36ad5a20755a183f219e61', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
5917
+ horizontal: this.direction === "horizontal",
5918
+ "duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
5919
+ "duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
5920
+ "duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
5921
+ "duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
5922
+ "duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
5923
+ } }, hAsync("duet-fieldset", { key: 'c6b16eb32fa18224f1fca5450a1a00609ee0800c', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (hAsync("duet-tooltip", { key: '23ea892920b10486ec2ff7dc5c6893d4f4b58028', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '6f067a2d955d9a60728e5f8746650480d5719491', name: "tooltip" }), hAsync("div", { key: 'e3bfaa0355f3eb50844f4e5a47dc02d0816380e2', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, hAsync("slot", { key: '8af6ad42073f04162bf0f7482e9987e1f386e7b5' })))));
5771
5924
  }
5772
5925
  get element() { return getElement(this); }
5773
5926
  static get watchers() { return {
@@ -5779,7 +5932,7 @@ class DuetChoiceGroup {
5779
5932
  }; }
5780
5933
  static get style() { return DuetChoiceGroupStyle0; }
5781
5934
  static get cmpMeta() { return {
5782
- "$flags$": 6,
5935
+ "$flags$": 9,
5783
5936
  "$tagName$": "duet-choice-group",
5784
5937
  "$members$": {
5785
5938
  "direction": [1],
@@ -6658,14 +6811,14 @@ class DuetCollapsible {
6658
6811
  */
6659
6812
  render() {
6660
6813
  const HeadingTagName = this.headingLevel ? sanitizeString$1(this.headingLevel) : "div";
6661
- return (hAsync(Host, { key: 'aff15bb7d7a183ad8717bd077ed5e692549479e2', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, hAsync(HeadingTagName, { key: '8c8b350ac427399cf5e694ae5045b5d757b17324' }, hAsync("button", { key: '16304aab427f0c1493c1d464a5959d0c063433f8', class: {
6814
+ return (hAsync(Host, { key: 'e75871cb9a6fd0f3050c22c4ac9059c8daa8c2ca', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, hAsync(HeadingTagName, { key: '4b9571caa365df133f607952f427d5f2662a61d6' }, hAsync("button", { key: '29f111d38aeac967f9ef9e2696fe0da79b07210c', class: {
6662
6815
  "duet-collapsible-heading": true,
6663
6816
  "duet-collapsible-heading-centered": this.centerHeading,
6664
6817
  "duet-theme-turva": this.theme === "turva",
6665
6818
  "duet-collapsible-normal-weight": this.headingWeight === "normal",
6666
6819
  "has-after-heading": this.hasAfterHeading,
6667
6820
  "full-width": this.headingFullWidth,
6668
- }, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { key: 'e2943d02487fd97319e47030dba988b6e90ab8e8', class: "duet-collapsible-heading-icon" }, hAsync("duet-icon", { key: '2e80461c2e5eb1d3cae6552ebdae873e6430a433', margin: "none", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), hAsync("div", { key: 'fdaecea0fa4dbb325e7bc460d5ca016ccf083111', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (hAsync("div", { key: '3b1a1f5cd79b5cd31b1204ae9dd3db28601f8fa9', part: "duet-collapsible-after-heading" }, hAsync("slot", { key: '2c8a5041e7264addf9840a3cecf6c7ebbddeb871', name: "after-heading" }))))), hAsync("div", { key: '151b1f002a2745bf31ff97496f53b4a81c77b524', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, hAsync("slot", { key: '6b729485bb03d25d5529b23b4a2ce502d5a58a32' }))));
6821
+ }, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { key: 'f22a73bf54b611968e8e9ecfac22c4a5d912942a', class: "duet-collapsible-heading-icon" }, hAsync("duet-icon", { key: '3f1706b22520ee9e1856ba3d9bd8f4e04a026e20', margin: "none", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), hAsync("div", { key: '88b89faf977d753d6d53f838d986b6ec567ed8e3', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (hAsync("div", { key: '97304f5806f809b1d7e86306b60901ce96df2f8e', part: "duet-collapsible-after-heading" }, hAsync("slot", { key: '0d37e9e85c477aa0f4b3f0f9b7209b429c917bd6', name: "after-heading" }))))), hAsync("div", { key: 'cc27c3dca50171f016f3a0991a67f07334223f9b', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, hAsync("slot", { key: 'b17cc5907e981ea030f3a070e6cad046e15af55c' }))));
6669
6822
  }
6670
6823
  get element() { return getElement(this); }
6671
6824
  static get style() { return DuetCollapsibleStyle0; }
@@ -6692,7 +6845,7 @@ class DuetCollapsible {
6692
6845
  }; }
6693
6846
  }
6694
6847
 
6695
- const duetComboboxCss = ".sc-duet-combobox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-block;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(8, 42, 77)}.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(8, 42, 77);transition:none}.duet-theme-turva.sc-duet-combobox-h{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-theme-turva.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(23, 28, 58)}.combobox-menu-container.sc-duet-combobox{width:var(--popup-width);max-height:200px}";
6848
+ const duetComboboxCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-block;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(8, 42, 77)}:host a{color:rgb(8, 42, 77);transition:none}:host.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host.duet-theme-turva a{color:rgb(23, 28, 58)}.combobox-menu-container{width:var(--popup-width);max-height:200px}";
6696
6849
  var DuetComboboxStyle0 = duetComboboxCss;
6697
6850
 
6698
6851
  class DuetCombobox {
@@ -7209,7 +7362,7 @@ class DuetCombobox {
7209
7362
  }; }
7210
7363
  static get style() { return DuetComboboxStyle0; }
7211
7364
  static get cmpMeta() { return {
7212
- "$flags$": 6,
7365
+ "$flags$": 9,
7213
7366
  "$tagName$": "duet-combobox",
7214
7367
  "$members$": {
7215
7368
  "accessibleLabelDefaults": [1, "accessible-label-defaults"],
@@ -7283,10 +7436,10 @@ class DuetContactCard {
7283
7436
  render() {
7284
7437
  const isTurva = this.theme === "turva";
7285
7438
  const theme = isTurva ? "turva" : "default";
7286
- return (hAsync(Host, { key: '710493f629c7d9cac46f490f0dee228f7242a95c', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '6ebe03954a2fa70044934971a113f2799d883a61', class: {
7439
+ return (hAsync(Host, { key: 'ee161f82ee10fff2c20d0a1710bad6af28d693f4', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'b9252238696889b1c15f9c7ade693f7e0d28c5da', class: {
7287
7440
  "duet-contact-card": true,
7288
7441
  "duet-theme-turva": this.theme === "turva",
7289
- }, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '38bd574fe717f2d7b57c74cde6d5ac57f148b23c' }, this.name && (hAsync("duet-heading", { key: '72ef2682da855b8cb86c2537843b864121b1529b', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: 'b657102818b5864f82ddc9de07ff4c910024e46f', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: '310a665ff9dad389ea89c74bcda6b5b637513eca', class: "email" }, hAsync("duet-icon", { key: '0d15be99d190d285cead78ef5a1356ce88802e21', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '67e957450d29245d930ca9b8366cdc421c95b5a0', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: '3c7f8dbef0143be61c6da4e5c5aaf50036a5a795', class: "phone" }, hAsync("duet-icon", { key: '107635e97ef8980ce1f9d91cc7c0a20132967d50', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '30993d3b47125ecd85527fd664596deb5b1e6c55', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: '08e0710a040f7775d7a8b2c61b5e803212b1a344', class: "call-to-action" }, hAsync("duet-button", { key: '33b3f9f83c8b98df670211fa786bc91e1daeb33f', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: '6bd3ab22e2e630bc6de6fd7f841f2b0fd658cc95' }), hAsync("slot", { key: 'ddcf2048393c89dbc94c29254ee703829cdc08a2' }))));
7442
+ }, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: 'c9575adf25010f58a30f297b89355cf1c404a03e' }, this.name && (hAsync("duet-heading", { key: '2158805949358fd34db41c0b182c384ea19e7691', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: 'f9372c59121b55e6247515dba14f557fd73a0c80', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: 'abf9dfb8a80916d11a756d51556f17d63ff3ccb1', class: "email" }, hAsync("duet-icon", { key: '8ed9a810ce0a6523541e1f25221d6c0efbe04dfe', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: 'ebe066f4492bf29aa08c0ad4e7bffc3bc33da31d', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: '95d380ceee42f69a6ed0f9d1c611a32a71fce355', class: "phone" }, hAsync("duet-icon", { key: '785043c08e6fca93a358f385b4fe1a9fe52ce74b', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '3f798fe2fb406091faadec2e72b7da3ccced7b83', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: '603dc620090b067f6798a117df506ba244163f3a', class: "call-to-action" }, hAsync("duet-button", { key: '585f7cf08e0620af3af47ef41436a90d75aa48bd', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: 'f9c5a90f43159f6349b09b515bb9b75fc06bb7d3' }), hAsync("slot", { key: 'aac7d0d9a759305ef4986cc11ce446f191f72133' }))));
7290
7443
  }
7291
7444
  get element() { return getElement(this); }
7292
7445
  static get style() { return DuetContactCardStyle0; }
@@ -7353,7 +7506,7 @@ class DuetCookieConsent {
7353
7506
  * Always the last one in the class.
7354
7507
  */
7355
7508
  render() {
7356
- return (hAsync(Host, { key: 'b6200017500c61af5823af477a967f1b0eb4c3e8', tabindex: "0", class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '2a24f576b5c8d4afa80ebbd1efb1535d39057fc9', class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: 'dfce32c2435aff2e90e5ef68bf2058635c0bebba', class: "duet-cookie-consent-content" }, hAsync("div", { key: '426215741b6ae8be77620bee45f34cafcb2b0a9b', class: "expand" }, hAsync("slot", { key: '29dc8d4183c2ec992e44bb8ef38a492daefc0393' })), hAsync("duet-spacer", { key: 'aef61de5d2b9b12dec6ebac9d0b0b2f3a9709d97', size: "large", direction: "horizontal" }), hAsync("div", { key: '660dc857d3ba6115beb552745416929a22a4d6b3' }, hAsync("duet-button", { key: '24b68101280c3a953653256d9660309efee09194', variation: "negative", size: "small", onClick: this.handleClick, margin: "none", "aria-label": this.accessibleLabel, theme: this.theme }, "OK"))))));
7509
+ return (hAsync(Host, { key: '61cde7dad29f6806c3bf5f598897ebab55a50c2c', tabindex: "0", class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: 'acb59a9600f655eb3c485a7334dd078c03f82f56', class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '5d1eb2561aef70174bb1ca9d11e44ae2d743a13a', class: "duet-cookie-consent-content" }, hAsync("div", { key: 'ef24cb4ba0672188c6216da4007746b52fa46526', class: "expand" }, hAsync("slot", { key: '7e170fcdf30814f4308ae952a2236e67b5fecf2e' })), hAsync("duet-spacer", { key: '3155cd41922ea15d6543243292651832b353461f', size: "large", direction: "horizontal" }), hAsync("div", { key: 'e6578866cc2ea81852778c514eb5c04f766a2dcc' }, hAsync("duet-button", { key: 'dae7a5c4b619f93d19fbc3e72e0c782fbef9550f', variation: "negative", size: "small", onClick: this.handleClick, margin: "none", "aria-label": this.accessibleLabel, theme: this.theme }, "OK"))))));
7357
7510
  }
7358
7511
  get element() { return getElement(this); }
7359
7512
  static get style() { return DuetCookieConsentStyle0; }
@@ -7382,6 +7535,131 @@ const FocusGuard = ({ moveFocusTo }) => {
7382
7535
  return hAsync("div", { class: "duet-focus-guard", "aria-hidden": "true", tabIndex: 0, onFocus: () => focusElement(moveFocusTo) });
7383
7536
  };
7384
7537
 
7538
+ const formatOptionsShort = { day: "numeric", month: "long", weekday: "long" };
7539
+ const formatOptionsLong = { day: "numeric", month: "long", year: "numeric" };
7540
+ const i18n$2 = {
7541
+ fi: {
7542
+ buttonLabel: "Valitse päivämäärä",
7543
+ prevMonthLabel: "Edellinen kuukausi",
7544
+ nextMonthLabel: "Seuraava kuukausi",
7545
+ monthSelectLabel: "Kuukausi",
7546
+ yearSelectLabel: "Vuosi",
7547
+ closeLabel: "Sulje ikkuna",
7548
+ selected: "Valittu päivämäärä on",
7549
+ keyboardInstruction: "Voit navigoida päivämääriä nuolinäppäimillä",
7550
+ dayLabels: ["Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai", "Sunnuntai"],
7551
+ monthLabels: [
7552
+ "Tammikuu",
7553
+ "Helmikuu",
7554
+ "Maaliskuu",
7555
+ "Huhtikuu",
7556
+ "Toukokuu",
7557
+ "Kesäkuu",
7558
+ "Heinäkuu",
7559
+ "Elokuu",
7560
+ "Syyskuu",
7561
+ "Lokakuu",
7562
+ "Marraskuu",
7563
+ "Joulukuu",
7564
+ ],
7565
+ monthLabelsShort: [
7566
+ "Tammi",
7567
+ "Helmi",
7568
+ "Maalis",
7569
+ "Huhti",
7570
+ "Touko",
7571
+ "Kesä",
7572
+ "Heinä",
7573
+ "Elo",
7574
+ "Syys",
7575
+ "Loka",
7576
+ "Marras",
7577
+ "Joulu",
7578
+ ],
7579
+ formatterShort: new Intl.DateTimeFormat("fi-FI", formatOptionsShort),
7580
+ formatterLong: new Intl.DateTimeFormat("fi-FI", formatOptionsLong),
7581
+ },
7582
+ en: {
7583
+ buttonLabel: "Choose date",
7584
+ prevMonthLabel: "Previous month",
7585
+ nextMonthLabel: "Next month",
7586
+ monthSelectLabel: "Month",
7587
+ yearSelectLabel: "Year",
7588
+ closeLabel: "Close window",
7589
+ selected: "Selected date is",
7590
+ keyboardInstruction: "You can use arrow keys to navigate dates",
7591
+ dayLabels: ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"],
7592
+ monthLabels: [
7593
+ "January",
7594
+ "February",
7595
+ "March",
7596
+ "April",
7597
+ "May",
7598
+ "June",
7599
+ "July",
7600
+ "August",
7601
+ "September",
7602
+ "October",
7603
+ "November",
7604
+ "December",
7605
+ ],
7606
+ monthLabelsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
7607
+ formatterShort: new Intl.DateTimeFormat("en-GB", formatOptionsShort),
7608
+ formatterLong: new Intl.DateTimeFormat("en-GB", formatOptionsLong),
7609
+ },
7610
+ sv: {
7611
+ buttonLabel: "Välj datum",
7612
+ prevMonthLabel: "Föregående månad",
7613
+ nextMonthLabel: "Nästa månad",
7614
+ monthSelectLabel: "Månad",
7615
+ yearSelectLabel: "År",
7616
+ closeLabel: "Stäng fönstret",
7617
+ selected: "Valt datum är",
7618
+ keyboardInstruction: "Använd piltangenterna för att navigera i kalender",
7619
+ dayLabels: ["Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag", "Söndag"],
7620
+ monthLabels: [
7621
+ "Januari",
7622
+ "Februari",
7623
+ "Mars",
7624
+ "April",
7625
+ "Maj",
7626
+ "Juni",
7627
+ "Juli",
7628
+ "Augusti",
7629
+ "September",
7630
+ "Oktober",
7631
+ "November",
7632
+ "December",
7633
+ ],
7634
+ monthLabelsShort: ["Jan", "Feb", "Mars", "April", "Maj", "Juni", "Juli", "Aug", "Sep", "Okt", "Nov", "Dec"],
7635
+ formatterShort: new Intl.DateTimeFormat("sv-SE", formatOptionsShort),
7636
+ formatterLong: new Intl.DateTimeFormat("sv-SE", formatOptionsLong),
7637
+ },
7638
+ };
7639
+
7640
+ var formDate={"title":"form-date","tags":"form date calendar date picker","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M2.25 24A2.252 2.252 0 0 1 0 21.75V5.25A2.252 2.252 0 0 1 2.25 3H6V.75a.75.75 0 0 1 1.5 0V3h9V.75a.75.75 0 0 1 1.5 0V3h3.75A2.252 2.252 0 0 1 24 5.25v16.5A2.252 2.252 0 0 1 21.75 24zm-.75-2.25c0 .414.336.75.75.75h19.5a.75.75 0 0 0 .75-.75V10.5h-21zM22.5 9V5.25a.75.75 0 0 0-.75-.75H18V6a.75.75 0 0 1-1.5 0V4.5h-9V6A.75.75 0 0 1 6 6V4.5H2.25a.75.75 0 0 0-.75.75V9z\"/><circle cx=\"5.625\" cy=\"13.875\" r=\"1.125\"/><circle cx=\"5.625\" cy=\"19.125\" r=\"1.125\"/><circle cx=\"12\" cy=\"13.875\" r=\"1.125\"/><circle cx=\"12\" cy=\"19.125\" r=\"1.125\"/><circle cx=\"18.375\" cy=\"13.875\" r=\"1.125\"/><path d=\"M18.375 20.25c-.62 0-1.125-.505-1.125-1.125a1.127 1.127 0 0 1 1.171-1.122l.027.003a1.118 1.118 0 0 1 1.052 1.12c0 .619-.505 1.124-1.125 1.124z\"/></svg>"};
7641
+
7642
+ const DatePickerInput = ({ onClick, placeholder, inputLabel, valueAsDate, formattedValue, language, identifier, theme, disabled, error, role, required, tooltip, tooltipDirection, labelHidden, buttonRef, inputRef, onInput, onBlur, onFocus, hasFocus, accessibleActiveDescendant, accessibleControls, accessibleOwns, accessibleDescribedBy, accessibleLiveError, echoPlaceholder, caption, }) => {
7643
+ const { buttonLabel, selected, formatterLong } = i18n$2[language];
7644
+ const classes = {
7645
+ "duet-theme-turva": theme === "turva",
7646
+ "duet-date-input": true,
7647
+ "duet-date-input-has-focus": hasFocus,
7648
+ };
7649
+ return (hAsync("div", { class: classes },
7650
+ hAsync("duet-input", { label: inputLabel, value: formattedValue, placeholder: placeholder, id: identifier, disabled: disabled, theme: theme, error: error, role: role, required: required, tooltip: tooltip, tooltipDirection: tooltipDirection, margin: "none", labelHidden: labelHidden, accessibleAutocomplete: "none", onDuetChange: e => e.stopImmediatePropagation(), onDuetInput: onInput, onDuetFocus: onFocus, onDuetBlur: onBlur, autoComplete: "off", disallowPattern: "[^0-9\\.\\-\\/]", expand: true, ref: inputRef, accessibleActiveDescendant: accessibleActiveDescendant, accessibleControls: accessibleControls, accessibleOwns: accessibleOwns, accessibleDescribedBy: accessibleDescribedBy, accessibleLiveError: accessibleLiveError, echoPlaceholder: echoPlaceholder, caption: caption, variation: "button" },
7651
+ hAsync("slot", { name: "tooltip" }),
7652
+ hAsync("button", { class: { "duet-date-button": true, "duet-no-label": labelHidden, "input-error": !!error }, onClick: onClick, disabled: disabled, ref: buttonRef, type: "button", slot: "button" },
7653
+ hAsync("duet-icon", { icon: formDate.svg, margin: "none", size: "small", color: "currentColor" }),
7654
+ hAsync("duet-visually-hidden", null,
7655
+ buttonLabel,
7656
+ valueAsDate && (hAsync("span", null,
7657
+ ", ",
7658
+ selected,
7659
+ " ",
7660
+ formatterLong.format(valueAsDate))))))));
7661
+ };
7662
+
7385
7663
  const DATE_FORMAT = /^(\d{1,2})[\.\-\/](\d{1,2})[\.\-\/](\d{4})$/;
7386
7664
  const ISO_DATE_FORMAT = /^(\d{4})-(\d{2})-(\d{2})$/;
7387
7665
  const DATE_OUTPUT_FORMAT = "dd.mm.yyyy";
@@ -7524,6 +7802,44 @@ function clamp$2(date, min, max) {
7524
7802
  }
7525
7803
  return date;
7526
7804
  }
7805
+ /**
7806
+ * given start and end date, return an (inclusive) array of all dates in between
7807
+ * @param start
7808
+ * @param end
7809
+ */
7810
+ function getDaysInRange(start, end) {
7811
+ const days = [];
7812
+ let current = start;
7813
+ while (!isEqual(current, end)) {
7814
+ days.push(current);
7815
+ current = addDays(current, 1);
7816
+ }
7817
+ days.push(current);
7818
+ return days;
7819
+ }
7820
+ /**
7821
+ * given a date, return an array of dates from a calendar perspective
7822
+ * @param date
7823
+ * @param firstDayOfWeek
7824
+ */
7825
+ function getViewOfMonth(date, firstDayOfWeek = 1) {
7826
+ const start = startOfWeek(startOfMonth(date), firstDayOfWeek);
7827
+ const end = endOfWeek(endOfMonth(date), firstDayOfWeek);
7828
+ return getDaysInRange(start, end);
7829
+ }
7830
+
7831
+ const DatePickerDay = ({ focusedDay, today, day, language, onDaySelect, onKeyboardNavigation, ref, inRange, isSelected, }) => {
7832
+ const isToday = isEqual(day, today);
7833
+ const isFocused = isEqual(day, focusedDay);
7834
+ const isDisabled = day.getMonth() !== focusedDay.getMonth();
7835
+ const isOutsideRange = !inRange;
7836
+ const { formatterShort } = i18n$2[language];
7837
+ function handleClick(e) {
7838
+ onDaySelect(e, day);
7839
+ }
7840
+ return (hAsync("td", { "data-day": printISODate(day), class: "duet-date-table-cell", "aria-label": formatterShort.format(day), role: "button", tabIndex: isFocused ? 0 : -1, onClick: handleClick, onKeyDown: onKeyboardNavigation, "aria-disabled": isOutsideRange || isDisabled, "aria-pressed": isSelected ? "true" : "false", ref: ref },
7841
+ hAsync("span", { class: { "duet-date-table-button": true, outside: isOutsideRange, disabled: isDisabled, today: isToday } }, day.getDate())));
7842
+ };
7527
7843
 
7528
7844
  /**
7529
7845
  * Creates an array representing an inclusive numeric range.
@@ -7531,6 +7847,25 @@ function clamp$2(date, min, max) {
7531
7847
  * @param from
7532
7848
  * @param to
7533
7849
  */
7850
+ function range(from, to) {
7851
+ var result = [];
7852
+ for (var i = from; i <= to; i++) {
7853
+ result.push(i);
7854
+ }
7855
+ return result;
7856
+ }
7857
+ /**
7858
+ * Splits an array into smaller arrays of given chunk size
7859
+ * @param array
7860
+ * @param chunkSize
7861
+ */
7862
+ function chunk(array, chunkSize) {
7863
+ const result = [];
7864
+ for (let i = 0; i < array.length; i += chunkSize) {
7865
+ result.push(array.slice(i, i + chunkSize));
7866
+ }
7867
+ return result;
7868
+ }
7534
7869
  function parseShortcut(str) {
7535
7870
  var _a;
7536
7871
  const press = str.trim().split("+");
@@ -7565,7 +7900,32 @@ function createShortcuts(shortcuts) {
7565
7900
  };
7566
7901
  }
7567
7902
 
7568
- const duetDatePickerCss = "*.sc-duet-date-picker,*.sc-duet-date-picker::after,*.sc-duet-date-picker::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-date-picker-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;position:relative;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:top}.sc-duet-date-picker-h:last-child,.sc-duet-date-picker-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-date-picker-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-date-picker-h{width:100% !important}.duet-m-0.sc-duet-date-picker-h{margin:0 !important}.duet-date.sc-duet-date-picker{position:relative;width:100%}.duet-date.sc-duet-date-picker button.sc-duet-date-picker,.duet-date-dialog.sc-duet-date-picker button.sc-duet-date-picker{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button.sc-duet-date-picker{-webkit-user-select:none;user-select:none;position:relative;z-index:200;box-sizing:content-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;width:47px;height:48px;color:rgb(8, 42, 77);cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-left-color:rgb(181, 198, 208);border-radius:0 4px 4px 0;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker{color:rgb(23, 28, 58);border-color:rgb(199, 202, 207)}.duet-date-button.sc-duet-date-picker::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:\"\";background:linear-gradient(to left, rgba(181, 198, 208, 0.2) 0%, rgba(181, 198, 208, 0.2) 1px, rgba(181, 198, 208, 0.1) 1px, rgba(181, 198, 208, 0) 100%)}.duet-date-button.sc-duet-date-picker:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.duet-date-button.sc-duet-date-picker:disabled{pointer-events:none;cursor:not-allowed;background:rgb(245, 248, 250) !important;border:0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:disabled{background:rgb(245, 247, 250) !important}.duet-date-button.sc-duet-date-picker:disabled::before{display:none}.duet-date-button.sc-duet-date-picker:disabled duet-icon.sc-duet-date-picker{opacity:0.4}.duet-date-button.sc-duet-date-picker duet-icon.sc-duet-date-picker{transform:translateY(-1px)}.duet-date-button.sc-duet-date-picker:active duet-icon.sc-duet-date-picker{transform:translateY(0)}.duet-date-input-has-focus.sc-duet-date-picker .duet-date-button.sc-duet-date-picker,.duet-date-button.sc-duet-date-picker:focus{height:46px;color:rgb(0, 119, 179);border-color:transparent;outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-input-has-focus.sc-duet-date-picker .duet-date-button.sc-duet-date-picker,.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}.input-error.sc-duet-date-picker{border-top-color:rgb(214, 28, 82);border-right-color:rgb(214, 28, 82);border-bottom-color:rgb(214, 28, 82)}.duet-date-dialog.sc-duet-date-picker{position:absolute;top:100%;left:0;z-index:900;display:flex;width:100%;visibility:hidden;opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}@media (min-width: 36em){.duet-date-dialog.left.sc-duet-date-picker{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog.sc-duet-date-picker{position:fixed;top:0;right:0;bottom:0;transition:opacity 400ms ease, visibility 400ms ease;transform:translateZ(0);transform-origin:bottom center}}.duet-date-dialog.active.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}@media (min-width: 36em){.duet-date-dialog.error.sc-duet-date-picker{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper.sc-duet-date-picker{position:relative;z-index:600;width:100%;min-width:290px;max-width:310px;padding:16px 16px 20px;margin-top:8px;margin-left:auto;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);transform:none}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{border-color:rgb(222, 224, 228)}@media (max-width: 35.9375em){.duet-date-dialog-wrapper.sc-duet-date-picker{position:absolute;bottom:0;left:0;z-index:900;max-width:none;min-height:25em;padding:0 8% 20px;margin:0;visibility:hidden;border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;opacity:0;transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;transform:translateZ(0) translateY(100%)}.active.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:translateZ(0) translateY(0)}}.duet-date-table.sc-duet-date-picker{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);text-align:center;border-spacing:0;border-collapse:collapse}.duet-date-table.duet-theme-turva.sc-duet-date-picker{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-date-table.sc-duet-date-picker th.sc-duet-date-picker{padding-bottom:8px;font-size:0.75rem;font-weight:600;line-height:1.25;text-decoration:none;text-transform:uppercase;letter-spacing:1px}.duet-date-table.sc-duet-date-picker .duet-date-table-cell.sc-duet-date-picker{text-align:center}.duet-date-table.sc-duet-date-picker .duet-date-table-cell.sc-duet-date-picker:focus{outline:none}.duet-date-table-button.sc-duet-date-picker{position:relative;z-index:100;display:inline-block !important;width:36.9230769231px !important;height:36.9230769231px !important;min-height:initial !important;padding:0 !important;margin:0 !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:2.6 !important;color:rgb(8, 42, 77) !important;text-align:center;vertical-align:initial !important;cursor:pointer;background:transparent !important;border-radius:50% !important;transition:initial !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\" !important;color:rgb(23, 28, 58) !important}.duet-date-table-button.sc-duet-date-picker:hover{background:rgb(228, 241, 247) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:hover{background:rgb(255, 227, 228) !important}.duet-date-table-button.today.sc-duet-date-picker{z-index:200;color:rgb(0, 75, 129) !important;background:rgb(240, 247, 250) !important;box-shadow:0 0 0 1px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.today.sc-duet-date-picker{color:rgb(126, 2, 35) !important;background:rgb(255, 241, 241) !important;box-shadow:0 0 0 1px #171c3a !important}[aria-pressed=true].sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker,.sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;outline:0}.duet-theme-turva.sc-duet-date-picker [aria-pressed=true].sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker,.duet-theme-turva.sc-duet-date-picker .sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important}.duet-date-table-button.sc-duet-date-picker:active{z-index:200;color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:active{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important;box-shadow:0 0 5px 0 #171c3a !important}.sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{z-index:200;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(127, 150, 165) !important;cursor:default;background:transparent !important;box-shadow:none !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(143, 147, 158) !important;background:transparent !important;box-shadow:none !important}.duet-date-table-button.outside.sc-duet-date-picker{color:rgb(127, 150, 165) !important;pointer-events:none;cursor:default;background:rgb(245, 248, 250) !important;box-shadow:none;opacity:0.75}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.outside.sc-duet-date-picker{color:rgb(143, 147, 158);background:rgb(245, 247, 250);box-shadow:none}.duet-date-dialog-header.sc-duet-date-picker{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons.sc-duet-date-picker{white-space:nowrap}.duet-date-dialog-buttons.sc-duet-date-picker .sc-duet-date-picker::part(button){border:0}.duet-date-dialog-select.sc-duet-date-picker{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{position:relative;z-index:1;display:flex;align-items:center;width:100%;padding:0 8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1.25rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);pointer-events:none;border-radius:4px}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-date-dialog-select.sc-duet-date-picker span.sc-duet-date-picker{margin-right:4px}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog-mobile-header.sc-duet-date-picker{position:relative;display:flex;align-items:center;justify-content:space-between;width:120%;padding:12px 20px;margin-bottom:20px;margin-left:-10%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid rgb(181, 198, 208)}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-mobile-header.sc-duet-date-picker{border-color:rgb(199, 202, 207)}.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:none}}.duet-date-picker-close.sc-duet-date-picker{display:flex;align-items:center;justify-content:center;width:24px;height:24px !important;padding:0 !important;color:rgb(8, 42, 77) !important;cursor:pointer;background:rgb(245, 248, 250) !important;border-radius:50%;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker{opacity:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker{background:rgb(245, 247, 250) !important}.duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 247, 250) !important}.duet-date-picker-close.sc-duet-date-picker:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker:focus{opacity:1}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:focus{box-shadow:0 0 0 2px #171c3a !important}";
7903
+ const DatePickerMonth = ({ selectedDate, focusedDate, labelledById, theme, language, min, max, onDateSelect, onKeyboardNavigation, focusedDayRef, onFocusEnter, onFocusExit, }) => {
7904
+ const { dayLabels } = i18n$2[language];
7905
+ const today = new Date();
7906
+ const days = getViewOfMonth(focusedDate);
7907
+ function handleFocusOut(e) {
7908
+ const table = e.currentTarget;
7909
+ const relatedTarget = e.relatedTarget;
7910
+ if (relatedTarget && !table.contains(relatedTarget)) {
7911
+ onFocusExit(e);
7912
+ }
7913
+ }
7914
+ return (hAsync("div", { role: "application" },
7915
+ hAsync("table", { role: "presentation", class: { "duet-date-table": true, "duet-theme-turva": theme === "turva" }, "aria-labelledby": labelledById,
7916
+ // @ts-ignore
7917
+ onFocusin: onFocusEnter, onFocusout: handleFocusOut },
7918
+ hAsync("thead", null,
7919
+ hAsync("tr", null, dayLabels.map(label => (hAsync("th", { scope: "col" },
7920
+ hAsync("span", { "aria-hidden": "true" }, label.substr(0, 2))))))),
7921
+ hAsync("tbody", null, chunk(days, 7).map(week => (hAsync("tr", { class: "duet-date-table-row" }, week.map(day => (hAsync(DatePickerDay, { day: day, today: today, language: language, focusedDay: focusedDate, inRange: inRange(day, min, max), isSelected: isEqual(day, selectedDate), onDaySelect: onDateSelect, onKeyboardNavigation: onKeyboardNavigation, ref: el => {
7922
+ if (el && isEqual(day, focusedDate)) {
7923
+ focusedDayRef(el);
7924
+ }
7925
+ } }))))))))));
7926
+ };
7927
+
7928
+ const duetDatePickerCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;position:relative;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:top}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}.duet-date{position:relative;width:100%}.duet-date button,.duet-date-dialog button{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button{-webkit-user-select:none;user-select:none;position:relative;z-index:200;box-sizing:content-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;width:47px;height:48px;color:rgb(8, 42, 77);cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-left-color:rgb(181, 198, 208);border-radius:0 4px 4px 0;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-theme-turva .duet-date-button{color:rgb(23, 28, 58);border-color:rgb(199, 202, 207)}.duet-date-button::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:\"\";background:linear-gradient(to left, rgba(181, 198, 208, 0.2) 0%, rgba(181, 198, 208, 0.2) 1px, rgba(181, 198, 208, 0.1) 1px, rgba(181, 198, 208, 0) 100%)}.duet-date-button:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva .duet-date-button:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.duet-date-button:disabled{pointer-events:none;cursor:not-allowed;background:rgb(245, 248, 250) !important;border:0 !important}.duet-theme-turva .duet-date-button:disabled{background:rgb(245, 247, 250) !important}.duet-date-button:disabled::before{display:none}.duet-date-button:disabled duet-icon{opacity:0.4}.duet-date-button duet-icon{transform:translateY(-1px)}.duet-date-button:active duet-icon{transform:translateY(0)}.duet-date-input-has-focus .duet-date-button,.duet-date-button:focus{height:46px;color:rgb(0, 119, 179);border-color:transparent;outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .duet-date-input-has-focus .duet-date-button,.duet-theme-turva .duet-date-button:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}.input-error{border-top-color:rgb(214, 28, 82);border-right-color:rgb(214, 28, 82);border-bottom-color:rgb(214, 28, 82)}.duet-date-dialog{position:absolute;top:100%;left:0;z-index:900;display:flex;width:100%;visibility:hidden;opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}@media (min-width: 36em){.duet-date-dialog.left{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog{position:fixed;top:0;right:0;bottom:0;transition:opacity 400ms ease, visibility 400ms ease;transform:translateZ(0);transform-origin:bottom center}}.duet-date-dialog.active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}@media (min-width: 36em){.duet-date-dialog.error{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper{position:relative;z-index:600;width:100%;min-width:290px;max-width:310px;padding:16px 16px 20px;margin-top:8px;margin-left:auto;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);transform:none}.duet-theme-turva .duet-date-dialog-wrapper{border-color:rgb(222, 224, 228)}@media (max-width: 35.9375em){.duet-date-dialog-wrapper{position:absolute;bottom:0;left:0;z-index:900;max-width:none;min-height:25em;padding:0 8% 20px;margin:0;visibility:hidden;border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;opacity:0;transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;transform:translateZ(0) translateY(100%)}.active .duet-date-dialog-wrapper{visibility:visible;opacity:1;transition-property:transform, opacity;transform:translateZ(0) translateY(0)}}.duet-date-table{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);text-align:center;border-spacing:0;border-collapse:collapse}.duet-date-table.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-date-table th{padding-bottom:8px;font-size:0.75rem;font-weight:600;line-height:1.25;text-decoration:none;text-transform:uppercase;letter-spacing:1px}.duet-date-table .duet-date-table-cell{text-align:center}.duet-date-table .duet-date-table-cell:focus{outline:none}.duet-date-table-button{position:relative;z-index:100;display:inline-block !important;width:36.9230769231px !important;height:36.9230769231px !important;min-height:initial !important;padding:0 !important;margin:0 !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:2.6 !important;color:rgb(8, 42, 77) !important;text-align:center;vertical-align:initial !important;cursor:pointer;background:transparent !important;border-radius:50% !important;transition:initial !important}.duet-theme-turva .duet-date-table-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\" !important;color:rgb(23, 28, 58) !important}.duet-date-table-button:hover{background:rgb(228, 241, 247) !important}.duet-theme-turva .duet-date-table-button:hover{background:rgb(255, 227, 228) !important}.duet-date-table-button.today{z-index:200;color:rgb(0, 75, 129) !important;background:rgb(240, 247, 250) !important;box-shadow:0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-date-table-button.today{color:rgb(126, 2, 35) !important;background:rgb(255, 241, 241) !important;box-shadow:0 0 0 1px #171c3a !important}[aria-pressed=true] .duet-date-table-button,:focus .duet-date-table-button{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;outline:0}.duet-theme-turva [aria-pressed=true] .duet-date-table-button,.duet-theme-turva :focus .duet-date-table-button{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important}.duet-date-table-button:active{z-index:200;color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva .duet-date-table-button:active{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important;box-shadow:0 0 5px 0 #171c3a !important}:focus .duet-date-table-button{z-index:200;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva :focus .duet-date-table-button{box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.disabled{color:rgb(127, 150, 165) !important;cursor:default;background:transparent !important;box-shadow:none !important}.duet-theme-turva .duet-date-table-button.disabled{color:rgb(143, 147, 158) !important;background:transparent !important;box-shadow:none !important}.duet-date-table-button.outside{color:rgb(127, 150, 165) !important;pointer-events:none;cursor:default;background:rgb(245, 248, 250) !important;box-shadow:none;opacity:0.75}.duet-theme-turva .duet-date-table-button.outside{color:rgb(143, 147, 158);background:rgb(245, 247, 250);box-shadow:none}.duet-date-dialog-header{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons{white-space:nowrap}.duet-date-dialog-buttons ::part(button){border:0}.duet-date-dialog-select{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select .duet-date-dialog-select-label{position:relative;z-index:1;display:flex;align-items:center;width:100%;padding:0 8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1.25rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);pointer-events:none;border-radius:4px}.duet-theme-turva .duet-date-dialog-select .duet-date-dialog-select-label{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-date-dialog-select span{margin-right:4px}.duet-date-dialog-select select{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select select:focus+.duet-date-dialog-select-label{box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .duet-date-dialog-select select:focus+.duet-date-dialog-select-label{box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog-mobile-header{position:relative;display:flex;align-items:center;justify-content:space-between;width:120%;padding:12px 20px;margin-bottom:20px;margin-left:-10%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid rgb(181, 198, 208)}@media (min-width: 36em){.duet-date-dialog-mobile-header{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-theme-turva .duet-date-dialog-mobile-header{border-color:rgb(199, 202, 207)}.duet-date-dialog-mobile-header duet-label{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header duet-label{display:none}}.duet-date-picker-close{display:flex;align-items:center;justify-content:center;width:24px;height:24px !important;padding:0 !important;color:rgb(8, 42, 77) !important;cursor:pointer;background:rgb(245, 248, 250) !important;border-radius:50%;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-date-picker-close{opacity:0}}.duet-theme-turva .duet-date-picker-close{background:rgb(245, 247, 250) !important}.duet-date-picker-close:hover{background:rgb(245, 248, 250) !important}.duet-theme-turva .duet-date-picker-close:hover{background:rgb(245, 247, 250) !important}.duet-date-picker-close:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}@media (min-width: 36em){.duet-date-picker-close:focus{opacity:1}}.duet-theme-turva .duet-date-picker-close:focus{box-shadow:0 0 0 2px #171c3a !important}";
7569
7929
  var DuetDatePickerStyle0 = duetDatePickerCss;
7570
7930
 
7571
7931
  /**
@@ -7577,6 +7937,7 @@ class DuetDatePicker {
7577
7937
  this.duetChange = createEvent$2(this, "duetChange", 7);
7578
7938
  this.duetBlur = createEvent$2(this, "duetBlur", 7);
7579
7939
  this.duetFocus = createEvent$2(this, "duetFocus", 7);
7940
+ this.proxyId = createID("DuetDatePicker");
7580
7941
  this.monthSelectId = createID("DuetDatePicker");
7581
7942
  this.yearSelectId = createID("DuetDatePicker");
7582
7943
  this.dialogLabelId = createID("DuetDatePicker");
@@ -7811,6 +8172,9 @@ class DuetDatePicker {
7811
8172
  break;
7812
8173
  }
7813
8174
  }
8175
+ componentDidRender() {
8176
+ proxyInputToSlot(this.element, this.proxyId, this.name, this.value, this.required);
8177
+ }
7814
8178
  connectedCallback() {
7815
8179
  connectLanguageChangeObserver(this, { prop: "placeholder", defaults: "placeholderDefaults" });
7816
8180
  }
@@ -7931,9 +8295,30 @@ class DuetDatePicker {
7931
8295
  * Always the last one in the class.
7932
8296
  */
7933
8297
  render() {
7934
- {
7935
- return;
7936
- }
8298
+ const valueAsDate = parseISODate(this.value);
8299
+ const selectedYear = (valueAsDate || this.focusedDay).getFullYear();
8300
+ const focusedMonth = this.focusedDay.getMonth();
8301
+ const focusedYear = this.focusedDay.getFullYear();
8302
+ const text = i18n$2[this.language];
8303
+ const minDate = parseISODate(this.min);
8304
+ const maxDate = parseISODate(this.max);
8305
+ const prevMonthDisabled = minDate != null && minDate.getMonth() === focusedMonth && minDate.getFullYear() === focusedYear;
8306
+ const nextMonthDisabled = maxDate != null && maxDate.getMonth() === focusedMonth && maxDate.getFullYear() === focusedYear;
8307
+ let minYear = selectedYear - this.incrementYears;
8308
+ let maxYear = selectedYear + this.incrementYears;
8309
+ if (minDate) {
8310
+ minYear = Math.max(minYear, minDate.getFullYear());
8311
+ }
8312
+ if (maxDate) {
8313
+ maxYear = Math.min(maxYear, maxDate.getFullYear());
8314
+ }
8315
+ return (hAsync(Host, { key: '48dfac6edc6326788eda85f8bf70bf5b4a0ff4ad', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'c3e6cf0d8d6e7ae3e917900e6c0093c53a13a44d', class: "duet-date" }, hAsync(DatePickerInput, { key: 'a440f6697d91cd0d0de2ab2c7c17d595e39bf9ae', hasFocus: this.inputHasFocus, value: this.value, valueAsDate: valueAsDate, formattedValue: this.inputValue, language: this.language, onInput: this.handleInputChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.toggleOpen, name: this.name, disabled: this.disabled, error: this.error || this.internalValidityError || null, role: this.role, required: this.required, theme: this.theme, tooltip: this.tooltip, tooltipDirection: this.tooltipDirection, labelHidden: this.labelHidden, placeholder: this.placeholder, inputLabel: this.label, identifier: this.identifier, buttonRef: element => (this.datePickerButton = element), inputRef: element => (this.datePickerInput = element), accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy, accessibleLiveError: this.accessibleLiveError, echoPlaceholder: this.echoPlaceholder, caption: this.caption })), hAsync("div", { key: '856f8608b56c0a24bc287b35cd6e6edf51b42e1f', class: {
8316
+ "duet-theme-turva": this.theme === "turva",
8317
+ "duet-date-dialog": true,
8318
+ left: this.direction === "left",
8319
+ error: !!this.error,
8320
+ active: this.open,
8321
+ }, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, hAsync("duet-overlay", { key: 'dbfa04c5bf7c3f3982b22597fcad4b1029aa4539', visible: this.open, "display-device": "x-small" }), hAsync(FocusGuard, { key: '443af141eb824070c60ee455ea5dbeec2a37cdb7', moveFocusTo: this.focusedDayNode }), hAsync("div", { key: '107fd0fac02235e7567a3c4c39caa17209a45c29', class: "duet-date-dialog-wrapper", onKeyDown: this.handleEscKey, ref: element => (this.dialogWrapperNode = element) }, hAsync("duet-visually-hidden", { key: '9cb6d9c06ec92d0d21e7fb0529f3c406ae5b741a', "aria-live": "polite" }, text.keyboardInstruction), hAsync("div", { key: '0752365441e95a42b6e3a17dc81aaa179342e5ca', class: "duet-date-dialog-mobile-header" }, hAsync("duet-label", { key: '6ffc63566ac1bd7484a2dacb2fcce822ce21c3c6', margin: "none" }, this.label), hAsync("button", { key: '248c0904984b9c5a67caf1892357d57e5ce60066', class: "duet-date-picker-close", ref: element => (this.closeButtonNode = element), onClick: () => this.hide(), type: "button" }, hAsync("duet-icon", { key: 'af984cb01089e8d9406c5b6bf0e67d2eeceb3beb', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xx-small" }), hAsync("duet-visually-hidden", { key: 'b8d0f1caeab887aa6b6651dcb193a7fa5525cbb7' }, text.closeLabel))), hAsync("div", { key: 'dd6610096ef2f1c7d7e5d4e0d1fac457362c5faf', class: "duet-date-dialog-header" }, hAsync("div", { key: 'd68c8dea57050c6fa051629f74add64e10cd38be', class: "duet-date-dialog-dropdowns" }, hAsync("duet-visually-hidden", { key: '58909421fde5e46cc2b1373e7e2d9532d6c1a03e' }, hAsync("h2", { key: '612d51f0e60b090a35458d90b0e9866ede633c83', id: this.dialogLabelId, "aria-live": "polite", "aria-atomic": "true" }, text.monthLabels[focusedMonth], " ", this.focusedDay.getFullYear())), hAsync("duet-visually-hidden", { key: 'b2463d984236267298af6c391d215c89f28c6488' }, hAsync("label", { key: '42e90c9b899b24cc40ac4c84e71a2c1d65043f51', htmlFor: this.monthSelectId }, text.monthSelectLabel)), hAsync("div", { key: '6d721a0d53346e15ce27eadc9eead200c7919610', class: "duet-date-dialog-select" }, hAsync("select", { key: '87df3cd45d626c59170b2f3874af646db4977c70', id: this.monthSelectId, class: "duet-date-month-select", ref: element => (this.monthSelectNode = element), onChange: this.handleMonthSelect }, text.monthLabels.map((month, i) => (hAsync("option", { key: month, value: i, selected: i === focusedMonth, disabled: !inRange(new Date(focusedYear, i, 1), minDate ? startOfMonth(minDate) : null, maxDate ? endOfMonth(maxDate) : null) }, month)))), hAsync("div", { key: 'eec62361035a4a7da7e473b35c83da7602db752b', class: "duet-date-dialog-select-label", "aria-hidden": "true" }, hAsync("span", { key: 'ec536ccf980e51e293a7e6eea022761c447fdbc1' }, text.monthLabelsShort[focusedMonth]), hAsync("duet-icon", { key: 'f1a8731882be82bc403d1eb52575895255322d6f', name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xxx-small" }))), hAsync("duet-visually-hidden", { key: '00a216897e04d308ce5750c8fa70e22e1ccc8138' }, hAsync("label", { key: '5ba713a95d1b746651a9d76bc0039373dfbeaa4d', htmlFor: this.yearSelectId }, text.yearSelectLabel)), hAsync("div", { key: '22dd0678e259984875717419a12860953b95cfb5', class: "duet-date-dialog-select" }, hAsync("select", { key: 'd78d55d784a66a3add24104426f3bcc0a8b0d22b', id: this.yearSelectId, class: "duet-date-year-select", onChange: this.handleYearSelect }, range(minYear, maxYear).map(year => (hAsync("option", { key: year, selected: year === focusedYear }, year)))), hAsync("div", { key: '7d1ca2d567364c693db485929b0730e2d260c7ca', class: "duet-date-dialog-select-label", "aria-hidden": "true" }, hAsync("span", { key: '2757b9f9910c6f2e1f7fb8b3d3adc65333bb679f' }, this.focusedDay.getFullYear()), hAsync("duet-icon", { key: 'dc068d24ccf9116a5c2e76e3bbdea7c356eb8eee', name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xxx-small" })))), hAsync("div", { key: '34b00c0ca21c0d748927721b8ee5d1b830e1ce3a', class: "duet-date-dialog-buttons" }, hAsync("duet-action-button", { key: '1afdaac3260fc7c94c8a138b44f3aa608ea1b59d', accessibleLabel: i18n$2[this.language].prevMonthLabel, actionName: i18n$2[this.language].prevMonthLabel, class: "duet-date-dialog-prev", onClick: this.handlePreviousMonthClick, disabled: prevMonthDisabled, "icon-name": "action-arrow-left-small" }, text.prevMonthLabel), hAsync("duet-action-button", { key: 'c2bef35e310c1ccc274ee52e17dcf790c4c3eb99', accessibleLabel: i18n$2[this.language].nextMonthLabel, actionName: i18n$2[this.language].nextMonthLabel, class: "duet-date-dialog-next", onClick: this.handleNextMonthClick, disabled: nextMonthDisabled, "icon-name": "action-arrow-right-small" }, text.nextMonthLabel))), hAsync(DatePickerMonth, { key: 'a2f57b6196e1ee4ac2f53ed81b484622a49297dc', selectedDate: valueAsDate, focusedDate: this.focusedDay, onDateSelect: this.handleDaySelect, onKeyboardNavigation: this.handleKeyboardNavigation, labelledById: this.dialogLabelId, language: this.language, theme: this.theme, min: minDate, max: maxDate, focusedDayRef: element => (this.focusedDayNode = element), onFocusEnter: this.enableActiveFocus, onFocusExit: this.disableActiveFocus })), hAsync(FocusGuard, { key: 'be87303e8ba3831c94e72a8d07ca967ce35604a6', moveFocusTo: this.closeButtonNode }))));
7937
8322
  }
7938
8323
  get element() { return getElement(this); }
7939
8324
  static get watchers() { return {
@@ -7944,7 +8329,7 @@ class DuetDatePicker {
7944
8329
  }; }
7945
8330
  static get style() { return DuetDatePickerStyle0; }
7946
8331
  static get cmpMeta() { return {
7947
- "$flags$": 6,
8332
+ "$flags$": 9,
7948
8333
  "$tagName$": "duet-date-picker",
7949
8334
  "$members$": {
7950
8335
  "theme": [1025],
@@ -8013,7 +8398,7 @@ class DuetDivider {
8013
8398
  */
8014
8399
  render() {
8015
8400
  const background = getColorByName(this.color);
8016
- return (hAsync("div", { key: '2caae5a247c86ce334214ce1efd4155d9941df6a', class: {
8401
+ return (hAsync("div", { key: 'c2cc3db06f08c31c90b7038ebaa32159765ae737', class: {
8017
8402
  "duet-m-0": this.margin === "none",
8018
8403
  "duet-m-s": this.margin === "small",
8019
8404
  "duet-divider": true,
@@ -8250,11 +8635,11 @@ class DuetEmptyState {
8250
8635
  * Always the last one in the class.
8251
8636
  */
8252
8637
  render() {
8253
- return (hAsync(Host, { key: '9154deb0cf2efca49cae6e96a149ff0c8dea1769' }, hAsync("div", { key: '5c9e3f44ec36f4a9bc25e580f5fab45e082e928f', class: {
8638
+ return (hAsync(Host, { key: 'de95b8dde0a1b050210be7afc24bbd534f0cfc1a' }, hAsync("div", { key: '2dde668c5bed949f10a84abb1e6108dabb5e12e8', class: {
8254
8639
  "duet-empty-state": true,
8255
8640
  "duet-theme-turva": this.theme === "turva",
8256
8641
  "duet-is-small": this.size === "small",
8257
- } }, hAsync("duet-icon", { key: 'c3cd1bffe531943ad3c64236759fd0c00557c43c', color: "currentColor", name: this.icon, size: this.size === "small" ? "large" : "x-large" }), hAsync("div", { key: 'a50207d963414844a8d58550a74d6db243a5b0b1' }, hAsync("slot", { key: '7bd93737133941aec47478f065d5503ed1d72166' })))));
8642
+ } }, hAsync("duet-icon", { key: '0341402760ee9f9417e6c4716ac79831f4b2ef48', color: "currentColor", name: this.icon, size: this.size === "small" ? "large" : "x-large" }), hAsync("div", { key: '782e28c5c025f7f3aa7839d2fae882b0f159b2e8' }, hAsync("slot", { key: 'fb7d4c425c9680cf0ea95048e16db7b566932941' })))));
8258
8643
  }
8259
8644
  get element() { return getElement(this); }
8260
8645
  static get style() { return DuetEmptyStateStyle0; }
@@ -8310,20 +8695,20 @@ class DuetFieldset {
8310
8695
  * Always the last one in the class.
8311
8696
  */
8312
8697
  render() {
8313
- return (hAsync(Host, { key: '4eb384f65662406ceb5dac5d3afa3123b53d559f', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: '1b74d77a9bee7a63d9667dcc2f7bbe1894e18857', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
8698
+ return (hAsync(Host, { key: 'ca59865ca0d6db9d10c70462818e285ec3208184', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: 'c89da8d67c7de257ae9409a4e54ee9812b4cb92b', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
8314
8699
  // NVDA and VoiceOver do not yet support aria-errormessage
8315
8700
  // once they do, we can remove errors from the aria-describedby
8316
8701
  // aria-errormessage={this.error ? this.errorId : null}
8317
8702
  class: {
8318
8703
  "duet-fieldset": true,
8319
8704
  "duet-theme-turva": this.theme === "turva",
8320
- } }, hAsync("legend", { key: 'bc8894df307f0f7895ca65a8833f00de91c6d902', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: 'd4e9c87bccf8f2848af9caacac7b04a6eeaac99f' }, this.label), this.caption && hAsync("span", { key: '0e3b310bcff0a568df84daccd3c87a2032a1951f' }, this.caption)), hAsync("div", { key: '3e4a21c9412a2aa7c8e7b3af233ff78db59de3f3', class: {
8705
+ } }, hAsync("legend", { key: '036a03b77941dff9d7efc20417d373d71cc34ba3', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: 'cd0adcfea05900fd897c22362412a95c513b49e3' }, this.label), this.caption && hAsync("span", { key: 'e10e9aab722d8171c79153380e4560f9ef3516e9' }, this.caption)), hAsync("div", { key: '065decf08a99464352cd821eb3163a0ac558f026', class: {
8321
8706
  "duet-legend-wrapper": true,
8322
8707
  "duet-legend-has-caption": !!this.caption,
8323
8708
  "duet-legend-has-tooltip": this.hasTooltip,
8324
8709
  "duet-legend-hidden": this.labelHidden,
8325
8710
  "duet-legend-compact": this.compactLabel,
8326
- } }, hAsync("div", { key: '2d56b17a53ac005d77452fa00e066dd9cd60d03c', class: "duet-fieldset-label" }, hAsync("span", { key: '1653d740645fba60cf74ab251adc37c29292e68e', "aria-hidden": "true" }, this.label), hAsync("slot", { key: '963c6394ba6b4be1a8ee6b8e89101ec96bf96fa0', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '2d7809730f5df2d775397ffaddd1c433bf920cae', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: 'd8c54c2135dfd07adf048ddc6e6408b23e263a1f', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: '4bccca3aa117b4fd2756065bbaadb3313e29976b' }), hAsync("span", { key: '4be6ce9f08b7f9264378bfa2ca59c253a84e00ed', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '9f9394081a9ce027ac98aed5af00f4f7c960cf96' }, this.error)))));
8711
+ } }, hAsync("div", { key: 'e9ac0900cc8d721eb1e4b5e1be879c82e6e7f10c', class: "duet-fieldset-label" }, hAsync("span", { key: '6c688a2ce71f8c756c42a9d4a9cf9405a1d89d12', "aria-hidden": "true" }, this.label), hAsync("slot", { key: '7607eb09fce89802192ce8bcc0b7cf0ade619077', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '31677e80e585af8afa52abbe06f932e4a997bf77', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: '46c3ed5a36d278084b31f59a6dfaa823e302dd8c', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: '3b3227842435c8e6e6a646b32add95d18a7abad1' }), hAsync("span", { key: '6b5656824bc1faabfe1519667e1e148b19703b02', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: 'f3399d78309f6caa9b62608e7e090b0684e1d012' }, this.error)))));
8327
8712
  }
8328
8713
  get element() { return getElement(this); }
8329
8714
  static get style() { return DuetFieldsetStyle0; }
@@ -8412,6 +8797,14 @@ class DuetFooter {
8412
8797
  originalEvent: ev,
8413
8798
  });
8414
8799
  };
8800
+ this.setDataAttributes = (element, item) => {
8801
+ if (!item.data) {
8802
+ return;
8803
+ }
8804
+ for (const key in item.data) {
8805
+ element.dataset[key] = item.data[key];
8806
+ }
8807
+ };
8415
8808
  this.processedMainItem = null;
8416
8809
  this.processedItems = null;
8417
8810
  this.processedMenu = null;
@@ -8459,25 +8852,25 @@ class DuetFooter {
8459
8852
  render() {
8460
8853
  const text = getLocaleString(i18n$1, this.language);
8461
8854
  const copyrightLabel = this.theme === "turva" ? text.turva : text.lahi;
8462
- return (hAsync("footer", { key: '75ce11161efe6855a6a5b9ea3ac69f765607dc76', class: {
8855
+ return (hAsync("footer", { key: '984434597100f2619e70f0fb78942e03971633ba', class: {
8463
8856
  "duet-footer": true,
8464
8857
  "duet-m-0": this.margin === "none",
8465
8858
  "duet-theme-turva": this.theme === "turva",
8466
8859
  "duet-footer-simple": this.variation === "simple",
8467
- }, "aria-label": this.accessibleLabel }, hAsync("div", { key: '23c753fba06a5ed4b0de30765fce8e919e291f05', class: "duet-footer-wrapper" }, this.variation !== "simple" && (hAsync("div", { key: 'd7e9578069a59e30d214706e33de6956ffe2cf3a', class: {
8860
+ }, "aria-label": this.accessibleLabel }, hAsync("div", { key: '54916b84623acfa5541d9c4fd744405251657f4c', class: "duet-footer-wrapper" }, this.variation !== "simple" && (hAsync("div", { key: '1750f3f4dfdc27ca09ad5aeb8109bda2bd05ec77', class: {
8468
8861
  "duet-footer-top": true,
8469
8862
  "duet-has-info": this.hasInfoSlot,
8470
- }, part: "top" }, hAsync("div", { key: '8ad9d1ea07a57748f5ebdd059988938a21267931', class: "footer-top-logo" }, hAsync("duet-logo", { key: '25ea3935ef88a5d3c1e42e9fdf64872588002a9e', href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme })), hAsync("div", { key: '2006d743a6ed3d7488253961c4340f66496823a4', class: "footer-top-right-container" }, hAsync("slot", { key: 'd327dab130eabe791f9ae1018e5c4e9561ff565b', name: "info" }), hAsync("div", { key: 'ad543c47ee44aec916299a4bd621fbdfb8b926bb', class: "footer-top-items" }, this.processedItems &&
8863
+ }, part: "top" }, hAsync("div", { key: 'bb9d1aca77e745616b992c4c298987db3c17aea7', class: "footer-top-logo" }, hAsync("duet-logo", { key: '6e7b06875f6fbe9c37ee62e55e998ed3a21a8721', href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme })), hAsync("div", { key: '21c24e081d8345e51e292e294a185ad6823e2353', class: "footer-top-right-container" }, hAsync("slot", { key: '5432347d10fd601d8d676c3228f0695370f96db6', name: "info" }), hAsync("div", { key: '27d2b49fdac1ab15bebcce259432bc8d9827a02d', class: "footer-top-items" }, this.processedItems &&
8471
8864
  this.processedItems.map((item, index) => {
8472
8865
  var _a, _b, _c, _d, _e, _f;
8473
- return (hAsync(Fragment, null, index > 0 && hAsync("duet-spacer", { size: "x-large", direction: "horizontal" }), hAsync("duet-button", { theme: this.theme, id: item.id, class: "duet-footer-link", variation: "plain", margin: "none", fixed: true, negative: true, url: item.href, external: item.external, icon: ((_a = item.href) === null || _a === void 0 ? void 0 : _a.startsWith("tel:"))
8866
+ return (hAsync(Fragment, null, index > 0 && hAsync("duet-spacer", { size: "x-large", direction: "horizontal" }), hAsync("duet-button", { ref: element => this.setDataAttributes(element, item), theme: this.theme, id: item.id, class: "duet-footer-link", variation: "plain", margin: "none", fixed: true, negative: true, url: item.href, external: item.external, icon: ((_a = item.href) === null || _a === void 0 ? void 0 : _a.startsWith("tel:"))
8474
8867
  ? "form-tel"
8475
8868
  : ((_b = item.href) === null || _b === void 0 ? void 0 : _b.startsWith("mailto:"))
8476
8869
  ? "navigation-message"
8477
8870
  : "navigation-arrow-right", "icon-right": !((_c = item.href) === null || _c === void 0 ? void 0 : _c.startsWith("tel:")) && !((_d = item.href) === null || _d === void 0 ? void 0 : _d.startsWith("mailto:")), "icon-size": ((_e = item.href) === null || _e === void 0 ? void 0 : _e.startsWith("tel:")) || ((_f = item.href) === null || _f === void 0 ? void 0 : _f.startsWith("mailto:"))
8478
8871
  ? "medium"
8479
8872
  : "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)));
8480
- }))))), hAsync("slot", { key: '290581e40b6f214b20375b6aaa687ef30d2f8277', name: "extra" }), hAsync("p", { key: '9ed4238b3f37a84cc206e43f67b0c72fea3810ab', class: "duet-footer-menu", part: "menu" }, hAsync("span", { key: '388d43bba3aef1e0a88f65a2416217c6d76a236a', class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), hAsync("span", { key: 'e7f66b6f310a9770ae74eb507f09824c8c3fff1c', class: "duet-footer-menu-links" }, this.processedMenu && (hAsync(Fragment, { key: 'f5e52871d8d27400126ee19b4720a45598d561cf' }, this.processedMenu.map(item => (hAsync("a", { href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleMenuClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label, item.external && (hAsync(Fragment, null, hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), hAsync("span", { class: "duet-footer-external" }, hAsync("duet-icon", { icon: actionNewWindowSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })))), hAsync("span", { class: "duet-footer-divider", role: "presentation", "aria-hidden": "true" }, "/")))))))), hAsync("p", { key: 'f8bd86bfb9707786b07f5e49ac957a0c0f3c0380', class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
8873
+ }))))), hAsync("slot", { key: '2d0660ceb4c7f5696d1dddd46506d84ea879ed19', name: "extra" }), hAsync("p", { key: '0c6ad47b06a8db2a3668bcb26a48d8f5e5c0e460', class: "duet-footer-menu", part: "menu" }, hAsync("span", { key: 'e2540585ee767f554113a6f8d796b9ebdeed13ba', class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), hAsync("span", { key: '8fb63fa6bf02d4876aa2d8a555768a53bf168762', class: "duet-footer-menu-links" }, this.processedMenu && (hAsync(Fragment, { key: '8a21168dfc250e46ca4e16cd302108ca43b51dc2' }, this.processedMenu.map(item => (hAsync("a", { ref: element => this.setDataAttributes(element, item), href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleMenuClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label, item.external && (hAsync(Fragment, null, hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), hAsync("span", { class: "duet-footer-external" }, hAsync("duet-icon", { icon: actionNewWindowSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })))), hAsync("span", { class: "duet-footer-divider", role: "presentation", "aria-hidden": "true" }, "/")))))))), hAsync("p", { key: 'b0a1683053d60ace83a92a07b2800649d4b976f5', class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
8481
8874
  }
8482
8875
  get element() { return getElement(this); }
8483
8876
  static get watchers() { return {
@@ -8681,9 +9074,34 @@ class DuetGrid {
8681
9074
  * Always the last one in the class.
8682
9075
  */
8683
9076
  render() {
8684
- {
8685
- return;
8686
- }
9077
+ return (hAsync(Host, { key: 'fd65566d78340fbb5446524cb7c18694f40f219e', class: {
9078
+ "duet-grid": true,
9079
+ "duet-no-stacking": !this.responsive,
9080
+ "duet-grid-align-top": this.alignment === "top", // flex-start
9081
+ "duet-grid-align-bottom": this.alignment === "bottom" || this.alignment === "form_distribute", // flex-end
9082
+ "duet-grid-align-center": this.alignment === "center", // center
9083
+ "duet-grid-align-stretch": this.alignment === "stretch", // stretch
9084
+ "duet-grid-align-baseline": this.alignment === "baseline", // baseline
9085
+ "duet-grid-distribution-left": this.distribution === "left", // flex-start
9086
+ "duet-grid-distribution-right": this.distribution === "right", // flex-end
9087
+ "duet-grid-distribution-center": this.distribution === "center", // center
9088
+ "duet-grid-distribution-between": this.distribution === "space-between", // space-between
9089
+ "duet-grid-distribution-around": this.distribution === "space-around", // space-around
9090
+ "duet-grid-distribution-evenly": this.distribution === "space-evenly", // space-evenly
9091
+ "duet-grid-mobile-left": this.mobile === "left",
9092
+ "duet-grid-mobile-center": this.mobile === "center",
9093
+ "duet-grid-mobile-right": this.mobile === "right",
9094
+ "duet-grid-direction-horizontal": this.direction === "horizontal",
9095
+ "duet-grid-direction-vertical": this.direction === "vertical",
9096
+ "duet-grid-breakpoint-x-small": this.breakpoint === "x-small",
9097
+ "duet-grid-breakpoint-small": this.breakpoint === "small",
9098
+ "duet-grid-breakpoint-medium": this.breakpoint === "medium",
9099
+ "duet-grid-breakpoint-large": this.breakpoint === "large",
9100
+ "duet-grid-breakpoint-x-large": this.breakpoint === "x-large",
9101
+ "duet-grid-row-reverse": this.rowReverse,
9102
+ [`duet-grid-variation-${this.gridTemplate ? "grid" : "flex"}`]: true,
9103
+ [`duet-grid-template-${this.gridTemplate}`]: true,
9104
+ } }, hAsync("slot", { key: 'acc5ce23bb2454400755b6dac1f31db22d00877b' })));
8687
9105
  }
8688
9106
  get element() { return getElement(this); }
8689
9107
  static get watchers() { return {
@@ -8739,9 +9157,24 @@ class DuetGridItem {
8739
9157
  * Always the last one in the class.
8740
9158
  */
8741
9159
  render() {
8742
- {
8743
- return;
8744
- }
9160
+ return (hAsync(Host, { key: '89acf29883fafc4e79dcb26e288ae0b7540c43a1', style: {
9161
+ "min-width": this.minWidth,
9162
+ "max-width": this.maxWidth,
9163
+ }, class: {
9164
+ "duet-m-0": this.margin === "none",
9165
+ "duet-theme-turva": this.theme === "turva",
9166
+ "duet-grid-item": true,
9167
+ "duet-grid-item-fill": this.fill,
9168
+ "duet-grid-item-responsive": this.responsive,
9169
+ "duet-grid-item-row-reverse": this.rowReverse,
9170
+ "duet-grid-direction-horizontal": this.direction === "horizontal",
9171
+ "duet-grid-direction-vertical": this.direction === "vertical",
9172
+ "duet-grid-item-br-x-small": this.breakpoint === "x-small",
9173
+ "duet-grid-item-br-small": this.breakpoint === "small",
9174
+ "duet-grid-item-br-medium": this.breakpoint === "medium",
9175
+ "duet-grid-item-br-large": this.breakpoint === "large",
9176
+ "duet-grid-item-br-x-large": this.breakpoint === "x-large",
9177
+ } }, hAsync("slot", { key: '44bf045264a1cfe27bd16f2eab6881a2eb7850b6' })));
8745
9178
  }
8746
9179
  static get style() { return DuetGridItemStyle0; }
8747
9180
  static get cmpMeta() { return {
@@ -9605,7 +10038,7 @@ class DuetHeading {
9605
10038
  render() {
9606
10039
  const TagName = sanitizeString$1(this.level);
9607
10040
  const color = getColorByName(this.color);
9608
- return (hAsync(TagName, { key: '54ef8666a3921667c4943b6572f9c063279efb2a', class: {
10041
+ return (hAsync(TagName, { key: 'f606e3e4de6cf69ec6743328d4e9e8bbce5fe66b', class: {
9609
10042
  "duet-heading": true,
9610
10043
  "duet-heading-border": this.border !== false,
9611
10044
  "duet-heading-border-solid": this.border === "solid",
@@ -9616,7 +10049,7 @@ class DuetHeading {
9616
10049
  [this.visualLevel ? this.visualLevel : this.level]: true,
9617
10050
  "duet-theme-turva": this.theme === "turva",
9618
10051
  "fixed-size": this.fixedSize,
9619
- }, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '8b663ccf47b427cbc32c82db7d82577e27a6c3f4' })));
10052
+ }, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '57fe6321051376c1b8dd03ceb22130a79d916745' })));
9620
10053
  }
9621
10054
  get element() { return getElement(this); }
9622
10055
  static get style() { return DuetHeadingStyle0; }
@@ -9796,7 +10229,7 @@ class DuetHero {
9796
10229
  outlineColor = "color-primary-turva";
9797
10230
  }
9798
10231
  }
9799
- return (hAsync("div", { key: '34b0fa7657a0cefe2530145ba9994b3730fc1ba3', role: "region", class: {
10232
+ return (hAsync("div", { key: '0c4038b005e7b453195addcd524b72d6ba2b3f86', role: "region", class: {
9800
10233
  "duet-hero": true,
9801
10234
  "duet-theme-turva": this.theme === "turva",
9802
10235
  "duet-has-category-icon": !!this.categoryIcon,
@@ -9814,17 +10247,17 @@ class DuetHero {
9814
10247
  "duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
9815
10248
  "duet-hero-left-align": this.leftAlign && !campaignOrSection,
9816
10249
  "duet-hero-narrow": this.layout === "narrow",
9817
- }, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: 'c437da23377411306d72658c060484616044b985', class: "background-area" }, hAsync("div", { key: '9d1120b2e967da1b48547f390bb26b9e490a4c54', class: "background-container" }, hAsync("div", { key: 'f22b317a346432a6fe82290cb87cd94a40faeb53', class: "background" }, hAsync("img", { key: '6b1160054265f4f81b55b2c4de0f1b41daf84f0f', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), hAsync("div", { key: '9e07390956ddb4121d9d7a14e61479910bb1fe24', class: "brand-shape" })))), this.variation === "product" && this.image && (hAsync("div", { key: '5e9cc93331c61c35889273c717939d45e12358df', class: { "background-area": true, [this.layout]: true } }, hAsync("div", { key: 'aa1c53e1d9671d3b3ed27bbfce89fc1b9a56c444', class: { "background-container": true, [this.layout]: true } }, hAsync("div", { key: '64a3c03241425c93b2b59a1cf7464885ed660547', class: { background: true, [this.layout]: true } }, hAsync("div", { key: 'bb9c70d6aeeef4675a976aa834e65e2ff67bad6c', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && hAsync("div", { key: 'c7aa8d0057cd29e91fa03131ef8adf0983911033', class: { "brand-shape": true, [this.layout]: true } }), hAsync("div", { key: 'b15b68de245df65d285c17e5a6404db37d39a123', class: { "brand-shaped-image": true, [this.layout]: true } }, hAsync("div", { key: 'f5ae87dc0273c14281d6fa52fb7f1723011b77f9', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, hAsync("div", { key: 'b95b9d9a52e6b37e06c121e979437280bb8690ac', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (hAsync("div", { key: 'e6b5f02129d8d12f23eaf3060002c386e9fc2abb', class: { "brand-shaped-icon": true, [this.layout]: true } }, hAsync("duet-icon", { key: '913cc8bac1e976031f8d83d9403a0bb278484385', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (hAsync("div", { key: 'b9bcd7c9b5d47bea82677384dca48e87fc5ae66a', class: "background-area" }, hAsync("div", { key: '003f7ecfe974206b97fc34f9d9e56b7ebab72481', class: "background" }, hAsync("div", { key: '6df5dd4117ff337a2cd521da9413e0f786f6c5bc', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '1e883db2fbda4a817a2317a8eb7219e8efcdbd78', class: "brand-shape" }), hAsync("div", { key: '9b66049c88f38bbbeac1437d00a76b15c744f2a9', class: "brand-shaped-image" }, hAsync("div", { key: '95487680d6c06b661a1e35e5981b03ee1d1363da', class: "brand-shaped-image-wrapper" }, hAsync("div", { key: 'ffb4648a4b9a61e872a3d9a56f9ea0ffa6f88679', class: "brand-shaped-image-bg", style: styles })))))), hAsync("div", { key: '23efe67a7de1b268da1ee8eb8f734831f39716aa', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (hAsync("div", { key: 'ef3a088c5dfcbb3d4b55394ca9e48a249b253dfd', class: "duet-hero-image-mask" }, hAsync("div", { key: '2cf63fc6a5817eb94189b58ec8c4eae9e9438954', class: "duet-hero-image-wrapper" }, hAsync("div", { key: '1b313a33272a5cffacd37c6941fe7dd3d9610adf', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
9818
- this.processedBack && (hAsync("div", { key: 'ebbf76facf59c1b0f41baef5c55f915317c95dd1', class: "duet-hero-back" }, hAsync("duet-button", { key: '67ae43c074ee12903469ed5a5d17fbab0a4b9771', style: buttonStyles, variation: "plain", icon: "action-arrow-left-small", theme: this.theme, iconSize: "small", color: buttonColor, padding: "none", margin: "none", fixed: true, url: this.processedBack.href, identifier: this.processedBack.id, onClick: event => this.handleClick(event, {
10250
+ }, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '2cb744f9d21aae8900369096bffd08e271402053', class: "background-area" }, hAsync("div", { key: '9a6c181bff667af0cc99f16896ff702761736e68', class: "background-container" }, hAsync("div", { key: '9d96ddb71b6ff095622a709796aca2c64b30deb2', class: "background" }, hAsync("img", { key: '5c7b3ac41baf0186fc4f63bd9970bf16c2dc74dc', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), hAsync("div", { key: 'eb4469222c17d13a1fa751cb60da7292dcdf5749', class: "brand-shape" })))), this.variation === "product" && this.image && (hAsync("div", { key: '80278ce211fb2d3085d68ab1cb531d8ea7a01466', class: { "background-area": true, [this.layout]: true } }, hAsync("div", { key: '73d1a5d1e768ae43b2c118c0b8b18e6855a116ab', class: { "background-container": true, [this.layout]: true } }, hAsync("div", { key: 'e65bbd5ad6ee10717273740a1cf5f4f9e55bb069', class: { background: true, [this.layout]: true } }, hAsync("div", { key: '006f31a8ec8a628d32a7a910cfffe9058a314a54', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && hAsync("div", { key: '655eb93298ed822cec744262497129f5470fdc52', class: { "brand-shape": true, [this.layout]: true } }), hAsync("div", { key: 'fe646994943778c82b885c51ef0486aac015a99a', class: { "brand-shaped-image": true, [this.layout]: true } }, hAsync("div", { key: '685632469ce5465d35954d83b52463421bdfbf20', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, hAsync("div", { key: '377041432c9d2ed89fb8d76f9930a5d754464869', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (hAsync("div", { key: 'c2adf4a16bdc21724bbdbb99353fbb494632ea08', class: { "brand-shaped-icon": true, [this.layout]: true } }, hAsync("duet-icon", { key: 'fa66a3685808028cb23b95c6f509995469cbef1c', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (hAsync("div", { key: '47590fda0e8e1d0342bdaa3f879e71b6d86c3873', class: "background-area" }, hAsync("div", { key: '3a18024fff5df5404b8e8f4406dcbdbfcfc5017c', class: "background" }, hAsync("div", { key: '159c2abcc696ca752a3d7657bd0714377dad40fa', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '3a56d7ab5ed83ec71182d607a79d4566953d8627', class: "brand-shape" }), hAsync("div", { key: '4d0ee4bc1e28d66da1bcf2b0cb5cd47dcf1ae8b3', class: "brand-shaped-image" }, hAsync("div", { key: '6e1345fbc0cf5e553df210e81c39de26e11c5714', class: "brand-shaped-image-wrapper" }, hAsync("div", { key: '7ea88df1647ed0473e3c92b547118cd27c13e51e', class: "brand-shaped-image-bg", style: styles })))))), hAsync("div", { key: '7f01db8e264b2e73a20426055b5a270281def01a', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (hAsync("div", { key: 'cd6ee31a587dc5728f1086208e34609c4cb41576', class: "duet-hero-image-mask" }, hAsync("div", { key: '240753cdf68d85b41903e1d6134e83627c36ea20', class: "duet-hero-image-wrapper" }, hAsync("div", { key: '6cafe1f5e91d8ec09c6deac64d10a2e18dc7dfa0', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
10251
+ this.processedBack && (hAsync("div", { key: '42d227de39c2c3c2f363d6254ad0443447f14b5a', class: "duet-hero-back" }, hAsync("duet-button", { key: '417c38fa04a95e3fa3c050d338cab9715949ee26', style: buttonStyles, variation: "plain", icon: "action-arrow-left-small", theme: this.theme, iconSize: "small", color: buttonColor, padding: "none", margin: "none", fixed: true, url: this.processedBack.href, identifier: this.processedBack.id, onClick: event => this.handleClick(event, {
9819
10252
  label: this.processedBack.label,
9820
10253
  href: this.processedBack.href,
9821
10254
  id: this.processedBack.id,
9822
10255
  analyticsId: this.processedBack.analyticsId,
9823
- }) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: 'ee4e5b8dacc17aebca5413756a50441ddcc390b6', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), hAsync("div", { key: '3b01acea1f50b9922f5aa6d71e774f4d7850b496', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (hAsync("duet-paragraph", { key: 'e79f23f635ad96606f5e19bded50a09944128711', margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium" }, this.preHeading ? (this.preHeading) : (hAsync("span", null, hAsync("slot", { name: "pre-heading" }))))), hAsync("slot", { key: 'c3f996d48967b90a96f57ce3bce1b67c872e4a4c', name: "badge" }), (this.heading || this.hasHeadingSlot) && (hAsync("duet-heading", { key: 'ea954ebf0bb7ca592dcdb8bcf94bdf605483750d', theme: this.theme, level: this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto" }, this.heading ? (this.heading) : (hAsync("span", null, hAsync("slot", { name: "heading" }))))), campaignOrSection && this.hasSubHeadingSlot && (hAsync("duet-heading", { key: 'd004f6ef3e466ad2a15fd0675795c59abe78c2d7', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, hAsync("span", { key: 'ba3e4f7b6c59f0afac59aab3519e743f16b06922' }, hAsync("slot", { key: '3116a6ddc51566c87041fbf105fb85153847352d', name: "subheading" })))), this.description && (hAsync("duet-paragraph", { key: 'df3a0f01f00bb5ecc5af0db0949f1f3374c3fefe', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (hAsync("duet-list", { key: '38f3c9a55245f6feec7a522e4dcdbc1b4db6275b', theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (hAsync("duet-list-item", null, hAsync("span", { slot: "label" }, item.label), hAsync("span", { slot: "value" }, item.value)))))), this.buttonLabel && (hAsync("duet-button", { key: '68e6d833454a48dec21a06682eacd2fe2dca89cd', url: this.buttonUrl, icon: this.icon, iconRight: this.iconRight, iconSize: this.iconSize, variation: buttonVariation, theme: this.theme, identifier: this.buttonId, onClick: event => this.handleClick(event, this.buttonData), fixed: true }, this.buttonLabel)), hAsync("slot", { key: '2a756b3cb5209942776cf8ac0596ef9a75bbae01' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (hAsync("div", { key: '67f20d365318b327a2ccc0f16aec91d0d24075ee', class: "duet-hero-links" }, this.processedActions.map(item => (hAsync("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, hAsync("div", { class: "duet-hero-action-icon" }, hAsync("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), hAsync("span", null, item.label), item.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (hAsync("div", { class: "duet-hero-action-arrow" }, hAsync("duet-icon", { icon: actionNewWindowSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
10256
+ }) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '66063cd0b99415c605abe15352a9b71168037059', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), hAsync("div", { key: '4a3fcc41f5daaf4d700068aa75197cd68a46bc11', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (hAsync("duet-paragraph", { key: '62051b4ac62ec3a47501537478ee19e709d10166', margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium" }, this.preHeading ? (this.preHeading) : (hAsync("span", null, hAsync("slot", { name: "pre-heading" }))))), hAsync("slot", { key: 'ea902d83a964060c8597405b0b24e1679af35e98', name: "badge" }), (this.heading || this.hasHeadingSlot) && (hAsync("duet-heading", { key: 'd77ac46a19fa244d4dcb33a68b44a3ff7cba8e4f', theme: this.theme, level: this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto" }, this.heading ? (this.heading) : (hAsync("span", null, hAsync("slot", { name: "heading" }))))), campaignOrSection && this.hasSubHeadingSlot && (hAsync("duet-heading", { key: 'c21c9d1e62d0eec3999fe1feaff0cec00179f5cc', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, hAsync("span", { key: '9199c48d4fc9f198b7d8b9dee733b2f11eed776b' }, hAsync("slot", { key: 'c42f417640ac4c491cfdc8365fa3e6b42e736777', name: "subheading" })))), this.description && (hAsync("duet-paragraph", { key: '30dda4b5e866efe5078f4fe416b1e869cdd41d96', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (hAsync("duet-list", { key: 'ed22cd538744a99e79f4f4114da63273bc87cd8f', theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (hAsync("duet-list-item", null, hAsync("span", { slot: "label" }, item.label), hAsync("span", { slot: "value" }, item.value)))))), this.buttonLabel && (hAsync("duet-button", { key: '3bc7ef7148147a5d45bd58da145ad45a1bc446d7', url: this.buttonUrl, icon: this.icon, iconRight: this.iconRight, iconSize: this.iconSize, variation: buttonVariation, theme: this.theme, identifier: this.buttonId, onClick: event => this.handleClick(event, this.buttonData), fixed: true }, this.buttonLabel)), hAsync("slot", { key: 'decca9d5a65846b314106812964952a4a31dd749' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (hAsync("div", { key: '241e28061c2c805cb601a4f76298856359bfec12', class: "duet-hero-links" }, this.processedActions.map(item => (hAsync("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, hAsync("div", { class: "duet-hero-action-icon" }, hAsync("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), hAsync("span", null, item.label), item.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (hAsync("div", { class: "duet-hero-action-arrow" }, hAsync("duet-icon", { icon: actionNewWindowSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
9824
10257
  this.variation !== "image" &&
9825
10258
  !campaignOrSection &&
9826
10259
  this.variation !== "product" &&
9827
- this.variation !== "content" && hAsync("div", { key: '83ac2407634045ce753debb18a3fe5e5c91ef065', class: "duet-hero-image", style: styles }), hAsync("slot", { key: '241f94b8d985ce1a87f77d497beace9d29a80622', name: "bottom" }))));
10260
+ this.variation !== "content" && hAsync("div", { key: '004ab35e7ed914486fbcd85ec53efe7bdc2b98ce', class: "duet-hero-image", style: styles }), hAsync("slot", { key: '63d9b82445adb55bb89618092ed1e4178d6b8755', name: "bottom" }))));
9828
10261
  }
9829
10262
  get element() { return getElement(this); }
9830
10263
  static get watchers() { return {
@@ -9950,11 +10383,11 @@ class DuetIcon {
9950
10383
  : {};
9951
10384
  const iconStyles = Object.assign({}, iconRotationStyles);
9952
10385
  const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
9953
- return (hAsync(Host, { key: '395c9d34b58629802851652543d0351555440771', class: {
10386
+ return (hAsync(Host, { key: 'bcc69839a12f0f324283e2ac3fcdcc0bf9f62f97', class: {
9954
10387
  "duet-m-0": this.margin === "none",
9955
10388
  "duet-icon-has-outline": !!this.outline,
9956
10389
  "duet-icon-has-background": !!this.background,
9957
- } }, hAsync("span", { key: '98e755e1955298019ae340e039416ca5ed04fa6c', "aria-hidden": "true", style: styles, class: {
10390
+ } }, hAsync("span", { key: '7b11a7a766f0b472bea854c1f39971d73a499b9b', "aria-hidden": "true", style: styles, class: {
9958
10391
  "duet-icon": true,
9959
10392
  "duet-theme-turva": this.theme === "turva",
9960
10393
  "duet-theme-default": this.theme === "default",
@@ -9963,7 +10396,7 @@ class DuetIcon {
9963
10396
  [shapeStyle]: true,
9964
10397
  rotated: this.shape === "brand-rotated" && this.theme !== "turva",
9965
10398
  "duet-icon-not-responsive": !this.responsive,
9966
- } }, hAsync("span", { key: '1a5f2ff89504ee78d476800edc4cb9aeeb6927ae', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
10399
+ } }, hAsync("span", { key: 'e84a88efa8d6d8f3b04c288939d3a36b80095878', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
9967
10400
  }
9968
10401
  get element() { return getElement(this); }
9969
10402
  static get watchers() { return {
@@ -9997,6 +10430,8 @@ class DuetIcon {
9997
10430
  }; }
9998
10431
  }
9999
10432
 
10433
+ var formEmail={"title":"form-email","tags":"form email","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M12 23.999c-3.205 0-6.218-1.248-8.484-3.514S.001 15.206.001 12.001s1.248-6.218 3.514-8.485C5.782 1.25 8.795.001 12 .001s6.218 1.248 8.485 3.514A11.92 11.92 0 0 1 24 12v2.25A3.754 3.754 0 0 1 20.25 18a3.77 3.77 0 0 1-3.48-2.365A6.009 6.009 0 0 1 12 18c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6v2.25c0 1.241 1.009 2.25 2.25 2.25s2.25-1.009 2.25-2.25V12c0-2.804-1.092-5.441-3.075-7.424A10.433 10.433 0 0 0 12 1.501c-2.804 0-5.441 1.092-7.424 3.075S1.501 9.196 1.501 12c0 2.805 1.092 5.441 3.075 7.424s4.619 3.074 7.423 3.074c2.257 0 4.494-.746 6.299-2.1a.749.749 0 1 1 .9 1.199A12.049 12.049 0 0 1 12 23.999zM12 7.5c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5 4.5-2.019 4.5-4.5-2.019-4.5-4.5-4.5z\"/></svg>"};
10434
+
10000
10435
  /**
10001
10436
  * This function restores cursor position after changing input
10002
10437
  *
@@ -10046,9 +10481,13 @@ function cleanValue(input, regex) {
10046
10481
  return newValue;
10047
10482
  }
10048
10483
 
10049
- const duetInputCss = "*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus,.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:rgb(8, 42, 77)}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-input-label-container.sc-duet-input{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container.sc-duet-input{justify-content:flex-start}}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small.sc-duet-input{padding:8px 10px !important}.duet-input.input-padding-x-small.sc-duet-input{padding:4px 6px !important}.duet-input.input-padding-xx-small.sc-duet-input{padding:0px 2px !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.duet-input.after-chip.sc-duet-input{padding-left:8px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important;border-color:rgb(143, 147, 158) !important}.duet-input.align-right.sc-duet-input{text-align:right}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled].sc-duet-input{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(0, 119, 179)}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help.sc-duet-input{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}";
10484
+ const duetInputCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip,::slotted(duet-tooltip){position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){right:auto}}duet-caption:not(:last-of-type){margin-bottom:0}.duet-input-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva .duet-input-icon{color:rgb(23, 28, 58)}.duet-input-container{position:relative;width:100%;height:100%}.duet-input-container.has-clear .duet-input-clear-icon{position:relative;z-index:250}.duet-input-container.has-clear .duet-input-clear-icon button{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear .duet-input-clear-icon button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-input-container.has-clear .duet-input-clear-icon button:focus,.duet-input-container.has-clear .duet-input-clear-icon button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear .duet-input-clear-icon button:active{opacity:0.75;transition:none}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single button{top:-48px;right:0}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double button{top:-24px;right:12px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-button button{top:-24px;right:0}.duet-input-container.has-clear.has-icon .duet-input-clear-icon{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button{color:rgb(8, 42, 77)}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-input-label-container{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container{justify-content:flex-start}}.duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small{padding:8px 10px !important}.duet-input.input-padding-x-small{padding:4px 6px !important}.duet-input.input-padding-xx-small{padding:0px 2px !important}.duet-input.is-number{padding-right:112px !important}.duet-input.is-date{padding-right:64px !important}.duet-input.after-chip{padding-left:8px !important}.has-error .duet-input{border-color:rgb(214, 28, 82) !important}.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.has-icon .duet-input{padding-right:48px !important}.duet-theme-turva .duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important;border-color:rgb(143, 147, 158) !important}.duet-input.align-right{text-align:right}.duet-input::-ms-clear{display:none}.duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva .duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva .duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled]{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva .duet-input[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva .duet-input:focus+.duet-input-icon{color:rgb(23, 28, 58)}.has-error .duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input:focus+.duet-input-icon{color:rgb(0, 119, 179)}.duet-input[type=search]:not(:placeholder-shown):focus+.duet-input-icon{display:none}.duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number]::-webkit-inner-spin-button,.duet-input[type=number]::-webkit-outer-spin-button,.duet-input[type=time]::-webkit-inner-spin-button,.duet-input[type=time]::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help span{display:block;margin-top:8px}.duet-theme-turva .duet-input-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative{position:relative;width:100%}.duet-input-variation-button{position:relative;width:100%}.duet-input-variation-button .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-button .duet-input-relative .duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable{position:relative;width:100%}.duet-input-variation-revealable ::-ms-reveal{display:none}.duet-input-variation-revealable .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-variation-revealable .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-revealable .duet-input-relative .duet-input{border-width:0 !important}.duet-input-variation-revealable .duet-input-relative .duet-input:focus,.duet-input-variation-revealable .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled .duet-input-relative{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus .duet-input-relative{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus .duet-input-relative{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips .duet-input-relative{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-container.has-chips .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips .duet-input-relative .duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips .duet-input-relative .duet-input:focus,.duet-input-container.has-chips .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}";
10050
10485
  var DuetInputStyle0 = duetInputCss;
10051
10486
 
10487
+ const icons = {
10488
+ search: formSearch,
10489
+ email: formEmail,
10490
+ };
10052
10491
  /**
10053
10492
  * @slot tooltip - Use to place a tooltip alongside the label.
10054
10493
  */
@@ -10064,6 +10503,7 @@ class DuetInput {
10064
10503
  * Own Properties
10065
10504
  */
10066
10505
  this.inputId = createID("DuetInput");
10506
+ this.proxyId = createID("DuetInput");
10067
10507
  this.clearId = createID("DuetInputClear");
10068
10508
  this.labelId = createID("DuetLabel");
10069
10509
  this.topCaptionId = createID("DuetCaptionTop");
@@ -10315,6 +10755,9 @@ class DuetInput {
10315
10755
  disconnectedCallback() {
10316
10756
  disconnectLanguageChangeObserver(this);
10317
10757
  }
10758
+ componentDidRender() {
10759
+ proxyInputToSlot(this.element, this.proxyId, this.name, this.value, this.required);
10760
+ }
10318
10761
  /**
10319
10762
  * Sets focus on the specified `duet-input`. Use this method instead of the global
10320
10763
  * `input.focus()`.
@@ -10347,7 +10790,7 @@ class DuetInput {
10347
10790
  }
10348
10791
  }
10349
10792
  getAllChips() {
10350
- return Array.from(this.element.querySelectorAll(".duet-input-relative duet-chip"));
10793
+ return Array.from(this.element.shadowRoot.querySelectorAll(".duet-input-relative duet-chip"));
10351
10794
  }
10352
10795
  isChipSelected() {
10353
10796
  return this.getAllChips().some(chip => chip.selected);
@@ -10410,7 +10853,7 @@ class DuetInput {
10410
10853
  * Add a chip to the input
10411
10854
  */
10412
10855
  async addChip(chip) {
10413
- const container = this.element.querySelector(".duet-input-relative");
10856
+ const container = this.element.shadowRoot.querySelector(".duet-input-relative");
10414
10857
  const input = container.querySelector("input:not(duet-chip input)");
10415
10858
  chip.id = createID("DuetInputChip");
10416
10859
  container.insertBefore(chip, input);
@@ -10441,9 +10884,66 @@ class DuetInput {
10441
10884
  * Always the last one in the class.
10442
10885
  */
10443
10886
  render() {
10444
- {
10445
- return;
10887
+ const identifier = this.identifier || this.inputId;
10888
+ const inputProps = {};
10889
+ if (this.numericKeyboard) {
10890
+ inputProps.inputmode = "numeric";
10891
+ }
10892
+ // Set validation regexes
10893
+ if (this.pattern && this.type !== "tel") {
10894
+ inputProps.pattern = this.pattern;
10446
10895
  }
10896
+ else if (!this.pattern && this.type === "tel") {
10897
+ inputProps.pattern = "[0-9+ ]+";
10898
+ }
10899
+ let selectedTime;
10900
+ if (this.value) {
10901
+ selectedTime = new Date();
10902
+ try {
10903
+ selectedTime.setHours(Number(this.value.slice(0, 2)), Number(this.value.slice(3, 5)), 0, 0);
10904
+ }
10905
+ catch (e) {
10906
+ selectedTime = undefined;
10907
+ }
10908
+ }
10909
+ const hasInputIcon = !this.icon &&
10910
+ this.type !== "text" &&
10911
+ this.type !== "tel" &&
10912
+ this.type !== "password" &&
10913
+ this.type !== "time" &&
10914
+ this.variation !== "button";
10915
+ return (hAsync(Host, { key: 'e4e873f95bf94f97147a15b2587cce826ffe328d', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (hAsync("duet-visually-hidden", { key: '6c116b58cda98a99d0561e57f42478e6f95fe85b', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), hAsync("div", { key: 'dc417736dc38bf828bb78b5ef7c18b4fd0f55660', class: {
10916
+ "duet-input-container": true,
10917
+ "duet-theme-turva": this.theme === "turva",
10918
+ [`duet-input-variation-${this.variation}`]: true,
10919
+ "duet-label-hidden": this.labelHidden,
10920
+ "duet-input-top-caption-shown": this.isCaptionVisible,
10921
+ "has-icon": this.variation !== "button" &&
10922
+ (!!this.icon ||
10923
+ (this.type !== "text" && this.type !== "tel" && this.type !== "password" && this.type !== "time")),
10924
+ "has-error": !!this.error,
10925
+ "has-chips": this.chips,
10926
+ "has-clear": this.clear,
10927
+ "has-focus": this.isFocused,
10928
+ disabled: this.disabled,
10929
+ } }, hAsync("div", { key: '3120dd57e859e1f11c7f871046ff93ca379f7d33', class: "duet-input-label-container" }, hAsync("duet-label", { key: '1625fdf912a8f117979ac70414b749e5920d6697', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '3e8fb18bae9803bd617d98fc326ff4879113505b', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: 'f9e4dca121a806252b7d523be78ae0db191ab05a', name: "tooltip" })), this.caption && (hAsync("duet-caption", { key: 'c3a0f5039b0a6a78600b26003cf742b6c100b715', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: '6df3e2e0abb79ce6bf5347c6e52e03be6ac374e1', class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (hAsync("duet-caption", { key: '3f6dec06ad90dba4cb28b08ed008252423f6db74', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (hAsync("duet-visually-hidden", { key: 'a53cd8aa2761ac6ebd7b5d6ee329573595c9aacf', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), hAsync("input", Object.assign({ key: '37decf03a973f6fa26a76961afc0598ab976b1e7', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
10930
+ "duet-input": true,
10931
+ disabled: this.disabled,
10932
+ "is-number": this.component === "number",
10933
+ "is-date": this.component === "date",
10934
+ "after-chip": this.getAllChips().length > 0,
10935
+ "align-right": this.inputAlign === "right",
10936
+ [`input-padding-${this.inputPadding}`]: true,
10937
+ }, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (hAsync("div", { key: '2b06ed113322c4e03fdcb04bf528cc9425307013', class: "duet-input-icon" }, hAsync("duet-icon", { key: 'b5d41a945b099d2c5ade8c121738a9d387599c80', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (hAsync("div", { key: 'f89624f414e9005f484f4d31b90edcf6ea81ca44', class: {
10938
+ "duet-input-clear-icon": true,
10939
+ "duet-input-clear-icon-single": !hasInputIcon,
10940
+ "duet-input-clear-icon-double": !!this.icon,
10941
+ "duet-input-clear-icon-button": this.variation === "button",
10942
+ } }, hAsync("button", { key: 'aeedec82776de92e930bef230fdaed43552002a6', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, hAsync("duet-icon", { key: '92d15bab69bbfc0ea9b635c94b0edc5e5ddf4f3f', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (hAsync("div", { key: 'e16da8f6c4c252309cd6cf2fd9ad1d3f5ccdb547', class: "duet-input-icon" }, hAsync("duet-icon", { key: 'ee55dc419577e1bd21eca218717c1ec7a64f38c2', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && hAsync("slot", { key: '104d0b90682cd0508d684bebc22b9d4893d7181e', name: "button" }), this.variation === "revealable" && (hAsync("duet-button", { key: '838c0aef8ef924af565ad34a0004f4d5f187418f', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
10943
+ ? this.hidePasswordLabel[this.language]
10944
+ : this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (hAsync("duet-visually-hidden", { key: '902ec5a2c111186ed9cda34dcd1ad0d6666b74c7' }, hAsync("span", { key: '1c94535e903e542ff97a52cb871e91d4ab244646', "aria-live": "polite" }, this.isPasswordRevealed
10945
+ ? this.passwordShownAriaAnnouncement[this.language]
10946
+ : this.passwordHiddenAriaAnnouncement[this.language]))), hAsync("slot", { key: '9e346bbb5e1d4a0e78fe8ff3b79401c7988a4e91' })), hAsync("span", { key: '661e5d3ae11da4b71c4b024b6835b230008ddf42', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '66b313ab9b88db56592c542e1294012f6fbf3c10', class: "duet-input-error" }, this.error)))));
10447
10947
  }
10448
10948
  get element() { return getElement(this); }
10449
10949
  static get watchers() { return {
@@ -10452,7 +10952,7 @@ class DuetInput {
10452
10952
  }; }
10453
10953
  static get style() { return DuetInputStyle0; }
10454
10954
  static get cmpMeta() { return {
10455
- "$flags$": 6,
10955
+ "$flags$": 9,
10456
10956
  "$tagName$": "duet-input",
10457
10957
  "$members$": {
10458
10958
  "accessibleActiveDescendant": [1, "accessible-active-descendant"],
@@ -10612,24 +11112,24 @@ class DuetLayout {
10612
11112
  * Always the last one in the class.
10613
11113
  */
10614
11114
  render() {
10615
- return (hAsync(Host, { key: '815cf46b505a58a4f1db64f0737eb2461fffe1b4', class: {
11115
+ return (hAsync(Host, { key: '90f647eba78b36ab1d85e0a560b038ffc21303a2', class: {
10616
11116
  center: this.center,
10617
11117
  "duet-middle": this.middle,
10618
11118
  "duet-ie": isInternetExplorer(),
10619
- } }, hAsync("div", { key: '0db8d45f16f7bec516c0b831393cb05f962bfdb8', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (hAsync("div", { key: 'b65a92ce153b41318cb757b3457dfc470c11c4c6', class: {
11119
+ } }, hAsync("div", { key: '1431a32d05c84c241a2d8c7159e612e609e2824c', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (hAsync("div", { key: '60671d632fc27c596bdfcc7d615a48dc21f8b9a8', class: {
10620
11120
  "duet-layout-top": true,
10621
11121
  "duet-center": this.center,
10622
- } }, hAsync("div", { key: '777fc5b75ff85428b7234d94739f7471f5dc8011', class: "duet-layout-top-wrapper" }, hAsync("slot", { key: '513fa6d80b00980efc02c454889726f24b3af6a9', name: "top" })))), hAsync("div", { key: '8d24cdd9f0a38cadf71cf74df0f44c547a9fb4f3', class: {
11122
+ } }, hAsync("div", { key: '5550861a3548f488f5626097295495e42f1da21b', class: "duet-layout-top-wrapper" }, hAsync("slot", { key: '50d4f55c8a796813d02274f30346110262213a88', name: "top" })))), hAsync("div", { key: '1225a8d5b7023bc36962ce3ac6def89d972435d1', class: {
10623
11123
  "duet-layout": true,
10624
11124
  "has-sidebar": this.hasSidebar,
10625
11125
  "duet-center": this.center,
10626
11126
  [`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
10627
- } }, hAsync("main", { key: 'e98b4d6704819e6a07f5ccc7b29227d6623e2bc2', class: "duet-main" }, this.hasPageHeading && hAsync("slot", { key: '642f458827bfce2732c708d5cff00b382180a202', name: "page-heading" }), hAsync("slot", { key: '929847b72cf01ed5be66b9fdc6e0e204281d0eab', name: "main" })), this.hasSidebar && (hAsync("aside", { key: '9cf127c89c37b47642d7d3234476c16d5c38fd11', class: "duet-sidebar" }, hAsync("div", { key: '043863761695cf57b596ab6759e99ae32e09f432', class: {
11127
+ } }, hAsync("main", { key: '0e584acec6dc315e435bd00361e1ff3b374d04c0', class: "duet-main" }, this.hasPageHeading && hAsync("slot", { key: '301f7c76d42a45373c5bf769e9293ede7d38e05c', name: "page-heading" }), hAsync("slot", { key: 'cc8b9f7018c621c98ebb261167a92cace2b8ab62', name: "main" })), this.hasSidebar && (hAsync("aside", { key: '811455504b48787253def2101178f1aeb6f497fd', class: "duet-sidebar" }, hAsync("div", { key: '6bd13075032951b5837f51e7ffec4ab0966b16da', class: {
10628
11128
  "duet-sidebar-container": true,
10629
11129
  "has-tabs": this.tabs,
10630
11130
  sticky: this.sticky,
10631
11131
  [this.stickyDistance]: this.sticky,
10632
- } }, hAsync("slot", { key: '772f164951137306ec8289a095a829fd2fc0a87b', name: "sidebar" }))))))));
11132
+ } }, hAsync("slot", { key: '9dd5da1cca1abfb7f3946c2e9b254f76f4edf609', name: "sidebar" }))))))));
10633
11133
  }
10634
11134
  get element() { return getElement(this); }
10635
11135
  static get style() { return DuetLayoutStyle0; }
@@ -10791,10 +11291,10 @@ class DuetLink {
10791
11291
  render() {
10792
11292
  const Tag = !this.url ? "button" : "a";
10793
11293
  const isButton = Tag === "button";
10794
- return (hAsync(Host, { key: '2025edd3774d559f0d6877498e0a806532fb310c', class: {
11294
+ return (hAsync(Host, { key: 'e7cb6ea76d92ed46bca6c328a17e50755ea4c750', class: {
10795
11295
  [`duet-link-${this.variation}`]: true,
10796
11296
  "duet-m-0": this.margin === "none",
10797
- } }, hAsync(Tag, { key: 'ee013e25058fdfe22cf04784e06162181b9ff5a2', href: this.url, class: {
11297
+ } }, hAsync(Tag, { key: 'c6c6d30ed3774822aeae25f20e0bd227f71b397b', href: this.url, class: {
10798
11298
  "duet-link": true,
10799
11299
  "duet-link-is-external": this.external,
10800
11300
  "duet-link-is-download": !!this.download,
@@ -10917,7 +11417,7 @@ class DuetList {
10917
11417
  * Always the last one in the class.
10918
11418
  */
10919
11419
  render() {
10920
- return (hAsync("dl", { key: 'be789bab546df8b0ac070d09a5f5c47f5f428afe', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, hAsync("slot", { key: '645ee0c7c623eeed042e25ac2ea7aab51ef1a2bc' })));
11420
+ return (hAsync("dl", { key: '2494b68d174f2bed0ca129e8970a12ccf09d3532', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, hAsync("slot", { key: '966205c93097469e4b0e1c92aa7e7f264a235ae3' })));
10921
11421
  }
10922
11422
  get element() { return getElement(this); }
10923
11423
  static get watchers() { return {
@@ -10967,14 +11467,14 @@ class DuetListItem {
10967
11467
  * Always the last one in the class.
10968
11468
  */
10969
11469
  render() {
10970
- return (hAsync(Host, { key: 'a7bcf9dc0ad8d27c83c7c94369d277906e23cc30', class: {
11470
+ return (hAsync(Host, { key: 'b6d3629f682ab9c7962c63213a42d93633b7b5ae', class: {
10971
11471
  "duet-no-stacking": !this.responsive,
10972
11472
  "duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
10973
11473
  "duet-list-item-breakpoint-small": this.breakpoint === "small",
10974
11474
  "duet-list-item-breakpoint-medium": this.breakpoint === "medium",
10975
11475
  "duet-list-item-breakpoint-large": this.breakpoint === "large",
10976
11476
  "duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
10977
- } }, hAsync("dt", { key: '504987050e1628eafd91243247e7242148e1371b' }, hAsync("slot", { key: '94fab56825730065ad5ff075922807ac03e9981a', name: "label" })), hAsync("dd", { key: 'a3b2444a7764edfea66a0e6d63b3ac2f7666ce7c' }, hAsync("slot", { key: '72c2d152465c9278622df1b5b8e947f714977a30', name: "value" }))));
11477
+ } }, hAsync("dt", { key: '6fd5bb285e0657c6669dcd1aa45983655ae96e44' }, hAsync("slot", { key: '3042541fb55b198c4f183ddcbd5d3a318f20c0f6', name: "label" })), hAsync("dd", { key: 'd925ef59c712ea7ea6308c65ff10e8e2293202bb' }, hAsync("slot", { key: 'e38113683d53d0a1a23f80c900784c148ade05de', name: "value" }))));
10978
11478
  }
10979
11479
  static get style() { return DuetListItemStyle0; }
10980
11480
  static get cmpMeta() { return {
@@ -11067,7 +11567,7 @@ class DuetLogo {
11067
11567
  */
11068
11568
  render() {
11069
11569
  const TagName = this.href ? "a" : "div";
11070
- return (hAsync(Host, { key: 'cd53d85f163bc76250be1e5514b00bf6769e7f54', class: { "duet-m-0": this.margin === "none" } }, hAsync(TagName, { key: '8ec59c6823257e298b0e298a7d6eda2c40725d83', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
11570
+ return (hAsync(Host, { key: 'e0134b0c6453f025fbb84513f17ad1fe857841fd', class: { "duet-m-0": this.margin === "none" } }, hAsync(TagName, { key: '5d97b1065c652c700fef53b4cdd3c92e3a49a82f', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
11071
11571
  "duet-logo": true,
11072
11572
  [this.size]: true,
11073
11573
  "duet-theme-turva": this.theme === "turva",
@@ -11244,14 +11744,14 @@ class DuetMenuBar {
11244
11744
  render() {
11245
11745
  const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
11246
11746
  const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
11247
- return (hAsync(Host, { key: '080aa307736eb2062f7d685118e18712d1cf615d' }, hAsync("nav", { key: '28cdfe4523173ea7c4f966de8b32e4ab547885d9', class: {
11747
+ return (hAsync(Host, { key: 'e13a866fd4bd3ea3ae238bdfb4112afb068f0fab' }, hAsync("nav", { key: 'db9045533c937a21efbc304286b5092f04243305', class: {
11248
11748
  "duet-menu-bar": true,
11249
11749
  "duet-theme-turva": this.theme === "turva",
11250
11750
  "horizontal-nav": isUsedAsAdditionalHorizontalNav,
11251
11751
  "duet-menu-bar-slim": !this.centerSlotUsed,
11252
11752
  hidden: this.hidden && this.hideOnScroll,
11253
11753
  bottom: this.onBottom,
11254
- }, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'b242a73ce21660bdd697be15d4eaa381321d2639', class: "top" }), hAsync("div", { key: '36f578fe0f39f7c41ec2b2c435a58ff995c80c53', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (hAsync("div", { key: 'f95972285bde8b9fbbabdfe18a72515c03e21ad7' }, hAsync("duet-logo", { key: '2aea0ed01de09f12991971f10828f58b8653dbf5', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), hAsync("div", { key: '434f98cee5757650e22c55f2a91cdb8185cdb7f7', class: "list center", role: "list" }, hAsync("div", { key: 'e3842f9812060bd52a44d7dc4d2caaf01120853f', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), hAsync("slot", { key: '88136566fba82ddbf3f2befa931e84eb58c5d3d7', name: "center" }), hAsync("div", { key: 'aed1d51ec2bda38704ccb4540d5ba8cc2f1a8d92', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), hAsync("div", { key: '94e134647ab04eca2cf9da10dc5b71919073b30b', class: "list right", role: "list" }, hAsync("slot", { key: 'a7b1772529b42db719616e6e3b5ba9a45736fb91', name: "right" }))), hAsync("div", { key: '550d375725a383f473ee73d7a00bef6f64eadc57', class: "bottom" }))));
11754
+ }, "aria-label": this.accessibleLabel }, hAsync("div", { key: '576b5b70223b4d2a3c3fe0d51b6463381ed02fd0', class: "top" }), hAsync("div", { key: '3ea0281105040d3c08cad1f21d6da1b8a5fdb414', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (hAsync("div", { key: '9705c47b5abafad8fca9cda63fc6210a6aa3db8d' }, hAsync("duet-logo", { key: '75eeb4e66ec2fa1474406b004082ef0397daface', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), hAsync("div", { key: '2cd20b518c5f8ece27f1038a476d467b6a319563', class: "list center", role: "list" }, hAsync("div", { key: '6306281ddee87b21b54998ceaa9d00452fdd207d', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), hAsync("slot", { key: '2bed6d063a3826b81a1f2e94562e4441ed26fa5c', name: "center" }), hAsync("div", { key: '9ed25492a82ceafafca374e2466d86d3b6491acb', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), hAsync("div", { key: 'b1cfd7cdd4cfd0450fe01ec99ede3e9860ac365c', class: "list right", role: "list" }, hAsync("slot", { key: '6e9e1132485a765842ef8c99fc98dadf0b11bc63', name: "right" }))), hAsync("div", { key: '168346a69638fbc80bcd180c0582aa167a84bb2e', class: "bottom" }))));
11255
11755
  }
11256
11756
  get element() { return getElement(this); }
11257
11757
  static get style() { return DuetMenuBarStyle0; }
@@ -11318,10 +11818,10 @@ class DuetMenuBarButton {
11318
11818
  * Always the last one in the class.
11319
11819
  */
11320
11820
  render() {
11321
- return (hAsync(Host, { key: 'ffc0fed54b5acda7a76211091c8c502a8c888937', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: '10bd0d58fcd801865270e6c4ad8afdd11b239ca8', ref: button => (this.nativeButton = button), class: {
11821
+ return (hAsync(Host, { key: '7ede8c9b9c82a2c6bcdcfc416f3794834ab77293', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: '6910d36f8ae066a551ca0143b2f34ec38775dfdb', ref: button => (this.nativeButton = button), class: {
11322
11822
  "duet-menu-bar-button": true,
11323
11823
  "duet-theme-turva": this.theme === "turva",
11324
- }, "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, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (hAsync("duet-icon", { key: '0351584d8f7f2a8341daf1423e8f199af10ab67f', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '804d1535f44a67308422421bd17efd7c22dd5717' }))));
11824
+ }, "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, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (hAsync("duet-icon", { key: '0e45ee09f68a3aac1f440e01ace151783be7c120', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '1a0b04b92ffc25cf50f594a50d02be255f24aeba' }))));
11325
11825
  }
11326
11826
  get element() { return getElement(this); }
11327
11827
  static get style() { return DuetMenuBarButtonStyle0; }
@@ -11404,17 +11904,17 @@ class DuetMenuBarDropdown {
11404
11904
  * Always the last one in the class.
11405
11905
  */
11406
11906
  render() {
11407
- return (hAsync(Host, { key: 'a98baab0fb21943f681bd83c2040bdb1f5d5e464', role: "listitem" }, hAsync("div", { key: '79f52e00b692d398484940f70bd44de78ee5a2a7', class: {
11907
+ return (hAsync(Host, { key: '30ea5bdc409a19c4f606a08a851fc3a91f636e87', role: "listitem" }, hAsync("div", { key: '60eacea3711c3398f19bb391127b0a3742f6c779', class: {
11408
11908
  "duet-menu-bar-dropdown": true,
11409
11909
  "duet-theme-turva": this.theme === "turva",
11410
11910
  active: this.open,
11411
11911
  [`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
11412
- } }, hAsync("button", { key: 'fb48e17e2995b4f5e057583339d0fc0149b43375', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
11912
+ } }, hAsync("button", { key: '87b94f39ed7bbbf01ec425ccadb044d64d797c59', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
11413
11913
  active: this.open,
11414
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '5a91dcf8a6a2e2289b9b63680233bfa6dc4e0529', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '4ddf5b0d1fd321a4fa02a73122bd28f88f47f527', class: "label" }, hAsync("slot", { key: 'd79067be6dacc22b8b9e9515d4bb019721b6a2c8', name: "label" }), hAsync("duet-icon", { key: '24396bac267909220e577ed663f8d34468919858', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '514af91b0f0396842a5ede32137ff76a9e31bf40', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
11914
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '5d1abdaafbd7e5b1bb75e46863f7d178799ee757', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'a1d04c25159935646c9613c3f59d176af8a3ee3d', class: "label" }, hAsync("slot", { key: '48e78d6657df24ad22b495d244702169de00cfda', name: "label" }), hAsync("duet-icon", { key: '5577398b8bd80946812d5f3a816684707852337d', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '14071561dd61cdc2e5d918323587f4d30674d2dc', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
11415
11915
  items: true,
11416
11916
  hidden: !this.open,
11417
- } }, hAsync("slot", { key: 'ecd8ef50dbbf9206540a5cb908a8b37e0e60f14a' })))));
11917
+ } }, hAsync("slot", { key: 'c42c206ba4b3c97f6dcd92c72a1cffc13d57834c' })))));
11418
11918
  }
11419
11919
  get element() { return getElement(this); }
11420
11920
  static get style() { return DuetMenuBarDropdownStyle0; }
@@ -11474,11 +11974,11 @@ class DuetMenuBarDropdownLink {
11474
11974
  * Always the last one in the class.
11475
11975
  */
11476
11976
  render() {
11477
- return (hAsync(Host, { key: 'dff3e65bfa27e226d174dbf7fdb57c067bcb24f2' }, hAsync("a", { key: 'c90358c20ce27776461c970e68048427cc2503c8', class: {
11977
+ return (hAsync(Host, { key: 'fe377ce2b21f3ec7de8c6db577d706ed4e9e8745' }, hAsync("a", { key: '583c2614e636104b1b2ff40c597e127550be5f5e', class: {
11478
11978
  "duet-menu-bar-dropdown-link": true,
11479
11979
  [`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
11480
11980
  "duet-theme-turva": this.theme === "turva",
11481
- }, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '52930cb9d1151120fa0191844d65f06a8f5f6319', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: '616f450950804fb9a72a010436eb1d7ec4ad02c2' }))));
11981
+ }, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '147d4e4ca57001748a3adf41757770577efb3113', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: '3b471e970dfa2dbb5054245bd0c459860a629c91' }))));
11482
11982
  }
11483
11983
  get element() { return getElement(this); }
11484
11984
  static get style() { return DuetMenuBarDropdownLinkStyle0; }
@@ -11542,11 +12042,11 @@ class DuetMenuBarItem {
11542
12042
  */
11543
12043
  render() {
11544
12044
  const TagName = this.url ? "a" : "button";
11545
- return (hAsync(Host, { key: '46e23a090bd69731fad23bb7d815fe07949961f1', role: "listitem" }, hAsync(TagName, { key: 'fd2f0cd2b271a5030924b17a318d91ef5f375b26', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
12045
+ return (hAsync(Host, { key: '9a4fa3850a59a9e92ed6453f83ba66510ba98eed', role: "listitem" }, hAsync(TagName, { key: '89b1d29049ab6f5a5cde267a3ff6488c1fc9ee6f', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
11546
12046
  "duet-menu-bar-item": true,
11547
12047
  "duet-theme-turva": this.theme === "turva",
11548
12048
  active: this.active,
11549
- }, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: 'c5f65e90e67f40726dbd1ad1fcecc275b792fcea', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: 'b9846826ebc0c12f36548a00d1e4156507136f91' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: '4d20597bf6e7a17b841c08f429ca64820a01198a', class: {
12049
+ }, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '4c323e8083d3dabfa32c7ad10d5cef783c25b50e', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '2cdf47895c4330542078da87b401ca6e51467c6c' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'e0c912d7168f8ae6072f5329d3d451da30adf4db', class: {
11550
12050
  "trailing-icon": !!this.trailingIcon,
11551
12051
  "trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
11552
12052
  "external-icon": !!this.external,
@@ -11601,11 +12101,11 @@ class DuetMenuBarLink {
11601
12101
  * Always the last one in the class.
11602
12102
  */
11603
12103
  render() {
11604
- return (hAsync(Host, { key: 'efb7d0aed76d4f7da05e21e41d92c63465308df6', role: "listitem" }, hAsync("a", { key: 'ed248ea08e7b2be2dafa2617b9b18935ff6aa583', class: {
12104
+ return (hAsync(Host, { key: '944fc042969f5fb1c958f2e2b3c3b90cf4ed09e8', role: "listitem" }, hAsync("a", { key: '8a379484694ccdd6eac62c98606b3d0410fd012f', class: {
11605
12105
  "duet-menu-bar-link": true,
11606
12106
  "duet-theme-turva": this.theme === "turva",
11607
12107
  active: this.active,
11608
- }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'cb0bb182c2620d4dd5d0484731f8f7ecca86d7bc', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '686e67b70d05cadb8fa67ed044524dce04e841ff' }))));
12108
+ }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '6cb57d184b32ccf2d88b480cf6e14febee77d8bd', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: 'be23134b984610bea7ed18384aad517712760e84' }))));
11609
12109
  }
11610
12110
  get element() { return getElement(this); }
11611
12111
  static get style() { return DuetMenuBarLinkStyle0; }
@@ -11856,18 +12356,18 @@ class DuetModal {
11856
12356
  var _a, _b;
11857
12357
  let iconColor = "primary";
11858
12358
  let closeColor = "secondary";
11859
- const closingButton = (hAsync("div", { key: '1da278102e1c18bced35701804e9217102015179', class: "duet-modal-close" }, hAsync("duet-button", { key: '8a90526b27671c22fc55532ddcb94fd3c1e32606', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
12359
+ const closingButton = (hAsync("div", { key: '0a05dbaf283737a1f77b62ab112c88b353464350', class: "duet-modal-close" }, hAsync("duet-button", { key: '3a87f9968b872763efed783e1014d1117f1d375f', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
11860
12360
  if (this.theme === "turva") {
11861
12361
  iconColor = "primary-turva";
11862
12362
  closeColor = "secondary-turva";
11863
12363
  }
11864
- return (hAsync("div", { key: '58c17910a720462e06df9bc4b987c2e889c89d8f', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
12364
+ return (hAsync("div", { key: 'c93f95ce929ec3c82786932e3d6a0fe5d82d3173', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
11865
12365
  "duet-modal-container": true,
11866
12366
  "duet-theme-turva": this.theme === "turva",
11867
12367
  "duet-modal-active": this.open,
11868
12368
  "duet-modal-slide-up": this.variation === "slide-up",
11869
12369
  "duet-modal-has-sticky-header": this.hasStickyHeader,
11870
- } }, hAsync("duet-overlay", { key: '914408c9f5bd3059edf6197e12bb51827be71395', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), hAsync("div", { key: 'cee4a64292d3212c0913fca099acdd6da119a300', ref: modalInner => (this.modalInnerEl = modalInner), class: {
12370
+ } }, hAsync("duet-overlay", { key: '874d509e0e869ace4ec126dc6c4316f1618ac0d9', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), hAsync("div", { key: 'fe13b5967653c95bb6fc6087d048de8b0dddae5c', ref: modalInner => (this.modalInnerEl = modalInner), class: {
11871
12371
  "duet-modal-inner": true,
11872
12372
  [this.size]: true,
11873
12373
  "duet-modal-slide-up": this.variation === "slide-up",
@@ -11878,18 +12378,18 @@ class DuetModal {
11878
12378
  this.closeModal(e);
11879
12379
  }
11880
12380
  }
11881
- } }, hAsync("div", { key: '10aadd51aa5a43d7158b2ba901e72dec73dff0c1', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
12381
+ } }, hAsync("div", { key: '97db4dc604168bf16f732f70233bea7b08bc3269', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
11882
12382
  "duet-modal": true,
11883
12383
  "duet-modal-has-sticky-header": this.hasStickyHeader,
11884
12384
  [this.size]: true,
11885
12385
  [this.variation]: true,
11886
- } }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: 'fb858b05b255dc1928c79212ac0460dfc0bc2fb7' }), this.hasStickyHeader ? (hAsync("div", { class: "duet-modal-sticky-header" }, closingButton, hAsync("slot", { name: "sticky-header" }))) : (closingButton), hAsync("div", { key: 'e30440c57234f2f47213b1443939bc334f6984d2', class: {
12386
+ } }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: 'e238c81f94ffdef58ced08126a52e121e010c1ba' }), this.hasStickyHeader ? (hAsync("div", { class: "duet-modal-sticky-header" }, closingButton, hAsync("slot", { name: "sticky-header" }))) : (closingButton), hAsync("div", { key: 'e6c7fe686edbee8d767ceb94c6c355b9de5f2932', class: {
11887
12387
  "duet-modal-body": true,
11888
12388
  "duet-modal-gutter-none": this.gutterSize === "none",
11889
12389
  "duet-modal-gutter-small": this.gutterSize === "small",
11890
12390
  "duet-modal-gutter-medium": this.gutterSize === "medium",
11891
12391
  "duet-modal-gutter-large": this.gutterSize === "large",
11892
- } }, hAsync("div", { key: 'c905a56349275111b507b046c34db4d99befff51', class: "duet-modal-header" }, hAsync("span", { key: '481ee67583a42d430318be206b08d3976eb9bb4e', class: "duet-modal-inner-slot-top" }, hAsync("slot", { key: '55f8c5bb8575960783ea74eb7ea882aaad8bddea', name: "top" })), this.icon && hAsync("duet-icon", { key: 'c488922a98c16bf38e06085f1e9a673b12cf9b82', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (hAsync("duet-heading", { key: 'b850658878de554dfc27a4978e34bfced4432e00', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (hAsync("div", { key: '4355986a4863d9f0d8359b95def6411f65d5c314', class: "duet-modal-spinner" }, hAsync("duet-spinner", { key: 'cf8f38d7b53c41cca414993f4a16d709c197f95e', size: "large", color: "primary" }))), hAsync("div", { key: '08c10e61fe189fb99f218eac37ace4084141b94f', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, hAsync("slot", { key: 'f7c981e29d90accd5e7313a3f26de39788225287' })))))));
12392
+ } }, hAsync("div", { key: '503f1759d8da05b03424f7cd4dc4fcbc1475b750', class: "duet-modal-header" }, hAsync("span", { key: '4da34d236160f41ebebcbedf021756e2e7f16e7a', class: "duet-modal-inner-slot-top" }, hAsync("slot", { key: 'a4ec96d9dbce295980f9310f4e346b7db2b2ae1c', name: "top" })), this.icon && hAsync("duet-icon", { key: '189ce6c874db5b0c63f6a4f99832467967660c36', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (hAsync("duet-heading", { key: '1ea245199b5d0824fc099b8efd3c0c78a5685c46', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (hAsync("div", { key: 'b6445a691a50ba8c5c675e400b5452ffc8076df5', class: "duet-modal-spinner" }, hAsync("duet-spinner", { key: '5931daa7f184bfe4639353d28004a6c940b36854', size: "large", color: "primary" }))), hAsync("div", { key: '3fb83728c1ecb7aa1c1c5cebfb426322e57065eb', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, hAsync("slot", { key: '34cade5d14c9b734a6c330b9648a2d3d33cbe878' })))))));
11893
12393
  }
11894
12394
  get element() { return getElement(this); }
11895
12395
  static get watchers() { return {
@@ -12154,23 +12654,23 @@ class DuetMultiselect {
12154
12654
  */
12155
12655
  render() {
12156
12656
  var _a;
12157
- return (hAsync(Host, { key: 'd88436c71fa360266440b8574bb2d35536cc65bd', class: {
12657
+ return (hAsync(Host, { key: '3a671559e08eccdf48ad44b9e9b52b7d7e48e0c6', class: {
12158
12658
  "duet-m-0": this.margin === "none",
12159
12659
  "duet-expand": this.expand,
12160
- } }, hAsync("div", { key: '212b648e8147fb2e58294009eb8aef03556f8684', class: {
12660
+ } }, hAsync("div", { key: 'fdf19e2d8b4d3b2badc1578e9024bb2aa3eb0c79', class: {
12161
12661
  "duet-multiselect-container": true,
12162
12662
  "duet-label-hidden": this.labelHidden,
12163
12663
  "duet-theme-turva": this.theme === "turva",
12164
12664
  "duet-input-top-caption-shown": this.isCaptionVisible,
12165
12665
  "has-error": !!this.error,
12166
- }, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync("duet-label", { key: '9d4bec69691f6adc615c9366e86abf5f59fc39a6', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '3ba3a824ae8535ecafbfc73d0477da38e8146867', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: 'c8fccccab9473eeb7d81b2b947b6732f6fe31111', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '7ccb8a12ae76b75762161f444d3a058be2d35b84', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: '1c61620d8dfeec8fdc4448028951b9a1a4a9968e', class: "duet-multiselect-wrapper" }, hAsync("button", { key: '3f2902a54d79a81144128cae9b62641ce234802a', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, hAsync("span", { key: '04aec38aa6af20357b28bee3373c830bd34c0580', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (hAsync("span", { key: '3dfe64b81ce62342b83ec4ea44bc1a1ec7544355', class: "duet-multiselect-badge" }, this.value.length, hAsync("duet-visually-hidden", { key: '1dbd858425faeae0a323b3313913feec214549cd' }, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), hAsync("svg", { key: '40b599d5cfa8362c2edeb63aa59c9be3cecf3e80', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '6c28e4b2bb0c486a8698fa0615fff12df29e157a', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), hAsync("div", { key: '6ea881d05fcbdeb899a1eb41b84f8b9653446eb4', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
12666
+ }, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync("duet-label", { key: 'a0fbdb1c0e5fb5bec6fd6bca6e2664daf8167857', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: 'afa2b2750e582751ad2f939c06a926d642674d97', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '6de41caacf1f02a5c1a1d066fd374ff3c4a11c5a', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '27d956b0dda43a64bde53c69d5e09c3a1187aee7', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: '4f7e7596be60a0108a21644d0673d5f80e28ecd3', class: "duet-multiselect-wrapper" }, hAsync("button", { key: 'bbcf2b3c97dc20be60de1436ab54a12299fe249c', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, hAsync("span", { key: '6cbf96b0870b6bcce05de05913c5bb7c52fe0f52', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (hAsync("span", { key: '314065c7594a074bc12181cb0e1ee435ee430430', class: "duet-multiselect-badge" }, this.value.length, hAsync("duet-visually-hidden", { key: '7aad3d1e91e90de0a0dfe7f36033e136c748d0ed' }, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), hAsync("svg", { key: 'e72d639f91e3d087689764dd2328c72e8d891702', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: 'bb0c604921ecb5c00cf369fa4765093c88d62129', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), hAsync("div", { key: 'a0ca77aba5de16cd53113ded0103d776062b84c9', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
12167
12667
  "duet-multiselect-checkboxes": true,
12168
12668
  "duet-multiselect-checkboxes-active": this.checkboxesVisible,
12169
- }, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '63392964c348477e8b375b96084d4c4cbbf2143a', class: "duet-multiselect-all-control-buttons" }, hAsync("button", { key: 'b7e0f951cd805058fc5ba9376ada31d42dcceb8e', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), hAsync("button", { key: 'a8d826e0afeaf86fbcaa2289f41ffeca9cd04b43', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
12669
+ }, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '867656e4631ed271950191a5144ef7ec14f782eb', class: "duet-multiselect-all-control-buttons" }, hAsync("button", { key: 'b55d9d3e7f6726a76301c32276608b307353e9d9', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), hAsync("button", { key: '94d9f908ea389d09f404906f75121a7d38eac415', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
12170
12670
  this.processedGroups.map(group => (hAsync("fieldset", null, group.label && hAsync("legend", null, group.label), group.items.map((item, key) => {
12171
12671
  var _a, _b;
12172
12672
  return (hAsync("duet-checkbox", { identifier: this.getOptionIdentifier(key), role: "option", label: item.label, value: item.value, key: item.value, checked: (_a = this.value) === null || _a === void 0 ? void 0 : _a.includes(item), "accessible-selected": ((_b = this.value) === null || _b === void 0 ? void 0 : _b.includes(item)) ? "true" : undefined, disabled: !this.checkboxesVisible || item.disabled, onDuetChange: e => this.toggleCheckbox(e, item), onKeyDown: (e) => this.onCheckboxKeyDown(e, key), theme: this.theme }));
12173
- })))))), hAsync("span", { key: '78597a6d044e0186dcb06a22bdb897884e24739e', class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '6b33900eb2e81a104b8370a520aaf378d18155cf' }, this.error)))));
12673
+ })))))), hAsync("span", { key: '823e0b5d814cf797b45c231fded5191e17911527', class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '8ffa0864b4ff78136869432028f26f80957d38a2' }, this.error)))));
12174
12674
  }
12175
12675
  get element() { return getElement(this); }
12176
12676
  static get watchers() { return {
@@ -12239,7 +12739,7 @@ class DuetNav {
12239
12739
  * Always the last one in the class.
12240
12740
  */
12241
12741
  render() {
12242
- return (hAsync(Host, { key: '97cff27b21fb239339ebc9dc8bc5c267e20ed1f9' }, hAsync("div", { key: '33276844fc09bd3a555ab9e033db7d5c2640da5c', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: '1f135950c0220a03209aa273bcba83c4477f804a' }), hAsync("slot", { key: '09ac4ab46b3ad110b30ec38907906fe5f16526db', name: "mobile" }), hAsync("slot", { key: '995bc3f699e56d23b8a59df9a84e9a525c970cb3', name: "desktop" }))));
12742
+ return (hAsync(Host, { key: 'c5ab5dae2e7d22ca95bc16e28afef27ae15afcb0' }, hAsync("div", { key: '4dce1e440de9e33921a8d156dd2a7e524e6a6f19', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: '6172b6cf2f4def6008bcf4738d66aff2042e9a0a' }), hAsync("slot", { key: 'd363f92ea1b28f1d09b413affc48e6780fb6374b', name: "mobile" }), hAsync("slot", { key: '6a7323e9949b9d2c68ddf41048c23aefa4873f0d', name: "desktop" }))));
12243
12743
  }
12244
12744
  get element() { return getElement(this); }
12245
12745
  static get style() { return DuetNavStyle0; }
@@ -12298,11 +12798,11 @@ class DuetNotification {
12298
12798
  this.linkElement.focus(options);
12299
12799
  }
12300
12800
  render() {
12301
- return (hAsync("div", { key: '95f620022395e56f383b054bdd44e43eef780659', role: "listitem", class: {
12801
+ return (hAsync("div", { key: '890f3393ed0551fe1b939f89f6d2f04e892c4913', role: "listitem", class: {
12302
12802
  "duet-notification": true,
12303
12803
  "duet-notification-highlight": this.highlight,
12304
12804
  "duet-theme-turva": this.theme === "turva",
12305
- } }, hAsync("a", { key: 'c2b26563af673ed607eda71ac73618a97df4182d', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: '3a4d58c959a73f4eb54b7b1f2341b6cf47b3111d', class: "duet-notification-container" }, hAsync("div", { key: 'a98286e2d2c067a14faa839ab3dec3d29ff29014', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: 'fdd7359a0ca2bec377cc7312f1005bb351dc9f81', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: '4974d054afafb18ff69c464d722ee606c02a73fc' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: '5ce2f9c01226ba63cb3d23f1b878d8384040e92b', class: "duet-notification-content" }, hAsync("slot", { key: 'f99affc9adf412fd40861d10bccd092bfb08f2e9' })), hAsync("div", { key: 'de4db79428641035052ede5c208377823828bcab', class: "duet-notification-date" }, this.date)))));
12805
+ } }, hAsync("a", { key: 'cc685fd8b8b81325ed7e98bc08ae5503066ac612', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: '0e5be7a64538f4da436284ad7284230f1f86028d', class: "duet-notification-container" }, hAsync("div", { key: '307f2270705569eefc4200d8b2b0ff452116821d', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: 'bbdb2452de67bf6e56bd8540ad0d34fc0a8d77e1', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: 'f01eee90a99d84210a27e271e3b2338cd35bb524' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: '6173ca5bd3321cffdcaee2ae9e8fa48c84c46651', class: "duet-notification-content" }, hAsync("slot", { key: '10edf0a272da934786f59453fb9700e5f8a53de0' })), hAsync("div", { key: '2dfad6249fe5be7e28f37fa6ddfb665f7cbd04f3', class: "duet-notification-date" }, this.date)))));
12306
12806
  }
12307
12807
  get element() { return getElement(this); }
12308
12808
  static get style() { return DuetNotificationStyle0; }
@@ -12326,7 +12826,7 @@ class DuetNotification {
12326
12826
  }; }
12327
12827
  }
12328
12828
 
12329
- const duetNotificationDrawerCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-drawer{position:relative}@media (min-width: 62em){.duet-drawer{display:inline-block}}.duet-drawer-toggle{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:48px;color:rgb(8, 42, 77);text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229);border-radius:0;-webkit-appearance:none;appearance:none}@media (min-width: 62em){.duet-drawer-toggle{z-index:200;width:auto;max-width:200px;padding:0 30px 0 12px;overflow:hidden;font-size:0.875rem;line-height:4rem;border:0;border-radius:4px;transition:border 300ms ease}}.duet-theme-turva .duet-drawer-toggle{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);background-color:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-drawer-toggle:active{opacity:0.75}.duet-drawer-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-drawer-toggle:hover{color:rgb(0, 75, 129)}.duet-theme-turva .duet-drawer-toggle:hover{color:rgb(113, 118, 132)}.duet-drawer-toggle::after{display:none !important}@media (min-width: 62em){.duet-drawer-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(3px)}.duet-theme-turva .duet-drawer-toggle::after{background:rgb(198, 12, 48)}}.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(0, 75, 129);border-bottom:1px solid rgb(245, 248, 250);border-radius:0}.duet-theme-turva .duet-drawer-toggle[aria-expanded=true],.duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(113, 118, 132);border-color:rgb(245, 247, 250)}@media (min-width: 62em){.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{border:0}.duet-drawer-toggle[aria-expanded=true]::after,.duet-drawer-toggle[aria-expanded=true]:hover::after{left:0;width:100%;transform:translateY(0)}}.duet-drawer-icon{position:relative;display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-drawer-icon{margin-right:8px}}.duet-drawer-label{line-height:1}.duet-drawer-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transition:300ms ease;transform:translateY(-50%);transform-origin:50% 50%}@media (min-width: 62em){.duet-drawer-caret{right:16px;width:7px;height:7px}}.duet-drawer-caret duet-icon{width:10px}.duet-drawer-toggle[aria-expanded=true] .duet-drawer-caret{transform:translateY(-50%) rotate(180deg)}.duet-drawer-badge{position:absolute;top:0;right:0;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-drawer-badge{background:rgb(247, 178, 40)}.duet-drawer-content{display:none;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229)}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255);border-color:rgb(212, 223, 229)}@media (min-width: 62em){.duet-drawer-content{position:absolute;top:100%;z-index:600;display:block;width:450px;max-height:420px;padding-left:0;overflow-y:auto;visibility:hidden;background-color:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:300ms ease;transform:scale(0.95) translateZ(0) translateY(-10px);transform-origin:50% 0;scrollbar-width:none}.duet-drawer-content::-webkit-scrollbar{display:none}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255)}.duet-drawer-content.duet-drawer-left{right:0}.duet-drawer-content.duet-drawer-right{left:0}}.duet-drawer-content.duet-drawer-open{display:block}@media (min-width: 62em){.duet-drawer-content.duet-drawer-open{visibility:visible;opacity:1;transform:scale(1) translateZ(0) translateY(0)}}";
12829
+ const duetNotificationDrawerCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-drawer{position:relative}@media (min-width: 62em){.duet-drawer{display:inline-block}}.duet-drawer-toggle{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:48px;color:rgb(8, 42, 77);text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229);border-radius:0;-webkit-appearance:none;appearance:none}@media (min-width: 62em){.duet-drawer-toggle{z-index:200;width:auto;max-width:200px;padding:0 30px 0 12px;overflow:hidden;font-size:0.875rem;line-height:4rem;border:0;border-radius:4px;transition:border 300ms ease}}.duet-theme-turva .duet-drawer-toggle{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);background-color:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-drawer-toggle:active{opacity:0.75}.duet-drawer-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-drawer-toggle:hover{color:rgb(0, 75, 129)}.duet-theme-turva .duet-drawer-toggle:hover{color:rgb(113, 118, 132)}.duet-drawer-toggle::after{display:none !important}@media (min-width: 62em){.duet-drawer-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(3px)}.duet-theme-turva .duet-drawer-toggle::after{background:rgb(198, 12, 48)}}.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(0, 75, 129);border-bottom:1px solid rgb(245, 248, 250);border-radius:0}.duet-theme-turva .duet-drawer-toggle[aria-expanded=true],.duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(113, 118, 132);border-color:rgb(245, 247, 250)}@media (min-width: 62em){.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{border:0}.duet-drawer-toggle[aria-expanded=true]::after,.duet-drawer-toggle[aria-expanded=true]:hover::after{left:0;width:100%;transform:translateY(0)}}.duet-drawer-icon{position:relative;display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-drawer-icon{margin-right:8px}}.duet-drawer-label{line-height:1}.duet-drawer-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transition:300ms ease;transform:translateY(-50%);transform-origin:50% 50%}@media (min-width: 62em){.duet-drawer-caret{right:16px;width:7px;height:7px}}.duet-drawer-caret duet-icon{width:10px}.duet-drawer-toggle[aria-expanded=true] .duet-drawer-caret{transform:translateY(-50%) rotate(180deg)}.duet-drawer-badge{position:absolute;top:0;right:0;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-drawer-badge{background:rgb(247, 178, 40)}.duet-drawer-content{display:none;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(212, 223, 229)}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255);border-color:rgb(212, 223, 229)}@media (min-width: 62em){.duet-drawer-content{position:absolute;top:100%;z-index:600;display:block;width:450px;max-height:420px;padding-left:0;overflow-y:auto;visibility:hidden;background-color:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:300ms ease;transform:scale(0.95) translateZ(0) translateY(-10px);transform-origin:50% 0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255)}.duet-drawer-content.duet-drawer-left{right:0}.duet-drawer-content.duet-drawer-right{left:0}}.duet-drawer-content.duet-drawer-open{display:block}@media (min-width: 62em){.duet-drawer-content.duet-drawer-open{visibility:visible;opacity:1;transform:scale(1) translateZ(0) translateY(0)}}";
12330
12830
  var DuetNotificationDrawerStyle0 = duetNotificationDrawerCss;
12331
12831
 
12332
12832
  const ESC_KEY = 27;
@@ -12420,10 +12920,10 @@ class DuetNotificationDrawer {
12420
12920
  * Always the last one in the class.
12421
12921
  */
12422
12922
  render() {
12423
- return (hAsync("div", { key: '181a6a82f04afb895830cf36e265a4f770f05188', class: {
12923
+ return (hAsync("div", { key: 'd3c48a796945f129730ee58bb90a5d74fbe2d20a', class: {
12424
12924
  "duet-drawer": true,
12425
12925
  "duet-theme-turva": this.theme === "turva",
12426
- }, onKeyDown: this.handleKeyDown }, hAsync("button", { key: 'f4276d12063ff62d10998b80cd7621c3ceadc302', ref: el => (this.drawerButtonEl = el), type: "button", class: "duet-drawer-toggle", id: "duet-drawer-toggle", "aria-controls": "duet-drawer-content", "aria-expanded": this.isOpen ? "true" : "false", onClick: this.toggleMenu }, this.icon && (hAsync("div", { key: '0c1a27d913b2ba53d8f6ef2eef3f0d05c251fabc', class: "duet-drawer-icon" }, hAsync("duet-icon", { key: 'c32b7ae6a90f0d32f0d6b46aad6e9ba0fb0bf952', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && hAsync("div", { key: 'e698da96829cac38cfeab0a15734f3be7a679455', class: "duet-drawer-badge" }))), hAsync("span", { key: '2725ba4970bcc2e6213f69c64d25a3dc7d9f005b', class: "duet-drawer-label" }, this.label), hAsync("div", { key: '71ae5369660c95fed7635cb7d5ae25fa5b9dde7a', class: "duet-drawer-caret" }, hAsync("duet-icon", { key: '1ac223f256804f95ff4a35f8fc115999d86fec8c', margin: "none", size: "auto", icon: actionArrowDownSmall.svg, color: "currentColor" }))), hAsync("div", { key: 'aaa99d0c45b1f8218f0f999c9558f374799dc6a5', id: "duet-drawer-content", class: {
12926
+ }, onKeyDown: this.handleKeyDown }, hAsync("button", { key: 'a475ca447ada0163de80bc07e655202171c5e303', ref: el => (this.drawerButtonEl = el), type: "button", class: "duet-drawer-toggle", id: "duet-drawer-toggle", "aria-controls": "duet-drawer-content", "aria-expanded": this.isOpen ? "true" : "false", onClick: this.toggleMenu }, this.icon && (hAsync("div", { key: '6b0367bfa98ae6940f657ebd59591f6a9f37f88b', class: "duet-drawer-icon" }, hAsync("duet-icon", { key: 'd2fbb0ac6b02c5df43ffd02aa3267af80e0cb2e8', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && hAsync("div", { key: '4d461ddfeb0718e2e8b02cc26b8a06a4302a54ac', class: "duet-drawer-badge" }))), hAsync("span", { key: '3648203174b5eb431f9f3c7d294c66c151435f1f', class: "duet-drawer-label" }, this.label), hAsync("div", { key: '98c6a53d3f09666c54320fc0805ee7b1acedcb01', class: "duet-drawer-caret" }, hAsync("duet-icon", { key: '025d6d0ed15cce1e08a4256fbe8bda777b8d98eb', margin: "none", size: "auto", icon: actionArrowDownSmall.svg, color: "currentColor" }))), hAsync("div", { key: 'bda418ac6381015dbbb2c588764161883af0e9c8', id: "duet-drawer-content", class: {
12427
12927
  "duet-drawer-content": true,
12428
12928
  "duet-drawer-right": this.direction === "right",
12429
12929
  "duet-drawer-left": this.direction === "left",
@@ -12456,6 +12956,10 @@ class DuetNotificationDrawer {
12456
12956
  }; }
12457
12957
  }
12458
12958
 
12959
+ var actionAdd={"title":"action-add","tags":"action add plus","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z\"/></svg>"};
12960
+
12961
+ var actionSubtract={"title":"action-subtract","tags":"action subtract minus remove delete cancel","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M.75 12.788a.75.75 0 0 1 0-1.5h22.5a.75.75 0 0 1 0 1.5z\"/></svg>"};
12962
+
12459
12963
  /**
12460
12964
  * function that takes a string value or number and looks for any character resembling a minus,
12461
12965
  * it will then replace it with a hypen-minus and return the parseFloat value of that string
@@ -12513,7 +13017,7 @@ function ConvertToEnUS(value, locale, replaceThousands = false) {
12513
13017
  const roundTo = (val, multiple) => Math.round(val / multiple) * multiple;
12514
13018
  const clamp$1 = (val, min, max) => Math.min(Math.max(val, min), max);
12515
13019
 
12516
- const duetNumberInputCss = "*.sc-duet-number-input,*.sc-duet-number-input::after,*.sc-duet-number-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-number-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;line-height:1.25;text-align:left;vertical-align:bottom}.sc-duet-number-input-h:last-child,.sc-duet-number-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-number-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-number-input-h{width:100% !important}.duet-m-0.sc-duet-number-input-h{margin:0 !important}.duet-number-container.sc-duet-number-input{position:relative;width:100%}.duet-number-buttons.sc-duet-number-input{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;width:96px;height:calc(100% - 2px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input{position:relative;display:inline-flex;align-items:center;justify-content:center;width:50%;height:100%;text-align:center;cursor:pointer;background:transparent;-webkit-appearance:none;appearance:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled{pointer-events:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input duet-icon.sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled duet-icon.sc-duet-number-input{opacity:0.4}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:active duet-icon.sc-duet-number-input{transform:translateY(1px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{outline:0}.user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{z-index:2;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{box-shadow:0 0 0 2px #171c3a !important}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type{border-left:1px solid rgb(181, 198, 208)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:\"\";background:linear-gradient(to left, rgba(181, 198, 208, 0.2) 0%, rgba(181, 198, 208, 0.2) 1px, rgba(181, 198, 208, 0.1) 1px, rgba(181, 198, 208, 0) 100%)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{position:absolute;top:20%;left:0;width:1px;height:60%;content:\"\";background:rgb(212, 223, 229)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{background:linear-gradient(to left, rgba(199, 202, 207, 0.2) 0%, rgba(199, 202, 207, 0.2) 1px, rgba(199, 202, 207, 0.1) 1px, rgba(199, 202, 207, 0) 100%)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{background:rgb(222, 224, 228)}";
13020
+ const duetNumberInputCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;line-height:1.25;text-align:left;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}.duet-number-container{position:relative;width:100%}.duet-number-buttons{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;width:96px;height:calc(100% - 2px)}.duet-number-buttons .duet-number-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:50%;height:100%;text-align:center;cursor:pointer;background:transparent;-webkit-appearance:none;appearance:none}.duet-number-buttons .duet-number-button[aria-disabled=true],.duet-number-buttons .duet-number-button:disabled{pointer-events:none}.duet-number-buttons .duet-number-button[aria-disabled=true] duet-icon,.duet-number-buttons .duet-number-button:disabled duet-icon{opacity:0.4}.duet-number-buttons .duet-number-button:active duet-icon{transform:translateY(1px)}.duet-number-buttons .duet-number-button:focus{outline:0}:host(.user-is-tabbing) .duet-number-buttons .duet-number-button:focus{z-index:2;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva :host(.user-is-tabbing) .duet-number-buttons .duet-number-button:focus{box-shadow:0 0 0 2px #171c3a !important}.duet-number-buttons .duet-number-button:first-of-type{border-left:1px solid rgb(181, 198, 208)}.duet-number-buttons .duet-number-button:first-of-type::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:\"\";background:linear-gradient(to left, rgba(181, 198, 208, 0.2) 0%, rgba(181, 198, 208, 0.2) 1px, rgba(181, 198, 208, 0.1) 1px, rgba(181, 198, 208, 0) 100%)}.duet-number-buttons .duet-number-button:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.duet-number-buttons .duet-number-button:last-of-type::before{position:absolute;top:20%;left:0;width:1px;height:60%;content:\"\";background:rgb(212, 223, 229)}:host(.duet-theme-turva) .duet-number-buttons .duet-number-button:first-of-type::before{background:linear-gradient(to left, rgba(199, 202, 207, 0.2) 0%, rgba(199, 202, 207, 0.2) 1px, rgba(199, 202, 207, 0.1) 1px, rgba(199, 202, 207, 0) 100%)}:host(.duet-theme-turva) .duet-number-buttons .duet-number-button:last-of-type::before{background:rgb(222, 224, 228)}";
12517
13021
  var DuetNumberInputStyle0 = duetNumberInputCss;
12518
13022
 
12519
13023
  /**
@@ -12527,6 +13031,7 @@ class DuetNumberInput {
12527
13031
  this.duetBlur = createEvent$2(this, "duetBlur", 7);
12528
13032
  this.duetFocus = createEvent$2(this, "duetFocus", 7);
12529
13033
  this.inputId = createID("DuetInput");
13034
+ this.proxyId = createID("DuetInput");
12530
13035
  /**
12531
13036
  * Component event handling.
12532
13037
  */
@@ -12546,6 +13051,7 @@ class DuetNumberInput {
12546
13051
  }
12547
13052
  };
12548
13053
  this.handleChange = (ev) => {
13054
+ ev.stopPropagation();
12549
13055
  const input = ev.target;
12550
13056
  if (input && input.value) {
12551
13057
  try {
@@ -12766,6 +13272,9 @@ class DuetNumberInput {
12766
13272
  disconnectLanguageChangeObserver(this);
12767
13273
  unsubscribeTabbingChange(this);
12768
13274
  }
13275
+ componentDidRender() {
13276
+ proxyInputToSlot(this.element, this.proxyId, this.name, this.value ? `${this.value} ${this.unit}` : "", this.required);
13277
+ }
12769
13278
  /**
12770
13279
  * Sets focus on the specified `duet-number-input`. Use this method instead of the global
12771
13280
  * `input.focus()`.
@@ -12799,14 +13308,19 @@ class DuetNumberInput {
12799
13308
  * Always the last one in the class.
12800
13309
  */
12801
13310
  render() {
12802
- {
12803
- return;
12804
- }
13311
+ const identifier = this.identifier || this.inputId;
13312
+ const maxlength = `${this.localizeValue(this.max)} ${this.unit}`.length;
13313
+ const cleanedValue = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
13314
+ return (hAsync(Host, { key: '27634a68033872b85ed0ac1d2baa3ab694680d41', class: {
13315
+ "duet-theme-turva": this.theme === "turva",
13316
+ "duet-expand": this.expand,
13317
+ "duet-m-0": this.margin === "none",
13318
+ } }, hAsync("div", { key: '6827f8b2e63c45d4c1a102af1cc451806e22c6b2', class: "duet-number-container" }, hAsync("duet-input", { key: '6ebc92848603fb489852d878a1d26aa75401527d', ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value} ${this.unit}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, hAsync("slot", { key: '8d5588224b8d90b55c49aedf839923eccff05d0f', name: "tooltip" }), hAsync("div", { key: '26ecdb715139c53e42ad0365ddde6b73b66ba525', class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, hAsync("button", { key: '9ee76518bfa2851ddb3c195b1f2ae44b55b81a94', disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" }, hAsync("duet-visually-hidden", { key: 'af735c2a71d3ec8f158bad31f424f58eda96b371' }, this.accessibleSubtract, " ", this.step), hAsync("duet-icon", { key: '315b5a60f0c2930f1ebdbf54fa61b6f00ca2a2cc', icon: actionSubtract.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), hAsync("button", { key: '9b0f29334057be1214d1ed30a1cf192f5a40bca2', disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" }, hAsync("duet-visually-hidden", { key: 'dad3dcf4e65c811e03147889494f664b875f0b95' }, this.accessibleAdd, " ", this.step), hAsync("duet-icon", { key: 'd9662ee9fd8d82605e4ee26c0b00826500674b0a', icon: actionAdd.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (hAsync("duet-visually-hidden", { key: '974d023f255a72941f249af920c4ffbff4786b37', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
12805
13319
  }
12806
13320
  get element() { return getElement(this); }
12807
13321
  static get style() { return DuetNumberInputStyle0; }
12808
13322
  static get cmpMeta() { return {
12809
- "$flags$": 6,
13323
+ "$flags$": 9,
12810
13324
  "$tagName$": "duet-number-input",
12811
13325
  "$members$": {
12812
13326
  "language": [1025],
@@ -12890,7 +13404,7 @@ class DuetOverlay {
12890
13404
  * Always the last one in the class.
12891
13405
  */
12892
13406
  render() {
12893
- return (hAsync(Host, { key: 'b97ad015b5683c5bf102b82383615099b3c3c8e5', "aria-hidden": "true" }, hAsync("div", { key: 'c41a21343f6350020a9deb5c1208aed416714531', style: { zIndex: this.zIndex }, class: {
13407
+ return (hAsync(Host, { key: '06582c6852e2d6982612c3acc9fa8bbd09a275e3', "aria-hidden": "true" }, hAsync("div", { key: '4e3a9651ea3d397a1ea974216514c2e29ff35082', style: { zIndex: this.zIndex }, class: {
12894
13408
  "duet-overlay": true,
12895
13409
  "duet-theme-turva": this.theme === "turva",
12896
13410
  "keep-stacking-context": this.keepStackingContext,
@@ -12960,12 +13474,12 @@ class DuetPageHeading {
12960
13474
  */
12961
13475
  render() {
12962
13476
  const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
12963
- return (hAsync("div", { key: '2a170e4c6fc33fdba313ded3c3f01a78c9ac0866', class: {
13477
+ return (hAsync("div", { key: '3f0397cbed93e749d4486cf990007f59ea93ce13', class: {
12964
13478
  "duet-page-heading": true,
12965
13479
  "duet-theme-turva": this.theme === "turva",
12966
13480
  "has-icon": !!this.icon,
12967
13481
  [layout]: true,
12968
- } }, hAsync("div", { key: '4b02d9d0134c3cb06bba6bdbd1b20f9d2d26e56a', class: "background" }, this.theme === "turva" && hAsync("div", { key: 'ba779c516b2646ea7b062bd893a5928a91770b51', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '975ea6aff24cd955e428eb5c92312984dc034d56', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: 'cc7486a21275418c5bb85daef2f87a8272b94aa7', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: '47ea901848ac5c4e50bc3c961d9bfa6f904d6d37', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: '370ac1f81a9d150ca01159b00a60cd8a730aef5f', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: '0b151e3015924091b9e9a35145e23754234641ef', class: "heading" }, hAsync("slot", { key: '89c063ef8fceed0f4c75255f29dcd7200f394976', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (hAsync("div", { key: 'ee3688b0e6d3145fbf47501fc353caa398898e5f' }, hAsync("duet-spacer", { key: '0b86d382eee4c4287419fe1c660970f943c32cba', size: "large" }), hAsync("div", { key: 'e0010cce92077310161c55fd134b022eb8f7e035', role: "presentation" }, this.progressIndicator()))))));
13482
+ } }, hAsync("div", { key: '1b66828676f13f2949f1ae77f184a1febc9c1f9c', class: "background" }, this.theme === "turva" && hAsync("div", { key: 'c7d6eb30d8a969debc22e0dac7e5d63a1ad23431', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: 'eff5674f587d91449d40c1c58ec1d736123dae4b', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: 'bead352c11517d3cdc8bbe778872a5d1aeac3933', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: 'af08880826e40a0c82a800625801f4783fe9bac8', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: 'a0b0a5baf486627155ea0e5bb385752b62d5617a', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: '12d4f1a5336805f643f0a3aa25c40a688e92253c', class: "heading" }, hAsync("slot", { key: 'ff2c2f3da8dd82cd5943f24f1bedc609a13ae5d1', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (hAsync("div", { key: 'a1e2fe5be47a7fb043006deddc1e728154062db9' }, hAsync("duet-spacer", { key: '7b1923732eec7a9b35f9b5b8a15687be6212fd90', size: "large" }), hAsync("div", { key: 'b6c4d4905ea4a19c0b466e1492debe516a0e2e6c', role: "presentation" }, this.progressIndicator()))))));
12969
13483
  }
12970
13484
  get element() { return getElement(this); }
12971
13485
  static get style() { return DuetPageHeadingStyle0; }
@@ -13320,32 +13834,32 @@ class DuetPagination {
13320
13834
  * Always the last one in the class.
13321
13835
  */
13322
13836
  render() {
13323
- return (hAsync(Host, { key: '756ad0511064e85742b3bb271bdd2a468f3f1eb0', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("nav", { key: '4d235370cef9fc2b6d9448b2b02a02eefc04b97b', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
13837
+ return (hAsync(Host, { key: '63ebab0bf7dea080db742a196ec6cadd4faf3422', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("nav", { key: '5b4e1021fb02a66c75a69bd9d38aa122b02f0853', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
13324
13838
  "duet-pagination-nav": true,
13325
13839
  [`duet-pagination-variation-${this.variation}`]: true,
13326
- } }, this.numbersStore !== "" && (hAsync("div", { key: '4e98bb73d78c7cb713ac1de78d9d5ccbdce1687d', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, hAsync("duet-badge", { key: '9d16f94604abbcfbbd8b538395e46c024b88c0a2', theme: this.theme }, "jump to page : ", this.numbersStore))), hAsync("ol", { key: '7bbec70a660779cabba7847dd76732e9bfb71f1b', id: this.listId, class: {
13840
+ } }, this.numbersStore !== "" && (hAsync("div", { key: '93e3182cbbc58a95b98717a46d7b12493ec0818d', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, hAsync("duet-badge", { key: '2c4d460cefbb01010e16f981ee02a88c72676697', theme: this.theme }, "jump to page : ", this.numbersStore))), hAsync("ol", { key: '34474987dd9a26aea05634587138e95af4fe450c', id: this.listId, class: {
13327
13841
  "duet-pagination": true,
13328
13842
  "duet-pagination-is-dimmed": this.numbersStore !== "",
13329
- }, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '974c29ddf4de1b7aca6e24f289be9fbb4177eb56', class: {
13843
+ }, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: 'c69df7d962b26a27a954c7d8bef8f535505a4cd1', class: {
13330
13844
  "duet-pagination-page-button": true,
13331
13845
  "duet-pagination-button-first": true,
13332
- }, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: 'd8fd5f3a859d470c11c15ae197313cc6c8983fc2', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), hAsync("li", { key: 'c03e92b8f6ba758dd49e881380c964c87f155dcc', class: {
13846
+ }, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '901a11fde18ff828ab5ee44301b430f1551ff721', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), hAsync("li", { key: 'deb4f81302119384f87796c6c571d3bff92394cc', class: {
13333
13847
  "duet-pagination-page-button": true,
13334
13848
  "duet-pagination-button-first": true,
13335
- }, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '71b346d9a35b397951223fb32bdd449441dab0bf', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
13849
+ }, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '43edc2b4276101f2a199656d97905fbb5c318d01', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
13336
13850
  (this.current <= 1 && this.processedPageLinks) ||
13337
- this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '142ba228678916f8f9a69de0c8f38430c6db7623' }, hAsync("li", { key: '6e2370fdf3f65c69d30ccee081b6426c12267a11', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: '887ee7242f007578beb3b1a59702ab619d0a7e5e', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, hAsync("div", { key: '0b5d04b555f074972abcc93a70a0d80bdadabcd4', class: "duet-pagination-page-number" }, "1"))), hAsync("li", { key: '3cbe3bbf9ef3406f2a98aa736f692aaf87119857', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: '462643a69aeecc463a23ba22f0bf79ea8c4456c3', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, hAsync("div", { key: 'fa748ff5b134b6a0a3a4550f0073fbf45baf2337', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
13338
- this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '0459e62e54d351fa5f22afa7afb3a3a6027df6c1' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (hAsync("li", { key: 'fb76ad813a83768da7a52230342170198efc321d', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: '14b9164e41b63d0adbbfe5ef29074a46695a44d6', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, hAsync("div", { key: '551f91a348760b5101e88adc3a3d8a3d692fc804', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), hAsync("li", { key: '454ccc661d104be10d0a3908fa7516e1f627fb57', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: '01eeca39b9de17e25c39ffec6296c26920b86380', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
13851
+ this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (hAsync(Fragment, { key: 'e7bb804999bcc0049a36cee1cfed6eace4f69a9d' }, hAsync("li", { key: 'bc8e86d51a05ed7207c61130e03adab99972d990', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: 'c8cf1aa4d17fa21f4bac1df94d567ee7c6518926', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, hAsync("div", { key: '949333bff2072db55bc94f2038c0dc17086075f7', class: "duet-pagination-page-number" }, "1"))), hAsync("li", { key: 'a60a0b5db53ce3ab2d53ef5d621cb116bfc54a24', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: 'ac69e69536e75c62726f5d0ebc403575ff059b2b', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, hAsync("div", { key: 'e6fa249f0f887d99b24f8d98f8b2872c7d259ffe', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
13852
+ this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '68d65a89a09e8f96f8079165c10677ea7e28eb16' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (hAsync("li", { key: '2b3a962f01999ee98fa7404fb492d70facca7ce0', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: '0007c2b7bfb175274c0d9bf0b6c44cb391573a4a', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, hAsync("div", { key: '6fe7f71ea889cf3338600fd1bd0eb4f7ded1c02a', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), hAsync("li", { key: 'e2e34841b26b18aca84c76f43ef2d185528fefe4', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: '8947ea4940b1e8df4759fdf76fc53c2f77febaf7', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
13339
13853
  ? this.processedPageLinks[this.processedPageLinks.length - 1]
13340
- : undefined }, hAsync("div", { key: 'f4c0ca8a738f21233a966611c8ce15d7f776c7d7', class: "duet-pagination-page-number" }, this.totalPages))))), hAsync("li", { key: '3dc850213f9f9c7aac8cabba1901740d6068cdde', class: {
13854
+ : undefined }, hAsync("div", { key: '60e347e323fd4361a1cf408ee51e4bc67a9230d3', class: "duet-pagination-page-number" }, this.totalPages))))), hAsync("li", { key: '978ffca86c84b3fed8deaa3842f5ce5d1176699e', class: {
13341
13855
  "duet-pagination-page-button": true,
13342
13856
  "duet-pagination-button-last": true,
13343
- }, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: 'ddf5b89fac538ccdae84e031bea7a2830f656bc0', disabled: !!((this.current === this.totalPages &&
13857
+ }, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '1d9c0a03632a95f0da443958fc9701410407ad24', disabled: !!((this.current === this.totalPages &&
13344
13858
  this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
13345
- (this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '78c2482a7d36358e53000e55c19057c2b4585165', class: {
13859
+ (this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '6387079d576477e9fd25739cc58563a16f3d7f00', class: {
13346
13860
  "duet-pagination-page-button": true,
13347
13861
  "duet-pagination-button-last": true,
13348
- }, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '330747e12a1e3d8bc0fb74f3945d99c06d8132d0', disabled: (this.current === this.totalPages &&
13862
+ }, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '6b41bfa37ce32dbc2a977aa9110659c8720d04ab', disabled: (this.current === this.totalPages &&
13349
13863
  this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
13350
13864
  this.disabled, accessibleLabel: this.accessibleLabels.last_page, title: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), "icon-name": "action-move-to-last", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.totalPages - 1] : undefined })))))));
13351
13865
  }
@@ -13419,7 +13933,7 @@ class DuetParagraph {
13419
13933
  const color = getColorByName(this.color);
13420
13934
  // aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
13421
13935
  // are not announced when placed inside duet-modal
13422
- return (hAsync(Host, { key: 'e9f8164c6795c950d1f1340cc8a723113f2e231a', "aria-describedby": this.id }, hAsync("p", { key: '87942327cc0a685a6d1435adc090b8c0aa5c54ac', id: this.id, class: {
13936
+ return (hAsync(Host, { key: '3cf5f2bd4aeee4bd1c6314a7ac8d54539a87b895', "aria-describedby": this.id }, hAsync("p", { key: '1f9c9162b385ac72e8a47f7f80b69293ea6bfc78', id: this.id, class: {
13423
13937
  "duet-paragraph": true,
13424
13938
  "duet-paragraph-small": this.size === "small",
13425
13939
  "duet-paragraph-semi-bold": this.weight === "semi-bold",
@@ -13427,7 +13941,7 @@ class DuetParagraph {
13427
13941
  "duet-m-0": this.margin === "none",
13428
13942
  [this.variation]: true,
13429
13943
  "duet-theme-turva": this.theme === "turva",
13430
- }, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '858b0de4a678c0320e76f1479d7e9a7202a749ac' }))));
13944
+ }, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: 'd5c6a5b6d69f600454a85ad01f39406fd57b7188' }))));
13431
13945
  }
13432
13946
  get element() { return getElement(this); }
13433
13947
  static get style() { return DuetParagraphStyle0; }
@@ -15171,11 +15685,11 @@ class DuetPopupMenuItem {
15171
15685
  "duet-theme-turva": this.theme === "turva",
15172
15686
  "active-descendant": this.activeDescendant,
15173
15687
  };
15174
- return (hAsync(Host, { key: '02e7a087e9f8df28e015c45b2182ab19167c39a2', role: this.accessibleRole }, hAsync(TagName, { key: 'ac6c8e523bb7dbd6ce78dfb8e5ba1a34c765f538', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (hAsync("duet-icon", { key: '003f72c807601366ce44ba41c92d01cc3867a995', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: '5936e48916d5c665070e490074e5310b52ad0cd9', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: '4f365167fa1ae20a9a26f91352791b8b94007088' })), (this.trailingIcon || this.active || (this.url && this.external)) && (hAsync("duet-icon", { key: '52e54059ac3b56ad022ed42085029a58b7010806', name: this.url && this.external
15688
+ return (hAsync(Host, { key: 'd8a0f9f62ecc1abedce8431e27331ff3d88f4c24', role: this.accessibleRole }, hAsync(TagName, { key: '998d7156c8a1e789405240a5927923e83130eb48', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (hAsync("duet-icon", { key: 'db04fcce497b69525b6dafe5179aaff15a61a98f', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: 'f67feb833576c6272f80097877c16cc0c68f41f8', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: 'bd8abe74d51a7398ab7ba70813dc1449ad5e0bb4' })), (this.trailingIcon || this.active || (this.url && this.external)) && (hAsync("duet-icon", { key: '3f75ee757d5ff1b5fa9055b897fd51c31f6919d5', name: this.url && this.external
15175
15689
  ? actionNewWindowSmall.title
15176
15690
  : this.active
15177
15691
  ? "messaging-checked-small"
15178
- : this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: '16fb5260a8d79c5b20bc7dcbb0d6fb078d41f0d5', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
15692
+ : this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: 'e716737df75eb8ee5512b2075e37ef539fe4ef2c', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
15179
15693
  }
15180
15694
  get element() { return getElement(this); }
15181
15695
  static get style() { return DuetPopupMenuItemStyle0; }
@@ -15257,7 +15771,7 @@ class DuetProgress {
15257
15771
  get element() { return getElement(this); }
15258
15772
  static get style() { return DuetProgressStyle0; }
15259
15773
  static get cmpMeta() { return {
15260
- "$flags$": 0,
15774
+ "$flags$": 9,
15261
15775
  "$tagName$": "duet-progress",
15262
15776
  "$members$": {
15263
15777
  "accessibleDescribedBy": [1, "accessible-described-by"],
@@ -15330,12 +15844,12 @@ class DuetPromoCard {
15330
15844
  backgroundColor: backgroundColor ? backgroundColor : "none",
15331
15845
  };
15332
15846
  const TagName = this.url ? "a" : "div";
15333
- return (hAsync(Host, { key: 'c1a1de7dff739a9682d326b8d95ebc1a6b654116', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: 'ca9a98e6b0fd507a266e7df4ea2c9f633c025e94', class: {
15847
+ return (hAsync(Host, { key: 'cf0d6881f2f47a55a8143ca7b3456883bb2d772a', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: '928893cdc7ec06b1d2c063bb97534847c647272e', class: {
15334
15848
  "duet-promo-card": true,
15335
15849
  "duet-theme-turva": this.theme === "turva",
15336
15850
  "no-bg-color": !this.backgroundColor,
15337
15851
  "duet-promo-card-link": !!this.url,
15338
- }, style: bannerStyles }, hAsync(TagName, { key: 'ecd0f55f11b5ab945cb5f8731bfcdf0f9896329f', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: '5e172fe31a4f2f5f2a1a332fa8d8b5a1cbf3d01e', class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { key: '0dd4c9c41fea8db65956d2c844fb78a97ab279ef', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: '2d89e751682632487cfcefcdce063886070711a1', class: "pre-heading" }, hAsync("slot", { key: '0e4a51c40d95dd0080de19cd45bf70e117f4a131', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: '72a74b257a084c3ddf7e7285da10875c21db8790', class: "heading" }, hAsync("duet-heading", { key: 'b34a76dad87e9726296d775f3145b2c7b640bee4', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, hAsync("span", { key: '3fd56ffd4b2600856059091709f347f689e8a017' }, hAsync("slot", { key: 'ce33481480a296bc9884ed1de8b77e31232b0f23', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: 'a3c2f1b7a9bc92599183ce1ea8aabebd0849b30b', class: "description" }, hAsync("duet-paragraph", { key: '2e90a512af33afbf6635faa626ff038d3beb2034', theme: this.theme, margin: "none", color: this.textColor }, hAsync("span", { key: '0d774578043b823e14e314169fdcde5d4a4f002d' }, hAsync("slot", { key: '2da893d28fe769d4d5b9bc46104be41223eb96d8', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: 'b20a53961de0cf3392ab726634262978ecb3a6f1', class: "action" }, hAsync("slot", { key: '1221939ab0a8061182f7b648c104ad75ae6f36b4', name: "action" }))))))));
15852
+ }, style: bannerStyles }, hAsync(TagName, { key: '364938761185a64da7aa41156bc9537a98214cd9', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: '2c0cf1389b24e9f83d2ceaa0f8c9b7d61497be6d', class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { key: '1d0b3d4c573a508916a2764704371938cde06015', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: '2b37c5cdafaed100d881143c347afb3c61001204', class: "pre-heading" }, hAsync("slot", { key: '25a7c6af10e95f45da8d0b541f62deef43e1425c', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: 'd442b4843e6ef12edaf638fa40ea1dfeb7530b67', class: "heading" }, hAsync("duet-heading", { key: 'a958109c2ee15936268c1f4d2442c882b2201f23', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, hAsync("span", { key: 'c0e6cfbc00e165a7d268e523f70fb9bd35319d74' }, hAsync("slot", { key: '0486de64216f817a4beea3c033cc8358b1c5e0e4', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: '290862c134b87ef88be10e76b8bbcdd4d3b81e4a', class: "description" }, hAsync("duet-paragraph", { key: '62c172d0ca03aaf5a07eebc9ba746522b3ad4111', theme: this.theme, margin: "none", color: this.textColor }, hAsync("span", { key: '2e1aa4953e82e554989d540ea3457b4e3bf41ab1' }, hAsync("slot", { key: 'e84b12f234411a1cc96e6e3162a1c0c18014dd2b', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: '2fb7c4c6c1c6e1726ea7ae5b2dc98964523f7161', class: "action" }, hAsync("slot", { key: '62ed799aa718b7dfe639a2c06e868ed5d019d881', name: "action" }))))))));
15339
15853
  }
15340
15854
  get element() { return getElement(this); }
15341
15855
  static get style() { return DuetPromoCardStyle0; }
@@ -15358,7 +15872,7 @@ class DuetPromoCard {
15358
15872
  }; }
15359
15873
  }
15360
15874
 
15361
- const duetRadioCss = "*.sc-duet-radio,*.sc-duet-radio::after,*.sc-duet-radio::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-radio-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:28px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-radio-h:last-child,.sc-duet-radio-h:last-of-type{margin-right:0 !important}.vertical.sc-duet-radio-h{margin-right:0 !important}.horizontal.sc-duet-radio-h{margin-bottom:0 !important;width:auto}.horizontal.sc-duet-radio-h .duet-label.sc-duet-radio .duet-label-content.sc-duet-radio{max-width:100%}@media (min-width: 48em){.horizontal-responsive.sc-duet-radio-h{margin-right:28px !important;margin-bottom:0 !important;width:auto}.horizontal-responsive.sc-duet-radio-h:last-child,.horizontal-responsive.sc-duet-radio-h:last-of-type{margin-right:0 !important}.horizontal-responsive.sc-duet-radio-h .duet-label.sc-duet-radio .duet-label-content.sc-duet-radio{max-width:100%}}.duet-m-0.sc-duet-radio-h{margin:0 !important}.sc-duet-radio-h:last-child:not(:only-child){margin-right:0 !important;margin-bottom:0 !important}.duet-label.sc-duet-radio{position:relative;z-index:100;display:flex;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;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77);word-break:break-word;overflow-wrap:break-word;cursor:pointer;background:transparent}.duet-theme-turva.sc-duet-radio .duet-label.sc-duet-radio{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-label.sc-duet-radio .duet-label-content.sc-duet-radio{flex-grow:1;font-size:1rem}.duet-label-hidden.sc-duet-radio .duet-label.sc-duet-radio{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-radio-container.sc-duet-radio{position:relative;width:100%;height:100%}.duet-radio.sc-duet-radio{padding:14px !important;position:absolute;top:0;left:0;z-index:200;width:100%;height:100%;cursor:pointer;opacity:0}.duet-radio.sc-duet-radio+label.sc-duet-radio::before{z-index:100;flex-shrink:0;width:20px;height:20px;margin:2px 10px 1px 1px;content:\"\";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:50%}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(23, 28, 58)}.duet-radio.sc-duet-radio:focus+label.sc-duet-radio::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio:focus+label.sc-duet-radio::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-radio.sc-duet-radio:checked+label.sc-duet-radio::after{position:absolute;top:6px;left:5px;z-index:200;flex-shrink:0;width:12px;height:12px;content:\"\";background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(23, 28, 58)}.duet-radio[disabled].sc-duet-radio{cursor:default}.duet-radio[disabled].sc-duet-radio+label.sc-duet-radio{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio+label.sc-duet-radio{color:rgb(143, 147, 158)}.duet-radio[disabled].sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(143, 147, 158)}.duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::before{border:1px solid rgb(127, 150, 165)}.duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(127, 150, 165)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}";
15875
+ const duetRadioCss = "*,*::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:28px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.vertical){margin-right:0 !important}:host(.horizontal){margin-bottom:0 !important;width:auto}:host(.horizontal) .duet-label .duet-label-content{max-width:100%}@media (min-width: 48em){:host(.horizontal-responsive){margin-right:28px !important;margin-bottom:0 !important;width:auto}:host(.horizontal-responsive):last-child,:host(.horizontal-responsive):last-of-type{margin-right:0 !important}:host(.horizontal-responsive) .duet-label .duet-label-content{max-width:100%}}:host(.duet-m-0){margin:0 !important}:host(:last-child:not(:only-child)){margin-right:0 !important;margin-bottom:0 !important}.duet-label{position:relative;z-index:100;display:flex;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;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77);word-break:break-word;overflow-wrap:break-word;cursor:pointer;background:transparent}.duet-theme-turva .duet-label{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-label .duet-label-content{flex-grow:1;font-size:1rem}.duet-label-hidden .duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-radio-container{position:relative;width:100%;height:100%}.duet-label::before{z-index:100;flex-shrink:0;width:20px;height:20px;margin:2px 10px 1px 1px;content:\"\";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:50%}.duet-theme-turva .duet-label::before{border-color:rgb(23, 28, 58)}.duet-label.focus::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-label.focus::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-label.checked::after{position:absolute;top:6px;left:5px;z-index:200;flex-shrink:0;width:12px;height:12px;content:\"\";background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva .duet-label.checked::after{background:rgb(23, 28, 58)}.duet-label.disabled{color:rgb(98, 121, 138)}.duet-theme-turva .duet-label.disabled{color:rgb(143, 147, 158)}.duet-label.disabled::before{border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-label.disabled::before{border-color:rgb(143, 147, 158)}.duet-label.disabled.checked::before{border:1px solid rgb(127, 150, 165)}.duet-label.disabled.checked::after{background:rgb(127, 150, 165)}.duet-theme-turva .duet-label.disabled.checked::after{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}*::slotted([slot=input]){padding:14px !important;position:absolute;top:0;left:0;z-index:200;width:100%;height:100%;cursor:pointer;opacity:0}*::slotted([slot=input][disabled]){cursor:default}";
15362
15876
  var DuetRadioStyle0 = duetRadioCss;
15363
15877
 
15364
15878
  /**
@@ -15374,6 +15888,70 @@ class DuetRadio {
15374
15888
  * Own Properties.
15375
15889
  */
15376
15890
  this.radioId = createID("DuetRadio");
15891
+ this.radioInputListenersRemove = radioInput => {
15892
+ radioInput.removeEventListener("change", this.onChange);
15893
+ //radioInput.removeEventListener("click", this.onRadioClick)
15894
+ radioInput.removeEventListener("focus", this.onFocus);
15895
+ radioInput.removeEventListener("blur", this.onBlur);
15896
+ };
15897
+ this.radioInputListenersAdd = radioInput => {
15898
+ radioInput.addEventListener("change", this.onChange);
15899
+ //radioInput.addEventListener("click", this.onRadioClick)
15900
+ radioInput.addEventListener("focus", this.onFocus);
15901
+ radioInput.addEventListener("blur", this.onBlur);
15902
+ };
15903
+ this.radioInputSetUp = () => {
15904
+ const slotInput = this.element.querySelector("input[slot=input]");
15905
+ const radioInput = slotInput || document.createElement("input");
15906
+ radioInput.slot = "input";
15907
+ radioInput.disabled = this.disabled || this.groupDisabled ? true : undefined;
15908
+ radioInput.id = this.identifier || this.radioId;
15909
+ radioInput.type = "radio";
15910
+ radioInput.name = this.name;
15911
+ radioInput.value = this.value;
15912
+ radioInput.checked = this.checked;
15913
+ if (this.accessibleIndex) {
15914
+ radioInput.tabIndex = Number(this.accessibleIndex);
15915
+ }
15916
+ radioInput.required = this.required;
15917
+ radioInput.role = this.role;
15918
+ if (this.accessibleControls) {
15919
+ radioInput.setAttribute("aria-controls", this.accessibleControls);
15920
+ }
15921
+ if (this.accessibleActiveDescendant) {
15922
+ radioInput.setAttribute("aria-activedescendant", this.accessibleActiveDescendant);
15923
+ }
15924
+ if (this.accessibleOwns) {
15925
+ radioInput.setAttribute("aria-owns", this.accessibleOwns);
15926
+ }
15927
+ if (this.accessibleDescribedBy) {
15928
+ radioInput.setAttribute("aria-describedby", this.accessibleDescribedBy);
15929
+ }
15930
+ if (this.accessibleLabelledBy) {
15931
+ radioInput.setAttribute("aria-labelledby", this.accessibleLabelledBy);
15932
+ }
15933
+ if (this.accessibleDetails) {
15934
+ radioInput.setAttribute("aria-details", this.accessibleDetails);
15935
+ }
15936
+ if (this.accessibleDescription) {
15937
+ radioInput.setAttribute("aria-description", this.accessibleDescription);
15938
+ }
15939
+ if (this.hasLabel) {
15940
+ const slotContent = getElementsFromNamedSlot(this.element, "label");
15941
+ radioInput.ariaLabel = slotContent.length > 0 ? slotContent[0].textContent : this.labelElement.textContent;
15942
+ }
15943
+ else {
15944
+ radioInput.ariaLabel = this.labelElement.textContent;
15945
+ }
15946
+ if (slotInput) {
15947
+ this.radioInputListenersRemove(radioInput);
15948
+ }
15949
+ else {
15950
+ this.element.appendChild(radioInput);
15951
+ }
15952
+ this.radioInputListenersAdd(radioInput);
15953
+ this.focusableElement = radioInput;
15954
+ };
15377
15955
  /**
15378
15956
  * Component event handling.
15379
15957
  */
@@ -15381,7 +15959,9 @@ class DuetRadio {
15381
15959
  ev.stopPropagation();
15382
15960
  };
15383
15961
  this.onChange = (ev) => {
15384
- this.checked = this.nativeInput.checked || false;
15962
+ const input = this.focusableElement;
15963
+ const inputChecked = input.checked;
15964
+ this.checked = inputChecked;
15385
15965
  if (this.checked && !this.blockEvents) {
15386
15966
  this.duetChange.emit({
15387
15967
  originalEvent: ev,
@@ -15392,6 +15972,7 @@ class DuetRadio {
15392
15972
  }
15393
15973
  };
15394
15974
  this.onBlur = (ev) => {
15975
+ this.focus = false;
15395
15976
  this.duetBlur.emit({
15396
15977
  originalEvent: ev,
15397
15978
  checked: this.checked,
@@ -15400,6 +15981,7 @@ class DuetRadio {
15400
15981
  });
15401
15982
  };
15402
15983
  this.onFocus = (ev) => {
15984
+ this.focus = true;
15403
15985
  this.duetFocus.emit({
15404
15986
  originalEvent: ev,
15405
15987
  checked: this.checked,
@@ -15407,6 +15989,7 @@ class DuetRadio {
15407
15989
  component: "duet-radio",
15408
15990
  });
15409
15991
  };
15992
+ this.focus = false;
15410
15993
  this.accessibleActiveDescendant = undefined;
15411
15994
  this.accessibleDetails = undefined;
15412
15995
  this.accessibleLabelledBy = undefined;
@@ -15435,32 +16018,41 @@ class DuetRadio {
15435
16018
  */
15436
16019
  componentWillLoad() {
15437
16020
  inheritGlobalTheme(this);
15438
- this.hasLabel = Array.from(this.element.children).filter(el => el.matches("[slot='label']")).length > 0
15439
- ;
16021
+ this.hasLabel = hasSlot(this.element, "label");
15440
16022
  if (this.value === undefined) {
15441
16023
  this.value = this.identifier;
15442
16024
  }
15443
16025
  }
16026
+ componentDidRender() {
16027
+ this.radioInputSetUp();
16028
+ }
15444
16029
  /**
15445
16030
  * Sets focus on the specified `duet-radio`. Use this method instead of the global
15446
16031
  * `input.focus()`.
15447
16032
  */
15448
16033
  async setFocus(options) {
15449
- this.nativeInput.focus(options);
16034
+ this.focusableElement.focus(options);
15450
16035
  }
15451
16036
  /**
15452
16037
  * render() function
15453
16038
  * Always the last one in the class.
15454
16039
  */
15455
16040
  render() {
15456
- {
15457
- return;
15458
- }
16041
+ return (hAsync(Host, { key: '45b1545ee1fba45f0e798ecc8d00e3a1008626f8', onClick: this.onClick, class: {
16042
+ horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
16043
+ "horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
16044
+ "duet-m-0": this.margin === "none",
16045
+ } }, hAsync("div", { key: '08a710d7eba8d2d525f28914ee1a607772193aad', class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("slot", { key: '0ae4454c2bbca3802ff1e39a9a8cc9fa8e5a0f55', name: "input" }), hAsync("label", { key: '135a95b34307d57a9af5fe5768da8df2a74e7803', inert: true, ref: element => (this.labelElement = element), class: {
16046
+ "duet-label": true,
16047
+ checked: this.checked,
16048
+ focus: this.focus,
16049
+ disabled: this.disabled || this.groupDisabled,
16050
+ } }, hAsync("div", { key: '908ecfc2809c9ff575ded9cc37c034921d7c4966', class: "duet-label-content" }, this.hasLabel ? hAsync("slot", { name: "label" }) : this.label)))));
15459
16051
  }
15460
16052
  get element() { return getElement(this); }
15461
16053
  static get style() { return DuetRadioStyle0; }
15462
16054
  static get cmpMeta() { return {
15463
- "$flags$": 6,
16055
+ "$flags$": 9,
15464
16056
  "$tagName$": "duet-radio",
15465
16057
  "$members$": {
15466
16058
  "accessibleActiveDescendant": [1, "accessible-active-descendant"],
@@ -15485,6 +16077,7 @@ class DuetRadio {
15485
16077
  "groupResponsive": [4, "group-responsive"],
15486
16078
  "checked": [1540],
15487
16079
  "value": [1537],
16080
+ "focus": [32],
15488
16081
  "setFocus": [64]
15489
16082
  },
15490
16083
  "$listeners$": undefined,
@@ -15493,7 +16086,7 @@ class DuetRadio {
15493
16086
  }; }
15494
16087
  }
15495
16088
 
15496
- const duetRadioGroupCss = "*.sc-duet-radio-group,*.sc-duet-radio-group::after,*.sc-duet-radio-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-radio-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-radio-group-h .duet-radio-group.sc-duet-radio-group{display:block}@media (min-width: 48em){.horizontal.sc-duet-radio-group-h .duet-radio-group.sc-duet-radio-group{display:flex}}.horizontal.sc-duet-radio-group-h .duet-radio-group.duet-no-stacking.sc-duet-radio-group{display:flex}.deut-radio-group.sc-duet-radio-group{width:100%}";
16089
+ const duetRadioGroupCss = "*,*::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%}:host(.horizontal) .duet-radio-group{display:block}@media (min-width: 48em){:host(.horizontal) .duet-radio-group{display:flex}}:host(.horizontal) .duet-radio-group.duet-no-stacking{display:flex}.deut-radio-group{width:100%}";
15497
16090
  var DuetRadioGroupStyle0 = duetRadioGroupCss;
15498
16091
 
15499
16092
  /**
@@ -15605,9 +16198,7 @@ class DuetRadioGroup {
15605
16198
  * Always the last one in the class.
15606
16199
  */
15607
16200
  render() {
15608
- {
15609
- return;
15610
- }
16201
+ return (hAsync(Host, { key: 'e516156e7c44831a8e14c4025a5533d4b2a4b7c9', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, hAsync("duet-fieldset", { key: 'dec5b7cb93bc57ea111b05a52dc0a3c2bf34cd79', label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (hAsync("duet-tooltip", { key: 'e26e641c572e513574e148f6fb7132a6456a5692', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '27b29b5694912bcbac44b04c4842eaf18acfb941', name: "tooltip" }), hAsync("div", { key: '6ddeead79d117c688fcb68166a7eecbd51f5b7df', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, hAsync("slot", { key: '3b8f61ca49010d8ebd8aed718c514a5e51f9feaf' })))));
15611
16202
  }
15612
16203
  get element() { return getElement(this); }
15613
16204
  static get watchers() { return {
@@ -15619,7 +16210,7 @@ class DuetRadioGroup {
15619
16210
  }; }
15620
16211
  static get style() { return DuetRadioGroupStyle0; }
15621
16212
  static get cmpMeta() { return {
15622
- "$flags$": 6,
16213
+ "$flags$": 9,
15623
16214
  "$tagName$": "duet-radio-group",
15624
16215
  "$members$": {
15625
16216
  "direction": [1],
@@ -15644,9 +16235,19 @@ class DuetRadioGroup {
15644
16235
  }; }
15645
16236
  }
15646
16237
 
15647
- const duetRangeSliderCss = "*.sc-duet-range-slider,*.sc-duet-range-slider::after,*.sc-duet-range-slider::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-range-slider-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-range-slider-h:last-child,.sc-duet-range-slider-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-range-slider-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-range-slider-h{width:100% !important}}.duet-m-0.sc-duet-range-slider-h{margin:0 !important}.duet-range-container.sc-duet-range-slider{position:relative;width:100%}.duet-output.sc-duet-range-slider{position:absolute;top:12px;right:0;z-index:200;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);background:rgb(255, 255, 255)}.duet-theme-turva.sc-duet-range-slider .duet-output.sc-duet-range-slider{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-range-disabled.sc-duet-range-slider .duet-output.sc-duet-range-slider{color:rgb(127, 150, 165)}.duet-range-disabled.duet-theme-turva.sc-duet-range-slider .duet-output.sc-duet-range-slider{color:rgb(143, 147, 158)}.duet-range.sc-duet-range-slider{position:relative;z-index:100;width:100%;height:4px;background:rgb(181, 198, 208);border-radius:4px}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider{background:rgb(199, 202, 207)}.duet-ie.sc-duet-range-slider .duet-range.sc-duet-range-slider{display:block;width:auto;height:26px;background:transparent !important}.duet-range.sc-duet-range-slider::-moz-range-track{height:1px;background:transparent !important;border:0;-moz-appearance:none}.duet-range.sc-duet-range-slider::-ms-track{color:transparent;background:transparent;border:0}.duet-range.sc-duet-range-slider:focus,.duet-range.sc-duet-range-slider:active{outline:0}.user-is-tabbing.sc-duet-range-slider-h .duet-range.sc-duet-range-slider:focus{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(0, 119, 179, 0.75)}.user-is-tabbing.sc-duet-range-slider-h .duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:focus{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(23, 28, 58, 0.75)}.duet-range.sc-duet-range-slider::-webkit-slider-runnable-track{background:transparent}.duet-range.sc-duet-range-slider::-webkit-slider-thumb{position:relative;width:24px;height:24px;cursor:-webkit-grab;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:50%;transition:box-shadow 300ms ease;-webkit-appearance:none}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-webkit-slider-thumb{border-color:rgb(143, 147, 158)}.duet-range.sc-duet-range-slider:active::-webkit-slider-thumb{cursor:-webkit-grabbing}.duet-range.sc-duet-range-slider::-moz-range-thumb{position:relative;width:24px;height:24px;cursor:-moz-grab;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:50%;appearance:none}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-moz-range-thumb{border-color:rgb(143, 147, 158)}.duet-range.sc-duet-range-slider:active::-moz-range-thumb{cursor:-moz-grabbing}.duet-range.sc-duet-range-slider::-ms-thumb{position:relative;width:24px;height:24px;overflow:visible;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:50%}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-ms-thumb{border-color:rgb(143, 147, 158)}.duet-range.sc-duet-range-slider:disabled{background:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled{background:rgb(199, 202, 207) !important}.duet-range.sc-duet-range-slider:disabled::-webkit-slider-thumb{cursor:default;background:rgb(181, 198, 208);border-color:transparent}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled::-webkit-slider-thumb{background:rgb(199, 202, 207);border-color:transparent}.duet-range.sc-duet-range-slider:disabled::-moz-range-thumb{cursor:default;background:rgb(181, 198, 208);border-color:transparent}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled::-moz-range-thumb{background:rgb(199, 202, 207);border-color:transparent}.duet-range.sc-duet-range-slider:disabled::-ms-thumb{cursor:default;background:rgb(181, 198, 208);border-color:transparent}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled::-ms-thumb{background:rgb(199, 202, 207);border-color:transparent}.duet-range.sc-duet-range-slider::-ms-fill-lower{height:4px;background:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-ms-fill-lower{background:rgb(198, 12, 48)}.duet-range.sc-duet-range-slider::-ms-fill-upper{height:4px;background:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-ms-fill-upper{background:rgb(199, 202, 207)}.duet-label-hidden.sc-duet-range-slider duet-label.sc-duet-range-slider,.duet-label-hidden.sc-duet-range-slider output.sc-duet-range-slider{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
16238
+ const duetRangeSliderCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;text-align:left;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-range-container{position:relative;width:100%}.duet-output{position:absolute;top:12px;right:0;z-index:200;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);background:rgb(255, 255, 255)}.duet-theme-turva .duet-output{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-range-disabled .duet-output{color:rgb(127, 150, 165)}.duet-range-disabled.duet-theme-turva .duet-output{color:rgb(143, 147, 158)}.duet-range{position:relative;z-index:100;width:100%;height:4px;background:rgb(181, 198, 208);border-radius:4px}.duet-theme-turva .duet-range{background:rgb(199, 202, 207)}.duet-ie .duet-range{display:block;width:auto;height:26px;background:transparent !important}.duet-range::-moz-range-track{height:1px;background:transparent !important;border:0;-moz-appearance:none}.duet-range::-ms-track{color:transparent;background:transparent;border:0}.duet-range:focus,.duet-range:active{outline:0}:host(.user-is-tabbing) .duet-range:focus{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(0, 119, 179, 0.75)}:host(.user-is-tabbing) .duet-theme-turva .duet-range:focus{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(23, 28, 58, 0.75)}.duet-range::-webkit-slider-runnable-track{background:transparent}.duet-range::-webkit-slider-thumb{position:relative;width:24px;height:24px;cursor:-webkit-grab;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:50%;transition:box-shadow 300ms ease;-webkit-appearance:none}.duet-theme-turva .duet-range::-webkit-slider-thumb{border-color:rgb(143, 147, 158)}.duet-range:active::-webkit-slider-thumb{cursor:-webkit-grabbing}.duet-range::-moz-range-thumb{position:relative;width:24px;height:24px;cursor:-moz-grab;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:50%;appearance:none}.duet-theme-turva .duet-range::-moz-range-thumb{border-color:rgb(143, 147, 158)}.duet-range:active::-moz-range-thumb{cursor:-moz-grabbing}.duet-range::-ms-thumb{position:relative;width:24px;height:24px;overflow:visible;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:50%}.duet-theme-turva .duet-range::-ms-thumb{border-color:rgb(143, 147, 158)}.duet-range:disabled{background:rgb(181, 198, 208) !important}.duet-theme-turva .duet-range:disabled{background:rgb(199, 202, 207) !important}.duet-range:disabled::-webkit-slider-thumb{cursor:default;background:rgb(181, 198, 208);border-color:transparent}.duet-theme-turva .duet-range:disabled::-webkit-slider-thumb{background:rgb(199, 202, 207);border-color:transparent}.duet-range:disabled::-moz-range-thumb{cursor:default;background:rgb(181, 198, 208);border-color:transparent}.duet-theme-turva .duet-range:disabled::-moz-range-thumb{background:rgb(199, 202, 207);border-color:transparent}.duet-range:disabled::-ms-thumb{cursor:default;background:rgb(181, 198, 208);border-color:transparent}.duet-theme-turva .duet-range:disabled::-ms-thumb{background:rgb(199, 202, 207);border-color:transparent}.duet-range::-ms-fill-lower{height:4px;background:rgb(0, 119, 179)}.duet-theme-turva .duet-range::-ms-fill-lower{background:rgb(198, 12, 48)}.duet-range::-ms-fill-upper{height:4px;background:rgb(181, 198, 208)}.duet-theme-turva .duet-range::-ms-fill-upper{background:rgb(199, 202, 207)}.duet-label-hidden duet-label,.duet-label-hidden output{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
15648
16239
  var DuetRangeSliderStyle0 = duetRangeSliderCss;
15649
16240
 
16241
+ const colors = {
16242
+ turva: {
16243
+ active: colorPrimaryTurva,
16244
+ inactive: colorGrayTurva,
16245
+ },
16246
+ default: {
16247
+ active: colorPrimary,
16248
+ inactive: colorGray,
16249
+ },
16250
+ };
15650
16251
  class DuetRangeSlider {
15651
16252
  constructor(hostRef) {
15652
16253
  registerInstance(this, hostRef);
@@ -15656,6 +16257,7 @@ class DuetRangeSlider {
15656
16257
  * Own Properties
15657
16258
  */
15658
16259
  this.rangeId = createID("DuetRange");
16260
+ this.proxyId = createID("DuetRange");
15659
16261
  /**
15660
16262
  * Component event handling.
15661
16263
  */
@@ -15719,6 +16321,9 @@ class DuetRangeSlider {
15719
16321
  disconnectedCallback() {
15720
16322
  unsubscribeTabbingChange(this);
15721
16323
  }
16324
+ componentDidRender() {
16325
+ proxyInputToSlot(this.element, this.proxyId, this.name, this.value, this.required);
16326
+ }
15722
16327
  /**
15723
16328
  * Sets focus on the specified `duet-range-slider`. Use this method instead of the global
15724
16329
  * `input.focus()`.
@@ -15737,14 +16342,25 @@ class DuetRangeSlider {
15737
16342
  * Always the last one in the class.
15738
16343
  */
15739
16344
  render() {
15740
- {
15741
- return;
15742
- }
16345
+ const identifier = this.identifier || this.rangeId;
16346
+ const theme = this.theme === "turva" ? "turva" : "default";
16347
+ const { inactive, active } = colors[theme];
16348
+ const percentage = this.calculatePercentage();
16349
+ const rangeStyles = {
16350
+ background: `-webkit-linear-gradient(left,${active} 0%,${active} ${percentage}%,${inactive} ${percentage}%)`,
16351
+ };
16352
+ return (hAsync(Host, { key: '88829030a8bbb0f4f4029de9ec16b04e3e476798', class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, hAsync("div", { key: 'be11c8a8f243506acbd30ee4676104dbcea9a1ba', class: {
16353
+ "duet-range-container": true,
16354
+ "duet-label-hidden": this.labelHidden,
16355
+ "duet-theme-turva": this.theme === "turva",
16356
+ "duet-ie": isInternetExplorer(),
16357
+ "duet-range-disabled": this.disabled,
16358
+ } }, hAsync("duet-label", { key: 'c732b5fee1e4bfdb9873dfea49c26fdc34d6b03d', theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small" }, this.label), hAsync("output", { key: '43e6503a9b071299e557c6e39b64679e32f8f483', "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), hAsync("input", { key: '2cc4a064e002ac2c4ae45d6fd13f0bdc3401f5de', onInput: this.onInput, onChange: this.onChange, ref: input => (this.nativeInput = input), type: "range", min: this.min, max: this.max, step: this.step, value: this.value, style: rangeStyles, "aria-label": this.label, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} ${this.unit}`, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, name: this.name, disabled: this.disabled, required: this.required, class: "duet-range" }))));
15743
16359
  }
15744
16360
  get element() { return getElement(this); }
15745
16361
  static get style() { return DuetRangeSliderStyle0; }
15746
16362
  static get cmpMeta() { return {
15747
- "$flags$": 2,
16363
+ "$flags$": 9,
15748
16364
  "$tagName$": "duet-range-slider",
15749
16365
  "$members$": {
15750
16366
  "theme": [1025],
@@ -15942,10 +16558,10 @@ class DuetRangeStepper {
15942
16558
  * Always the last one in the class.
15943
16559
  */
15944
16560
  render() {
15945
- return (hAsync("div", { key: '43d93bf62ed3c3b091933da841d015662b158e50', class: {
16561
+ return (hAsync("div", { key: 'e398ec0cf2d35150c78f4e3475fd7e4c95d646ad', class: {
15946
16562
  "duet-range-stepper": true,
15947
16563
  "duet-theme-turva": this.theme === "turva",
15948
- }, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '0eb7fa8f8e1f5853a16c85f8d9670c70d531f13a', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), hAsync("duet-action-button", { key: 'b89f2b93dfe5a510bf6acbdf30ce694ff1ac59dc', disabled: this.disabled || this.buttonLeftDisabled, class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small", title: "" }), hAsync("duet-action-button", { key: 'a9d84ec5096ae382828ee82ba75bd558b08d49ea', disabled: this.disabled || this.buttonRightDisabled, class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small", title: "" })));
16564
+ }, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '24a874579791e03416eb316216ea44c6d35d7e0b', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), hAsync("duet-action-button", { key: '13d2b13c96b44797b61192a0e99c63ec0098e7a6', disabled: this.disabled || this.buttonLeftDisabled, class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small", title: "" }), hAsync("duet-action-button", { key: 'd8b25262e3f9549252640e5479b83dd2c7ea4930', disabled: this.disabled || this.buttonRightDisabled, class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small", title: "" })));
15949
16565
  }
15950
16566
  get element() { return getElement(this); }
15951
16567
  static get watchers() { return {
@@ -16195,21 +16811,21 @@ class DuetScrollable {
16195
16811
  * Always the last one in the class.
16196
16812
  */
16197
16813
  render() {
16198
- return (hAsync(Host, { key: 'ba1e4f4c2221fec32507a3ba66829f2f34dcb225', class: {
16814
+ return (hAsync(Host, { key: 'b4198b556c21a0b793694cfc88c23d2ae01d50bf', class: {
16199
16815
  "duet-theme-turva": this.theme === "turva",
16200
16816
  "duet-theme-default": this.theme === "default",
16201
- } }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '5d9131e9e7be00a46d1f919d04127586cc9a6d91', class: {
16817
+ } }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: 'c15a9e37829ff7f41eb5c90156f78086777a44d7', class: {
16202
16818
  collapse: true,
16203
16819
  hide: !this.needsScrolling && !this.collapsed,
16204
- } }, hAsync("duet-button", { key: 'af675db06e61bd24d608ba0395ca54bd8feac172', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: '686ee5f4804f2a3ffd059778eee189633615bf37', name: "collapse-button-label" })))), hAsync("div", { key: '074caf18d31c3b9a019cebf7ca2e8ac6b7ca61e4', class: {
16820
+ } }, hAsync("duet-button", { key: '69ac59727a4efdf372e05a241e53f3f465278782', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: '9ae0e03e390f546425e0c4a36ba4e1b14e9df548', name: "collapse-button-label" })))), hAsync("div", { key: '693aa91ad582ae80b569a3d1c1cdcd6a2fd5b4fc', class: {
16205
16821
  "duet-scrollable-items": true,
16206
16822
  buttons: this.buttons,
16207
16823
  center: this.center,
16208
- } }, this.buttons && this.renderButton("left"), this.renderFadeOverlay("left"), hAsync("div", { key: '64cd0312d4a7b8db126efb7c153519d8c99f61a5', class: {
16824
+ } }, this.buttons && this.renderButton("left"), this.renderFadeOverlay("left"), hAsync("div", { key: 'f24739dbd27c222602e2aaf283e1ebdbc9a4af0b', class: {
16209
16825
  "duet-scrollable-list": true,
16210
16826
  collapsed: this.collapsed,
16211
16827
  [`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
16212
- }, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '380081180cef409cb8b9e6cd4e572e0699678137' })), this.renderFadeOverlay("right"), this.buttons && this.renderButton("right"))));
16828
+ }, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: 'a27f4a34f1c196b441eebf291c9cfd9e2a632299' })), this.renderFadeOverlay("right"), this.buttons && this.renderButton("right"))));
16213
16829
  }
16214
16830
  get element() { return getElement(this); }
16215
16831
  static get watchers() { return {
@@ -16254,13 +16870,13 @@ class DuetSectionLayout {
16254
16870
  * Always the last one in the class.
16255
16871
  */
16256
16872
  render() {
16257
- return (hAsync(Host, { key: '5a0fe7bda2f99a571bb9a91389d22bb429b92176', class: {
16873
+ return (hAsync(Host, { key: '7f434babace607653e64faabeddb9c27bb616862', class: {
16258
16874
  "duet-middle": this.middle,
16259
16875
  "duet-ie": isInternetExplorer(),
16260
- } }, hAsync("div", { key: 'fa8ce66fb4314c7b613db9d9c8a41a6184998e6f', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'eec70679e3914498d52cf5fabc0b6f107afcb263', class: {
16876
+ } }, hAsync("div", { key: '9fbdea587d94910e97eb9ecbea464c1778fc1ff8', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'f4c957ebabd014d3ebf626d7539f3542314ce0a1', class: {
16261
16877
  "duet-layout": true,
16262
16878
  [`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
16263
- } }, hAsync("section", { key: 'a6816d9b522355e91cd3e226d5501b50b27ca0cc', class: "duet-main" }, hAsync("slot", { key: 'be71578ddc8566d81734e0e036416767b0c42899' }))))));
16879
+ } }, hAsync("section", { key: 'd803f587fb3f7f481d22d2a3e3566bcd85c7f98b', class: "duet-main" }, hAsync("slot", { key: 'fb1c82948b2d25d0437c41743abf0f9ed666b4d5' }))))));
16264
16880
  }
16265
16881
  get element() { return getElement(this); }
16266
16882
  static get style() { return DuetSectionLayoutStyle0; }
@@ -16278,7 +16894,7 @@ class DuetSectionLayout {
16278
16894
  }; }
16279
16895
  }
16280
16896
 
16281
- const duetSelectCss = "*.sc-duet-select,*.sc-duet-select::after,*.sc-duet-select::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-select-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}.sc-duet-select-h:last-child,.sc-duet-select-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-select-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-select-h{width:100% !important}}.duet-select-variation-tiny.sc-duet-select-h,.duet-select-variation-compact.sc-duet-select-h{position:relative;top:-2px;width:72px;margin:0 !important;vertical-align:baseline}.duet-select-variation-compact.sc-duet-select-h{width:auto}.duet-m-0.sc-duet-select-h{margin:0 !important}duet-tooltip.sc-duet-select,.sc-duet-select-s>duet-tooltip{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-select,.sc-duet-select-s>duet-tooltip{position:relative;top:4px;right:auto}}.duet-select-placeholder.sc-duet-select{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-select-container.sc-duet-select{position:relative;width:100%}.duet-select-container.duet-select-variation-tiny.sc-duet-select{width:72px}.duet-select-wrapper.sc-duet-select{position:relative;width:100%;padding:15px 14px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-variation-tiny.sc-duet-select .duet-select-wrapper.sc-duet-select{width:81px;padding:0 !important}.duet-select-variation-compact.sc-duet-select .duet-select-wrapper.sc-duet-select{padding:0 !important;line-height:1}.duet-select-wrapper.sc-duet-select select.sc-duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:200;width:100%;height:100%;padding:0;margin:0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;cursor:pointer;border:0;outline:none;opacity:0}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{border-color:rgb(127, 150, 165);box-shadow:0 0 0 1px #909599}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{border-color:rgb(143, 147, 158);box-shadow:0 0 0 1px #747475}.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:hover+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(23, 28, 58)}.duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(0, 119, 179)}.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-select .duet-select-wrapper.sc-duet-select select.sc-duet-select:focus+.duet-select.sc-duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select{cursor:default !important}.duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select+.duet-select.sc-duet-select{color:rgb(8, 42, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva.sc-duet-select .duet-select-wrapper.sc-duet-select select[disabled].sc-duet-select+.duet-select.sc-duet-select{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-select-wrapper.sc-duet-select span.duet-keep-container-height.sc-duet-select{opacity:0}.duet-select-variation-compact.sc-duet-select .duet-select-wrapper.sc-duet-select span.duet-keep-container-height.sc-duet-select{display:none}.duet-select.sc-duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;display:block;width:100%;min-width:8rem;padding:12px 14px !important;padding-right:48px !important;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.has-error.sc-duet-select .duet-select.sc-duet-select{border-color:rgb(214, 28, 82) !important}.has-error.sc-duet-select .duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-select .duet-select.sc-duet-select{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-select .duet-select.sc-duet-select .duet-select-icon.sc-duet-select{color:rgb(214, 28, 82) !important}.duet-theme-turva.sc-duet-select .duet-select.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(143, 147, 158)}.duet-select.sc-duet-select svg.sc-duet-select{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-select .duet-select.sc-duet-select svg.sc-duet-select{color:rgb(23, 28, 58)}.duet-select-variation-tiny.sc-duet-select .duet-select.sc-duet-select,.duet-select-variation-compact.sc-duet-select .duet-select.sc-duet-select{width:72px;min-width:inherit;padding:0 !important;margin-bottom:-4px;overflow:visible;font-weight:600;text-align:center}.duet-select-variation-tiny.sc-duet-select .duet-select.sc-duet-select duet-icon.sc-duet-select,.duet-select-variation-compact.sc-duet-select .duet-select.sc-duet-select duet-icon.sc-duet-select{padding-left:10px}.duet-select-variation-compact.sc-duet-select .duet-select.sc-duet-select{position:relative;width:fit-content;padding:7px 16px !important;font-size:0.875rem;line-height:1.1;text-align:right;border-radius:8px}.duet-select-help.sc-duet-select{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-select-help.sc-duet-select span.sc-duet-select{display:block;margin-top:8px}.duet-theme-turva.sc-duet-select .duet-select-help.sc-duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error.sc-duet-select .duet-select-help.sc-duet-select{color:rgb(214, 28, 82)}.duet-theme-turva.has-error.sc-duet-select .duet-select-help.sc-duet-select{color:rgb(214, 28, 82)}.duet-label-hidden.sc-duet-select duet-label.sc-duet-select{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
16897
+ const duetSelectCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host.duet-select-variation-tiny,:host.duet-select-variation-compact{position:relative;top:-2px;width:72px;margin:0 !important;vertical-align:baseline}:host.duet-select-variation-compact{width:auto}:host(.duet-m-0){margin:0 !important}duet-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-select-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-select-container{position:relative;width:100%}.duet-select-container.duet-select-variation-tiny{width:72px}.duet-select-wrapper{position:relative;width:100%;padding:15px 14px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva .duet-select-wrapper{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-variation-tiny .duet-select-wrapper{width:81px;padding:0 !important}.duet-select-variation-compact .duet-select-wrapper{padding:0 !important;line-height:1}.duet-select-wrapper select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:200;width:100%;height:100%;padding:0;margin:0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;cursor:pointer;border:0;outline:none;opacity:0}.duet-theme-turva .duet-select-wrapper select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-select-wrapper select:hover+.duet-select{border-color:rgb(127, 150, 165);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-select-wrapper select:hover+.duet-select{border-color:rgb(143, 147, 158);box-shadow:0 0 0 1px #747475}.has-error .duet-select-wrapper select:hover+.duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-select-wrapper select:hover+.duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper select:focus+.duet-select{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-select-wrapper select:focus+.duet-select{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva .duet-select-wrapper select:focus+.duet-select .duet-select-icon{color:rgb(23, 28, 58)}.duet-select-wrapper select:focus+.duet-select .duet-select-icon{color:rgb(0, 119, 179)}.has-error .duet-select-wrapper select:focus+.duet-select{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-select-wrapper select:focus+.duet-select{box-shadow:0 0 0 1px #e55039}.duet-select-wrapper select[disabled]{cursor:default !important}.duet-select-wrapper select[disabled]+.duet-select{color:rgb(8, 42, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva .duet-select-wrapper select[disabled]+.duet-select{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-select-wrapper span.duet-keep-container-height{opacity:0}.duet-select-variation-compact .duet-select-wrapper span.duet-keep-container-height{display:none}.duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;display:block;width:100%;min-width:8rem;padding:12px 14px !important;padding-right:48px !important;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.has-error .duet-select{border-color:rgb(214, 28, 82) !important}.has-error .duet-select .duet-select-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-select{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-select .duet-select-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva .duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(143, 147, 158)}.duet-select svg{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva .duet-select svg{color:rgb(23, 28, 58)}.duet-select-variation-tiny .duet-select,.duet-select-variation-compact .duet-select{width:72px;min-width:inherit;padding:0 !important;margin-bottom:-4px;overflow:visible;font-weight:600;text-align:center}.duet-select-variation-tiny .duet-select duet-icon,.duet-select-variation-compact .duet-select duet-icon{padding-left:10px}.duet-select-variation-compact .duet-select{position:relative;width:fit-content;padding:7px 16px !important;font-size:0.875rem;line-height:1.1;text-align:right;border-radius:8px}.duet-select-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-select-help span{display:block;margin-top:8px}.duet-theme-turva .duet-select-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error .duet-select-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-select-help{color:rgb(214, 28, 82)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
16282
16898
  var DuetSelectStyle0 = duetSelectCss;
16283
16899
 
16284
16900
  function isOptionGroup(item) {
@@ -16428,9 +17044,24 @@ class DuetSelect {
16428
17044
  * Always the last one in the class.
16429
17045
  */
16430
17046
  render() {
16431
- {
16432
- return;
16433
- }
17047
+ const identifier = this.identifier || this.selectId;
17048
+ return (hAsync(Host, { key: '28f5db49f64ea0115fa20745df6d535fac98ca08', onClick: this.onClick, class: {
17049
+ "duet-m-0": this.margin === "none",
17050
+ "duet-expand": this.expand,
17051
+ [`duet-select-variation-${this.variation}`]: true,
17052
+ } }, hAsync("div", { key: '73e7a3937df41f97d6501cb393b05a1e11e07b97', class: {
17053
+ "duet-select-container": true,
17054
+ "duet-label-hidden": this.labelHidden,
17055
+ "duet-theme-turva": this.theme === "turva",
17056
+ [`duet-select-variation-${this.variation}`]: true,
17057
+ "duet-input-top-caption-shown": this.isCaptionVisible,
17058
+ "has-error": !!this.error,
17059
+ } }, hAsync("duet-label", { key: '1b908d4ce2db347aea7654f7d150c3536023be7e', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: 'f4ae4625f3844a0a4ff41ceeb5b09cc73f2c3139', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '56432a29cd588587216dcb91b1d7fa29ae80c12d', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '2664591e6e79d7786ecd95e2136b7eb6ac46eb43', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: '17a7d144eb109640535302879dc8e46622f7542a', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: '2777dafee5e8f98ca467b83cfa672aeb2bd51d26', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), hAsync("select", { key: '2d00bf64843b3d4402d75b50660baaa701e776bd', ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (hAsync("option", { key: '9f4a48986073692a67a221d489c3bc9402324828', disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (hAsync("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
17060
+ return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
17061
+ }))), hAsync("div", { key: '00870092e20d5e30222ad0afa3072d1dfba03dce', class: {
17062
+ "duet-select": true,
17063
+ [`duet-select-variation-${this.variation}`]: true,
17064
+ }, "aria-hidden": "true" }, hAsync("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (hAsync("svg", { key: 'e1e57dfb22ba2d97a460c34b18a49355e8fa41a7', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '5fedaf97f4a4293f318512cc312d4c1d6ac9fce2', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" })))) || (hAsync("duet-icon", { key: '52b2404b48602331e322f5ccf6f338cf5dba46e4', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), hAsync("span", { key: 'c647fdcfac98bfd444789464f4e89f905a3db068', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), hAsync("span", { key: '2f8730fa473524bdc6fbfe52f295215fe023b984', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '438e8329537edfc708bb57ce8de8d91abb7aaae8' }, this.error)))));
16434
17065
  }
16435
17066
  get element() { return getElement(this); }
16436
17067
  static get watchers() { return {
@@ -16439,7 +17070,7 @@ class DuetSelect {
16439
17070
  }; }
16440
17071
  static get style() { return DuetSelectStyle0; }
16441
17072
  static get cmpMeta() { return {
16442
- "$flags$": 6,
17073
+ "$flags$": 9,
16443
17074
  "$tagName$": "duet-select",
16444
17075
  "$members$": {
16445
17076
  "variation": [1],
@@ -16503,9 +17134,9 @@ class DuetShapedImage {
16503
17134
  const style = {
16504
17135
  "--rotation": `${this.rotation}deg`,
16505
17136
  };
16506
- return (hAsync(Host, { key: 'cb4154853051eec78a10658344407c1653d737b3', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '5cab0035d46b9e020cf7e4a18105a999646ad437', class: {
17137
+ return (hAsync(Host, { key: '555cbcb9c76cbda51c3c4cede13d764de7334c4e', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '11704c842ec39f85048625cc78eb3dac55c18508', class: {
16507
17138
  "shaped-image": true,
16508
- }, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '8c2d2bb60ac9042377402dea4453e4ec17885aac', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: '765b32769035c6746c0412be9fe3b70bf8c75039', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
17139
+ }, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: 'f4ebb6576b8d69bc929ccae1662a87bc7c2481c7', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: 'd7d83206a5d52dd0ec81ea25256ace0b0f68df6c', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
16509
17140
  }
16510
17141
  static get style() { return DuetShapedImageStyle0; }
16511
17142
  static get cmpMeta() { return {
@@ -16613,12 +17244,12 @@ class DuetShowMore {
16613
17244
  * Always the last one of the class.
16614
17245
  */
16615
17246
  render() {
16616
- return (hAsync(Host, { key: 'f2ae77fcd733d57404b733d43ffb049d3503ecd0' }, hAsync("div", { key: 'a0a01d9f4ef3065ced4d4de652969744e6e1e227', class: {
17247
+ return (hAsync(Host, { key: 'e795502d610ccc4d9fb5e2820c6e50a58b1f1d9d' }, hAsync("div", { key: '7f3dc284c84c60fea4742b85c080e43e4529b6f8', class: {
16617
17248
  "duet-show-more": true,
16618
17249
  "duet-theme-turva": this.theme === "turva",
16619
17250
  "duet-m-0": this.margin === "none",
16620
17251
  open: this.open,
16621
- } }, hAsync("div", { key: '8b799e3b59a456e4873357daa72313f0d29bffcf', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, hAsync("div", { key: 'e5e04fa045ab43f00086e8799f87ab2b57f0a13b', class: { "slotted-content": true } }, hAsync("slot", { key: 'ca94e5187354a6debb373955df2d046a9c9271a4' }))), hAsync("duet-button", { key: 'fc11f79ebc689843332bc829f108d62180fa62fe', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.open, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, hAsync("span", { key: '63e4d04789225b2ff7938e8e1156345b14b6633f' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
17252
+ } }, hAsync("div", { key: '7f2d9de11a429a5d9e219cdeb5835e2ea8be2c2b', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, hAsync("div", { key: 'f10b510dd9a1369178d5bc4259d2ef55fc569e10', class: { "slotted-content": true } }, hAsync("slot", { key: '21169537ec721827e96bd24710de3f5d6d81fa8f' }))), hAsync("duet-button", { key: 'fd0aae5f657aeab52c5a9a49003e0d70c3644a10', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.open, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, hAsync("span", { key: 'e4996c3f3a786b12ef395679e892ccce7d84399d' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
16622
17253
  }
16623
17254
  get element() { return getElement(this); }
16624
17255
  static get style() { return DuetShowMoreStyle0; }
@@ -17105,16 +17736,16 @@ class DuetSlideout {
17105
17736
  };
17106
17737
  const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
17107
17738
  const exitTranslation = getLocaleString(this.exitLangObject);
17108
- return (hAsync(Host, { key: '14fdba7fda5928417732464bfb4fd9b16f7b2064' }, hAsync("div", { key: 'ad888076253b6aadf02beac7fd057ac3fb4fdf3d', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && hAsync("duet-overlay", { key: '402885b296bd543ddbe8cf83908e90a181b9da10', visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: 'e93a803cbfbe0be22ec7fd6f70c890bf1b652532', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
17739
+ return (hAsync(Host, { key: '7e5384e7a8da21a6bfcd4e6f84f8c0cb60d3250a' }, hAsync("div", { key: 'a0ddecf72e05002132592afbea9ab503e8929698', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && hAsync("duet-overlay", { key: 'bd9eb4bb301549c79486fbec4ec9cc3306001152', visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: '8bcb933d1862b16a784105144cbb830b085b7a37', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
17109
17740
  dialog: true,
17110
17741
  hidden: !this.open,
17111
17742
  modal: this.modal,
17112
- }, style: styles }, hAsync(FocusGuard, { key: '0e6e26357b438fb966c72cf164a4c39ce8b235bd', moveFocusTo: this.closeButton }), hAsync("div", { key: 'c65959274e1c3191495c03d01adb69c76d23e3e4', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: 'd03362b067baf916076e9992e63933b309e84e44', class: "top" }, hAsync("button", { key: '893421c3ed8c0224031b2db5c2db1f1eb7f1791a', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
17743
+ }, style: styles }, hAsync(FocusGuard, { key: '4f32ae824a9963b9324a6a75aec30a1ec3b9da34', moveFocusTo: this.closeButton }), hAsync("div", { key: 'b3a2d23360f0080c3345925ab2dd3ba71726102e', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '346320e78d1b3b31cd27505873e27d9de14e7105', class: "top" }, hAsync("button", { key: '70bd3ca676c250d31bf67ffc0cd4900c73d2e093', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
17113
17744
  "slideout-close": true,
17114
17745
  active: this.open,
17115
- }, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '354bcaf0344522712c12904991ade60e97924b88', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: 'a55711bc7b1ad408dc4720372cedc676a303fe84', class: "sticky-header" }, hAsync("slot", { key: '15ef13899e66f98dd681b8105528d8f55fd2f2a2', name: "sticky-header" }))), hAsync("div", { key: '698ce98219d2c6d387e92b96a71967bc632dee00', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
17746
+ }, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '1aa814b1f9015483a3b4bc7f473b5aede84f3cd0', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: 'f11c81c8efcdca2ddb6cdc987e2e1f220d467398', class: "sticky-header" }, hAsync("slot", { key: 'e0bf8ba236ee29c1f1b497df27b337ab1f96628a', name: "sticky-header" }))), hAsync("div", { key: 'dbf227d18aed0d6d3db65db6522ffda1b69d8dba', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
17116
17747
  items: true,
17117
- } }, hAsync("slot", { key: '75862e49d89cdd2e20ecaa574b1c76da95f3c1c6' })), hAsync(FocusGuard, { key: 'e74750f4e595532c2fb7185a40f57efa7e032122', moveFocusTo: this.closeButton })))));
17748
+ } }, hAsync("slot", { key: 'facef4d207e8df7c34a8aeca8595d832fd6de5e6' })), hAsync(FocusGuard, { key: '5733820870caa0acd80b157d88b03ae1797360b8', moveFocusTo: this.closeButton })))));
17118
17749
  }
17119
17750
  get element() { return getElement(this); }
17120
17751
  static get watchers() { return {
@@ -17181,7 +17812,7 @@ class DuetSlideoutLang {
17181
17812
  */
17182
17813
  render() {
17183
17814
  const langTranslation = getLocaleString(this.chooseLangObject);
17184
- return (hAsync(Host, { key: 'a3f0902bcc3942cfdd9bd39d753bfcfeeebf8bd4' }, hAsync("div", { key: 'e4b2d5245b065602e7b74bab03d2ad9a6390d5ab', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: '10f383d1179787ca4dda410b10ac2785bcbbcc36', name: "navigation-language", margin: "none", color: "secondary" }), hAsync("slot", { key: '3a3f899dd72eb996f48ac588474810a95fa6fc19' }))));
17815
+ return (hAsync(Host, { key: 'd163f56230650efc540cf21892239905271a775e' }, hAsync("div", { key: '7b1d95d36da23db34a90055407a7f307ab0d4ffa', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: '07ed0679705221e14ba5e20d0db83a5b3073a7cf', name: "navigation-language", margin: "none", color: "secondary" }), hAsync("slot", { key: 'e847d0a2bf84e7099988d6bc9f6e59dfa0ba99d7' }))));
17185
17816
  }
17186
17817
  get element() { return getElement(this); }
17187
17818
  static get style() { return DuetSlideoutLangStyle0; }
@@ -17225,12 +17856,12 @@ class DuetSlideoutLink {
17225
17856
  * Always the last one in the class.
17226
17857
  */
17227
17858
  render() {
17228
- return (hAsync(Host, { key: '756d30871c5f34ca3520a5bdecf5269c6a0b4afb' }, hAsync("a", { key: '16dfc8d2bcae2379ab25ce353eda255e79d6ad6b', class: {
17859
+ return (hAsync(Host, { key: 'dbcb8bf6b8c65743fb716cbdda625cf4ea5162f8' }, hAsync("a", { key: '542c9910bad183af64eff3b965ef1cec19b4ac7b', class: {
17229
17860
  "duet-slideout-link": true,
17230
17861
  "duet-theme-turva": this.theme === "turva",
17231
17862
  active: this.active,
17232
17863
  [this.size]: true,
17233
- }, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '6551aa92fee9498b1fc2b4ebb18a89ff1c72e607', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: 'f841f0d234ffca0d1dbaaae18e9de9f1de02de55', class: "label" }, hAsync("span", { key: '452f28fecf67c0da43ea807dd572d1db83e10ae6' }, hAsync("slot", { key: '896258d4f5fbcc5efa21d49cd867e0578302dbef' }), hAsync("slot", { key: '6de4aa964201a5ffe68d7f894a499289db302527', name: "description" })), this.caret && (hAsync("duet-icon", { key: '3b7c9337d8d76eb9bcc71fe7277e84599692bce4', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
17864
+ }, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'c192e191c1323e742022c48651a75c16017b4837', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: 'b0e214e358e524f13a884c78e1d78118b171e3ed', class: "label" }, hAsync("span", { key: 'af8697663031dc729bc98cf7c15cd2d58a03f861' }, hAsync("slot", { key: '84b1b365ac8fabcbf3c6451a8aa51caa18010aa9' }), hAsync("slot", { key: '82b78e911b41cfd441fb9eab798093f6b726c993', name: "description" })), this.caret && (hAsync("duet-icon", { key: 'ee835e2bd7427531239041e03b19ed4335b8ad74', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
17234
17865
  }
17235
17866
  get element() { return getElement(this); }
17236
17867
  static get style() { return DuetSlideoutLinkStyle0; }
@@ -17390,23 +18021,23 @@ class DuetSlideoutPanel {
17390
18021
  };
17391
18022
  const exitTranslation = getLocaleString(this.exitLangObject);
17392
18023
  const backTranslation = getLocaleString(this.backLangObject);
17393
- return (hAsync(Host, { key: '10b414a1d813be3e7f5ef8070b2c1d984c25ac44' }, hAsync("div", { key: '50ee38592ea290018fefaf87e3c8625579636ed9', class: {
18024
+ return (hAsync(Host, { key: '0318776fab9cea36b44efcbd8a066fc7a71aa59e' }, hAsync("div", { key: '1d95822243d5c86ec5b5173e4e681b4146e4476f', class: {
17394
18025
  "duet-slideout-panel": true,
17395
18026
  "duet-theme-turva": this.theme === "turva",
17396
18027
  active: this.open,
17397
- } }, hAsync("button", { key: '4222c80ec11e0f6acb4eeaebf216968e42537c70', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
18028
+ } }, hAsync("button", { key: 'a45e36b09686a148c2ba62e9984627920710ecb7', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
17398
18029
  link: true,
17399
18030
  active: this.active,
17400
- }, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: 'ef87af453a36ae15d81ed98b882798092522610c', class: "duet-slideout-icon" }, hAsync("duet-icon", { key: '540a8e1f36285104c675438d0a053ce5a8aeaa38', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && hAsync("div", { key: 'a90b2189e9b0fe8325b12db27faa55955a5aaa0b', class: "duet-slideout-badge" }))), hAsync("span", { key: '9f266762f46f74d6c627098e57315df106bf9dfe', class: "label" }, hAsync("span", { key: '60a41c1094f9ba9b51cd6e29666af8f601b8a8d2', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: '4160b184173ed8e9e3e93cee11cb8b797911c350', name: "label" })), hAsync("duet-icon", { key: '1572389c79f37ff516d2462ec7dfc9e6e740c6c8', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: 'fc738196e7f3d69ca2cc01db8fcbf5a7be3c39f1', ref: element => (this.dialog = element), class: {
18031
+ }, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '6f2dee22c324bf4ead87048ebff2a20c47ca896a', class: "duet-slideout-icon" }, hAsync("duet-icon", { key: '44e1cac15f61dab325132fcc3514c8e0354cc43a', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && hAsync("div", { key: '024312ec408282554844e751ab4b49d05b96b548', class: "duet-slideout-badge" }))), hAsync("span", { key: '283051aa5c3b14ee17ca9da70c094a57235e749e', class: "label" }, hAsync("span", { key: '81b5642422add92e13dbf34d95a26c0588858de7', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: 'd44a3600f9a66a1768a530317ee8e97d61d7d5a4', name: "label" })), hAsync("duet-icon", { key: '4e27c46508e15f8a57b08025121d7a30386fd7e1', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: '0e7fce1743db4fe772c3165ea76ddd2b5215e3c3', ref: element => (this.dialog = element), class: {
17401
18032
  dialog: true,
17402
18033
  hidden: !this.open,
17403
- }, style: styles }, hAsync(FocusGuard, { key: '00a3795728a3374280aaa5f2b6b97f67bac388c6', moveFocusTo: this.closeButton }), hAsync("div", { key: '84e8cf7f05aedd1fd6df3f08cd06b66abbd1ef17', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: 'a462d45d835fe35e6ce1e64e9527aeae033c192f', class: "top" }, hAsync("button", { key: '5b4eb5d8985437d6701987273dbe10d55185c0cf', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
18034
+ }, style: styles }, hAsync(FocusGuard, { key: '40a3ed99c1bf1bceb7378326804d3f5e76a2caf0', moveFocusTo: this.closeButton }), hAsync("div", { key: '513ce8191e12b73aa0ec22360499905c9a120aca', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: 'f6d518848785f147415050e356dcfe42e00e64af', class: "top" }, hAsync("button", { key: '6c6d3320016eeabed6b06b5d997bf0fe871b7d5b', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
17404
18035
  back: true,
17405
- }, onClick: this.onClick }, hAsync("duet-icon", { key: 'b17a49853ca91e459db693d0c1dcbe861f9ee663', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: '033f64eb9236b0a1cc28214b0393f3c7e62d62f2' }, this.label.innerHTML), hAsync("button", { key: '005c6e62887ae4effd15bc19266a4b72d45f11bc', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: '0934dfbccb73be3827e684b1414f2a76c080b0fb', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '984c15369f3cd4a09dfd02efe5aa65effb2f453c', class: "sticky-header" }, hAsync("slot", { key: '28aea810fee655e0039f9412a5a0e979d4e0991e', name: "sticky-header" }))), hAsync("div", { key: 'd0fed891a8cd1320d5edd35d4461d1df9f1bec7d', tabindex: "-1", role: "menu",
18036
+ }, onClick: this.onClick }, hAsync("duet-icon", { key: 'e68686b85946c9e54babfb2aa7012e37048b6a23', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: 'b2082182002d6fc1687fdbe1a75c30a62061a083' }, this.label.innerHTML), hAsync("button", { key: 'b6cfea3156d9398f6ff290c6abbdbdff55a16edd', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: '4f973e329f5254a4d6fbb230bb2e1c815d07fab5', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: 'b2f3ca3d5bd5e4881cfbe6acd61b8ff209408f35', class: "sticky-header" }, hAsync("slot", { key: '9a1594cd89ffce28613a575b53219736fcf02bae', name: "sticky-header" }))), hAsync("div", { key: '74a5a1eefa940a78f4904f118fbb22da52177d83', tabindex: "-1", role: "menu",
17406
18037
  //TODO: slideout menu fades out, needs to be instant
17407
18038
  id: "menu", "aria-labelledby": "button", class: {
17408
18039
  items: true,
17409
- } }, hAsync("slot", { key: '859c0b8b029620561483192901482f2d7ac69fd8' })), hAsync(FocusGuard, { key: '5676e24c74f3223c83eaa6cf67d05cc93c8ea339', moveFocusTo: this.closeButton })))));
18040
+ } }, hAsync("slot", { key: '59168289af3be6afbf35af828da4800c1209809c' })), hAsync(FocusGuard, { key: '688c55a2b0881c10204aa353123bc524c88a23b9', moveFocusTo: this.closeButton })))));
17410
18041
  }
17411
18042
  get element() { return getElement(this); }
17412
18043
  static get watchers() { return {
@@ -17476,16 +18107,16 @@ class DuetSlideoutPanelDropdown {
17476
18107
  * Always the last one in the class.
17477
18108
  */
17478
18109
  render() {
17479
- return (hAsync(Host, { key: '79b5b5d923940bc3b0ab0515ccab7d498b327d5e' }, hAsync("div", { key: 'b66ac749e1950d6c70c1c465479604cd91c03cfd', class: {
18110
+ return (hAsync(Host, { key: 'f7a1b3521e799c7792945551a66c1c295dd5ffdc' }, hAsync("div", { key: 'd63da6a1f3650e633c97795042a7b34b8ad48302', class: {
17480
18111
  "duet-slideout-panel-dropdown": true,
17481
18112
  "duet-theme-turva": this.theme === "turva",
17482
18113
  active: this.open,
17483
- } }, hAsync("button", { key: '7155b74267a0786267237b0170e30a4c20d8d180', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
18114
+ } }, hAsync("button", { key: 'ed40e8b4d2a431e4f578ea26583a70b8977d951c', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
17484
18115
  active: this.active,
17485
- }, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '014c5790e8eb52f02d10ecf398271b233b88f7b0', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: 'be3875ea25d4f094220b3599aa15bf7e014e81bd', class: "label" }, hAsync("slot", { key: '36b0112f4b2aa6ed192c19da3397beca24b8b29c', name: "label" }), hAsync("duet-icon", { key: '2d4c1df9d41e97d1c7bb031252d31baa865a587c', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: 'a9729a27afa76ccee3c7d3b14e7d48dab1dcb7a3', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
18116
+ }, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '44a4510103738db121e37e1d18f3a5f2484e7683', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: 'b2ce145800f498a7382885190458bb49205b7ada', class: "label" }, hAsync("slot", { key: '6ce00dfcd2d2ef3ac62143b9150b80f1ecc9a69d', name: "label" }), hAsync("duet-icon", { key: 'e6890351789e07002b0b9fc85d79baf6862bd239', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: '81a201018140f6519e9ed18baec3855790ef4cb4', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
17486
18117
  items: true,
17487
18118
  hidden: !this.open,
17488
- } }, hAsync("slot", { key: '63761e3a8bbea310fbc531dd63eae808be5cf3e4' })))));
18119
+ } }, hAsync("slot", { key: '473c54c7f46f6cb77f5656ff8c7d60106836aa73' })))));
17489
18120
  }
17490
18121
  get element() { return getElement(this); }
17491
18122
  static get style() { return DuetSlideoutPanelDropdownStyle0; }
@@ -17520,7 +18151,7 @@ class DuetSpacer {
17520
18151
  * Always the last one in the class.
17521
18152
  */
17522
18153
  render() {
17523
- return (hAsync(Host, { key: '2c46d1a310dd476d040392ebcda6643f1981d624', class: {
18154
+ return (hAsync(Host, { key: '9983782e43b5323f7af87b3b18656794fa851208', class: {
17524
18155
  "duet-spacer": true,
17525
18156
  "duet-spacer-xx-small": this.breakpoint === "xx-small",
17526
18157
  "duet-spacer-x-small": this.breakpoint === "x-small",
@@ -17571,11 +18202,11 @@ class DuetSpinner {
17571
18202
  */
17572
18203
  render() {
17573
18204
  const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
17574
- return (hAsync(Host, { key: '16af92c8d2b1991913980843b6d2a8dcb8646d67', class: {
18205
+ return (hAsync(Host, { key: 'dee78f5cd0044c327f345f8fc6f36a79eb92552e', class: {
17575
18206
  "duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
17576
18207
  "duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
17577
18208
  "duet-theme-default": this.theme === "default" && this.color !== "currentColor",
17578
- } }, hAsync("div", { key: 'e381215186c28e547272b8692f541cea84e0679f', class: {
18209
+ } }, hAsync("div", { key: 'e896d825e335fa91c0b583b17fce6b5012fee1ca', class: {
17579
18210
  "duet-spinner": true,
17580
18211
  [this.size]: true,
17581
18212
  }, style: { color }, "aria-label": this.accessibleLabel })));
@@ -17681,9 +18312,13 @@ class DuetStep {
17681
18312
  * Always the last one in the class.
17682
18313
  */
17683
18314
  render() {
17684
- {
17685
- return;
17686
- }
18315
+ return (hAsync("div", { key: '4824107e0acf23c2c8705c98bf936075b57f0832', class: {
18316
+ "duet-step": true,
18317
+ [`is-${this.state}`]: true,
18318
+ "rounded-top": this.roundedTop,
18319
+ "rounded-bottom": this.roundedBottom,
18320
+ "duet-theme-turva": this.theme === "turva",
18321
+ } }, hAsync("div", { key: '090c1ada985e57f936ac65154af4e1cde73cf820', class: "duet-step-heading", id: this.buttonId, role: this.state !== "current" ? "button" : "region", "aria-current": this.state === "current" ? "step" : undefined, tabindex: this.state !== "current" ? "0" : undefined, "aria-disabled": this.isClickDisabled().toString(), "aria-expanded": (this.state === "current").toString(), "aria-controls": this.contentId, "aria-selected": (this.state === "current").toString(), onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: element => (this.buttonElement = element) }, hAsync("div", { key: '2fe4d50db56975760a58c1aa4a326758fbceeac8', "aria-hidden": "true" }, hAsync("div", { key: '9c2265041152125c05b017c65f432b9ec0c758d6', class: "duet-step-counter" }, this.renderStepCounter())), hAsync("duet-spacer", { key: '3820e59fd9b9cb0b9618eed034474a90293f3985', direction: "horizontal", size: "large", breakpoint: "small" }), hAsync("duet-spacer", { key: '9c3a323b02d4543d4791ba77a2bf90d2e0ed77bd', direction: "horizontal", size: "medium", breakpoint: "x-small" }), hAsync("div", { key: 'a50916963ca0efc77a309f009255f283b5584258' }, hAsync("duet-heading", { key: '637ef135f7d47160eba76bf7d736e0f0a8086282', theme: this.theme, level: this.headingLevel, visualLevel: "h4", color: this.headingColor(), margin: "none" }, this.heading)), hAsync("duet-spacer", { key: 'efe8ebfe55fbc93f526803ac66c469492967f21d', direction: "horizontal", size: "large" }), hAsync("div", { key: '0974cb5ac0bb24d1cf9bd7a1bfa2eaac4a67f18f', class: "duet-step-heading-slot" }, hAsync("slot", { key: 'f7ee80ecb5f96068f5dfc59f1a42cd17fca1f2c3', name: "heading-content" }))), hAsync("div", { key: '31fab92932786d05ac222d35e3097b4f4d9a014d', class: "duet-step-content-wrapper" }, hAsync("div", { key: '00679961075564d18dbd7faffa05618cf3dac572', class: "duet-step-content", role: "region", "aria-labelledby": this.buttonId, id: this.contentId }, hAsync("slot", { key: '898ad6c5810daff1adeb5d85ff6db990ae3d7c43' })))));
17687
18322
  }
17688
18323
  get element() { return getElement(this); }
17689
18324
  static get style() { return DuetStepStyle0; }
@@ -17807,7 +18442,7 @@ class DuetStepper {
17807
18442
  * Always the last one in the class.
17808
18443
  */
17809
18444
  render() {
17810
- return (hAsync(Host, { key: '9cd2e878ee57bb71fe5fbd410f88af372dc31cde', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'f97a9e7f94f0968bb70ed9def756541279783bc7', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-visually-hidden", { key: 'c6bc42ab6164ea260b6860c4c8350f8fecc83a2f', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), hAsync("slot", { key: 'fa2a987f757693d3f287fc0707466d751d7fb8ba' }))));
18445
+ return (hAsync(Host, { key: 'a9fd058aba3edef3374cccd0a93f842c0f9aaeb2', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '0669c1d5037caa0fd14184e653d7bcd8bff5c84e', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-visually-hidden", { key: 'c129a1a808027193572c28b4708b9bc036b117c2', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), hAsync("slot", { key: 'c6d77528bc6dcd5f9e3fd0d2a3ae62253fca0114' }))));
17811
18446
  }
17812
18447
  get element() { return getElement(this); }
17813
18448
  static get watchers() { return {
@@ -17952,19 +18587,19 @@ class DuetSubmenuBar {
17952
18587
  * Always the last one in the class.
17953
18588
  */
17954
18589
  render() {
17955
- return (hAsync(Host, { key: 'e1887ce1a641c6c58a54f0cc22d6548b71274312' }, hAsync("nav", { key: '324f9788c4c5f0f07b6a6462e6333b9021c24b8d', class: {
18590
+ return (hAsync(Host, { key: 'a63e21429e735858870de3a6c6b4f1d641ea0536' }, hAsync("nav", { key: 'ec81c1ea9da9a6a1f976e4f809a44f5a0cc9129f', class: {
17956
18591
  "duet-submenu-bar": true,
17957
18592
  "duet-theme-turva": this.theme === "turva",
17958
18593
  hidden: this.hidden,
17959
- }, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '5f4aab6f8d310a840b9428d100990a279bd88344', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
18594
+ }, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '9c7afa7571d91d251c0a9ed320dcfaefe4ff10ec', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
17960
18595
  active: this.open,
17961
- }, onClick: this.onClick }, hAsync("span", { key: '80740c4fe31825abf62d11762f8c11bcab49b3c1', class: "label" }, hAsync("slot", { key: 'b59a92e6417e6c0da5dfce940b386cd026fa4f26', name: "label" }), hAsync("duet-icon", { key: '370f031d4cd186535f3f62f5952461914364ca8a', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: 'a482eaf5d9705512b952c67ef7e038fcce800c5a', class: {
18596
+ }, onClick: this.onClick }, hAsync("span", { key: '670e006fcab56b5057addd32c86e78c488a6a954', class: "label" }, hAsync("slot", { key: '6aeb5157b136b0d51ea614df7170db9901d7159a', name: "label" }), hAsync("duet-icon", { key: 'd7801a42f75a4b6dfde7c1bd197b5c4aafb7eb03', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: 'b527227c328438130d7ec32a80c7d9ac8ee472b2', class: {
17962
18597
  "menu-container": true,
17963
18598
  hidden: !this.open,
17964
- }, role: "presentation" }, hAsync("div", { key: '8e71057de372c6ec2c2c9b00a754e9dddbe5ff14', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
18599
+ }, role: "presentation" }, hAsync("div", { key: '60bcdce4e176cf742905e6eb6e50d4dc8046b1be', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
17965
18600
  items: true,
17966
18601
  hidden: !this.open,
17967
- }, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '6b216f3309c1da5a171a3fa39b31fcad805d76f4', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: 'f4c31cc6c1c32d56d50a0d2e664ebf727255a025' }), hAsync("div", { key: '0a170fb9952aefa7fa6150514497fdef9caf8cea', class: "list-padding" }))), hAsync("duet-overlay", { key: 'd513c9c698863e334c70587b7d905023d48d2f46', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
18602
+ }, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '69d9ea394265451a554e19db4e5105e21027a61e', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: '95f8cedf2b0590010f0a6560531e9306350b2c37' }), hAsync("div", { key: '780946443cd19822597df52bd006d3d3a30c2e5f', class: "list-padding" }))), hAsync("duet-overlay", { key: '19734aa5ac1dd7c03192d3310518173fa8a43c07', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
17968
18603
  }
17969
18604
  get element() { return getElement(this); }
17970
18605
  static get watchers() { return {
@@ -18085,18 +18720,18 @@ class DuetSubmenuBarDropdown {
18085
18720
  * Always the last one in the class.
18086
18721
  */
18087
18722
  render() {
18088
- return (hAsync(Host, { key: '82d9bb10d3b975fb643a1ff0735369158fc0267d', role: "listitem" }, hAsync("div", { key: '04220a59fb49f405a8e072c61dd7f629275844a9', class: {
18723
+ return (hAsync(Host, { key: '950ec986065630156024e30fc4ff3808bd83331e', role: "listitem" }, hAsync("div", { key: '8aa74d12b0b0e63f82062c705b61f3881a130ece', class: {
18089
18724
  "duet-submenu-bar-dropdown": true,
18090
18725
  "duet-theme-turva": this.theme === "turva",
18091
18726
  open: this.open,
18092
18727
  active: this.active,
18093
- } }, hAsync("button", { key: 'e3b117a883729e81e5b044b700638798005758a7', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
18728
+ } }, hAsync("button", { key: '06132dc834775c0f78a00690e71381f2f8bc48dd', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
18094
18729
  open: this.open,
18095
18730
  active: this.active,
18096
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '4f6aa1cd847b01bb6149300dd095bc2d90f0f8ee', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'e4e0fe843ffb97eb94ac1940b3daabbfdebaed09', class: "label" }, hAsync("span", { key: '7527471d9064055386d235ff8a576a66b93e9246', class: "label-text" }, hAsync("slot", { key: '13887aced4d286f3a79ffd7f125f124801d436a8', name: "label" })), hAsync("duet-icon", { key: 'aa48764d6c7ee181d825621d1b565a92d0ac1a58', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: 'b03feb7412459e67e233d5c1dcf6f6263e574898', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
18731
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '5808b4d746aacc6834d5c7cfc886cb2318ca11bf', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '4d1a960326bb00837cdffa7d7968d1a09c246656', class: "label" }, hAsync("span", { key: '0b0fab9353193d5f65ba7a40474548653b0bd233', class: "label-text" }, hAsync("slot", { key: '6270448ade06bfe7555500c63eba0c0dd4bc589a', name: "label" })), hAsync("duet-icon", { key: '445ce13635b1ac94a6059dfa0cc74925bdb42829', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '72428c05d80b77b7443611c15548731847faf492', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
18097
18732
  items: true,
18098
18733
  hidden: !this.open,
18099
- } }, hAsync("slot", { key: 'a1ad4d341602b1f922d38f24c8183be203867abb' })))));
18734
+ } }, hAsync("slot", { key: 'da23085cb0178dc3a796bfef1127aff57a055703' })))));
18100
18735
  }
18101
18736
  get element() { return getElement(this); }
18102
18737
  static get style() { return DuetSubmenuBarDropdownStyle0; }
@@ -18148,12 +18783,12 @@ class DuetSubmenuBarDropdownLink {
18148
18783
  * Always the last one in the class.
18149
18784
  */
18150
18785
  render() {
18151
- return (hAsync(Host, { key: '06b062162cb366accf11fd8844dc842cb4086e11' }, hAsync("a", { key: 'aeba09894b5f6a4aec3c462fef6f62966fd3849f', class: {
18786
+ return (hAsync(Host, { key: 'a746efa1453d4cec928e66f4122f1a1b593e8442' }, hAsync("a", { key: '6c959b9aad16526f25fa0f8c94d544e47850a69b', class: {
18152
18787
  "duet-submenu-bar-dropdown-link": true,
18153
18788
  "duet-theme-turva": this.theme === "turva",
18154
18789
  highlight: this.highlight,
18155
18790
  active: this.active,
18156
- }, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '72463c8f6d29475ed51097a63b8c627e35454570', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: '457b5b54be2bdbb03e665ed5549ac06b45e0a591', class: "label-container" }, hAsync("span", { key: '0fe3839576cb252a5f928774b0808bf85913d6fe', class: "label" }, hAsync("slot", { key: '4ca119e9809d2122107fbade53b8f0d21f499f99' })), this.caret && hAsync("duet-icon", { key: '98119ea79cc812daa6857fa4286c97f0ffd6d4ca', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: 'c4cbb062c343bb3bf6b15d771de4618f1d75b531', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
18791
+ }, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: 'c0fc8773a756787903d3e312ebabdae1f5854445', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: 'e3970bb855fdb008fe5c71d5b70ffaa0c95c6ca1', class: "label-container" }, hAsync("span", { key: '615e56e9b3b4c900b96ae2e77435dcfd29a9a321', class: "label" }, hAsync("slot", { key: '66142de58ca0b982f962787e57583acf2645acd2' })), this.caret && hAsync("duet-icon", { key: '690f5210ff9271e47c36a9ec86fbe0c427a7e823', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: '019e32fdb4672495348327df056ff55e5654c91d', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
18157
18792
  }
18158
18793
  get element() { return getElement(this); }
18159
18794
  static get style() { return DuetSubmenuBarDropdownLinkStyle0; }
@@ -18227,7 +18862,7 @@ class DuetSubmenuBarItem {
18227
18862
  render() {
18228
18863
  const TagName = this.url ? "a" : "button";
18229
18864
  const role = this.url ? "link" : "button";
18230
- return (hAsync(Host, { key: 'b31ed9815a70a51dcd572ca7d1485930c2440939', role: "listitem" }, hAsync(TagName, { key: '9ee1cc13ac91783544600e501b1fab1eb70997d6', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '4deab5b50ec0e4066872c2744cb8e65d0a0e7287', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '46be26631ba05fed851d7fb9c74cf11d6ce925a8', class: "label" }, hAsync("span", { key: '3bb375080720c6d70901eb425d85bcc3829454ee', class: "label-text" }, hAsync("slot", { key: 'fd3e9665db1ff76e1435288cefffba0c9e75273b' })), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'a3f85c5afc2a5234e3aad56f7262030ef3ad509e', class: {
18865
+ return (hAsync(Host, { key: 'bbd6de093fd02cb675b6a27822e8fd64ae2e6e36', role: "listitem" }, hAsync(TagName, { key: '857df988d8c2d9ee3c830455d97496903f43af24', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '77a2683b345776fdd073d562025d01ad7b42b8cf', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'e5e54d900b8e9861fd7f687c302a83e9a5d26087', class: "label" }, hAsync("span", { key: '7b8893ae6bd4a6209763cd1e88606495db78f84e', class: "label-text" }, hAsync("slot", { key: 'bd0380cd2eee95bed2c16884fdc77827a7748da2' })), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: '94315f7a4d4ab2444536fec20724bbbeaee83a65', class: {
18231
18866
  "trailing-icon": !!this.trailingIcon,
18232
18867
  "trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
18233
18868
  "external-icon": !!this.external,
@@ -18288,7 +18923,7 @@ class DuetSubmenuBarLink {
18288
18923
  * Always the last one in the class.
18289
18924
  */
18290
18925
  render() {
18291
- return (hAsync(Host, { key: '0a4400868d61377b3ce3df2c080a0aa42ad53a8b', role: "listitem" }, hAsync("a", { key: '005d137af08a1c049d12707de80a41968e29b6fe', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (hAsync("duet-icon", { key: '3d900e1209d6e99e2361348c9fda2b0e562987b4', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: '99b597aeb8dbe29036e8e006160c86884f5e3387', class: "label" }, hAsync("slot", { key: '8c81d3eb726c6e5fd647e351f1fdeb7eab64d109' })))));
18926
+ return (hAsync(Host, { key: 'd500cddc2f019854bae1756301dc68ae23835b10', role: "listitem" }, hAsync("a", { key: '3688cdd47046d93cae4ad667a348881d35449cb8', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (hAsync("duet-icon", { key: 'c620d6cac216344f07879ad271f2488f9e4a3036', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: '82438bf5ee24adf621d9e342de9886829f193176', class: "label" }, hAsync("slot", { key: '5ee0ae247c68b887845ce939e812e7923b994be8' })))));
18292
18927
  }
18293
18928
  get element() { return getElement(this); }
18294
18929
  static get style() { return DuetSubmenuBarLinkStyle0; }
@@ -18307,7 +18942,7 @@ class DuetSubmenuBarLink {
18307
18942
  }; }
18308
18943
  }
18309
18944
 
18310
- const duetTabCss = ".sc-duet-tab-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-tab.sc-duet-tab{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:none;width:100%}.duet-tab.selected.sc-duet-tab{display:block}.duet-tab.has-content-id.sc-duet-tab,.duet-tab.has-content-id.selected.sc-duet-tab{display:none}.user-is-tabbing.sc-duet-tab-h .duet-tab.sc-duet-tab:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-tab-h .duet-tab.duet-theme-turva.sc-duet-tab:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
18945
+ const duetTabCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-tab{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:none;width:100%}.duet-tab.selected{display:block}.duet-tab.has-content-id,.duet-tab.has-content-id.selected{display:none}:host(.user-is-tabbing) .duet-tab:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-tab.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
18311
18946
  var DuetTabStyle0 = duetTabCss;
18312
18947
 
18313
18948
  class DuetTab {
@@ -18398,9 +19033,16 @@ class DuetTab {
18398
19033
  * Always the last one in the class.
18399
19034
  */
18400
19035
  render() {
18401
- {
18402
- return;
18403
- }
19036
+ return (hAsync("div", { key: '82a68331e195880eaab4d0975ebe843c8b0383e8', ref: element => {
19037
+ if (!this.contentId) {
19038
+ this.tabpanelElement = element;
19039
+ }
19040
+ }, role: "tabpanel", class: {
19041
+ "duet-theme-turva": this.theme === "turva",
19042
+ "duet-tab": true,
19043
+ selected: this.selected,
19044
+ "has-content-id": !!this.contentId,
19045
+ }, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, hAsync("slot", { key: '1c63bb93ad6c9c031569794c156568497ee28b27' })));
18404
19046
  }
18405
19047
  get element() { return getElement(this); }
18406
19048
  static get watchers() { return {
@@ -18408,7 +19050,7 @@ class DuetTab {
18408
19050
  }; }
18409
19051
  static get style() { return DuetTabStyle0; }
18410
19052
  static get cmpMeta() { return {
18411
- "$flags$": 6,
19053
+ "$flags$": 9,
18412
19054
  "$tagName$": "duet-tab",
18413
19055
  "$members$": {
18414
19056
  "theme": [1025],
@@ -18632,27 +19274,27 @@ class DuetTabGroup {
18632
19274
  render() {
18633
19275
  const variationClass = this.variation === "plain-scrolling" ? "duet-tab-variation-plain" : `duet-tab-variation-${this.variation}`;
18634
19276
  const isSwipeScrollable = this.variation === "checked" || this.variation === "plain-scrolling";
18635
- return (hAsync("div", { key: 'bc316787b3b80f823ed8faaba277e003e68bb5a2', class: {
19277
+ return (hAsync("div", { key: '55b19c0083ced74f0862c8879512d8a7ac550ccf', class: {
18636
19278
  "duet-tab-group": true,
18637
19279
  "duet-theme-turva": this.theme === "turva",
18638
19280
  [variationClass]: true,
18639
19281
  "duet-tab-plain-scrolling": this.variation === "plain-scrolling",
18640
19282
  "duet-tab-group-scrolls": this.scrolls,
18641
19283
  "duet-tab-group-collapses": this.collapses,
18642
- }, "aria-label": this.accessibleLabel }, !isSwipeScrollable && this.tabs.length > 3 && this.collapses && (hAsync("duet-select", { key: '64c5ec06e21fbde15b29281d5e89273c2d15dcdc', value: this.selected.toString(), expand: true, label: this.label, labelHidden: this.labelHidden, theme: this.theme, onDuetChange: event => this.onTabSelect(Number(event.detail.value)), items: this.tabs.map((tab, index) => {
19284
+ }, "aria-label": this.accessibleLabel }, !isSwipeScrollable && this.tabs.length > 3 && this.collapses && (hAsync("duet-select", { key: 'fa42a4e505fb4d94cfde64470682bcda87c4e8a8', value: this.selected.toString(), expand: true, label: this.label, labelHidden: this.labelHidden, theme: this.theme, onDuetChange: event => this.onTabSelect(Number(event.detail.value)), items: this.tabs.map((tab, index) => {
18643
19285
  return { label: tab.label, value: index.toString() };
18644
- }) })), hAsync("div", { key: '1c8d3bbb5202408ce2bdabf98aeef15a64413506', role: "tablist", class: {
19286
+ }) })), hAsync("div", { key: '5a4ba1e8089bd37f2bcd012ef58285369eb0282f', role: "tablist", class: {
18645
19287
  "duet-m-0": this.margin === "none" || this.variation === "checked",
18646
19288
  "duet-tab-group-tabs": true,
18647
19289
  "duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
18648
19290
  "duet-tab-group-collapses": this.collapses,
18649
19291
  }, ref: el => {
18650
19292
  this.tabsContainer = el;
18651
- } }, this.renderTab()), hAsync("div", { key: 'ecae4e65fe249bb084917967e40682b80eed1a9f', class: {
19293
+ } }, this.renderTab()), hAsync("div", { key: 'd80d6fdd3ad52d8c0dfd13d7ae1d906703eac971', class: {
18652
19294
  "duet-tab-group-content": true,
18653
19295
  "duet-m-0": this.margin === "none",
18654
19296
  "checked-group-content": this.variation === "checked",
18655
- } }, hAsync("slot", { key: 'ab023437cb483fb6b9f0a60e7dd83970d98119f8' }))));
19297
+ } }, hAsync("slot", { key: 'a14facc65a69917ede3d270a93919e949aa5116e' }))));
18656
19298
  }
18657
19299
  get element() { return getElement(this); }
18658
19300
  static get style() { return DuetTabGroupStyle0; }
@@ -18756,7 +19398,7 @@ class DuetTable {
18756
19398
  }
18757
19399
  }
18758
19400
  render() {
18759
- return (hAsync(Host, { key: 'd456405a2d68a4f177b88081425e960ba63045b9', class: {
19401
+ return (hAsync(Host, { key: 'fe804ab98faa5a67150c751bb1c75fffd76d9979', class: {
18760
19402
  [`duet-table-${this.variation}`]: true,
18761
19403
  "duet-table-flattened": !this.matchesBreakpoint,
18762
19404
  // sticky only valid when in regular table layout
@@ -18765,7 +19407,7 @@ class DuetTable {
18765
19407
  "duet-m-0": this.margin === "none",
18766
19408
  "duet-theme-turva": this.theme === "turva",
18767
19409
  "duet-table-hide-head-visually": this.hideHeadVisually,
18768
- } }, hAsync("slot", { key: '4f00b379d883a78ed082245fb9b6b8096e52ab94' })));
19410
+ } }, hAsync("slot", { key: '5771327fbab3d42432e014a2f527de6c865d4999' })));
18769
19411
  }
18770
19412
  get element() { return getElement(this); }
18771
19413
  static get watchers() { return {
@@ -18792,9 +19434,18 @@ class DuetTable {
18792
19434
  }; }
18793
19435
  }
18794
19436
 
18795
- const duetTextareaCss = "*.sc-duet-textarea,*.sc-duet-textarea::after,*.sc-duet-textarea::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-textarea-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:block;width:100%;max-width:100%;text-align:left}.sc-duet-textarea-h:last-child,.sc-duet-textarea-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-textarea-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-textarea-h{width:100% !important}}.duet-m-0.sc-duet-textarea-h{margin:0 !important}duet-tooltip.sc-duet-textarea,.sc-duet-textarea-s>duet-tooltip{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-textarea,.sc-duet-textarea-s>duet-tooltip{position:relative;top:4px;right:auto}}.duet-textarea-container.sc-duet-textarea{position:relative;width:100%;height:100%}.duet-textarea-container.sc-duet-textarea .duet-input-top-caption.sc-duet-textarea{display:none}.duet-textarea-container.duet-input-top-caption-shown.sc-duet-textarea .duet-input-top-caption.sc-duet-textarea{display:flex !important}.duet-textarea-wrapper.sc-duet-textarea{position:relative}.duet-textarea-placeholder.sc-duet-textarea{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-textarea.sc-duet-textarea{padding:15px !important;position:relative;z-index:100;display:block;width:100%;min-width:8rem;min-height:160px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);resize:vertical;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(143, 147, 158)}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-textarea.sc-duet-textarea::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea.sc-duet-textarea:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea.sc-duet-textarea::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea::-moz-placeholder{color:rgb(143, 147, 158)}.duet-textarea.sc-duet-textarea:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-textarea.sc-duet-textarea:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea.sc-duet-textarea:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea[disabled].sc-duet-textarea{color:rgb(98, 121, 138) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important}.duet-textarea[disabled].sc-duet-textarea::-webkit-input-placeholder{color:rgb(8, 42, 77);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea::-webkit-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled].sc-duet-textarea::-moz-placeholder{color:rgb(8, 42, 77);opacity:1 !important}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea::-moz-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled].sc-duet-textarea:-ms-input-placeholder{color:rgb(8, 42, 77)}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea:-ms-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #909599}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #747475}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-textarea.sc-duet-textarea:focus{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{box-shadow:0 0 0 1px #e55039}.duet-textarea.sc-duet-textarea:not(:focus):not(:hover):invalid{box-shadow:none}.duet-textarea-help.sc-duet-textarea{font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;line-height:1.25}.duet-textarea-help.sc-duet-textarea span.sc-duet-textarea{display:block;margin-top:8px}.duet-theme-turva.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{color:rgb(214, 28, 82)}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{color:rgb(214, 28, 82)}.duet-label-hidden.sc-duet-textarea duet-label.sc-duet-textarea{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-character-count.sc-duet-textarea{display:block;margin:8px 0 0 auto}";
19437
+ const duetTextareaCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:block;width:100%;max-width:100%;text-align:left}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}duet-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-textarea-container{position:relative;width:100%;height:100%}.duet-textarea-container .duet-input-top-caption{display:none}.duet-textarea-container.duet-input-top-caption-shown .duet-input-top-caption{display:flex !important}.duet-textarea-wrapper{position:relative}.duet-textarea-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-textarea{padding:15px !important;position:relative;z-index:100;display:block;width:100%;min-width:8rem;min-height:160px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);resize:vertical;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.duet-theme-turva .duet-textarea{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(143, 147, 158)}.has-error .duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-textarea::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-textarea::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva .duet-textarea::-moz-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-textarea:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva .duet-textarea:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea[disabled]{color:rgb(98, 121, 138) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-theme-turva .duet-textarea[disabled]{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important}.duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(8, 42, 77);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled]::-moz-placeholder{color:rgb(8, 42, 77);opacity:1 !important}.duet-theme-turva .duet-textarea[disabled]::-moz-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled]:-ms-input-placeholder{color:rgb(8, 42, 77)}.duet-theme-turva .duet-textarea[disabled]:-ms-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #747475}.has-error .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-textarea:focus{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-textarea:focus{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-textarea:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-textarea:focus{box-shadow:0 0 0 1px #e55039}.duet-textarea:not(:focus):not(:hover):invalid{box-shadow:none}.duet-textarea-help{font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;line-height:1.25}.duet-textarea-help span{display:block;margin-top:8px}.duet-theme-turva .duet-textarea-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-character-count{display:block;margin:8px 0 0 auto}";
18796
19438
  var DuetTextareaStyle0 = duetTextareaCss;
18797
19439
 
19440
+ const CharacterCount = ({ value, maxlength, label, theme }) => {
19441
+ if (maxlength == null) {
19442
+ return;
19443
+ }
19444
+ const length = value.length;
19445
+ const remainder = Math.max(maxlength - length, 0); // ensure we never have negative numbers
19446
+ const isApproachingLimit = remainder / maxlength <= 0.1; // <= 10% chars remaining
19447
+ return (hAsync("div", { class: "duet-character-count" }, hAsync("duet-caption", { margin: "none", theme: theme, size: "small" }, hAsync("duet-visually-hidden", { "aria-live": "polite", "aria-atomic": "true", class: "duet-textarea-counter-remaining" }, isApproachingLimit && `${remainder} ${label}`), hAsync("span", { "aria-hidden": "true" }, length, "/", maxlength))));
19448
+ };
18798
19449
  /**
18799
19450
  * @slot tooltip - Use to place a tooltip alongside the label.
18800
19451
  */
@@ -18809,6 +19460,7 @@ class DuetTextarea {
18809
19460
  * Own Properties
18810
19461
  */
18811
19462
  this.textareaId = createID("DuetTextarea");
19463
+ this.proxyId = createID("DuetTextarea");
18812
19464
  this.topCaptionId = createID("DuetCaptionTop");
18813
19465
  this.topCaptionPlaceholderId = createID("DuetCaptionPlaceholderTop");
18814
19466
  this.labelId = createID("DuetLabel");
@@ -18934,6 +19586,9 @@ class DuetTextarea {
18934
19586
  disconnectedCallback() {
18935
19587
  disconnectLanguageChangeObserver(this);
18936
19588
  }
19589
+ componentDidRender() {
19590
+ proxyInputToSlot(this.element, this.proxyId, this.name, this.value, this.required);
19591
+ }
18937
19592
  /**
18938
19593
  * Sets focus on the specified `duet-textarea`. Use this method instead of the global
18939
19594
  * `textarea.focus()`.
@@ -18946,9 +19601,20 @@ class DuetTextarea {
18946
19601
  * Always the last one in the class.
18947
19602
  */
18948
19603
  render() {
18949
- {
18950
- return;
18951
- }
19604
+ const identifier = this.identifier || this.textareaId;
19605
+ return (hAsync(Host, { key: 'afb475015d0e4ad8439c1a2baf3ecd6196d608a4', class: {
19606
+ "duet-m-0": this.margin === "none",
19607
+ "duet-has-counter": this.counter && !this.error,
19608
+ "duet-expand": this.expand,
19609
+ } }, hAsync("div", { key: '0978415bfb413a15d80dfffc46c1e4d4990989dd', class: {
19610
+ "duet-textarea-container": true,
19611
+ "duet-theme-turva": this.theme === "turva",
19612
+ "duet-label-hidden": this.labelHidden,
19613
+ "duet-input-top-caption-shown": this.isCaptionVisible,
19614
+ "has-error": !!this.error,
19615
+ } }, hAsync("duet-label", { key: 'd2bc5abddc08c58802a4123e8bfecd42d8ef286e', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: 'ecb4778229571b2a0430cd8440a383b8e7a9ce4c', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: 'f55c7c3f480ed44c6476a276ecc8a21213b08ee9', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '9508ae1e04ff3a74551efa81779c7e6f5ac5b3e8', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), hAsync("div", { key: 'fa901006cd5a7ef28e443fb0ec1e289e7b91fd02', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: 'f352aa22e295837c2697022318f0ed3e27bdef8b', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), hAsync("textarea", { key: 'b481afa761533533c22861249961fea2b6933a99', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), hAsync("duet-grid", { key: '5448fd837456b03dbf6c6beb3fddc63e6ab767ff', alignment: "stretch" }, hAsync("duet-grid-item", { key: '23a4a4c7166b21e3749164f384def7a733421c59', margin: "none", fill: true }, hAsync("div", { key: 'a0d0109c87a899274270d83e5dd2ec30df16caa6', class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: 'f23227e447ca85e2e8e79ebdea459d6ebfcd0420' }, this.error))), hAsync("duet-grid-item", { key: '3646d29d504b4f9c9cce38f66e58e8f994e54fb8', margin: "none", class: "duet-character-count-caption" }, this.counter && (hAsync(CharacterCount, { key: '83b2e50ae63c30e0cd0beff5891309b8ce36e6a7', theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (hAsync("duet-visually-hidden", { key: '66fd9e4bab5013f6afd24a99dc1fbe2aa56ed5a9', class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
19616
+ this.hiddenCounterLabel = el;
19617
+ } })))));
18952
19618
  }
18953
19619
  get element() { return getElement(this); }
18954
19620
  static get watchers() { return {
@@ -18956,7 +19622,7 @@ class DuetTextarea {
18956
19622
  }; }
18957
19623
  static get style() { return DuetTextareaStyle0; }
18958
19624
  static get cmpMeta() { return {
18959
- "$flags$": 6,
19625
+ "$flags$": 9,
18960
19626
  "$tagName$": "duet-textarea",
18961
19627
  "$members$": {
18962
19628
  "margin": [1],
@@ -19000,7 +19666,7 @@ class DuetTextarea {
19000
19666
  }; }
19001
19667
  }
19002
19668
 
19003
- const duetToggleCss = "*.sc-duet-toggle,*.sc-duet-toggle::after,*.sc-duet-toggle::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-toggle-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;-webkit-user-select:none;user-select:none;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-toggle-h:last-child,.sc-duet-toggle-h:last-of-type{margin-right:0 !important}.duet-m-0.sc-duet-toggle-h{margin:0 !important}duet-label.sc-duet-toggle{display:block !important;width:100% !important}.duet-side-label.sc-duet-toggle{display:flex;gap:12px;align-items:center}.duet-side-label.sc-duet-toggle duet-label.sc-duet-toggle{width:auto !important}.duet-reverse-label.sc-duet-toggle{flex-direction:row-reverse}.duet-switch.sc-duet-toggle{position:relative;display:block;width:48px;height:28px}.duet-switch.sc-duet-toggle input.sc-duet-toggle{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle{background-color:rgb(0, 119, 179);box-shadow:none}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle{background-color:rgb(198, 12, 48)}.duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #004467;transform:translateX(20px)}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:checked+.duet-slider.sc-duet-toggle::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #660619}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled+.duet-slider.sc-duet-toggle{cursor:default}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled+.duet-slider.sc-duet-toggle::before{box-shadow:none}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled+.duet-slider.sc-duet-toggle::before{box-shadow:none}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle{background:#bfcbd2}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle::before{background:rgb(255, 255, 255);box-shadow:none}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle{background:#c7c9cf}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:not(:checked)+.duet-slider.sc-duet-toggle::before{background:rgb(255, 255, 255)}.duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:checked+.duet-slider.sc-duet-toggle{background:#80bbd9}.duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:disabled:checked+.duet-slider.sc-duet-toggle{background:#e38698}.user-is-tabbing.sc-duet-toggle-h .duet-switch.sc-duet-toggle input.sc-duet-toggle:focus+.duet-slider.sc-duet-toggle{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(0, 119, 179, 0.75)}.user-is-tabbing.sc-duet-toggle-h .duet-theme-turva.sc-duet-toggle .duet-switch.sc-duet-toggle input.sc-duet-toggle:focus+.duet-slider.sc-duet-toggle{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(23, 28, 58, 0.75)}.duet-slider.sc-duet-toggle{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer;background-color:rgb(127, 150, 165);border-radius:24px;transition:background-color 300ms ease}.duet-slider.sc-duet-toggle::before{position:absolute;bottom:2px;left:2px;width:24px;height:24px;content:\"\";background-color:rgb(255, 255, 255);border-radius:50%;box-shadow:1px 0 2px 0 #5d6266;transition:300ms ease}.duet-theme-turva.sc-duet-toggle .duet-slider.sc-duet-toggle{background-color:rgb(143, 147, 158)}.duet-theme-turva.sc-duet-toggle .duet-slider.sc-duet-toggle::before{background-color:rgb(255, 255, 255);box-shadow:1px 0 2px 0 #00334d}";
19669
+ const duetToggleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;-webkit-user-select:none;user-select:none;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}duet-label{display:block !important;width:100% !important}.duet-side-label{display:flex;gap:12px;align-items:center}.duet-side-label duet-label{width:auto !important}.duet-reverse-label{flex-direction:row-reverse}.duet-switch{position:relative;display:block;width:48px;height:28px}.duet-switch input{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-switch input:checked+.duet-slider{background-color:rgb(0, 119, 179);box-shadow:none}.duet-theme-turva .duet-switch input:checked+.duet-slider{background-color:rgb(198, 12, 48)}.duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #004467;transform:translateX(20px)}.duet-theme-turva .duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #660619}.duet-switch input:disabled+.duet-slider{cursor:default}.duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-theme-turva .duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-switch input:disabled:not(:checked)+.duet-slider{background:#bfcbd2}.duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255);box-shadow:none}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider{background:#c7c9cf}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255)}.duet-switch input:disabled:checked+.duet-slider{background:#80bbd9}.duet-theme-turva .duet-switch input:disabled:checked+.duet-slider{background:#e38698}:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(0, 119, 179, 0.75)}:host(.user-is-tabbing) .duet-theme-turva .duet-switch input:focus+.duet-slider{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(23, 28, 58, 0.75)}.duet-slider{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer;background-color:rgb(127, 150, 165);border-radius:24px;transition:background-color 300ms ease}.duet-slider::before{position:absolute;bottom:2px;left:2px;width:24px;height:24px;content:\"\";background-color:rgb(255, 255, 255);border-radius:50%;box-shadow:1px 0 2px 0 #5d6266;transition:300ms ease}.duet-theme-turva .duet-slider{background-color:rgb(143, 147, 158)}.duet-theme-turva .duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:1px 0 2px 0 #00334d}";
19004
19670
  var DuetToggleStyle0 = duetToggleCss;
19005
19671
 
19006
19672
  class DuetToggle {
@@ -19011,6 +19677,7 @@ class DuetToggle {
19011
19677
  * Own Properties
19012
19678
  */
19013
19679
  this.toggleId = createID("DuetToggle");
19680
+ this.proxyId = createID("DuetToggle");
19014
19681
  /**
19015
19682
  * Component event handling.
19016
19683
  */
@@ -19062,6 +19729,9 @@ class DuetToggle {
19062
19729
  disconnectedCallback() {
19063
19730
  unsubscribeTabbingChange(this);
19064
19731
  }
19732
+ componentDidRender() {
19733
+ proxyInputToSlot(this.element, this.proxyId, this.name, this.value, this.required, this.checked);
19734
+ }
19065
19735
  /**
19066
19736
  * Sets focus on the specified `duet-toggle`. Use this method instead of the global
19067
19737
  * `input.focus()`.
@@ -19074,9 +19744,13 @@ class DuetToggle {
19074
19744
  * Always the last one in the class.
19075
19745
  */
19076
19746
  render() {
19077
- {
19078
- return;
19079
- }
19747
+ const identifier = this.identifier || this.toggleId;
19748
+ return (hAsync(Host, { key: 'f1b8c9c08fb1aee347e563410dca93a4ab121bac', onClick: this.disabled ? undefined : this.onClick, class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '68fbc5e970aa27bb23354da6ef76fe97ef7ac56c', class: {
19749
+ "duet-toggle": true,
19750
+ "duet-theme-turva": this.theme === "turva",
19751
+ "duet-side-label": this.labelPosition !== "top",
19752
+ "duet-reverse-label": this.labelPosition === "right",
19753
+ } }, hAsync("duet-label", { key: '71d8ab7afbe009e196619c59fc7f4d67e5014ecd', theme: this.theme, color: this.labelColor, weight: this.labelWeight, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), hAsync("label", { key: 'ad1ad4bb8249ff6999f9c8dfd48fd70ee658e80c', class: "duet-switch" }, hAsync("input", { key: '79c34fa10a7846e3e4751f314616a96ac7aaaacc', type: "checkbox", value: this.value, "aria-label": this.label, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled, ref: input => (this.nativeInput = input) }), hAsync("div", { key: '36aa5a3052136ff112b395ebac661c6496e64f93', class: "duet-slider" })))));
19080
19754
  }
19081
19755
  get element() { return getElement(this); }
19082
19756
  static get watchers() { return {
@@ -19084,7 +19758,7 @@ class DuetToggle {
19084
19758
  }; }
19085
19759
  static get style() { return DuetToggleStyle0; }
19086
19760
  static get cmpMeta() { return {
19087
- "$flags$": 2,
19761
+ "$flags$": 9,
19088
19762
  "$tagName$": "duet-toggle",
19089
19763
  "$members$": {
19090
19764
  "theme": [1025],
@@ -19147,11 +19821,11 @@ class DuetToolbar {
19147
19821
  : this.variation === "secondary"
19148
19822
  ? "secondary"
19149
19823
  : "default";
19150
- return (hAsync(Host, { key: '6d24828591c3158d2af27f07f9b997134340bb9e' }, hAsync("nav", { key: 'fbe3dfb501f41f8c6bf45e7da45eb923e40beac8', class: {
19824
+ return (hAsync(Host, { key: '21d533cd790fd3160001662f405fd6d576238601' }, hAsync("nav", { key: '7b6dd43ab8c737929acec750be80136d3f5bb007', class: {
19151
19825
  "duet-toolbar": true,
19152
19826
  "duet-theme-turva": this.theme === "turva",
19153
19827
  [variation]: true,
19154
- }, "aria-label": this.accessibleLabel }, hAsync("div", { key: '76ca97610a6ad32d06d5e7fe9f78e274a7044a96', class: "container" }, hAsync("div", { key: '99c04b28a2a1c18a0dc5061820c39edefe90a95e', class: "list", role: "list" }, hAsync("slot", { key: 'f4ca909e6d3cb08f39968f09060eb270342038b9', name: "left" })), hAsync("div", { key: '2eabe1f9ed72f8bf59e7f3dff1ad6c07c04c2fa3', class: "list", role: "list" }, hAsync("slot", { key: '7fed13ccb4a463c7fa55a72c90fd94f08057064d', name: "right" }))))));
19828
+ }, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'c6858334c5f7a5a760775d6cb1d5f3c8439f10a7', class: "container" }, hAsync("div", { key: '28485640df44e2daf65bee426b757931d7fe01e8', class: "list", role: "list" }, hAsync("slot", { key: '7fe71028d8cd2e938ec176fcf8a3bf9dd1d2e446', name: "left" })), hAsync("div", { key: 'a5fa75c98324be554112c6bead973905e2144371', class: "list", role: "list" }, hAsync("slot", { key: '277f1bafd019f0e03080d3c830be989eac1dd461', name: "right" }))))));
19155
19829
  }
19156
19830
  get element() { return getElement(this); }
19157
19831
  static get style() { return DuetToolbarStyle0; }
@@ -19219,18 +19893,18 @@ class DuetToolbarDropdown {
19219
19893
  itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
19220
19894
  }
19221
19895
  const variation = this.variation === "negative" ? "negative" : "white";
19222
- return (hAsync(Host, { key: '25b52f5f9d6dd23c6fc82c1ba514284087c88170', role: "listitem" }, hAsync("div", { key: '2547a078631c1588f7ad3c95adccfc525ffb63b1', class: {
19896
+ return (hAsync(Host, { key: '3f216acdbee35637a06bba1ad6bd31c79060c485', role: "listitem" }, hAsync("div", { key: 'f327067f1cca48416dbadf416c81beb395f68bf6', class: {
19223
19897
  "duet-toolbar-dropdown": true,
19224
19898
  "duet-theme-turva": this.theme === "turva",
19225
19899
  [itemsAlign]: true,
19226
19900
  [variation]: true,
19227
- } }, hAsync("button", { key: 'e1d93883c560598b35ac8be798475095c7f1a631', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
19901
+ } }, hAsync("button", { key: '7dc771dbb2a86dea2b8765ce9913edf088f789f6', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
19228
19902
  active: this.active,
19229
19903
  open: this.open,
19230
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'ab5f1a464057077698ffb25e919df7fdaaab4639', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: 'b3d7603015f2fae719a254ec60b8a2e43107edd8', class: "label" }, hAsync("slot", { key: 'f6676d4bd0c1f092627b1ce1bbcbfdd6499c8447', name: "label" }), hAsync("duet-icon", { key: 'b84679735414c634310004d5c9b4dbceaaedb6ed', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '5718a6a649198a601507dd916feee0f356f9786c', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
19904
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'dddf695359ec083dc8f227c5e1deae8a5506b73f', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: 'd334e49d8815344ab29ac8db03eb694ddb496a54', class: "label" }, hAsync("slot", { key: '348fcd3dd00b6a81b94d33771f6e4557284bd16d', name: "label" }), hAsync("duet-icon", { key: '7dc2d3d54ff3117e2f48e687f3a762db43a837d4', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '90d305c6cecfb3fd7ee23ce5169cdcad6c4dd66f', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
19231
19905
  items: true,
19232
19906
  hidden: !this.open,
19233
- } }, hAsync("slot", { key: 'c0d3e846d10e190162c97c680c4b0ecec3eceb33' })))));
19907
+ } }, hAsync("slot", { key: 'eda0a71fd30d9a00a11d61a797243b2da1d4e19a' })))));
19234
19908
  }
19235
19909
  get element() { return getElement(this); }
19236
19910
  static get style() { return DuetToolbarDropdownStyle0; }
@@ -19283,11 +19957,11 @@ class DuetToolbarDropdownLink {
19283
19957
  * Always the last one in the class.
19284
19958
  */
19285
19959
  render() {
19286
- return (hAsync(Host, { key: 'e3efb6b70c66d5e89b942e11630bd1f3ca09da23' }, hAsync("a", { key: '82b9283918f64f724ff10590e14e6267b4d228a5', class: {
19960
+ return (hAsync(Host, { key: '8cb69dd33c2d35233088309fd5cdad8c1d16ed01' }, hAsync("a", { key: 'c805b960def6061680c14e5b401d1854c52f94a6', class: {
19287
19961
  "duet-toolbar-dropdown-link": true,
19288
19962
  "duet-theme-turva": this.theme === "turva",
19289
19963
  active: this.active,
19290
- }, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '566a78b23fde16d94550884b68c34cc0174de0dc', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: '2c87685e3a77848c8571c42f5dc4f8e57f566dfd', class: "label" }, hAsync("slot", { key: '69dca8568d3358138faa101900b558daf8709b4f' })), this.active && (hAsync("duet-icon", { key: 'a646b68f9de5deba152c5c57d1f35ac9d8d65db0', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
19964
+ }, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: 'aa73a86d1c127f99f803b772bd2ae89b207fab30', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: '7435a9263b6389e3a4a2e980a6528741c3b7a46f', class: "label" }, hAsync("slot", { key: '5bdd6f17bf41ee7a6f6dec80b9f3c9f741a1fc27' })), this.active && (hAsync("duet-icon", { key: '6d9294ed304b2652d8cf535f549edad17fc6965d', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
19291
19965
  }
19292
19966
  get element() { return getElement(this); }
19293
19967
  static get style() { return DuetToolbarDropdownLinkStyle0; }
@@ -19308,7 +19982,7 @@ class DuetToolbarDropdownLink {
19308
19982
  }; }
19309
19983
  }
19310
19984
 
19311
- const duetToolbarItemCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-toolbar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-item:focus,.duet-toolbar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-item .duet-toolbar-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}.duet-toolbar-item .duet-toolbar-icon .duet-toolbar-badge{position:absolute;top:0;left:11px;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-toolbar-item .duet-toolbar-icon .duet-toolbar-badge{background:rgb(247, 178, 40)}.duet-toolbar-item .trailing-icon{width:16px;height:16px}.duet-toolbar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-toolbar-item .external-icon{width:10px;height:10px}.duet-toolbar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-toolbar-item.primary,.duet-toolbar-item.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item.primary[aria-expanded=true],.duet-toolbar-item.secondary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.primary duet-icon,.duet-toolbar-item.secondary duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-item.primary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.secondary[aria-expanded=true]{background:rgb(3, 56, 102)}.duet-toolbar-item.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-toolbar-item.duet-theme-turva.primary{color:rgb(255, 255, 255)}.duet-toolbar-item.duet-theme-turva.primary[aria-expanded=true]{background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.duet-theme-turva.primary duet-icon{color:rgb(255, 185, 190)}.duet-toolbar-item:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-item:hover.primary,.duet-toolbar-item:hover.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item:hover.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item:hover.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-item:hover.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.active{color:rgb(8, 42, 77)}.duet-toolbar-item.active.primary,.duet-toolbar-item.active.secondary{font-weight:600;color:rgb(255, 255, 255)}.duet-toolbar-item.active.primary::after,.duet-toolbar-item.active.secondary::after{display:none}.duet-toolbar-item.active.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.active.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-item.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}";
19985
+ const duetToolbarItemCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-toolbar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-item:focus,.duet-toolbar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-item:focus.primary{box-shadow:0 0 0 4px rgba(8, 42, 77, 0.3), 0 0 0 1px #033866}.duet-theme-turva .duet-toolbar-item:focus.primary,.duet-toolbar-item:focus.primary.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-item .duet-toolbar-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}.duet-toolbar-item .duet-toolbar-icon .duet-toolbar-badge{position:absolute;top:0;left:11px;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-toolbar-item .duet-toolbar-icon .duet-toolbar-badge{background:rgb(247, 178, 40)}.duet-toolbar-item .trailing-icon{width:16px;height:16px}.duet-toolbar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-toolbar-item .external-icon{width:10px;height:10px}.duet-toolbar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-toolbar-item.primary,.duet-toolbar-item.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item.primary[aria-expanded=true],.duet-toolbar-item.secondary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.primary duet-icon,.duet-toolbar-item.secondary duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-item.primary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.secondary[aria-expanded=true]{background:rgb(3, 56, 102)}.duet-toolbar-item.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-toolbar-item.duet-theme-turva.primary{color:rgb(255, 255, 255)}.duet-toolbar-item.duet-theme-turva.primary[aria-expanded=true]{background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.duet-theme-turva.primary duet-icon{color:rgb(255, 185, 190)}.duet-toolbar-item:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-item:hover.primary,.duet-toolbar-item:hover.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item:hover.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item:hover.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-item:hover.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.active{color:rgb(8, 42, 77)}.duet-toolbar-item.active.primary,.duet-toolbar-item.active.secondary{font-weight:600;color:rgb(255, 255, 255)}.duet-toolbar-item.active.primary::after,.duet-toolbar-item.active.secondary::after{display:none}.duet-toolbar-item.active.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.active.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-item.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}";
19312
19986
  var DuetToolbarItemStyle0 = duetToolbarItemCss;
19313
19987
 
19314
19988
  class DuetToolbarItem {
@@ -19362,17 +20036,17 @@ class DuetToolbarItem {
19362
20036
  : this.variation === "secondary"
19363
20037
  ? "secondary"
19364
20038
  : "default";
19365
- return (hAsync(Host, { key: '2ef7297d5c2f9b09536b757fe0b747caa6b2840c', role: "listitem" }, hAsync(TagName, { key: '8b1a44bc3d37cad54e429b1523fbe404c97f5f03', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
20039
+ return (hAsync(Host, { key: 'dd49a814af5543b3c5322f9ba0f14b94c1f2c0ff', role: "listitem" }, hAsync(TagName, { key: '99e8b130d9de3a738aa494473908afa59fcb5c9d', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
19366
20040
  "duet-toolbar-item": true,
19367
20041
  "duet-theme-turva": this.theme === "turva",
19368
20042
  active: this.active,
19369
20043
  [variation]: true,
19370
- }, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("div", { key: '44269de51ebbfc87725a86ba4a84d75ecfba3b4e', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '5111f0d067e0964fdef11617baf9958ec40d6576', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && hAsync("div", { key: 'a92775b051d1c5c9eecc67b05c77a28cd64de8d5', class: "duet-toolbar-badge" }))), hAsync("slot", { key: 'a7ddc45472cc0f2ddae38a069f87a9d675e8f1ff' }), (this.trailingIcon || (this.url && this.external)) && (hAsync("div", { key: '162e333175a2afce39599db1495b4a2db75405b8', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: 'edbc553ef82f801d17f4e62c798031da2500157d', class: {
20044
+ }, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("div", { key: 'f2cb988f3e1224d79d1fe65d289e08364b43d75f', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '8608706b7b512cfe61e35f4eb63a41804ac0085d', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && hAsync("div", { key: 'c4a5b2eba922d2bcaf1e90c63d496d6e0e8a282f', class: "duet-toolbar-badge" }))), hAsync("slot", { key: 'c4c8114069e098da845703905b77f15c4bb1c743' }), (this.trailingIcon || (this.url && this.external)) && (hAsync("div", { key: '7f21cf0cd2a5aeca2685360049504e5daab02c3b', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '0c39d469df56947c3cec7f2e377906f0f48d0ef6', class: {
19371
20045
  "trailing-icon": !!this.trailingIcon,
19372
20046
  "trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
19373
20047
  "external-icon": !!(this.url && this.external),
19374
20048
  rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
19375
- }, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: '9a1318e69e40d5d55677154d482ba08b9fc2e72e', class: "duet-toolbar-badge" }))))));
20049
+ }, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: 'a59af5319ed0f896c0ba81b8c6234d7ebed0d3f2', class: "duet-toolbar-badge" }))))));
19376
20050
  }
19377
20051
  get element() { return getElement(this); }
19378
20052
  static get style() { return DuetToolbarItemStyle0; }
@@ -19426,12 +20100,12 @@ class DuetToolbarLink {
19426
20100
  */
19427
20101
  render() {
19428
20102
  const variation = this.variation === "negative" ? "negative" : "white";
19429
- return (hAsync(Host, { key: 'f8e4c9503e468b1d2912a6c633f8eebc7118176b', role: "listitem" }, hAsync("a", { key: '9319a32f6d0731c1f473dbffd23b9f21c2d5103f', class: {
20103
+ return (hAsync(Host, { key: '2656a1b596a4b66cf46c4f417335e35eb881dab2', role: "listitem" }, hAsync("a", { key: 'ce034bce2589926b97d4bb34280799747927414f', class: {
19430
20104
  "duet-toolbar-link": true,
19431
20105
  "duet-theme-turva": this.theme === "turva",
19432
20106
  active: this.active,
19433
20107
  [variation]: true,
19434
- }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'bca12006695c45a33577fe1821081f3c07a0bb53', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '3bfc36ea53b227990d0ab7a26ae2ea0b9caa13c7' }))));
20108
+ }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '0fc473d63161aaa4922c4557f902e170f68464ed', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: 'beba45fdc4e282f23e04735c6491c67f65ac7b7f' }))));
19435
20109
  }
19436
20110
  get element() { return getElement(this); }
19437
20111
  static get style() { return DuetToolbarLinkStyle0; }
@@ -19452,7 +20126,7 @@ class DuetToolbarLink {
19452
20126
  }; }
19453
20127
  }
19454
20128
 
19455
- const duetTooltipCss = "*.sc-duet-tooltip,*.sc-duet-tooltip::after,*.sc-duet-tooltip::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-tooltip-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;z-index:200;display:inline-flex;width:auto;margin-top:-16px !important;margin-left:-3px !important;-webkit-tap-highlight-color:transparent}duet-tooltip-button.sc-duet-tooltip{position:relative}duet-tooltip-popup.sc-duet-tooltip{position:absolute}";
20129
+ const duetTooltipCss = "*,*::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;z-index:200;display:inline-flex;width:auto;margin-top:-16px !important;margin-left:-3px !important;-webkit-tap-highlight-color:transparent}duet-tooltip-button{position:relative}duet-tooltip-popup{position:absolute}";
19456
20130
  var DuetTooltipStyle0 = duetTooltipCss;
19457
20131
 
19458
20132
  class DuetTooltip {
@@ -19461,6 +20135,7 @@ class DuetTooltip {
19461
20135
  /**
19462
20136
  * Own Properties.
19463
20137
  */
20138
+ this.firstRender = true;
19464
20139
  this.mql = [
19465
20140
  window.matchMedia(media_query_medium.replace(/'/g, "")),
19466
20141
  window.matchMedia(media_query_large.replace(/'/g, "")),
@@ -19571,6 +20246,20 @@ class DuetTooltip {
19571
20246
  { prop: "accessibleLabel", defaults: "accessibleLabelDefault" },
19572
20247
  { prop: "accessibleCloseLabel", defaults: "accessibleCloseLabelDefault" },
19573
20248
  ]);
20249
+ if (typeof MutationObserver !== "undefined") {
20250
+ this.mutationO = new MutationObserver(() => {
20251
+ });
20252
+ this.mutationO.observe(this.element, {
20253
+ childList: true,
20254
+ characterData: true,
20255
+ subtree: true,
20256
+ });
20257
+ }
20258
+ }
20259
+ componentDidRender() {
20260
+ if (this.firstRender) {
20261
+ this.firstRender = false;
20262
+ }
19574
20263
  }
19575
20264
  disconnectedCallback() {
19576
20265
  disconnectLanguageChangeObserver(this);
@@ -19618,7 +20307,7 @@ class DuetTooltip {
19618
20307
  }; }
19619
20308
  static get style() { return DuetTooltipStyle0; }
19620
20309
  static get cmpMeta() { return {
19621
- "$flags$": 6,
20310
+ "$flags$": 9,
19622
20311
  "$tagName$": "duet-tooltip",
19623
20312
  "$members$": {
19624
20313
  "theme": [1025],
@@ -19688,12 +20377,12 @@ class DuetTooltipButton {
19688
20377
  * Always the last one in the class.
19689
20378
  */
19690
20379
  render() {
19691
- return (hAsync(Host, { key: 'a93b648a97705995e9c16ed407d6a85edd146a1e' }, hAsync("button", { key: '3908a9b2c7e7424835a9b52345bf37f9cf72b9fb', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
20380
+ return (hAsync(Host, { key: '9072e8917cb41793dea41b85387c0d0ed01364ab' }, hAsync("button", { key: '873fe45b6a53107875d7f6cbd52edcef6c35a4cd', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
19692
20381
  "duet-tooltip-button": true,
19693
20382
  "duet-tooltip-button-has-label": !!this.label,
19694
20383
  "duet-theme-turva": this.theme === "turva",
19695
20384
  "duet-tooltip-button-negative": this.negative,
19696
- } }, hAsync("svg", { key: '864c8fa62979a5f154fba4bdb917e294981bf69d', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '541766a3747147b8584825d78fb255907e8a118d', d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), hAsync("circle", { key: 'f7a83bdf5e8532f9696c2877ab76aa6b13fd6fd2', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: '52f85b09a3d9f99fdb775549b7936bab53e00686', d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (hAsync("span", { class: "duet-tooltip-label" }, this.label)) : (hAsync("duet-visually-hidden", null, this.accessibleLabel)))));
20385
+ } }, hAsync("svg", { key: '323d7874dea1e157dfa25d203eb3dda93e4a4100', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: 'ef7df8fea96fc5f5adfec07ac1c7176c58f5939e', d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), hAsync("circle", { key: 'd5e097119c80dbcee1e9a8b40e0a8e1416991c78', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: 'a85da0b6a9f044e2584d7a0cfbab5ff3045ee19a', d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (hAsync("span", { class: "duet-tooltip-label" }, this.label)) : (hAsync("duet-visually-hidden", null, this.accessibleLabel)))));
19697
20386
  }
19698
20387
  get element() { return getElement(this); }
19699
20388
  static get style() { return DuetTooltipButtonStyle0; }
@@ -19761,11 +20450,11 @@ class DuetTooltipPopup {
19761
20450
  this.contentEl.focus();
19762
20451
  }
19763
20452
  render() {
19764
- return (hAsync(Host, { key: 'a79306700e7d7aee441cc03ad36320a104b7089d' }, hAsync("div", { key: '97992b1ebaf1998d33984716a013e69d5ba1d2d6', class: {
20453
+ return (hAsync(Host, { key: '8acc3821b4d946db588b369f4b6a49949049aef3' }, hAsync("div", { key: '4e67df16578e9d684c13956359696ebb46aaa431', class: {
19765
20454
  "duet-tooltip": true,
19766
20455
  "duet-theme-turva": this.theme === "turva",
19767
20456
  "duet-tooltip-active": this.active === true,
19768
- } }, hAsync(FocusGuard, { key: '45e71382f2b78cf134a3bc5c66523b17b9645df7', moveFocusTo: this.buttonEl }), hAsync("div", { key: '4972fbadbaa78dcc0a89a26f084703d2f5af7722', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, hAsync("slot", { key: 'cd6485f243b063d2c155c995e5c025d94b63a339' })), hAsync("div", { key: '9a7ee974d7bb598cb64fff09e36c15560fe5eaf6', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: 'ed588d4767c18b62132ee7869ddd0daa1c128b5c', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: 'c8bc5eda535b9f4990a1a4ea1d643802f81b0d28', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: '6ac9b3e52c00914617f310f38ce5ec6ba2a43a82', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: '280130951a6dc65a419d913c246fbbda69605e38' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: 'f23c9116b56c9451e2c82eef602c057f3b38835c', moveFocusTo: this.contentEl }))));
20457
+ } }, hAsync(FocusGuard, { key: 'f80a8056489ea1d33f28e35e02956080855b8e0c', moveFocusTo: this.buttonEl }), hAsync("div", { key: '776dd94339d875a1a66e6384792b6ceb1c6aa3d0', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, hAsync("slot", { key: '5ca5cb490bbd841897e92550487d5ec2994c1454' })), hAsync("div", { key: '0d94a795e9e48495dfaf0f89a2deb85168e28e93', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: '55de0f4a7b2af1fdc80591cf22164528677038b3', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: '5c666a5fa3eeb84d1b9cae6a8e8c9ead45c44b69', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: '50e2ef126f129c562fe92652d057f7295d1c67f2', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: '1453b395ca04e521704846b572d7165cc150f0ff' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: '75fbf5e7a95c4f2a30064a47e2e1c3905c2ee289', moveFocusTo: this.contentEl }))));
19769
20458
  }
19770
20459
  get element() { return getElement(this); }
19771
20460
  static get style() { return DuetTooltipPopupStyle0; }
@@ -19873,14 +20562,14 @@ class DuetTray {
19873
20562
  * Always the last one in the class.
19874
20563
  */
19875
20564
  render() {
19876
- return (hAsync("div", { key: 'e80fe0fea16e56fab163357063b7e4872396a5ec', class: {
20565
+ return (hAsync("div", { key: '978707965f7036c59164be861c06e3a95d0b010c', class: {
19877
20566
  "duet-tray": true,
19878
20567
  "duet-tray-is-active": this.active,
19879
20568
  "duet-tray-is-hidden": this.hiddenState,
19880
20569
  "duet-tray-is-responsive": this.responsive,
19881
20570
  "duet-theme-turva": this.theme === "turva",
19882
20571
  "duet-tray-is-expandable": this.hasAdditionalContent,
19883
- } }, hAsync("div", { key: '262559150a618ae013cc1585a11f5c4dfa5b81ad', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: '2ad15f10fb23db0693d3a39d6c30f5b8f0eff769' })), this.hasAdditionalContent && (hAsync(Fragment, { key: '61ac87d6890bf410e73f5fddbf7e2f348ae2fb12' }, hAsync("button", { key: '7ae889dcf9db8311adffc4f88e75d9280c23752c', "aria-expanded": this.expanded ? "true" : "false", "aria-controls": this.expandableId, onClick: ev => this.toggleExpandable(ev), class: { "duet-tray-button": true, "duet-tray-is-expanded": this.expanded } }, hAsync("duet-icon", { key: 'a514192731466d4e27aca7dc6b350aa3f8782616', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: 'b93df79ffc46a2e60b7568b393c5643997e9d0ae' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: 'd611d0e82cd9fa7fdcbbe203986f2a82bd44e02f', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: '30fe3c388378678752f99d6cb9548d7ec7c42c4d', class: "duet-tray-expandable-content" }, hAsync("slot", { key: 'e25622cbef097b9ac74de3a8264a7556f4be7722', name: "additional" })))))));
20572
+ } }, hAsync("div", { key: 'fa71800b202335afe225062b6546c259024d1ebc', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: '88504b3e7785cb2c996ca2a69f4f7613b3142641' })), this.hasAdditionalContent && (hAsync(Fragment, { key: 'b7bbc3062d4b56e76021d7fb1e275033b1d973de' }, hAsync("button", { key: '9f63e2b609caa6ba75251270b1e3f21e2c51900f', "aria-expanded": this.expanded ? "true" : "false", "aria-controls": this.expandableId, onClick: ev => this.toggleExpandable(ev), class: { "duet-tray-button": true, "duet-tray-is-expanded": this.expanded } }, hAsync("duet-icon", { key: '1976d894857521dba637850fd6d0f67dc5d2fb7c', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: '52a51dd5b1c5f590ab6b69cb14f229df0b7af8cd' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: '6258528ccbe8a9bb546ad35639457757583a4914', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: '79124cc2718b71d49e3ce57eaa405f7663f2db1e', class: "duet-tray-expandable-content" }, hAsync("slot", { key: '842a4506b47dae4db5b81bd1fe551e09a08672f0', name: "additional" })))))));
19884
20573
  }
19885
20574
  get element() { return getElement(this); }
19886
20575
  static get style() { return DuetTrayStyle0; }
@@ -20996,10 +21685,10 @@ class DuetUpload {
20996
21685
  this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
20997
21686
  }
20998
21687
  // @ts-ignore
20999
- return (hAsync(Host, { key: '44b4a9f8f0e99182d1db74ed7e2fb3237d90ed71', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: '2231a57d1b606059e90c7406f24258d4b844cbe0', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: 'bb0e091ee3d4c96715018d1fc836d6cd5f938c75', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: 'd988bc2f8b6a4efc418a65b3ee575095b97ae06a', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: 'b274a3b81132a5119c47bd365bbdd77f08280c17', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: '5a2377d31360af5cbdae90130677853613899ec5', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: '6fe002a8a312e6e067321c07e0b50ed786fd8dc3', invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && hAsync("slot", { key: '730c164e68660c49ce18f8fec5d8f184a640bcd9', name: "filefooter" }), hAsync("slot", { key: '303c2be9f728196dc157cd29a39a926ca9951a88', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: 'd0e088aa37d8b789b3dc4efa9e070c74746877d0', margin: "none", size: "small" }, hAsync("div", { key: 'e3ab58aaacb792a297bcc56154073c9289dd1c32', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: '5a6d988ce4deff649f20207813758e023eb3d817', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: '86a890e223fb900e2420ea45564f8c4c484ddc8a' }, hAsync("duet-spacer", { key: 'fdf03610301bb1368fb28db909a35e10320df054', size: "large" }), hAsync("duet-button", { key: 'be03dc2d96b961dc22d63bf0bf4e1128e4c813d4', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel || `${this.buttonLabel}. ${caption}`, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
21688
+ return (hAsync(Host, { key: 'd9a06a80ee3dbe6c14afeba29034210c0876e030', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: '91dd6b9b6702eda6b91bde8051ba3dc19f61897f', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: 'db5e4b9f271fe451b5d22f7400ec4c0d3a6f138e', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: '27ba6010ee533701bf11a149427d2216c8ce29d9', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: 'e89c1d5f4ec256d1e3a78c3c39d2e70abf10e8e6', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: '42eadc522cef6c31bf92926536586c335f70aa29', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: '73e49bd8b917493fe195e9a41485bc92f7b28f87', invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && hAsync("slot", { key: 'f4af2ea636e86ad99ea095816a947160842e473a', name: "filefooter" }), hAsync("slot", { key: '4f5808dd9f1d1f59a22358e889b465603fcf66e5', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: '098d617ed6b92abb83204dfd0c02f38aee307091', margin: "none", size: "small" }, hAsync("div", { key: 'df692c821b64ef7d2a8e00f1b798e0d6ea28589b', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: 'f5c2d00cef8aea857176ccfa0cf3ff52eb4b07ec', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: '6950dea516b4b35f4e5fb7c9d37afd340a151a14' }, hAsync("duet-spacer", { key: '24eac12d73d7ed5ad8fab3be0777d7452bf326d7', size: "large" }), hAsync("duet-button", { key: 'fb63b67dfcd988535867d4fde83bd13c110d9f1c', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel || `${this.buttonLabel}. ${caption}`, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
21000
21689
  this.bytesMaxReached ||
21001
21690
  this.filesToUploadExceedsLimit ||
21002
- this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '86937ba57803f4ca6379dcab097cf0d08d0962d7' }, hAsync("duet-spacer", { key: '64e72354abfe4dad9e6c1d430e89900b38c50dec', size: "medium" }), hAsync("duet-alert", { key: '02be9578a9bf4afdcda8ff3a9d280525a39e430c', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), hAsync("duet-visually-hidden", { key: '619dec515fc6147867da776c79f883d54a2ba9d3', "aria-hidden": "true" }, hAsync("input", { key: '8e13ce6903fa6218b0e56035416dcddd154317a2', ref: input => {
21691
+ this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '749d1166c084a9b2919b909ee7ab9246d2c0ebe7' }, hAsync("duet-spacer", { key: '907c8f0f2709cf387eef1b2bb815335ded8ad30d', size: "medium" }), hAsync("duet-alert", { key: '792b424865e2a20fe34eeb248cbd00e376bcd646', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), hAsync("duet-visually-hidden", { key: '31b3a469d2722362b44ee1e89e468f79e313fc7e', "aria-hidden": "true" }, hAsync("input", { key: 'ee5f9699f2d29c0ac92d0ba78c3e007a0cc327cd', ref: input => {
21003
21692
  this.nativeInput = input;
21004
21693
  }, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
21005
21694
  "duet-upload": true,
@@ -21320,7 +22009,7 @@ class DuetUploadAriaStatus {
21320
22009
  * Always the last one in the class.
21321
22010
  */
21322
22011
  render() {
21323
- return (hAsync(Host, { key: '611ad37755190220c43a39fdcbfda6d808a0e285', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: '4a2d84541cdf2e03c057210066ef4f53a3ef6b00' }, this.statusMessage)));
22012
+ return (hAsync(Host, { key: '177f33a14fe939c866cc4b465b1886899d97af29', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: '410c70a49016691f5795d537a66ead6cc2a9bb64' }, this.statusMessage)));
21324
22013
  }
21325
22014
  get element() { return getElement(this); }
21326
22015
  static get watchers() { return {
@@ -21387,7 +22076,7 @@ class DuetUploadItem$1 {
21387
22076
  inheritGlobalTheme(this);
21388
22077
  }
21389
22078
  render() {
21390
- return (hAsync(Host, { key: '09cda52368fdcb62f846c32cdf28eae11249f954' }, hAsync("duet-visually-hidden", { key: 'd82dd61c2ca3989e78f3e77f9e7ea5a5f1c207c9', "aria-hidden": "true" }, hAsync("input", { key: 'bd1484bd154e9ede621a58511bf8f3fb90d4c07b', ref: input => {
22079
+ return (hAsync(Host, { key: '7dc8581b1c1cb947362a48413aa328ba66ed8958' }, hAsync("duet-visually-hidden", { key: '7e5084aaaec4b91f34eb2e0902744751f3a7818b', "aria-hidden": "true" }, hAsync("input", { key: 'ddc3d9e9c6fdb590a529fc506b291f6edbd07730', ref: input => {
21391
22080
  this.nativeInput = input;
21392
22081
  }, type: "file", class: {
21393
22082
  "duet-upload": true,
@@ -21499,9 +22188,9 @@ class DuetUploadItem {
21499
22188
  const { uid, meta, item } = this.data;
21500
22189
  const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
21501
22190
  const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
21502
- return (hAsync("div", { key: '3bd049f474c0e5ae36c863e12c83f420338f2120', class: {
22191
+ return (hAsync("div", { key: '499163ce1be1b45ff2d97156ce06d7d9f3fefeb2', class: {
21503
22192
  "upload-item-row": true,
21504
- } }, this.showCategory && (hAsync("div", { key: 'cabbda342b80dc26a8742b8c68f6f3ae836a78e5', class: "item-categories" }, hAsync("duet-heading", { key: '9d9f798db399bf1c277b1a1b2699c15a8f8aff7d', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: 'e01fab2744f4cafdadb2defd3fd3da9262cdad68', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: 'e9f12029fc48fa148169a7e962fa42c4a4acd05c', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: '61536d97451f6b2be7a7cf2c616860d9f31fb174', class: "item-actions" }, this.actions.map(actionItem => {
22193
+ } }, this.showCategory && (hAsync("div", { key: '0486c8703101bcb3837161c24ad0fc1a4ffe215f', class: "item-categories" }, hAsync("duet-heading", { key: '292cc4893eebebb39be0360efc9559c5de47b22e', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: '8e6c67e49f9b5bc79fc011bc44362392eb3b7b24', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: '24f05bb11ee5970722963e688fd5c5e797a0e77c', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: '1c93322e3405f0c329978af89b70c91e7eb9733d', class: "item-actions" }, this.actions.map(actionItem => {
21505
22194
  return (hAsync("duet-action-button", { actionMeta: Object.assign({}, meta || {}), actionId: uid || null, actionName: actionItem.name, theme: this.theme, iconName: actionItem.icon, iconColor: actionItem.color, iconSize: actionItem.size, background: actionItem.background, "accessible-label": `${actionDescription} ${getLocaleString(actionItem.label)} `, accessibleTitle: this.getActionButtonTitle(actionItem), ref: button => (this.actionButton = button) }));
21506
22195
  }))));
21507
22196
  }
@@ -21542,7 +22231,7 @@ class DuetVisuallyHidden {
21542
22231
  * Always the last one in the class.
21543
22232
  */
21544
22233
  render() {
21545
- return (hAsync(Host, { key: 'c7a016ccb63b67077c691951394fd67771f4609e', class: "duet-visually-hidden" }, hAsync("slot", { key: 'c5daeaed36d95139adc5a1f68fe01123d5f301ae' })));
22234
+ return (hAsync(Host, { key: 'cd9e7fe168ed42bfa9fc4751303db7edd312ce75', class: "duet-visually-hidden" }, hAsync("slot", { key: 'bd33aa5a8f5cf442fab2f40ef59b13c36b32eb9d' })));
21546
22235
  }
21547
22236
  get element() { return getElement(this); }
21548
22237
  static get style() { return DuetVisuallyHiddenStyle0; }