@duetds/components 10.7.0 → 10.8.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 (426) hide show
  1. package/hydrate/index.js +385 -237
  2. package/hydrate/index.mjs +385 -237
  3. package/lib/cjs/{a11y-utils-DmCjy3Q3.js → a11y-utils-DZ42p33K.js} +1 -1
  4. package/lib/cjs/{app-globals-D1tikFob.js → app-globals-DiBfle2l.js} +1 -1
  5. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-badge.cjs.entry.js +6 -6
  8. package/lib/cjs/duet-banner.cjs.entry.js +4 -4
  9. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  10. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
  11. package/lib/cjs/duet-button_2.cjs.entry.js +5 -5
  12. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  13. package/lib/cjs/duet-caption_4.cjs.entry.js +10 -10
  14. package/lib/cjs/duet-card.cjs.entry.js +5 -5
  15. package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-chip.cjs.entry.js +3 -3
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +16 -7
  19. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-combobox.cjs.entry.js +31 -14
  21. package/lib/cjs/duet-contact-card.cjs.entry.js +6 -6
  22. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  23. package/lib/cjs/duet-date-picker.cjs.entry.js +17 -13
  24. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  25. package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
  26. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  28. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-footer.cjs.entry.js +4 -4
  30. package/lib/cjs/duet-grid_2.cjs.entry.js +4 -4
  31. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  32. package/lib/cjs/duet-hero.cjs.entry.js +5 -5
  33. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  34. package/lib/cjs/duet-indicator.cjs.entry.js +3 -3
  35. package/lib/cjs/duet-input_2.cjs.entry.js +33 -19
  36. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
  38. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  39. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  41. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
  42. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
  44. package/lib/cjs/duet-modal.cjs.entry.js +12 -13
  45. package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
  46. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  48. package/lib/cjs/duet-number-input.cjs.entry.js +8 -8
  49. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-page-heading.cjs.entry.js +6 -6
  51. package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
  52. package/lib/cjs/duet-panel.cjs.entry.js +4 -4
  53. package/lib/cjs/duet-phone-input.cjs.entry.js +13 -5
  54. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +22 -13
  55. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
  57. package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
  58. package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
  59. package/lib/cjs/duet-scrollable_3.cjs.entry.js +15 -15
  60. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-select.cjs.entry.js +9 -9
  62. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-share-chart.cjs.entry.js +6 -6
  65. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  66. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  67. package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
  68. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
  69. package/lib/cjs/duet-slideout-panel.cjs.entry.js +11 -11
  70. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  71. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-step_2.cjs.entry.js +6 -6
  73. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  74. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
  75. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
  76. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
  78. package/lib/cjs/duet-teaser.cjs.entry.js +6 -6
  79. package/lib/cjs/duet-textarea.cjs.entry.js +20 -11
  80. package/lib/cjs/duet-toggle.cjs.entry.js +8 -8
  81. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  82. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  83. package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
  84. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  86. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +10 -10
  87. package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
  88. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  89. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  90. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  91. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  92. package/lib/cjs/duet.cjs.js +3 -3
  93. package/lib/cjs/{errorcodes.utils-Di-nO8ua.js → errorcodes.utils-MdC-C1Fa.js} +1 -1
  94. package/lib/cjs/{floating-ui.dom.browser.min-Cj0r5YDz.js → floating-ui.dom.browser.min-DaH62q3u.js} +83 -0
  95. package/lib/cjs/{focus-utils-uEO1pi2O.js → focus-utils-KpSp5WDp.js} +1 -1
  96. package/lib/cjs/{index-BGRMvA4R.js → index-BP4tQozH.js} +1 -1
  97. package/lib/cjs/{label-CwgdRt0Q.js → label-CjvqwyJR.js} +1 -1
  98. package/lib/cjs/{language-utils-CrB5zNlc.js → language-utils-BCJyRc_q.js} +1 -1
  99. package/lib/cjs/loader.cjs.js +3 -3
  100. package/lib/cjs/{picture-utils-CZhgDlXJ.js → picture-utils-Dp6TiDHy.js} +1 -1
  101. package/lib/cjs/{slot-utils-4v5bqyQh.js → slot-utils-DvtoWHAA.js} +1 -1
  102. package/lib/cjs/{themeable-component-I4SEm6nQ.js → themeable-component-BXqwFhg-.js} +1 -1
  103. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  104. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  105. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  106. package/lib/collection/components/duet-button/duet-button.css +3 -0
  107. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  108. package/lib/collection/components/duet-card/duet-card.css +13 -9
  109. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  110. package/lib/collection/components/duet-choice-group/duet-choice-group.js +12 -3
  111. package/lib/collection/components/duet-combobox/duet-combobox-select.js +1 -1
  112. package/lib/collection/components/duet-combobox/duet-combobox.js +29 -11
  113. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  114. package/lib/collection/components/duet-date-picker/date-picker-day.js +1 -1
  115. package/lib/collection/components/duet-date-picker/duet-date-picker.js +34 -7
  116. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  117. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  118. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  119. package/lib/collection/components/duet-input/duet-input.css +31 -0
  120. package/lib/collection/components/duet-input/duet-input.js +48 -14
  121. package/lib/collection/components/duet-link/duet-link.css +16 -0
  122. package/lib/collection/components/duet-link/duet-link.js +2 -2
  123. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  124. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  125. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  126. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  127. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  128. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  129. package/lib/collection/components/duet-modal/duet-modal.css +8 -1
  130. package/lib/collection/components/duet-modal/duet-modal.js +6 -7
  131. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  132. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  133. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  134. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
  135. package/lib/collection/components/duet-number-input/duet-number-input.js +23 -4
  136. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  137. package/lib/collection/components/duet-page-heading/duet-page-heading.js +3 -3
  138. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  139. package/lib/collection/components/duet-panel/duet-panel.js +2 -2
  140. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  141. package/lib/collection/components/duet-phone-input/duet-phone-input.js +9 -1
  142. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +13 -4
  143. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +2 -0
  144. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  145. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  146. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  147. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  148. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  149. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  150. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  151. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  152. package/lib/collection/components/duet-select/duet-select.js +5 -5
  153. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  154. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  155. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  156. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  157. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  158. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  159. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  160. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  161. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  162. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  163. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  164. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  165. package/lib/collection/components/duet-step/duet-step.js +2 -2
  166. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  167. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  168. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  169. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  170. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  171. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  172. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  173. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  174. package/lib/collection/components/duet-table/duet-table.js +2 -2
  175. package/lib/collection/components/duet-teaser/duet-teaser.js +2 -2
  176. package/lib/collection/components/duet-textarea/duet-textarea.css +8 -0
  177. package/lib/collection/components/duet-textarea/duet-textarea.js +35 -6
  178. package/lib/collection/components/duet-toggle/duet-toggle.js +3 -3
  179. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  180. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  181. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  182. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  183. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  184. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +6 -0
  185. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  186. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +3 -3
  187. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  188. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  189. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  190. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  191. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  192. package/lib/duet/duet.esm.js +1 -1
  193. package/lib/duet/{p-4695398d.entry.js → p-01a6e993.entry.js} +1 -1
  194. package/lib/duet/{p-e3d91f53.entry.js → p-0476dabc.entry.js} +1 -1
  195. package/lib/duet/{p-05a6360b.entry.js → p-06e879d2.entry.js} +1 -1
  196. package/lib/duet/p-0f433f55.entry.js +4 -0
  197. package/lib/duet/{p-5fc88879.entry.js → p-126b3fd0.entry.js} +1 -1
  198. package/lib/duet/p-1566e2ec.entry.js +4 -0
  199. package/lib/duet/{p-a6dc8c7d.entry.js → p-1956dd8e.entry.js} +1 -1
  200. package/lib/duet/{p-8b9ffff4.entry.js → p-1db9e784.entry.js} +1 -1
  201. package/lib/duet/{p-b2f0905a.entry.js → p-1deed1aa.entry.js} +1 -1
  202. package/lib/duet/{p-f264879d.entry.js → p-27894857.entry.js} +1 -1
  203. package/lib/duet/{p-868647de.entry.js → p-2c2e7c9b.entry.js} +1 -1
  204. package/lib/duet/{p-6865e880.entry.js → p-2c465a03.entry.js} +1 -1
  205. package/lib/duet/p-2d780739.entry.js +4 -0
  206. package/lib/duet/{p-9987420d.entry.js → p-2f092aed.entry.js} +1 -1
  207. package/lib/duet/p-304af2e5.entry.js +4 -0
  208. package/lib/duet/{p-0df7094e.entry.js → p-34d16cbb.entry.js} +1 -1
  209. package/lib/duet/p-34ec25cb.entry.js +4 -0
  210. package/lib/duet/{p-430fad4e.entry.js → p-37d5a3c5.entry.js} +1 -1
  211. package/lib/duet/{p-e9a7215b.entry.js → p-3932a89b.entry.js} +1 -1
  212. package/lib/duet/{p-4bc7198d.entry.js → p-3c8d76e2.entry.js} +1 -1
  213. package/lib/duet/{p-9d41df85.entry.js → p-3d454072.entry.js} +1 -1
  214. package/lib/duet/{p-c5c63d0f.entry.js → p-3e66035d.entry.js} +1 -1
  215. package/lib/duet/p-471d4d75.entry.js +4 -0
  216. package/lib/duet/{p-ccaf5c28.entry.js → p-4ddf8009.entry.js} +1 -1
  217. package/lib/duet/{p-047af1e2.entry.js → p-5044e0ed.entry.js} +1 -1
  218. package/lib/duet/{p-c26e2123.entry.js → p-5103d5f4.entry.js} +1 -1
  219. package/lib/duet/{p-f959ca52.entry.js → p-51693a7c.entry.js} +1 -1
  220. package/lib/duet/{p-b58cfa18.entry.js → p-54bfe081.entry.js} +1 -1
  221. package/lib/duet/p-588e75cd.entry.js +4 -0
  222. package/lib/duet/{p-feae1702.entry.js → p-5d70e259.entry.js} +1 -1
  223. package/lib/duet/p-618cfeef.entry.js +4 -0
  224. package/lib/duet/{p-8ea85c31.entry.js → p-6449b1cc.entry.js} +1 -1
  225. package/lib/duet/{p-a944ffff.entry.js → p-6502a274.entry.js} +1 -1
  226. package/lib/duet/p-69a72f22.entry.js +4 -0
  227. package/lib/duet/{p-d78923f9.entry.js → p-6e4536e3.entry.js} +1 -1
  228. package/lib/duet/p-6ed52261.entry.js +4 -0
  229. package/lib/duet/{p-b4a1c719.entry.js → p-712adcec.entry.js} +1 -1
  230. package/lib/duet/{p-c49a72ad.entry.js → p-79afa773.entry.js} +1 -1
  231. package/lib/duet/p-7d61dc62.entry.js +4 -0
  232. package/lib/duet/p-7f9de2a6.entry.js +4 -0
  233. package/lib/duet/{p-f17438c7.entry.js → p-870d3c78.entry.js} +1 -1
  234. package/lib/duet/{p-017873ec.entry.js → p-88bf42dc.entry.js} +1 -1
  235. package/lib/duet/{p-2013545d.entry.js → p-88e65283.entry.js} +1 -1
  236. package/lib/duet/{p-8ad4bb4c.entry.js → p-8aaf283d.entry.js} +1 -1
  237. package/lib/duet/p-8d939074.entry.js +4 -0
  238. package/lib/duet/{p-84ed366e.entry.js → p-908fca79.entry.js} +1 -1
  239. package/lib/duet/{p-1358a396.entry.js → p-93080f2d.entry.js} +1 -1
  240. package/lib/duet/{p-b9e97305.entry.js → p-94d057ea.entry.js} +1 -1
  241. package/lib/duet/{p-8da66626.entry.js → p-99367980.entry.js} +1 -1
  242. package/lib/duet/{p-2f0f3a4a.entry.js → p-9a248faf.entry.js} +1 -1
  243. package/lib/duet/p-9d405b35.entry.js +4 -0
  244. package/lib/duet/{p-058fcc72.entry.js → p-9ed154f5.entry.js} +1 -1
  245. package/lib/duet/{p-DtprEjjN.js → p-B1GzOTNZ.js} +1 -1
  246. package/lib/duet/p-BQTM1aqo.js +4 -0
  247. package/lib/duet/{p-D4MpGrUR.js → p-CdcBxXLd.js} +1 -1
  248. package/lib/duet/p-CirNV9Vh.js +4 -0
  249. package/lib/duet/{p-B0XOGsB6.js → p-Cj9zQLn2.js} +1 -1
  250. package/lib/duet/p-D3ladndz.js +4 -0
  251. package/lib/duet/p-D4pJQwPW.js +4 -0
  252. package/lib/duet/p-Dbe-q7B5.js +4 -0
  253. package/lib/duet/{p-DSNAI2Lx.js → p-DmLE9-rw.js} +1 -1
  254. package/lib/duet/p-DoEOuTZj.js +4 -0
  255. package/lib/duet/{p-420df0aa.entry.js → p-a2514ad4.entry.js} +1 -1
  256. package/lib/duet/{p-a2f7ef35.entry.js → p-a4a3febe.entry.js} +1 -1
  257. package/lib/duet/p-a517cdce.entry.js +4 -0
  258. package/lib/duet/{p-0acf9bcf.entry.js → p-a70bb08d.entry.js} +1 -1
  259. package/lib/duet/{p-1498e4a8.entry.js → p-aa2c3e0a.entry.js} +1 -1
  260. package/lib/duet/{p-0c42cc61.entry.js → p-af7b2954.entry.js} +1 -1
  261. package/lib/duet/{p-1ec31f22.entry.js → p-b37d4985.entry.js} +1 -1
  262. package/lib/duet/{p-fb59f80d.entry.js → p-b4cf5f14.entry.js} +1 -1
  263. package/lib/duet/{p-ebe55a34.entry.js → p-b6233e75.entry.js} +1 -1
  264. package/lib/duet/{p-07d43c60.entry.js → p-b97098a6.entry.js} +1 -1
  265. package/lib/duet/{p-aebcf484.entry.js → p-bd0263e4.entry.js} +1 -1
  266. package/lib/duet/{p-69bcb076.entry.js → p-beaa4612.entry.js} +1 -1
  267. package/lib/duet/{p-a2106abd.entry.js → p-c15c8dd2.entry.js} +1 -1
  268. package/lib/duet/{p-b7351bfd.entry.js → p-c223cd3e.entry.js} +1 -1
  269. package/lib/duet/{p-b7bb7472.entry.js → p-c35ae5a0.entry.js} +1 -1
  270. package/lib/duet/{p-b5204ec2.entry.js → p-c435bb67.entry.js} +1 -1
  271. package/lib/duet/p-c6e3723f.entry.js +4 -0
  272. package/lib/duet/{p-a62e6d8d.entry.js → p-c7b32952.entry.js} +1 -1
  273. package/lib/duet/p-c95669be.entry.js +4 -0
  274. package/lib/duet/{p-9dee0205.entry.js → p-c987a644.entry.js} +1 -1
  275. package/lib/duet/p-c9b8c2ba.entry.js +4 -0
  276. package/lib/duet/{p-3ce04abc.entry.js → p-c9bdf927.entry.js} +1 -1
  277. package/lib/duet/{p-b3a7ef62.entry.js → p-cdf0fb4c.entry.js} +1 -1
  278. package/lib/duet/p-d069edf1.entry.js +4 -0
  279. package/lib/duet/p-ddafe27d.entry.js +4 -0
  280. package/lib/duet/{p-fb0f6212.entry.js → p-dfdec452.entry.js} +1 -1
  281. package/lib/duet/{p-f89da74c.entry.js → p-e0f729ad.entry.js} +1 -1
  282. package/lib/duet/{p-bef7eed7.entry.js → p-e32af858.entry.js} +1 -1
  283. package/lib/duet/{p-68a9ffb5.entry.js → p-e353daaf.entry.js} +1 -1
  284. package/lib/duet/p-e5dbac7a.entry.js +4 -0
  285. package/lib/duet/{p-f647f09e.entry.js → p-ec2dcb1b.entry.js} +1 -1
  286. package/lib/duet/{p-0ab559fb.entry.js → p-ed7fbc44.entry.js} +1 -1
  287. package/lib/duet/{p-76e2c659.entry.js → p-ef6ce9dc.entry.js} +1 -1
  288. package/lib/duet/{p-2b17c517.entry.js → p-fcb9c0db.entry.js} +1 -1
  289. package/lib/duet/{p-e78af675.entry.js → p-fe821e46.entry.js} +1 -1
  290. package/lib/duet/p-qboSQpUe.js +4 -0
  291. package/lib/esm/{a11y-utils-DZqe1lDK.js → a11y-utils-DbDY4hy4.js} +1 -1
  292. package/lib/esm/{app-globals-Byl9AdI1.js → app-globals-COfbcvxE.js} +1 -1
  293. package/lib/esm/duet-action-button.entry.js +3 -3
  294. package/lib/esm/duet-alert.entry.js +4 -4
  295. package/lib/esm/duet-badge.entry.js +6 -6
  296. package/lib/esm/duet-banner.entry.js +4 -4
  297. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  298. package/lib/esm/duet-breadcrumbs.entry.js +5 -5
  299. package/lib/esm/duet-button_2.entry.js +5 -5
  300. package/lib/esm/duet-callout.entry.js +5 -5
  301. package/lib/esm/duet-caption_4.entry.js +10 -10
  302. package/lib/esm/duet-card.entry.js +5 -5
  303. package/lib/esm/duet-checkbox.entry.js +3 -3
  304. package/lib/esm/duet-checkmark.entry.js +4 -4
  305. package/lib/esm/duet-chip.entry.js +3 -3
  306. package/lib/esm/duet-choice_2.entry.js +16 -7
  307. package/lib/esm/duet-collapsible.entry.js +3 -3
  308. package/lib/esm/duet-combobox.entry.js +31 -14
  309. package/lib/esm/duet-contact-card.entry.js +6 -6
  310. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  311. package/lib/esm/duet-date-picker.entry.js +17 -13
  312. package/lib/esm/duet-divider_2.entry.js +3 -3
  313. package/lib/esm/duet-editable-table_3.entry.js +8 -8
  314. package/lib/esm/duet-empty-state.entry.js +2 -2
  315. package/lib/esm/duet-fieldset.entry.js +6 -6
  316. package/lib/esm/duet-file-chooser.entry.js +2 -2
  317. package/lib/esm/duet-footer.entry.js +4 -4
  318. package/lib/esm/duet-grid_2.entry.js +4 -4
  319. package/lib/esm/duet-header_2.entry.js +3 -3
  320. package/lib/esm/duet-hero.entry.js +5 -5
  321. package/lib/esm/duet-icon.entry.js +5 -5
  322. package/lib/esm/duet-indicator.entry.js +3 -3
  323. package/lib/esm/duet-input_2.entry.js +33 -19
  324. package/lib/esm/duet-layout.entry.js +2 -2
  325. package/lib/esm/duet-list_2.entry.js +4 -4
  326. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  327. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  328. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  329. package/lib/esm/duet-menu-bar-item.entry.js +7 -7
  330. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  331. package/lib/esm/duet-menu-bar.entry.js +3 -3
  332. package/lib/esm/duet-modal.entry.js +12 -13
  333. package/lib/esm/duet-multiselect.entry.js +10 -10
  334. package/lib/esm/duet-nav.entry.js +3 -3
  335. package/lib/esm/duet-notification_2.entry.js +9 -9
  336. package/lib/esm/duet-number-input.entry.js +8 -8
  337. package/lib/esm/duet-overlay.entry.js +3 -3
  338. package/lib/esm/duet-page-heading.entry.js +6 -6
  339. package/lib/esm/duet-pagination_2.entry.js +16 -16
  340. package/lib/esm/duet-panel.entry.js +4 -4
  341. package/lib/esm/duet-phone-input.entry.js +13 -5
  342. package/lib/esm/duet-popup-menu_2.entry.js +22 -13
  343. package/lib/esm/duet-progress.entry.js +3 -3
  344. package/lib/esm/duet-promo-card.entry.js +6 -6
  345. package/lib/esm/duet-radio_2.entry.js +7 -7
  346. package/lib/esm/duet-range-slider.entry.js +6 -6
  347. package/lib/esm/duet-scrollable_3.entry.js +15 -15
  348. package/lib/esm/duet-section-layout.entry.js +4 -4
  349. package/lib/esm/duet-select.entry.js +9 -9
  350. package/lib/esm/duet-shaped-image.entry.js +4 -4
  351. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  352. package/lib/esm/duet-share-chart.entry.js +6 -6
  353. package/lib/esm/duet-show-more.entry.js +5 -5
  354. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  355. package/lib/esm/duet-slideout-link.entry.js +7 -7
  356. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  357. package/lib/esm/duet-slideout-panel.entry.js +11 -11
  358. package/lib/esm/duet-slideout.entry.js +10 -10
  359. package/lib/esm/duet-status-icon.entry.js +3 -3
  360. package/lib/esm/duet-step_2.entry.js +6 -6
  361. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  362. package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
  363. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  364. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  365. package/lib/esm/duet-submenu-bar.entry.js +7 -7
  366. package/lib/esm/duet-teaser.entry.js +6 -6
  367. package/lib/esm/duet-textarea.entry.js +20 -11
  368. package/lib/esm/duet-toggle.entry.js +8 -8
  369. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  370. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  371. package/lib/esm/duet-toolbar-item.entry.js +8 -8
  372. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  373. package/lib/esm/duet-toolbar.entry.js +4 -4
  374. package/lib/esm/duet-tooltip-button_2.entry.js +10 -10
  375. package/lib/esm/duet-tooltip.entry.js +5 -5
  376. package/lib/esm/duet-tray.entry.js +5 -5
  377. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  378. package/lib/esm/duet-upload-item.entry.js +6 -6
  379. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  380. package/lib/esm/duet.js +4 -4
  381. package/lib/esm/{errorcodes.utils-KA3z1KuW.js → errorcodes.utils-0XnfYFAn.js} +1 -1
  382. package/lib/esm/{floating-ui.dom.browser.min-B_NkY9T0.js → floating-ui.dom.browser.min-BQTM1aqo.js} +83 -1
  383. package/lib/esm/{focus-utils-id9x3opi.js → focus-utils-BwoMMpkj.js} +1 -1
  384. package/lib/esm/{index-D4MpGrUR.js → index-CdcBxXLd.js} +1 -1
  385. package/lib/esm/{label-Caev3m-F.js → label-D835wXCb.js} +1 -1
  386. package/lib/esm/{language-utils-DTyUbpD-.js → language-utils-C-lpMyP9.js} +1 -1
  387. package/lib/esm/loader.js +4 -4
  388. package/lib/esm/{picture-utils-4PMNZDR2.js → picture-utils-Cl2qK3GJ.js} +1 -1
  389. package/lib/esm/{slot-utils-BhEk4zKY.js → slot-utils-BSS0Em_Z.js} +1 -1
  390. package/lib/esm/{themeable-component-B_d7Klmd.js → themeable-component-DQtSOD4i.js} +1 -1
  391. package/lib/types/components/duet-combobox/duet-combobox.d.ts +2 -0
  392. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +5 -1
  393. package/lib/types/components/duet-input/duet-input.d.ts +11 -1
  394. package/lib/types/components/duet-number-input/duet-number-input.d.ts +4 -0
  395. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +1 -0
  396. package/lib/types/components/duet-textarea/duet-textarea.d.ts +8 -1
  397. package/lib/types/components.d.ts +48 -10
  398. package/package.json +5 -5
  399. package/lib/duet/p-05b5ef84.entry.js +0 -4
  400. package/lib/duet/p-10baba94.entry.js +0 -4
  401. package/lib/duet/p-16d5dd2c.entry.js +0 -4
  402. package/lib/duet/p-2265c46a.entry.js +0 -4
  403. package/lib/duet/p-2394b3cd.entry.js +0 -4
  404. package/lib/duet/p-453001ea.entry.js +0 -4
  405. package/lib/duet/p-4e028274.entry.js +0 -4
  406. package/lib/duet/p-5be103d0.entry.js +0 -4
  407. package/lib/duet/p-5e5b6dc7.entry.js +0 -4
  408. package/lib/duet/p-71da8fbe.entry.js +0 -4
  409. package/lib/duet/p-7f5387dd.entry.js +0 -4
  410. package/lib/duet/p-940a87e7.entry.js +0 -4
  411. package/lib/duet/p-99550717.entry.js +0 -4
  412. package/lib/duet/p-B44ykle6.js +0 -4
  413. package/lib/duet/p-B5SMAn1G.js +0 -4
  414. package/lib/duet/p-BAiGBGTO.js +0 -4
  415. package/lib/duet/p-BWz_ChlU.js +0 -4
  416. package/lib/duet/p-B_NkY9T0.js +0 -4
  417. package/lib/duet/p-Bnup2-sN.js +0 -4
  418. package/lib/duet/p-C6rGA5IU.js +0 -4
  419. package/lib/duet/p-a2a2f775.entry.js +0 -4
  420. package/lib/duet/p-b69946d4.entry.js +0 -4
  421. package/lib/duet/p-bb7fa0cf.entry.js +0 -4
  422. package/lib/duet/p-bffae8f6.entry.js +0 -4
  423. package/lib/duet/p-c9a12663.entry.js +0 -4
  424. package/lib/duet/p-d8383f1a.entry.js +0 -4
  425. package/lib/duet/p-ef340dc6.entry.js +0 -4
  426. package/lib/duet/p-f61ebeb1.entry.js +0 -4
