@duetds/components 10.1.1 → 10.2.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 (413) hide show
  1. package/hydrate/index.js +295 -247
  2. package/hydrate/index.mjs +295 -247
  3. package/lib/cjs/{a11y-utils-B_EYQg_6.js → a11y-utils-Dt4L3QkG.js} +1 -1
  4. package/lib/cjs/{app-globals-BFWJwMVq.js → app-globals-1gECxmAH.js} +1 -1
  5. package/lib/cjs/{common-strings-CC6Xpjb8.js → common-strings-DMaSb4Ld.js} +8 -1
  6. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-alert.cjs.entry.js +5 -5
  8. package/lib/cjs/duet-badge.cjs.entry.js +6 -6
  9. package/lib/cjs/duet-banner.cjs.entry.js +3 -3
  10. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  11. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
  12. package/lib/cjs/duet-button_2.cjs.entry.js +5 -5
  13. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  14. package/lib/cjs/duet-caption_4.cjs.entry.js +20 -14
  15. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-checkbox.cjs.entry.js +19 -5
  17. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-chip.cjs.entry.js +4 -4
  19. package/lib/cjs/duet-choice_2.cjs.entry.js +13 -13
  20. package/lib/cjs/duet-collapsible.cjs.entry.js +5 -5
  21. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  22. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  23. package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
  24. package/lib/cjs/duet-date-picker.cjs.entry.js +8 -8
  25. package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
  26. package/lib/cjs/duet-editable-table_3.cjs.entry.js +10 -10
  27. package/lib/cjs/duet-empty-state.cjs.entry.js +4 -4
  28. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  29. package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
  30. package/lib/cjs/duet-footer.cjs.entry.js +9 -9
  31. package/lib/cjs/duet-grid_2.cjs.entry.js +6 -6
  32. package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
  33. package/lib/cjs/duet-hero.cjs.entry.js +10 -10
  34. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  35. package/lib/cjs/duet-indicator.cjs.entry.js +4 -4
  36. package/lib/cjs/duet-input_2.cjs.entry.js +11 -11
  37. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  38. package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
  39. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  41. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  42. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +8 -8
  43. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  44. package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
  45. package/lib/cjs/duet-modal.cjs.entry.js +13 -13
  46. package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
  47. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  48. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  49. package/lib/cjs/duet-number-input.cjs.entry.js +8 -8
  50. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  51. package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
  52. package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
  53. package/lib/cjs/duet-panel.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
  55. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +11 -11
  56. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  57. package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
  58. package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
  59. package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
  60. package/lib/cjs/duet-scrollable_3.cjs.entry.js +15 -15
  61. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  62. package/lib/cjs/duet-select.cjs.entry.js +9 -9
  63. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  64. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  65. package/lib/cjs/duet-share-chart.cjs.entry.js +6 -6
  66. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  68. package/lib/cjs/duet-slideout-link.cjs.entry.js +8 -8
  69. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
  70. package/lib/cjs/duet-slideout-panel.cjs.entry.js +11 -11
  71. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  72. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-step_2.cjs.entry.js +7 -7
  74. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  75. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
  76. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +7 -7
  77. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  78. package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
  79. package/lib/cjs/duet-textarea.cjs.entry.js +8 -8
  80. package/lib/cjs/duet-toggle.cjs.entry.js +25 -7
  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 +9 -9
  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 +9 -9
  87. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
  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-BiQq7F-O.js → errorcodes.utils-DtuBPKs3.js} +1 -1
  94. package/lib/cjs/{focus-utils-8IrILmeG.js → focus-utils-n84nLLND.js} +1 -1
  95. package/lib/cjs/{index-CwMzFaC2.js → index-BfggyC6D.js} +1 -1
  96. package/lib/cjs/{label-Bw-qhJBs.js → label-CFsg_9mi.js} +1 -1
  97. package/lib/cjs/{language-utils-BLi7aaEv.js → language-utils-UQJMUCLw.js} +1 -1
  98. package/lib/cjs/loader.cjs.js +3 -3
  99. package/lib/cjs/{slot-utils-l9-tZvM8.js → slot-utils-BEQnfNX2.js} +1 -1
  100. package/lib/cjs/{themeable-component-DlxAauty.js → themeable-component-BkwBlXGz.js} +1 -1
  101. package/lib/collection/common-strings.js +7 -1
  102. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  103. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  104. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  105. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  106. package/lib/collection/components/duet-checkbox/duet-checkbox.css +11 -2
  107. package/lib/collection/components/duet-checkbox/duet-checkbox.js +24 -2
  108. package/lib/collection/components/duet-chip/duet-chip.js +1 -1
  109. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  110. package/lib/collection/components/duet-choice/duet-choice.js +6 -6
  111. package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
  112. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  113. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  114. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  115. package/lib/collection/components/duet-date-picker/duet-date-picker.js +2 -2
  116. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  117. package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -2
  118. package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
  119. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  120. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  121. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  122. package/lib/collection/components/duet-grid/duet-grid.js +2 -2
  123. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  124. package/lib/collection/components/duet-heading/duet-heading.js +2 -2
  125. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  126. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  127. package/lib/collection/components/duet-indicator/duet-indicator.js +1 -1
  128. package/lib/collection/components/duet-input/duet-input.js +6 -6
  129. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  130. package/lib/collection/components/duet-link/duet-link.css +42 -8
  131. package/lib/collection/components/duet-link/duet-link.js +11 -5
  132. package/lib/collection/components/duet-list/duet-list.js +1 -1
  133. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  134. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  135. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  136. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  137. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  138. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  139. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  140. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  141. package/lib/collection/components/duet-modal/duet-modal.js +7 -7
  142. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  143. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  144. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  145. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
  146. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  147. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  148. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  149. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  150. package/lib/collection/components/duet-panel/duet-panel.js +2 -2
  151. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  152. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +3 -3
  153. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  154. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  155. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  156. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  157. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  158. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  159. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  160. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  161. package/lib/collection/components/duet-select/duet-select.js +5 -5
  162. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  163. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  164. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  165. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  166. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  167. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  168. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  169. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  170. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  171. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  172. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  173. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  174. package/lib/collection/components/duet-step/duet-step.js +2 -2
  175. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  176. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  177. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  178. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  179. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  180. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  181. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  182. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  183. package/lib/collection/components/duet-table/duet-table.js +2 -2
  184. package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
  185. package/lib/collection/components/duet-toggle/duet-toggle.css +22 -9
  186. package/lib/collection/components/duet-toggle/duet-toggle.js +84 -2
  187. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  188. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  189. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  190. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  191. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  192. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  193. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +3 -3
  194. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  195. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  196. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  197. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  198. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  199. package/lib/duet/duet.esm.js +1 -1
  200. package/lib/duet/{p-7cad4a7d.entry.js → p-01ede40e.entry.js} +1 -1
  201. package/lib/duet/{p-1bf0b984.entry.js → p-0c677bac.entry.js} +1 -1
  202. package/lib/duet/{p-49f9404b.entry.js → p-0e6feeaf.entry.js} +1 -1
  203. package/lib/duet/{p-5ee97e54.entry.js → p-10d943ea.entry.js} +1 -1
  204. package/lib/duet/{p-24bd3f6b.entry.js → p-11e17622.entry.js} +1 -1
  205. package/lib/duet/{p-8fb7d2ad.entry.js → p-16db57d6.entry.js} +1 -1
  206. package/lib/duet/{p-fb4af30f.entry.js → p-19dfac00.entry.js} +1 -1
  207. package/lib/duet/{p-e29699ea.entry.js → p-1a9f5440.entry.js} +1 -1
  208. package/lib/duet/{p-4c8ff6a9.entry.js → p-1b1018d1.entry.js} +1 -1
  209. package/lib/duet/p-1e4903a7.entry.js +4 -0
  210. package/lib/duet/{p-be967aa3.entry.js → p-1e82c441.entry.js} +1 -1
  211. package/lib/duet/{p-414306dc.entry.js → p-1f76c77a.entry.js} +1 -1
  212. package/lib/duet/{p-35ab9df3.entry.js → p-2871d3f5.entry.js} +1 -1
  213. package/lib/duet/{p-a1bddbe0.entry.js → p-2a1db046.entry.js} +1 -1
  214. package/lib/duet/{p-b4405bb2.entry.js → p-2b41b6c3.entry.js} +1 -1
  215. package/lib/duet/{p-5214be20.entry.js → p-2d813dd9.entry.js} +1 -1
  216. package/lib/duet/{p-8ef9d397.entry.js → p-2e99a3d1.entry.js} +1 -1
  217. package/lib/duet/{p-c49521b1.entry.js → p-308328c0.entry.js} +1 -1
  218. package/lib/duet/{p-d16bdf01.entry.js → p-31c03dbc.entry.js} +1 -1
  219. package/lib/duet/{p-4b150620.entry.js → p-32ae38d2.entry.js} +1 -1
  220. package/lib/duet/p-3650e089.entry.js +4 -0
  221. package/lib/duet/{p-c96cf3d3.entry.js → p-3b6f0ed3.entry.js} +1 -1
  222. package/lib/duet/{p-6f1841f2.entry.js → p-3c19d851.entry.js} +1 -1
  223. package/lib/duet/{p-2459de04.entry.js → p-3d85dbf7.entry.js} +1 -1
  224. package/lib/duet/{p-f9c54d66.entry.js → p-3dd1304e.entry.js} +1 -1
  225. package/lib/duet/{p-65eed68b.entry.js → p-413ccfee.entry.js} +1 -1
  226. package/lib/duet/{p-c08a6b40.entry.js → p-45f8d839.entry.js} +1 -1
  227. package/lib/duet/{p-6a5089bf.entry.js → p-493b240f.entry.js} +1 -1
  228. package/lib/duet/{p-f0c6161a.entry.js → p-4f16859a.entry.js} +1 -1
  229. package/lib/duet/{p-af604e20.entry.js → p-50f80b6c.entry.js} +1 -1
  230. package/lib/duet/{p-cd9c1ddc.entry.js → p-5302f338.entry.js} +1 -1
  231. package/lib/duet/{p-24e49455.entry.js → p-549e68da.entry.js} +1 -1
  232. package/lib/duet/{p-ae11d834.entry.js → p-6333c633.entry.js} +1 -1
  233. package/lib/duet/{p-fcb7ab98.entry.js → p-6969647c.entry.js} +1 -1
  234. package/lib/duet/{p-24c89cbd.entry.js → p-6b06705f.entry.js} +1 -1
  235. package/lib/duet/{p-38e2f4db.entry.js → p-6b9ac7ea.entry.js} +1 -1
  236. package/lib/duet/{p-c5f27149.entry.js → p-6bddd7b7.entry.js} +1 -1
  237. package/lib/duet/{p-d851fb45.entry.js → p-7515a195.entry.js} +1 -1
  238. package/lib/duet/{p-3caabda3.entry.js → p-7916d25e.entry.js} +1 -1
  239. package/lib/duet/{p-999ff774.entry.js → p-81e55a2f.entry.js} +1 -1
  240. package/lib/duet/{p-8ef3fe6f.entry.js → p-82ed09c9.entry.js} +1 -1
  241. package/lib/duet/{p-1bf130a0.entry.js → p-89cba286.entry.js} +1 -1
  242. package/lib/duet/p-8RjiAqaE.js +4 -0
  243. package/lib/duet/{p-68bb7d28.entry.js → p-8a9ad498.entry.js} +1 -1
  244. package/lib/duet/{p-0f15317c.entry.js → p-8ecfef50.entry.js} +1 -1
  245. package/lib/duet/{p-bafb269a.entry.js → p-8f43c23a.entry.js} +1 -1
  246. package/lib/duet/{p-D2reh8UV.js → p-8odxhfeD.js} +1 -1
  247. package/lib/duet/{p-9c176eae.entry.js → p-9289e2d6.entry.js} +1 -1
  248. package/lib/duet/{p-47d33b6b.entry.js → p-9bcb57a9.entry.js} +1 -1
  249. package/lib/duet/{p-e1eff77c.entry.js → p-9efde101.entry.js} +1 -1
  250. package/lib/duet/{p-Cz75kJ4Z.js → p-BcVbsW_2.js} +1 -1
  251. package/lib/duet/p-BhRNiBUo.js +4 -0
  252. package/lib/duet/{p-CPZ9Rh_9.js → p-BxH0r0DA.js} +1 -1
  253. package/lib/duet/{p-Be4oMqD2.js → p-C7D5HRhY.js} +1 -1
  254. package/lib/duet/p-CKemMSHL.js +4 -0
  255. package/lib/duet/{p-D7O8dU_Q.js → p-DMjxD3N-.js} +1 -1
  256. package/lib/duet/{p-BiXEBkqx.js → p-LYJwm2Mz.js} +1 -1
  257. package/lib/duet/{p-e08191e2.entry.js → p-a408c8ef.entry.js} +1 -1
  258. package/lib/duet/{p-14c52ecc.entry.js → p-a8b8aa7f.entry.js} +1 -1
  259. package/lib/duet/{p-46fdb6a9.entry.js → p-abb3a02c.entry.js} +1 -1
  260. package/lib/duet/{p-5c8619fc.entry.js → p-ad2d810a.entry.js} +1 -1
  261. package/lib/duet/{p-ad94e5b7.entry.js → p-ad86f19c.entry.js} +1 -1
  262. package/lib/duet/{p-0be1cbcc.entry.js → p-ad8929e4.entry.js} +1 -1
  263. package/lib/duet/p-aef55e42.entry.js +4 -0
  264. package/lib/duet/{p-07b33d9a.entry.js → p-b178aa13.entry.js} +1 -1
  265. package/lib/duet/{p-3115c01d.entry.js → p-b8fe3df0.entry.js} +1 -1
  266. package/lib/duet/{p-3937103e.entry.js → p-b9327667.entry.js} +1 -1
  267. package/lib/duet/{p-e06f599b.entry.js → p-b9c35e5e.entry.js} +1 -1
  268. package/lib/duet/{p-23c8a3cf.entry.js → p-bbaa683a.entry.js} +1 -1
  269. package/lib/duet/{p-a886ee0b.entry.js → p-bdb10c77.entry.js} +1 -1
  270. package/lib/duet/{p-96334633.entry.js → p-bdd24cc6.entry.js} +1 -1
  271. package/lib/duet/p-be91dd8c.entry.js +4 -0
  272. package/lib/duet/{p-ec572857.entry.js → p-cb90478e.entry.js} +1 -1
  273. package/lib/duet/{p-5e312efa.entry.js → p-cdc6285c.entry.js} +1 -1
  274. package/lib/duet/{p-1a92ea28.entry.js → p-d1db3194.entry.js} +1 -1
  275. package/lib/duet/{p-ab65780a.entry.js → p-d2c50765.entry.js} +1 -1
  276. package/lib/duet/{p-e51c28bc.entry.js → p-d625732a.entry.js} +1 -1
  277. package/lib/duet/p-d8ddd6aa.entry.js +4 -0
  278. package/lib/duet/{p-46594b20.entry.js → p-d948db17.entry.js} +1 -1
  279. package/lib/duet/{p-0d9FRr_b.js → p-dX4lCxX-.js} +1 -1
  280. package/lib/duet/{p-87fdb2d1.entry.js → p-dc7b2908.entry.js} +1 -1
  281. package/lib/duet/{p-20bfba9e.entry.js → p-dfb7e2a4.entry.js} +1 -1
  282. package/lib/duet/{p-69c2989d.entry.js → p-e042f54a.entry.js} +1 -1
  283. package/lib/duet/{p-e0c9c534.entry.js → p-e197cf15.entry.js} +1 -1
  284. package/lib/duet/p-e21285ad.entry.js +4 -0
  285. package/lib/duet/p-e5173b25.entry.js +4 -0
  286. package/lib/duet/p-e6a05ef9.entry.js +4 -0
  287. package/lib/duet/{p-a94c2063.entry.js → p-ecad641c.entry.js} +1 -1
  288. package/lib/duet/{p-6b6a8585.entry.js → p-ed84afb6.entry.js} +1 -1
  289. package/lib/duet/p-ee7e1387.entry.js +4 -0
  290. package/lib/duet/{p-53a8fc76.entry.js → p-f2cc172e.entry.js} +1 -1
  291. package/lib/duet/p-f55ffe76.entry.js +4 -0
  292. package/lib/duet/{p-64003bfb.entry.js → p-f80c76b3.entry.js} +1 -1
  293. package/lib/duet/{p-e3116610.entry.js → p-f920d7a8.entry.js} +1 -1
  294. package/lib/duet/{p-a79d0152.entry.js → p-fc427a9c.entry.js} +1 -1
  295. package/lib/duet/{p-8e105140.entry.js → p-fd1bf11b.entry.js} +1 -1
  296. package/lib/esm/{a11y-utils-BPzUw6wf.js → a11y-utils-Cc259XJX.js} +1 -1
  297. package/lib/esm/{app-globals-SsQsu12e.js → app-globals-CIsV7gbu.js} +1 -1
  298. package/lib/esm/{common-strings-CVPfl9fc.js → common-strings-8RjiAqaE.js} +8 -2
  299. package/lib/esm/duet-action-button.entry.js +3 -3
  300. package/lib/esm/duet-alert.entry.js +5 -5
  301. package/lib/esm/duet-badge.entry.js +6 -6
  302. package/lib/esm/duet-banner.entry.js +3 -3
  303. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  304. package/lib/esm/duet-breadcrumbs.entry.js +5 -5
  305. package/lib/esm/duet-button_2.entry.js +5 -5
  306. package/lib/esm/duet-callout.entry.js +5 -5
  307. package/lib/esm/duet-caption_4.entry.js +20 -14
  308. package/lib/esm/duet-card.entry.js +3 -3
  309. package/lib/esm/duet-checkbox.entry.js +19 -5
  310. package/lib/esm/duet-checkmark.entry.js +4 -4
  311. package/lib/esm/duet-chip.entry.js +4 -4
  312. package/lib/esm/duet-choice_2.entry.js +13 -13
  313. package/lib/esm/duet-collapsible.entry.js +5 -5
  314. package/lib/esm/duet-combobox.entry.js +4 -4
  315. package/lib/esm/duet-contact-card.entry.js +5 -5
  316. package/lib/esm/duet-cookie-consent.entry.js +3 -3
  317. package/lib/esm/duet-date-picker.entry.js +8 -8
  318. package/lib/esm/duet-divider_2.entry.js +4 -4
  319. package/lib/esm/duet-editable-table_3.entry.js +10 -10
  320. package/lib/esm/duet-empty-state.entry.js +4 -4
  321. package/lib/esm/duet-fieldset.entry.js +6 -6
  322. package/lib/esm/duet-file-chooser.entry.js +3 -3
  323. package/lib/esm/duet-footer.entry.js +9 -9
  324. package/lib/esm/duet-grid_2.entry.js +6 -6
  325. package/lib/esm/duet-header_2.entry.js +5 -5
  326. package/lib/esm/duet-hero.entry.js +10 -10
  327. package/lib/esm/duet-icon.entry.js +5 -5
  328. package/lib/esm/duet-indicator.entry.js +4 -4
  329. package/lib/esm/duet-input_2.entry.js +11 -11
  330. package/lib/esm/duet-layout.entry.js +7 -7
  331. package/lib/esm/duet-list_2.entry.js +5 -5
  332. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  333. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  334. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  335. package/lib/esm/duet-menu-bar-item.entry.js +8 -8
  336. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  337. package/lib/esm/duet-menu-bar.entry.js +6 -6
  338. package/lib/esm/duet-modal.entry.js +13 -13
  339. package/lib/esm/duet-multiselect.entry.js +10 -10
  340. package/lib/esm/duet-nav.entry.js +3 -3
  341. package/lib/esm/duet-notification_2.entry.js +9 -9
  342. package/lib/esm/duet-number-input.entry.js +8 -8
  343. package/lib/esm/duet-overlay.entry.js +3 -3
  344. package/lib/esm/duet-page-heading.entry.js +4 -4
  345. package/lib/esm/duet-pagination_2.entry.js +16 -16
  346. package/lib/esm/duet-panel.entry.js +4 -4
  347. package/lib/esm/duet-phone-input.entry.js +4 -4
  348. package/lib/esm/duet-popup-menu_2.entry.js +11 -11
  349. package/lib/esm/duet-progress.entry.js +3 -3
  350. package/lib/esm/duet-promo-card.entry.js +5 -5
  351. package/lib/esm/duet-radio_2.entry.js +7 -7
  352. package/lib/esm/duet-range-slider.entry.js +6 -6
  353. package/lib/esm/duet-scrollable_3.entry.js +15 -15
  354. package/lib/esm/duet-section-layout.entry.js +4 -4
  355. package/lib/esm/duet-select.entry.js +9 -9
  356. package/lib/esm/duet-shaped-image.entry.js +4 -4
  357. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  358. package/lib/esm/duet-share-chart.entry.js +6 -6
  359. package/lib/esm/duet-show-more.entry.js +5 -5
  360. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  361. package/lib/esm/duet-slideout-link.entry.js +8 -8
  362. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  363. package/lib/esm/duet-slideout-panel.entry.js +11 -11
  364. package/lib/esm/duet-slideout.entry.js +10 -10
  365. package/lib/esm/duet-status-icon.entry.js +3 -3
  366. package/lib/esm/duet-step_2.entry.js +7 -7
  367. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  368. package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
  369. package/lib/esm/duet-submenu-bar-item.entry.js +7 -7
  370. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  371. package/lib/esm/duet-submenu-bar.entry.js +7 -7
  372. package/lib/esm/duet-textarea.entry.js +8 -8
  373. package/lib/esm/duet-toggle.entry.js +25 -7
  374. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  375. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  376. package/lib/esm/duet-toolbar-item.entry.js +9 -9
  377. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  378. package/lib/esm/duet-toolbar.entry.js +4 -4
  379. package/lib/esm/duet-tooltip-button_2.entry.js +9 -9
  380. package/lib/esm/duet-tooltip.entry.js +4 -4
  381. package/lib/esm/duet-tray.entry.js +5 -5
  382. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  383. package/lib/esm/duet-upload-item.entry.js +6 -6
  384. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  385. package/lib/esm/duet.js +4 -4
  386. package/lib/esm/{errorcodes.utils-BSrGsmkE.js → errorcodes.utils-KnjOo5JF.js} +1 -1
  387. package/lib/esm/{focus-utils-pVdst0px.js → focus-utils-Cgrh4d7y.js} +1 -1
  388. package/lib/esm/{index-CPZ9Rh_9.js → index-BxH0r0DA.js} +1 -1
  389. package/lib/esm/{label-DOI1kYHr.js → label-DA-iWWhe.js} +1 -1
  390. package/lib/esm/{language-utils-D2LZ-dAb.js → language-utils-BqCiY8zW.js} +1 -1
  391. package/lib/esm/loader.js +4 -4
  392. package/lib/esm/{slot-utils-Plu0scZN.js → slot-utils-Bi4BkMYE.js} +1 -1
  393. package/lib/esm/{themeable-component-CyP7TR8I.js → themeable-component-EeTaKAPP.js} +1 -1
  394. package/lib/types/common-strings.d.ts +1 -0
  395. package/lib/types/common-types.d.ts +8 -1
  396. package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +6 -0
  397. package/lib/types/components/duet-link/duet-link.d.ts +3 -1
  398. package/lib/types/components/duet-toggle/duet-toggle.d.ts +16 -0
  399. package/lib/types/components.d.ts +28 -2
  400. package/package.json +5 -5
  401. package/lib/duet/p-0557d0e3.entry.js +0 -4
  402. package/lib/duet/p-0596ed8f.entry.js +0 -4
  403. package/lib/duet/p-12037a2a.entry.js +0 -4
  404. package/lib/duet/p-22ecf342.entry.js +0 -4
  405. package/lib/duet/p-4eb8634c.entry.js +0 -4
  406. package/lib/duet/p-760530e9.entry.js +0 -4
  407. package/lib/duet/p-8b3be0f7.entry.js +0 -4
  408. package/lib/duet/p-8d0727d6.entry.js +0 -4
  409. package/lib/duet/p-91ce1d13.entry.js +0 -4
  410. package/lib/duet/p-B01I4GZJ.js +0 -4
  411. package/lib/duet/p-BBJluIMx.js +0 -4
  412. package/lib/duet/p-CVPfl9fc.js +0 -4
  413. package/lib/duet/p-b90b0d7a.entry.js +0 -4
