@duetds/components 10.3.1 → 10.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 (425) hide show
  1. package/hydrate/index.js +329 -264
  2. package/hydrate/index.mjs +329 -264
  3. package/lib/cjs/{a11y-utils-dXXDBTyF.js → a11y-utils-BXDHn_nL.js} +1 -1
  4. package/lib/cjs/{app-globals-CyPV2FZK.js → app-globals-Bs3-XKhd.js} +1 -1
  5. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-badge.cjs.entry.js +5 -5
  8. package/lib/cjs/duet-banner.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  10. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
  11. package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
  12. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  13. package/lib/cjs/duet-caption_4.cjs.entry.js +12 -12
  14. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  15. package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-chip.cjs.entry.js +7 -5
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +15 -13
  19. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-combobox.cjs.entry.js +26 -9
  21. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  22. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  23. package/lib/cjs/duet-date-picker.cjs.entry.js +7 -7
  24. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  25. package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
  26. package/lib/cjs/duet-empty-state.cjs.entry.js +33 -7
  27. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  28. package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
  29. package/lib/cjs/duet-footer.cjs.entry.js +8 -8
  30. package/lib/cjs/duet-grid_2.cjs.entry.js +14 -7
  31. package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
  32. package/lib/cjs/duet-hero.cjs.entry.js +9 -9
  33. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  34. package/lib/cjs/duet-indicator.cjs.entry.js +5 -5
  35. package/lib/cjs/duet-input_2.cjs.entry.js +17 -13
  36. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  37. package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
  38. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  39. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  41. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
  42. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
  44. package/lib/cjs/duet-modal.cjs.entry.js +12 -12
  45. package/lib/cjs/duet-multiselect.cjs.entry.js +11 -11
  46. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  48. package/lib/cjs/duet-number-input.cjs.entry.js +8 -8
  49. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
  51. package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
  52. package/lib/cjs/duet-panel.cjs.entry.js +4 -4
  53. package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +21 -11
  55. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
  57. package/lib/cjs/duet-radio_2.cjs.entry.js +10 -8
  58. package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
  59. package/lib/cjs/duet-scrollable_3.cjs.entry.js +15 -15
  60. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-select.cjs.entry.js +10 -10
  62. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-share-chart.cjs.entry.js +6 -6
  65. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  66. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  67. package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
  68. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
  69. package/lib/cjs/duet-slideout-panel.cjs.entry.js +11 -11
  70. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  71. package/lib/cjs/duet-status-icon.cjs.entry.js +7 -3
  72. package/lib/cjs/duet-step_2.cjs.entry.js +6 -6
  73. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  74. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
  75. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
  76. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
  78. package/lib/cjs/duet-textarea.cjs.entry.js +14 -21
  79. package/lib/cjs/duet-toggle.cjs.entry.js +8 -8
  80. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  81. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  82. package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
  83. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  84. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +9 -9
  86. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
  87. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  88. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  89. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  90. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  91. package/lib/cjs/duet.cjs.js +3 -3
  92. package/lib/cjs/{errorcodes.utils-DQ-I8x2z.js → errorcodes.utils-W6UQ3hgy.js} +1 -1
  93. package/lib/cjs/{focus-utils-DstNW4_h.js → focus-utils-KTKpjKRi.js} +1 -1
  94. package/lib/cjs/{index-B_QTwXEx.js → index-C7Yvi8y8.js} +5 -5
  95. package/lib/cjs/{label-yAj5CKm3.js → label-DZ63Z3SI.js} +1 -1
  96. package/lib/cjs/{language-utils-DjtvVntE.js → language-utils-BsevPDrN.js} +1 -1
  97. package/lib/cjs/loader.cjs.js +3 -3
  98. package/lib/cjs/{slot-utils-YUU0XWn9.js → slot-utils-DIDW777s.js} +2 -2
  99. package/lib/cjs/{themeable-component-h3OzJgCb.js → themeable-component-hQ83w5_A.js} +1 -1
  100. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  101. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  102. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  103. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  104. package/lib/collection/components/duet-chip/duet-chip.js +4 -2
  105. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  106. package/lib/collection/components/duet-choice/duet-choice.js +9 -36
  107. package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
  108. package/lib/collection/components/duet-combobox/duet-combobox.js +22 -5
  109. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  110. package/lib/collection/components/duet-date-picker/duet-date-picker.css +0 -1
  111. package/lib/collection/components/duet-empty-state/duet-empty-state.css +55 -2
  112. package/lib/collection/components/duet-empty-state/duet-empty-state.js +124 -6
  113. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  114. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  115. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  116. package/lib/collection/components/duet-grid/duet-grid.css +23 -0
  117. package/lib/collection/components/duet-grid/duet-grid.js +29 -2
  118. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  119. package/lib/collection/components/duet-heading/duet-heading.css +62 -0
  120. package/lib/collection/components/duet-heading/duet-heading.js +40 -2
  121. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  122. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  123. package/lib/collection/components/duet-indicator/duet-indicator.js +2 -2
  124. package/lib/collection/components/duet-input/duet-input.css +11 -2
  125. package/lib/collection/components/duet-input/duet-input.js +11 -7
  126. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  127. package/lib/collection/components/duet-link/duet-link.js +2 -2
  128. package/lib/collection/components/duet-list/duet-list.js +1 -1
  129. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  130. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  131. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  132. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  133. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  134. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  135. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  136. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  137. package/lib/collection/components/duet-modal/duet-modal.js +7 -7
  138. package/lib/collection/components/duet-multiselect/duet-multiselect.css +11 -2
  139. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  140. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  141. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  142. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
  143. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  144. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  145. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  146. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  147. package/lib/collection/components/duet-panel/duet-panel.js +2 -2
  148. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  149. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +13 -3
  150. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  151. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  152. package/lib/collection/components/duet-radio/duet-radio.js +6 -4
  153. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  154. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  155. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  156. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  157. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  158. package/lib/collection/components/duet-select/duet-select.css +11 -2
  159. package/lib/collection/components/duet-select/duet-select.js +5 -5
  160. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  161. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  162. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  163. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  164. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  165. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  166. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  167. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  168. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  169. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  170. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  171. package/lib/collection/components/duet-status-icon/duet-status-icon.css +39 -0
  172. package/lib/collection/components/duet-status-icon/duet-status-icon.js +13 -2
  173. package/lib/collection/components/duet-step/duet-step.js +2 -2
  174. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  175. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  176. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  177. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  178. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  179. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  180. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  181. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  182. package/lib/collection/components/duet-table/duet-table.js +2 -2
  183. package/lib/collection/components/duet-textarea/duet-textarea.css +11 -2
  184. package/lib/collection/components/duet-textarea/duet-textarea.js +8 -15
  185. package/lib/collection/components/duet-toggle/duet-toggle.js +3 -3
  186. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  187. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  188. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  189. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  190. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  191. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  192. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +3 -3
  193. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  194. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  195. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  196. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  197. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  198. package/lib/collection/utils/slot-utils.js +1 -1
  199. package/lib/duet/duet.esm.js +1 -1
  200. package/lib/duet/p--fmK3qPb.js +4 -0
  201. package/lib/duet/{p-4b8293b3.entry.js → p-01f3e30c.entry.js} +1 -1
  202. package/lib/duet/p-0395eb34.entry.js +4 -0
  203. package/lib/duet/{p-bfc75bb9.entry.js → p-0453edd0.entry.js} +1 -1
  204. package/lib/duet/p-07aa40df.entry.js +4 -0
  205. package/lib/duet/{p-b9a54319.entry.js → p-07c4b435.entry.js} +1 -1
  206. package/lib/duet/{p-8a28f86e.entry.js → p-0eb0e582.entry.js} +1 -1
  207. package/lib/duet/{p-ce4d9add.entry.js → p-104ddbf2.entry.js} +1 -1
  208. package/lib/duet/{p-0ccecf5b.entry.js → p-12e4e9b6.entry.js} +1 -1
  209. package/lib/duet/{p-fca9c5c4.entry.js → p-13b7f4e0.entry.js} +1 -1
  210. package/lib/duet/{p-c8e520b6.entry.js → p-14d4a45a.entry.js} +1 -1
  211. package/lib/duet/{p-5fb1092c.entry.js → p-1666aeaf.entry.js} +1 -1
  212. package/lib/duet/{p-f55f8bd9.entry.js → p-1705b6cf.entry.js} +1 -1
  213. package/lib/duet/{p-b4c18ee6.entry.js → p-184d53a7.entry.js} +1 -1
  214. package/lib/duet/{p-f15ab3b8.entry.js → p-1bdef0e0.entry.js} +1 -1
  215. package/lib/duet/p-1dcbbd67.entry.js +4 -0
  216. package/lib/duet/{p-301b8664.entry.js → p-1ed82a27.entry.js} +1 -1
  217. package/lib/duet/{p-d8bc628c.entry.js → p-1ee400e7.entry.js} +1 -1
  218. package/lib/duet/p-2168e431.entry.js +4 -0
  219. package/lib/duet/{p-BUWuSkQW.js → p-2HU78SJ-.js} +1 -1
  220. package/lib/duet/{p-3d00efb7.entry.js → p-2d43de54.entry.js} +1 -1
  221. package/lib/duet/{p-ae778cb1.entry.js → p-2e413951.entry.js} +1 -1
  222. package/lib/duet/{p-5c9530f1.entry.js → p-3361387d.entry.js} +1 -1
  223. package/lib/duet/p-3648404d.entry.js +4 -0
  224. package/lib/duet/{p-a6bec2da.entry.js → p-376f9d06.entry.js} +1 -1
  225. package/lib/duet/{p-86166f8d.entry.js → p-3bd45b5b.entry.js} +1 -1
  226. package/lib/duet/{p-b6dc4395.entry.js → p-3c26d300.entry.js} +1 -1
  227. package/lib/duet/{p-a8229728.entry.js → p-428db44b.entry.js} +1 -1
  228. package/lib/duet/p-4420973e.entry.js +4 -0
  229. package/lib/duet/{p-e9c2eb66.entry.js → p-455e8ebe.entry.js} +1 -1
  230. package/lib/duet/{p-162a0691.entry.js → p-46300680.entry.js} +1 -1
  231. package/lib/duet/{p-06f17fe7.entry.js → p-494755d0.entry.js} +1 -1
  232. package/lib/duet/{p-278ef4d8.entry.js → p-4c5a8ed3.entry.js} +1 -1
  233. package/lib/duet/{p-ecf69f6d.entry.js → p-4d39941c.entry.js} +1 -1
  234. package/lib/duet/p-4f7b0699.entry.js +4 -0
  235. package/lib/duet/p-526fa31c.entry.js +4 -0
  236. package/lib/duet/p-58496fb1.entry.js +4 -0
  237. package/lib/duet/p-58a70b3d.entry.js +4 -0
  238. package/lib/duet/{p-245c0535.entry.js → p-592a6542.entry.js} +1 -1
  239. package/lib/duet/p-5c8c691b.entry.js +4 -0
  240. package/lib/duet/p-5dde8fbb.entry.js +4 -0
  241. package/lib/duet/{p-6cffc5b7.entry.js → p-5ffc4081.entry.js} +1 -1
  242. package/lib/duet/{p-2e126e15.entry.js → p-61b6962a.entry.js} +1 -1
  243. package/lib/duet/{p-efa1cd0b.entry.js → p-6988c81c.entry.js} +1 -1
  244. package/lib/duet/{p-f71d04ce.entry.js → p-73ed0008.entry.js} +1 -1
  245. package/lib/duet/{p-3d0a716c.entry.js → p-7a2ca711.entry.js} +1 -1
  246. package/lib/duet/{p-12b2d402.entry.js → p-7a5066b8.entry.js} +1 -1
  247. package/lib/duet/{p-ec689a7c.entry.js → p-7a668cee.entry.js} +1 -1
  248. package/lib/duet/p-7e640c8e.entry.js +4 -0
  249. package/lib/duet/{p-17c063a3.entry.js → p-7eaa1fb5.entry.js} +1 -1
  250. package/lib/duet/p-81332db1.entry.js +4 -0
  251. package/lib/duet/{p-898d5701.entry.js → p-816caa58.entry.js} +1 -1
  252. package/lib/duet/{p-690beb31.entry.js → p-84420fbf.entry.js} +1 -1
  253. package/lib/duet/{p-ed750cdf.entry.js → p-870dc953.entry.js} +1 -1
  254. package/lib/duet/{p-93abd97a.entry.js → p-87bb797c.entry.js} +1 -1
  255. package/lib/duet/p-9d8027aa.entry.js +4 -0
  256. package/lib/duet/{p-B6Z_1gqI.js → p-BW3SZS4F.js} +1 -1
  257. package/lib/duet/{p-CW11pVgw.js → p-Chf7ZRmW.js} +1 -1
  258. package/lib/duet/p-CtBx3Trd.js +4 -0
  259. package/lib/duet/{p-DrqQiRTn.js → p-Cwhi6_oZ.js} +1 -1
  260. package/lib/duet/p-D2EBd3cT.js +4 -0
  261. package/lib/duet/p-DCDM41Ef.js +4 -0
  262. package/lib/duet/{p-DFAnksuG.js → p-DWIjWGAD.js} +1 -1
  263. package/lib/duet/{p-2d963ab0.entry.js → p-a4a1b8e3.entry.js} +1 -1
  264. package/lib/duet/p-a4db8c29.entry.js +4 -0
  265. package/lib/duet/{p-18eada94.entry.js → p-a63327c3.entry.js} +1 -1
  266. package/lib/duet/{p-0cc2921b.entry.js → p-a690a165.entry.js} +1 -1
  267. package/lib/duet/{p-3eba33cd.entry.js → p-a7bb038a.entry.js} +1 -1
  268. package/lib/duet/{p-d7506eaa.entry.js → p-adecab91.entry.js} +1 -1
  269. package/lib/duet/p-af9c8169.entry.js +4 -0
  270. package/lib/duet/{p-d2e74e89.entry.js → p-afd7d87a.entry.js} +1 -1
  271. package/lib/duet/{p-3a45c3a4.entry.js → p-b3ec9b98.entry.js} +1 -1
  272. package/lib/duet/{p-25b4886a.entry.js → p-b64b3e2f.entry.js} +1 -1
  273. package/lib/duet/{p-4856f07c.entry.js → p-bcced6eb.entry.js} +1 -1
  274. package/lib/duet/{p-608ebd47.entry.js → p-c1d4542d.entry.js} +1 -1
  275. package/lib/duet/{p-fe00331c.entry.js → p-c71f6942.entry.js} +1 -1
  276. package/lib/duet/p-c7851c15.entry.js +4 -0
  277. package/lib/duet/{p-234f4365.entry.js → p-cbd1069e.entry.js} +1 -1
  278. package/lib/duet/p-cd4f52a9.entry.js +4 -0
  279. package/lib/duet/{p-5fb783eb.entry.js → p-d0a54e6d.entry.js} +1 -1
  280. package/lib/duet/p-d181c624.entry.js +4 -0
  281. package/lib/duet/{p-de4b0518.entry.js → p-d2c04a7e.entry.js} +1 -1
  282. package/lib/duet/{p-1e168d4b.entry.js → p-d2c91ed0.entry.js} +1 -1
  283. package/lib/duet/p-d3dac8af.entry.js +4 -0
  284. package/lib/duet/{p-968546f6.entry.js → p-dc87f3f4.entry.js} +1 -1
  285. package/lib/duet/{p-d83f38c7.entry.js → p-dfd55180.entry.js} +1 -1
  286. package/lib/duet/{p-44a97d21.entry.js → p-e8bd6dab.entry.js} +1 -1
  287. package/lib/duet/{p-bdf6a296.entry.js → p-e9ed96cf.entry.js} +1 -1
  288. package/lib/duet/p-eab349f2.entry.js +4 -0
  289. package/lib/duet/{p-07b9b6c3.entry.js → p-eebf150c.entry.js} +1 -1
  290. package/lib/duet/{p-806c4ab8.entry.js → p-f210e405.entry.js} +1 -1
  291. package/lib/duet/{p-67b3a01a.entry.js → p-f600e215.entry.js} +1 -1
  292. package/lib/duet/{p-a73b7110.entry.js → p-f652a9c7.entry.js} +1 -1
  293. package/lib/duet/{p-65350441.entry.js → p-fbce84d5.entry.js} +1 -1
  294. package/lib/duet/{p-17413943.entry.js → p-fea479fd.entry.js} +1 -1
  295. package/lib/esm/{a11y-utils-D66Lzlz5.js → a11y-utils-sgAajRY0.js} +1 -1
  296. package/lib/esm/{app-globals-G9KPoeGD.js → app-globals-NNQmI_gc.js} +1 -1
  297. package/lib/esm/duet-action-button.entry.js +3 -3
  298. package/lib/esm/duet-alert.entry.js +4 -4
  299. package/lib/esm/duet-badge.entry.js +5 -5
  300. package/lib/esm/duet-banner.entry.js +3 -3
  301. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  302. package/lib/esm/duet-breadcrumbs.entry.js +5 -5
  303. package/lib/esm/duet-button_2.entry.js +4 -4
  304. package/lib/esm/duet-callout.entry.js +5 -5
  305. package/lib/esm/duet-caption_4.entry.js +12 -12
  306. package/lib/esm/duet-card.entry.js +3 -3
  307. package/lib/esm/duet-checkbox.entry.js +3 -3
  308. package/lib/esm/duet-checkmark.entry.js +4 -4
  309. package/lib/esm/duet-chip.entry.js +7 -5
  310. package/lib/esm/duet-choice_2.entry.js +15 -13
  311. package/lib/esm/duet-collapsible.entry.js +3 -3
  312. package/lib/esm/duet-combobox.entry.js +26 -9
  313. package/lib/esm/duet-contact-card.entry.js +5 -5
  314. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  315. package/lib/esm/duet-date-picker.entry.js +7 -7
  316. package/lib/esm/duet-divider_2.entry.js +3 -3
  317. package/lib/esm/duet-editable-table_3.entry.js +8 -8
  318. package/lib/esm/duet-empty-state.entry.js +33 -7
  319. package/lib/esm/duet-fieldset.entry.js +6 -6
  320. package/lib/esm/duet-file-chooser.entry.js +3 -3
  321. package/lib/esm/duet-footer.entry.js +8 -8
  322. package/lib/esm/duet-grid_2.entry.js +14 -7
  323. package/lib/esm/duet-header_2.entry.js +4 -4
  324. package/lib/esm/duet-hero.entry.js +9 -9
  325. package/lib/esm/duet-icon.entry.js +5 -5
  326. package/lib/esm/duet-indicator.entry.js +5 -5
  327. package/lib/esm/duet-input_2.entry.js +17 -13
  328. package/lib/esm/duet-layout.entry.js +7 -7
  329. package/lib/esm/duet-list_2.entry.js +5 -5
  330. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  331. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  332. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  333. package/lib/esm/duet-menu-bar-item.entry.js +7 -7
  334. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  335. package/lib/esm/duet-menu-bar.entry.js +6 -6
  336. package/lib/esm/duet-modal.entry.js +12 -12
  337. package/lib/esm/duet-multiselect.entry.js +11 -11
  338. package/lib/esm/duet-nav.entry.js +3 -3
  339. package/lib/esm/duet-notification_2.entry.js +9 -9
  340. package/lib/esm/duet-number-input.entry.js +8 -8
  341. package/lib/esm/duet-overlay.entry.js +3 -3
  342. package/lib/esm/duet-page-heading.entry.js +4 -4
  343. package/lib/esm/duet-pagination_2.entry.js +16 -16
  344. package/lib/esm/duet-panel.entry.js +4 -4
  345. package/lib/esm/duet-phone-input.entry.js +4 -4
  346. package/lib/esm/duet-popup-menu_2.entry.js +21 -11
  347. package/lib/esm/duet-progress.entry.js +3 -3
  348. package/lib/esm/duet-promo-card.entry.js +5 -5
  349. package/lib/esm/duet-radio_2.entry.js +10 -8
  350. package/lib/esm/duet-range-slider.entry.js +6 -6
  351. package/lib/esm/duet-scrollable_3.entry.js +15 -15
  352. package/lib/esm/duet-section-layout.entry.js +4 -4
  353. package/lib/esm/duet-select.entry.js +10 -10
  354. package/lib/esm/duet-shaped-image.entry.js +4 -4
  355. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  356. package/lib/esm/duet-share-chart.entry.js +6 -6
  357. package/lib/esm/duet-show-more.entry.js +5 -5
  358. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  359. package/lib/esm/duet-slideout-link.entry.js +7 -7
  360. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  361. package/lib/esm/duet-slideout-panel.entry.js +11 -11
  362. package/lib/esm/duet-slideout.entry.js +10 -10
  363. package/lib/esm/duet-status-icon.entry.js +7 -3
  364. package/lib/esm/duet-step_2.entry.js +6 -6
  365. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  366. package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
  367. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  368. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  369. package/lib/esm/duet-submenu-bar.entry.js +7 -7
  370. package/lib/esm/duet-textarea.entry.js +14 -21
  371. package/lib/esm/duet-toggle.entry.js +8 -8
  372. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  373. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  374. package/lib/esm/duet-toolbar-item.entry.js +8 -8
  375. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  376. package/lib/esm/duet-toolbar.entry.js +4 -4
  377. package/lib/esm/duet-tooltip-button_2.entry.js +9 -9
  378. package/lib/esm/duet-tooltip.entry.js +4 -4
  379. package/lib/esm/duet-tray.entry.js +5 -5
  380. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  381. package/lib/esm/duet-upload-item.entry.js +6 -6
  382. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  383. package/lib/esm/duet.js +4 -4
  384. package/lib/esm/{errorcodes.utils-C6zptXiM.js → errorcodes.utils-CqW0-HM8.js} +1 -1
  385. package/lib/esm/{focus-utils-YZ2ticmM.js → focus-utils-Dokkd7xz.js} +1 -1
  386. package/lib/esm/{index-DrqQiRTn.js → index-Cwhi6_oZ.js} +5 -5
  387. package/lib/esm/{label-CnTwCD-3.js → label-CyQlly6Z.js} +1 -1
  388. package/lib/esm/{language-utils-BEG0cFmw.js → language-utils-LZh-sc2s.js} +1 -1
  389. package/lib/esm/loader.js +4 -4
  390. package/lib/esm/{slot-utils-Dzrezpl3.js → slot-utils-CEZnAp61.js} +2 -2
  391. package/lib/esm/{themeable-component-BLql61nC.js → themeable-component-D_FVcjsD.js} +1 -1
  392. package/lib/types/common-types.d.ts +11 -28
  393. package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -0
  394. package/lib/types/components/duet-empty-state/duet-empty-state.d.ts +24 -4
  395. package/lib/types/components/duet-grid/duet-grid.d.ts +5 -0
  396. package/lib/types/components/duet-heading/duet-heading.d.ts +10 -0
  397. package/lib/types/components/duet-textarea/duet-textarea.d.ts +0 -5
  398. package/lib/types/components.d.ts +72 -6
  399. package/package.json +5 -5
  400. package/lib/duet/p-0a80de40.entry.js +0 -4
  401. package/lib/duet/p-10a326fa.entry.js +0 -4
  402. package/lib/duet/p-162993d2.entry.js +0 -4
  403. package/lib/duet/p-29599dc5.entry.js +0 -4
  404. package/lib/duet/p-2ac11077.entry.js +0 -4
  405. package/lib/duet/p-419b96b6.entry.js +0 -4
  406. package/lib/duet/p-550bfab9.entry.js +0 -4
  407. package/lib/duet/p-5c60eca3.entry.js +0 -4
  408. package/lib/duet/p-6e1b9cc8.entry.js +0 -4
  409. package/lib/duet/p-7ce31e10.entry.js +0 -4
  410. package/lib/duet/p-9172ba70.entry.js +0 -4
  411. package/lib/duet/p-BQVGvl4H.js +0 -4
  412. package/lib/duet/p-CLZq8YfV.js +0 -4
  413. package/lib/duet/p-D2JvSVnG.js +0 -4
  414. package/lib/duet/p-ELbbzMVZ.js +0 -4
  415. package/lib/duet/p-a3ad5622.entry.js +0 -4
  416. package/lib/duet/p-b1d91a91.entry.js +0 -4
  417. package/lib/duet/p-b9be36c8.entry.js +0 -4
  418. package/lib/duet/p-bdae48d3.entry.js +0 -4
  419. package/lib/duet/p-c8d10c67.entry.js +0 -4
  420. package/lib/duet/p-da275568.entry.js +0 -4
  421. package/lib/duet/p-dc5682d8.entry.js +0 -4
  422. package/lib/duet/p-e050ed5c.entry.js +0 -4
  423. package/lib/duet/p-ec5f40a5.entry.js +0 -4
  424. package/lib/duet/p-f68a4a23.entry.js +0 -4
  425. package/lib/duet/p-f8e26f21.entry.js +0 -4