@@ -3,9 +3,9 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BGRMvA4R.js');
6
+ var index = require('./index-BP4tQozH.js');
7
7
  var tokens = require('./tokens-COLlUECP.js');
8
- var themeableComponent = require('./themeable-component-I4SEm6nQ.js');
8
+ var themeableComponent = require('./themeable-component-BXqwFhg-.js');
9
9
  var keyboardUtils = require('./keyboard-utils-DibQafwg.js');
10
10
 
11
11
  const duetSubmenuBarDropdownCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-dropdown{position:relative;height:100%}.duet-submenu-bar-dropdown button{position:relative;display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:12px 1.5rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none;cursor:pointer}.duet-submenu-bar-dropdown button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-submenu-bar-dropdown button:focus,.duet-submenu-bar-dropdown button:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}@media (min-width: 62em){.duet-submenu-bar-dropdown button{flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;font-size:0.875rem;color:rgb(0, 75, 129)}}.duet-submenu-bar-dropdown button .label{display:flex;gap:5px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar-dropdown button.open{background:rgb(228, 241, 247)}}.duet-submenu-bar-dropdown button.open .caret{transform:rotate(180deg)}.duet-submenu-bar-dropdown button.active .label-text{position:relative}.duet-submenu-bar-dropdown button.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-dropdown button.active .label-text::after{display:none}}@media (min-width: 62em){.duet-submenu-bar-dropdown button .caret{position:absolute;right:12px}.duet-submenu-bar-dropdown button:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown button:hover.active{color:rgb(8, 42, 77)}.duet-submenu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-submenu-bar-dropdown button.active::after,.duet-submenu-bar-dropdown button.open::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}}.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:16px;height:16px}}.duet-submenu-bar-dropdown .items{display:flex;visibility:visible;flex-direction:column;align-items:center;justify-content:center;max-height:1000px;padding:4px 0 16px;overflow-y:auto;color:rgb(8, 42, 77);scrollbar-width:none;transition:max-height 0.3s ease-in, padding 0.3s ease-in;-ms-overflow-style:none}.duet-submenu-bar-dropdown .items::-webkit-scrollbar{display:none}@media (min-width: 62em){.duet-submenu-bar-dropdown .items{position:absolute;top:93%;z-index:600;min-width:320px;padding:8px;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);transition:none}}.duet-submenu-bar-dropdown .items.hidden{visibility:hidden;max-height:0;padding:0;overflow:hidden;transition:max-height 0.3s ease-in, padding 0.3s ease-in}.duet-submenu-bar-dropdown.duet-theme-turva button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}.duet-submenu-bar-dropdown.duet-theme-turva button.active{color:rgb(230, 23, 64)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button:hover{background:rgb(251, 225, 209)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active .label-text::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open .label-text::after{background:rgb(230, 23, 64)}.duet-submenu-bar-dropdown.duet-theme-turva button.active::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open::after{background:rgb(230, 23, 64)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.active,.duet-submenu-bar-dropdown.duet-theme-turva button.open{color:rgb(140, 0, 30)}.duet-submenu-bar-dropdown.duet-theme-turva button.open{background:rgb(251, 225, 209)}}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}}";
