@duetds/components 8.3.0 → 8.4.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 (681) hide show
  1. package/hydrate/index.js +352 -103
  2. package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
  3. package/lib/cjs/duet-alert.cjs.entry.js +2 -2
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-banner.cjs.entry.js +7 -6
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
  9. package/lib/cjs/duet-callout.cjs.entry.js +5 -4
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +4 -5
  11. package/lib/cjs/duet-card.cjs.entry.js +5 -4
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-chip.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +11 -11
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -5
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +2 -2
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +3 -3
  25. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-footer.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-hero.cjs.entry.js +9 -6
  30. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-input_2.cjs.entry.js +5 -4
  32. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +88 -0
  38. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -15
  40. package/lib/cjs/duet-modal.cjs.entry.js +6 -6
  41. package/lib/cjs/duet-multiselect.cjs.entry.js +5 -4
  42. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
  44. package/lib/cjs/duet-number-input.cjs.entry.js +5 -4
  45. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
  47. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +3 -2
  48. package/lib/cjs/duet-popup-menu.cjs.entry.js +85 -22
  49. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-promo-card.cjs.entry.js +14 -9
  51. package/lib/cjs/duet-radio_2.cjs.entry.js +4 -3
  52. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  53. package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
  54. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-select.cjs.entry.js +4 -3
  56. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  58. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  62. package/lib/cjs/duet-slideout.cjs.entry.js +6 -6
  63. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  65. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
  66. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  67. package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-textarea.cjs.entry.js +4 -3
  69. package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
  70. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  71. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-toolbar-item.cjs.entry.js +59 -0
  73. package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
  74. package/lib/cjs/duet-toolbar.cjs.entry.js +2 -15
  75. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  78. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  79. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  80. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  81. package/lib/cjs/duet.cjs.js +2 -2
  82. package/lib/cjs/{focus-utils-da780025.js → focus-utils-26803c28.js} +1 -1
  83. package/lib/cjs/{index-34b8e765.js → index-4e1fe95e.js} +1 -1
  84. package/lib/cjs/{keyboard-utils-66010749.js → keyboard-utils-66ecb5d6.js} +4 -2
  85. package/lib/cjs/loader.cjs.js +2 -2
  86. package/lib/cjs/slot-utils-0b8037ab.js +51 -0
  87. package/lib/collection/collection-manifest.json +2 -0
  88. package/lib/collection/common/index.js +0 -1
  89. package/lib/collection/components/duet-banner/duet-banner.js +6 -5
  90. package/lib/collection/components/duet-button/duet-button.css +25 -0
  91. package/lib/collection/components/duet-callout/duet-callout.js +4 -3
  92. package/lib/collection/components/duet-card/duet-card.js +4 -3
  93. package/lib/collection/components/duet-choice/duet-choice.js +2 -1
  94. package/lib/collection/components/duet-choice-group/duet-choice-group.js +3 -2
  95. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -1
  96. package/lib/collection/components/duet-date-picker/date-picker-input.js +1 -2
  97. package/lib/collection/components/duet-date-picker/duet-date-picker.css +2 -2
  98. package/lib/collection/components/duet-date-picker/duet-date-picker.js +2 -0
  99. package/lib/collection/components/duet-fieldset/duet-fieldset.js +1 -1
  100. package/lib/collection/components/duet-hero/duet-hero.a11y.e2e.js +4 -4
  101. package/lib/collection/components/duet-hero/duet-hero.js +8 -5
  102. package/lib/collection/components/duet-input/duet-input.js +3 -2
  103. package/lib/collection/components/duet-link/duet-link.js +3 -4
  104. package/lib/collection/components/duet-list/duet-list.js +1 -1
  105. package/lib/collection/components/duet-menu-bar/duet-menu-bar.a11y.e2e.js +45 -9
  106. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +1 -0
  107. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +0 -13
  108. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +1 -1
  109. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +1 -1
  110. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +103 -0
  111. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +286 -0
  112. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +1 -1
  113. package/lib/collection/components/duet-modal/duet-modal.css +2 -2
  114. package/lib/collection/components/duet-modal/duet-modal.js +2 -1
  115. package/lib/collection/components/duet-multiselect/duet-multiselect.js +3 -2
  116. package/lib/collection/components/duet-number-input/duet-number-input.js +3 -2
  117. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +95 -25
  118. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +20 -1
  119. package/lib/collection/components/duet-promo-card/duet-promo-card.css +10 -0
  120. package/lib/collection/components/duet-promo-card/duet-promo-card.js +13 -8
  121. package/lib/collection/components/duet-radio-group/duet-radio-group.js +3 -2
  122. package/lib/collection/components/duet-select/duet-select.js +3 -2
  123. package/lib/collection/components/duet-slideout/duet-slideout.css +3 -3
  124. package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
  125. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +1 -1
  126. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +3 -2
  127. package/lib/collection/components/duet-textarea/duet-textarea.js +3 -2
  128. package/lib/collection/components/duet-toolbar/duet-toolbar.a11y.e2e.js +65 -14
  129. package/lib/collection/components/duet-toolbar/duet-toolbar.css +1 -0
  130. package/lib/collection/components/duet-toolbar/duet-toolbar.js +0 -13
  131. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +1 -1
  132. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +1 -1
  133. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +122 -0
  134. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +270 -0
  135. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +1 -1
  136. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  137. package/lib/collection/utils/keyboard-utils.js +4 -2
  138. package/lib/collection/utils/slot-utils.js +42 -11
  139. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  140. package/lib/dist-custom-elements/duet-alert.js +1 -1
  141. package/lib/dist-custom-elements/duet-badge.js +1 -1
  142. package/lib/dist-custom-elements/duet-banner.js +9 -8
  143. package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
  144. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  145. package/lib/dist-custom-elements/duet-button.js +1 -1
  146. package/lib/dist-custom-elements/duet-callout.js +6 -5
  147. package/lib/dist-custom-elements/duet-caption.js +1 -1
  148. package/lib/dist-custom-elements/duet-card.js +7 -6
  149. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  150. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  151. package/lib/dist-custom-elements/duet-chip.js +3 -3
  152. package/lib/dist-custom-elements/duet-choice-group.js +11 -10
  153. package/lib/dist-custom-elements/duet-choice.js +7 -7
  154. package/lib/dist-custom-elements/duet-collapsible.js +4 -4
  155. package/lib/dist-custom-elements/duet-combobox.js +3 -3
  156. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  157. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  158. package/lib/dist-custom-elements/duet-date-picker.js +16 -15
  159. package/lib/dist-custom-elements/duet-divider.js +1 -1
  160. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  161. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  162. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  163. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  164. package/lib/dist-custom-elements/duet-footer.js +5 -5
  165. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  166. package/lib/dist-custom-elements/duet-grid.js +1 -1
  167. package/lib/dist-custom-elements/duet-header.js +9 -9
  168. package/lib/dist-custom-elements/duet-heading.js +1 -1
  169. package/lib/dist-custom-elements/duet-hero.js +17 -14
  170. package/lib/dist-custom-elements/duet-icon.js +1 -1
  171. package/lib/dist-custom-elements/duet-input.js +1 -1
  172. package/lib/dist-custom-elements/duet-label.js +1 -1
  173. package/lib/dist-custom-elements/duet-layout.js +1 -1
  174. package/lib/dist-custom-elements/duet-link.js +1 -1
  175. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  176. package/lib/dist-custom-elements/duet-list.js +1 -1
  177. package/lib/dist-custom-elements/duet-logo.js +1 -1
  178. package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
  179. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
  180. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +4 -4
  181. package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +11 -0
  182. package/lib/dist-custom-elements/duet-menu-bar-item.js +119 -0
  183. package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
  184. package/lib/dist-custom-elements/duet-menu-bar.js +3 -16
  185. package/lib/dist-custom-elements/duet-modal.js +10 -10
  186. package/lib/dist-custom-elements/duet-multiselect.js +13 -12
  187. package/lib/dist-custom-elements/duet-nav.js +1 -1
  188. package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
  189. package/lib/dist-custom-elements/duet-notification.js +3 -3
  190. package/lib/dist-custom-elements/duet-number-input.js +15 -14
  191. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  192. package/lib/dist-custom-elements/duet-pagination.js +14 -14
  193. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  194. package/lib/dist-custom-elements/duet-popup-menu-item.js +5 -3
  195. package/lib/dist-custom-elements/duet-popup-menu.js +90 -24
  196. package/lib/dist-custom-elements/duet-progress.js +1 -1
  197. package/lib/dist-custom-elements/duet-promo-card.js +16 -11
  198. package/lib/dist-custom-elements/duet-radio-group.js +11 -10
  199. package/lib/dist-custom-elements/duet-radio.js +1 -1
  200. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  201. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  202. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  203. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  204. package/lib/dist-custom-elements/duet-select.js +1 -1
  205. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  206. package/lib/dist-custom-elements/duet-show-more.js +6 -6
  207. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  208. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  209. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  210. package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
  211. package/lib/dist-custom-elements/duet-slideout.js +5 -5
  212. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  213. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  214. package/lib/dist-custom-elements/duet-step.js +5 -5
  215. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  216. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  217. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
  218. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  219. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  220. package/lib/dist-custom-elements/duet-tab-group.js +14 -14
  221. package/lib/dist-custom-elements/duet-tab.js +2 -2
  222. package/lib/dist-custom-elements/duet-table.js +1 -1
  223. package/lib/dist-custom-elements/duet-textarea.js +13 -12
  224. package/lib/dist-custom-elements/duet-toggle.js +3 -3
  225. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  226. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +4 -4
  227. package/lib/dist-custom-elements/duet-toolbar-item.d.ts +11 -0
  228. package/lib/dist-custom-elements/duet-toolbar-item.js +90 -0
  229. package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
  230. package/lib/dist-custom-elements/duet-toolbar.js +2 -15
  231. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  232. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  233. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  234. package/lib/dist-custom-elements/duet-tray.js +4 -4
  235. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  236. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  237. package/lib/dist-custom-elements/duet-upload.js +18 -18
  238. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  239. package/lib/dist-custom-elements/index.js +1 -1
  240. package/lib/dist-custom-elements/{p-363d74c3.js → p-04647f60.js} +4 -4
  241. package/lib/dist-custom-elements/{p-afe568e9.js → p-0b90bbc2.js} +1 -1
  242. package/lib/dist-custom-elements/{p-73904865.js → p-0e584f41.js} +1 -1
  243. package/lib/dist-custom-elements/{p-b24c3dc4.js → p-1166a31e.js} +3 -3
  244. package/lib/dist-custom-elements/{p-8cd82767.js → p-148fdc67.js} +1 -1
  245. package/lib/dist-custom-elements/{p-e3d866c6.js → p-231e248d.js} +5 -5
  246. package/lib/dist-custom-elements/{p-ac4ee6ea.js → p-42a1b569.js} +2 -2
  247. package/lib/dist-custom-elements/{p-2718851e.js → p-42f3ff36.js} +1 -1
  248. package/lib/dist-custom-elements/{p-cf2212cc.js → p-440669fe.js} +14 -13
  249. package/lib/dist-custom-elements/{p-0233383b.js → p-54a40cbc.js} +1 -1
  250. package/lib/dist-custom-elements/{p-10c1d640.js → p-55dc7e3a.js} +1 -1
  251. package/lib/dist-custom-elements/{p-34fe2adb.js → p-581c0a5a.js} +1 -1
  252. package/lib/dist-custom-elements/{p-2c44fafc.js → p-5b7820b5.js} +1 -1
  253. package/lib/dist-custom-elements/{p-5b8774b6.js → p-604f5020.js} +6 -6
  254. package/lib/dist-custom-elements/{p-a13cbd71.js → p-6cb11f93.js} +1 -1
  255. package/lib/dist-custom-elements/p-796edee6.js +48 -0
  256. package/lib/dist-custom-elements/{p-60dcae4f.js → p-7cf48950.js} +1 -1
  257. package/lib/dist-custom-elements/{p-d27e5b0d.js → p-8356d992.js} +2 -2
  258. package/lib/dist-custom-elements/{p-5df55152.js → p-85712a7c.js} +1 -1
  259. package/lib/dist-custom-elements/{p-7183d0e7.js → p-88394bab.js} +10 -10
  260. package/lib/dist-custom-elements/{p-c7e3638d.js → p-88ce5a27.js} +1 -1
  261. package/lib/dist-custom-elements/{p-98ca74e0.js → p-9448a82f.js} +1 -1
  262. package/lib/dist-custom-elements/{p-0d6e1f1b.js → p-9c0ce616.js} +1 -1
  263. package/lib/dist-custom-elements/{p-41c5df58.js → p-a3651df3.js} +2 -2
  264. package/lib/dist-custom-elements/{p-7c44c302.js → p-b68755bb.js} +1 -1
  265. package/lib/dist-custom-elements/{p-997c1c72.js → p-b9f613f5.js} +1 -1
  266. package/lib/dist-custom-elements/{p-55634a0b.js → p-bec3a15c.js} +4 -2
  267. package/lib/dist-custom-elements/{p-8a5c7cdf.js → p-d07c620c.js} +5 -5
  268. package/lib/dist-custom-elements/{p-42da65d1.js → p-d2dafb20.js} +5 -6
  269. package/lib/dist-custom-elements/{p-b443af91.js → p-dd175a82.js} +11 -10
  270. package/lib/dist-custom-elements/{p-e445c96b.js → p-de066189.js} +1 -1
  271. package/lib/dist-custom-elements/{p-a73804b7.js → p-e278477e.js} +1 -1
  272. package/lib/dist-custom-elements/{p-2bc31f8b.js → p-e47bf090.js} +1 -1
  273. package/lib/dist-custom-elements/{p-96a8a294.js → p-f38ed7fe.js} +4 -4
  274. package/lib/dist-custom-elements/{p-5ccb7f41.js → p-fc352257.js} +7 -7
  275. package/lib/dist-custom-elements/{p-3bcad21a.js → p-ffe65adf.js} +3 -3
  276. package/lib/duet/duet.esm.js +1 -1
  277. package/lib/duet/duet.js +1 -1
  278. package/lib/duet/{p-505375e1.system.entry.js → p-05b8ae17.system.entry.js} +1 -1
  279. package/lib/duet/{p-dcaed1b0.entry.js → p-072607fd.entry.js} +1 -1
  280. package/lib/duet/{p-58a8254d.entry.js → p-077c7ac7.entry.js} +1 -1
  281. package/lib/duet/p-090ae709.entry.js +4 -0
  282. package/lib/duet/{p-19fc4ff9.system.entry.js → p-0c8ef637.system.entry.js} +1 -1
  283. package/lib/duet/{p-77b95466.system.entry.js → p-0c98eb74.system.entry.js} +1 -1
  284. package/lib/duet/p-0d452219.entry.js +4 -0
  285. package/lib/duet/{p-65dcf9ed.entry.js → p-0f80c628.entry.js} +1 -1
  286. package/lib/duet/{p-56be87c9.system.entry.js → p-1099ef42.system.entry.js} +1 -1
  287. package/lib/duet/{p-3ddc5b9d.entry.js → p-113ad39d.entry.js} +1 -1
  288. package/lib/duet/p-13bdce94.entry.js +4 -0
  289. package/lib/duet/{p-8a2f8d7d.entry.js → p-154f1517.entry.js} +1 -1
  290. package/lib/duet/{p-33771b10.system.entry.js → p-1c5a34ec.system.entry.js} +1 -1
  291. package/lib/duet/{p-1d91fb5d.entry.js → p-1ce475d7.entry.js} +1 -1
  292. package/lib/duet/{p-193fcf1c.system.entry.js → p-1d032bb3.system.entry.js} +1 -1
  293. package/lib/duet/{p-85e98030.entry.js → p-1e55dfa3.entry.js} +1 -1
  294. package/lib/duet/p-246f8836.system.entry.js +4 -0
  295. package/lib/duet/{p-97cf5b01.system.entry.js → p-265aaa8b.system.entry.js} +1 -1
  296. package/lib/duet/{p-b507f27d.system.entry.js → p-26859589.system.entry.js} +1 -1
  297. package/lib/duet/p-26c2008d.entry.js +4 -0
  298. package/lib/duet/{p-ffdb9d3f.system.entry.js → p-276fac2f.system.entry.js} +1 -1
  299. package/lib/duet/p-280e0b55.entry.js +4 -0
  300. package/lib/duet/{p-f801f2a7.entry.js → p-288ba4f9.entry.js} +1 -1
  301. package/lib/duet/{p-4ca1be7a.system.entry.js → p-2a29c6d5.system.entry.js} +1 -1
  302. package/lib/duet/{p-b9140794.entry.js → p-2b5c578e.entry.js} +1 -1
  303. package/lib/duet/{p-d7f9ea61.system.entry.js → p-2d4cd88c.system.entry.js} +1 -1
  304. package/lib/duet/{p-7083fb38.system.entry.js → p-30174f82.system.entry.js} +1 -1
  305. package/lib/duet/p-322b427c.system.entry.js +4 -0
  306. package/lib/duet/{p-9d841e0f.entry.js → p-33ba6560.entry.js} +1 -1
  307. package/lib/duet/p-3624bad1.js +4 -0
  308. package/lib/duet/{p-8c08f362.system.entry.js → p-36ca4962.system.entry.js} +1 -1
  309. package/lib/duet/{p-3ac0c888.system.entry.js → p-3706d57f.system.entry.js} +1 -1
  310. package/lib/duet/{p-573ce757.system.entry.js → p-378c88b0.system.entry.js} +1 -1
  311. package/lib/duet/{p-27485e15.system.entry.js → p-3790d9c6.system.entry.js} +1 -1
  312. package/lib/duet/{p-a3b8bb87.entry.js → p-37b390b1.entry.js} +1 -1
  313. package/lib/duet/p-3a2f42cc.entry.js +4 -0
  314. package/lib/duet/{p-5c42b7f0.system.entry.js → p-3b7af0aa.system.entry.js} +1 -1
  315. package/lib/duet/p-3ffede1b.entry.js +4 -0
  316. package/lib/duet/{p-90847ed0.system.entry.js → p-423cc443.system.entry.js} +2 -2
  317. package/lib/duet/{p-05cfffb1.entry.js → p-42f7208c.entry.js} +1 -1
  318. package/lib/duet/p-4594fdfc.system.entry.js +4 -0
  319. package/lib/duet/{p-c03920c0.entry.js → p-4646de9d.entry.js} +1 -1
  320. package/lib/duet/{p-e0db152c.system.entry.js → p-468606ef.system.entry.js} +1 -1
  321. package/lib/duet/{p-0296a34a.system.entry.js → p-46980318.system.entry.js} +1 -1
  322. package/lib/duet/{p-85c6a112.entry.js → p-46c368b6.entry.js} +1 -1
  323. package/lib/duet/{p-34b96e8d.system.entry.js → p-48d5fd63.system.entry.js} +1 -1
  324. package/lib/duet/{p-e79d2de2.system.entry.js → p-497fbe6f.system.entry.js} +1 -1
  325. package/lib/duet/{p-777fbef3.entry.js → p-4a69a574.entry.js} +1 -1
  326. package/lib/duet/p-4c2964ba.system.entry.js +4 -0
  327. package/lib/duet/p-4c40ab32.entry.js +4 -0
  328. package/lib/duet/{p-1953edbe.entry.js → p-4c99d4e4.entry.js} +1 -1
  329. package/lib/duet/{p-ba89aaf0.entry.js → p-4ddb4401.entry.js} +1 -1
  330. package/lib/duet/{p-82cd0795.entry.js → p-52aefd49.entry.js} +1 -1
  331. package/lib/duet/{p-25e0cbc3.entry.js → p-55f4b594.entry.js} +1 -1
  332. package/lib/duet/p-560b0225.system.entry.js +4 -0
  333. package/lib/duet/{p-fefcaeb4.entry.js → p-5969cc96.entry.js} +1 -1
  334. package/lib/duet/p-5a07838a.system.entry.js +4 -0
  335. package/lib/duet/{p-0abf8fe1.system.entry.js → p-5f6619db.system.entry.js} +1 -1
  336. package/lib/duet/{p-5bf6660a.entry.js → p-60cc4982.entry.js} +1 -1
  337. package/lib/duet/{p-d8144268.system.entry.js → p-613ca231.system.entry.js} +1 -1
  338. package/lib/duet/{p-2eb5153f.system.entry.js → p-62b76a24.system.entry.js} +1 -1
  339. package/lib/duet/{p-f43327c2.system.entry.js → p-65a1a167.system.entry.js} +1 -1
  340. package/lib/duet/{p-618cc2c7.system.entry.js → p-65bd8411.system.entry.js} +1 -1
  341. package/lib/duet/{p-cff7873f.entry.js → p-67a6cdda.entry.js} +1 -1
  342. package/lib/duet/{p-6626a173.entry.js → p-69d93a05.entry.js} +1 -1
  343. package/lib/duet/{p-e27a4bf4.system.entry.js → p-6bad4da4.system.entry.js} +1 -1
  344. package/lib/duet/{p-b263e985.js → p-6c4b49d5.js} +1 -1
  345. package/lib/duet/p-6db50eea.entry.js +4 -0
  346. package/lib/duet/{p-9ba3d633.entry.js → p-6ed83596.entry.js} +1 -1
  347. package/lib/duet/{p-fe79a10c.system.entry.js → p-7066a413.system.entry.js} +1 -1
  348. package/lib/duet/{p-d7175aea.entry.js → p-72bedacd.entry.js} +1 -1
  349. package/lib/duet/{p-87112f7c.system.entry.js → p-7436bd48.system.entry.js} +1 -1
  350. package/lib/duet/p-74f8da81.entry.js +4 -0
  351. package/lib/duet/p-75350b07.entry.js +4 -0
  352. package/lib/duet/{p-e3c31f72.system.entry.js → p-75503668.system.entry.js} +1 -1
  353. package/lib/duet/{p-e72a7aa6.system.entry.js → p-75f81010.system.entry.js} +1 -1
  354. package/lib/duet/{p-769b7d3c.system.js → p-76b3dfea.system.js} +1 -1
  355. package/lib/duet/{p-c16515e0.entry.js → p-76f3d250.entry.js} +1 -1
  356. package/lib/duet/{p-fa6061c9.entry.js → p-7792b370.entry.js} +1 -1
  357. package/lib/duet/p-796edee6.js +4 -0
  358. package/lib/duet/{p-71568bfa.entry.js → p-79b1232f.entry.js} +1 -1
  359. package/lib/duet/p-7a0523f1.entry.js +4 -0
  360. package/lib/duet/p-7c6d5f9c.system.js +4 -0
  361. package/lib/duet/p-8678ad49.system.js +4 -0
  362. package/lib/duet/{p-c9221359.system.entry.js → p-8b0053b4.system.entry.js} +1 -1
  363. package/lib/duet/p-8b01d018.entry.js +4 -0
  364. package/lib/duet/p-8b310c25.system.entry.js +4 -0
  365. package/lib/duet/{p-53e192de.system.entry.js → p-8b621333.system.entry.js} +1 -1
  366. package/lib/duet/{p-310fd85a.system.entry.js → p-8c340908.system.entry.js} +1 -1
  367. package/lib/duet/p-8cdbf7c7.system.entry.js +4 -0
  368. package/lib/duet/p-8da5c103.entry.js +4 -0
  369. package/lib/duet/{p-11be6924.system.entry.js → p-900abeb7.system.entry.js} +1 -1
  370. package/lib/duet/{p-604aab16.system.entry.js → p-913b9c68.system.entry.js} +1 -1
  371. package/lib/duet/p-91d750ad.system.js +4 -0
  372. package/lib/duet/{p-b9c1d172.entry.js → p-93950a7f.entry.js} +1 -1
  373. package/lib/duet/{p-39730ce5.entry.js → p-94e0fba1.entry.js} +1 -1
  374. package/lib/duet/{p-004f5593.system.entry.js → p-96c1789d.system.entry.js} +1 -1
  375. package/lib/duet/{p-c8466623.system.entry.js → p-97af661b.system.entry.js} +1 -1
  376. package/lib/duet/p-991f9b2e.entry.js +4 -0
  377. package/lib/duet/{p-079710fa.system.entry.js → p-994d95e9.system.entry.js} +1 -1
  378. package/lib/duet/{p-f1843c31.entry.js → p-99eb5647.entry.js} +1 -1
  379. package/lib/duet/p-9a1f8af3.entry.js +4 -0
  380. package/lib/duet/{p-d3aed7d8.system.entry.js → p-9cdf78b3.system.entry.js} +1 -1
  381. package/lib/duet/{p-ccb58dd2.entry.js → p-9ce07f50.entry.js} +1 -1
  382. package/lib/duet/{p-5d74e505.entry.js → p-a09d3878.entry.js} +1 -1
  383. package/lib/duet/{p-690d8509.system.entry.js → p-a15bdee3.system.entry.js} +1 -1
  384. package/lib/duet/{p-0322bace.entry.js → p-a1db3600.entry.js} +1 -1
  385. package/lib/duet/{p-73f87dff.system.entry.js → p-a43ad34f.system.entry.js} +1 -1
  386. package/lib/duet/{p-a9a0f040.system.entry.js → p-a50e095d.system.entry.js} +1 -1
  387. package/lib/duet/{p-859754bb.entry.js → p-a88d7e91.entry.js} +1 -1
  388. package/lib/duet/{p-2054dad2.entry.js → p-a8935106.entry.js} +1 -1
  389. package/lib/duet/{p-8726889d.system.entry.js → p-a8c96cc0.system.entry.js} +1 -1
  390. package/lib/duet/{p-213dab77.entry.js → p-aa14230b.entry.js} +1 -1
  391. package/lib/duet/{p-2f22f4cc.system.entry.js → p-aa840586.system.entry.js} +1 -1
  392. package/lib/duet/p-ad6388ce.entry.js +4 -0
  393. package/lib/duet/p-b01e1f6c.system.entry.js +4 -0
  394. package/lib/duet/{p-09c54c8e.system.js → p-b2716337.system.js} +1 -1
  395. package/lib/duet/{p-fbbfcc2d.system.entry.js → p-b2df2bb9.system.entry.js} +1 -1
  396. package/lib/duet/{p-98a822e3.entry.js → p-b3af96a8.entry.js} +1 -1
  397. package/lib/duet/{p-a01d2fdb.entry.js → p-b49d10f6.entry.js} +1 -1
  398. package/lib/duet/{p-e7b6657c.system.entry.js → p-b4e730ac.system.entry.js} +1 -1
  399. package/lib/duet/{p-294b9ccf.system.entry.js → p-b57e1bac.system.entry.js} +1 -1
  400. package/lib/duet/{p-45e26ba0.system.entry.js → p-b5f5d7ce.system.entry.js} +1 -1
  401. package/lib/duet/{p-5add7da0.entry.js → p-b7b4b33c.entry.js} +1 -1
  402. package/lib/duet/{p-7479da8d.system.entry.js → p-b85c4e9e.system.entry.js} +1 -1
  403. package/lib/duet/{p-52a756fe.entry.js → p-ba015d7a.entry.js} +1 -1
  404. package/lib/duet/p-bb640b45.entry.js +4 -0
  405. package/lib/duet/{p-82bef678.system.entry.js → p-bc8c2990.system.entry.js} +1 -1
  406. package/lib/duet/{p-4a4317af.system.entry.js → p-be8e8efc.system.entry.js} +1 -1
  407. package/lib/duet/{p-15c9c4cb.entry.js → p-c19ce026.entry.js} +1 -1
  408. package/lib/duet/{p-7fd03652.system.entry.js → p-c28e4280.system.entry.js} +1 -1
  409. package/lib/duet/{p-fdeb4f7d.entry.js → p-c383e8d6.entry.js} +1 -1
  410. package/lib/duet/{p-0d0867ae.entry.js → p-c899df04.entry.js} +1 -1
  411. package/lib/duet/{p-b2ccffd1.system.entry.js → p-c900f541.system.entry.js} +1 -1
  412. package/lib/duet/p-caa48d36.system.entry.js +4 -0
  413. package/lib/duet/{p-9e8772d1.entry.js → p-cd8fc9f7.entry.js} +1 -1
  414. package/lib/duet/{p-447943eb.entry.js → p-cd9619e3.entry.js} +1 -1
  415. package/lib/duet/{p-0f35fce0.system.entry.js → p-d047123e.system.entry.js} +1 -1
  416. package/lib/duet/{p-d864a0e3.system.entry.js → p-d257c333.system.entry.js} +1 -1
  417. package/lib/duet/{p-2888bff8.system.entry.js → p-d2cabbed.system.entry.js} +1 -1
  418. package/lib/duet/p-d2d6281b.entry.js +4 -0
  419. package/lib/duet/{p-0c416590.system.entry.js → p-d48ab4d3.system.entry.js} +1 -1
  420. package/lib/duet/p-d56b354c.entry.js +4 -0
  421. package/lib/duet/{p-9bba389f.entry.js → p-d9fd389c.entry.js} +1 -1
  422. package/lib/duet/{p-9686aa88.system.entry.js → p-db29100b.system.entry.js} +1 -1
  423. package/lib/duet/p-dc45b241.entry.js +4 -0
  424. package/lib/duet/p-de46b522.entry.js +4 -0
  425. package/lib/duet/p-de958fe7.system.entry.js +4 -0
  426. package/lib/duet/{p-2e3254e1.system.entry.js → p-e0befaf6.system.entry.js} +1 -1
  427. package/lib/duet/p-e1020f12.system.entry.js +4 -0
  428. package/lib/duet/{p-755f5cf0.system.entry.js → p-e19a12b4.system.entry.js} +1 -1
  429. package/lib/duet/{p-ba92e7b1.system.entry.js → p-e1b947e9.system.entry.js} +1 -1
  430. package/lib/duet/{p-a3351207.entry.js → p-e5c75975.entry.js} +1 -1
  431. package/lib/duet/{p-d84be985.entry.js → p-e632de74.entry.js} +1 -1
  432. package/lib/duet/p-e650b1b7.system.entry.js +4 -0
  433. package/lib/duet/p-e669b52a.entry.js +4 -0
  434. package/lib/duet/p-e6beb82f.entry.js +4 -0
  435. package/lib/duet/p-ea90f7c4.entry.js +4 -0
  436. package/lib/duet/{p-45464aa5.entry.js → p-eaa8473a.entry.js} +1 -1
  437. package/lib/duet/{p-1f6ad797.system.entry.js → p-ed9d957f.system.entry.js} +2 -2
  438. package/lib/duet/{p-560f26a5.entry.js → p-eededb83.entry.js} +1 -1
  439. package/lib/duet/p-f27034be.entry.js +4 -0
  440. package/lib/duet/p-f36f6e98.js +4 -0
  441. package/lib/duet/p-f3a2cd70.entry.js +4 -0
  442. package/lib/duet/p-f4b9871c.system.entry.js +4 -0
  443. package/lib/duet/{p-ca5cd66a.system.entry.js → p-fbede069.system.entry.js} +1 -1
  444. package/lib/duet/p-fd6421e9.entry.js +4 -0
  445. package/lib/esm/duet-action-button.entry.js +2 -2
  446. package/lib/esm/duet-alert.entry.js +2 -2
  447. package/lib/esm/duet-badge.entry.js +1 -1
  448. package/lib/esm/duet-banner.entry.js +7 -6
  449. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  450. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  451. package/lib/esm/duet-button_2.entry.js +2 -2
  452. package/lib/esm/duet-callout.entry.js +5 -4
  453. package/lib/esm/duet-caption_4.entry.js +4 -5
  454. package/lib/esm/duet-card.entry.js +5 -4
  455. package/lib/esm/duet-checkbox.entry.js +1 -1
  456. package/lib/esm/duet-checkmark.entry.js +1 -1
  457. package/lib/esm/duet-chip.entry.js +2 -2
  458. package/lib/esm/duet-choice_2.entry.js +6 -6
  459. package/lib/esm/duet-collapsible.entry.js +3 -3
  460. package/lib/esm/duet-combobox.entry.js +2 -2
  461. package/lib/esm/duet-contact-card.entry.js +1 -1
  462. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  463. package/lib/esm/duet-date-picker.entry.js +6 -5
  464. package/lib/esm/duet-divider_2.entry.js +1 -1
  465. package/lib/esm/duet-editable-table_3.entry.js +2 -2
  466. package/lib/esm/duet-empty-state.entry.js +1 -1
  467. package/lib/esm/duet-fieldset.entry.js +2 -2
  468. package/lib/esm/duet-file-chooser.entry.js +1 -1
  469. package/lib/esm/duet-footer.entry.js +2 -2
  470. package/lib/esm/duet-grid_2.entry.js +1 -1
  471. package/lib/esm/duet-header_2.entry.js +2 -2
  472. package/lib/esm/duet-hero.entry.js +9 -6
  473. package/lib/esm/duet-icon.entry.js +1 -1
  474. package/lib/esm/duet-input_2.entry.js +5 -4
  475. package/lib/esm/duet-layout.entry.js +1 -1
  476. package/lib/esm/duet-list_2.entry.js +1 -1
  477. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  478. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
  479. package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
  480. package/lib/esm/duet-menu-bar-item.entry.js +84 -0
  481. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  482. package/lib/esm/duet-menu-bar.entry.js +2 -15
  483. package/lib/esm/duet-modal.entry.js +5 -5
  484. package/lib/esm/duet-multiselect.entry.js +5 -4
  485. package/lib/esm/duet-nav.entry.js +1 -1
  486. package/lib/esm/duet-notification_2.entry.js +2 -2
  487. package/lib/esm/duet-number-input.entry.js +5 -4
  488. package/lib/esm/duet-page-heading.entry.js +1 -1
  489. package/lib/esm/duet-pagination_2.entry.js +2 -2
  490. package/lib/esm/duet-popup-menu-item.entry.js +3 -2
  491. package/lib/esm/duet-popup-menu.entry.js +85 -22
  492. package/lib/esm/duet-progress.entry.js +1 -1
  493. package/lib/esm/duet-promo-card.entry.js +14 -9
  494. package/lib/esm/duet-radio_2.entry.js +4 -3
  495. package/lib/esm/duet-range-slider.entry.js +2 -2
  496. package/lib/esm/duet-scrollable_3.entry.js +2 -2
  497. package/lib/esm/duet-section-layout.entry.js +1 -1
  498. package/lib/esm/duet-select.entry.js +4 -3
  499. package/lib/esm/duet-shaped-image.entry.js +1 -1
  500. package/lib/esm/duet-show-more.entry.js +2 -2
  501. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  502. package/lib/esm/duet-slideout-link.entry.js +1 -1
  503. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  504. package/lib/esm/duet-slideout-panel.entry.js +3 -3
  505. package/lib/esm/duet-slideout.entry.js +5 -5
  506. package/lib/esm/duet-step_2.entry.js +2 -2
  507. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  508. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  509. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  510. package/lib/esm/duet-submenu-bar.entry.js +2 -2
  511. package/lib/esm/duet-textarea.entry.js +4 -3
  512. package/lib/esm/duet-toggle.entry.js +2 -2
  513. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  514. package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
  515. package/lib/esm/duet-toolbar-item.entry.js +55 -0
  516. package/lib/esm/duet-toolbar-link.entry.js +2 -2
  517. package/lib/esm/duet-toolbar.entry.js +2 -15
  518. package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
  519. package/lib/esm/duet-tooltip.entry.js +3 -3
  520. package/lib/esm/duet-tray.entry.js +2 -2
  521. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  522. package/lib/esm/duet-upload-item.entry.js +1 -1
  523. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  524. package/lib/esm/duet.js +3 -3
  525. package/lib/esm/{focus-utils-a9110b59.js → focus-utils-a15379ec.js} +1 -1
  526. package/lib/esm/{index-ad0e5e61.js → index-2fcdad1e.js} +1 -1
  527. package/lib/esm/{keyboard-utils-c472d19d.js → keyboard-utils-0708be80.js} +4 -2
  528. package/lib/esm/loader.js +3 -3
  529. package/lib/esm/slot-utils-3c3ab3d6.js +48 -0
  530. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  531. package/lib/esm-es5/duet-alert.entry.js +1 -1
  532. package/lib/esm-es5/duet-badge.entry.js +1 -1
  533. package/lib/esm-es5/duet-banner.entry.js +1 -1
  534. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  535. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  536. package/lib/esm-es5/duet-button_2.entry.js +2 -2
  537. package/lib/esm-es5/duet-callout.entry.js +1 -1
  538. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  539. package/lib/esm-es5/duet-card.entry.js +1 -1
  540. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  541. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  542. package/lib/esm-es5/duet-chip.entry.js +1 -1
  543. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  544. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  545. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  546. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  547. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  548. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  549. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  550. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  551. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  552. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  553. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  554. package/lib/esm-es5/duet-footer.entry.js +1 -1
  555. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  556. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  557. package/lib/esm-es5/duet-hero.entry.js +2 -2
  558. package/lib/esm-es5/duet-icon.entry.js +1 -1
  559. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  560. package/lib/esm-es5/duet-layout.entry.js +1 -1
  561. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  562. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  563. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  564. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  565. package/lib/esm-es5/duet-menu-bar-item.entry.js +4 -0
  566. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  567. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  568. package/lib/esm-es5/duet-modal.entry.js +1 -1
  569. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  570. package/lib/esm-es5/duet-nav.entry.js +1 -1
  571. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  572. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  573. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  574. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  575. package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
  576. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  577. package/lib/esm-es5/duet-progress.entry.js +1 -1
  578. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  579. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  580. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  581. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  582. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  583. package/lib/esm-es5/duet-select.entry.js +2 -2
  584. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  585. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  586. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  587. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  588. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  589. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  590. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  591. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  592. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  593. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  594. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  595. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  596. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  597. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  598. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  599. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  600. package/lib/esm-es5/duet-toolbar-item.entry.js +4 -0
  601. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  602. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  603. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  604. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  605. package/lib/esm-es5/duet-tray.entry.js +1 -1
  606. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  607. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  608. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  609. package/lib/esm-es5/duet.js +1 -1
  610. package/lib/esm-es5/{focus-utils-a9110b59.js → focus-utils-a15379ec.js} +1 -1
  611. package/lib/esm-es5/{index-ad0e5e61.js → index-2fcdad1e.js} +1 -1
  612. package/lib/esm-es5/{keyboard-utils-c472d19d.js → keyboard-utils-0708be80.js} +1 -1
  613. package/lib/esm-es5/loader.js +1 -1
  614. package/lib/esm-es5/slot-utils-3c3ab3d6.js +4 -0
  615. package/lib/types/common/index.d.ts +0 -1
  616. package/lib/types/components/duet-card/duet-card.d.ts +3 -2
  617. package/lib/types/components/duet-list/duet-list.d.ts +1 -0
  618. package/lib/types/components/duet-menu-bar-item/duet-menu-bar-item.d.ts +67 -0
  619. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +9 -2
  620. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +4 -0
  621. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +3 -1
  622. package/lib/types/components/duet-toolbar-item/duet-toolbar-item.d.ts +65 -0
  623. package/lib/types/components.d.ts +184 -6
  624. package/lib/types/utils/slot-utils.d.ts +14 -2
  625. package/package.json +5 -5
  626. package/lib/cjs/slot-query-3259af5b.js +0 -10
  627. package/lib/cjs/slot-utils-6c81bd09.js +0 -20
  628. package/lib/collection/common/slot-query.js +0 -9
  629. package/lib/dist-custom-elements/p-11230037.js +0 -8
  630. package/lib/dist-custom-elements/p-bb24a019.js +0 -18
  631. package/lib/duet/p-0c2cf3a5.system.entry.js +0 -4
  632. package/lib/duet/p-11230037.js +0 -4
  633. package/lib/duet/p-1c7ca800.entry.js +0 -4
  634. package/lib/duet/p-1cb624dd.entry.js +0 -4
  635. package/lib/duet/p-240c3f03.system.entry.js +0 -4
  636. package/lib/duet/p-2de5d10d.entry.js +0 -4
  637. package/lib/duet/p-32f3d9e9.entry.js +0 -4
  638. package/lib/duet/p-38bab76d.entry.js +0 -4
  639. package/lib/duet/p-3f9bb231.entry.js +0 -4
  640. package/lib/duet/p-43ee1368.entry.js +0 -4
  641. package/lib/duet/p-48f4acef.entry.js +0 -4
  642. package/lib/duet/p-578de372.entry.js +0 -4
  643. package/lib/duet/p-5eb9efcf.system.js +0 -4
  644. package/lib/duet/p-634e8787.system.js +0 -4
  645. package/lib/duet/p-6a9f8b30.entry.js +0 -4
  646. package/lib/duet/p-6ab9f8ce.entry.js +0 -4
  647. package/lib/duet/p-700eb8d9.system.entry.js +0 -4
  648. package/lib/duet/p-74fef701.system.entry.js +0 -4
  649. package/lib/duet/p-753d1ca4.system.js +0 -4
  650. package/lib/duet/p-7cdcc3f9.system.entry.js +0 -4
  651. package/lib/duet/p-85b08ff2.system.entry.js +0 -4
  652. package/lib/duet/p-8a90810c.system.entry.js +0 -4
  653. package/lib/duet/p-8b25f04b.system.entry.js +0 -4
  654. package/lib/duet/p-91e776e5.entry.js +0 -4
  655. package/lib/duet/p-93037a0a.entry.js +0 -4
  656. package/lib/duet/p-99269e38.system.js +0 -4
  657. package/lib/duet/p-9bfaaf32.entry.js +0 -4
  658. package/lib/duet/p-a5ebbe3e.entry.js +0 -4
  659. package/lib/duet/p-abe6350b.system.entry.js +0 -4
  660. package/lib/duet/p-afa0c531.entry.js +0 -4
  661. package/lib/duet/p-b3e26504.entry.js +0 -4
  662. package/lib/duet/p-bb24a019.js +0 -4
  663. package/lib/duet/p-c28792a8.entry.js +0 -4
  664. package/lib/duet/p-c9c43026.entry.js +0 -4
  665. package/lib/duet/p-cea6ffda.entry.js +0 -4
  666. package/lib/duet/p-cfdea256.system.entry.js +0 -4
  667. package/lib/duet/p-d36935fa.system.entry.js +0 -4
  668. package/lib/duet/p-da0e04fa.entry.js +0 -4
  669. package/lib/duet/p-e19067f1.js +0 -4
  670. package/lib/duet/p-e276fee0.js +0 -4
  671. package/lib/duet/p-e7ffb722.entry.js +0 -4
  672. package/lib/duet/p-ed8efd4d.system.entry.js +0 -4
  673. package/lib/duet/p-f61c00e3.entry.js +0 -4
  674. package/lib/duet/p-f7e13990.entry.js +0 -4
  675. package/lib/duet/p-fcb84038.entry.js +0 -4
  676. package/lib/duet/p-fea9215a.entry.js +0 -4
  677. package/lib/esm/slot-query-022710bb.js +0 -8
  678. package/lib/esm/slot-utils-07ba4363.js +0 -18
  679. package/lib/esm-es5/slot-query-022710bb.js +0 -4
  680. package/lib/esm-es5/slot-utils-07ba4363.js +0 -4
  681. package/lib/types/common/slot-query.d.ts +0 -1
