@duetds/components 10.0.0-alpha.26 → 10.0.0-alpha.28

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 (443) hide show
  1. package/hydrate/index.js +364 -273
  2. package/hydrate/index.mjs +364 -273
  3. package/lib/cjs/{a11y-utils-CnLnSK4z.js → a11y-utils-CJbT7JyN.js} +1 -1
  4. package/lib/cjs/{app-globals-B3iie8Hv.js → app-globals-Bg_Qat6e.js} +1 -1
  5. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  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 +20 -9
  9. package/lib/cjs/duet-breadcrumb.cjs.entry.js +11 -20
  10. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +7 -7
  11. package/lib/cjs/duet-button_2.cjs.entry.js +7 -7
  12. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  13. package/lib/cjs/duet-caption_4.cjs.entry.js +10 -10
  14. package/lib/cjs/duet-card.cjs.entry.js +5 -5
  15. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-chip.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +7 -7
  19. package/lib/cjs/duet-collapsible.cjs.entry.js +17 -8
  20. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  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 +6 -6
  24. package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
  25. package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
  26. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  28. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-footer.cjs.entry.js +4 -4
  30. package/lib/cjs/duet-grid_2.cjs.entry.js +11 -10
  31. package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
  32. package/lib/cjs/duet-hero.cjs.entry.js +15 -11
  33. package/lib/cjs/duet-icon.cjs.entry.js +6 -6
  34. package/lib/cjs/duet-indicator.cjs.entry.js +53 -0
  35. package/lib/cjs/duet-input_2.cjs.entry.js +12 -12
  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 +7 -7
  44. package/lib/cjs/duet-modal.cjs.entry.js +13 -13
  45. package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
  46. package/lib/cjs/duet-nav.cjs.entry.js +4 -4
  47. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  48. package/lib/cjs/duet-number-input.cjs.entry.js +6 -6
  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 +17 -17
  52. package/lib/cjs/duet-panel.cjs.entry.js +5 -5
  53. package/lib/cjs/duet-phone-input.cjs.entry.js +22 -7
  54. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
  55. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
  57. package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
  58. package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
  59. package/lib/cjs/duet-scrollable_3.cjs.entry.js +21 -19
  60. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-select.cjs.entry.js +9 -9
  62. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-share-chart.cjs.entry.js +7 -7
  65. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  66. package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-slideout-link.cjs.entry.js +8 -8
  68. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
  69. package/lib/cjs/duet-slideout-panel.cjs.entry.js +15 -20
  70. package/lib/cjs/duet-slideout.cjs.entry.js +11 -11
  71. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-step_2.cjs.entry.js +6 -6
  73. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  74. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
  75. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
  76. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
  78. package/lib/cjs/duet-textarea.cjs.entry.js +8 -8
  79. package/lib/cjs/duet-toggle.cjs.entry.js +6 -6
  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 +9 -9
  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 +8 -8
  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-BgHe-1YU.js → errorcodes.utils-CvAMXZjl.js} +1 -1
  93. package/lib/cjs/{focus-utils-CT74z9Qb.js → focus-utils-C8MDOQZG.js} +1 -1
  94. package/lib/cjs/{index-C6D9Bly8.js → index-BkDTP7hm.js} +5 -1
  95. package/lib/cjs/{label-tyZX3oPG.js → label-DYV9pC59.js} +1 -1
  96. package/lib/cjs/{language-utils-DcgSN-KH.js → language-utils-BxIeXBGy.js} +1 -1
  97. package/lib/cjs/loader.cjs.js +3 -3
  98. package/lib/cjs/{slot-utils-ByPWwvPp.js → slot-utils-F-Jmx-3a.js} +1 -1
  99. package/lib/cjs/{themeable-component-Doq36ycm.js → themeable-component-DvX_Xgrg.js} +1 -1
  100. package/lib/cjs/{token-utils-DsVwGXGM.js → token-utils-b3aW02zZ.js} +7 -4
  101. package/lib/collection/collection-manifest.json +1 -0
  102. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  103. package/lib/collection/components/duet-banner/duet-banner.css +27 -0
  104. package/lib/collection/components/duet-banner/duet-banner.js +15 -4
  105. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +1 -1
  106. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +9 -22
  107. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +3 -3
  108. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  109. package/lib/collection/components/duet-button/duet-button.css +3 -0
  110. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  111. package/lib/collection/components/duet-card/duet-card.css +12 -3
  112. package/lib/collection/components/duet-chip/duet-chip.css +6 -6
  113. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  114. package/lib/collection/components/duet-choice/duet-choice.css +4 -4
  115. package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
  116. package/lib/collection/components/duet-collapsible/duet-collapsible.js +15 -6
  117. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  118. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  119. package/lib/collection/components/duet-grid/duet-grid.js +7 -6
  120. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  121. package/lib/collection/components/duet-hero/duet-hero.css +220 -29
  122. package/lib/collection/components/duet-hero/duet-hero.js +10 -6
  123. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  124. package/lib/collection/components/duet-indicator/duet-indicator.css +46 -0
  125. package/lib/collection/components/duet-indicator/duet-indicator.js +104 -0
  126. package/lib/collection/components/duet-input/duet-input.js +8 -8
  127. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  128. package/lib/collection/components/duet-link/duet-link.js +2 -2
  129. package/lib/collection/components/duet-list/duet-list.js +1 -1
  130. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  131. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  132. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +4 -0
  133. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  134. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  135. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  136. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  137. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  138. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  139. package/lib/collection/components/duet-modal/duet-modal.js +7 -7
  140. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  141. package/lib/collection/components/duet-nav/duet-nav.css +4 -0
  142. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  143. package/lib/collection/components/duet-notification/duet-notification.css +4 -15
  144. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  145. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +0 -15
  146. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  147. package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
  148. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  149. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  150. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  151. package/lib/collection/components/duet-panel/duet-panel.css +5 -4
  152. package/lib/collection/components/duet-panel/duet-panel.js +2 -2
  153. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  154. package/lib/collection/components/duet-phone-input/duet-phone-input.js +56 -3
  155. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  156. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  157. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  158. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  159. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  160. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  161. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  162. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  163. package/lib/collection/components/duet-select/duet-select.js +5 -5
  164. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  165. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  166. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  167. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  168. package/lib/collection/components/duet-slideout/duet-slideout.css +26 -19
  169. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  170. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +2 -2
  171. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  172. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +3 -3
  173. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  174. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +16 -22
  175. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +9 -14
  176. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +2 -2
  177. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  178. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  179. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  180. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  181. package/lib/collection/components/duet-step/duet-step.js +2 -2
  182. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  183. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +4 -0
  184. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  185. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  186. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  187. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  188. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  189. package/lib/collection/components/duet-tab/duet-tab.js +53 -3
  190. package/lib/collection/components/duet-tab-group/duet-tab-group.css +6 -61
  191. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -6
  192. package/lib/collection/components/duet-table/duet-table.js +2 -2
  193. package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
  194. package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
  195. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  196. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  197. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  198. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +9 -14
  199. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  200. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  201. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  202. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  203. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  204. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  205. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  206. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  207. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  208. package/lib/collection/utils/token-utils.js +3 -3
  209. package/lib/duet/duet.esm.js +1 -1
  210. package/lib/duet/{p-4da25e3d.entry.js → p-01a9a47d.entry.js} +1 -1
  211. package/lib/duet/{p-534180fa.entry.js → p-09758ca7.entry.js} +1 -1
  212. package/lib/duet/{p-a745298d.entry.js → p-1206ff96.entry.js} +1 -1
  213. package/lib/duet/{p-84777c03.entry.js → p-12ac4ff1.entry.js} +1 -1
  214. package/lib/duet/{p-dd8216e7.entry.js → p-166bc231.entry.js} +1 -1
  215. package/lib/duet/{p-16f691fd.entry.js → p-16a96348.entry.js} +1 -1
  216. package/lib/duet/{p-ec72f3a2.entry.js → p-1a8da00c.entry.js} +1 -1
  217. package/lib/duet/p-20fa2389.entry.js +4 -0
  218. package/lib/duet/p-22e7cf7d.entry.js +4 -0
  219. package/lib/duet/p-2cdeebb1.entry.js +4 -0
  220. package/lib/duet/{p-88216acf.entry.js → p-2f21ed78.entry.js} +1 -1
  221. package/lib/duet/p-2f8ac3ad.entry.js +4 -0
  222. package/lib/duet/{p-a64da31d.entry.js → p-30035283.entry.js} +1 -1
  223. package/lib/duet/{p-0864a12e.entry.js → p-3208daa6.entry.js} +1 -1
  224. package/lib/duet/{p-f82a2ab7.entry.js → p-34ca9627.entry.js} +1 -1
  225. package/lib/duet/{p-d05bbd77.entry.js → p-35fdce02.entry.js} +1 -1
  226. package/lib/duet/{p-4cd019a5.entry.js → p-3a1c718a.entry.js} +1 -1
  227. package/lib/duet/{p-117970c7.entry.js → p-3a4a486b.entry.js} +1 -1
  228. package/lib/duet/p-41558cfd.entry.js +4 -0
  229. package/lib/duet/{p-a704d617.entry.js → p-447520f5.entry.js} +1 -1
  230. package/lib/duet/p-44e44f11.entry.js +4 -0
  231. package/lib/duet/{p-2d62148e.entry.js → p-49534af3.entry.js} +1 -1
  232. package/lib/duet/{p-0fccda7b.entry.js → p-4e6bc806.entry.js} +1 -1
  233. package/lib/duet/{p-2a563d22.entry.js → p-54dff5d5.entry.js} +1 -1
  234. package/lib/duet/p-5a2e2e55.entry.js +4 -0
  235. package/lib/duet/p-5cd78818.entry.js +4 -0
  236. package/lib/duet/{p-1f9c5d58.entry.js → p-5d626b10.entry.js} +1 -1
  237. package/lib/duet/p-5da18b67.entry.js +4 -0
  238. package/lib/duet/{p-806121b1.entry.js → p-631b16b7.entry.js} +1 -1
  239. package/lib/duet/{p-288da581.entry.js → p-66dc053b.entry.js} +1 -1
  240. package/lib/duet/{p-829482da.entry.js → p-68b125c1.entry.js} +1 -1
  241. package/lib/duet/{p-44deeddc.entry.js → p-6b79244a.entry.js} +1 -1
  242. package/lib/duet/{p-e9886226.entry.js → p-6e1454e9.entry.js} +1 -1
  243. package/lib/duet/{p-8194b05d.entry.js → p-6f710a62.entry.js} +1 -1
  244. package/lib/duet/{p-02ba799f.entry.js → p-787b30fc.entry.js} +1 -1
  245. package/lib/duet/{p-15a7a9be.entry.js → p-78db887a.entry.js} +1 -1
  246. package/lib/duet/{p-d079278e.entry.js → p-7912bc42.entry.js} +1 -1
  247. package/lib/duet/{p-4da439ae.entry.js → p-796eec58.entry.js} +1 -1
  248. package/lib/duet/p-7b718349.entry.js +4 -0
  249. package/lib/duet/{p-66cb6021.entry.js → p-7c3fcd96.entry.js} +1 -1
  250. package/lib/duet/{p-9a7382a4.entry.js → p-7e02804f.entry.js} +1 -1
  251. package/lib/duet/p-8017e834.entry.js +4 -0
  252. package/lib/duet/{p-ecb4e99d.entry.js → p-81992942.entry.js} +1 -1
  253. package/lib/duet/{p-f2ae56b2.entry.js → p-8356498a.entry.js} +1 -1
  254. package/lib/duet/p-87fa61b0.entry.js +4 -0
  255. package/lib/duet/p-882f0aaf.entry.js +4 -0
  256. package/lib/duet/{p-92b13088.entry.js → p-88e2e400.entry.js} +1 -1
  257. package/lib/duet/p-8d3c4a3f.entry.js +4 -0
  258. package/lib/duet/p-8de6d1e2.entry.js +4 -0
  259. package/lib/duet/p-97ba0b31.entry.js +4 -0
  260. package/lib/duet/{p-066f855b.entry.js → p-97bb619b.entry.js} +1 -1
  261. package/lib/duet/p-9ac2964f.entry.js +4 -0
  262. package/lib/duet/{p-34706bbb.entry.js → p-9dd85685.entry.js} +1 -1
  263. package/lib/duet/{p-C-YpEPL-.js → p-BFsh4y5I.js} +1 -1
  264. package/lib/duet/{p-DoTAjqzf.js → p-BVUumLs-.js} +1 -1
  265. package/lib/duet/{p-BPFqbaxm.js → p-BfHFKBVa.js} +1 -1
  266. package/lib/duet/p-D3JjrjH_.js +4 -0
  267. package/lib/duet/{p-BkHWWyft.js → p-D4WDSjzx.js} +1 -1
  268. package/lib/duet/p-DEF77zC7.js +4 -0
  269. package/lib/duet/p-DeH5mj7m.js +4 -0
  270. package/lib/duet/p-Do6ugHz0.js +4 -0
  271. package/lib/duet/{p-C2xFZ1pZ.js → p-Yh6R_0l1.js} +1 -1
  272. package/lib/duet/{p-6fa7de01.entry.js → p-a1442533.entry.js} +1 -1
  273. package/lib/duet/{p-23475050.entry.js → p-abd2d2e5.entry.js} +1 -1
  274. package/lib/duet/p-adf33c50.entry.js +4 -0
  275. package/lib/duet/{p-4c118ad6.entry.js → p-b88c7286.entry.js} +1 -1
  276. package/lib/duet/{p-148b6203.entry.js → p-b9125a20.entry.js} +1 -1
  277. package/lib/duet/{p-d71a366e.entry.js → p-b942ee5a.entry.js} +1 -1
  278. package/lib/duet/{p-8625d3ce.entry.js → p-bd08aba8.entry.js} +1 -1
  279. package/lib/duet/p-be077745.entry.js +4 -0
  280. package/lib/duet/{p-433a9f98.entry.js → p-c084c91d.entry.js} +1 -1
  281. package/lib/duet/{p-ad08429f.entry.js → p-c43dc2fd.entry.js} +1 -1
  282. package/lib/duet/{p-15859eb3.entry.js → p-c9ef3dfc.entry.js} +1 -1
  283. package/lib/duet/p-c9fd65ce.entry.js +4 -0
  284. package/lib/duet/{p-0e15fd30.entry.js → p-caf2cab9.entry.js} +1 -1
  285. package/lib/duet/{p-babe244b.entry.js → p-cb78347a.entry.js} +1 -1
  286. package/lib/duet/p-cc343a6c.entry.js +4 -0
  287. package/lib/duet/p-d0cc1c5b.entry.js +4 -0
  288. package/lib/duet/{p-e9becc58.entry.js → p-d83d4c83.entry.js} +1 -1
  289. package/lib/duet/{p-22641f21.entry.js → p-d93c2be4.entry.js} +1 -1
  290. package/lib/duet/{p-5fdfb13d.entry.js → p-daa8f255.entry.js} +1 -1
  291. package/lib/duet/{p-4a325ef1.entry.js → p-dd8692cb.entry.js} +1 -1
  292. package/lib/duet/{p-2f150cd4.entry.js → p-ddbdbe11.entry.js} +1 -1
  293. package/lib/duet/{p-78a9b684.entry.js → p-ea979f26.entry.js} +1 -1
  294. package/lib/duet/p-eab48b73.entry.js +4 -0
  295. package/lib/duet/p-ee38050b.entry.js +4 -0
  296. package/lib/duet/p-f0076621.entry.js +4 -0
  297. package/lib/duet/p-f2b7be73.entry.js +4 -0
  298. package/lib/duet/{p-6b2697ad.entry.js → p-f30823aa.entry.js} +1 -1
  299. package/lib/duet/p-f78c747f.entry.js +4 -0
  300. package/lib/duet/p-fc2d3b85.entry.js +4 -0
  301. package/lib/duet/{p-6dca8f77.entry.js → p-fcc4cd08.entry.js} +1 -1
  302. package/lib/duet/{p-9440a479.entry.js → p-fdab5c0b.entry.js} +1 -1
  303. package/lib/duet/{p-5a6fd350.entry.js → p-fec4da8c.entry.js} +1 -1
  304. package/lib/duet/{p-62df87ea.entry.js → p-ff169773.entry.js} +1 -1
  305. package/lib/duet/{p-D5MfS1RP.js → p-x84EsPoI.js} +1 -1
  306. package/lib/esm/{a11y-utils-C6cn5C3e.js → a11y-utils-CRHgvsu9.js} +1 -1
  307. package/lib/esm/{app-globals-CcxHDwb4.js → app-globals-CYQv_sg4.js} +1 -1
  308. package/lib/esm/duet-action-button.entry.js +4 -4
  309. package/lib/esm/duet-alert.entry.js +4 -4
  310. package/lib/esm/duet-badge.entry.js +5 -5
  311. package/lib/esm/duet-banner.entry.js +20 -9
  312. package/lib/esm/duet-breadcrumb.entry.js +11 -20
  313. package/lib/esm/duet-breadcrumbs.entry.js +7 -7
  314. package/lib/esm/duet-button_2.entry.js +7 -7
  315. package/lib/esm/duet-callout.entry.js +5 -5
  316. package/lib/esm/duet-caption_4.entry.js +10 -10
  317. package/lib/esm/duet-card.entry.js +5 -5
  318. package/lib/esm/duet-checkbox.entry.js +2 -2
  319. package/lib/esm/duet-checkmark.entry.js +4 -4
  320. package/lib/esm/duet-chip.entry.js +4 -4
  321. package/lib/esm/duet-choice_2.entry.js +7 -7
  322. package/lib/esm/duet-collapsible.entry.js +17 -8
  323. package/lib/esm/duet-combobox.entry.js +4 -4
  324. package/lib/esm/duet-contact-card.entry.js +5 -5
  325. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  326. package/lib/esm/duet-date-picker.entry.js +6 -6
  327. package/lib/esm/duet-divider_2.entry.js +4 -4
  328. package/lib/esm/duet-editable-table_3.entry.js +9 -9
  329. package/lib/esm/duet-empty-state.entry.js +2 -2
  330. package/lib/esm/duet-fieldset.entry.js +6 -6
  331. package/lib/esm/duet-file-chooser.entry.js +2 -2
  332. package/lib/esm/duet-footer.entry.js +4 -4
  333. package/lib/esm/duet-grid_2.entry.js +11 -10
  334. package/lib/esm/duet-header_2.entry.js +5 -5
  335. package/lib/esm/duet-hero.entry.js +15 -11
  336. package/lib/esm/duet-icon.entry.js +6 -6
  337. package/lib/esm/duet-indicator.entry.js +51 -0
  338. package/lib/esm/duet-input_2.entry.js +12 -12
  339. package/lib/esm/duet-layout.entry.js +7 -7
  340. package/lib/esm/duet-list_2.entry.js +5 -5
  341. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  342. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  343. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  344. package/lib/esm/duet-menu-bar-item.entry.js +7 -7
  345. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  346. package/lib/esm/duet-menu-bar.entry.js +7 -7
  347. package/lib/esm/duet-modal.entry.js +13 -13
  348. package/lib/esm/duet-multiselect.entry.js +10 -10
  349. package/lib/esm/duet-nav.entry.js +4 -4
  350. package/lib/esm/duet-notification_2.entry.js +9 -9
  351. package/lib/esm/duet-number-input.entry.js +6 -6
  352. package/lib/esm/duet-overlay.entry.js +3 -3
  353. package/lib/esm/duet-page-heading.entry.js +4 -4
  354. package/lib/esm/duet-pagination_2.entry.js +17 -17
  355. package/lib/esm/duet-panel.entry.js +5 -5
  356. package/lib/esm/duet-phone-input.entry.js +22 -7
  357. package/lib/esm/duet-popup-menu_2.entry.js +6 -6
  358. package/lib/esm/duet-progress.entry.js +3 -3
  359. package/lib/esm/duet-promo-card.entry.js +6 -6
  360. package/lib/esm/duet-radio_2.entry.js +7 -7
  361. package/lib/esm/duet-range-slider.entry.js +6 -6
  362. package/lib/esm/duet-scrollable_3.entry.js +21 -19
  363. package/lib/esm/duet-section-layout.entry.js +4 -4
  364. package/lib/esm/duet-select.entry.js +9 -9
  365. package/lib/esm/duet-shaped-image.entry.js +4 -4
  366. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  367. package/lib/esm/duet-share-chart.entry.js +7 -7
  368. package/lib/esm/duet-show-more.entry.js +5 -5
  369. package/lib/esm/duet-slideout-lang.entry.js +5 -5
  370. package/lib/esm/duet-slideout-link.entry.js +8 -8
  371. package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
  372. package/lib/esm/duet-slideout-panel.entry.js +15 -20
  373. package/lib/esm/duet-slideout.entry.js +11 -11
  374. package/lib/esm/duet-status-icon.entry.js +3 -3
  375. package/lib/esm/duet-step_2.entry.js +6 -6
  376. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  377. package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
  378. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  379. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  380. package/lib/esm/duet-submenu-bar.entry.js +8 -8
  381. package/lib/esm/duet-textarea.entry.js +8 -8
  382. package/lib/esm/duet-toggle.entry.js +6 -6
  383. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  384. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  385. package/lib/esm/duet-toolbar-item.entry.js +9 -9
  386. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  387. package/lib/esm/duet-toolbar.entry.js +4 -4
  388. package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
  389. package/lib/esm/duet-tooltip.entry.js +4 -4
  390. package/lib/esm/duet-tray.entry.js +5 -5
  391. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  392. package/lib/esm/duet-upload-item.entry.js +6 -6
  393. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  394. package/lib/esm/duet.js +4 -4
  395. package/lib/esm/{errorcodes.utils-CEyBUBSM.js → errorcodes.utils-MZm5Z6Ra.js} +1 -1
  396. package/lib/esm/{focus-utils-BhO5oz9w.js → focus-utils-CrtNnjPR.js} +1 -1
  397. package/lib/esm/{index-BPFqbaxm.js → index-BfHFKBVa.js} +5 -1
  398. package/lib/esm/{label-BGqhM4kx.js → label-BewTofiP.js} +1 -1
  399. package/lib/esm/{language-utils-CNMTW_pZ.js → language-utils-BvGD3xAJ.js} +1 -1
  400. package/lib/esm/loader.js +4 -4
  401. package/lib/esm/{slot-utils-BABbKvvc.js → slot-utils-QOcACBKy.js} +1 -1
  402. package/lib/esm/{themeable-component-Csv1RXxf.js → themeable-component-D9rAA2iK.js} +1 -1
  403. package/lib/esm/{token-utils-BGFYWQ6j.js → token-utils-C-c-tsXV.js} +7 -4
  404. package/lib/types/components/duet-banner/duet-banner.d.ts +2 -0
  405. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
  406. package/lib/types/components/duet-hero/duet-hero.d.ts +1 -0
  407. package/lib/types/components/duet-indicator/duet-indicator.d.ts +17 -0
  408. package/lib/types/components/duet-input/duet-input.d.ts +0 -2
  409. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +14 -0
  410. package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
  411. package/lib/types/components.d.ts +77 -10
  412. package/package.json +3 -3
  413. package/lib/duet/p-0964b56d.entry.js +0 -4
  414. package/lib/duet/p-1ec554c6.entry.js +0 -4
  415. package/lib/duet/p-4c37165a.entry.js +0 -4
  416. package/lib/duet/p-4fc62376.entry.js +0 -4
  417. package/lib/duet/p-57165bf0.entry.js +0 -4
  418. package/lib/duet/p-5bfa5e5d.entry.js +0 -4
  419. package/lib/duet/p-6fdb09d1.entry.js +0 -4
  420. package/lib/duet/p-7b849d35.entry.js +0 -4
  421. package/lib/duet/p-7c1e8291.entry.js +0 -4
  422. package/lib/duet/p-7f0aa937.entry.js +0 -4
  423. package/lib/duet/p-804b326c.entry.js +0 -4
  424. package/lib/duet/p-98aa7ac5.entry.js +0 -4
  425. package/lib/duet/p-9c838ec0.entry.js +0 -4
  426. package/lib/duet/p-B5RO_CRT.js +0 -4
  427. package/lib/duet/p-CwVyzidG.js +0 -4
  428. package/lib/duet/p-DixsuovU.js +0 -4
  429. package/lib/duet/p-Dr2j33H2.js +0 -4
  430. package/lib/duet/p-ad3d8ac8.entry.js +0 -4
  431. package/lib/duet/p-b1f362dc.entry.js +0 -4
  432. package/lib/duet/p-b9acaca1.entry.js +0 -4
  433. package/lib/duet/p-c35c9198.entry.js +0 -4
  434. package/lib/duet/p-c62aeb2e.entry.js +0 -4
  435. package/lib/duet/p-c8a66d4b.entry.js +0 -4
  436. package/lib/duet/p-cfd5c934.entry.js +0 -4
  437. package/lib/duet/p-d110954d.entry.js +0 -4
  438. package/lib/duet/p-d92c5cfa.entry.js +0 -4
  439. package/lib/duet/p-dbab30ea.entry.js +0 -4
  440. package/lib/duet/p-e18a1599.entry.js +0 -4
  441. package/lib/duet/p-e76051c3.entry.js +0 -4
  442. package/lib/duet/p-f51c072f.entry.js +0 -4
  443. package/lib/duet/p-f82079f2.entry.js +0 -4