@@ -114,18 +114,18 @@ const DuetSubmenuBarDropdown = class {
114
114
  * Always the last one in the class.
115
115
  */
116
116
  render() {
117
- return (index.h(index.Host, { key: 'bcb3f683de71c0bc8b9c87f8c3bc7ef5600c6fa0', role: "listitem" }, index.h("div", { key: 'ec440dbd58f7aa8a152d1e6517801ffffb4795a6', class: {
117
+ return (index.h(index.Host, { key: 'b51e8416e33625711e381e53bec0724889b3d4a1', role: "listitem" }, index.h("div", { key: '44c9b2f36c4579b75175240b1ab037d48fabed5d', class: {
118
118
  "duet-submenu-bar-dropdown": true,
119
119
  "duet-theme-turva": this.theme === "turva",
120
120
  open: this.open,
121
121
  active: this.active,
122
- } }, index.h("button", { key: 'f67b293a2fd28a3c0e3e062461de2890beb6f174', 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: {
122
+ } }, index.h("button", { key: '9142786ada48453874be341a2409d16c83e91347', 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: {
123
123
  open: this.open,
124
124
  active: this.active,
125
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (index.h("duet-icon", { key: '10bfe310933a9f989ae31ded0cbced2a0a14db8a', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), index.h("div", { key: '3c53621e7555e4df6a62ac41cfacb19dbc2630b9', class: "label" }, index.h("span", { key: '60cd09a846746be5d50c9851d1a2d3d66a61682e', class: "label-text" }, index.h("slot", { key: '0a0ad898618514d5b4f510d6be7e3c0074a86af1', name: "label" })), index.h("duet-icon", { key: '69a6d28eba4f72b06c035cd529553ae16da14253', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), index.h("div", { key: 'f5889cb60d5f244d99e8e5cce9486388166e4034', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
125
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (index.h("duet-icon", { key: 'e0dba09b06d16f60131bf1ac7744e7867e77a9c3', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), index.h("div", { key: 'da38470a493fbbae28f1e9ab1217f63fa8106937', class: "label" }, index.h("span", { key: '64980453db932e88d8dfe8f88f28e1aa5eb14c66', class: "label-text" }, index.h("slot", { key: 'f8dc584414a25bd7ab46519ebc01e0b9f1892db0', name: "label" })), index.h("duet-icon", { key: '1ede41bfa5de2236c4f2d1dbfc3c470864710fca', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), index.h("div", { key: '18aec6f6c56e6b784c2e74fe652e9cce530b675f', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
126
126
  items: true,
127
127
  hidden: !this.open,
128
- } }, index.h("slot", { key: '48c26d5ac4af48cc2a0811966278d49b315723f3' })))));
128
+ } }, index.h("slot", { key: '8dc7c90b3bf98db886ad26d888b54899eb399a29' })))));
129
129
  }
130
130
  get element() { return index.getElement(this); }
131
131
  };
@@ -3,15 +3,15 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BGRMvA4R.js');
6
+ var index = require('./index-BP4tQozH.js');
7
7
  var actionNewWindowSmall = require('./action-new-window-small-BWlVx6YN.js');
8
8
  var commonStrings = require('./common-strings-DMaSb4Ld.js');
9
- var themeableComponent = require('./themeable-component-I4SEm6nQ.js');
10
- var a11yUtils = require('./a11y-utils-DmCjy3Q3.js');
9
+ var themeableComponent = require('./themeable-component-BXqwFhg-.js');
10
+ var a11yUtils = require('./a11y-utils-DZ42p33K.js');
11
11
  var keyboardUtils = require('./keyboard-utils-DibQafwg.js');
12
- var languageUtils = require('./language-utils-CrB5zNlc.js');
12
+ var languageUtils = require('./language-utils-BCJyRc_q.js');
13
13
  require('./_commonjsHelpers-4N64IRaP.js');
14
- require('./slot-utils-4v5bqyQh.js');
14
+ require('./slot-utils-DvtoWHAA.js');
15
15
  require('./string-utils-B35hEUBv.js');
16
16
 
17
17
  const duetSubmenuBarItemCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-item{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;height:100%;padding:12px 1.5rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:600;line-height:1.25;color:rgb(0, 75, 129);text-align:center;white-space:nowrap;text-decoration:none;cursor:pointer}.duet-submenu-bar-item:focus{outline:2px solid;outline-offset:-4px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva{outline:2px solid;outline-offset:-4px;outline-color:rgba(53, 79, 101, 0.8)}.duet-submenu-bar-item .label{display:flex;gap:5px;align-items:center;justify-content:center}.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:16px;height:16px}}.duet-submenu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-submenu-bar-item .external-icon{width:10px;height:10px}.duet-submenu-bar-item .trailing-icon{position:absolute;right:12px}.duet-submenu-bar-item[aria-expanded=true]{background:rgb(228, 241, 247)}.duet-submenu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-submenu-bar-item.active{color:rgb(0, 119, 179)}.duet-submenu-bar-item.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}.duet-submenu-bar-item:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-item.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}.duet-submenu-bar-item.active.duet-theme-turva{color:rgb(230, 23, 64)}.duet-submenu-bar-item.duet-theme-turva[aria-expanded=true]{background:rgb(251, 225, 209)}.duet-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(230, 23, 64)}.duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(230, 23, 64)}.duet-submenu-bar-item.duet-theme-turva:hover{color:rgb(23, 42, 59);background:rgb(251, 225, 209)}.duet-submenu-bar-item.duet-theme-turva:hover.active{color:rgb(230, 23, 64)}";
@@ -89,7 +89,7 @@ const DuetSubmenuBarItem = class {
89
89
  render() {
90
90
  const TagName = this.url ? "a" : "button";
91
91
  const role = this.url ? "link" : "button";
92
- return (index.h(index.Host, { key: 'de4d2352d792c0adffd35bc86e9450b970bf8b0b', role: "listitem" }, index.h(TagName, { key: 'd07f89e5b67f9898e7ad18385c29956226bbd875', 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 && a11yUtils.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 && (index.h("duet-icon", { key: '0355e7d2be9da67841b162371e4c22bed4a58bf8', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), index.h("div", { key: 'c6cb759071a39f0ef8d86fcc657aabc6c174f6a8', class: "label" }, index.h("span", { key: '35b683122ff7739979a3c10ea756df2e0becccfe', class: "label-text" }, index.h("slot", { key: '530d2eec823596ae1a6c9148684a500bd48ebfae' })), (this.trailingIcon || this.external) && (index.h("duet-icon", { key: '95d91c2031615a6960ae2d476a92034f37cd5e7f', class: {
92
+ return (index.h(index.Host, { key: 'a6d866946b9ba85265cc7df4d98403697d619606', role: "listitem" }, index.h(TagName, { key: '32a6f64535cfb4468e4df774b840203265d183d8', 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 && a11yUtils.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 && (index.h("duet-icon", { key: '49ecd11776943249f4563c1131a9f76dff3914e9', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), index.h("div", { key: 'b129913e594e27a973bd72edcb1cde1eb5cb3e1e', class: "label" }, index.h("span", { key: '0f6a39e368b2e40b6ba401586fc4daa9442cf8f0', class: "label-text" }, index.h("slot", { key: '00bfacd528e419c0e68e6d9c8040d36f0cc0b71c' })), (this.trailingIcon || this.external) && (index.h("duet-icon", { key: 'e44a9f410642e5acd3f79250bf80844393789527', class: {
93
93
  "trailing-icon": !!this.trailingIcon,
94
94
  "trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
95
95
  "external-icon": !!this.external,
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BGRMvA4R.js');
7
- var themeableComponent = require('./themeable-component-I4SEm6nQ.js');
6
+ var index = require('./index-BP4tQozH.js');
7
+ var themeableComponent = require('./themeable-component-BXqwFhg-.js');
8
8
  var keyboardUtils = require('./keyboard-utils-DibQafwg.js');
9
9
 
10
10
  const duetSubmenuBarLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-link{display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;height:100%;padding:12px 1.5rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none}.duet-submenu-bar-link:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-submenu-bar-link:focus,.duet-submenu-bar-link:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-submenu-bar-link .submenu-bar-link-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-link .submenu-bar-link-icon{width:16px;height:16px}}@media (min-width: 62em){.duet-submenu-bar-link{flex-direction:column;gap:5px;align-items:center;justify-content:center;font-size:0.875rem;color:rgb(0, 75, 129)}}@media (min-width: 62em){.duet-submenu-bar-link.active{color:rgb(0, 119, 179)}}.duet-submenu-bar-link.active .label{position:relative}.duet-submenu-bar-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-link.active .label::after{display:none}.duet-submenu-bar-link.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}}@media (min-width: 62em){.duet-submenu-bar-link:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}}.duet-submenu-bar-link.duet-theme-turva{color:rgb(23, 42, 59)}.duet-submenu-bar-link.duet-theme-turva.active .label::after{background:rgb(230, 23, 64)}.duet-submenu-bar-link.duet-theme-turva.active::after{background:rgb(230, 23, 64)}@media (min-width: 62em){.duet-submenu-bar-link.duet-theme-turva.active{color:rgb(230, 23, 64)}.duet-submenu-bar-link.duet-theme-turva:hover{color:rgb(23, 42, 59);background:rgb(251, 225, 209)}.duet-submenu-bar-link.duet-theme-turva:hover.active{color:rgb(230, 23, 64)}}";
@@ -47,7 +47,7 @@ const DuetSubmenuBarLink = class {
47
47
  * Always the last one in the class.
48
48
  */
49
49
  render() {
50
- return (index.h(index.Host, { key: 'f21f33d16d3f1e5435db17e9cd84b5c6be8b9a27', role: "listitem" }, index.h("a", { key: 'd0a5cbf0af61c71728e231fe37161b3771d32239', 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 && (index.h("duet-icon", { key: '62d39b5711cb99bbe1e6a5116d365926cbb7a00e', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), index.h("span", { key: '0c4fad2999da91f0c87910c43f30c028482581ca', class: "label" }, index.h("slot", { key: '9f803721b07edf060c3a0c3c65190f8205ab0422' })))));
50
+ return (index.h(index.Host, { key: '61a7e1fc2b326138c7cfc134690d1c4f190fe946', role: "listitem" }, index.h("a", { key: 'd5322e03b0df04c31a0937d405679c24674b35d6', 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 && (index.h("duet-icon", { key: '5f5def1255fed4d06a745760805a4d5305165c2e', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), index.h("span", { key: '5c0f68184f743f8252c0a05efa52fbd7b6bcd5c0', class: "label" }, index.h("slot", { key: 'd372e57f8d53c24773f8f0583e73194abeab8601' })))));
51
51
  }
52
52
  get element() { return index.getElement(this); }
53
53
  };
@@ -3,10 +3,10 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BGRMvA4R.js');
6
+ var index = require('./index-BP4tQozH.js');
7
7
  var tokens = require('./tokens-COLlUECP.js');
8
8
  var bodyScrollLock_es6 = require('./bodyScrollLock.es6-B2sCDud5.js');
9
- var themeableComponent = require('./themeable-component-I4SEm6nQ.js');
9
+ var themeableComponent = require('./themeable-component-BXqwFhg-.js');
10
10
 
11
11
  const duetSubmenuBarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;pointer-events:none}:host *{pointer-events:auto}:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:none}@media (min-width: 62em){:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:inherit}}.duet-submenu-bar{position:relative;top:0;z-index:1;background:rgb(240, 247, 250);transition:top 0.4s}.duet-submenu-bar.hidden{top:-200px}@media (min-width: 62em){.duet-submenu-bar{border-bottom:1px solid rgb(198, 225, 238)}}.duet-submenu-bar button{display:flex;align-items:center;justify-content:center;width:100%;padding:12px 0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77)}.duet-submenu-bar button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-submenu-bar button:focus,.duet-submenu-bar button:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-submenu-bar button.active .caret{transform:rotate(180deg)}.duet-submenu-bar button .label{position:relative;display:flex;gap:8px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar button{display:none}}.duet-submenu-bar .menu-container{position:absolute;z-index:399;width:100%}.duet-submenu-bar .menu-container.hidden{visibility:hidden;max-height:0;overflow:hidden}@media (min-width: 62em){.duet-submenu-bar .menu-container,.duet-submenu-bar .menu-container.hidden{position:static;z-index:auto;visibility:visible;max-height:unset;overflow:visible}}.duet-submenu-bar .items{visibility:visible;width:100%;height:70vh;overflow-y:scroll;background:rgb(240, 247, 250);border-bottom:1px solid rgb(181, 198, 208)}.duet-submenu-bar .items ::slotted(*){position:relative}.duet-submenu-bar .items.hidden{visibility:hidden;max-height:0;overflow:hidden;border-bottom:0 solid rgb(181, 198, 208)}.duet-submenu-bar .items .list-padding{padding-bottom:188px}@media (min-width: 62em){.duet-submenu-bar .items .list{display:flex;align-items:center;justify-content:space-between;height:100%}.duet-submenu-bar .items,.duet-submenu-bar .items.hidden{position:static;z-index:auto;display:flex;visibility:visible;flex-direction:row;align-items:center;justify-content:center;height:auto;max-height:unset;overflow:visible;border:0}.duet-submenu-bar .items .list-padding{display:none;padding-bottom:0}}.duet-submenu-bar.duet-theme-turva{background:rgb(253, 247, 242);border-bottom-color:rgb(251, 225, 209)}.duet-submenu-bar.duet-theme-turva .items{background:rgb(253, 247, 242)}.duet-submenu-bar.duet-theme-turva .mobile-background{background:rgb(23, 42, 59)}.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}";
12
12
 
@@ -137,19 +137,19 @@ const DuetSubmenuBar = class {
137
137
  * Always the last one in the class.
138
138
  */
139
139
  render() {
140
- return (index.h(index.Host, { key: 'f4def1bd42afddbfd791262c81fa4cb6b53aa0bf' }, index.h("nav", { key: '0c99d3101944026ef30ecb17cc15036c7a49f69f', class: {
140
+ return (index.h(index.Host, { key: '816ecf621e240e3cf6a2288aab18767528ef10b0' }, index.h("nav", { key: 'aee92ffb8c65faaa013ddfdf10c40ec4f467030f', class: {
141
141
  "duet-submenu-bar": true,
142
142
  "duet-theme-turva": this.theme === "turva",
143
143
  hidden: this.hidden,
144
- }, "aria-label": this.accessibleLabel }, this.hasItems && (index.h("button", { key: 'b06a70d212f178d944b069955af8d3c3eaf2dcd3', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
144
+ }, "aria-label": this.accessibleLabel }, this.hasItems && (index.h("button", { key: 'c6d43080e7c320cfb23321f04aaf242a00d08a0d', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
145
145
  active: this.open,
146
- }, onClick: this.onClick }, index.h("span", { key: '7915c6c4efaaec0625dad9fc232fe7037bc136ff', class: "label" }, index.h("slot", { key: '3ba013e59bd0e392c3648611266ecbb405d4a831', name: "label" }), index.h("duet-icon", { key: '72d21eb9586a7a21b50db832903217462dc7b24d', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), index.h("div", { key: 'f8e0d135231fc961dd80f795c1d82d9d7906da6e', class: {
146
+ }, onClick: this.onClick }, index.h("span", { key: '724fe14b534bb7275701c6ee57f6eba306ed21ce', class: "label" }, index.h("slot", { key: '1e761ff10257510e5a44b581d3c6bbae8e3fd1f2', name: "label" }), index.h("duet-icon", { key: 'ca72a4a98873e59b5dfd602408c05913de7b7070', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), index.h("div", { key: 'beed4388ee3ff813baa6c1fe93c8bfddb6c7529f', class: {
147
147
  "menu-container": true,
148
148
  hidden: !this.open,
149
- }, role: "presentation" }, index.h("div", { key: '6975ea468c45d4be064e96565773c0266b38e7ab', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
149
+ }, role: "presentation" }, index.h("div", { key: 'e294e75a427015c1cbbde13893a39ea85f1f7835', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
150
150
  items: true,
151
151
  hidden: !this.open,
152
- }, ref: element => (this.itemsContainer = element) }, index.h("div", { key: '0c037e643939277845dd75e4f98eb83c2ed41f99', class: "list", role: this.mobile ? "presentation" : "list" }, index.h("slot", { key: 'c0d94264c8cd5824c1c45df63bf5eb67897e2700' }), index.h("div", { key: '64bcd133e88697445e17abbf4dabf2ea4ed40fd0', class: "list-padding" }))), index.h("duet-overlay", { key: 'dedf8c34bcca605bb8ba3895930d66c7bfaafe6a', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
152
+ }, ref: element => (this.itemsContainer = element) }, index.h("div", { key: '99cf2dbeac35681c212fa459d303036f74c6e66e', class: "list", role: this.mobile ? "presentation" : "list" }, index.h("slot", { key: 'fb30bed27a6b2d3dc7289043e4814b5aa076e210' }), index.h("div", { key: '09ccbcb5e99b2579ea961dddbdda729420d0f43f', class: "list-padding" }))), index.h("duet-overlay", { key: 'c95ed4b5f791d6c6cab6ade6fb4269a00dc4af1d', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
153
153
  }
154
154
  get element() { return index.getElement(this); }
155
155
  static get watchers() { return {
@@ -3,10 +3,10 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BGRMvA4R.js');
7
- var themeableComponent = require('./themeable-component-I4SEm6nQ.js');
8
- var pictureUtils = require('./picture-utils-CZhgDlXJ.js');
9
- var slotUtils = require('./slot-utils-4v5bqyQh.js');
6
+ var index = require('./index-BP4tQozH.js');
7
+ var themeableComponent = require('./themeable-component-BXqwFhg-.js');
8
+ var pictureUtils = require('./picture-utils-Dp6TiDHy.js');
9
+ var slotUtils = require('./slot-utils-DvtoWHAA.js');
10
10
  var stringUtils = require('./string-utils-B35hEUBv.js');
11
11
 
12
12
  const duetTeaserCss = "*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n border: 0;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n border: 0;\n display: block;\n width: auto;\n container-type: inline-size;\n}\n\n.duet-teaser {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n border-radius: 16px;\n}\n.duet-teaser .image-wrap,\n.duet-teaser .icon-wrap {\n margin-bottom: 16px;\n}\n.duet-teaser .image-wrap {\n display: inline-block;\n overflow: hidden;\n border-radius: 16px;\n}\n.duet-teaser .image-wrap .duet-teaser-image {\n display: block;\n width: 100%;\n aspect-ratio: 16/10;\n object-fit: cover;\n}\n.duet-teaser .icon-wrap .duet-teaser-icon {\n display: block;\n width: 30px;\n width: 62px;\n height: 30px;\n height: 62px;\n}\n@container (width > 450px) {\n .duet-teaser .icon-wrap .duet-teaser-icon {\n width: 36px;\n width: 76px;\n height: 36px;\n height: 76px;\n }\n}\n.duet-teaser ::slotted(.teaser-heading) {\n margin: 0 0 1rem 0;\n font-size: 1.5rem;\n font-weight: 700;\n line-height: 1.25;\n}\n.duet-teaser ::slotted(.teaser-heading-h5) {\n font-size: 1.25rem;\n font-weight: 600;\n line-height: 1.25;\n}\n.duet-teaser .duet-teaser-body {\n display: flex;\n flex-direction: column;\n}\n.duet-teaser .duet-teaser-body .duet-teaser-meta {\n order: -1;\n padding-top: 8px;\n}\n.duet-teaser.duet-teaser-link {\n text-decoration: none;\n}\n.duet-teaser.duet-teaser-link:focus {\n outline: 2px solid;\n outline-offset: 2px;\n outline-color: rgba(0, 119, 179, 0.8);\n}\n.duet-theme-turva .duet-teaser.duet-teaser-link:focus, .duet-teaser.duet-teaser-link:focus.duet-theme-turva {\n outline: 2px solid;\n outline-offset: 2px;\n outline-color: rgba(53, 79, 101, 0.8);\n}\n.duet-teaser.duet-teaser-link .image-wrap {\n display: inline-block;\n overflow: hidden;\n}\n.duet-teaser.duet-teaser-link .image-wrap img {\n transition: transform 300ms ease;\n}\n.duet-teaser.duet-teaser-link ::slotted(.teaser-heading) {\n color: rgb(0, 75, 129);\n}\n.duet-teaser.duet-teaser-link:hover .teaser-heading {\n color: rgb(0, 97, 155);\n}\n.duet-teaser.duet-teaser-link:hover .image-wrap img {\n transform: scale(1.1);\n transition: transform 300ms ease;\n}\n.duet-teaser.duet-teaser-link:hover ::slotted(.teaser-heading) {\n color: rgb(0, 97, 155);\n text-decoration: underline;\n}\n\n.duet-theme-turva.duet-teaser {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n.duet-theme-turva.duet-teaser-link ::slotted(.teaser-heading) {\n color: rgb(140, 0, 30);\n}\n.duet-theme-turva.duet-teaser-link:hover ::slotted(.teaser-heading) {\n color: rgb(185, 3, 41);\n}";
@@ -97,11 +97,11 @@ const DuetTeaser = class {
97
97
  },
98
98
  sources: stringUtils.parsePossibleJSON(this.sources),
99
99
  };
100
- return (index.h(index.Host, { key: 'e65b22becf6cc35870584bb5d4984a5c92c52f80' }, index.h(TagName, { key: '39bab1e7a6e59414e18110a6513634c4da99dbe6', href: this.url, class: {
100
+ return (index.h(index.Host, { key: '2177fb25347d6718b106ee8ae29a47da6ae543b2' }, index.h(TagName, { key: '4485125a5e29b14c00da4a7ff1ab55ae30ae03fd', href: this.url, class: {
101
101
  "duet-teaser": true,
102
102
  "duet-theme-turva": this.theme === "turva",
103
103
  "duet-teaser-link": !!this.url,
104
- }, ref: element => (this.aOrDivElement = element) }, this.image ? (index.h("div", { class: "image-wrap" }, index.h(pictureUtils.DuetPicture, Object.assign({}, pictureSource)))) : (this.icon && (index.h("div", { class: "icon-wrap" }, index.h("duet-icon", { class: "duet-teaser-icon", shape: "brand", color: this.iconColor, background: this.iconBackground, name: this.icon, margin: "none" })))), index.h("div", { key: '985108c747576fb8fa5e522402ad6518d471a8c5', class: "duet-teaser-body" }, this.heading && (index.h("div", { key: '2c49e6b10827a31060a9a0263d20648835008aa0' }, index.h("slot", { key: '4f4470ff29f50d5b4deaa6b1e28593156c4d5b06', name: "heading" }))), this.meta && (index.h("duet-paragraph", { key: '86b2aca7b9b6345e14bb0e21d1e92bda158288c4', class: "duet-teaser-meta", margin: "none" }, this.meta)), this.description && index.h("duet-paragraph", { key: '1a4979c9fcc3e6b75724a8cf031a401d47992d43' }, this.description), !this.url && this.hasLinksSlot && (index.h("duet-grid", { key: 'f5d445c279ed382840cc879bf84317d329b060a4', direction: "vertical" }, index.h("slot", { key: '259f34f776ea59e48904321663fd54d864aa4dc0', name: "links" })))))));
104
+ }, ref: element => (this.aOrDivElement = element) }, this.image ? (index.h("div", { class: "image-wrap" }, index.h(pictureUtils.DuetPicture, Object.assign({}, pictureSource)))) : (this.icon && (index.h("div", { class: "icon-wrap" }, index.h("duet-icon", { class: "duet-teaser-icon", shape: "brand", color: this.iconColor, background: this.iconBackground, name: this.icon, margin: "none" })))), index.h("div", { key: 'c1bf8197236423d2c89e927609b46bf541f2ff2c', class: "duet-teaser-body" }, this.heading && (index.h("div", { key: 'f217f4e9e0ef3304743f40e2fff01054ca029f70' }, index.h("slot", { key: '4a57d8a71a89df56fff5f1be801425a26cac3e54', name: "heading" }))), this.meta && (index.h("duet-paragraph", { key: 'cacaa63522817218386da1de2ef6ab41dcf7927e', class: "duet-teaser-meta", margin: "none" }, this.meta)), this.description && index.h("duet-paragraph", { key: '575cb467ffd41ab0a5fb5f71f8995a4a8db15d48' }, this.description), !this.url && this.hasLinksSlot && (index.h("duet-grid", { key: '02c90e874e6c2b45b5e43194d161b30045effd31', direction: "vertical" }, index.h("slot", { key: 'fd2c221a55bbb1433355d189632eaf7795576561', name: "links" })))))));
105
105
  }
106
106
  get element() { return index.getElement(this); }
107
107
  };
@@ -3,17 +3,17 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BGRMvA4R.js');
7
- var themeableComponent = require('./themeable-component-I4SEm6nQ.js');
8
- var label = require('./label-CwgdRt0Q.js');
6
+ var index = require('./index-BP4tQozH.js');
7
+ var themeableComponent = require('./themeable-component-BXqwFhg-.js');
8
+ var label = require('./label-CjvqwyJR.js');
9
9
  var createId = require('./create-id-DtslnIOq.js');
10
10
  var inputUtils = require('./input-utils-DUKdslOM.js');
11
11
  var jsUtils = require('./js-utils-hJ4A2edy.js');
12
- var languageUtils = require('./language-utils-CrB5zNlc.js');
13
- var slotUtils = require('./slot-utils-4v5bqyQh.js');
12
+ var languageUtils = require('./language-utils-BCJyRc_q.js');
13
+ var slotUtils = require('./slot-utils-DvtoWHAA.js');
14
14
  require('./string-utils-B35hEUBv.js');
15
15
 
16
- const duetTextareaCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right: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}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:16px !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}.duet-textarea:focus{outline:2px solid;outline-offset:0;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-textarea:focus,.duet-textarea:focus.duet-theme-turva{outline:2px solid;outline-offset:0;outline-color:rgba(53, 79, 101, 0.8)}.has-error .duet-textarea{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important}.duet-textarea[rows]{min-height:auto}.duet-textarea::placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-textarea:focus::placeholder{color:rgb(181, 198, 208)}.duet-textarea[disabled]{color:rgb(98, 121, 138) !important;cursor:not-allowed !important;outline:none !important;background:rgb(228, 236, 239) !important;border-color:rgb(181, 198, 208) !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-textarea[disabled]::placeholder{color:rgb(8, 42, 77);opacity:1 !important}.duet-textarea:hover:not(:disabled):not(:focus){outline:2px solid;outline-color:rgb(127, 150, 165) !important;outline-offset:-1px}.duet-theme-turva .duet-textarea:hover:not(:disabled):not(:focus),.duet-textarea:hover:not(:disabled):not(:focus).duet-theme-turva{outline-color:rgb(120, 145, 164) !important}.has-error .duet-textarea:hover:not(:disabled):not(:focus){outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important}.duet-textarea:focus{outline:2px solid;outline-color:rgb(0, 119, 179) !important;outline-offset:-1px}.duet-theme-turva .duet-textarea:focus,.duet-textarea:focus.duet-theme-turva{outline-color:rgb(23, 42, 59) !important}.has-error .duet-textarea:focus{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255) !important}.duet-textarea:not(:focus):not(:hover):invalid{outline: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}.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.duet-label-hidden .duet-internal-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}.duet-character-count{display:block;margin:8px 0 0 auto}.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, 42, 59);border-color:rgb(120, 145, 164)}.duet-theme-turva .duet-textarea::placeholder{color:rgb(120, 145, 164)}.duet-theme-turva .duet-textarea:focus{border-color:rgb(23, 42, 59)}.duet-theme-turva .duet-textarea:focus::placeholder{color:rgb(178, 194, 205)}.duet-theme-turva .duet-textarea[disabled]::placeholder{color:rgb(23, 42, 59)}.duet-theme-turva .duet-textarea[disabled]{color:rgb(95, 122, 143) !important;cursor:not-allowed !important;outline:none !important;background:rgb(228, 233, 237) !important;border-color:rgb(178, 194, 205) !important;opacity:1 !important;-webkit-text-fill-color:rgb(23, 42, 59) !important}.duet-theme-turva.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.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(120, 145, 164)}";
16
+ const duetTextareaCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right: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}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:16px !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}.duet-textarea:focus{outline:2px solid;outline-offset:0;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-textarea:focus,.duet-textarea:focus.duet-theme-turva{outline:2px solid;outline-offset:0;outline-color:rgba(53, 79, 101, 0.8)}.has-error .duet-textarea{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important}.duet-textarea[rows]{min-height:auto}.duet-textarea::placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-textarea:focus::placeholder{color:rgb(181, 198, 208)}.duet-textarea[disabled]{color:rgb(98, 121, 138) !important;cursor:not-allowed !important;outline:none !important;background:rgb(228, 236, 239) !important;border-color:rgb(181, 198, 208) !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-textarea[disabled]::placeholder{color:rgb(8, 42, 77);opacity:1 !important}.duet-textarea[readonly]{color:rgb(62, 84, 102) !important;border-color:rgb(212, 223, 229)}.duet-textarea:hover:not(:disabled):not(:focus){outline:2px solid;outline-color:rgb(127, 150, 165) !important;outline-offset:-1px}.duet-theme-turva .duet-textarea:hover:not(:disabled):not(:focus),.duet-textarea:hover:not(:disabled):not(:focus).duet-theme-turva{outline-color:rgb(120, 145, 164) !important}.has-error .duet-textarea:hover:not(:disabled):not(:focus){outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important}.duet-textarea:focus{outline:2px solid;outline-color:rgb(0, 119, 179) !important;outline-offset:-1px}.duet-theme-turva .duet-textarea:focus,.duet-textarea:focus.duet-theme-turva{outline-color:rgb(23, 42, 59) !important}.has-error .duet-textarea:focus{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255) !important}.duet-textarea:not(:focus):not(:hover):invalid{outline: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}.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.duet-label-hidden .duet-internal-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}.duet-character-count{display:block;margin:8px 0 0 auto}.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, 42, 59);border-color:rgb(120, 145, 164)}.duet-theme-turva .duet-textarea::placeholder{color:rgb(120, 145, 164)}.duet-theme-turva .duet-textarea:focus{border-color:rgb(23, 42, 59)}.duet-theme-turva .duet-textarea:focus::placeholder{color:rgb(178, 194, 205)}.duet-theme-turva .duet-textarea[disabled]::placeholder{color:rgb(23, 42, 59)}.duet-theme-turva .duet-textarea[disabled]{color:rgb(95, 122, 143) !important;cursor:not-allowed !important;outline:none !important;background:rgb(228, 233, 237) !important;border-color:rgb(178, 194, 205) !important;opacity:1 !important;-webkit-text-fill-color:rgb(23, 42, 59) !important}.duet-theme-turva .duet-textarea[readonly]{color:rgb(53, 79, 101) !important;border-color:rgb(212, 221, 226)}.duet-theme-turva.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.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(120, 145, 164)}";
17
17
 
18
18
  const CharacterCount = ({ value, maxlength, theme }) => {
19
19
  if (maxlength == null) {
@@ -85,6 +85,11 @@ const DuetTextarea = class {
85
85
  * technologies.
86
86
  */
87
87
  this.disabled = false;
88
+ /**
89
+ * Makes the textarea component not mutable, meaning the user cannot edit the control.
90
+ * The user can otherwise interact, e.g. by selecting the content and copying it.
91
+ */
92
+ this.readonly = false;
88
93
  /**
89
94
  * Set whether the textarea is required or not. Please note that this is required for
90
95
  * accessible inputs when the user is required to fill them. When using this property
@@ -106,7 +111,8 @@ const DuetTextarea = class {
106
111
  */
107
112
  this.echoPlaceholder = false;
108
113
  /**
109
- * Display the textarea in error state along with an error message.
114
+ * Display the textarea in error state along with an error message. If the textarea is disabled
115
+ * or readonly, the error is ignored.
110
116
  */
111
117
  this.error = "";
112
118
  /**
@@ -242,23 +248,26 @@ const DuetTextarea = class {
242
248
  async setFocus(options) {
243
249
  this.nativeInput.focus(options);
244
250
  }
251
+ get writable() {
252
+ return !this.disabled && !this.readonly;
253
+ }
245
254
  /**
246
255
  * render() function
247
256
  * Always the last one in the class.
248
257
  */
249
258
  render() {
250
259
  const identifier = this.identifier || this.textareaId;
251
- return (index.h(index.Host, { key: 'c645b374c5569d125e844312777f69b913951785', class: {
260
+ return (index.h(index.Host, { key: 'f667e15959599e11fba7779a062513b430c237f4', class: {
252
261
  "duet-m-0": this.margin === "none",
253
262
  "duet-has-counter": this.counter && !this.error,
254
263
  "duet-expand": this.expand,
255
- } }, index.h("div", { key: '5c57fd8c8f91750d834147fa416e8cda82dcf025', class: {
264
+ } }, index.h("div", { key: '3017c39ed8485d0c4cd5cbff373e5795b315e239', class: {
256
265
  "duet-textarea-container": true,
257
266
  "duet-theme-turva": this.theme === "turva",
258
267
  "duet-label-hidden": this.labelHidden,
259
268
  "duet-input-top-caption-shown": this.isCaptionVisible,
260
- "has-error": !!this.error,
261
- } }, index.h(label.DuetInternalLabel, { key: '7cf923d382d2623fa18ec9ad084275e2b9792ebf', 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 && (index.h("duet-tooltip", { key: '09a04a79bc4f13351c51ffca8332d863c7d22280', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), index.h("slot", { key: 'f46daf8b99a53de5e5164f0f9f357ae91e1aa586', name: "tooltip" }), this.caption && (index.h("duet-caption", { key: 'a2b9079234a7ec3b9b793e7912bcd4c8addc9e70', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), index.h("div", { key: '7f68db3beca35abb4fb53fa1056d99857e1e8316', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (index.h("duet-caption", { key: '250b6e1eb6abbb79f71e176c1c241cb1fa3da18f', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), index.h("textarea", { key: 'c50e5d4e25d0a499cd6a1bfc03cbc546d92a3b74', 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, rows: this.rows, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), index.h("duet-grid", { key: '20b668af694a652ea88adc161052fbff65517eb5', alignment: "stretch" }, index.h("duet-grid-item", { key: 'b795843db0959cc83c8724dbd587debd68f58594', margin: "none", fill: true }, index.h("div", { key: 'ab3999585663d8d1081fe39b43a35933af7ca9b8', class: "duet-textarea-help duet-textarea-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && index.h("span", { key: '4ad7dbac61a6398ec4f8459449162d002030f29e' }, this.error))), index.h("duet-grid-item", { key: '25e2bb115dada7a5b0baaa58efcad756c3cdfc30', margin: "none", class: "duet-character-count-caption" }, this.counter && index.h(CharacterCount, { key: '3e68a56f36758415be927efbc10cf267ec4d414e', theme: this.theme, value: this.value, maxlength: this.maxlength }))), this.counter && this.maxlength && (index.h("duet-visually-hidden", { key: '7af4e00427232548222397a4439f2e71a54ac586', id: this.characterCountId, class: "visually-hidden-counter", "aria-live": "polite" }, this.visuallyHiddenCounterText)))));
269
+ "has-error": !!this.error && this.writable,
270
+ } }, index.h(label.DuetInternalLabel, { key: 'b62e9c27cf13789036b04f320bda685083796517', 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 && (index.h("duet-tooltip", { key: '24dcec9860bfc8bbfb0547e924f8d4319cd18064', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), index.h("slot", { key: '5a197f095df7dd625df5b6f9b0b40a2f8d61bb52', name: "tooltip" }), this.caption && (index.h("duet-caption", { key: '08a5a97579b9614b1e1e059f0975885c8ff4030f', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), index.h("div", { key: '78ece66c1cfdbe778fe3e3293ddf5343842dcc21', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (index.h("duet-caption", { key: '326ce34b3e142f2a7676067fc13452d02cd63d05', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), index.h("textarea", { key: '994ac4a61ba288bd72d73a504f8a7721fa1c0389', 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, readonly: this.readonly, "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, rows: this.rows, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), index.h("duet-grid", { key: '0b61766a90b3b6e76cab85dfd55b81cc487e77c9', alignment: "stretch" }, index.h("duet-grid-item", { key: '9bc9ee00a5268f80e0b9c01cb99099f98ea59fde', margin: "none", fill: true }, index.h("div", { key: '18eb1c48ea7cf5a44ab21477b6a68bc7b7baccc5', class: "duet-textarea-help duet-textarea-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && this.writable && index.h("span", { key: 'a76db4119e297a2451e2c6ffa6894cf044a1aeaa' }, this.error))), index.h("duet-grid-item", { key: '020dc157342b1572a54c82726d88d14ef17c6dcb', margin: "none", class: "duet-character-count-caption" }, this.counter && index.h(CharacterCount, { key: '495d71bfc1a80ce1709014843a81cb2e96fb6021', theme: this.theme, value: this.value, maxlength: this.maxlength }))), this.counter && this.maxlength && (index.h("duet-visually-hidden", { key: 'b682416e87e7ad792b67cc3b6d754495f94b351f', id: this.characterCountId, class: "visually-hidden-counter", "aria-live": "polite" }, this.visuallyHiddenCounterText)))));
262
271
  }
263
272
  get element() { return index.getElement(this); }
264
273
  static get watchers() { return {
@@ -3,14 +3,14 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BGRMvA4R.js');
7
- var themeableComponent = require('./themeable-component-I4SEm6nQ.js');
6
+ var index = require('./index-BP4tQozH.js');
7
+ var themeableComponent = require('./themeable-component-BXqwFhg-.js');
8
8
  var commonStrings = require('./common-strings-DMaSb4Ld.js');
9
- var languageUtils = require('./language-utils-CrB5zNlc.js');
10
- var label = require('./label-CwgdRt0Q.js');
9
+ var languageUtils = require('./language-utils-BCJyRc_q.js');
10
+ var label = require('./label-CjvqwyJR.js');
11
11
  var createId = require('./create-id-DtslnIOq.js');
12
12
  var keyboardUtils = require('./keyboard-utils-DibQafwg.js');
13
- var slotUtils = require('./slot-utils-4v5bqyQh.js');
13
+ var slotUtils = require('./slot-utils-DvtoWHAA.js');
14
14
  require('./string-utils-B35hEUBv.js');
15
15
 
16
16
  const duetToggleCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:8px !important;margin-bottom:12px !important;-webkit-user-select:none;user-select:none;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent;cursor:pointer}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:8px !important}:host(.duet-m-0){margin:0 !important}:host(.duet-toggle-is-disabled){cursor:not-allowed}:host(.duet-toggle-is-loading){cursor:wait}.duet-side-label{display:flex;gap:12px;align-items:center}.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;border:0 !important;clip:rect(1px, 1px, 1px, 1px) !important}.duet-switch input:checked+.duet-slider{background-color:rgb(0, 119, 179);box-shadow:none}.duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #004467;transform:translateX(20px)}.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-switch input:disabled:checked+.duet-slider{background:#80bbd9}:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-switch input:focus+.duet-slider,:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider.duet-theme-turva{outline-color:rgba(53, 79, 101, 0.8)}.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-toggle-is-loading .duet-slider::before{transform:translateX(10px) !important}.duet-toggle-is-loading .duet-slider{cursor:wait}.duet-toggle-is-disabled .duet-slider{cursor:not-allowed}duet-spinner{margin:2px;cursor:wait;transform:translate(-2px, -2px) scale(80%)}.duet-label-hidden .duet-internal-label{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;border:0 !important;clip:rect(1px, 1px, 1px, 1px) !important}.duet-theme-turva .duet-switch input:checked+.duet-slider{background-color:rgb(230, 23, 64)}.duet-theme-turva .duet-switch input:checked+.duet-slider::before{box-shadow:-1px 0 2px #890e26;transform:translateX(20px)}.duet-theme-turva .duet-switch input:disabled:checked+.duet-slider{background:#f38ba0}.duet-theme-turva .duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider{background:#bcc8d2}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255)}.duet-theme-turva .duet-switch input:disabled:checked+.duet-slider{background:#f38ba0}.duet-theme-turva .duet-slider{background-color:rgb(120, 145, 164)}.duet-theme-turva .duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:1px 0 2px 0 #00334d}";
@@ -126,11 +126,11 @@ const DuetToggle = class {
126
126
  */
127
127
  render() {
128
128
  const identifier = this.identifier || this.toggleId;
129
- return (index.h(index.Host, { key: '8e33f58775179856fa30813d64699b5fd99d8340', onClick: this.disabled || this.loading ? undefined : this.onClick, class: {
129
+ return (index.h(index.Host, { key: 'c1f8b026ca2f0eaf39a54127c1f69d22694a46d2', onClick: this.disabled || this.loading ? undefined : this.onClick, class: {
130
130
  "duet-m-0": this.margin === "none",
131
131
  "duet-toggle-is-disabled": this.disabled,
132
132
  "duet-toggle-is-loading": this.loading,
133
- } }, index.h("div", { key: '814cdf2738bbf743e689d706d00999d2476474a9', class: {
133
+ } }, index.h("div", { key: '13c89c2abc235e07e99e671d73e4561eb0f83cc8', class: {
134
134
  "duet-toggle": true,
135
135
  "duet-theme-turva": this.theme === "turva",
136
136
  "duet-side-label": this.labelPosition !== "top",
@@ -138,7 +138,7 @@ const DuetToggle = class {
138
138
  "duet-label-hidden": this.labelHidden,
139
139
  "duet-toggle-is-disabled": this.disabled,
140
140
  "duet-toggle-is-loading": this.loading,
141
- } }, index.h(label.DuetInternalLabel, { key: '48309fafb420e187486b8de7eef212f614008295', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), index.h("div", { key: 'b4f62f86018a7bb7f34a450175ad996c63059ed3', class: "duet-switch" }, index.h("input", { key: '8c314ffe85e67fa4740ef3bb6357c17e4fc2659a', type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled || this.loading, ref: input => (this.nativeInput = input) }), index.h("div", { key: '6e55a2738a881cf60ab6699e2e8e1fc0026362a3', class: { "duet-slider": true, "duet-theme-turva": this.theme === "turva" } }), this.loading && index.h("duet-spinner", { key: '1ae23364dffc828696a3591fab7e48832a18653a', color: "primary" }))), this.loading && (index.h("duet-visually-hidden", { key: 'a4f566fbcdb66615228cf9fc16056378cc41eda3', "aria-live": "polite" }, this.accessibleLabelLoading || commonStrings.DuetStringsLoadingDefaults[languageUtils.getLanguage()])), this.loadingComplete && (index.h("duet-visually-hidden", { key: 'db35c9a6927a435ed193f696e8a775f74b7d47cb', "aria-live": "polite" }, this.accessibleLabelComplete || commonStrings.DuetStringsCompleteDefaults[languageUtils.getLanguage()]))));
141
+ } }, index.h(label.DuetInternalLabel, { key: 'ee03e1def14f4be0d469081e28e6dd34f622ff29', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), index.h("div", { key: '46af0389473f5f8d9f509472b24b92eef985b98e', class: "duet-switch" }, index.h("input", { key: '864dbbeaffc9cea78be34939de9c6d349c88cae2', type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled || this.loading, ref: input => (this.nativeInput = input) }), index.h("div", { key: '0493bd3ec7da36a97706b3950c28d98b723d1979', class: { "duet-slider": true, "duet-theme-turva": this.theme === "turva" } }), this.loading && index.h("duet-spinner", { key: 'd484ef05401a121a7ed665c35cc466ad06ed933b', color: "primary" }))), this.loading && (index.h("duet-visually-hidden", { key: '489d5f94a8f46f6c1acefece45eda231d9c786c9', "aria-live": "polite" }, this.accessibleLabelLoading || commonStrings.DuetStringsLoadingDefaults[languageUtils.getLanguage()])), this.loadingComplete && (index.h("duet-visually-hidden", { key: '7c3d367d72ff5cecae77d9ca0e8a9d5ed43e0a39', "aria-live": "polite" }, this.accessibleLabelComplete || commonStrings.DuetStringsCompleteDefaults[languageUtils.getLanguage()]))));
142
142
  }
143
143
  get element() { return index.getElement(this); }
144
144
  static get watchers() { return {
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BGRMvA4R.js');
7
- var themeableComponent = require('./themeable-component-I4SEm6nQ.js');
6
+ var index = require('./index-BP4tQozH.js');
7
+ var themeableComponent = require('./themeable-component-BXqwFhg-.js');
8
8
  var keyboardUtils = require('./keyboard-utils-DibQafwg.js');
9
9
 
10
10
  const duetToolbarDropdownLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}.duet-toolbar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:center;text-decoration:none}.duet-toolbar-dropdown-link:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-toolbar-dropdown-link:focus,.duet-toolbar-dropdown-link:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-toolbar-dropdown-link .label{flex:1;text-align:left}.duet-toolbar-dropdown-link.active{background:rgb(240, 247, 250)}.duet-toolbar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-toolbar-dropdown-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}.duet-toolbar-dropdown-link.duet-theme-turva.active{background:rgb(253, 247, 242)}.duet-toolbar-dropdown-link.duet-theme-turva:hover{background:rgb(251, 225, 209)}";
@@ -51,11 +51,11 @@ const DuetToolbarDropdownLink = class {
51
51
  * Always the last one in the class.
52
52
  */
53
53
  render() {
54
- return (index.h(index.Host, { key: 'b00b4ee6b05837bd3221558d4031e19655e78c2d' }, index.h("a", { key: '4bc395b03ce0515b092b261364b0461838ce5cbc', class: {
54
+ return (index.h(index.Host, { key: '8afa16142be5af1ab49de317f14695be29cb76a7' }, index.h("a", { key: '17139e958d8b5bd8b2c9a8b272e8faaf844b3b6b', class: {
55
55
  "duet-toolbar-dropdown-link": true,
56
56
  "duet-theme-turva": this.theme === "turva",
57
57
  active: this.active,
58
- }, 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 && index.h("duet-icon", { key: 'f8d7e0d960179596c5ee99525bfbd9ee2bdc5509', name: this.icon, size: "x-small", margin: "none" }), index.h("span", { key: '6713e5f3ad08944baddaa01c8264293861d2aae2', class: "label" }, index.h("slot", { key: 'd64f498eb934e4e40c3851eff2565412bfdad6d0' })), this.active && (index.h("duet-icon", { key: '454ecd536a2b3643e93b7373fa5c9820a33cecdf', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
58
+ }, 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 && index.h("duet-icon", { key: '0953a2ad108b8f7c7705bff8b946cc065ae64369', name: this.icon, size: "x-small", margin: "none" }), index.h("span", { key: '4187f1ee1ec2f028643715c47719354d45842ffe', class: "label" }, index.h("slot", { key: '35b9dc036dba71cda8d9f25077fa638fd2e15e86' })), this.active && (index.h("duet-icon", { key: '00cc11661aa635747fe4d1029c0fbac4f96c8dea', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
59
59
  }
60
60
  get element() { return index.getElement(this); }
61
61
  };
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BGRMvA4R.js');
7
- var themeableComponent = require('./themeable-component-I4SEm6nQ.js');
6
+ var index = require('./index-BP4tQozH.js');
7
+ var themeableComponent = require('./themeable-component-BXqwFhg-.js');
8
8
  var keyboardUtils = require('./keyboard-utils-DibQafwg.js');
9
9
 
10
10
  const duetToolbarDropdownCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;height:100%}.duet-toolbar-dropdown{position:relative;height:100%}.duet-toolbar-dropdown button{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;cursor:pointer}.duet-toolbar-dropdown button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-toolbar-dropdown button:focus,.duet-toolbar-dropdown button:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-toolbar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-toolbar-dropdown button:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-dropdown button.open .caret{transform:rotate(180deg)}.duet-toolbar-dropdown button.active,.duet-toolbar-dropdown button.open{color:rgb(8, 42, 77)}.duet-toolbar-dropdown button.active::after,.duet-toolbar-dropdown button.open::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}.duet-toolbar-dropdown .items{position:absolute;top:93%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:175px;padding:8px;color:rgb(8, 42, 77);background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15)}.duet-toolbar-dropdown .items.hidden{display:none}.duet-toolbar-dropdown.right .items{right:auto;left:0%}.duet-toolbar-dropdown.negative button{color:rgb(255, 255, 255)}.duet-toolbar-dropdown.negative button:hover{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-dropdown.negative button.active{font-weight:600;color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-dropdown.negative button.open{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-dropdown.negative button duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-dropdown.duet-theme-turva button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}.duet-toolbar-dropdown.duet-theme-turva button:hover{color:rgb(23, 42, 59);background:rgb(253, 247, 242)}.duet-toolbar-dropdown.duet-theme-turva button.active::after,.duet-toolbar-dropdown.duet-theme-turva button.open::after{background:rgb(230, 23, 64)}.duet-toolbar-dropdown.duet-theme-turva button.active,.duet-toolbar-dropdown.duet-theme-turva button.open{color:rgb(23, 42, 59)}.duet-toolbar-dropdown.duet-theme-turva.negative button{color:rgb(255, 255, 255)}.duet-toolbar-dropdown.duet-theme-turva.negative button duet-icon{color:rgb(241, 202, 178)}.duet-toolbar-dropdown.duet-theme-turva.negative button.active{font-weight:600}.duet-toolbar-dropdown.duet-theme-turva.negative button:hover,.duet-toolbar-dropdown.duet-theme-turva.negative button.active,.duet-toolbar-dropdown.duet-theme-turva.negative button.open{color:rgb(255, 255, 255);background:rgba(23, 42, 59, 0.2)}.duet-theme-turva .items{background:rgb(255, 255, 255)}.duet-toolbar-dropdown.duet-theme-turva.negative button{color:rgb(255, 255, 255)}.duet-toolbar-dropdown.duet-theme-turva.negative button:hover,.duet-toolbar-dropdown.duet-theme-turva.negative button.active,.duet-toolbar-dropdown.duet-theme-turva.negative button.open{color:rgb(255, 255, 255)}";
@@ -70,18 +70,18 @@ const DuetToolbarDropdown = class {
70
70
  itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
71
71
  }
72
72
  const variation = this.variation === "negative" ? "negative" : "white";
73
- return (index.h(index.Host, { key: '260d43c3c36ccc6473ada8644b3cdd6a59ae12b8', role: "listitem" }, index.h("div", { key: 'cd8bcc17284e41d498018e7a0f8bc202b263c27c', class: {
73
+ return (index.h(index.Host, { key: 'aafd01e336e6bc1037a016fbffba1ae619434b15', role: "listitem" }, index.h("div", { key: '8620d663e3c022d08b0daa55dda118d493244188', class: {
74
74
  "duet-toolbar-dropdown": true,
75
75
  "duet-theme-turva": this.theme === "turva",
76
76
  [itemsAlign]: true,
77
77
  [variation]: true,
78
- } }, index.h("button", { key: '8a4052995f9e9c148b96254b173ea8cad339b9b5', 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: {
78
+ } }, index.h("button", { key: '1bcde327fae00ec8f8dcdbc34bd2af817394901a', 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: {
79
79
  active: this.active,
80
80
  open: this.open,
81
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (index.h("duet-icon", { key: 'cc9305e0cab43bdddd6b29985921bc0e3ac6f2cc', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), index.h("span", { key: 'bfa1bcc44a13762c3c7ed54b788ac83e4f9eaf36', class: "label" }, index.h("slot", { key: 'bb0fca1e6dd3a2bedb48f3cc737847fa92f4f887', name: "label" }), index.h("duet-icon", { key: '8a4ebc94bf7951dcab09cd91c77858559020da81', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), index.h("div", { key: '95fbfa1b864246ce99b84ca5a99832683d0cfea3', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
81
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (index.h("duet-icon", { key: '1b7b369f990d99d15c37ce70162d3148bca43324', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), index.h("span", { key: 'bc284f69d58f2e4c4dc426aafe9e6f0683752d32', class: "label" }, index.h("slot", { key: '1a2892fad84bce88372d8217504315d0d268d3ed', name: "label" }), index.h("duet-icon", { key: 'd3ba7796bcf62e9a1bafc0d69fbe77f7b5efc031', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), index.h("div", { key: 'e81d20d35970fd47f5e0999a48746863a282a980', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
82
82
  items: true,
83
83
  hidden: !this.open,
84
- } }, index.h("slot", { key: '029b14e34e87faf198b6d77b234d40c9579d72f7' })))));
84
+ } }, index.h("slot", { key: '4e1918ec2fe0c4c33248f10ffca23c9fa12a175a' })))));
85
85
  }
86
86
  get element() { return index.getElement(this); }
87
87
  };
@@ -3,14 +3,14 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BGRMvA4R.js');
6
+ var index = require('./index-BP4tQozH.js');
7
7
  var actionNewWindowSmall = require('./action-new-window-small-BWlVx6YN.js');
8
8
  var commonStrings = require('./common-strings-DMaSb4Ld.js');
9
- var themeableComponent = require('./themeable-component-I4SEm6nQ.js');
10
- var a11yUtils = require('./a11y-utils-DmCjy3Q3.js');
11
- var languageUtils = require('./language-utils-CrB5zNlc.js');
9
+ var themeableComponent = require('./themeable-component-BXqwFhg-.js');
10
+ var a11yUtils = require('./a11y-utils-DZ42p33K.js');
11
+ var languageUtils = require('./language-utils-BCJyRc_q.js');
12
12
  require('./_commonjsHelpers-4N64IRaP.js');
13
- require('./slot-utils-4v5bqyQh.js');
13
+ require('./slot-utils-DvtoWHAA.js');
14
14
  require('./string-utils-B35hEUBv.js');
15
15
 
16
16
  const duetToolbarItemCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;height:100%}.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;white-space:nowrap;text-decoration:none;cursor:pointer}.duet-toolbar-item:focus{outline:2px solid;outline-offset:-4px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-toolbar-item:focus,.duet-toolbar-item:focus.duet-theme-turva{outline:2px solid;outline-offset:-4px;outline-color:rgba(53, 79, 101, 0.8)}.duet-toolbar-item .duet-toolbar-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}.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:focus,.duet-toolbar-item.secondary:focus{outline:2px solid;outline-offset:-4px;outline-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: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.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);transform:translateY(1px);transition:300ms ease}duet-indicator{top:4px;left:16px;z-index:1}duet-indicator:has(+.duet-toolbar-item .duet-toolbar-icon){left:36px}.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\"}.duet-toolbar-item.duet-theme-turva:not(.primary){color:rgb(23, 42, 59)}.duet-toolbar-item.duet-theme-turva.primary{color:rgb(255, 255, 255)}.duet-toolbar-item.duet-theme-turva.primary duet-icon{color:rgb(241, 202, 178)}.duet-toolbar-item.duet-theme-turva.primary[aria-expanded=true]{background:rgba(23, 42, 59, 0.2)}.duet-toolbar-item.duet-theme-turva:hover{background:rgb(253, 247, 242)}.duet-toolbar-item.duet-theme-turva:hover:not(.primary){color:rgb(23, 42, 59)}.duet-toolbar-item.duet-theme-turva:hover.primary{color:rgb(255, 255, 255);background:rgba(23, 42, 59, 0.2)}.duet-toolbar-item.active.duet-theme-turva::after{background:rgb(230, 23, 64)}.duet-toolbar-item.active.duet-theme-turva:not(.primary){color:rgb(23, 42, 59)}.duet-toolbar-item.active.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 42, 59, 0.2)}";
@@ -95,17 +95,17 @@ const DuetToolbarItem = class {
95
95
  : this.variation === "secondary"
96
96
  ? "secondary"
97
97
  : "default";
98
- return (index.h(index.Host, { key: '96487fd2e42789280cf1dc0538ff07b0f1f79264', role: "listitem" }, this.badge && index.h("duet-indicator", { key: '5bfd9faa52039e80c72afce6d477602c5b6e3f8e', variation: "change" }), index.h(TagName, { key: 'b5c8b5ac1cfe6549946e9820a2dd540490c606da', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
98
+ return (index.h(index.Host, { key: '73b6913f425eb535964ae3ae588815d7d69548f5', role: "listitem" }, this.badge && index.h("duet-indicator", { key: 'fb04ed3b79c12c89dce6c4cc42e53ffc6a25b9a7', variation: "change" }), index.h(TagName, { key: '34f42a96b15efdd18605a81134d12790585b1b5d', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
99
99
  "duet-toolbar-item": true,
100
100
  "duet-theme-turva": this.theme === "turva",
101
101
  active: this.active,
102
102
  [variation]: true,
103
- }, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && a11yUtils.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 && (index.h("div", { key: '082cebef94f34c57a5617891c46e05cfc59f3c2c', class: "duet-toolbar-icon" }, index.h("duet-icon", { key: '802fab1146fc2154f1c80e097e10464507548e5f', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && index.h("div", { key: 'a484198c098521fd9e8745ac234f6dbc231f029c', class: "duet-toolbar-badge" }))), index.h("slot", { key: '0993265ee4d23c17f425ee776ec9c14cb6454308' }), (this.trailingIcon || (this.url && this.external)) && (index.h("div", { key: '90af7cbc5f00e4dc859cde8ae0d1166b358f097e', class: "duet-toolbar-icon" }, index.h("duet-icon", { key: 'd2df808e4c985501fbd5bb96946f2d9c20a2b116', class: {
103
+ }, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && a11yUtils.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 && (index.h("div", { key: '9289fe0fd7d3cba9769923352564e54ccd6bdb15', class: "duet-toolbar-icon" }, index.h("duet-icon", { key: '7a68a52ec75a0cb94658292ec2888a41cfe6af55', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && index.h("div", { key: '5dd3b5ede328e883a64141fde15a1dd6eca5fe4c', class: "duet-toolbar-badge" }))), index.h("slot", { key: '3a7913d7f34b57b85720813018e2b122ef38b9d7' }), (this.trailingIcon || (this.url && this.external)) && (index.h("div", { key: '62a9d4853e8b77c6197624c58edd4aed4a60748f', class: "duet-toolbar-icon" }, index.h("duet-icon", { key: '48819424506ca2fbde8b1510c4f68bdc323b7a99', class: {
104
104
  "trailing-icon": !!this.trailingIcon,
105
105
  "trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
106
106
  "external-icon": !!(this.url && this.external),
107
107
  rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
108
- }, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.newWindowIcon.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && index.h("div", { key: 'e9b4919435ccd37e9906c033822de9195c57d73e', class: "duet-toolbar-badge" }))))));
108
+ }, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.newWindowIcon.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && index.h("div", { key: 'fa960663370b85e48492736a9cd6cba8c62b5732', class: "duet-toolbar-badge" }))))));
109
109
  }
110
110
  get element() { return index.getElement(this); }
111
111
  };
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BGRMvA4R.js');
7
- var themeableComponent = require('./themeable-component-I4SEm6nQ.js');
6
+ var index = require('./index-BP4tQozH.js');
7
+ var themeableComponent = require('./themeable-component-BXqwFhg-.js');
8
8
 
9
9
  const duetToolbarLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;height:100%}.duet-toolbar-link{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;white-space:nowrap;text-decoration:none}.duet-toolbar-link:focus{outline:2px solid;outline-offset:-4px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-toolbar-link:focus,.duet-toolbar-link:focus.duet-theme-turva{outline:2px solid;outline-offset:-4px;outline-color:rgba(53, 79, 101, 0.8)}.duet-toolbar-link.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.negative:focus{outline:2px solid;outline-offset:-4px;outline-color:rgb(255, 255, 255)}.duet-toolbar-link.negative duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-link:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-link:hover.negative{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-link.active{color:rgb(8, 42, 77)}.duet-toolbar-link.active.negative{font-weight:600;color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-link.active.negative::after{display:none}.duet-toolbar-link.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}.duet-toolbar-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59);background:transparent}.duet-toolbar-link.duet-theme-turva.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.duet-theme-turva.negative duet-icon{color:rgb(255, 229, 230)}.duet-toolbar-link.duet-theme-turva:hover{color:rgb(23, 42, 59);background:rgb(253, 247, 242)}.duet-toolbar-link.duet-theme-turva:hover.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.duet-theme-turva:hover.negative duet-icon{color:rgb(255, 229, 230)}.duet-toolbar-link.duet-theme-turva:hover.negative{background:rgba(23, 42, 59, 0.2)}.duet-toolbar-link.active.duet-theme-turva{color:rgb(23, 42, 59)}.duet-toolbar-link.active.duet-theme-turva.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.active.duet-theme-turva.negative duet-icon{color:rgb(255, 229, 230)}.duet-toolbar-link.active.duet-theme-turva::after{background:rgb(230, 23, 64)}.duet-toolbar-link.active.negative{background:rgba(23, 42, 59, 0.2)}.duet-toolbar-link.active.duet-theme-turva.negative{background:rgba(23, 42, 59, 0.2)}";
10
10
 
@@ -44,12 +44,12 @@ const DuetToolbarLink = class {
44
44
  */
45
45
  render() {
46
46
  const variation = this.variation === "negative" ? "negative" : "white";
47
- return (index.h(index.Host, { key: 'f932af82492da79cb86e7c40bbb887e7228489eb', role: "listitem" }, index.h("a", { key: 'ad12f0ddfa37ebe9be01756fd35696a00687a736', class: {
47
+ return (index.h(index.Host, { key: '05a4f64c0670e5cd2739b4c48604b3b66f4f66f6', role: "listitem" }, index.h("a", { key: '3c7e34e171e59a1d33a5f38f130b76305da9d838', class: {
48
48
  "duet-toolbar-link": true,
49
49
  "duet-theme-turva": this.theme === "turva",
50
50
  active: this.active,
51
51
  [variation]: true,
52
- }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (index.h("duet-icon", { key: '143aac785a87f5989758021a4aa61a1794e9bada', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), index.h("slot", { key: '9e6764f6a433cd437e0d248a09f87727cf9799cf' }))));
52
+ }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (index.h("duet-icon", { key: '091c6f6380417c2580fd39ea6a75a1ca84c3f62d', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), index.h("slot", { key: '734f21e042064ae86b54ddeb767a58909a5af1f7' }))));
53
53
  }
54
54
  get element() { return index.getElement(this); }
55
55
  };