@@ -3,9 +3,9 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CwMzFaC2.js');
6
+ var index = require('./index-BfggyC6D.js');
7
7
  var tokens = require('./tokens-DZMc8s3K.js');
8
- var themeableComponent = require('./themeable-component-DlxAauty.js');
8
+ var themeableComponent = require('./themeable-component-BkwBlXGz.js');
9
9
  var keyboardUtils = require('./keyboard-utils-D9UlHbik.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,.duet-theme-turva2 .duet-submenu-bar-dropdown button:focus,.duet-submenu-bar-dropdown button:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}@media (min-width: 62em){.duet-submenu-bar-dropdown button{flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;font-size:0.875rem;color:rgb(0, 75, 129)}}.duet-submenu-bar-dropdown button .label{display:flex;gap:5px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar-dropdown button.open{background:rgb(228, 241, 247)}}.duet-submenu-bar-dropdown button.open .caret{transform:rotate(180deg)}.duet-submenu-bar-dropdown button.active .label-text{position:relative}.duet-submenu-bar-dropdown button.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-dropdown button.active .label-text::after{display:none}}@media (min-width: 62em){.duet-submenu-bar-dropdown button .caret{position:absolute;right:12px}.duet-submenu-bar-dropdown button:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown button:hover.active{color:rgb(8, 42, 77)}.duet-theme-turva .duet-submenu-bar-dropdown button:hover.active{color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-theme-turva .duet-submenu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-submenu-bar-dropdown button.active::after,.duet-submenu-bar-dropdown button.open::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}.duet-theme-turva .duet-submenu-bar-dropdown button.active::after,.duet-theme-turva .duet-submenu-bar-dropdown button.open::after{background:rgb(198, 12, 48)}}.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:16px;height:16px}}.duet-submenu-bar-dropdown .items{display:flex;visibility:visible;flex-direction:column;align-items:center;justify-content:center;max-height:1000px;padding:4px 0 16px;overflow-y:auto;color:rgb(8, 42, 77);scrollbar-width:none;transition:max-height 0.3s ease-in, padding 0.3s ease-in;-ms-overflow-style:none}.duet-submenu-bar-dropdown .items::-webkit-scrollbar{display:none}@media (min-width: 62em){.duet-submenu-bar-dropdown .items{position:absolute;top:93%;z-index:600;min-width:320px;padding:8px;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);transition:none}}.duet-submenu-bar-dropdown .items.hidden{visibility:hidden;max-height:0;padding:0;overflow:hidden;transition:max-height 0.3s ease-in, padding 0.3s ease-in}.duet-submenu-bar-dropdown.duet-theme-turva button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button:hover{background:rgb(222, 224, 228)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active .label-text::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open .label-text::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.active,.duet-submenu-bar-dropdown.duet-theme-turva button.open{color:rgb(126, 2, 35)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.open{background:rgb(222, 224, 228)}}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button{color:rgb(23, 42, 59)}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button:hover{background:rgb(251, 225, 209)}}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.active .label-text::after,:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.open .label-text::after{background:rgb(230, 23, 64)}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.active,:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.open{color:rgb(140, 0, 30)}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.active::after,:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.open::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.open{background:rgb(251, 225, 209)}}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}}";
@@ -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: 'b08d71c303bbbb5dc488ccb9df3a6606cbcee45f', role: "listitem" }, index.h("div", { key: 'f27808ba704701f0857e90d8c4474f11f2bd284d', class: {
117
+ return (index.h(index.Host, { key: 'cc7d79d1a2e5e6de18bd62fb408ec474400eff7b', role: "listitem" }, index.h("div", { key: 'db0d71f4aa6a38e0e130bf2f069ac58c08d09055', 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: 'da50cea3b3daea0da483dc01649345a9fcc27d55', 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: '8ba0bded589cc4040510538e86b311879ab78cf8', 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: '41562541f2cf4bbe9e8d6ccb3214b8fc5b44079f', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), index.h("div", { key: '8b2782607b3478bc491ce2fa423257d4233968fa', class: "label" }, index.h("span", { key: '5b22aff9852f284416e15d60b1a262e963ff228e', class: "label-text" }, index.h("slot", { key: 'aec50191a12adf0fbd6f9e388c2dc09954d21f83', name: "label" })), index.h("duet-icon", { key: '154795bda221d38ca73b47a86c97da4c6e4d573b', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), index.h("div", { key: '574669c2280fa1e7e4d14666f95fbe912a068119', 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: '479134abefc9407012dc7d960da64a2a00849859', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), index.h("div", { key: '5d7eabf7611e552d4b0a4b4f45af47528f45ae6f', class: "label" }, index.h("span", { key: '1067624e6d8997fe6d70ba84e2020160d547c98f', class: "label-text" }, index.h("slot", { key: 'd1c5e91511f07355f95cdf0908476bb208e8356e', name: "label" })), index.h("duet-icon", { key: 'ea41a4b8f9cd0e5307e74b517bf264b65eaf4a0f', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), index.h("div", { key: '7090489ee9527a38506ae8623fcd48b337ddd7a8', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
126
126
  items: true,
127
127
  hidden: !this.open,
128
- } }, index.h("slot", { key: '9a69e63aae77e184049ed7d8f7f511d47eca642e' })))));
128
+ } }, index.h("slot", { key: '2d0d943f66b0238ed10f3c1ebcea5ab6bbceb301' })))));
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-CwMzFaC2.js');
6
+ var index = require('./index-BfggyC6D.js');
7
7
  var actionNewWindowSmall = require('./action-new-window-small-BWlVx6YN.js');
8
- var commonStrings = require('./common-strings-CC6Xpjb8.js');
9
- var themeableComponent = require('./themeable-component-DlxAauty.js');
10
- var a11yUtils = require('./a11y-utils-B_EYQg_6.js');
8
+ var commonStrings = require('./common-strings-DMaSb4Ld.js');
9
+ var themeableComponent = require('./themeable-component-BkwBlXGz.js');
10
+ var a11yUtils = require('./a11y-utils-Dt4L3QkG.js');
11
11
  var keyboardUtils = require('./keyboard-utils-D9UlHbik.js');
12
- var languageUtils = require('./language-utils-BLi7aaEv.js');
12
+ var languageUtils = require('./language-utils-UQJMUCLw.js');
13
13
  require('./_commonjsHelpers-4N64IRaP.js');
14
- require('./slot-utils-l9-tZvM8.js');
14
+ require('./slot-utils-BEQnfNX2.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,.duet-theme-turva2 .duet-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva2{outline:2px solid;outline-offset:-4px;outline-color:rgba(53, 79, 101, 0.8)}.duet-submenu-bar-item .label{display:flex;gap:5px;align-items:center;justify-content:center}.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:16px;height:16px}}.duet-submenu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-submenu-bar-item .external-icon{width:10px;height:10px}.duet-submenu-bar-item .trailing-icon{position:absolute;right:12px}.duet-submenu-bar-item[aria-expanded=true]{background:rgb(228, 241, 247)}.duet-submenu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-submenu-bar-item.active{color:rgb(0, 119, 179)}.duet-submenu-bar-item.active.duet-theme-turva{color:rgb(126, 2, 35)}.duet-submenu-bar-item.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}.duet-submenu-bar-item.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(126, 2, 35)}.duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(126, 2, 35)}.duet-submenu-bar-item:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-item:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-submenu-bar-item.active.duet-theme-turva{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva:hover{color:rgb(23, 42, 59);background:rgb(251, 225, 209)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva:hover.active{color:rgb(230, 23, 64)}";
@@ -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: '35be20639e3574ca775aa4b697485c84a1512045', role: "listitem" }, index.h(TagName, { key: '10e74fbfad350fa687d2ed5c6d5bfa6c3c3b7a08', 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: 'e4de062ea87077cdf5ab2f80a72cb746d10b32e9', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), index.h("div", { key: '1829e95b6db1e8970ca53e5f8332b0aa97df310a', class: "label" }, index.h("span", { key: '815b45070604d6a9fc3f875677119480812c448d', class: "label-text" }, index.h("slot", { key: '195a9798c946491c1ec6318a99b5738e92d68f58' })), (this.trailingIcon || this.external) && (index.h("duet-icon", { key: '8718695a96ec8294833a18791aeefbe51526308f', class: {
92
+ return (index.h(index.Host, { key: '7ee97d49c78004d4ae845e940fb03e6e1ee75bd7', role: "listitem" }, index.h(TagName, { key: 'dcc4541376b094f3eec8ce84465cdd2c77978bf8', 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: '74e7c4f39e27a8c9030d02bf33f50ded7220f588', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), index.h("div", { key: 'ab00e171bc83993c2580c25bbdfa3b77ea58ee89', class: "label" }, index.h("span", { key: '0cb9766ca34e699f99c1ec699ce0a7d9be8fb0ad', class: "label-text" }, index.h("slot", { key: '1e7f21511c1dbfb21780b7828397ddb3564c96e5' })), (this.trailingIcon || this.external) && (index.h("duet-icon", { key: '698c894c3987de2c8c645234e25f600ecf33d8c2', 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-CwMzFaC2.js');
7
- var themeableComponent = require('./themeable-component-DlxAauty.js');
6
+ var index = require('./index-BfggyC6D.js');
7
+ var themeableComponent = require('./themeable-component-BkwBlXGz.js');
8
8
  var keyboardUtils = require('./keyboard-utils-D9UlHbik.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,.duet-theme-turva2 .duet-submenu-bar-link:focus,.duet-submenu-bar-link:focus.duet-theme-turva2{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.duet-theme-turva{color:rgb(126, 2, 35)}}.duet-submenu-bar-link.active .label{position:relative}.duet-submenu-bar-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-link.active .label::after{display:none}.duet-submenu-bar-link.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}}.duet-submenu-bar-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-submenu-bar-link.duet-theme-turva.active .label::after{background:rgb(126, 2, 35)}.duet-submenu-bar-link.duet-theme-turva.active::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-link:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-link:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}}:host(.duet-theme-turva2) .duet-submenu-bar-link.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-submenu-bar-link.duet-theme-turva.active .label::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-link.duet-theme-turva.active::after{background:rgb(230, 23, 64)}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-submenu-bar-link.duet-theme-turva.active{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-link.duet-theme-turva:hover{color:rgb(23, 42, 59);background:rgb(251, 225, 209)}:host(.duet-theme-turva2) .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: '43fe2f21e9f7ce5b2ea4a31fb4ac6f9f76b7dea7', role: "listitem" }, index.h("a", { key: '78ffb34f6f54b32f8c8401139b23b34a5fe9ef95', 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: 'c42d8f5d5fe3c4b9d4dbcfe3151a1ee2c7be2ec2', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), index.h("span", { key: 'a2e72daf94cc2c40ab025e399c949b4f8111bdea', class: "label" }, index.h("slot", { key: 'a5fb89a7dc0aea64b82a6be83104f8b9971066c8' })))));
50
+ return (index.h(index.Host, { key: 'fb8760077be9d8402a747e67fa3f5589c35b1586', role: "listitem" }, index.h("a", { key: '5b77c9c31a719059b2df6183dd09f0fbb174dde4', 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: 'd47cacb2b609f6fb89d4955932aa460a13a70e0e', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), index.h("span", { key: '962bab30d15d749df6d2823daafba59488fc92df', class: "label" }, index.h("slot", { key: '57541fbb4f923bbb1fdd6efbe05cddb72f63a147' })))));
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-CwMzFaC2.js');
6
+ var index = require('./index-BfggyC6D.js');
7
7
  var tokens = require('./tokens-DZMc8s3K.js');
8
8
  var bodyScrollLock_es6 = require('./bodyScrollLock.es6-B2sCDud5.js');
9
- var themeableComponent = require('./themeable-component-DlxAauty.js');
9
+ var themeableComponent = require('./themeable-component-BkwBlXGz.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,.duet-theme-turva2 .duet-submenu-bar button:focus,.duet-submenu-bar button:focus.duet-theme-turva2{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(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-submenu-bar.duet-theme-turva .items{background:rgb(245, 247, 250)}.duet-submenu-bar.duet-theme-turva .mobile-background{background:rgb(23, 28, 58)}.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)}}:host(.duet-theme-turva2) .duet-submenu-bar.duet-theme-turva{background:rgb(253, 247, 242);border-bottom-color:rgb(251, 225, 209)}:host(.duet-theme-turva2) .duet-submenu-bar.duet-theme-turva .items{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-submenu-bar.duet-theme-turva .mobile-background{background:rgb(23, 42, 59)}";
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: '463af77c5ac9d7a775876cfc005df160c5e7fdfa' }, index.h("nav", { key: 'fcbdbfc332d352007b1122ffa65cd6d13012a559', class: {
140
+ return (index.h(index.Host, { key: '5a7dfd7977d5260ecaa751065ffd668bccf7f734' }, index.h("nav", { key: '8d374c6513e8ec3bb63948dffac4cd9b65eab3d9', 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: '98fadd59813f2aae19d4cb5d4734d73a98d4bb7e', 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: 'd72fd8118d008647c0fc1bafc797d7d7e9670676', 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: 'dc38b3df13d3a4d1b4a9c78c53a9fc68b932152e', class: "label" }, index.h("slot", { key: '128302a4e4c2c6e68d9fd8cb96d1439db8daf800', name: "label" }), index.h("duet-icon", { key: '0d4d0b35713d68685084568f0f95f1818b8deaca', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), index.h("div", { key: '7396ba0b29224cfa487e725604ff50dab010cdeb', class: {
146
+ }, onClick: this.onClick }, index.h("span", { key: '7dbd3343077f3e63a20b441f0e6015358da502b4', class: "label" }, index.h("slot", { key: 'a0a0ae66d22fd5737949ad3094661f172b6c0391', name: "label" }), index.h("duet-icon", { key: '47c4c4e42e0a8ebd3565627cd0e1982457104ca3', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), index.h("div", { key: '5986a2c225e9f40da81943d5daefc079756f2370', class: {
147
147
  "menu-container": true,
148
148
  hidden: !this.open,
149
- }, role: "presentation" }, index.h("div", { key: '4b5178a06a8933dfb9be60276a1a893158c62aaa', 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: 'd8afab7eb5149ac0bebeff39ab93d36d15c499fe', 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: '71ee3de51b625b340635a30fb39292e25ddfc116', class: "list", role: this.mobile ? "presentation" : "list" }, index.h("slot", { key: '4baa81a1de7c328e826df2f752075a9c4b05af0f' }), index.h("div", { key: '38b755c720305c3627d82a5e53af380752616396', class: "list-padding" }))), index.h("duet-overlay", { key: '62afaa179b2175f4c4c6cd56c6773675cffc061c', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
152
+ }, ref: element => (this.itemsContainer = element) }, index.h("div", { key: '83ca8fda96f8d9b05fb0ea84d0aa52dbb4183063', class: "list", role: this.mobile ? "presentation" : "list" }, index.h("slot", { key: 'a71c59db97c47144dc7366c1adbd416d2ac6aae9' }), index.h("div", { key: '026076d8b73e6af5d46a7f7367de6d4395e34519', class: "list-padding" }))), index.h("duet-overlay", { key: 'd09747b12a70aefae2789f86380646779a1cc605', "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,14 +3,14 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CwMzFaC2.js');
7
- var themeableComponent = require('./themeable-component-DlxAauty.js');
8
- var label = require('./label-Bw-qhJBs.js');
6
+ var index = require('./index-BfggyC6D.js');
7
+ var themeableComponent = require('./themeable-component-BkwBlXGz.js');
8
+ var label = require('./label-CFsg_9mi.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-BLi7aaEv.js');
13
- var slotUtils = require('./slot-utils-l9-tZvM8.js');
12
+ var languageUtils = require('./language-utils-UQJMUCLw.js');
13
+ var slotUtils = require('./slot-utils-BEQnfNX2.js');
14
14
  require('./string-utils-B35hEUBv.js');
15
15
 
16
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;transition:150ms ease}.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,.duet-theme-turva2 .duet-textarea:focus,.duet-textarea:focus.duet-theme-turva2{outline:2px solid;outline-offset:0;outline-color:rgba(53, 79, 101, 0.8)}.duet-theme-turva .duet-textarea{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(143, 147, 158)}.has-error .duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-textarea[rows]{min-height:auto}.duet-textarea::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-textarea::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva .duet-textarea::-moz-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-textarea:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva .duet-textarea:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-textarea:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea[disabled]{color:rgb(98, 121, 138) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-theme-turva .duet-textarea[disabled]{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important}.duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(8, 42, 77);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled]::-moz-placeholder{color:rgb(8, 42, 77);opacity:1 !important}.duet-theme-turva .duet-textarea[disabled]::-moz-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled]:-ms-input-placeholder{color:rgb(8, 42, 77)}.duet-theme-turva .duet-textarea[disabled]:-ms-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea:hover:not(:disabled){outline:2px solid;outline-color:rgb(98, 121, 138);outline-offset:-1px}.duet-theme-turva .duet-textarea:hover:not(:disabled),.duet-textarea:hover:not(:disabled).duet-theme-turva,.duet-theme-turva2 .duet-textarea:hover:not(:disabled),.duet-textarea:hover:not(:disabled).duet-theme-turva2{outline-color:rgb(120, 145, 164)}.has-error .duet-textarea:hover:not(:disabled){outline:1px solid;outline-color:rgb(214, 28, 82);outline-offset:-1px}.duet-textarea:focus{border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .duet-textarea:focus{border-color:rgb(23, 28, 58)}.has-error .duet-textarea:focus{outline:1px solid;outline-color:rgb(214, 28, 82);outline-offset:-1px}.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}.duet-theme-turva .duet-textarea-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.duet-label-hidden .duet-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}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:focus{border-color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea[disabled]{background:rgb(245, 246, 247) !important;border-color:rgb(245, 246, 247) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:-webkit-input-placeholder{color:rgb(120, 145, 164)}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:focus::-webkit-input-placeholder{color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:focus::-moz-placeholder{color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:focus:-ms-input-placeholder{color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea[disabled]::-moz-placeholder{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea[disabled]:-ms-input-placeholder{color:rgb(23, 42, 59)}";
@@ -255,17 +255,17 @@ const DuetTextarea = class {
255
255
  */
256
256
  render() {
257
257
  const identifier = this.identifier || this.textareaId;
258
- return (index.h(index.Host, { key: '6b4a9a29634b3b4eebba44aa1329c044ad4627e0', class: {
258
+ return (index.h(index.Host, { key: '48030acc05f6f8415df8753151991eb3c83ae370', class: {
259
259
  "duet-m-0": this.margin === "none",
260
260
  "duet-has-counter": this.counter && !this.error,
261
261
  "duet-expand": this.expand,
262
- } }, index.h("div", { key: 'fc6fff054e8c331eaa64eb81ea38fec26ccf2623', class: {
262
+ } }, index.h("div", { key: 'e8cac00d84bfbef67bb1f30037bb986905fc2d94', class: {
263
263
  "duet-textarea-container": true,
264
264
  "duet-theme-turva": this.theme === "turva",
265
265
  "duet-label-hidden": this.labelHidden,
266
266
  "duet-input-top-caption-shown": this.isCaptionVisible,
267
267
  "has-error": !!this.error,
268
- } }, index.h(label.DuetInternalLabel, { key: '72a397fea607b1bf78eb044d2edfe908b531c196', 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: 'df27e380533776bbd55e322ee553a4e7307a9c25', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), index.h("slot", { key: '0ad23242a566add6660b8d0d05f0945f2881c736', name: "tooltip" }), this.caption && (index.h("duet-caption", { key: '2140852f453a515fdc400664083170df2c5d25b8', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), index.h("div", { key: '3d8086ad2a9120553f7d9348a12f122513743f9e', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (index.h("duet-caption", { key: '41d5d3fbe9b850ae576456b65c38e70d7b54d1c4', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), index.h("textarea", { key: '958b5b54572eeeb9a14cccc84768c94ac8934751', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, 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: '2eeb3e5cc00bb5323ace41bc47c8704065ed9cf8', alignment: "stretch" }, index.h("duet-grid-item", { key: 'df795c73d5e1d02b95780b00a3109a08af5265d1', margin: "none", fill: true }, index.h("div", { key: '0ca123aee248bdefecb272d01744496e14fca789', 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: 'fab26ce8771f27cc8bd7df1b32f027f7e1a77f5c' }, this.error))), index.h("duet-grid-item", { key: 'af06a4534964dea7090defa29dcae06c463f987a', margin: "none", class: "duet-character-count-caption" }, this.counter && index.h(CharacterCount, { key: '9feddf09bed0a8dba0e3ec415e02a895e6cf20b7', theme: this.theme, value: this.value, maxlength: this.maxlength }))), this.counter && this.maxlength && (index.h("duet-visually-hidden", { key: '923f821ec7eea31d6538bec8e9e80d5bed1a8e85', id: this.characterCountId, class: "visually-hidden-counter" }, this.visuallyHiddenCounterText)))));
268
+ } }, index.h(label.DuetInternalLabel, { key: '2f25117dc9dfce852022a09efb8a1b0c2117bb0c', 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: 'b5c614194a8699068a2b9c9156cc2a1955d8ae8c', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), index.h("slot", { key: '0a72de201a51d22df2604f3fa1a5fba77f9de897', name: "tooltip" }), this.caption && (index.h("duet-caption", { key: 'fc1baf023f9c4b81131de5244bfb73c925ab265d', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), index.h("div", { key: '3395893df5eacc499f082eade175e6bb0ce0512c', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (index.h("duet-caption", { key: '6a71fad928ba647c069c05439e86a5e6eefd4e40', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), index.h("textarea", { key: '28c7559a63890bb80d6503e3028ea430f24c739a', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, 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: '66ddcb0507cf754111843d5aa871c80ae8d7207e', alignment: "stretch" }, index.h("duet-grid-item", { key: '79edd18dd19f6500b2c471e960c5fefc1b9492be', margin: "none", fill: true }, index.h("div", { key: '38d0f75afeefcd4ba8afb2f87802a64885fbc0ea', 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: 'a03fdd80d3a82221abbdeeff8c368d8208efd2b1' }, this.error))), index.h("duet-grid-item", { key: 'deb6e76efba3354828dd21acd8a362c91c3d2e4f', margin: "none", class: "duet-character-count-caption" }, this.counter && index.h(CharacterCount, { key: '282fe11b68a1bdd7c63b8071cfd37a3e33086bbc', theme: this.theme, value: this.value, maxlength: this.maxlength }))), this.counter && this.maxlength && (index.h("duet-visually-hidden", { key: '06b481e31a4dad73a6538a943274f898410be541', id: this.characterCountId, class: "visually-hidden-counter" }, this.visuallyHiddenCounterText)))));
269
269
  }
270
270
  get element() { return index.getElement(this); }
271
271
  static get watchers() { return {
@@ -3,14 +3,17 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CwMzFaC2.js');
7
- var themeableComponent = require('./themeable-component-DlxAauty.js');
8
- var label = require('./label-Bw-qhJBs.js');
6
+ var index = require('./index-BfggyC6D.js');
7
+ var themeableComponent = require('./themeable-component-BkwBlXGz.js');
8
+ var commonStrings = require('./common-strings-DMaSb4Ld.js');
9
+ var languageUtils = require('./language-utils-UQJMUCLw.js');
10
+ var label = require('./label-CFsg_9mi.js');
9
11
  var createId = require('./create-id-DtslnIOq.js');
10
12
  var keyboardUtils = require('./keyboard-utils-D9UlHbik.js');
11
- var slotUtils = require('./slot-utils-l9-tZvM8.js');
13
+ var slotUtils = require('./slot-utils-BEQnfNX2.js');
14
+ require('./string-utils-B35hEUBv.js');
12
15
 
13
- 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}: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}duet-label{display:block !important;width:100% !important}.duet-side-label{display:flex;gap:12px;align-items:center}.duet-side-label duet-label{width:auto !important}.duet-reverse-label{flex-direction:row-reverse}.duet-switch{position:relative;display:block;width:48px;height:28px}.duet-switch input{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;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-theme-turva .duet-switch input:checked+.duet-slider{background-color:rgb(198, 12, 48)}.duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #004467;transform:translateX(20px)}.duet-theme-turva .duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #660619}.duet-switch input:disabled+.duet-slider{cursor:default}.duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-theme-turva .duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-switch input:disabled:not(:checked)+.duet-slider{background:#bfcbd2}.duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255);box-shadow:none}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider{background:#c7c9cf}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255)}.duet-switch input:disabled:checked+.duet-slider{background:#80bbd9}.duet-theme-turva .duet-switch input:disabled:checked+.duet-slider{background:#e38698}:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider{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,.duet-theme-turva2 :host(.user-is-tabbing) .duet-switch input:focus+.duet-slider,:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider.duet-theme-turva2{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-theme-turva .duet-slider{background-color:rgb(143, 147, 158)}.duet-theme-turva .duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:1px 0 2px 0 #00334d}.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}:host(.duet-theme-turva2) .duet-switch input:checked+.duet-slider{background-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-switch input:checked+.duet-slider::before{box-shadow:-1px 0 2px #890e26;transform:translateX(20px)}:host(.duet-theme-turva2) .duet-switch input:disabled:checked+.duet-slider{background:#f38ba0}";
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-theme-turva .duet-switch input:checked+.duet-slider{background-color:rgb(198, 12, 48)}.duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #004467;transform:translateX(20px)}.duet-theme-turva .duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #660619}.duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-theme-turva .duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-switch input:disabled:not(:checked)+.duet-slider{background:#bfcbd2}.duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255);box-shadow:none}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider{background:#c7c9cf}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255)}.duet-switch input:disabled:checked+.duet-slider{background:#80bbd9}.duet-theme-turva .duet-switch input:disabled:checked+.duet-slider{background:#e38698}:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider{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,.duet-theme-turva2 :host(.user-is-tabbing) .duet-switch input:focus+.duet-slider,:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider.duet-theme-turva2{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-theme-turva .duet-slider{background-color:rgb(143, 147, 158)}.duet-theme-turva .duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:1px 0 2px 0 #00334d}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}:host(.duet-theme-turva2) .duet-switch input:checked+.duet-slider{background-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-switch input:checked+.duet-slider::before{box-shadow:-1px 0 2px #890e26;transform:translateX(20px)}:host(.duet-theme-turva2) .duet-switch input:disabled:checked+.duet-slider{background:#f38ba0}";
14
17
 
15
18
  const DuetToggle = class {
16
19
  constructor(hostRef) {
@@ -41,6 +44,10 @@ const DuetToggle = class {
41
44
  * Aria description the button
42
45
  */
43
46
  this.accessibleDescription = undefined;
47
+ /**
48
+ * Loading state of the toggle
49
+ */
50
+ this.loading = false;
44
51
  /**
45
52
  * Label for the toggle.
46
53
  */
@@ -73,11 +80,15 @@ const DuetToggle = class {
73
80
  * Component event handling.
74
81
  */
75
82
  this.onClick = (ev) => {
83
+ console.log("click");
76
84
  ev.preventDefault();
77
85
  this.setFocus();
78
86
  this.checked = !this.checked;
79
87
  };
80
88
  }
89
+ setLoadingState() {
90
+ this.loadingComplete = !this.loading;
91
+ }
81
92
  checkedChanged(isChecked) {
82
93
  this.duetChange.emit({
83
94
  checked: isChecked,
@@ -116,16 +127,23 @@ const DuetToggle = class {
116
127
  */
117
128
  render() {
118
129
  const identifier = this.identifier || this.toggleId;
119
- return (index.h(index.Host, { key: '5946ee783a8f51ba38e184fd382e570706bb4abf', onClick: this.disabled ? undefined : this.onClick, class: { "duet-m-0": this.margin === "none" } }, index.h("div", { key: '36018f42f2af48de650eb6bf67fe521fa5e496d1', class: {
130
+ return (index.h(index.Host, { key: '512f0afaafc2cd0bb097f52be094a57d35933d8f', onClick: this.disabled || this.loading ? undefined : this.onClick, class: {
131
+ "duet-m-0": this.margin === "none",
132
+ "duet-toggle-is-disabled": this.disabled,
133
+ "duet-toggle-is-loading": this.loading,
134
+ } }, index.h("div", { key: '11a884ca254f910c8e066e28d623ee7f074a75cb', class: {
120
135
  "duet-toggle": true,
121
136
  "duet-theme-turva": this.theme === "turva",
122
137
  "duet-side-label": this.labelPosition !== "top",
123
138
  "duet-reverse-label": this.labelPosition === "right",
124
139
  "duet-label-hidden": this.labelHidden,
125
- } }, index.h(label.DuetInternalLabel, { key: '145e23905cef93b9c6855962e957545cf839c33f', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), index.h("label", { key: 'a69515fc5b92895d9a128696f9208c3b4233b258', class: "duet-switch" }, index.h("input", { key: '3b46c6969fd1018a05684d4cbbbc24421154b08d', 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, ref: input => (this.nativeInput = input) }), index.h("div", { key: 'c658e6fdfe43b4c1f6e18ca9da3ea0411357ac30', class: "duet-slider" })))));
140
+ "duet-toggle-is-disabled": this.disabled,
141
+ "duet-toggle-is-loading": this.loading,
142
+ } }, index.h(label.DuetInternalLabel, { key: '51c6fbc61a7322024ad75091c2b2c855738afffa', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), index.h("label", { key: '0657f6a2d4314dbc196a906495c22f94d7d3e551', class: "duet-switch" }, index.h("input", { key: '0f84f9f1ca13523adf2b4d86b5f9f4186016996a', 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: '1a6c06cb5c314e5f7431ecbca9b59615dd0ac040', class: "duet-slider" }), this.loading && index.h("duet-spinner", { key: '94d364fd5f11a06f81b9a0160ab3630ba8bae2c0', color: "primary" }))), this.loading && (index.h("duet-visually-hidden", { key: '2171c862cedb3bb2eeaee72f9f6b1e9d02eac3e0', "aria-live": "polite" }, this.accessibleLabelLoading || commonStrings.DuetStringsLoadingDefaults[languageUtils.getLanguage()])), this.loadingComplete && (index.h("duet-visually-hidden", { key: '8671fbb46feeeb3d651cb55f0a9243c77c97ab2c', "aria-live": "polite" }, this.accessibleLabelComplete || commonStrings.DuetStringsCompleteDefaults[languageUtils.getLanguage()]))));
126
143
  }
127
144
  get element() { return index.getElement(this); }
128
145
  static get watchers() { return {
146
+ "loading": ["setLoadingState"],
129
147
  "checked": ["checkedChanged"]
130
148
  }; }
131
149
  };
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CwMzFaC2.js');
7
- var themeableComponent = require('./themeable-component-DlxAauty.js');
6
+ var index = require('./index-BfggyC6D.js');
7
+ var themeableComponent = require('./themeable-component-BkwBlXGz.js');
8
8
  var keyboardUtils = require('./keyboard-utils-D9UlHbik.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,.duet-theme-turva2 .duet-toolbar-dropdown-link:focus,.duet-toolbar-dropdown-link:focus.duet-theme-turva2{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.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-toolbar-dropdown-link.active{background:rgb(240, 247, 250)}.duet-toolbar-dropdown-link.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-toolbar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-toolbar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}:host(.duet-theme-turva2) .duet-toolbar-dropdown-link.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-toolbar-dropdown-link.duet-theme-turva.active{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .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: '34a5369d2806e4474bbb32400d5563fddcc3590a' }, index.h("a", { key: 'b16d10c8be40329d90136c486d568fb9511524d7', class: {
54
+ return (index.h(index.Host, { key: '8e41d151e3313b5891dff17b78353776a85a8f07' }, index.h("a", { key: '1dbfa3d41901af78023b0121f0b5d4699c88a190', 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: 'cce54b8721ad1d017e32ac331ebcc54d53fbd88c', name: this.icon, size: "x-small", margin: "none" }), index.h("span", { key: '515f4c68a3917e3403e59f938fc2a2ba296e1f63', class: "label" }, index.h("slot", { key: '43e7eddd00dc07766e9842a4070f09e908021551' })), this.active && (index.h("duet-icon", { key: 'e69da314290045e523944a6d3554158627151d48', 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: 'e33514dc4358840cbc8520514b16e519a56458ea', name: this.icon, size: "x-small", margin: "none" }), index.h("span", { key: '3c1420a627929ed17d384db1762e55918ca055f6', class: "label" }, index.h("slot", { key: '73cd382bf5e2f19e5d1c6e2e64d0322021f19635' })), this.active && (index.h("duet-icon", { key: '22214495161d78c4f620a84a03089f018d377400', 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-CwMzFaC2.js');
7
- var themeableComponent = require('./themeable-component-DlxAauty.js');
6
+ var index = require('./index-BfggyC6D.js');
7
+ var themeableComponent = require('./themeable-component-BkwBlXGz.js');
8
8
  var keyboardUtils = require('./keyboard-utils-D9UlHbik.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,.duet-theme-turva2 .duet-toolbar-dropdown button:focus,.duet-toolbar-dropdown button:focus.duet-theme-turva2{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.duet-theme-turva button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-toolbar-dropdown.duet-theme-turva button:hover{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-dropdown.duet-theme-turva button.active,.duet-toolbar-dropdown.duet-theme-turva button.open{color:rgb(23, 28, 58)}.duet-toolbar-dropdown.duet-theme-turva button.active::after,.duet-toolbar-dropdown.duet-theme-turva button.open::after{background:rgb(198, 12, 48)}.duet-toolbar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}.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.negative button{color:rgb(255, 255, 255)}.duet-toolbar-dropdown.duet-theme-turva.negative button:hover{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button.active{font-weight:600;color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button.open{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-dropdown.duet-theme-turva.negative button duet-icon{color:rgb(255, 185, 190)}:host(.duet-theme-turva2) .duet-toolbar-dropdown.duet-theme-turva button{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-toolbar-dropdown.duet-theme-turva button:hover{color:rgb(23, 42, 59);background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-toolbar-dropdown.duet-theme-turva button.active::after,:host(.duet-theme-turva2) .duet-toolbar-dropdown.duet-theme-turva button.open::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-toolbar-dropdown.duet-theme-turva button.active,:host(.duet-theme-turva2) .duet-toolbar-dropdown.duet-theme-turva button.open{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-toolbar-dropdown.duet-theme-turva.negative button:hover,:host(.duet-theme-turva2) .duet-toolbar-dropdown.duet-theme-turva.negative button.active,:host(.duet-theme-turva2) .duet-toolbar-dropdown.duet-theme-turva.negative button.open{background:rgba(23, 42, 59, 0.2)}:host(.duet-theme-turva2) .duet-toolbar-dropdown.duet-theme-turva.negative button{color:rgb(255, 255, 255)}:host(.duet-theme-turva2) .duet-toolbar-dropdown.duet-theme-turva.negative button:hover,:host(.duet-theme-turva2) .duet-toolbar-dropdown.duet-theme-turva.negative button.active,:host(.duet-theme-turva2) .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: '7af8e188b72d1dd79f3445c543736d3c18d694e4', role: "listitem" }, index.h("div", { key: '128c0412da716469ad79877951bf5b81f7987515', class: {
73
+ return (index.h(index.Host, { key: '22441fcb5b8138475d82dab2645eb4be7acc7683', role: "listitem" }, index.h("div", { key: 'ddda27f016e058d656ebef316dbe040559949c88', 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: 'efc3cbf2c159c3b8a528e8ee58312bc9546b561e', 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: 'ecdfa65704fb809858dd451e2cabd81eb6362def', 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: '502ded69ce168a1de15bd937aa8c1995f2b5df88', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), index.h("span", { key: '8c4851a8137ab50f524c9d24618f612834f38669', class: "label" }, index.h("slot", { key: 'eebb0b4107c2060e48b334f35cff1458fc7b4d7c', name: "label" }), index.h("duet-icon", { key: '961bcc314c446a4b85ae1259b67d5566a0dd0656', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), index.h("div", { key: '843d1e28eb1a821021ff4e6c96269bb437980de7', 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: '094d722d70d59a46406f1e0eef3b23a2d2bfa58f', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), index.h("span", { key: '574c62534b8ee3098ed1bcd1a68bb8ac21712a1e', class: "label" }, index.h("slot", { key: '702645793ce1d7acc23ab3d81ca340c34d68f05c', name: "label" }), index.h("duet-icon", { key: '26e38570a74cd2d6997029053bb462449e4542e3', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), index.h("div", { key: '5e778fe7b21fea29300f437f18970c419fc312e5', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
82
82
  items: true,
83
83
  hidden: !this.open,
84
- } }, index.h("slot", { key: '60c2a9af5229e10192605b60f2aaf8d65e136d42' })))));
84
+ } }, index.h("slot", { key: 'a8694deb60b5d8fb5b9131cec991471ef0020a83' })))));
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-CwMzFaC2.js');
6
+ var index = require('./index-BfggyC6D.js');
7
7
  var actionNewWindowSmall = require('./action-new-window-small-BWlVx6YN.js');
8
- var commonStrings = require('./common-strings-CC6Xpjb8.js');
9
- var themeableComponent = require('./themeable-component-DlxAauty.js');
10
- var a11yUtils = require('./a11y-utils-B_EYQg_6.js');
11
- var languageUtils = require('./language-utils-BLi7aaEv.js');
8
+ var commonStrings = require('./common-strings-DMaSb4Ld.js');
9
+ var themeableComponent = require('./themeable-component-BkwBlXGz.js');
10
+ var a11yUtils = require('./a11y-utils-Dt4L3QkG.js');
11
+ var languageUtils = require('./language-utils-UQJMUCLw.js');
12
12
  require('./_commonjsHelpers-4N64IRaP.js');
13
- require('./slot-utils-l9-tZvM8.js');
13
+ require('./slot-utils-BEQnfNX2.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,.duet-theme-turva2 .duet-toolbar-item:focus,.duet-toolbar-item:focus.duet-theme-turva2{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.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-toolbar-item.duet-theme-turva.primary{color:rgb(255, 255, 255)}.duet-toolbar-item.duet-theme-turva.primary[aria-expanded=true]{background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.duet-theme-turva.primary duet-icon{color:rgb(255, 185, 190)}.duet-toolbar-item:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-item:hover.primary,.duet-toolbar-item:hover.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item:hover.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item:hover.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-item:hover.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.active{color:rgb(8, 42, 77)}.duet-toolbar-item.active.primary,.duet-toolbar-item.active.secondary{font-weight:600;color:rgb(255, 255, 255)}.duet-toolbar-item.active.primary::after,.duet-toolbar-item.active.secondary::after{display:none}.duet-toolbar-item.active.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.active.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}.duet-toolbar-item.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}duet-indicator{top:4px;left:16px;z-index:1}duet-indicator:has(+.duet-toolbar-item .duet-toolbar-icon){left:36px}:host(.duet-theme-turva2) .duet-toolbar-item.duet-theme-turva:not(.primary){color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-toolbar-item.duet-theme-turva.primary[aria-expanded=true]{background:rgba(23, 42, 59, 0.2)}:host(.duet-theme-turva2) .duet-toolbar-item.duet-theme-turva:hover{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-toolbar-item.duet-theme-turva:hover:not(.primary){color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-toolbar-item.duet-theme-turva:hover.primary{background:rgba(23, 42, 59, 0.2)}:host(.duet-theme-turva2) .duet-toolbar-item.active.duet-theme-turva::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-toolbar-item.active.duet-theme-turva:not(.primary){color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-toolbar-item.active.duet-theme-turva.primary{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: 'f36d0228f8546f61bd7f1a21fc94bbfacb229270', role: "listitem" }, this.badge && index.h("duet-indicator", { key: 'a46dc8ea7f76a4f8c76664dc4e1ad56941028a10', variation: "change" }), index.h(TagName, { key: 'e488df937c34dadf25be1f2beacfe29161ba73cf', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
98
+ return (index.h(index.Host, { key: '82a17ce8483bcaa16bdef27b50238898b81a7549', role: "listitem" }, this.badge && index.h("duet-indicator", { key: 'd1a27a07f28a95232cde24a20f05a0a2d7f61745', variation: "change" }), index.h(TagName, { key: 'c2192a7a73d5f09fc1acf9d13c7f2f2d26af7def', 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: 'fb792acb4d635caf2dbe6d6b34eb7ca0257c6425', class: "duet-toolbar-icon" }, index.h("duet-icon", { key: '7aeb14377fab6bbba397bdcb85942bc7f9026f99', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && index.h("div", { key: 'f2a6ed7704a7d21782c32fe02f1d768203a0e543', class: "duet-toolbar-badge" }))), index.h("slot", { key: 'c5f8d0d4644d68d9ae8bae97f3b26d9cb7ff2693' }), (this.trailingIcon || (this.url && this.external)) && (index.h("div", { key: '1258c07b9515853adcc3461d186240ba86fdc491', class: "duet-toolbar-icon" }, index.h("duet-icon", { key: '3472d1724fb3d148dd2ac58a964db4ab2ae7908e', 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: '00b85b5398cc6a21478840d79a11fa91270d74c0', class: "duet-toolbar-icon" }, index.h("duet-icon", { key: '73ffe104fcc9af56100dbc8f863e207efb93a2aa', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && index.h("div", { key: '4d185a66ab6fdf842f0d8c967fcb621fcd30e4d8', class: "duet-toolbar-badge" }))), index.h("slot", { key: '9fc239303a5fdb7931d47ecbb57649f0650c2fa4' }), (this.trailingIcon || (this.url && this.external)) && (index.h("div", { key: '4643254add55b63662d8c133c4c235110f82f2d7', class: "duet-toolbar-icon" }, index.h("duet-icon", { key: 'af3c48ea2d30ddb9f7569626d49df896e6be8206', 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: 'df9aa0697ed176678be4f45596c3276da1218a33', 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: '9b26ddf0fce82536ea49fec8fcfa2973ae732e84', 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-CwMzFaC2.js');
7
- var themeableComponent = require('./themeable-component-DlxAauty.js');
6
+ var index = require('./index-BfggyC6D.js');
7
+ var themeableComponent = require('./themeable-component-BkwBlXGz.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,.duet-theme-turva2 .duet-toolbar-link:focus,.duet-toolbar-link:focus.duet-theme-turva2{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.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-toolbar-link.duet-theme-turva.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.duet-theme-turva.negative duet-icon{color:rgb(255, 185, 190)}.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:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-link:hover.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 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(23, 28, 58, 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.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva{color:rgb(23, 42, 59);background:transparent}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva.negative{color:rgb(255, 255, 255)}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva.negative duet-icon{color:rgb(255, 229, 230)}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva:hover{color:rgb(23, 42, 59);background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva:hover.negative{color:rgb(255, 255, 255)}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva:hover.negative duet-icon{color:rgb(255, 229, 230)}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva:hover.negative{background:rgba(23, 42, 59, 0.2)}:host(.duet-theme-turva2) .duet-toolbar-link.active.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-toolbar-link.active.duet-theme-turva.negative{color:rgb(255, 255, 255)}:host(.duet-theme-turva2) .duet-toolbar-link.active.duet-theme-turva.negative duet-icon{color:rgb(255, 229, 230)}:host(.duet-theme-turva2) .duet-toolbar-link.active.duet-theme-turva::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-toolbar-link.active.negative{background:rgba(23, 42, 59, 0.2)}:host(.duet-theme-turva2) .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: '37bc6a6543039418aa1450349f23f7eba45adadb', role: "listitem" }, index.h("a", { key: '55cc4a44d00c2d228ab14686063417d471beec5d', class: {
47
+ return (index.h(index.Host, { key: '82d0a3759f48e1d3770e078ace177b7024958e6b', role: "listitem" }, index.h("a", { key: '3865f0bcb98452a4b3f68e0242ceb7f0927dd4ad', 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: '363fec506c3668d762b5a706b720f4ab8efb0bb5', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), index.h("slot", { key: '086cbb4a926a01fcee0ce4d7ca417ad031c60110' }))));
52
+ }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (index.h("duet-icon", { key: '09e4f28e3bca743b155330a0df9400bf47c51f9c', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), index.h("slot", { key: '68c25000344101d59cd7102c51b072636137fd62' }))));
53
53
  }
54
54
  get element() { return index.getElement(this); }
55
55
  };
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CwMzFaC2.js');
7
- var themeableComponent = require('./themeable-component-DlxAauty.js');
6
+ var index = require('./index-BfggyC6D.js');
7
+ var themeableComponent = require('./themeable-component-BkwBlXGz.js');
8
8
 
9
9
  const duetToolbarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;position:relative;width:100%}.duet-toolbar{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255)}.duet-toolbar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;height:36px;margin:0 28px;border-bottom:1px solid rgb(212, 223, 229)}.duet-toolbar .list{display:flex;align-items:center;justify-content:space-between;height:100%;list-style-type:none}.duet-toolbar ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-toolbar.primary{background:rgb(0, 119, 179)}.duet-toolbar.primary .container{border-bottom:0}.duet-toolbar.secondary{background:rgb(8, 42, 77)}.duet-toolbar.secondary .container{border-bottom:0}.duet-toolbar.duet-theme-turva{background:rgb(255, 255, 255)}.duet-toolbar.duet-theme-turva .container{border-bottom:1px solid rgb(222, 224, 228)}.duet-toolbar.duet-theme-turva.primary{background:rgb(198, 12, 48)}.duet-toolbar.duet-theme-turva.primary .container{border-bottom:0}:host(.duet-theme-turva2) .duet-toolbar.duet-theme-turva .container{border-bottom-color:rgb(251, 225, 209)}:host(.duet-theme-turva2) .duet-toolbar.duet-theme-turva.primary{background:rgb(230, 23, 64)}";
10
10
 
@@ -38,11 +38,11 @@ const DuetToolbar = class {
38
38
  : this.variation === "secondary"
39
39
  ? "secondary"
40
40
  : "default";
41
- return (index.h(index.Host, { key: '2434866ef0b95d7b07a2248edc89a4f473d9ecc6' }, index.h("nav", { key: '9938a3cd11e5230013027cb613c8aa81f95e5bf7', class: {
41
+ return (index.h(index.Host, { key: 'c860be4ffbc7d94876629c2039b767516ae67069' }, index.h("nav", { key: '93355e73bf35ed26d242a3e08140140f09d4cbcf', class: {
42
42
  "duet-toolbar": true,
43
43
  "duet-theme-turva": this.theme === "turva",
44
44
  [variation]: true,
45
- }, "aria-label": this.accessibleLabel }, index.h("div", { key: '9c915e9ffe872ec9b253bf9c7b7ca58ac5c39bee', class: "container" }, index.h("div", { key: '7a1ce3f543e9b908638de889a1b6b8270f73d830', class: "list", role: "list" }, index.h("slot", { key: '396f255c2694dbff16ae2f2584be49e4f5d4fdf5', name: "left" })), index.h("div", { key: '975122519f64947d2fc01d8a5c9fa63c3052097a', class: "list", role: "list" }, index.h("slot", { key: '8d070c2c7e5a168d7c426df35a4b742a95696383', name: "right" }))))));
45
+ }, "aria-label": this.accessibleLabel }, index.h("div", { key: 'a50a6a5ec9b49d85edcbc10a275264e95a6ad93b', class: "container" }, index.h("div", { key: 'd3187fa520b84678f46876238269b9e3f48aced4', class: "list", role: "list" }, index.h("slot", { key: 'd0a092e1c45ac428b73d549b94ac932e3f4e871e', name: "left" })), index.h("div", { key: '90c02bddb8937b6e48648a2b758211ab88ae4b00', class: "list", role: "list" }, index.h("slot", { key: '8d66429a3b7a5d4ca4c3a570677c5fca14915108', name: "right" }))))));
46
46
  }
47
47
  get element() { return index.getElement(this); }
48
48
  };