@@ -394,32 +394,32 @@ export class DuetPagination {
394
394
  * Always the last one in the class.
395
395
  */
396
396
  render() {
397
- return (h(Host, { key: '0a70358ce0f093e096e1dbbb1d5d8cdfe9767d69', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, h("nav", { key: 'ceccfac31b9f41448ce5eca46838898d914cb04a', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
397
+ return (h(Host, { key: '4538c13203031ba738afe31bf944d5e5cf0822d0', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, h("nav", { key: 'f74353d0266706e3e98ba2eb0ffd427e17dd7d32', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
398
398
  "duet-pagination-nav": true,
399
399
  [`duet-pagination-variation-${this.variation}`]: true,
400
- } }, this.numbersStore !== "" && (h("div", { key: '92cbdd700b88123610e781217175f508bea468f2', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, h("duet-badge", { key: 'b006f1470134d68ac4851a60a897ea2b72c1f504', theme: this.theme }, "jump to page : ", this.numbersStore))), h("ol", { key: 'd08269283c6af3331e90f1793ee4407d6452c462', id: this.listId, class: {
400
+ } }, this.numbersStore !== "" && (h("div", { key: 'ef1c5623374551a2f397f3af374da758f18d32fc', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, h("duet-badge", { key: '952121198f2ef45be88514aadec01a5c96f3533d', theme: this.theme }, "jump to page : ", this.numbersStore))), h("ol", { key: 'a20aba22fa8fb86c7f85d2f53806d1ca4617f7a2', id: this.listId, class: {
401
401
  "duet-pagination": true,
402
402
  "duet-pagination-is-dimmed": this.numbersStore !== "",
403
- }, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '1b3c4f778862c5880011076f8c9f75b535e6b3cd', class: {
403
+ }, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '9a3b326a61e687c37098498586030cb657abfe50', class: {
404
404
  "duet-pagination-page-button": true,
405
405
  "duet-pagination-button-first": true,
406
- }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '9b83bfe8deff8790d0cb1e1a35b0ec7c7f1d3b0b', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), h("li", { key: '5c27b7649f0eb55d1d0d62d900b232004f004504', class: {
406
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: 'd09d305229036887195250ff68758d8ababcba46', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), h("li", { key: 'd894e457eb0d8a85407e2ff58336c515efc36b32', class: {
407
407
  "duet-pagination-page-button": true,
408
408
  "duet-pagination-button-first": true,
409
- }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '083ece272410b52d311ba5059d01c5b551f2f95a', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
409
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '608048896bdefbda08da9a074e885be4619213a5', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
410
410
  (this.current <= 1 && this.processedPageLinks) ||
411
- this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, { key: '332242feaa14df10ee1b67dbebc767fe366c34c4' }, h("li", { key: 'b03d55993042862a51c456d0a65958f33794fbee', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: '5eb8e18454bf78af277bc43286fb12d28af4e5f5', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, h("div", { key: '4631477be8ebc0c294f0aadec56efd0dc56c727f', class: "duet-pagination-page-number" }, "1"))), h("li", { key: '67268023a93c95fa305033c938cda65456f1bdf0', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: 'e9fe07279987c58857d72d70008998f859d7b531', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, h("div", { key: 'b01ec5da3a5355fb19d810bb67c25f5063fd3c3e', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
412
- this.shouldDisplayNavigation() && (h(Fragment, { key: '93b37ef102d9d74bf259b0da952e249df751806f' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (h("li", { key: '49a99877b3ef31c365edcd87ad3853ff0bdd2e06', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: '7a61e3153910f73b9b5ca458c84c0b5690c37a7a', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, h("div", { key: '54230cb78461870c410262951dea3591979e476f', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), h("li", { key: '6a218768ef3d2f4f19bc763704ca4ecf640ac953', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: '13b446158c56459c4193f8a56915e393a32e85bd', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
411
+ this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, { key: 'c61298ec08d9d456084704599138fa6947b90f5a' }, h("li", { key: '353c539572913f5c79da697cbbe5904424b66451', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: '3fc0820a55c18784babaa94cc582742d7f7ce81d', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, h("div", { key: 'b4f8be4468d0c1fb1e45eefe35d0d25a8e35cee5', class: "duet-pagination-page-number" }, "1"))), h("li", { key: '3d2bcf407aff2366deac05bdbc9e02162a1634ea', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: 'cb9ae00667627845552094b399840bf08a76c63c', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, h("div", { key: '39ef13340bc1908984d40d1f428e0e541a346a38', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
412
+ this.shouldDisplayNavigation() && (h(Fragment, { key: '3c2d5586ebf42d2c8fd8f651bae865e4bb7a61bf' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (h("li", { key: '3ff93a876610de4018caa32e8a0836bc93174408', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: '6febe996395f01852e2fde2c454f5a296e395141', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, h("div", { key: 'd010e340fc4dd341ca566109f5a1c38a89857411', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), h("li", { key: '984d35d520c9b995ed48c7fbc7a58bfd8c89357d', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: '5bb07665b261db54475de478bf2f5fb974ee4047', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
413
413
  ? this.processedPageLinks[this.processedPageLinks.length - 1]
414
- : undefined }, h("div", { key: '372d0d315cbc8ac6edc3bfae39220c446c6d6a98', class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { key: '0638ff6dfc64a693f0595137ad8cd393489d4a8d', class: {
414
+ : undefined }, h("div", { key: '559d8dd4a0f63d440523de1ff4879cbcd8bca408', class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { key: '9c986c1207ec4918758a931d009d48708818e736', class: {
415
415
  "duet-pagination-page-button": true,
416
416
  "duet-pagination-button-last": true,
417
- }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: 'd7595281e09ac50160ce945f85bea6315e01621d', disabled: !!((this.current === this.totalPages &&
417
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: 'c8f4048dcf9cb28c6bd4d43c1d1945c2da15ce50', disabled: !!((this.current === this.totalPages &&
418
418
  this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
419
- (this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: 'f2c14e79716cbd0e8876b4f3a41d96f6e4c93003', class: {
419
+ (this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: 'f605fc50e28b58a780fa938885031353088d1fc5', class: {
420
420
  "duet-pagination-page-button": true,
421
421
  "duet-pagination-button-last": true,
422
- }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '96c1da12be49a1062bf008da7829eb6bb030ae66', disabled: (this.current === this.totalPages &&
422
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: 'da162ed3e9a0bb469be3670395bccda489aeb97a', disabled: (this.current === this.totalPages &&
423
423
  this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
424
424
  this.disabled, accessibleLabel: this.accessibleLabels.last_page, title: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), "icon-name": "action-move-to-last", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.totalPages - 1] : undefined })))))));
425
425
  }
@@ -1,3 +1,4 @@
1
+ /* stylelint-disable scss/at-rule-no-unknown */
1
2
  :host {
2
3
  box-sizing: border-box;
3
4
  padding: 0;
@@ -12,7 +13,7 @@
12
13
  width: 100%;
13
14
  margin: 8px 0 20px 0;
14
15
  }
15
- @media (min-width: 36em) {
16
+ @container (width > 36em) {
16
17
  :host {
17
18
  margin: 12px 0 28px 0;
18
19
  }
@@ -37,7 +38,7 @@
37
38
  padding: 16px;
38
39
  border-radius: 12px;
39
40
  }
40
- @media (min-width: 36em) {
41
+ @container (width > 36em) {
41
42
  .duet-panel.padding-small {
42
43
  padding: 20px;
43
44
  }
@@ -45,7 +46,7 @@
45
46
  .duet-panel.padding-medium {
46
47
  padding: 20px;
47
48
  }
48
- @media (min-width: 36em) {
49
+ @container (width > 36em) {
49
50
  .duet-panel.padding-medium {
50
51
  padding: 28px;
51
52
  }
@@ -53,7 +54,7 @@
53
54
  .duet-panel.padding-large {
54
55
  padding: 28px;
55
56
  }
56
- @media (min-width: 36em) {
57
+ @container (width > 36em) {
57
58
  .duet-panel.padding-large {
58
59
  padding: 36px;
59
60
  }
@@ -30,7 +30,7 @@ export class DuetPanel {
30
30
  inheritGlobalTheme(this);
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: 'ce2c9ad02ea4b482491120c4564322a7ab1b97c8' }, h("section", { key: '058ae2c34b915888645f0a0fbce8c905f9a99330', "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy, "aria-describedby": this.accessibleDescribedBy, class: {
33
+ return (h(Host, { key: 'ba9383fe5d683d44e90c7e3d9f3539365dfbe497' }, h("section", { key: '149796219e3ea56f5fdeab2e2aeaa8ddb3d1fb7e', "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy, "aria-describedby": this.accessibleDescribedBy, class: {
34
34
  "duet-panel": true,
35
35
  "duet-theme-turva": this.theme === "turva",
36
36
  [this.variation.split("-")[0]]: true,
@@ -38,7 +38,7 @@ export class DuetPanel {
38
38
  [`padding-${this.padding}`]: true,
39
39
  border: this.border,
40
40
  "duet-m-0": this.margin === "none",
41
- } }, h("slot", { key: 'eabfa138724309e78227fb8e48507a2a065c5822' }))));
41
+ } }, h("slot", { key: '8291e9635f7795c4e54dfef34239dcda4dbdb33a' }))));
42
42
  }
43
43
  static get is() { return "duet-panel"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -51,7 +51,7 @@ export class DuetParagraph {
51
51
  const color = getColorByName(this.color);
52
52
  // aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
53
53
  // are not announced when placed inside duet-modal
54
- return (h(Host, { key: '844328a8133f4abbbbd2424b38cc14b019fd23d4', "aria-describedby": this.id }, h("p", { key: 'dfd78aa829ee142323997f6bebde60ac47bb98e7', id: this.id, class: {
54
+ return (h(Host, { key: '99168fa787b98f3c65146d539ac5a1c391254a95', "aria-describedby": this.id }, h("p", { key: '9b4fb9eb7525804fd786ca72c13bafdfb4c9dfc8', id: this.id, class: {
55
55
  "duet-paragraph": true,
56
56
  "duet-paragraph-small": this.size === "small",
57
57
  "duet-paragraph-semi-bold": this.weight === "semi-bold",
@@ -59,7 +59,7 @@ export class DuetParagraph {
59
59
  "duet-m-0": this.margin === "none",
60
60
  [this.variation]: true,
61
61
  "duet-theme-turva": this.theme === "turva",
62
- }, style: { color }, part: "duet-paragraph" }, h("slot", { key: 'f014b5496f1b791cc2879b09bd12dd85649fb0e3' }))));
62
+ }, style: { color }, part: "duet-paragraph" }, h("slot", { key: '2cc4063866d09f9fc1569bbf3d26661472485147' }))));
63
63
  }
64
64
  static get is() { return "duet-paragraph"; }
65
65
  static get encapsulation() { return "shadow"; }
@@ -81,6 +81,11 @@ export class DuetPhoneInput {
81
81
  * Tooltip to display next to the label of the input.
82
82
  */
83
83
  this.tooltip = "";
84
+ /**
85
+ * If the value is set above before the component has rendered, the ref to duetInputElement has not yet been set.
86
+ * In these cases we set the value to this.pendingValue and after the first render pass it on to this.duetInputElement.
87
+ */
88
+ this.pendingValue = undefined;
84
89
  /**
85
90
  * Countries to list at the top of the popup-menu, given as an array or comma separated list of ISO 3166-2 codes.
86
91
  * @default ["FI", "SE"]
@@ -189,8 +194,13 @@ export class DuetPhoneInput {
189
194
  return (_c = (_b = (_a = this.duetInputElement) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.replace(/\s/g, "")) !== null && _c !== void 0 ? _c : "";
190
195
  }
191
196
  set value(val) {
192
- this.duetInputElement.value = `${val}`.replace(/[^\d+ ]/g, "");
193
- this.handleInput();
197
+ if (!this.duetInputElement) {
198
+ this.pendingValue = val;
199
+ }
200
+ else {
201
+ this.duetInputElement.value = `${val}`.replace(/[^\d+ ]/g, "");
202
+ this.handleInput();
203
+ }
194
204
  }
195
205
  /**
196
206
  * This is a proxy for the enclosed native inputs validity
@@ -207,6 +217,11 @@ export class DuetPhoneInput {
207
217
  checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
208
218
  this.setListFirstCountries();
209
219
  }
220
+ componentDidLoad() {
221
+ if (this.pendingValue) {
222
+ this.duetInputElement.value = this.pendingValue;
223
+ }
224
+ }
210
225
  connectedCallback() {
211
226
  connectLanguageChangeObserver(this, { prop: "label", defaults: "labelDefaults" });
212
227
  subscribeTabbingChange(this);
@@ -282,7 +297,7 @@ export class DuetPhoneInput {
282
297
  "duet-theme-turva": this.theme === "turva",
283
298
  "duet-expand": this.expand,
284
299
  "duet-m-0": this.margin === "none",
285
- } }, h("div", { class: "duet-phone-input-container" }, h("duet-popup-menu", { ref: el => (this.countryCodePopup = el), scrollLimit: 10, showFilterInput: true }, this.countriesToList.map(country => country.isoCode === lastListFirstCode ? (h(Fragment, null, h("duet-popup-menu-item", { value: country.isoCode, onClick: this.handleCountryCodeSelectorSelect }, h("duet-grid", { alignment: "center" }, this.renderFlag(country.isoCode), h("span", null, country[this.language], " (+", country.telephoneCountryCode, ")"))), h("duet-divider", null))) : (h("duet-popup-menu-item", { value: country.isoCode, onClick: this.handleCountryCodeSelectorSelect }, h("duet-grid", { alignment: "center" }, this.renderFlag(country.isoCode), h("span", null, country[this.language], " (+", country.telephoneCountryCode, ")")))))), h("duet-input", { ref: el => (this.duetInputElement = el), onDuetChange: this.handleChange, onDuetFocus: this.handleFocus, onDuetBlur: this.handleBlur, onDuetInput: this.handleInput, label: this.label, caption: this.caption, error: this.error, name: this.name, component: "phone", variation: "button-left", type: "tel", disallowPattern: "[^\\+0-9 ]", required: this.required, disabled: this.disabled, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true }, h("duet-button", { ref: el => (this.countryCodeButton = el), slot: "button-left", variation: "input-button-left-secondary", margin: "none", fixed: true, icon: "action-arrow-down-small", iconSize: "small", iconRight: true, accessibleLabel: this.buttonAriaLabel[this.language], onClick: this.handleCountryCodeSelectorOpen }, h("span", { class: "flag-container" }, this.getFlagForButton())), h("slot", { name: "tooltip" })))));
300
+ } }, h("div", { class: "duet-phone-input-container" }, h("duet-popup-menu", { ref: el => (this.countryCodePopup = el), scrollLimit: 10, showFilterInput: true }, this.countriesToList.map(country => country.isoCode === lastListFirstCode ? (h(Fragment, null, h("duet-popup-menu-item", { value: country.isoCode, onClick: this.handleCountryCodeSelectorSelect }, h("duet-grid", { alignment: "center" }, this.renderFlag(country.isoCode), h("span", null, country[this.language], " (+", country.telephoneCountryCode, ")"))), h("duet-divider", null))) : (h("duet-popup-menu-item", { value: country.isoCode, onClick: this.handleCountryCodeSelectorSelect }, h("duet-grid", { alignment: "center" }, this.renderFlag(country.isoCode), h("span", null, country[this.language], " (+", country.telephoneCountryCode, ")")))))), h("duet-input", { ref: el => (this.duetInputElement = el), onDuetChange: this.handleChange, onDuetFocus: this.handleFocus, onDuetBlur: this.handleBlur, onDuetInput: this.handleInput, label: this.label, caption: this.caption, error: this.error, name: this.name, minlength: this.minlength, maxlength: this.maxlength, component: "phone", variation: "button-left", type: "tel", disallowPattern: "[^\\+0-9 ]", required: this.required, disabled: this.disabled, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true }, h("duet-button", { ref: el => (this.countryCodeButton = el), slot: "button-left", variation: "input-button-left-secondary", margin: "none", fixed: true, icon: "action-arrow-down-small", iconSize: "small", iconRight: true, accessibleLabel: this.buttonAriaLabel[this.language], onClick: this.handleCountryCodeSelectorOpen }, h("span", { class: "flag-container" }, this.getFlagForButton())), h("slot", { name: "tooltip" })))));
286
301
  }
287
302
  static get is() { return "duet-phone-input"; }
288
303
  static get encapsulation() { return "shadow"; }
@@ -684,6 +699,44 @@ export class DuetPhoneInput {
684
699
  "reflect": false,
685
700
  "defaultValue": "\"\""
686
701
  },
702
+ "maxlength": {
703
+ "type": "number",
704
+ "attribute": "maxlength",
705
+ "mutable": false,
706
+ "complexType": {
707
+ "original": "number",
708
+ "resolved": "number",
709
+ "references": {}
710
+ },
711
+ "required": false,
712
+ "optional": false,
713
+ "docs": {
714
+ "tags": [],
715
+ "text": "Use maxlength to specify the maximum length of the value that can be entered."
716
+ },
717
+ "getter": false,
718
+ "setter": false,
719
+ "reflect": false
720
+ },
721
+ "minlength": {
722
+ "type": "number",
723
+ "attribute": "minlength",
724
+ "mutable": false,
725
+ "complexType": {
726
+ "original": "number",
727
+ "resolved": "number",
728
+ "references": {}
729
+ },
730
+ "required": false,
731
+ "optional": false,
732
+ "docs": {
733
+ "tags": [],
734
+ "text": "Use minlength to specify the minimum length of the value that can be entered."
735
+ },
736
+ "getter": false,
737
+ "setter": false,
738
+ "reflect": false
739
+ },
687
740
  "value": {
688
741
  "type": "string",
689
742
  "attribute": "value",
@@ -101,11 +101,11 @@ export class DuetPopupMenuItem {
101
101
  };
102
102
  // Without the role ternary Safari/iPhone wouldn't announce the label for role menuitem.
103
103
  // This is a tradeoff and now Safari announces these items as buttons and links with the label.
104
- return (h(Host, { key: '8e31b4732e423f363115f217c220217f85a3899a', role: this.accessibleRole === "menuitem" && this.isSafariBrowser ? null : this.accessibleRole }, h(TagName, { key: '4c9a0b3966b5b11b3f8286fdc7bbe83ce93f5df9', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (h("duet-icon", { key: 'decd1fdc669965de735b9538d8256ea34b7d12b7', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), h("span", { key: 'bd28f3d116506e2168fc3e5530d086fa0dd0edcd', class: "duet-popup-menu-item-label" }, h("slot", { key: '0aebe6bcf50f8fbbd7d89bbdc0c4f484f67adb6d' })), (this.trailingIcon || this.active || (this.url && this.external)) && (h("duet-icon", { key: '616a80b13b29eb90f003a163bbcded07a551b58c', name: this.url && this.external
104
+ return (h(Host, { key: '69c44a1d58780969eb4ac52879cd12d91f138a54', role: this.accessibleRole === "menuitem" && this.isSafariBrowser ? null : this.accessibleRole }, h(TagName, { key: 'b4a7e9fc9c862bd2ef7e82abde09d9454e9b1585', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (h("duet-icon", { key: '8a4412f1d2aa25c099780b3441d4ed06699fe987', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), h("span", { key: 'a08f5aef8339a1c96e16c05f87cf60bf0fda3a0e', class: "duet-popup-menu-item-label" }, h("slot", { key: '1ccdab3f89ce6fc1ce8222e7219c6d68f99ab61e' })), (this.trailingIcon || this.active || (this.url && this.external)) && (h("duet-icon", { key: '0f2158f8bbbda5ef74e8b559d9c7399c15ec67b2', name: this.url && this.external
105
105
  ? newWindowIcon.title
106
106
  : this.active
107
107
  ? "messaging-checked-small"
108
- : this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { key: '74e587e4cc5c0c431f068bb7974ee8c385cf4259', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
108
+ : this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { key: 'bdce9e7ce0ae1db78450e59113a6a48de13ef306', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
109
109
  }
110
110
  static get is() { return "duet-popup-menu-item"; }
111
111
  static get encapsulation() { return "shadow"; }
@@ -70,12 +70,12 @@ export class DuetPromoCard {
70
70
  backgroundColor: backgroundColor ? backgroundColor : "none",
71
71
  };
72
72
  const TagName = this.url ? "a" : "div";
73
- return (h(Host, { key: 'dcfc9fe0c01bdd6a3c127d33e73c786dfe34403d', class: { "duet-m-0": this.margin === "none" } }, h("aside", { key: '08e0c5687e205a7b69e0c9ce9c874061a5c77158', class: {
73
+ return (h(Host, { key: 'dc2cca9861a1e0c15b93ea6f29247986eb98d268', class: { "duet-m-0": this.margin === "none" } }, h("aside", { key: 'b0bf8b66f35c1edc6a61dbea64f18e3617ec2a11', class: {
74
74
  "duet-promo-card": true,
75
75
  "duet-theme-turva": this.theme === "turva",
76
76
  "no-bg-color": !this.backgroundColor,
77
77
  "duet-promo-card-link": !!this.url,
78
- }, style: bannerStyles }, h(TagName, { key: 'c44a877377e4e16e1cf651165ada068712de8a1d', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, h("img", { key: 'e9349820426a672f8e7106f0376e5b5ca9be639c', class: "image", src: this.image, alt: "", role: "presentation" }), h("div", { key: '7a79c417f607e37608dee33ea1a463ca87ed8736', class: "content" }, this.hasPreHeadingSlot && (h("div", { key: 'fce0bc86243d0fe8174b4e1b5e0aeaca9e2fa285', class: "pre-heading" }, h("slot", { key: '55ea16147dbd175071917cee3beda6db4679a6fe', name: "pre-heading" }))), this.hasHeadingSlot && (h("div", { key: 'f5298df0419f9dda577c8ee5632a15e1860f8cf8', class: "heading" }, h("duet-heading", { key: '608bb6c15a2cb6abf5e4f175581738db58fe24ec', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: '42abfd8c2e6d350602767b60f3491e0fd575322e' }, h("slot", { key: '4048b41700d0a54a11df20e4c1a180d662424b76', name: "heading" }))))), this.hasDescriptionSlot && (h("div", { key: 'dc7662d900140f51c633ece8abcc46cc1187f5ef', class: "description" }, h("duet-paragraph", { key: 'c61e556777f7dc382d06c913e7e1990304aa5740', theme: this.theme, margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: '610970b31c93d2fe14c1d967a43105e3fe7737f3' }, h("slot", { key: 'c38b144ab61f06d8b8df9d072a89acc5c7357a3c', name: "description" }))))), this.hasActionSlot && (h("div", { key: '8206bdc5367fd9cca9eab63539ac488cc8233c14', class: "action" }, h("slot", { key: '162fa1fe7c8ead96253bc3e43bb0d663054a4c37', name: "action" }))))))));
78
+ }, style: bannerStyles }, h(TagName, { key: '8e479735705a8fc5cbe67b78dc74d63eb351abb1', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, h("img", { key: 'ca59fe0d082b54c7fcb3725d7ab17d9bcbdea992', class: "image", src: this.image, alt: "", role: "presentation" }), h("div", { key: 'bb932a867cca710efa77488065fea73293daddab', class: "content" }, this.hasPreHeadingSlot && (h("div", { key: '642577f6fcd203efd73700e4c553502aa2d56733', class: "pre-heading" }, h("slot", { key: '153d63289a49239bc9aecdba096675757d4a1630', name: "pre-heading" }))), this.hasHeadingSlot && (h("div", { key: '6a7cad0fc8841e0e65ddacd5d482d8df246923f6', class: "heading" }, h("duet-heading", { key: '5262b84f2429bc6c7e47876f24bc7139a8f1b46f', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: '3cf56a75df5349003df143f2aa22cf439847a842' }, h("slot", { key: 'e6879565328b3898ee569cd7a13ad064da0686f7', name: "heading" }))))), this.hasDescriptionSlot && (h("div", { key: '1b6ce64573256914244b57f7a68297915846404c', class: "description" }, h("duet-paragraph", { key: '23e88abdcecce551c435aee9f927d64ec0e9ad61', theme: this.theme, margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: 'e4e17be56c742e06ecafce3b10245e4a8fbeac5c' }, h("slot", { key: '87a1787857492630ca860582bd92d967899e6b41', name: "description" }))))), this.hasActionSlot && (h("div", { key: 'd24d4f1279e861f01dd9b36bd8bf6d2a765b9321', class: "action" }, h("slot", { key: '9abdd9f8370819e8d49ae68e7ee944d7bd970bdf', name: "action" }))))))));
79
79
  }
80
80
  static get is() { return "duet-promo-card"; }
81
81
  static get encapsulation() { return "shadow"; }
@@ -182,16 +182,16 @@ export class DuetRadio {
182
182
  * Always the last one in the class.
183
183
  */
184
184
  render() {
185
- return (h(Host, { key: '173f8f9bee06f6f1fce187b223c661a737e724a5', onClick: this.onClick, class: {
185
+ return (h(Host, { key: '5b1a38835b8478e9e31e2893f654d4a7da0de880', onClick: this.onClick, class: {
186
186
  horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
187
187
  "horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
188
188
  "duet-m-0": this.margin === "none",
189
- } }, h("div", { key: 'c234b7ed5eb36bcce5c89ebe92b3347245136267', class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } }, h("slot", { key: '064045eefce1bcd83621abeba85129b345867a9e', name: "input" }), h("label", { key: '28efb57846fef34d8be372c9d9ac351120efa58d', inert: true, ref: element => (this.labelElement = element), class: {
189
+ } }, h("div", { key: '7397b43b1104dbdc870ec0ad65793bd372062eaf', class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } }, h("slot", { key: '8daf569056a859f5362236e546a61e958ba4bcaf', name: "input" }), h("label", { key: '3acd012b17207cf38a15085d2cc868b3e4cc8c1c', inert: true, ref: element => (this.labelElement = element), class: {
190
190
  "duet-label": true,
191
191
  checked: this.checked,
192
192
  focus: this.focus,
193
193
  disabled: this.disabled || this.groupDisabled,
194
- } }, h("div", { key: '1f6a2376b2c34c7f5479eac3817b3f3c92b7ca42', class: "duet-label-content" }, this.hasLabel ? h("slot", { name: "label" }) : this.label)))));
194
+ } }, h("div", { key: '5fb433fd2fe57f3e560fdefcabff68999301596a', class: "duet-label-content" }, this.hasLabel ? h("slot", { name: "label" }) : this.label)))));
195
195
  }
196
196
  static get is() { return "duet-radio"; }
197
197
  static get encapsulation() { return "shadow"; }
@@ -158,7 +158,7 @@ export class DuetRadioGroup {
158
158
  * Always the last one in the class.
159
159
  */
160
160
  render() {
161
- return (h(Host, { key: 'ce0d325f055e68197bbdfc9f84f2b1f318483134', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, h("duet-fieldset", { key: '8f73fa5457e7e95a5e86c5c69875c10ead9e703a', 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 && (h("duet-tooltip", { key: 'd6d6455b725d087219d8aa4aa261530ef6e00d16', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '26c388eeed2a7782327e859bc08f6cdd17a22515', name: "tooltip" }), h("div", { key: '7ebf921fb7de9817005aa82317f2cd21736baa48', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '8d0088c7a3b3951fcede92d7da5aae7a1eb8dc41' })))));
161
+ return (h(Host, { key: '75281a29a3832c1cb7da47661917bfafc9c62417', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, h("duet-fieldset", { key: '2901f0bea0d5dfc88cf8294e6327eae318126730', 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 && (h("duet-tooltip", { key: '678ff82e3e50fcce19e728f2de3e6e5afdbab92b', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '9e6ab1dae2009df95255f36f15c81fffcfbf2550', name: "tooltip" }), h("div", { key: 'b5cafc4677568d85eb02dcd9db30a05415beabb7', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '7f6b9bf1351b7d2133068f7039aea53d8a8d51a3' })))));
162
162
  }
163
163
  static get is() { return "duet-radio-group"; }
164
164
  static get encapsulation() { return "shadow"; }
@@ -156,13 +156,13 @@ export class DuetRangeSlider {
156
156
  const rangeStyles = {
157
157
  background: `-webkit-linear-gradient(left,${active} 0%,${active} ${percentage}%,${inactive} ${percentage}%)`,
158
158
  };
159
- return (h(Host, { key: '8ae2f8b801002f2d7f36a1f6f2c5d9de5e52d480', class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, h("div", { key: '3faa6f6b699d012b9d6ff43f0f5255dee1842fe8', class: {
159
+ return (h(Host, { key: 'b314e267c1ad480ad5bde17e9dcee976fd141e43', class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, h("div", { key: '87813c3a581e46540a20e21013e121db45cb7f5c', class: {
160
160
  "duet-range-container": true,
161
161
  "duet-label-hidden": this.labelHidden,
162
162
  "duet-theme-turva": this.theme === "turva",
163
163
  "duet-ie": isInternetExplorer(),
164
164
  "duet-range-disabled": this.disabled,
165
- } }, h(DuetInternalLabel, { key: '330e765a6f42437f0ec80c8fd12f02aa9c8f564d', theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small", for: identifier }, this.label), h("output", { key: '91a85bd1d5816c694a32882bbe3bce178afe76ba', "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), h("input", { key: '9ccf4115591954ca7123216d7fda90ca24a3a06d', onInput: this.onInput, onChange: this.onChange, ref: input => (this.nativeInput = input), type: "range", min: this.min, max: this.max, step: this.step, value: this.value, style: rangeStyles, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} ${this.unit}`, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, name: this.name, disabled: this.disabled, required: this.required, class: "duet-range" }))));
165
+ } }, h(DuetInternalLabel, { key: 'b5d4bd9d56df7b88df2bdde8c28f1b01009e8821', theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small", for: identifier }, this.label), h("output", { key: '6c30c88731245730cfcf47e2d00a823147708e7d', "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), h("input", { key: '3e72fea4ee736546b6eee5aa15e70c80d73ee4de', onInput: this.onInput, onChange: this.onChange, ref: input => (this.nativeInput = input), type: "range", min: this.min, max: this.max, step: this.step, value: this.value, style: rangeStyles, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} ${this.unit}`, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, name: this.name, disabled: this.disabled, required: this.required, class: "duet-range" }))));
166
166
  }
167
167
  static get is() { return "duet-range-slider"; }
168
168
  static get encapsulation() { return "shadow"; }
@@ -196,10 +196,10 @@ export class DuetRangeStepper {
196
196
  * Always the last one in the class.
197
197
  */
198
198
  render() {
199
- return (h("div", { key: '1b5b22965b01d2a7ae85b7339ee8645f8349f4b6', class: {
199
+ return (h("div", { key: '2a89e50996cd8e4042f3346509ddfa57d0bd52f1', class: {
200
200
  "duet-range-stepper": true,
201
201
  "duet-theme-turva": this.theme === "turva",
202
- }, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, h("span", { key: '54b38991bc5f22f1834a911aab5adcb3f5564728', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), h("duet-action-button", { key: '1f0e154e3dc32e14ebf7ec696182b11915045b5a', disabled: this.disabled || this.buttonLeftDisabled, class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small", title: "" }), h("duet-action-button", { key: '2531345ee7783cc6b6c2e742abdf6240aea88bb9', disabled: this.disabled || this.buttonRightDisabled, class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small", title: "" })));
202
+ }, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, h("span", { key: 'aaf1114df81cf75124d221b335b34836eab22c02', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), h("duet-action-button", { key: 'b1b61bd073925f8bb4ecbbe04a90ed652f029254', disabled: this.disabled || this.buttonLeftDisabled, class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small", title: "" }), h("duet-action-button", { key: 'de3659fcb369d0501251878bf6a9edaa334893cf', disabled: this.disabled || this.buttonRightDisabled, class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small", title: "" })));
203
203
  }
204
204
  static get is() { return "duet-range-stepper"; }
205
205
  static get encapsulation() { return "shadow"; }
@@ -265,18 +265,18 @@ export class DuetScrollable {
265
265
  * Always the last one in the class.
266
266
  */
267
267
  render() {
268
- return (h(Host, { key: '0052e12de4aea5e4a3f67e031c90f4f6d9ad53d7', class: {
268
+ return (h(Host, { key: '08bd619c649c87a18350a6482f12d1e4f5faa74f', class: {
269
269
  "duet-theme-turva": this.theme === "turva",
270
270
  "duet-theme-default": this.theme === "default",
271
- } }, this.hasCollapseButtonLabelSlot && (h("div", { key: '9aa2cbde134aa4bdfe60c540cea270c5db2487a2', class: {
271
+ } }, this.hasCollapseButtonLabelSlot && (h("div", { key: 'bf374209112d29e4af9efff12abdf32d54b68b7b', class: {
272
272
  collapse: true,
273
273
  hide: !this.needsScrolling && !this.collapsed,
274
- } }, h("duet-button", { key: '10acabde835061194bee92f32e954d2912d768d2', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, h("slot", { key: 'be354ed8ac0f0f5f6e51a64764d311498a90f3a4', name: "collapse-button-label" })))), h("div", { key: '7c9a6efbf372a908873364f1140e57c8e085ea28', class: {
274
+ } }, h("duet-button", { key: '436c9918ceb503be3611af38dc0513ab300891af', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, h("slot", { key: '64504fe187f7ce121654dbf25597dd06ef23fbb1', name: "collapse-button-label" })))), h("div", { key: '10852d822fc4164466dfe48b2ccf33904cae5e14', class: {
275
275
  "duet-scrollable-items": true,
276
276
  buttons: this.buttons,
277
277
  center: this.center,
278
278
  "duet-theme-turva": this.theme === "turva",
279
- } }, this.buttons && this.renderButton("left"), h("div", { key: '228646dca94886c735c18f35755b30d67cb3e082', class: {
279
+ } }, this.buttons && this.renderButton("left"), h("div", { key: '119261686c6a1e4511d4ed3ba74d3c5795f83b34', class: {
280
280
  "duet-scrollable-list": true,
281
281
  [`duet-scrollable-list--${this.buttonPosition}`]: true,
282
282
  [`gap-${this.gap}`]: true,
@@ -284,7 +284,7 @@ export class DuetScrollable {
284
284
  [`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
285
285
  [`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
286
286
  "duet-scrollable-stretch": this.stretch,
287
- }, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: '4453deb9090c1ad53469a85232d2c188f9f2556f' })), this.buttons && this.renderButton("right"))));
287
+ }, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: 'dd02f8d349e59303232b4338d115fd192cb31f9b' })), this.buttons && this.renderButton("right"))));
288
288
  }
289
289
  static get is() { return "duet-scrollable"; }
290
290
  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: '092586b7c997c6c850a1e6c3af1379765d077b2f', class: {
27
+ return (h(Host, { key: '1423181d3efb8f77211a81db6dc7a415457b23f4', class: {
28
28
  "duet-middle": this.middle,
29
29
  "duet-ie": isInternetExplorer(),
30
- } }, h("div", { key: '125c4e3f67f73ee0eed48dcb561349e28587aefd', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, h("div", { key: 'e1786b2d7a0c258bdd3d92bb8132ea0c2371ab36', 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: 'cabd2f501a9c6826a30beb2bf40993d0942a1415', class: "duet-main" }, h("slot", { key: 'ee9b8efe014ed27a0e6838028d5060590444ee42' }))))));
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"; }
@@ -200,23 +200,23 @@ export class DuetSelect {
200
200
  */
201
201
  render() {
202
202
  const identifier = this.identifier || this.selectId;
203
- return (h(Host, { key: '3d3bc7d84000806ae8fab973ba04c08a25dc0c2f', onClick: this.onClick, class: {
203
+ return (h(Host, { key: '12696ad891ed3aac656379150b4fb42ee9b438eb', onClick: this.onClick, class: {
204
204
  "duet-m-0": this.margin === "none",
205
205
  "duet-expand": this.expand,
206
206
  [`duet-select-variation-${this.variation}`]: true,
207
- } }, h("div", { key: 'fe0f4b2d68a812713191449693d63fa56513164e', class: {
207
+ } }, h("div", { key: '48c83de632dfb790e5cde841fd86e518806ab9d0', class: {
208
208
  "duet-select-container": true,
209
209
  "duet-label-hidden": this.labelHidden,
210
210
  "duet-theme-turva": this.theme === "turva",
211
211
  [`duet-select-variation-${this.variation}`]: true,
212
212
  "duet-input-top-caption-shown": this.isCaptionVisible,
213
213
  "has-error": !!this.error,
214
- } }, h(DuetInternalLabel, { key: 'a44feea69dd179e6c27685de9074cf3fa966b571', 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: '7a3d46b3f60d283ecfa474b05a918fa8c505d1aa', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '3566d83ece8668e83b0ccde241ed49418ed941e4', name: "tooltip" }), this.caption && (h("duet-caption", { key: '709ed39dea050b314217f5de4190535166a82f3c', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: 'cf8a14439328e37ccc1d41c38190c18414b894ea', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '1b439a475ac5a6220bbab2d93f827c089a7a5c7b', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), h("slot", { key: '15182f28fa38955377dc822ab7d8ff61238cb4d8' }), h("select", { key: '99ca572fb0b31f28659712b18accef2b30225d4a', 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: '8e7c047411a37cd3a8a82415566d6f73e71a5533', 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 => {
214
+ } }, h(DuetInternalLabel, { key: '58a180baf718e83ccd6afc154b0986098c378041', 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: 'e569b839a9c0c2e02624ec892239f94f84c0d2b5', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: 'd6d7c011dfb11ddadbaf95b5391c124d1e7a76f1', name: "tooltip" }), this.caption && (h("duet-caption", { key: 'eeff5cb9ef75a161020d0c3ed5d7c4bc22cc2f75', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: 'b483936049468a651634c5d5e075c860d1ddbc91', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: 'eb3c277270c2177dfd2a2381d137815d22681d4f', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), h("slot", { key: 'b6a901c14de9ba56540e08e685b1ae4bd95bfde3' }), h("select", { key: '19653ed57dce9ee8ebb05c92530e49940e72dd4c', 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: '61d96c9c682e4789d6ee1c38c7e77683851aea20', 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 => {
215
215
  return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
216
- }))), h("div", { key: '05ac432d89ce773e077f01f7b272484f110f10db', class: {
216
+ }))), h("div", { key: 'c54b8f6526bdb4c98ea68c129515f218d0f6d72d', class: {
217
217
  "duet-select": true,
218
218
  [`duet-select-variation-${this.variation}`]: true,
219
- }, "aria-hidden": "true" }, h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (h("svg", { key: '3c6969c19468b5a26e8cc95ec2947442dcebc42a', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '36c334a0f8ce00a2b0099d3941570f8526d15dbb', 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: 'f0698dcc03bf523766986c548fa5cad2a6b1875c', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), h("span", { key: 'ae2878e5f962708b0a8cdcf15e22c79e9b26f9d5', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), h("span", { key: '9f818a79660ccb1e79c0b5160541da183d5b371e', class: "duet-select-help duet-select-error", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span", { key: '38b9169e9a7418f193b97512f6303a8e90215e06' }, this.error)))));
219
+ }, "aria-hidden": "true" }, h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (h("svg", { key: '975172b711f315f369710ab9999b4923e8fd2e6c', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '4ad21d1d0deb94b461d329c447165357d6c3fe41', 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: '69d1a79414b3f6a979f5f949f16c386e79c92014', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), h("span", { key: 'da0790b7bc5ef09391ac1b111b168e0ea4a699e5', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), h("span", { key: 'ff0bd43faa6dee4142d0ae21c780becd40a73e8f', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span", { key: '7b5256e5baf684112fc012ac735261731e128bb2', class: "duet-select-error" }, this.error)))));
220
220
  }
221
221
  static get is() { return "duet-select"; }
222
222
  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: 'dcc19a1624a88154af7cf3c3c895bde83dc28d15', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, h("span", { key: 'e1a1750e828b0b337433d0cfcc2377be44a03642', 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: 'a75be0a31d3bcef5b7c0191aa5da4235f8f9b548', class: "shaped-image-mask", role: "presentation" }, h("span", { key: '19a03a8a14b1ec7a15c8938e031d73d78819bf00', 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: '3ada6920466227b32ee18d3bdee2fb8762a555ea' }, h("div", { key: 'f2abaf3b3e3e631e48c4df538c397953f133c357', 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: '47cc62dfd72a9fd17cfd34e42ddefc84368f8277', 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: '0dd9f58d3af51af5179e5a93dc18a4ab34c519f3' })));
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: '9b3c4881b8b8c51625dd470b88b67988841b2ca1' }, h("div", { key: '9394034bdf632e6c75848d95faec2ab3ffd75ba8', hidden: true }, h("slot", { key: 'd0341130c130271d932639f4d5dc0678432272ad' }))));
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: 'a43de6a4bae0a8c38852a11a7b384b7f104ec024' }, h("div", { key: '74f8d429039d38ea1151aeab159f34cfed375df6', class: {
139
+ return (h(Host, { key: '5a2691671f8db729580e5e163f0a4172065b60a1' }, h("div", { key: 'd00e9ad7eec18c34b53f35be55000cc238e96d41', 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: '1e7b359e2ec056100a22d4fcdf12a9afd3432f36', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "-1" : "" }, h("div", { key: 'd56eb046a4f700defffcefd1c279149ab85b68ae', class: { "slotted-content": true } }, h("slot", { key: '4978e6989abb32797fd956d5bb35d1e860b63f71' }))), h("duet-button", { key: 'ba557d00ed023a0b31efcf3480e1b30b326e6799', 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: '106762507a1b6c28e334d0c383ff481b9a4bf8aa' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
144
+ } }, h("div", { key: '4db263318b4e7dd0a0b79d2ce7db9708194246c4', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "-1" : "" }, h("div", { key: 'e3a7ffd7b7acf798ecbcbacd26e721471c48c447', class: { "slotted-content": true } }, h("slot", { key: 'db2dbe58ad4f75648f0e98c80dd00a1909f745f9' }))), h("duet-button", { key: '9ece7898fa0ad9effd08cc728b38d580aad8e906', 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: '4f697ac0915ece52e0edb022923f05e2c2812cb1' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
145
145
  }
146
146
  static get is() { return "duet-show-more"; }
147
147
  static get encapsulation() { return "shadow"; }