@@ -284,18 +284,18 @@ export class DuetScrollable {
284
284
  * Always the last one in the class.
285
285
  */
286
286
  render() {
287
- return (h(Host, { key: '16f256474e4e15cf219acd7edf26401ca3a99ea6', class: {
287
+ return (h(Host, { key: '2ba4adf585cac6b8a76f8a06f2a46a3339b495e8', class: {
288
288
  "duet-theme-turva": this.theme === "turva",
289
289
  "duet-theme-default": this.theme === "default",
290
- } }, this.hasCollapseButtonLabelSlot && (h("div", { key: '7fa6f84d8f02d4e8b816eda4631bcad05167223f', class: {
290
+ } }, this.hasCollapseButtonLabelSlot && (h("div", { key: '1bb6dcf18c16906a196f15532d51878f5a14ebfe', class: {
291
291
  collapse: true,
292
292
  hide: !this.needsScrolling && !this.collapsed,
293
- } }, h("duet-button", { key: 'f8675f4274380f1a463ca4a868151eb76dc721b0', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, h("slot", { key: 'f259fcf694c93dc3759a4e1dcbf119e7db86e75b', name: "collapse-button-label" })))), h("div", { key: '01b0c8a9e4ba8eda9bacbc00702eda03f01cf683', class: {
293
+ } }, h("duet-button", { key: '253b7c6b18e78444e59e7a3df3f66287e67d8d4d', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, h("slot", { key: '46ee35a09a74308fef543368900ceb78546d2d27', name: "collapse-button-label" })))), h("div", { key: 'fbead3f5a25009528eca77982e0c340139f780dc', class: {
294
294
  "duet-scrollable-items": true,
295
295
  buttons: this.buttons,
296
296
  center: this.center,
297
297
  "duet-theme-turva": this.theme === "turva",
298
- } }, this.buttons && this.renderButton("left"), h("div", { key: 'a6f3a782485f864dad9e40ddc032f982c6c7073b', class: {
298
+ } }, this.buttons && this.renderButton("left"), h("div", { key: 'dc180a9004b8b097bca04412e3412b32949efbdc', class: {
299
299
  "duet-scrollable-list": true,
300
300
  [`duet-scrollable-list--${this.buttonPosition}`]: true,
301
301
  [`gap-${this.gap}`]: true,
@@ -303,7 +303,7 @@ export class DuetScrollable {
303
303
  [`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
304
304
  [`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
305
305
  "duet-scrollable-stretch": this.stretch,
306
- }, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: 'e17345b0845d35318c50ee82b7133b0f81bbac42' })), this.buttons && this.renderButton("right"))));
306
+ }, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: 'a14ae5f86ffc50886753e785bfb795cc706e3f95' })), this.buttons && this.renderButton("right"))));
307
307
  }
308
308
  static get is() { return "duet-scrollable"; }
309
309
  static get encapsulation() { return "shadow"; }
@@ -24,13 +24,13 @@ export class DuetSectionLayout {
24
24
  * Always the last one in the class.
25
25
  */
26
26
  render() {
27
- return (h(Host, { key: '9e09c3c920b112b5c93c5ad6d7fa58c9c72d2bc5', class: {
27
+ return (h(Host, { key: '1423181d3efb8f77211a81db6dc7a415457b23f4', class: {
28
28
  "duet-middle": this.middle,
29
29
  "duet-ie": isInternetExplorer(),
30
- } }, h("div", { key: '1610e2a09eab2ce70922b6ad5c636acc12a8791a', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, h("div", { key: '8a76c865f526d670f1fb859adcdb84832479d9c6', class: {
30
+ } }, h("div", { key: '3b08e02d99ce4d269a90522f896ecfb43608c79f', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, h("div", { key: '1c60dd6abba084bdf4b29b9cb4b6e94d137517e3', class: {
31
31
  "duet-layout": true,
32
32
  [`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
33
- } }, h("section", { key: '0f91daf6934b0c2d52ede50277a47885e80ede10', class: "duet-main" }, h("slot", { key: '6998a473041513c5adbf796fe5c2ecaa3e436887' }))))));
33
+ } }, h("section", { key: 'be58aa5ae79e61f3ba8e2bbadb119d169ab51d59', class: "duet-main" }, h("slot", { key: '43f94baf777b2626fefaa2a85d752f3e4652ed94' }))))));
34
34
  }
35
35
  static get is() { return "duet-section-layout"; }
36
36
  static get encapsulation() { return "shadow"; }
@@ -249,10 +249,10 @@ duet-tooltip,
249
249
  cursor: default !important;
250
250
  }
251
251
  .duet-select-wrapper select[disabled] + .duet-select {
252
- color: rgb(127, 150, 165) !important;
252
+ color: rgb(98, 121, 138) !important;
253
253
  cursor: not-allowed !important;
254
254
  outline: none !important;
255
- background: rgb(245, 248, 250) !important;
255
+ background: rgb(228, 236, 239) !important;
256
256
  border-color: rgb(181, 198, 208) !important;
257
257
  opacity: 1 !important;
258
258
  -webkit-text-fill-color: rgb(8, 42, 77) !important;
@@ -362,6 +362,15 @@ duet-tooltip,
362
362
  .duet-theme-turva .duet-select-wrapper {
363
363
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
364
364
  }
365
+ .duet-theme-turva .duet-select-wrapper select[disabled] + .duet-select {
366
+ color: rgb(95, 122, 143) !important;
367
+ cursor: not-allowed !important;
368
+ outline: none !important;
369
+ background: rgb(228, 233, 237) !important;
370
+ border-color: rgb(178, 194, 205) !important;
371
+ opacity: 1 !important;
372
+ -webkit-text-fill-color: rgb(23, 42, 59) !important;
373
+ }
365
374
  .duet-theme-turva .duet-select-wrapper select:focus + .duet-select .duet-select-icon {
366
375
  color: rgb(23, 42, 59);
367
376
  }
@@ -197,23 +197,23 @@ export class DuetSelect {
197
197
  */
198
198
  render() {
199
199
  const identifier = this.identifier || this.selectId;
200
- return (h(Host, { key: '6937ee7615e75fb35ef3b6f1f43a4ac91fe13147', class: {
200
+ return (h(Host, { key: '0ddcfe653c975b950d0e354b409ab1d6f262c8e8', class: {
201
201
  "duet-m-0": this.margin === "none",
202
202
  "duet-expand": this.expand,
203
203
  [`duet-select-variation-${this.variation}`]: true,
204
- } }, h("div", { key: 'df3ab43299a88a3560e41ac9efa1049f8cf472c6', class: {
204
+ } }, h("div", { key: 'fd9cd25b5741264512afa023ffdaadd5f2c4bf88', class: {
205
205
  "duet-select-container": true,
206
206
  "duet-label-hidden": this.labelHidden,
207
207
  "duet-theme-turva": this.theme === "turva",
208
208
  [`duet-select-variation-${this.variation}`]: true,
209
209
  "duet-input-top-caption-shown": this.isCaptionVisible,
210
210
  "has-error": !!this.error,
211
- } }, h(DuetInternalLabel, { key: 'eed7661618d92026e2080a232a08acfc6bbb9286', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '6c32da93490aa3bd28ed7c9dbc5c93f4ef7509b8', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: 'cbf1942699874feda3b94159477533fc722f9736', name: "tooltip" }), this.caption && (h("duet-caption", { key: 'bf4bfd734e9a973d14d98c96985d46c7dd1c5ceb', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '251e263a892f221b586587aefbe55fe725ac2301', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: 'c55fc0f969e5fff221ff765b1a85aa81a6949ca8', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), h("slot", { key: 'a2eec6e452861fcceff707f25d390a04db8a36c8' }), h("select", { key: '3048fa80ccd46b95236fe4dfa2ce96571bcc3aed', ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (h("option", { key: 'cd9c69cc0437ec1201fee0a2ce5a401597e5fae9', disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (h("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
211
+ } }, h(DuetInternalLabel, { key: 'c3b5c05a907cc0ff12d55f85670fd2ad9f15adf1', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '7bc69b0dc20365188e9301bfdd30df1124b18761', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: 'f4bc4ce586c29071d3bc4f20960a404b981203dd', name: "tooltip" }), this.caption && (h("duet-caption", { key: '8465f79cf880f37acabd18e2e1ded29e49bd94ee', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: 'c9d22a8a3ca34ae31b859b8733e0c6745ebbeabf', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '1fe97d2769761b8987fe53554bec4a3edd114fd4', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), h("slot", { key: 'b274666d37f85b37e317908426b60ca1cc8bdfff' }), h("select", { key: '156afda8ad1a3cd37e999c3ef624e3bdf23f3939', ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (h("option", { key: 'e9a8b64cbab68d12e0769099ecce296305127185', disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (h("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
212
212
  return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
213
- }))), h("div", { key: 'af172a36f2e54f6ffe90e83d561258cc8aa91d6e', class: {
213
+ }))), h("div", { key: 'd81915bb17ca09a4ed1ec49be010590ab526f1bd', class: {
214
214
  "duet-select": true,
215
215
  [`duet-select-variation-${this.variation}`]: true,
216
- }, "aria-hidden": "true" }, h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (h("svg", { key: 'd8ff427b3fd8eb4d5605a7fc103f74757088364d', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '5a6494284c14a3b4d35df44cb3250a827f17532d', 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" })))) || (h("duet-icon", { key: 'ac74f1f426f66a3908be1444c828a321e4e45db2', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), h("span", { key: 'e947148f3aa7b0d0f2da4db20b59d3d9be2aac44', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), h("span", { key: '39dc9f995207b67e9910b02768c532cdfbb05385', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span", { key: '160c339a192e1941339eb15f1d127049b896bd9b', class: "duet-select-error" }, this.error)))));
216
+ }, "aria-hidden": "true" }, h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (h("svg", { key: 'ba3694a78ef77659a7590e37b5dcba1f45a2b13d', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'de4080cef2281d70764f02d5f0218fa4c15e8d0b', 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" })))) || (h("duet-icon", { key: '0787be25e87ce14407892b6c6fa020e9eac367f7', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), h("span", { key: '3e6af5e4df0aa4db79dac1274402f56787d90e47', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), h("span", { key: '29a4602a5757f066eb9827906e3629488da9b492', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span", { key: '496ed4e875ea72afb3074e2f4da4e2682bc6696c', class: "duet-select-error" }, this.error)))));
217
217
  }
218
218
  static get is() { return "duet-select"; }
219
219
  static get encapsulation() { return "shadow"; }
@@ -33,9 +33,9 @@ export class DuetShapedImage {
33
33
  const style = {
34
34
  "--rotation": `${this.rotation}deg`,
35
35
  };
36
- return (h(Host, { key: 'a3b54614560cad8b7ebfab7fcdcd281d5cf2698d', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, h("span", { key: '70fabf21da7e7198739b45dece77a4c45ee9b297', class: {
36
+ return (h(Host, { key: '27f36b3527731cc1d47a65655e150c963b9a23d9', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, h("span", { key: 'b3d7bf5649da0a77e9bee42baab54840e47f9505', class: {
37
37
  "shaped-image": true,
38
- }, role: "img", "aria-label": this.accessibleLabel, style: style }, h("span", { key: '01d1367bf5fa537aa2c6bd76499f304338cae661', class: "shaped-image-mask", role: "presentation" }, h("span", { key: 'd57e561e61e250d305d8c7ab3b4cf2bb973dafc8', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
38
+ }, role: "img", "aria-label": this.accessibleLabel, style: style }, h("span", { key: '84fe60ad6ee4fdcc2544b07c5c07a214cf5efb15', class: "shaped-image-mask", role: "presentation" }, h("span", { key: 'edb1df30260d26bb87ef59a97aa031c97e4dce6d', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
39
39
  }
40
40
  static get is() { return "duet-shaped-image"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -63,12 +63,12 @@ export class DuetShareChart {
63
63
  this.itemsTotalValue = this.items.reduce((total, { value }) => total + value, 0);
64
64
  }
65
65
  render() {
66
- return (h(Host, { key: '41d1aab509a8e28586ffb62a223378a3c2d97552' }, h("div", { key: '22552a2eae668cc0a293e61b46a10655188e2ef8', class: "duet-share-chart-horizontal-bar", role: "presentation" }, this.items
66
+ return (h(Host, { key: 'c22523d7e91ce5ef59f5553ed847309cc45c9499' }, h("div", { key: '9aa4f2e4c117c5f7c30bce27585c7abc4d5568ea', class: "duet-share-chart-horizontal-bar", role: "presentation" }, this.items
67
67
  .filter(i => !!i.value)
68
68
  .map(item => (h("span", { class: "duet-share-chart-share", style: {
69
69
  width: `${(item.value / this.itemsTotalValue) * 100}%`,
70
70
  backgroundColor: getColorByName(item.color, this.theme),
71
- } })))), h("ul", { key: '72a0977595b3a0145eea22372114b18be3a24a0c', class: "duet-share-chart-item-list" }, this.items.map(item => (h("li", { class: { "duet-theme-turva": this.theme === "turva" } }, h("span", { class: "duet-share-chart-item-color", style: { background: getColorByName(item.color, this.theme) } }), h("span", { class: "duet-share-chart-item-text" }, item.text, ":"), h("span", { class: "duet-share-chart-item-value" }, "\u00A0", formatNumber(item.value), "\u00A0", this.unit), this.unit !== "%" && (h("duet-visually-hidden", null, `${formatNumber((item.value / this.itemsTotalValue) * 100, 0)} %`)))))), h("slot", { key: '36c475fc18913c91bb22e3eda0aa5f0c76b02cde' })));
71
+ } })))), h("ul", { key: '428d17dde9185b071455325d5d2195618f4a0267', class: "duet-share-chart-item-list" }, this.items.map(item => (h("li", { class: { "duet-theme-turva": this.theme === "turva" } }, h("span", { class: "duet-share-chart-item-color", style: { background: getColorByName(item.color, this.theme) } }), h("span", { class: "duet-share-chart-item-text" }, item.text, ":"), h("span", { class: "duet-share-chart-item-value" }, "\u00A0", formatNumber(item.value), "\u00A0", this.unit), this.unit !== "%" && (h("duet-visually-hidden", null, `${formatNumber((item.value / this.itemsTotalValue) * 100, 0)} %`)))))), h("slot", { key: '2f394e013dfe0a533524bef6f0649f57d1c2d957' })));
72
72
  }
73
73
  static get is() { return "duet-share-chart"; }
74
74
  static get encapsulation() { return "shadow"; }
@@ -10,7 +10,7 @@ export class DuetShareChartItem {
10
10
  this.value = 0;
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: 'cfc906f48f161844e43f30fa14e0ff41939f38c6' }, h("div", { key: '526a5bf599b352d289abf6057991d0407e7a7ff6', hidden: true }, h("slot", { key: '8c8b501ea1fc3e556214a8b43afca95d24aae001' }))));
13
+ return (h(Host, { key: 'fb5eafa552f0f72600a3cec4b325ce891073f5bb' }, h("div", { key: 'b982b99b868fee7e0211a9b0dba7306eb2615874', hidden: true }, h("slot", { key: 'e8501789a378faa695408b024dd6d7c83aa3c1c9' }))));
14
14
  }
15
15
  static get is() { return "duet-share-chart-item"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -136,12 +136,12 @@ export class DuetShowMore {
136
136
  * Always the last one of the class.
137
137
  */
138
138
  render() {
139
- return (h(Host, { key: '514e5c439744a2960e711811f696d2ee9e49dba3' }, h("div", { key: '40788025130f4b8570cbacfa6371b11ea4bbdb42', class: {
139
+ return (h(Host, { key: 'a43de6a4bae0a8c38852a11a7b384b7f104ec024' }, h("div", { key: '74f8d429039d38ea1151aeab159f34cfed375df6', class: {
140
140
  "duet-show-more": true,
141
141
  "duet-theme-turva": this.theme === "turva",
142
142
  "duet-m-0": this.margin === "none",
143
143
  open: this.open,
144
- } }, h("div", { key: '42f30cd3ffc5c33651d4d0c7e36c913eab6d8147', ref: ref => (this.contentElement = ref), class: { content: true, "duet-theme-turva": this.theme === "turva" }, id: this.contentId, tabindex: this.open ? "-1" : "" }, h("div", { key: 'a319d301f1ed7130671aa529592270c4b708b7f9', class: { "slotted-content": true } }, h("slot", { key: '81b3e98809cee2a52c358af50383272ddebd8ee6' }))), h("duet-button", { key: '9789882dceda992bd6107cc84fa92ca4289f3679', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.isSafariBrowser ? this.open : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, h("span", { key: '9d664617e12985187968c239189df78e3ce87a40' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
144
+ } }, h("div", { key: 'ec6fcb6addd5b4a40b56a5daae3f3a0aeba6d872', ref: ref => (this.contentElement = ref), class: { content: true, "duet-theme-turva": this.theme === "turva" }, id: this.contentId, tabindex: this.open ? "-1" : "" }, h("div", { key: '1c5bb72f5086f835a944bbe4dac71a8d47a77367', class: { "slotted-content": true } }, h("slot", { key: 'e89b3fa40066fc91297a0acca877ecd297ef0a62' }))), h("duet-button", { key: 'b957cad1b16adb85490f6c4e96a739f0038c0bbb', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.isSafariBrowser ? this.open : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, h("span", { key: 'a7c76ec6d98b5644601d2caa1d21306fa127fef9' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
145
145
  }
146
146
  static get is() { return "duet-show-more"; }
147
147
  static get encapsulation() { return "shadow"; }
@@ -296,17 +296,17 @@ export class DuetSlideout {
296
296
  };
297
297
  const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
298
298
  const exitTranslation = getLocaleString(this.exitLangObject);
299
- return (h(Host, { key: '15926d51d888fbafb80d0c06a903dd7dda144588' }, h("div", { key: '137390c821f9878bde46d7c2ac728649efebd957', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && h("duet-overlay", { key: 'ecd721dba56b60c66d6f275c727c955d62cd1e3d', visible: this.open, zIndex: "600" }), h("div", { key: 'b7a642e04eed19e4fd7e36b1835d6e4c74aec27c', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
299
+ return (h(Host, { key: '688c802695368111aeb4c7ce77fe79bf01386c65' }, h("div", { key: '43fbd950e8cc9b7202640ec050473ad333053b21', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && h("duet-overlay", { key: '91156175999730330e4acc54a771525321c5b181', visible: this.open, zIndex: "600" }), h("div", { key: 'f319a1ebdf8063f906a73d7c9cf5f374ac5a0006', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
300
300
  dialog: true,
301
301
  hidden: !this.open,
302
302
  modal: this.modal,
303
- }, style: styles }, h(FocusGuard, { key: 'b77f1894f5398ba5a2cb46f0e03bf61b62316375', moveFocusTo: this.closeButton }), h("div", { key: '1ed24174eedb22702423e2360902d86bb5d88130', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: 'a5c52f4c5699fdf82e6032db15a59952c699da21', class: "top" }, h("button", { key: 'c12113cdf3c775016253f6372e5acad37e06b552', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
303
+ }, style: styles }, h(FocusGuard, { key: '4948808956e87089ea34a36fdb38d18dda0e344f', moveFocusTo: this.closeButton }), h("div", { key: 'b92d3796bbfb8710a1caff98a651ae25a0200f70', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: '37d6a16746c2dcfddf692c6fea31eccac6dce80b', class: "top" }, h("button", { key: '813ace204147dc026a6984dec194b30c6b65383b', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
304
304
  "slideout-close": true,
305
305
  active: this.open,
306
306
  "duet-theme-turva": this.theme === "turva",
307
- }, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { key: 'e19e950ae4db64d0dd6a1f5423849e4825da08f9', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '87c7d146ca56c79f17bfae9d658bf6b161724b6e', class: "sticky-header" }, h("slot", { key: 'cfe4f5cba7c3fc4e69b9d0934be5cc9062f15669', name: "sticky-header" }))), h("div", { key: 'decd4a9a7d6ebd9468f1c6b3572985120e83fabd', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
307
+ }, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { key: '93577566dd1ab3865aa1e822504020ac2ccea7b8', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '05fd3bd597b67cdb15940ab2ab7192d88039076d', class: "sticky-header" }, h("slot", { key: '18aa41a6860b850a23413df91c17ab157812b074', name: "sticky-header" }))), h("div", { key: 'c556058c1476e48980795e75714d9322d0a83397', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
308
308
  items: true,
309
- } }, h("slot", { key: '895e292fa85f1ec87523600aba207a414997c32f' })), h(FocusGuard, { key: 'ead70e05106da19d4ca705b9716b1f9257563373', moveFocusTo: this.closeButton })))));
309
+ } }, h("slot", { key: 'b0b0551fa20865b54092c9dedbe416590bdb6344' })), h(FocusGuard, { key: '3f650d271ea8bb3c029e9d75c7dfba1742a88d3e', moveFocusTo: this.closeButton })))));
310
310
  }
311
311
  static get is() { return "duet-slideout"; }
312
312
  static get encapsulation() { return "shadow"; }
@@ -38,7 +38,7 @@ export class DuetSlideoutLang {
38
38
  */
39
39
  render() {
40
40
  const langTranslation = getLocaleString(this.chooseLangObject);
41
- return (h(Host, { key: '6236540dfcccb46cc3a8c843bb55a41f53778097' }, h("div", { key: 'a3599eb69fdf0503f8171faca040233b9bdfed06', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, h("duet-icon", { key: '414eb1bcd9833eb5c86f133a3f0755a33549f1d5', name: "navigation-language", margin: "none", color: "secondary", size: "small" }), h("slot", { key: 'b747ac7d3d69368b38dbc39d794ee4aea592d3d6' }))));
41
+ return (h(Host, { key: '8847b4894f616c58b889e51d183c71ec672554fc' }, h("div", { key: '86a6652e67569a898f9aceea571fd656ae22bfa6', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, h("duet-icon", { key: '038bdf514daccd3f28a27ad0225f4a46ea84ecea', name: "navigation-language", margin: "none", color: "secondary", size: "small" }), h("slot", { key: '49e912e3e178c2d4c3042c4d9d1ae39991bbef52' }))));
42
42
  }
43
43
  static get is() { return "duet-slideout-lang"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -77,12 +77,12 @@ export class DuetSlideoutLink {
77
77
  * Always the last one in the class.
78
78
  */
79
79
  render() {
80
- return (h(Host, { key: '11544751fda9c0d6dd5f84af34e2f87b732d42a4' }, h("a", { key: '0a773bdb78c74a758242bd8bdfeaf3b4b9aa5b60', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
80
+ return (h(Host, { key: 'eca2104ff848dfd3c52bab08c4377d19e374d13d' }, h("a", { key: '9915adbb807d80081d2d791f36926a5b8a6b2a3e', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
81
81
  "duet-slideout-link": true,
82
82
  "duet-theme-turva": this.theme === "turva",
83
83
  active: this.active,
84
84
  [this.size]: true,
85
- }, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (h("duet-icon", { key: '1861478a046aef9645f066fb23d1f4c912f1ef0c', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "small", margin: "none" })), h("div", { key: '1dd2d3ef5f287cd454ddf9b6612e97d473b82ba9', class: "label" }, h("span", { key: '5a90dffe20806ee7b52e790f7dced30ebfb904e5' }, h("span", { key: '8ba44b556e13a4aa99d59650cfdd0e896c826111', class: "label-container" }, h("span", { key: '768831387964eaead94ddca5d1f1782bfb12223b', class: "label-content" }, h("slot", { key: 'd202274b8de9e89862986f27d070010b161a1efa' })), this.external && (h("duet-icon", { key: '6dfa5809ad21343f1b8a705406b6a436ddc0e93f', class: "external-icon", theme: this.theme, name: newWindowIcon.title, margin: "none", size: "auto", color: "currentColor" }))), h("slot", { key: '8222d3a0078e850548ee64ead0b4d0030e37aa3f', name: "description" })), this.caret && (h("duet-icon", { key: 'f0dd79d575afa645415a239c2a1d545d079edc84', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
85
+ }, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (h("duet-icon", { key: 'eabe8fda17546094fafc6fa4a253e05c63fc1938', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "small", margin: "none" })), h("div", { key: '98d30980e7ac325c36be8bb86b788d60cd36831d', class: "label" }, h("span", { key: '7f96584e0ee24069a7cc9afc2649d3a0a7fe8758' }, h("span", { key: '2b844eb1ae6ff0f7215e7979776c673e6f1accfb', class: "label-container" }, h("span", { key: 'd6de09afc6dbb0cfd6855f98e34c6b7b0b2c6421', class: "label-content" }, h("slot", { key: 'ef0c11c80556e88596d115ef534f86cc044362f8' })), this.external && (h("duet-icon", { key: 'ffe4c9d8a90105199e4a79702847705f958adf00', class: "external-icon", theme: this.theme, name: newWindowIcon.title, margin: "none", size: "auto", color: "currentColor" }))), h("slot", { key: 'd329594665a0964175ea0872747342f4e070227d', name: "description" })), this.caret && (h("duet-icon", { key: 'aafabb173724e1a6b736f289a7d76582f03f78c4', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
86
86
  }
87
87
  static get is() { return "duet-slideout-link"; }
88
88
  static get encapsulation() { return "shadow"; }
@@ -174,25 +174,25 @@ export class DuetSlideoutPanel {
174
174
  };
175
175
  const exitTranslation = getLocaleString(this.exitLangObject);
176
176
  const backTranslation = getLocaleString(this.backLangObject);
177
- return (h(Host, { key: 'b7ca9da2d68d44f8c144355d8b42e9b822129768' }, h("div", { key: '1cd22b150660a032f6307460a5394f9bdd2f8356', class: {
177
+ return (h(Host, { key: '91e1bfb50346e6f0b7d7b93f6d9cb16e84df9297' }, h("div", { key: '80891454e08a69f87d42ca5879c85a7e1eab6d5c', class: {
178
178
  "duet-slideout-panel": true,
179
179
  "duet-theme-turva": this.theme === "turva",
180
180
  active: this.open,
181
- } }, this.badge && h("duet-indicator", { key: '6343757ff3eee8a8c6965b4709958f65b784876c', variation: "change" }), h("button", { key: '9c9deae0fcf64337dcf2a5ffc10b90cd1805f726', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
181
+ } }, this.badge && h("duet-indicator", { key: '2dc9f2f3b5eebbc44158f9c7795ee2e9dadbfeef', variation: "change" }), h("button", { key: '86db5918e585201320c57a8770ab850356bda06b', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
182
182
  link: true,
183
183
  active: this.active,
184
184
  "duet-theme-turva": this.theme === "turva",
185
- }, onClick: this.onClick, inert: this.open }, this.icon && (h("div", { key: 'e713cc239aaee89e8e57d2d0fbd5f5c03f75a932', class: "duet-slideout-icon" }, h("duet-icon", { key: '647a923e7b9a57135779172c56a9ce3f4784eca5', name: this.icon, size: "small", margin: "none", color: "secondary" }))), h("span", { key: '0efd846db68b6ddec41deb3b98e95b578f600c9b', class: "label" }, h("span", { key: '35be3389257b208d50bfc51d9aed16149d01a927', class: { "label-text": true, [this.labelSize]: true } }, h("slot", { key: 'cc261654761ea7dce912746e520042d05c534fc8', name: "label" })), h("duet-icon", { key: '634184d119a894c2eda07e6c474d058e125f6257', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), h("div", { key: 'adc63cfa083c247dfb0053c0628a34036bb1c6cc', ref: element => (this.dialog = element), class: {
185
+ }, onClick: this.onClick, inert: this.open }, this.icon && (h("div", { key: '635addd38144863b546edd4d8792a26d4e8dd3c4', class: "duet-slideout-icon" }, h("duet-icon", { key: '3610a7e6ebcdf22fe198e4428538d559599c79c0', name: this.icon, size: "small", margin: "none", color: "secondary" }))), h("span", { key: '9b4d70cc570113c1e667ced944bccae1e4613398', class: "label" }, h("span", { key: '6f16630f451ef9ebd920462cd81df2cf92ab5312', class: { "label-text": true, [this.labelSize]: true } }, h("slot", { key: '80688a824da754215dcbfcd668ff8144880147d1', name: "label" })), h("duet-icon", { key: '205d74fef784d3db602fcccf61ba49dfb5995317', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), h("div", { key: '5be9dab7afdb48916100c5bfb8242eb061ba6c96', ref: element => (this.dialog = element), class: {
186
186
  dialog: true,
187
187
  hidden: !this.open,
188
- }, style: styles }, h(FocusGuard, { key: 'c2f8a9ba339619c3c0f17e925e43ac421da03fde', moveFocusTo: this.closeButton }), h("div", { key: 'ea23a8d999173132d21ef23e83835c89b892ec9e', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: '883f2a295c1e8450973a2c69f533fba8352c6b5b', class: "top" }, h("button", { key: '5d51c88ad14f8e0cd711e653378ac9901ad9334b', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
188
+ }, style: styles }, h(FocusGuard, { key: 'ad7c4a34db3120b40ed51061125f05d69017b342', moveFocusTo: this.closeButton }), h("div", { key: 'af56281cf6a0a4c7355f48d17b66c5495e7982f9', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: '676eca91428ce8439e68da74b59a0bc8d393f5a5', class: "top" }, h("button", { key: '2d8f3d984de8ca1efccc191115b7657a455c5ef9', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
189
189
  back: true,
190
190
  "duet-theme-turva": this.theme === "turva",
191
- }, onClick: this.onClick }, h("duet-icon", { key: 'da662ca8ebf14ed3a2d4157ff900884a111fa52a', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), h("span", { key: 'd3faed89bc59ca1c0ba2623e7a8e162bdaa4e326' }, this.label.innerHTML), h("button", { key: 'b90b5a03a91f92b65f1b06f9fea40fcbfff799b5', class: { close: true, "duet-theme-turva": this.theme === "turva" }, type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, h("duet-icon", { key: 'fe6676540e447c796bb2b38cc704a5a753a48e0b', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '8b1965807e40adc74947c170d8ad50172829f4da', class: "sticky-header" }, h("slot", { key: 'a51428e89962c2e10cf96ab92f462df6c20b05f2', name: "sticky-header" }))), h("div", { key: '4e4f74bac3d36949a9fd193ee9989c2ba757468b', tabindex: "-1", role: "menu",
191
+ }, onClick: this.onClick }, h("duet-icon", { key: 'f4d1be2b1157d12fff10e9f84eb7905d93091e79', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), h("span", { key: '2e0426bee359ed9f3ccf9f044e9c751924003a5c' }, this.label.innerHTML), h("button", { key: 'f4edf9a9df667475a3c00b214e134bce7d9d7ae9', class: { close: true, "duet-theme-turva": this.theme === "turva" }, type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, h("duet-icon", { key: '548ed5fadb9216137fcdc0762b35454ceb21c8d4', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '923603a20dbab28d51a376a9c252c35e33803880', class: "sticky-header" }, h("slot", { key: '07e15709effbee9950d36f03dd91e73b7e9ab336', name: "sticky-header" }))), h("div", { key: '7e63e1cd014106736bb712c20023f62245e43486', tabindex: "-1", role: "menu",
192
192
  //TODO: slideout menu fades out, needs to be instant
193
193
  id: "menu", "aria-labelledby": "button", class: {
194
194
  items: true,
195
- } }, h("slot", { key: 'dab429efe653f73142b8cd615311c5a8953c6343' })), h(FocusGuard, { key: '70c7027c0f655e46753addde7928facb096b0481', moveFocusTo: this.closeButton })))));
195
+ } }, h("slot", { key: 'fa18b91a1114433c57ecd566934f505e9fc62cf5' })), h(FocusGuard, { key: '7251452b17bbdfd8978f302bfde0e33991b39465', moveFocusTo: this.closeButton })))));
196
196
  }
197
197
  static get is() { return "duet-slideout-panel"; }
198
198
  static get encapsulation() { return "shadow"; }
@@ -52,18 +52,18 @@ export class DuetSlideoutPanelDropdown {
52
52
  * Always the last one in the class.
53
53
  */
54
54
  render() {
55
- return (h(Host, { key: 'bc86e96a57db15bb14d665edb554ef6372633c1e' }, h("div", { key: '210b0bc2779a333ea5da5d9aa80f52ff94e31bab', class: {
55
+ return (h(Host, { key: '74023ff3094ea4e1867ae58690abaa3f338053e7' }, h("div", { key: '0a0de8be47b2d48bc9f0c1564d458af29ee2e05f', class: {
56
56
  "duet-slideout-panel-dropdown": true,
57
57
  "duet-theme-turva": this.theme === "turva",
58
58
  active: this.open,
59
- } }, h("button", { key: 'ec70dde7f96e71aebf294a8effe5c86887e6579a', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
59
+ } }, h("button", { key: '887b98839351d36434969447057013fd8e7614ed', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
60
60
  active: this.active,
61
61
  "duet-theme-turva": this.theme === "turva",
62
- }, onClick: this.onClick }, this.icon && h("duet-icon", { key: 'c2e90527626b6f3206a3e4d1cfeefad2f51aaea8', name: this.icon, size: "small", margin: "none", color: "secondary" }), h("span", { key: 'd746147d5a9a5740daa2c4418394e5dca3d28f00', class: "label" }, h("slot", { key: 'b28cd31ec212453b5548759a5b882c64b9b04b9d', name: "label" }), h("duet-icon", { key: 'f53de55018fb41696fd32f55b6a365bcb8c4fae9', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), h("div", { key: '5fe02a87f042543eeb9c978ca3aedb2e973547f8', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
62
+ }, onClick: this.onClick }, this.icon && h("duet-icon", { key: 'a3d25c295dd87dd7d7427c08776e74f93ff06539', name: this.icon, size: "small", margin: "none", color: "secondary" }), h("span", { key: 'f5721ac3bf32dc5d3a02c06c3945169f5191b8bf', class: "label" }, h("slot", { key: '408ea11afbdc9705cf7d972f6173ba5215f06bec', name: "label" }), h("duet-icon", { key: 'eba692bfd3ada8bbfdbe9eb6e51a01054f6f919a', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), h("div", { key: '13c263ac376bd1b412ba8c57aec55504da08557d', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
63
63
  items: true,
64
64
  hidden: !this.open,
65
65
  "duet-theme-turva": this.theme === "turva",
66
- } }, h("slot", { key: '277a15c1a43715a4562f4e99e644972ade293982' })))));
66
+ } }, h("slot", { key: 'f582b50dca9e8127b6c4f0b6f9507f74f337ce7d' })))));
67
67
  }
68
68
  static get is() { return "duet-slideout-panel-dropdown"; }
69
69
  static get encapsulation() { return "shadow"; }
@@ -23,7 +23,7 @@ export class DuetSpacer {
23
23
  * Always the last one in the class.
24
24
  */
25
25
  render() {
26
- return (h(Host, { key: 'c528bde6cb4834c7b89630a87a1d9add5438473b', class: {
26
+ return (h(Host, { key: 'f2f4fa377c08b91ba94544d234bc8ab55c8b35b5', class: {
27
27
  "duet-spacer": true,
28
28
  "duet-spacer-xx-small": this.breakpoint === "xx-small",
29
29
  "duet-spacer-x-small": this.breakpoint === "x-small",
@@ -25,7 +25,7 @@ export class DuetSpinner {
25
25
  */
26
26
  render() {
27
27
  const color = !!this.color && this.color === "currentColor" ? "currentColor" : getColorByName(this.color, this.theme);
28
- return (h(Host, { key: 'ec9e97fce056ea29ab963b3dc0acbf65ef74858b' }, h("div", { key: 'bb244cf728a5ea38b7f65d486e141d314d4b79f5', class: {
28
+ return (h(Host, { key: '3bbc28212f0bf2540d28e5c1ed4cedbd263e8116' }, h("div", { key: '34642338087cdd238bf2d2d68f57562b5f675745', class: {
29
29
  "duet-spinner": true,
30
30
  [this.size]: true,
31
31
  "duet-theme-turva": this.theme === "turva",
@@ -0,0 +1,39 @@
1
+ *,
2
+ *::after,
3
+ *::before {
4
+ box-sizing: border-box;
5
+ padding: 0;
6
+ margin: 0;
7
+ -moz-appearance: none;
8
+ -webkit-appearance: none;
9
+ appearance: none;
10
+ background: transparent;
11
+ border: 0;
12
+ }
13
+
14
+ :host {
15
+ box-sizing: border-box;
16
+ padding: 0;
17
+ margin: 0;
18
+ -moz-appearance: none;
19
+ -webkit-appearance: none;
20
+ appearance: none;
21
+ background: transparent;
22
+ border: 0;
23
+ margin-bottom: 16px !important;
24
+ display: inline-block;
25
+ width: auto;
26
+ max-width: 100%;
27
+ line-height: 0;
28
+ color: inherit;
29
+ -webkit-tap-highlight-color: transparent;
30
+ }
31
+
32
+ :host(.duet-m-0) {
33
+ margin: 0 !important;
34
+ }
35
+ @media (max-width: 35.9375em) {
36
+ :host(.duet-m-0) {
37
+ margin: 0 !important;
38
+ }
39
+ }
@@ -85,13 +85,24 @@ export class DuetStatusIcon {
85
85
  }
86
86
  }
87
87
  render() {
88
- return (h(Host, { key: 'f2af4364319cd502dff5e2f28bc872efc3baa29c', class: {
88
+ return (h(Host, { key: 'fe9932329bfad00f4231a2e669de3e74a1cd08cd', class: {
89
89
  [`duet-status-icon-${this.getVariation()}`]: true,
90
90
  "duet-strong-bg": this.strong,
91
- } }, h("duet-icon", { key: 'eb4692810e48c350dbd8fc15e0de0825f5f9a700', icon: this.getIcon(), size: this.size, margin: this.margin })));
91
+ "duet-m-0": this.margin === "none",
92
+ } }, h("duet-icon", { key: '8fe84ccddba21b625e955f9a4ab07204eab192bb', icon: this.getIcon(), size: this.size, margin: "none" })));
92
93
  }
93
94
  static get is() { return "duet-status-icon"; }
94
95
  static get encapsulation() { return "shadow"; }
96
+ static get originalStyleUrls() {
97
+ return {
98
+ "$": ["duet-status-icon.scss"]
99
+ };
100
+ }
101
+ static get styleUrls() {
102
+ return {
103
+ "$": ["duet-status-icon.css"]
104
+ };
105
+ }
95
106
  static get properties() {
96
107
  return {
97
108
  "variation": {
@@ -93,13 +93,13 @@ export class DuetStep {
93
93
  * Always the last one in the class.
94
94
  */
95
95
  render() {
96
- return (h("div", { key: '402b9ef15bf57d82500a6023c38c8b66a110cbb3', class: {
96
+ return (h("div", { key: '3204237f7f65d0f7e40d171da59beae2438d0b73', class: {
97
97
  "duet-step": true,
98
98
  [`is-${this.state}`]: true,
99
99
  "rounded-top": this.roundedTop,
100
100
  "rounded-bottom": this.roundedBottom,
101
101
  "duet-theme-turva": this.theme === "turva",
102
- } }, h("div", { key: '5a662389bfc0190eee39c36e887c87b6a6e1c9a7', class: "duet-step-heading", id: this.buttonId, role: this.state !== "current" ? "button" : "region", "aria-current": this.state === "current" ? "step" : undefined, tabindex: this.state !== "current" ? "0" : undefined, "aria-disabled": this.isClickDisabled().toString(), "aria-expanded": (this.state === "current").toString(), "aria-controls": this.contentId, "aria-selected": (this.state === "current").toString(), onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: element => (this.buttonElement = element) }, h("div", { key: 'ee1ed37d30f81e67d0225f48b05bc943260b7fc6', "aria-hidden": "true" }, h("div", { key: 'fd82b877aeec047f0252cd67ac75a645ce25ae87', class: "duet-step-counter" }, this.renderStepCounter())), h("duet-spacer", { key: '2cd749ec01d7ff96e3f8314ea5a8302c5308786b', direction: "horizontal", size: "large", breakpoint: "small" }), h("duet-spacer", { key: '9753159df4b338e209f10696a3a3d35511182dc0', direction: "horizontal", size: "medium", breakpoint: "x-small" }), h("div", { key: '4f3478927a7fc558bab501572005326a74557f42' }, h("duet-heading", { key: '0e19fa8804cb73f223d5aa2c8b0418ce3f1ff43a', theme: this.theme, level: this.headingLevel, visualLevel: "h4", color: this.headingColor(), margin: "none" }, this.heading)), h("duet-spacer", { key: '250acd88c2ac6875d48595725534ef3d67fd3e65', direction: "horizontal", size: "large" }), h("div", { key: '00459e0dda57b0b45765c55536a12387c1b6dd05', class: "duet-step-heading-slot" }, h("slot", { key: '4ce1521d0945fe88517baeff6cad9eeebb8b84ec', name: "heading-content" }))), h("div", { key: 'bb20b48bd02201119e0e19e7601c3e6548268fe7', class: "duet-step-content-wrapper" }, h("div", { key: '010c7d8b6c1bd587e6eb010ab392419a44ff2bea', class: "duet-step-content", role: "region", "aria-labelledby": this.buttonId, id: this.contentId }, h("slot", { key: '7cc7227663f61830eee19abcce032944845f3543' })))));
102
+ } }, h("div", { key: '144dc2c4f67e3ab88437ba11dbe665d8d938e998', class: "duet-step-heading", id: this.buttonId, role: this.state !== "current" ? "button" : "region", "aria-current": this.state === "current" ? "step" : undefined, tabindex: this.state !== "current" ? "0" : undefined, "aria-disabled": this.isClickDisabled().toString(), "aria-expanded": (this.state === "current").toString(), "aria-controls": this.contentId, "aria-selected": (this.state === "current").toString(), onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: element => (this.buttonElement = element) }, h("div", { key: '3a16cbf1b403adb015eafda7d8768e17eae7fb40', "aria-hidden": "true" }, h("div", { key: '8ee2d9f18fcef2d1cdb2ad43cf8a41c5615b4765', class: "duet-step-counter" }, this.renderStepCounter())), h("duet-spacer", { key: '0dd226292f09ae93ba5ca9bde08511982771fe15', direction: "horizontal", size: "large", breakpoint: "small" }), h("duet-spacer", { key: 'd2fea319dfc6db59b1aaba216a913c3a8e9e81e8', direction: "horizontal", size: "medium", breakpoint: "x-small" }), h("div", { key: '7c3dee5bf9df62db35cbe5896551062c482d8b3e' }, h("duet-heading", { key: '27d4325d36f4f0621af0bf633fe3de821822d4bc', theme: this.theme, level: this.headingLevel, visualLevel: "h4", color: this.headingColor(), margin: "none" }, this.heading)), h("duet-spacer", { key: 'f0e367883df25339d1882ebe17ff56c3555d4cd1', direction: "horizontal", size: "large" }), h("div", { key: 'f4313eed84ca3fe24272ce59a59b711169c4c0a8', class: "duet-step-heading-slot" }, h("slot", { key: 'a06a67c70d672288b7ef3f76149561fe5200ed99', name: "heading-content" }))), h("div", { key: '62b81bf1127a74bd5fb1cec4b0aa1e9c706d2038', class: "duet-step-content-wrapper" }, h("div", { key: 'c46f37355b38f10b1dc182108cae7f444025246d', class: "duet-step-content", role: "region", "aria-labelledby": this.buttonId, id: this.contentId }, h("slot", { key: 'f08a916f605a7227add9fdb0bd4f6ede0719ec02' })))));
103
103
  }
104
104
  static get is() { return "duet-step"; }
105
105
  static get encapsulation() { return "shadow"; }
@@ -118,7 +118,7 @@ export class DuetStepper {
118
118
  * Always the last one in the class.
119
119
  */
120
120
  render() {
121
- return (h(Host, { key: 'ef1f504037c4920540f46a3f9982168761e2a466', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '9278a6186eec68f71f7b7c9273fa030516a819e4', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, h("duet-visually-hidden", { key: '47c61ae2f74abc8863c8494c4c751d8adecb325e', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), h("slot", { key: 'abb85008b953631b77cbb55903dc0b428b922c2c' }))));
121
+ return (h(Host, { key: 'f135a9f1ddcc6eaa86acdcdc9d11def0ec489b81', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: 'd68ff41042b6582c21d555e3131054278e9eaf1f', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, h("duet-visually-hidden", { key: '21d8af2f8896f0e5f893f041a2f3010ada1e74c9', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), h("slot", { key: 'efe281a3ddce9364e69c5131e7e59e3a9c2bb9d5' }))));
122
122
  }
123
123
  static get is() { return "duet-stepper"; }
124
124
  static get encapsulation() { return "shadow"; }
@@ -131,19 +131,19 @@ export class DuetSubmenuBar {
131
131
  * Always the last one in the class.
132
132
  */
133
133
  render() {
134
- return (h(Host, { key: 'f7a1424b603111719ad2b1c8a4bdcc2411b3a081' }, h("nav", { key: 'cc3405015c8f8db4a147ce964e700bc6cd7fc5ad', class: {
134
+ return (h(Host, { key: '463af77c5ac9d7a775876cfc005df160c5e7fdfa' }, h("nav", { key: 'fcbdbfc332d352007b1122ffa65cd6d13012a559', class: {
135
135
  "duet-submenu-bar": true,
136
136
  "duet-theme-turva": this.theme === "turva",
137
137
  hidden: this.hidden,
138
- }, "aria-label": this.accessibleLabel }, this.hasItems && (h("button", { key: 'f7418635c9233de3149eb7187c5c28581ffc0ddb', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
138
+ }, "aria-label": this.accessibleLabel }, this.hasItems && (h("button", { key: '98fadd59813f2aae19d4cb5d4734d73a98d4bb7e', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
139
139
  active: this.open,
140
- }, onClick: this.onClick }, h("span", { key: '11d96b23752b2bfb2f66b4571bb1bd786a63fd04', class: "label" }, h("slot", { key: 'd4fded0c5ec69fc717560d4c26fd8dd52797c3c3', name: "label" }), h("duet-icon", { key: '1bb8ebe20730cde32574b267fa04b2c2d17a5ff7', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), h("div", { key: '633cdee4191cf6c0fe11cdb2f93ca8c1ca59f8da', class: {
140
+ }, onClick: this.onClick }, h("span", { key: 'dc38b3df13d3a4d1b4a9c78c53a9fc68b932152e', class: "label" }, h("slot", { key: '128302a4e4c2c6e68d9fd8cb96d1439db8daf800', name: "label" }), h("duet-icon", { key: '0d4d0b35713d68685084568f0f95f1818b8deaca', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), h("div", { key: '7396ba0b29224cfa487e725604ff50dab010cdeb', class: {
141
141
  "menu-container": true,
142
142
  hidden: !this.open,
143
- }, role: "presentation" }, h("div", { key: '861548f8913d74bc3f24b2410a72ad15dbd7f587', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
143
+ }, role: "presentation" }, h("div", { key: '4b5178a06a8933dfb9be60276a1a893158c62aaa', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
144
144
  items: true,
145
145
  hidden: !this.open,
146
- }, ref: element => (this.itemsContainer = element) }, h("div", { key: '710a4f3c358154beec6b8147be4af31e0a4aba63', class: "list", role: this.mobile ? "presentation" : "list" }, h("slot", { key: '741903389bbbbfba594fd771d9717cf5cf078f6b' }), h("div", { key: 'bab1f798a808dbd4912e74be3319000a8a7409e4', class: "list-padding" }))), h("duet-overlay", { key: '5e36e837ff3020fb08c9df56004e3816065b31ee', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
146
+ }, ref: element => (this.itemsContainer = element) }, h("div", { key: '71ee3de51b625b340635a30fb39292e25ddfc116', class: "list", role: this.mobile ? "presentation" : "list" }, h("slot", { key: '4baa81a1de7c328e826df2f752075a9c4b05af0f' }), h("div", { key: '38b755c720305c3627d82a5e53af380752616396', class: "list-padding" }))), h("duet-overlay", { key: '62afaa179b2175f4c4c6cd56c6773675cffc061c', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
147
147
  }
148
148
  static get is() { return "duet-submenu-bar"; }
149
149
  static get encapsulation() { return "shadow"; }
@@ -108,18 +108,18 @@ export class DuetSubmenuBarDropdown {
108
108
  * Always the last one in the class.
109
109
  */
110
110
  render() {
111
- return (h(Host, { key: '1f7a8c55ce1e51e82a3689480c19cc1251290d98', role: "listitem" }, h("div", { key: '7abfa84100114bdcb753454bd89351dbcdc88213', class: {
111
+ return (h(Host, { key: 'b08d71c303bbbb5dc488ccb9df3a6606cbcee45f', role: "listitem" }, h("div", { key: 'f27808ba704701f0857e90d8c4474f11f2bd284d', class: {
112
112
  "duet-submenu-bar-dropdown": true,
113
113
  "duet-theme-turva": this.theme === "turva",
114
114
  open: this.open,
115
115
  active: this.active,
116
- } }, h("button", { key: '8d3069e56fb9e3f17bb4d2171c6bf51939636160', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
116
+ } }, h("button", { key: 'da50cea3b3daea0da483dc01649345a9fcc27d55', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
117
117
  open: this.open,
118
118
  active: this.active,
119
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '23659097e23b1b8b6cc66c130efc4cef0fdab84e', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '73b4d7cb0dd0ab9126819bfb6efbe4c40dccedca', class: "label" }, h("span", { key: '87d378945d46f26dce82b517fb42f396e7df5851', class: "label-text" }, h("slot", { key: 'f439f973c8ce98419368730c77bc3bda1a2472cc', name: "label" })), h("duet-icon", { key: '2dda29cbf50739e0866d548c7a9278d67411f412', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '2a9790a190e4138942625f10f82a6b94326a2ebd', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
119
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '41562541f2cf4bbe9e8d6ccb3214b8fc5b44079f', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '8b2782607b3478bc491ce2fa423257d4233968fa', class: "label" }, h("span", { key: '5b22aff9852f284416e15d60b1a262e963ff228e', class: "label-text" }, h("slot", { key: 'aec50191a12adf0fbd6f9e388c2dc09954d21f83', name: "label" })), h("duet-icon", { key: '154795bda221d38ca73b47a86c97da4c6e4d573b', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '574669c2280fa1e7e4d14666f95fbe912a068119', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
120
120
  items: true,
121
121
  hidden: !this.open,
122
- } }, h("slot", { key: 'ad75bd23dd9f44bff12f360a43871991bf3ce653' })))));
122
+ } }, h("slot", { key: '9a69e63aae77e184049ed7d8f7f511d47eca642e' })))));
123
123
  }
124
124
  static get is() { return "duet-submenu-bar-dropdown"; }
125
125
  static get encapsulation() { return "shadow"; }
@@ -49,12 +49,12 @@ export class DuetSubmenuBarDropdownLink {
49
49
  * Always the last one in the class.
50
50
  */
51
51
  render() {
52
- return (h(Host, { key: 'cf39c11edeabc413beb507824669b8643dc9483d' }, h("a", { key: '291903d9b4ed68200261fd220c91810743b7216b', class: {
52
+ return (h(Host, { key: '206adf55a559a97afad7c5bc107b46f6a099d8c0' }, h("a", { key: 'a61437b76e1ecd5c7d61b773b0b97fe43c457bc5', class: {
53
53
  "duet-submenu-bar-dropdown-link": true,
54
54
  "duet-theme-turva": this.theme === "turva",
55
55
  highlight: this.highlight,
56
56
  active: this.active,
57
- }, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: '1692f9ab28f6ff8f511c16b70114b8f3c09601df', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("span", { key: 'e18089da6ed52e191fee80b2019ebda73a9e9afd', class: "label-container" }, h("span", { key: 'c2cf40700298a1cca291de75837dc160bf717660', class: "label" }, h("slot", { key: 'f3759d26e0aa969a2307c588b5bd45ac719a5acd' })), this.caret && h("duet-icon", { key: '5db240602e615080a1f7c39c78bbfe5825aad01b', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (h("duet-icon", { key: '9ba464ebfea65521317485870f9f9423d3e5ca02', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
57
+ }, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: '50c64c74c7f21aebcb34252b9a5fbf75c391c0d3', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("span", { key: '0e697759844c9f0255d18fdb41765290f1389581', class: "label-container" }, h("span", { key: '3fafa6fece2c5188ec289dbc6fab760d49c73fb4', class: "label" }, h("slot", { key: '498dacafcd6fa3c3d097e9bcceb9e78c906cc236' })), this.caret && h("duet-icon", { key: 'd7055d84b2cd8de873b0400e7b3434f7670f987a', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (h("duet-icon", { key: '40d559b351fcc4d3f56f26045d065a55b840c740', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
58
58
  }
59
59
  static get is() { return "duet-submenu-bar-dropdown-link"; }
60
60
  static get encapsulation() { return "shadow"; }
@@ -80,7 +80,7 @@ export class DuetSubmenuBarItem {
80
80
  render() {
81
81
  const TagName = this.url ? "a" : "button";
82
82
  const role = this.url ? "link" : "button";
83
- return (h(Host, { key: '735cb5e8a3625bfe6e53685487cbdcad30174387', role: "listitem" }, h(TagName, { key: 'a1adc91fe24f839dc5b7d07a10c33ba4d68a7cbb', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '5a06f21d4ca339c5869d764fff0857cfbbe34145', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '65c8858c5b3842e6d2a4cb5ce4760d7ace3b9b52', class: "label" }, h("span", { key: 'ffec01ed19cbd0dc1d819901d5988a819120a444', class: "label-text" }, h("slot", { key: 'f7380688b2e9d1eb11de668f77a7b7a77e46d124' })), (this.trailingIcon || this.external) && (h("duet-icon", { key: '5117739fbacf4bb87663bb107342da775b492d21', class: {
83
+ return (h(Host, { key: '35be20639e3574ca775aa4b697485c84a1512045', role: "listitem" }, h(TagName, { key: '10e74fbfad350fa687d2ed5c6d5bfa6c3c3b7a08', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: 'e4de062ea87077cdf5ab2f80a72cb746d10b32e9', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '1829e95b6db1e8970ca53e5f8332b0aa97df310a', class: "label" }, h("span", { key: '815b45070604d6a9fc3f875677119480812c448d', class: "label-text" }, h("slot", { key: '195a9798c946491c1ec6318a99b5738e92d68f58' })), (this.trailingIcon || this.external) && (h("duet-icon", { key: '8718695a96ec8294833a18791aeefbe51526308f', class: {
84
84
  "trailing-icon": !!this.trailingIcon,
85
85
  "trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
86
86
  "external-icon": !!this.external,
@@ -41,7 +41,7 @@ export class DuetSubmenuBarLink {
41
41
  * Always the last one in the class.
42
42
  */
43
43
  render() {
44
- return (h(Host, { key: 'aa10443ecaf64baafaf3256739019432edfdfce3', role: "listitem" }, h("a", { key: 'fe2b14d1ae499d49f717085e29ff27af3ea7009b', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (h("duet-icon", { key: '44cf3738a413e100b1dc5bd2a3722081b6e9baed', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("span", { key: '23ccdc13d96b626e45b78e5122bbb54840bb2281', class: "label" }, h("slot", { key: '4b0bf13253c816e7774765b1223592583f4509b0' })))));
44
+ return (h(Host, { key: '43fe2f21e9f7ce5b2ea4a31fb4ac6f9f76b7dea7', role: "listitem" }, h("a", { key: '78ffb34f6f54b32f8c8401139b23b34a5fe9ef95', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (h("duet-icon", { key: 'c42d8f5d5fe3c4b9d4dbcfe3151a1ee2c7be2ec2', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("span", { key: 'a2e72daf94cc2c40ab025e399c949b4f8111bdea', class: "label" }, h("slot", { key: 'a5fb89a7dc0aea64b82a6be83104f8b9971066c8' })))));
45
45
  }
46
46
  static get is() { return "duet-submenu-bar-link"; }
47
47
  static get encapsulation() { return "shadow"; }