@@ -5,18 +5,18 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-34b8e765.js');
8
+ const index = require('./index-4e1fe95e.js');
9
9
  const bodyScrollLock_es6 = require('./bodyScrollLock.es6-83f334d1.js');
10
10
  const themeableComponent = require('./themeable-component-83a2a0d4.js');
11
- const slotQuery = require('./slot-query-3259af5b.js');
12
11
  const createId = require('./create-id-1f8c438f.js');
13
- const focusUtils = require('./focus-utils-da780025.js');
14
- const keyboardUtils = require('./keyboard-utils-66010749.js');
12
+ const focusUtils = require('./focus-utils-26803c28.js');
13
+ const keyboardUtils = require('./keyboard-utils-66ecb5d6.js');
15
14
  const languageUtils = require('./language-utils-e8a527e5.js');
15
+ const slotUtils = require('./slot-utils-0b8037ab.js');
16
16
  const teleport = require('./teleport-6a1f83a1.js');
17
17
  require('./string-utils-053749ff.js');
18
18
 
19
- const duetModalCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;max-height:100vh;overflow-y:auto;visibility:hidden;background:rgba(0, 41, 77, 0.85);opacity:0;transition:300ms ease;transition-delay:200ms}.duet-modal-overlay.duet-theme-turva{background:rgba(23, 28, 58, 0.85)}.duet-modal-overlay.duet-modal-active{visibility:visible;opacity:1;transition:300ms ease;transition-delay:0s}.duet-modal-overlay.duet-disable-transitions{transition:none}.duet-modal-overlay.duet-modal-slide-up{overflow:hidden}::slotted(img){width:100%}.duet-modal-inner{display:flex;align-items:center;width:100%;min-height:100%;padding:20px 16px}@media (min-width: 36em){.duet-modal-inner{padding:48px 16px}}.duet-modal-inner.duet-modal-slide-up{align-items:stretch;justify-content:center;height:100%;padding-top:48px;padding-bottom:0;overflow:hidden}.duet-modal-inner.duet-modal-slide-up::after{position:absolute;bottom:0;z-index:300;display:block;width:100%;max-width:686px;height:48px;margin:auto;pointer-events:none;content:\"\";background:linear-gradient(rgba(255, 255, 255, 0), rgb(255, 255, 255))}.duet-modal-inner.duet-modal-slide-up::after.small{max-width:545px}.duet-modal-inner.duet-modal-slide-up::after.large{max-width:100%}@media (min-width: 36em){.duet-modal-inner.duet-modal-slide-up::after.large{max-width:1110px}}@media (max-width: 35.9375em){.duet-modal-inner.large{padding-right:0;padding-left:0}.duet-modal-inner.duet-modal-slide-up{padding:0;padding-top:28px}}.duet-modal{position:relative;width:100%;max-width:686px;margin:auto;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(0, 41, 77);background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:300ms ease;transition-delay:0ms;transform:scale(0.96)}.duet-theme-turva .duet-modal{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-modal-active .duet-modal{opacity:1;transition:300ms ease;transition-delay:200ms;transform:none}.duet-modal-active .duet-modal.slide-up{top:0;transition:top 600ms ease}.duet-disable-transitions .duet-modal{transition:none}.duet-modal.small{max-width:545px}.duet-modal.large{max-width:100%}@media (min-width: 36em){.duet-modal.large{max-width:1110px}}.duet-modal.slide-up{top:100vh;margin:0;border-radius:4px 4px 0 0;opacity:1;transition:top 600ms ease}@media (max-width: 35.9375em){.duet-modal.slide-up{border-radius:16px 16px 0 0}}.duet-modal.duet-modal-has-sticky-header{height:100%;overflow:auto}.duet-modal:focus{outline:0}.duet-modal-body,.duet-modal-sticky-header{width:100%;padding:36px 28px}.duet-modal-body.duet-modal-gutter-none,.duet-modal-sticky-header.duet-modal-gutter-none{padding:0 !important}.duet-modal-body.duet-modal-gutter-small,.duet-modal-sticky-header.duet-modal-gutter-small{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}@media (max-width: 22.5em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 28px}}@media (max-width: 35.9375em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}}@media (min-width: 36em){.duet-modal-body,.duet-modal-sticky-header{padding:36px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:28px 72px}}@media (min-width: 48em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 72px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:36px 72px}}@media (min-width: 76.25em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 48px 48px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 94px}.small .duet-modal-body,.small .duet-modal-sticky-header{padding:36px 48px}}.duet-modal-header{text-align:center}.duet-modal-sticky-header{position:sticky;top:0;z-index:200;display:block;padding-bottom:12px;text-align:left;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-modal-sticky-header{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-modal-close{position:absolute;top:12px;right:12px}.duet-modal-heading{width:100%;padding-right:60px;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1.25rem;font-style:normal;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);text-decoration:none;text-overflow:ellipsis;letter-spacing:-0.01rem;white-space:nowrap}.duet-modal-heading.duet-p-0{padding:0 !important}.duet-modal-heading.duet-m-0{margin:0 !important}";
19
+ const duetModalCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;max-height:100vh;overflow-y:auto;visibility:hidden;background:rgba(0, 41, 77, 0.3);opacity:0;transition:300ms ease;transition-delay:200ms}.duet-modal-overlay.duet-theme-turva{background:rgba(23, 28, 58, 0.3)}.duet-modal-overlay.duet-modal-active{visibility:visible;opacity:1;transition:300ms ease;transition-delay:0s}.duet-modal-overlay.duet-disable-transitions{transition:none}.duet-modal-overlay.duet-modal-slide-up{overflow:hidden}::slotted(img){width:100%}.duet-modal-inner{display:flex;align-items:center;width:100%;min-height:100%;padding:20px 16px}@media (min-width: 36em){.duet-modal-inner{padding:48px 16px}}.duet-modal-inner.duet-modal-slide-up{align-items:stretch;justify-content:center;height:100%;padding-top:48px;padding-bottom:0;overflow:hidden}.duet-modal-inner.duet-modal-slide-up::after{position:absolute;bottom:0;z-index:300;display:block;width:100%;max-width:686px;height:48px;margin:auto;pointer-events:none;content:\"\";background:linear-gradient(rgba(255, 255, 255, 0), rgb(255, 255, 255))}.duet-modal-inner.duet-modal-slide-up::after.small{max-width:545px}.duet-modal-inner.duet-modal-slide-up::after.large{max-width:100%}@media (min-width: 36em){.duet-modal-inner.duet-modal-slide-up::after.large{max-width:1110px}}@media (max-width: 35.9375em){.duet-modal-inner.large{padding-right:0;padding-left:0}.duet-modal-inner.duet-modal-slide-up{padding:0;padding-top:28px}}.duet-modal{position:relative;width:100%;max-width:686px;margin:auto;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(0, 41, 77);background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:300ms ease;transition-delay:0ms;transform:scale(0.96)}.duet-theme-turva .duet-modal{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-modal-active .duet-modal{opacity:1;transition:300ms ease;transition-delay:200ms;transform:none}.duet-modal-active .duet-modal.slide-up{top:0;transition:top 600ms ease}.duet-disable-transitions .duet-modal{transition:none}.duet-modal.small{max-width:545px}.duet-modal.large{max-width:100%}@media (min-width: 36em){.duet-modal.large{max-width:1110px}}.duet-modal.slide-up{top:100vh;margin:0;border-radius:4px 4px 0 0;opacity:1;transition:top 600ms ease}@media (max-width: 35.9375em){.duet-modal.slide-up{border-radius:16px 16px 0 0}}.duet-modal.duet-modal-has-sticky-header{height:100%;overflow:auto}.duet-modal:focus{outline:0}.duet-modal-body,.duet-modal-sticky-header{width:100%;padding:36px 28px}.duet-modal-body.duet-modal-gutter-none,.duet-modal-sticky-header.duet-modal-gutter-none{padding:0 !important}.duet-modal-body.duet-modal-gutter-small,.duet-modal-sticky-header.duet-modal-gutter-small{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}@media (max-width: 22.5em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 28px}}@media (max-width: 35.9375em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}}@media (min-width: 36em){.duet-modal-body,.duet-modal-sticky-header{padding:36px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:28px 72px}}@media (min-width: 48em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 72px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:36px 72px}}@media (min-width: 76.25em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 48px 48px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 94px}.small .duet-modal-body,.small .duet-modal-sticky-header{padding:36px 48px}}.duet-modal-header{text-align:center}.duet-modal-sticky-header{position:sticky;top:0;z-index:200;display:block;padding-bottom:12px;text-align:left;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-modal-sticky-header{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-modal-close{position:absolute;top:12px;right:12px}.duet-modal-heading{width:100%;padding-right:60px;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1.25rem;font-style:normal;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);text-decoration:none;text-overflow:ellipsis;letter-spacing:-0.01rem;white-space:nowrap}.duet-modal-heading.duet-p-0{padding:0 !important}.duet-modal-heading.duet-m-0{margin:0 !important}";
20
20
 
21
21
  // The transition below is slightly higher than the actual CSS transition as VoiceOver on
22
22
  // iOS has otherwise problems moving the focus from modal back to the original element.
@@ -117,7 +117,7 @@ const DuetModal = class {
117
117
  * Component lifecycle events.
118
118
  */
119
119
  componentWillLoad() {
120
- this.hasStickyHeader = slotQuery.hasSlot(this.element, "sticky-header");
120
+ this.hasStickyHeader = slotUtils.hasSlot(this.element, "sticky-header");
121
121
  themeableComponent.inheritGlobalTheme(this);
122
122
  }
123
123
  componentDidLoad() {
@@ -5,12 +5,12 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-34b8e765.js');
8
+ const index = require('./index-4e1fe95e.js');
9
9
  const themeableComponent = require('./themeable-component-83a2a0d4.js');
10
10
  const createId = require('./create-id-1f8c438f.js');
11
- const keyboardUtils = require('./keyboard-utils-66010749.js');
11
+ const keyboardUtils = require('./keyboard-utils-66ecb5d6.js');
12
12
  const languageUtils = require('./language-utils-e8a527e5.js');
13
- const slotUtils = require('./slot-utils-6c81bd09.js');
13
+ const slotUtils = require('./slot-utils-0b8037ab.js');
14
14
  const stringUtils = require('./string-utils-053749ff.js');
15
15
 
16
16
  const duetMultiselectCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-multiselect-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){.duet-multiselect-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-multiselect-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-multiselect-container{position:relative;width:100%}.duet-multiselect-wrapper{position:relative;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva .duet-multiselect-wrapper{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-multiselect{display:flex;align-items:center;justify-content:flex-start;width:100%;min-width:8rem;padding:12px 14px !important;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-multiselect .duet-multiselect-label{overflow:hidden;text-overflow:ellipsis}.duet-multiselect:hover{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(116, 116, 117);box-shadow:0 0 0 1px #747475}.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #e55039}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-multiselect:focus,.duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:focus,.duet-theme-turva.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #e55039}.duet-multiselect[disabled]{color:rgb(0, 41, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-multiselect>:first-child{flex:1;min-height:24px}.duet-multiselect .duet-multiselect-badge{padding:4px 8px 4px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);background:#d9ebf4;border-radius:20rem}.duet-theme-turva .duet-multiselect .duet-multiselect-badge{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-multiselect .duet-multiselect-icon{margin-left:12px}.has-error .duet-multiselect{border-color:rgb(222, 35, 98) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error .duet-multiselect{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(224, 42, 13) !important}.duet-theme-turva .duet-multiselect{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(116, 116, 117)}.duet-multiselect svg{width:20px;height:20px;color:rgb(0, 41, 77);pointer-events:none}.duet-theme-turva .duet-multiselect svg{color:rgb(23, 28, 58)}.duet-multiselect svg.duet-multiselect-icon--rotate{transform:rotate(180deg)}.duet-multiselect-checkboxes{position:absolute;z-index:700;width:100%;padding:16px;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-theme-turva .duet-multiselect-checkboxes{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230);box-shadow:0 4px 10px 0 rgba(23, 28, 58, 0.15)}.duet-multiselect-checkboxes.duet-multiselect-checkboxes-active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons{padding:8px 0;margin:-16px;margin-bottom:16px;border-bottom:1px solid rgb(225, 227, 230)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{padding:6px 16px;margin:-4px 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:600;color:rgb(0, 119, 179);cursor:pointer;border-radius:4px}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus,.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:first-child{border-right:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(198, 12, 48)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(23, 28, 58)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(0, 41, 77)}.duet-multiselect-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-multiselect-help span{display:block;margin-top:8px}.duet-theme-turva .duet-multiselect-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(116, 116, 117)}.has-error .duet-multiselect-help{color:rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(224, 42, 13)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
@@ -178,6 +178,7 @@ const DuetMultiselect = class {
178
178
  componentWillLoad() {
179
179
  themeableComponent.inheritGlobalTheme(this);
180
180
  this.isCaptionVisible = !!this.caption;
181
+ slotUtils.checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
181
182
  this.refresh();
182
183
  }
183
184
  connectedCallback() {
@@ -215,7 +216,7 @@ const DuetMultiselect = class {
215
216
  "duet-theme-turva": this.theme === "turva",
216
217
  "duet-input-top-caption-shown": this.isCaptionVisible,
217
218
  "has-error": !!this.error,
218
- }, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, index.h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (index.h("duet-tooltip", { class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), index.h("slot", { name: "tooltip", onSlotchange: ev => slotUtils.slotElementCheck(ev, this, "duet-tooltip") }), this.caption && (index.h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), index.h("div", { class: "duet-multiselect-wrapper" }, index.h("button", { id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, index.h("span", { role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (index.h("span", { class: "duet-multiselect-badge" }, this.value.length, index.h("duet-visually-hidden", null, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), index.h("svg", { class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), index.h("div", { id: `${this.identifier}-checkboxes`, role: "listbox", class: {
219
+ }, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, index.h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (index.h("duet-tooltip", { class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), index.h("slot", { name: "tooltip" }), this.caption && (index.h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), index.h("div", { class: "duet-multiselect-wrapper" }, index.h("button", { id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, index.h("span", { role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (index.h("span", { class: "duet-multiselect-badge" }, this.value.length, index.h("duet-visually-hidden", null, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), index.h("svg", { class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), index.h("div", { id: `${this.identifier}-checkboxes`, role: "listbox", class: {
219
220
  "duet-multiselect-checkboxes": true,
220
221
  "duet-multiselect-checkboxes-active": this.checkboxesVisible,
221
222
  }, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, this.processedItems && this.allControls && (index.h("div", { class: "duet-multiselect-all-control-buttons" }, index.h("button", { class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), index.h("button", { class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
@@ -5,7 +5,7 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-34b8e765.js');
8
+ const index = require('./index-4e1fe95e.js');
9
9
  const themeableComponent = require('./themeable-component-83a2a0d4.js');
10
10
 
11
11
  const duetNavCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}.container{position:relative;z-index:400}slot[name=mobile]{display:inherit}slot[name=desktop]{display:none}@media (min-width: 62em){slot[name=mobile]{display:none}slot[name=desktop]{display:inherit}}";
@@ -5,9 +5,9 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-34b8e765.js');
8
+ const index = require('./index-4e1fe95e.js');
9
9
  const themeableComponent = require('./themeable-component-83a2a0d4.js');
10
- const keyboardUtils = require('./keyboard-utils-66010749.js');
10
+ const keyboardUtils = require('./keyboard-utils-66ecb5d6.js');
11
11
  const languageUtils = require('./language-utils-e8a527e5.js');
12
12
  const actionArrowDownSmall = require('./action-arrow-down-small-ef77a2d1.js');
13
13
  require('./string-utils-053749ff.js');
@@ -5,12 +5,12 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-34b8e765.js');
8
+ const index = require('./index-4e1fe95e.js');
9
9
  const themeableComponent = require('./themeable-component-83a2a0d4.js');
10
10
  const createId = require('./create-id-1f8c438f.js');
11
- const keyboardUtils = require('./keyboard-utils-66010749.js');
11
+ const keyboardUtils = require('./keyboard-utils-66ecb5d6.js');
12
12
  const languageUtils = require('./language-utils-e8a527e5.js');
13
- const slotUtils = require('./slot-utils-6c81bd09.js');
13
+ const slotUtils = require('./slot-utils-0b8037ab.js');
14
14
  require('./string-utils-053749ff.js');
15
15
 
16
16
  var actionAdd={"title":"action-add","tags":"action add plus","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z\"/></svg>"};
@@ -325,6 +325,7 @@ const DuetNumberInput = class {
325
325
  if (this.value) {
326
326
  this.value = this.localizeValue(SafeParseFloat(this.value, this.locale));
327
327
  }
328
+ slotUtils.checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
328
329
  }
329
330
  connectedCallback() {
330
331
  languageUtils.connectLanguageChangeObserver(this, [
@@ -376,7 +377,7 @@ const DuetNumberInput = class {
376
377
  "duet-theme-turva": this.theme === "turva",
377
378
  "duet-expand": this.expand,
378
379
  "duet-m-0": this.margin === "none",
379
- } }, index.h("div", { class: "duet-number-container" }, index.h("duet-input", { ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value} ${this.unit}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, index.h("slot", { name: "tooltip", onSlotchange: ev => slotUtils.slotElementCheck(ev, this, "duet-tooltip") }), index.h("div", { class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, index.h("button", { "aria-controls": identifier, disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" }, index.h("duet-visually-hidden", null, this.accessibleSubtract, " ", this.step), index.h("duet-icon", { icon: actionSubtract.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), index.h("button", { "aria-controls": identifier, disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" }, index.h("duet-visually-hidden", null, this.accessibleAdd, " ", this.step), index.h("duet-icon", { icon: actionAdd.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (index.h("duet-visually-hidden", { "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
380
+ } }, index.h("div", { class: "duet-number-container" }, index.h("duet-input", { ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value} ${this.unit}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, index.h("slot", { name: "tooltip" }), index.h("div", { class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, index.h("button", { "aria-controls": identifier, disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" }, index.h("duet-visually-hidden", null, this.accessibleSubtract, " ", this.step), index.h("duet-icon", { icon: actionSubtract.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), index.h("button", { "aria-controls": identifier, disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" }, index.h("duet-visually-hidden", null, this.accessibleAdd, " ", this.step), index.h("duet-icon", { icon: actionAdd.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (index.h("duet-visually-hidden", { "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
380
381
  }
381
382
  get element() { return index.getElement(this); }
382
383
  };
@@ -5,7 +5,7 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-34b8e765.js');
8
+ const index = require('./index-4e1fe95e.js');
9
9
  const themeableComponent = require('./themeable-component-83a2a0d4.js');
10
10
 
11
11
  const duetPageHeadingCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-page-heading{position:relative;display:block;width:100%;margin:0 auto;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(0, 41, 77)}.duet-page-heading.duet-p-0{padding:0 !important}.duet-page-heading.duet-m-0{margin:0 !important}.duet-page-heading.fluid,.duet-page-heading.narrow{padding:0 16px}@media (min-width: 36em){.duet-page-heading.fluid{padding:0 28px}}@media (min-width: 62em){.duet-page-heading.fluid{padding:0 56px}}@media (min-width: 76.25em){.duet-page-heading.fluid{max-width:1110px;padding:0}}.duet-page-heading.narrow{max-width:888px}@media (min-width: 36em){.duet-page-heading.narrow{padding:0 48px}}@media (min-width: 48em){.duet-page-heading.narrow{padding:0 72px}}.duet-page-heading .heading{max-width:744px;padding:48px 90px 16px 0}@media (min-width: 48em){.duet-page-heading .heading{padding:72px 150px 40px 0}}.duet-page-heading .background{position:absolute;top:0;right:0;left:0;width:100%;max-width:744px;height:104px;margin:0 auto;margin:0 auto}@media (min-width: 48em){.duet-page-heading .background{height:165px}}.duet-page-heading .background .background-mask{position:absolute;top:-20px;right:0;display:block;width:286px;height:331px;background-image:url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIxIiBoZWlnaHQ9IjI1NyIgdmlld0JveD0iMCAwIDcyMSAyNTciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8yODIwXzY5OTkxKSI+CjxwYXRoIGQ9Ik04MC4xNzA1IDIzLjE4MTVDOTEuOTY5OSAxOC44NjU5IDEwMi44NyAxMS42NTU5IDExMi45MDkgMS41NjQ0OEMxMjMuNzcgLTguMzA1MjcgMTM0LjM4MiAtMTguMjAxMSAxNDQuODI2IC0yOC4xODgyQzE1NS4yNDMgLTM4LjE2MjIgMTY1LjkwOCAtNDguMDg0MSAxNzYuNzQzIC01Ny45Mjc4QzE3OC44M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LjU2MiAxOTkuMzkgNjk2LjU0MSAxODkuMDc3IiBmaWxsPSIjRjVGNUY3Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjgyMF82OTk5MSI+CjxyZWN0IHdpZHRoPSI3MjEiIGhlaWdodD0iMjU2Ljg0OCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K\");background-repeat:no-repeat;background-size:contain}@media (min-width: 48em){.duet-page-heading .background .background-mask{top:-40px;width:502px;height:577px}}.duet-page-heading .background .brand-shape{position:absolute;top:-157px;right:-20px;width:185px;height:185px;background:rgb(0, 119, 179);border-radius:20%;mix-blend-mode:normal;opacity:0.2;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shape{top:-280px;right:-40px;width:325px;height:325px}}.duet-page-heading .background .brand-shape.second-shape{top:-182px;right:100px;width:207px;height:207px;background:rgb(11, 114, 136);opacity:0.1}@media (min-width: 48em){.duet-page-heading .background .brand-shape.second-shape{top:-325px;right:200px;width:365px;height:365px}}.duet-page-heading .background .brand-shaped-icon{position:absolute;top:20px;right:16px;display:flex;align-items:center;justify-content:center;width:85px;width:60px;height:85px;height:60px;background:rgba(0, 119, 179, 0.75);border-radius:25%;mix-blend-mode:normal;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon{right:36px;width:93px;height:93px}}.duet-page-heading .background .brand-shaped-icon duet-icon{width:60px;height:60px;transform:rotate(-7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon duet-icon{width:75px;height:75px}}.duet-page-heading.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(0, 41, 77)}.duet-page-heading.duet-theme-turva .brand-shaped-icon{background:rgba(198, 12, 48, 0.9);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");mask-repeat:no-repeat}.duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon{position:relative;top:-3px}";
@@ -5,11 +5,11 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-34b8e765.js');
8
+ const index = require('./index-4e1fe95e.js');
9
9
  const themeableComponent = require('./themeable-component-83a2a0d4.js');
10
10
  const createId = require('./create-id-1f8c438f.js');
11
11
  const jsUtils = require('./js-utils-92e24ba1.js');
12
- const keyboardUtils = require('./keyboard-utils-66010749.js');
12
+ const keyboardUtils = require('./keyboard-utils-66ecb5d6.js');
13
13
  const languageUtils = require('./language-utils-e8a527e5.js');
14
14
  const stringUtils = require('./string-utils-053749ff.js');
15
15
  const tokenUtils = require('./token-utils-7a618677.js');
@@ -5,7 +5,7 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-34b8e765.js');
8
+ const index = require('./index-4e1fe95e.js');
9
9
  const themeableComponent = require('./themeable-component-83a2a0d4.js');
10
10
 
11
11
  const duetPopupMenuItemCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:12px;align-items:center;height:100%;padding: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(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-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-popup-menu-item.active{background:rgb(243, 249, 252)}.duet-popup-menu-item.active.duet-theme-turva{background:rgb(245, 245, 247)}.duet-popup-menu-item:hover{background:rgb(230, 242, 248)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(228, 228, 230)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}";
@@ -40,6 +40,7 @@ const DuetPopupMenuItem = class {
40
40
  this.theme = "";
41
41
  this.url = undefined;
42
42
  this.external = false;
43
+ this.targetLanguage = undefined;
43
44
  this.value = undefined;
44
45
  this.leadingIcon = undefined;
45
46
  this.leadingIconColor = undefined;
@@ -72,7 +73,7 @@ const DuetPopupMenuItem = class {
72
73
  active: this.active,
73
74
  "duet-theme-turva": this.theme === "turva",
74
75
  };
75
- return (index.h(index.Host, null, index.h(TagName, { ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "menuitem" ? -1 : 0, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"} ${this.accessibleRole}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (index.h("duet-icon", { name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), index.h("span", { class: "duet-popup-menu-item-label" }, index.h("slot", null)), this.trailingIcon && (index.h("duet-icon", { name: this.trailingIcon, size: "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && index.h("span", { class: "duet-popup-menu-item-trailing" }, this.trailingText))));
76
+ return (index.h(index.Host, { role: this.accessibleRole }, index.h(TagName, { ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "menuitem" ? -1 : 0, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (index.h("duet-icon", { name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), index.h("span", { class: "duet-popup-menu-item-label" }, index.h("slot", null)), (this.trailingIcon || this.active) && (index.h("duet-icon", { name: this.active ? "messaging-checked-small" : this.trailingIcon, size: this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && index.h("span", { class: "duet-popup-menu-item-trailing" }, this.trailingText))));
76
77
  }
77
78
  get element() { return index.getElement(this); }
78
79
  };
@@ -5,11 +5,11 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-34b8e765.js');
8
+ const index = require('./index-4e1fe95e.js');
9
9
  const floatingUi_dom_esm = require('./floating-ui.dom.esm-a7d59d53.js');
10
10
  const themeableComponent = require('./themeable-component-83a2a0d4.js');
11
- const focusUtils = require('./focus-utils-da780025.js');
12
- const keyboardUtils = require('./keyboard-utils-66010749.js');
11
+ const focusUtils = require('./focus-utils-26803c28.js');
12
+ const keyboardUtils = require('./keyboard-utils-66ecb5d6.js');
13
13
  const teleport = require('./teleport-6a1f83a1.js');
14
14
 
15
15
  const duetPopupMenuCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(0, 41, 77);list-style:none;visibility:hidden !important;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);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}";
@@ -18,11 +18,27 @@ const DuetPopupMenu = class {
18
18
  constructor(hostRef) {
19
19
  index.registerInstance(this, hostRef);
20
20
  this.duetToggle = index.createEvent(this, "duetToggle", 7);
21
+ this.setOpenButton = (element) => {
22
+ if (!element) {
23
+ return;
24
+ }
25
+ try {
26
+ const button = element;
27
+ button.accessiblePopup = "true";
28
+ button.accessibleExpanded = false;
29
+ button.setAttribute("trailing-icon", "action-arrow-down-small");
30
+ this.openButton = button;
31
+ }
32
+ catch (_e) { }
33
+ };
34
+ this.openButtonEventListener = () => {
35
+ this.toggle();
36
+ };
21
37
  this.updatePlacement = async () => {
22
- if (!this.controller) {
38
+ if (!this.openButton) {
23
39
  return;
24
40
  }
25
- const coordinates = await floatingUi_dom_esm.computePosition(this.controller, this.menuElement, {
41
+ const coordinates = await floatingUi_dom_esm.computePosition(this.openButton, this.menuElement, {
26
42
  middleware: [floatingUi_dom_esm.offset({ mainAxis: this.mainAxisOffset, crossAxis: this.crossAxisOffset }), floatingUi_dom_esm.flip()],
27
43
  placement: this.placement,
28
44
  strategy: this.position,
@@ -54,6 +70,15 @@ const DuetPopupMenu = class {
54
70
  this.updatePlacement();
55
71
  }
56
72
  }
73
+ connectedCallback() {
74
+ this.handleControllerChange(this.controller, null);
75
+ }
76
+ disconnectedCallback() {
77
+ if (this.openButton) {
78
+ this.openButton.removeEventListener("click", this.openButtonEventListener);
79
+ this.openButton.removeAttribute("trailing-icon");
80
+ }
81
+ }
57
82
  /**
58
83
  * Component event handling.
59
84
  */
@@ -61,7 +86,7 @@ const DuetPopupMenu = class {
61
86
  if (this.open) {
62
87
  // When Esc is pressed the menu should be closed
63
88
  if (keyboardUtils.isEscapeKey(evt)) {
64
- this.focusController();
89
+ this.focusOpenButton();
65
90
  this.hide();
66
91
  }
67
92
  }
@@ -99,7 +124,7 @@ const DuetPopupMenu = class {
99
124
  }
100
125
  }
101
126
  handleClick(evt) {
102
- const isClickOutside = evt.composedPath().every(node => node !== this.element && node !== this.controller);
127
+ const isClickOutside = evt.composedPath().every(node => node !== this.element && node !== this.openButton);
103
128
  if (this.open && isClickOutside) {
104
129
  this.hide();
105
130
  }
@@ -115,23 +140,12 @@ const DuetPopupMenu = class {
115
140
  */
116
141
  async show() {
117
142
  this.open = true;
118
- this.teleport.go();
119
- if (this.accessibleRole === "menu") {
120
- this.itemElements[0].setFocus();
121
- }
122
- this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
123
- this.updatePlacement();
124
143
  }
125
144
  /**
126
145
  * Hide.
127
146
  */
128
147
  async hide() {
129
148
  this.open = false;
130
- this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
131
- if (this.accessibleRole === "menu") {
132
- this.focusController();
133
- }
134
- this.teleport.resume(200);
135
149
  }
136
150
  /**
137
151
  * Toggle.
@@ -144,9 +158,53 @@ const DuetPopupMenu = class {
144
158
  this.show();
145
159
  }
146
160
  }
147
- focusController() {
148
- if (this.controller) {
149
- focusUtils.focusElement(this.controller);
161
+ handleControllerChange(newValue, oldValue) {
162
+ if (!!newValue === !!oldValue) {
163
+ return;
164
+ }
165
+ if (typeof this.controller === "string") {
166
+ this.setOpenButton(document.getElementById(this.controller));
167
+ if (this.openButton) {
168
+ this.openButton.addEventListener("click", this.openButtonEventListener);
169
+ }
170
+ }
171
+ else {
172
+ this.setOpenButton(this.controller);
173
+ }
174
+ }
175
+ handleOpenChange(newValue, oldValue) {
176
+ if (!!newValue === !!oldValue) {
177
+ return;
178
+ }
179
+ if (this.open && !oldValue) {
180
+ if (this.openButton) {
181
+ this.openButton.accessibleExpanded = true;
182
+ }
183
+ this.teleport.go(true);
184
+ this.updatePlacement();
185
+ setTimeout(() => {
186
+ if (this.accessibleRole === "menu") {
187
+ this.itemElements[0].setFocus();
188
+ }
189
+ this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
190
+ }, 200);
191
+ }
192
+ else if (!this.open && oldValue) {
193
+ if (this.openButton) {
194
+ this.openButton.accessibleExpanded = false;
195
+ }
196
+ setTimeout(() => {
197
+ if (this.accessibleRole === "menu") {
198
+ this.focusOpenButton();
199
+ }
200
+ this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
201
+ this.teleport.resume();
202
+ }, 200);
203
+ }
204
+ }
205
+ focusOpenButton() {
206
+ if (this.open) {
207
+ focusUtils.focusElement(this.openButton);
150
208
  }
151
209
  }
152
210
  get itemElements() {
@@ -165,10 +223,15 @@ const DuetPopupMenu = class {
165
223
  const positionStyles = {
166
224
  top: `${this.menuY}px`,
167
225
  left: `${this.menuX}px`,
226
+ position: this.position,
168
227
  };
169
- return (index.h(index.Host, { class: this.position }, index.h("div", { ref: element => (this.menuElement = element), style: positionStyles, class: { open: this.open, "duet-popup-menu-list": true, "duet-theme-turva": this.theme === "turva" }, role: this.accessibleRole, "aria-label": this.accessibleLabel }, index.h("slot", null))));
228
+ return (index.h(index.Host, null, index.h("div", { ref: element => (this.menuElement = element), style: positionStyles, class: { open: this.open, "duet-popup-menu-list": true, "duet-theme-turva": this.theme === "turva" }, role: this.accessibleRole, "aria-label": this.accessibleLabel }, index.h("slot", null))));
170
229
  }
171
230
  get element() { return index.getElement(this); }
231
+ static get watchers() { return {
232
+ "controller": ["handleControllerChange"],
233
+ "open": ["handleOpenChange"]
234
+ }; }
172
235
  };
173
236
  DuetPopupMenu.style = duetPopupMenuCss;
174
237
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-34b8e765.js');
8
+ const index = require('./index-4e1fe95e.js');
9
9
  const themeableComponent = require('./themeable-component-83a2a0d4.js');
10
10
  const createId = require('./create-id-1f8c438f.js');
11
11
  const languageUtils = require('./language-utils-e8a527e5.js');
@@ -5,13 +5,13 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-34b8e765.js');
8
+ const index = require('./index-4e1fe95e.js');
9
9
  const themeableComponent = require('./themeable-component-83a2a0d4.js');
10
- const slotUtils = require('./slot-utils-6c81bd09.js');
10
+ const slotUtils = require('./slot-utils-0b8037ab.js');
11
11
  const tokenUtils = require('./token-utils-7a618677.js');
12
12
  require('./tokens.module-bc323a09.js');
13
13
 
14
- const duetPromoCardCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;color:rgb(0, 41, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .content-wrapper:focus{border-radius:20px;outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-promo-card.duet-theme-turva .content-wrapper:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
14
+ const duetPromoCardCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;color:rgb(0, 41, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .content-wrapper:focus{border-radius:20px;outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-promo-card.duet-theme-turva .content-wrapper:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-promo-card-link{transition:box-shadow 300ms ease}.duet-promo-card-link:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}.duet-promo-card-link:hover.duet-theme-turva{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}";
15
15
 
16
16
  const DuetPromoCard = class {
17
17
  constructor(hostRef) {
@@ -29,13 +29,17 @@ const DuetPromoCard = class {
29
29
  */
30
30
  componentWillLoad() {
31
31
  themeableComponent.inheritGlobalTheme(this);
32
- this.hasPreHeadingSlot = !!this.element.querySelector('[slot="pre-heading"]');
33
- this.hasHeadingSlot = !!this.element.querySelector('[slot="heading"]');
34
- this.hasDescriptionSlot = !!this.element.querySelector('[slot="description"]');
35
- this.hasActionSlot = !!this.element.querySelector('[slot="action"]');
32
+ this.hasPreHeadingSlot = slotUtils.hasSlot(this.element, "pre-heading");
33
+ this.hasHeadingSlot = slotUtils.hasSlot(this.element, "heading");
34
+ this.hasDescriptionSlot = slotUtils.hasSlot(this.element, "description");
35
+ this.hasActionSlot = slotUtils.hasSlot(this.element, "action");
36
+ slotUtils.checkNamedSlotElement(this.element, "heading", "span");
37
+ slotUtils.checkNamedSlotElement(this.element, "description", "span");
36
38
  }
37
39
  /**
38
- * Sets focus on underlying a element when url attribute is used.
40
+ * Sets focus on underlying a element.
41
+ * Available only when url attribute is used.
42
+ * Use this method instead of the native `focus()`.
39
43
  */
40
44
  async setFocus(options) {
41
45
  if (this.url && this.aOrDivElement) {
@@ -56,7 +60,8 @@ const DuetPromoCard = class {
56
60
  "duet-promo-card": true,
57
61
  "duet-theme-turva": this.theme === "turva",
58
62
  "no-bg-color": !this.backgroundColor,
59
- }, style: bannerStyles }, index.h(TagName, { href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, index.h("img", { class: "image", src: this.image, alt: "", role: "presentation" }), index.h("div", { class: "content" }, this.hasPreHeadingSlot && (index.h("div", { class: "pre-heading" }, index.h("slot", { name: "pre-heading" }))), this.hasHeadingSlot && (index.h("div", { class: "heading" }, index.h("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, index.h("span", null, index.h("slot", { name: "heading", onSlotchange: ev => slotUtils.slotElementCheck(ev, this, "span") }))))), this.hasDescriptionSlot && (index.h("div", { class: "description" }, index.h("duet-paragraph", { theme: this.theme, margin: "none", color: this.textColor }, index.h("span", null, index.h("slot", { name: "description", onSlotchange: ev => slotUtils.slotElementCheck(ev, this, "span") }))))), this.hasActionSlot && (index.h("div", { class: "action" }, index.h("slot", { name: "action" }))))))));
63
+ "duet-promo-card-link": !!this.url,
64
+ }, style: bannerStyles }, index.h(TagName, { href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, index.h("img", { class: "image", src: this.image, alt: "", role: "presentation" }), index.h("div", { class: "content" }, this.hasPreHeadingSlot && (index.h("div", { class: "pre-heading" }, index.h("slot", { name: "pre-heading" }))), this.hasHeadingSlot && (index.h("div", { class: "heading" }, index.h("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, index.h("span", null, index.h("slot", { name: "heading" }))))), this.hasDescriptionSlot && (index.h("div", { class: "description" }, index.h("duet-paragraph", { theme: this.theme, margin: "none", color: this.textColor }, index.h("span", null, index.h("slot", { name: "description" }))))), this.hasActionSlot && (index.h("div", { class: "action" }, index.h("slot", { name: "action" }))))))));
60
65
  }
61
66
  get element() { return index.getElement(this); }
62
67
  };
@@ -5,10 +5,10 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-34b8e765.js');
8
+ const index = require('./index-4e1fe95e.js');
9
9
  const themeableComponent = require('./themeable-component-83a2a0d4.js');
10
10
  const createId = require('./create-id-1f8c438f.js');
11
- const slotUtils = require('./slot-utils-6c81bd09.js');
11
+ const slotUtils = require('./slot-utils-0b8037ab.js');
12
12
  const watchOptions = require('./watch-options-30a12622.js');
13
13
 
14
14
  const duetRadioCss = "*.sc-duet-radio,*.sc-duet-radio::after,*.sc-duet-radio::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-radio-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:28px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-radio-h:last-child,.sc-duet-radio-h:last-of-type{margin-right:0 !important}.vertical.sc-duet-radio-h{margin-right:0 !important}.horizontal.sc-duet-radio-h{margin-bottom:0 !important;width:auto}.horizontal.sc-duet-radio-h .duet-label.sc-duet-radio .duet-label-content.sc-duet-radio{max-width:100%}@media (min-width: 48em){.horizontal-responsive.sc-duet-radio-h{margin-right:28px !important;margin-bottom:0 !important;width:auto}.horizontal-responsive.sc-duet-radio-h:last-child,.horizontal-responsive.sc-duet-radio-h:last-of-type{margin-right:0 !important}.horizontal-responsive.sc-duet-radio-h .duet-label.sc-duet-radio .duet-label-content.sc-duet-radio{max-width:100%}}.duet-m-0.sc-duet-radio-h{margin:0 !important}.sc-duet-radio-h:last-child:not(:only-child){margin-right:0 !important;margin-bottom:0 !important}.duet-label.sc-duet-radio{position:relative;z-index:100;display:flex;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77);word-break:break-word;overflow-wrap:break-word;cursor:pointer;background:transparent}.duet-theme-turva.sc-duet-radio .duet-label.sc-duet-radio{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-label.sc-duet-radio .duet-label-content.sc-duet-radio{flex-grow:1;font-size:1rem}.duet-label-hidden.sc-duet-radio .duet-label.sc-duet-radio{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-radio-container.sc-duet-radio{position:relative;width:100%;height:100%}.duet-radio.sc-duet-radio{padding:14px !important;position:absolute;top:0;left:0;z-index:200;width:100%;height:100%;cursor:pointer;opacity:0}.duet-radio.sc-duet-radio+label.sc-duet-radio::before{z-index:100;flex-shrink:0;width:20px;height:20px;margin:2px 10px 1px 1px;content:\"\";background:rgb(255, 255, 255);border:1px solid rgb(0, 41, 77);border-radius:50%}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(23, 28, 58)}.duet-radio.sc-duet-radio:focus+label.sc-duet-radio::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio:focus+label.sc-duet-radio::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-radio.sc-duet-radio:checked+label.sc-duet-radio::after{position:absolute;top:6px;left:5px;z-index:200;flex-shrink:0;width:12px;height:12px;content:\"\";background:rgb(0, 41, 77);border-radius:50%}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(23, 28, 58)}.duet-radio[disabled].sc-duet-radio{cursor:default}.duet-radio[disabled].sc-duet-radio+label.sc-duet-radio{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio+label.sc-duet-radio{color:rgb(116, 116, 117)}.duet-radio[disabled].sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(207, 207, 209)}.duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::before{border:1px solid rgb(101, 119, 135)}.duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(116, 116, 117);border-color:rgb(116, 116, 117)}";
@@ -179,6 +179,7 @@ const DuetRadioGroup = class {
179
179
  }
180
180
  componentWillLoad() {
181
181
  themeableComponent.inheritGlobalTheme(this);
182
+ slotUtils.checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
182
183
  }
183
184
  /**
184
185
  * Local methods.
@@ -219,7 +220,7 @@ const DuetRadioGroup = class {
219
220
  * Always the last one in the class.
220
221
  */
221
222
  render() {
222
- return (index.h(index.Host, { onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, index.h("duet-fieldset", { label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (index.h("duet-tooltip", { slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), index.h("slot", { name: "tooltip", onSlotchange: ev => slotUtils.slotElementCheck(ev, this, "duet-tooltip") }), index.h("div", { class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, index.h("slot", null)))));
223
+ return (index.h(index.Host, { onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, index.h("duet-fieldset", { label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (index.h("duet-tooltip", { slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), index.h("slot", { name: "tooltip" }), index.h("div", { class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, index.h("slot", null)))));
223
224
  }
224
225
  get element() { return index.getElement(this); }
225
226
  static get watchers() { return {
@@ -5,12 +5,12 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-34b8e765.js');
8
+ const index = require('./index-4e1fe95e.js');
9
9
  const tokens_module = require('./tokens.module-bc323a09.js');
10
10
  const themeableComponent = require('./themeable-component-83a2a0d4.js');
11
11
  const createId = require('./create-id-1f8c438f.js');
12
12
  const isInternetExplorer = require('./is-internet-explorer-e7f58ebc.js');
13
- const keyboardUtils = require('./keyboard-utils-66010749.js');
13
+ const keyboardUtils = require('./keyboard-utils-66ecb5d6.js');
14
14
 
15
15
  const duetRangeSliderCss = "*.sc-duet-range-slider,*.sc-duet-range-slider::after,*.sc-duet-range-slider::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-range-slider-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-range-slider-h:last-child,.sc-duet-range-slider-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-range-slider-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-range-slider-h{width:100% !important}}.duet-m-0.sc-duet-range-slider-h{margin:0 !important}.duet-range-container.sc-duet-range-slider{position:relative;width:100%}.duet-output.sc-duet-range-slider{position:absolute;top:12px;right:0;z-index:200;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);background:rgb(255, 255, 255)}.duet-theme-turva.sc-duet-range-slider .duet-output.sc-duet-range-slider{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-range-disabled.sc-duet-range-slider .duet-output.sc-duet-range-slider{color:rgb(144, 149, 153)}.duet-range-disabled.duet-theme-turva.sc-duet-range-slider .duet-output.sc-duet-range-slider{color:rgb(116, 116, 117)}.duet-range.sc-duet-range-slider{position:relative;z-index:100;width:100%;height:4px;background:rgb(207, 210, 212);border-radius:4px}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider{background:rgb(207, 207, 209)}.duet-ie.sc-duet-range-slider .duet-range.sc-duet-range-slider{display:block;width:auto;height:26px;background:transparent !important}.duet-range.sc-duet-range-slider::-moz-range-track{height:1px;background:transparent !important;border:0;-moz-appearance:none}.duet-range.sc-duet-range-slider::-ms-track{color:transparent;background:transparent;border:0}.duet-range.sc-duet-range-slider:focus,.duet-range.sc-duet-range-slider:active{outline:0}.user-is-tabbing.sc-duet-range-slider-h .duet-range.sc-duet-range-slider:focus{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(0, 119, 179, 0.75)}.user-is-tabbing.sc-duet-range-slider-h .duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:focus{box-shadow:0 0 0 1px #fff, 0 0 0 3px rgba(23, 28, 58, 0.75)}.duet-range.sc-duet-range-slider::-webkit-slider-runnable-track{background:transparent}.duet-range.sc-duet-range-slider::-webkit-slider-thumb{position:relative;width:24px;height:24px;cursor:-webkit-grab;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:50%;transition:box-shadow 300ms ease;-webkit-appearance:none}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-webkit-slider-thumb{border-color:rgb(116, 116, 117)}.duet-range.sc-duet-range-slider:active::-webkit-slider-thumb{cursor:-webkit-grabbing}.duet-range.sc-duet-range-slider::-moz-range-thumb{position:relative;width:24px;height:24px;cursor:-moz-grab;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:50%;appearance:none}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-moz-range-thumb{border-color:rgb(116, 116, 117)}.duet-range.sc-duet-range-slider:active::-moz-range-thumb{cursor:-moz-grabbing}.duet-range.sc-duet-range-slider::-ms-thumb{position:relative;width:24px;height:24px;overflow:visible;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:50%}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-ms-thumb{border-color:rgb(116, 116, 117)}.duet-range.sc-duet-range-slider:disabled{background:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled{background:rgb(207, 207, 209) !important}.duet-range.sc-duet-range-slider:disabled::-webkit-slider-thumb{cursor:default;background:rgb(207, 210, 212);border-color:transparent}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled::-webkit-slider-thumb{background:rgb(207, 207, 209);border-color:transparent}.duet-range.sc-duet-range-slider:disabled::-moz-range-thumb{cursor:default;background:rgb(207, 210, 212);border-color:transparent}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled::-moz-range-thumb{background:rgb(207, 207, 209);border-color:transparent}.duet-range.sc-duet-range-slider:disabled::-ms-thumb{cursor:default;background:rgb(207, 210, 212);border-color:transparent}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider:disabled::-ms-thumb{background:rgb(207, 207, 209);border-color:transparent}.duet-range.sc-duet-range-slider::-ms-fill-lower{height:4px;background:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-ms-fill-lower{background:rgb(198, 12, 48)}.duet-range.sc-duet-range-slider::-ms-fill-upper{height:4px;background:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-range-slider .duet-range.sc-duet-range-slider::-ms-fill-upper{background:rgb(207, 207, 209)}.duet-label-hidden.sc-duet-range-slider duet-label.sc-duet-range-slider,.duet-label-hidden.sc-duet-range-slider output.sc-duet-range-slider{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
16
16
 
@@ -5,9 +5,9 @@
5
5
 
6
6
  Object.defineProperty(exports, '__esModule', { value: true });
7
7
 
8
- const index = require('./index-34b8e765.js');
8
+ const index = require('./index-4e1fe95e.js');
9
9
  const themeableComponent = require('./themeable-component-83a2a0d4.js');
10
- const keyboardUtils = require('./keyboard-utils-66010749.js');
10
+ const keyboardUtils = require('./keyboard-utils-66ecb5d6.js');
11
11
  const languageUtils = require('./language-utils-e8a527e5.js');
12
12
  const tokenUtils = require('./token-utils-7a618677.js');
13
13
  const createId = require('./create-id-1f8c438f.js');