@duetds/components 10.0.0-alpha.25 → 10.0.0-alpha.27

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 (446) hide show
  1. package/hydrate/index.js +460 -329
  2. package/hydrate/index.mjs +460 -329
  3. package/lib/cjs/{a11y-utils-BeS3x4Hg.js → a11y-utils-B33qnv_c.js} +1 -1
  4. package/lib/cjs/{app-globals-BvljEFtV.js → app-globals-DxEBgBDv.js} +1 -1
  5. package/lib/cjs/{common-strings-DQ3xONmA.js → common-strings-CSqtNIxt.js} +23 -0
  6. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-alert.cjs.entry.js +24 -33
  8. package/lib/cjs/duet-badge.cjs.entry.js +16 -4
  9. package/lib/cjs/duet-banner.cjs.entry.js +19 -8
  10. package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
  11. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
  12. package/lib/cjs/duet-button_2.cjs.entry.js +6 -6
  13. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  14. package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
  15. package/lib/cjs/duet-card.cjs.entry.js +14 -8
  16. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-chip.cjs.entry.js +4 -4
  19. package/lib/cjs/duet-choice_2.cjs.entry.js +36 -29
  20. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  21. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  22. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  23. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  24. package/lib/cjs/duet-date-picker.cjs.entry.js +19 -9
  25. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  26. package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
  27. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  29. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-footer.cjs.entry.js +5 -5
  31. package/lib/cjs/duet-grid_2.cjs.entry.js +11 -10
  32. package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
  33. package/lib/cjs/duet-hero.cjs.entry.js +6 -6
  34. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  35. package/lib/cjs/duet-indicator.cjs.entry.js +53 -0
  36. package/lib/cjs/duet-input_2.cjs.entry.js +11 -11
  37. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  38. package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
  39. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  41. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  42. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +8 -8
  43. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  44. package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
  45. package/lib/cjs/duet-modal.cjs.entry.js +13 -13
  46. package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
  47. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  48. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  49. package/lib/cjs/duet-number-input.cjs.entry.js +6 -6
  50. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  51. package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
  52. package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
  53. package/lib/cjs/duet-panel.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-phone-input.cjs.entry.js +22 -7
  55. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
  56. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  57. package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
  58. package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
  59. package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
  60. package/lib/cjs/duet-scrollable_3.cjs.entry.js +30 -25
  61. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  62. package/lib/cjs/duet-select.cjs.entry.js +9 -9
  63. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  64. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  65. package/lib/cjs/duet-share-chart.cjs.entry.js +8 -6
  66. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
  68. package/lib/cjs/duet-slideout-link.cjs.entry.js +9 -9
  69. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
  70. package/lib/cjs/duet-slideout-panel.cjs.entry.js +14 -19
  71. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  72. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-step_2.cjs.entry.js +7 -7
  74. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  75. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
  76. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +7 -7
  77. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  78. package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
  79. package/lib/cjs/duet-textarea.cjs.entry.js +8 -8
  80. package/lib/cjs/duet-toggle.cjs.entry.js +6 -6
  81. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  82. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  83. package/lib/cjs/duet-toolbar-item.cjs.entry.js +10 -10
  84. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  86. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
  87. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
  88. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  89. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  90. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  91. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  92. package/lib/cjs/duet.cjs.js +3 -3
  93. package/lib/cjs/{errorcodes.utils-CwTzu57-.js → errorcodes.utils-D9V4NJkh.js} +1 -1
  94. package/lib/cjs/{focus-utils-Dh4b8BiX.js → focus-utils-2MQWj2yf.js} +1 -1
  95. package/lib/cjs/{index-D3O_5Hr7.js → index-CgbT-GDe.js} +5 -1
  96. package/lib/cjs/{label-8AXhdqJy.js → label-B2EZulEI.js} +1 -1
  97. package/lib/cjs/{language-utils-CMK9eR4Q.js → language-utils-DjVt82-o.js} +1 -1
  98. package/lib/cjs/loader.cjs.js +3 -3
  99. package/lib/cjs/{slot-utils-BIdgEejh.js → slot-utils-mZWWDERy.js} +1 -1
  100. package/lib/cjs/{themeable-component-B3llZmjN.js → themeable-component-DtTN09xK.js} +1 -1
  101. package/lib/collection/collection-manifest.json +1 -0
  102. package/lib/collection/common-strings.js +22 -0
  103. package/lib/collection/components/duet-alert/duet-alert.js +21 -30
  104. package/lib/collection/components/duet-badge/duet-badge.js +13 -2
  105. package/lib/collection/components/duet-banner/duet-banner.css +27 -0
  106. package/lib/collection/components/duet-banner/duet-banner.js +15 -4
  107. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  108. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  109. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  110. package/lib/collection/components/duet-card/duet-card.css +12 -3
  111. package/lib/collection/components/duet-card/duet-card.js +36 -4
  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/duet-choice.js +6 -27
  116. package/lib/collection/components/duet-choice-group/duet-choice-group.js +24 -15
  117. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  118. package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
  119. package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
  120. package/lib/collection/components/duet-date-picker/duet-date-picker.css +2 -2
  121. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  122. package/lib/collection/components/duet-grid/duet-grid.js +7 -6
  123. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  124. package/lib/collection/components/duet-heading/duet-heading.css +1 -0
  125. package/lib/collection/components/duet-hero/duet-hero.css +282 -0
  126. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  127. package/lib/collection/components/duet-indicator/duet-indicator.css +46 -0
  128. package/lib/collection/components/duet-indicator/duet-indicator.js +104 -0
  129. package/lib/collection/components/duet-input/duet-input.js +8 -8
  130. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  131. package/lib/collection/components/duet-link/duet-link.js +2 -2
  132. package/lib/collection/components/duet-list/duet-list.js +1 -1
  133. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  134. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  135. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  136. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  137. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  138. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  139. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  140. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  141. package/lib/collection/components/duet-modal/duet-modal.js +7 -7
  142. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  143. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  144. package/lib/collection/components/duet-notification/duet-notification.css +4 -15
  145. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  146. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +0 -15
  147. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  148. package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
  149. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  150. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  151. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  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 +6 -6
  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 +4 -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.js +5 -5
  184. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  185. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  186. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  187. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  188. package/lib/collection/components/duet-tab/duet-tab.js +53 -3
  189. package/lib/collection/components/duet-tab-group/duet-tab-group.css +6 -61
  190. package/lib/collection/components/duet-tab-group/duet-tab-group.js +15 -13
  191. package/lib/collection/components/duet-table/duet-table.js +2 -2
  192. package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
  193. package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
  194. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  195. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  196. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  197. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +9 -14
  198. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  199. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  200. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  201. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  202. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  203. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  204. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  205. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  206. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  207. package/lib/duet/duet.esm.js +1 -1
  208. package/lib/duet/{p-83f6beb5.entry.js → p-0528f691.entry.js} +1 -1
  209. package/lib/duet/{p-fb3b8e0f.entry.js → p-076d2d0d.entry.js} +1 -1
  210. package/lib/duet/p-1228299f.entry.js +4 -0
  211. package/lib/duet/{p-37222c50.entry.js → p-15d4751c.entry.js} +1 -1
  212. package/lib/duet/p-167290f7.entry.js +4 -0
  213. package/lib/duet/p-1995091e.entry.js +4 -0
  214. package/lib/duet/{p-DyXNfxdT.js → p-1s1EpusX.js} +1 -1
  215. package/lib/duet/p-208fdfe6.entry.js +4 -0
  216. package/lib/duet/p-25ebe6a5.entry.js +4 -0
  217. package/lib/duet/{p-c6479694.entry.js → p-26146512.entry.js} +1 -1
  218. package/lib/duet/p-263790e3.entry.js +4 -0
  219. package/lib/duet/p-2c976b5a.entry.js +4 -0
  220. package/lib/duet/p-338667ab.entry.js +4 -0
  221. package/lib/duet/{p-7a9f3475.entry.js → p-3389969d.entry.js} +1 -1
  222. package/lib/duet/{p-30ade10d.entry.js → p-39087512.entry.js} +1 -1
  223. package/lib/duet/{p-402c8cd9.entry.js → p-3c7ba14f.entry.js} +1 -1
  224. package/lib/duet/p-3d3aff4c.entry.js +4 -0
  225. package/lib/duet/p-3facac5a.entry.js +4 -0
  226. package/lib/duet/{p-ec6e097b.entry.js → p-4107efb5.entry.js} +1 -1
  227. package/lib/duet/p-41dd144f.entry.js +4 -0
  228. package/lib/duet/{p-c8308bec.entry.js → p-4289c214.entry.js} +1 -1
  229. package/lib/duet/p-46eaee49.entry.js +4 -0
  230. package/lib/duet/p-493d938a.entry.js +4 -0
  231. package/lib/duet/{p-9973c0dc.entry.js → p-4b032feb.entry.js} +1 -1
  232. package/lib/duet/{p-64f8d654.entry.js → p-4f638a3d.entry.js} +1 -1
  233. package/lib/duet/{p-04ce95ba.entry.js → p-503a290b.entry.js} +1 -1
  234. package/lib/duet/p-50afabfb.entry.js +4 -0
  235. package/lib/duet/p-537d3b11.entry.js +4 -0
  236. package/lib/duet/{p-72c2ba6b.entry.js → p-55a63695.entry.js} +1 -1
  237. package/lib/duet/{p-35ac072d.entry.js → p-59cd72fc.entry.js} +1 -1
  238. package/lib/duet/{p-06ed84cb.entry.js → p-5a8f14cf.entry.js} +1 -1
  239. package/lib/duet/{p-73ce0ef8.entry.js → p-5b2527f7.entry.js} +1 -1
  240. package/lib/duet/p-5efda812.entry.js +4 -0
  241. package/lib/duet/{p-a440c5b3.entry.js → p-61105f0d.entry.js} +1 -1
  242. package/lib/duet/{p-dee8ff90.entry.js → p-6943a2ef.entry.js} +1 -1
  243. package/lib/duet/p-6a95d722.entry.js +4 -0
  244. package/lib/duet/{p-4628e002.entry.js → p-6fe283f7.entry.js} +1 -1
  245. package/lib/duet/p-72c7db64.entry.js +4 -0
  246. package/lib/duet/{p-9a1f29ac.entry.js → p-7379c2ed.entry.js} +1 -1
  247. package/lib/duet/p-75fd0eca.entry.js +4 -0
  248. package/lib/duet/{p-6aa6ce7d.entry.js → p-79c93372.entry.js} +1 -1
  249. package/lib/duet/{p-2057cc55.entry.js → p-7ace4629.entry.js} +1 -1
  250. package/lib/duet/p-875dd701.entry.js +4 -0
  251. package/lib/duet/{p-867aab83.entry.js → p-8ff78f91.entry.js} +1 -1
  252. package/lib/duet/{p-64ebf5e9.entry.js → p-91f39296.entry.js} +1 -1
  253. package/lib/duet/{p-71a6b137.entry.js → p-931b4437.entry.js} +1 -1
  254. package/lib/duet/{p-d2ceafd6.entry.js → p-9500f26b.entry.js} +1 -1
  255. package/lib/duet/{p-3dd4fbf1.entry.js → p-950c4ec0.entry.js} +1 -1
  256. package/lib/duet/{p-ab0cd4e5.entry.js → p-9af77c24.entry.js} +1 -1
  257. package/lib/duet/{p-4aece4f9.entry.js → p-9f9576a2.entry.js} +1 -1
  258. package/lib/duet/p-BSOF0zb5.js +4 -0
  259. package/lib/duet/p-BWvtXbhA.js +4 -0
  260. package/lib/duet/{p-DdwVwK5C.js → p-BXJZKiJg.js} +1 -1
  261. package/lib/duet/p-Cq7Ixl9a.js +4 -0
  262. package/lib/duet/p-DejMEymG.js +4 -0
  263. package/lib/duet/{p-T5kkooky.js → p-G09pKpI-.js} +1 -1
  264. package/lib/duet/{p-BaR6ufr4.js → p-Ob09ol4-.js} +1 -1
  265. package/lib/duet/p-a0e708db.entry.js +4 -0
  266. package/lib/duet/{p-e9421a0e.entry.js → p-a274b8fd.entry.js} +1 -1
  267. package/lib/duet/p-a431d704.entry.js +4 -0
  268. package/lib/duet/{p-71603edd.entry.js → p-a582e823.entry.js} +1 -1
  269. package/lib/duet/p-a9094bdc.entry.js +4 -0
  270. package/lib/duet/{p-625347d3.entry.js → p-a94cc8a6.entry.js} +1 -1
  271. package/lib/duet/p-aWO-HcmJ.js +4 -0
  272. package/lib/duet/p-ab61831a.entry.js +4 -0
  273. package/lib/duet/{p-5564a39c.entry.js → p-b001a8a4.entry.js} +1 -1
  274. package/lib/duet/{p-d96af9c9.entry.js → p-b025df86.entry.js} +1 -1
  275. package/lib/duet/{p-15593e3e.entry.js → p-b2780442.entry.js} +1 -1
  276. package/lib/duet/{p-0ebeee02.entry.js → p-b37b1542.entry.js} +1 -1
  277. package/lib/duet/{p-bcbe4d11.entry.js → p-b6354004.entry.js} +1 -1
  278. package/lib/duet/{p-a09c6e42.entry.js → p-ba6dc53e.entry.js} +1 -1
  279. package/lib/duet/{p-6a6e4d82.entry.js → p-babbf633.entry.js} +1 -1
  280. package/lib/duet/{p-a72b8cf4.entry.js → p-bc7d4da0.entry.js} +1 -1
  281. package/lib/duet/{p-2e34dd28.entry.js → p-bed6b29f.entry.js} +1 -1
  282. package/lib/duet/{p-ba2b47d3.entry.js → p-c43669b3.entry.js} +1 -1
  283. package/lib/duet/{p-a4a768bf.entry.js → p-c4fe8bae.entry.js} +1 -1
  284. package/lib/duet/{p-9fff2189.entry.js → p-c516bf93.entry.js} +1 -1
  285. package/lib/duet/{p-d0f3a2e6.entry.js → p-c588fc15.entry.js} +1 -1
  286. package/lib/duet/p-c745c02a.entry.js +4 -0
  287. package/lib/duet/{p-67290546.entry.js → p-ca2fd9dc.entry.js} +1 -1
  288. package/lib/duet/{p-652eefa8.entry.js → p-cbedc26b.entry.js} +1 -1
  289. package/lib/duet/{p-2d3d11db.entry.js → p-cd4d12c2.entry.js} +1 -1
  290. package/lib/duet/{p-65a8dd89.entry.js → p-d11b094d.entry.js} +1 -1
  291. package/lib/duet/{p-774cf9f5.entry.js → p-d65a706f.entry.js} +1 -1
  292. package/lib/duet/{p-466ef37c.entry.js → p-deb90dc7.entry.js} +1 -1
  293. package/lib/duet/p-e439d733.entry.js +4 -0
  294. package/lib/duet/p-e882bbb5.entry.js +4 -0
  295. package/lib/duet/{p-5ab64521.entry.js → p-ed5f5c6b.entry.js} +1 -1
  296. package/lib/duet/{p-7c814d9a.entry.js → p-ef821bec.entry.js} +1 -1
  297. package/lib/duet/p-f46480c6.entry.js +4 -0
  298. package/lib/duet/{p-66c7af01.entry.js → p-f6b76f66.entry.js} +1 -1
  299. package/lib/duet/{p-94e33308.entry.js → p-fc7d6429.entry.js} +1 -1
  300. package/lib/duet/{p-693fda6b.entry.js → p-fd989bd6.entry.js} +1 -1
  301. package/lib/duet/{p-bf5fae27.entry.js → p-fe29dee3.entry.js} +1 -1
  302. package/lib/duet/{p-2792ec0b.entry.js → p-fe393084.entry.js} +1 -1
  303. package/lib/duet/{p-B_VBeM3r.js → p-vt84lkeQ.js} +1 -1
  304. package/lib/esm/{a11y-utils-CXqm1pj1.js → a11y-utils-CROKOfOD.js} +1 -1
  305. package/lib/esm/{app-globals-s-_CGo5t.js → app-globals-CahJi_2c.js} +1 -1
  306. package/lib/esm/{common-strings-MxsWrBCY.js → common-strings-BWvtXbhA.js} +23 -1
  307. package/lib/esm/duet-action-button.entry.js +3 -3
  308. package/lib/esm/duet-alert.entry.js +24 -33
  309. package/lib/esm/duet-badge.entry.js +16 -4
  310. package/lib/esm/duet-banner.entry.js +19 -8
  311. package/lib/esm/duet-breadcrumb.entry.js +7 -7
  312. package/lib/esm/duet-breadcrumbs.entry.js +5 -5
  313. package/lib/esm/duet-button_2.entry.js +6 -6
  314. package/lib/esm/duet-callout.entry.js +5 -5
  315. package/lib/esm/duet-caption_4.entry.js +11 -11
  316. package/lib/esm/duet-card.entry.js +14 -8
  317. package/lib/esm/duet-checkbox.entry.js +2 -2
  318. package/lib/esm/duet-checkmark.entry.js +4 -4
  319. package/lib/esm/duet-chip.entry.js +4 -4
  320. package/lib/esm/duet-choice_2.entry.js +36 -29
  321. package/lib/esm/duet-collapsible.entry.js +3 -3
  322. package/lib/esm/duet-combobox.entry.js +4 -4
  323. package/lib/esm/duet-contact-card.entry.js +5 -5
  324. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  325. package/lib/esm/duet-date-picker.entry.js +19 -9
  326. package/lib/esm/duet-divider_2.entry.js +3 -3
  327. package/lib/esm/duet-editable-table_3.entry.js +8 -8
  328. package/lib/esm/duet-empty-state.entry.js +2 -2
  329. package/lib/esm/duet-fieldset.entry.js +6 -6
  330. package/lib/esm/duet-file-chooser.entry.js +2 -2
  331. package/lib/esm/duet-footer.entry.js +5 -5
  332. package/lib/esm/duet-grid_2.entry.js +11 -10
  333. package/lib/esm/duet-header_2.entry.js +5 -5
  334. package/lib/esm/duet-hero.entry.js +6 -6
  335. package/lib/esm/duet-icon.entry.js +5 -5
  336. package/lib/esm/duet-indicator.entry.js +51 -0
  337. package/lib/esm/duet-input_2.entry.js +11 -11
  338. package/lib/esm/duet-layout.entry.js +7 -7
  339. package/lib/esm/duet-list_2.entry.js +5 -5
  340. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  341. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  342. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  343. package/lib/esm/duet-menu-bar-item.entry.js +8 -8
  344. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  345. package/lib/esm/duet-menu-bar.entry.js +6 -6
  346. package/lib/esm/duet-modal.entry.js +13 -13
  347. package/lib/esm/duet-multiselect.entry.js +10 -10
  348. package/lib/esm/duet-nav.entry.js +3 -3
  349. package/lib/esm/duet-notification_2.entry.js +9 -9
  350. package/lib/esm/duet-number-input.entry.js +6 -6
  351. package/lib/esm/duet-overlay.entry.js +3 -3
  352. package/lib/esm/duet-page-heading.entry.js +4 -4
  353. package/lib/esm/duet-pagination_2.entry.js +16 -16
  354. package/lib/esm/duet-panel.entry.js +4 -4
  355. package/lib/esm/duet-phone-input.entry.js +22 -7
  356. package/lib/esm/duet-popup-menu_2.entry.js +6 -6
  357. package/lib/esm/duet-progress.entry.js +3 -3
  358. package/lib/esm/duet-promo-card.entry.js +5 -5
  359. package/lib/esm/duet-radio_2.entry.js +7 -7
  360. package/lib/esm/duet-range-slider.entry.js +6 -6
  361. package/lib/esm/duet-scrollable_3.entry.js +30 -25
  362. package/lib/esm/duet-section-layout.entry.js +4 -4
  363. package/lib/esm/duet-select.entry.js +9 -9
  364. package/lib/esm/duet-shaped-image.entry.js +4 -4
  365. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  366. package/lib/esm/duet-share-chart.entry.js +8 -6
  367. package/lib/esm/duet-show-more.entry.js +5 -5
  368. package/lib/esm/duet-slideout-lang.entry.js +5 -5
  369. package/lib/esm/duet-slideout-link.entry.js +9 -9
  370. package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
  371. package/lib/esm/duet-slideout-panel.entry.js +14 -19
  372. package/lib/esm/duet-slideout.entry.js +10 -10
  373. package/lib/esm/duet-status-icon.entry.js +3 -3
  374. package/lib/esm/duet-step_2.entry.js +7 -7
  375. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  376. package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
  377. package/lib/esm/duet-submenu-bar-item.entry.js +7 -7
  378. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  379. package/lib/esm/duet-submenu-bar.entry.js +7 -7
  380. package/lib/esm/duet-textarea.entry.js +8 -8
  381. package/lib/esm/duet-toggle.entry.js +6 -6
  382. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  383. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  384. package/lib/esm/duet-toolbar-item.entry.js +10 -10
  385. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  386. package/lib/esm/duet-toolbar.entry.js +4 -4
  387. package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
  388. package/lib/esm/duet-tooltip.entry.js +4 -4
  389. package/lib/esm/duet-tray.entry.js +5 -5
  390. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  391. package/lib/esm/duet-upload-item.entry.js +6 -6
  392. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  393. package/lib/esm/duet.js +4 -4
  394. package/lib/esm/{errorcodes.utils-Bre55Njd.js → errorcodes.utils-6V_f8y5q.js} +1 -1
  395. package/lib/esm/{focus-utils-vvgYykmM.js → focus-utils-CErdQceY.js} +1 -1
  396. package/lib/esm/{index-B_VBeM3r.js → index-vt84lkeQ.js} +5 -1
  397. package/lib/esm/{label-l-Eza5H3.js → label-BosP5JdK.js} +1 -1
  398. package/lib/esm/{language-utils-B7PXWqpg.js → language-utils-B9dLrWKg.js} +1 -1
  399. package/lib/esm/loader.js +4 -4
  400. package/lib/esm/{slot-utils-aDCRCdc4.js → slot-utils-BZXZ33TK.js} +1 -1
  401. package/lib/esm/{themeable-component-DPqozkF4.js → themeable-component-CsnFpp6R.js} +1 -1
  402. package/lib/types/common-strings.d.ts +2 -0
  403. package/lib/types/components/duet-alert/duet-alert.d.ts +5 -2
  404. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
  405. package/lib/types/components/duet-banner/duet-banner.d.ts +2 -0
  406. package/lib/types/components/duet-card/duet-card.d.ts +6 -0
  407. package/lib/types/components/duet-choice/duet-choice.d.ts +0 -4
  408. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +2 -2
  409. package/lib/types/components/duet-indicator/duet-indicator.d.ts +17 -0
  410. package/lib/types/components/duet-input/duet-input.d.ts +0 -2
  411. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +14 -0
  412. package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
  413. package/lib/types/components.d.ts +87 -15
  414. package/package.json +3 -3
  415. package/lib/duet/p-05766552.entry.js +0 -4
  416. package/lib/duet/p-065f7e81.entry.js +0 -4
  417. package/lib/duet/p-08ed76c2.entry.js +0 -4
  418. package/lib/duet/p-0a448068.entry.js +0 -4
  419. package/lib/duet/p-0dc4fe1d.entry.js +0 -4
  420. package/lib/duet/p-106d3089.entry.js +0 -4
  421. package/lib/duet/p-28a998f9.entry.js +0 -4
  422. package/lib/duet/p-39169420.entry.js +0 -4
  423. package/lib/duet/p-4ee576a2.entry.js +0 -4
  424. package/lib/duet/p-500d799b.entry.js +0 -4
  425. package/lib/duet/p-5848a34c.entry.js +0 -4
  426. package/lib/duet/p-60be3836.entry.js +0 -4
  427. package/lib/duet/p-73290da8.entry.js +0 -4
  428. package/lib/duet/p-767afcf4.entry.js +0 -4
  429. package/lib/duet/p-7f1fb1a9.entry.js +0 -4
  430. package/lib/duet/p-8596c993.entry.js +0 -4
  431. package/lib/duet/p-86b74914.entry.js +0 -4
  432. package/lib/duet/p-8ed6f7c7.entry.js +0 -4
  433. package/lib/duet/p-960f95b4.entry.js +0 -4
  434. package/lib/duet/p-9fade6a0.entry.js +0 -4
  435. package/lib/duet/p-BdUQgQFn.js +0 -4
  436. package/lib/duet/p-DzerL_yn.js +0 -4
  437. package/lib/duet/p-KocOARXM.js +0 -4
  438. package/lib/duet/p-MxsWrBCY.js +0 -4
  439. package/lib/duet/p-OdY4DjJa.js +0 -4
  440. package/lib/duet/p-a3a2e89e.entry.js +0 -4
  441. package/lib/duet/p-aefcd222.entry.js +0 -4
  442. package/lib/duet/p-b84ac47b.entry.js +0 -4
  443. package/lib/duet/p-ba0fcce1.entry.js +0 -4
  444. package/lib/duet/p-baeb1090.entry.js +0 -4
  445. package/lib/duet/p-d28a8bc4.entry.js +0 -4
  446. package/lib/duet/p-effefdec.entry.js +0 -4
@@ -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: '427288a23a020a8ba83d29535a990685e56136cd', class: { "duet-m-0": this.margin === "none" } }, h("aside", { key: 'b34e5beb86c428cf1d23c252c9867d8109fa28c9', 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: '3d17bf1dc1fa3bc580ef7feb08e1d749dafaec34', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, h("img", { key: 'ba518b8e4449f267ebef440bed06ebb1349d90c5', class: "image", src: this.image, alt: "", role: "presentation" }), h("div", { key: '638d94d31bb60bec7019ed852f70269f73241d7e', class: "content" }, this.hasPreHeadingSlot && (h("div", { key: '08e8bb35ced5d1f6fc9a442c017e96f3294c3341', class: "pre-heading" }, h("slot", { key: '3cc1c6bcaeea2e811bf8984b0574cc7086e997c3', name: "pre-heading" }))), this.hasHeadingSlot && (h("div", { key: 'edfb7d324d0d5f68392b7b4b2386183cad567698', class: "heading" }, h("duet-heading", { key: '57820fcebf0e3c172c232611843679bb47e41e61', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: 'e2b7014be3e8d44f00a418f76e1f9959a783e9e6' }, h("slot", { key: '094c582e2f0dfc6055563892bfa02dd9d5de4261', name: "heading" }))))), this.hasDescriptionSlot && (h("div", { key: '2af2637554173d2c40ad28bee0e589b6dc92a19c', class: "description" }, h("duet-paragraph", { key: 'f9a47265148a494e1803f5493ab359cfe4abb895', theme: this.theme, margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: '42af2e9a0d151bb22d303f453d481bb69891746c' }, h("slot", { key: '3a4173db824f27939a8abc88124a8751d10cbc71', name: "description" }))))), this.hasActionSlot && (h("div", { key: '59a84926d8d346d724980bef00e42a48a44574d1', class: "action" }, h("slot", { key: '52109f0d34365be7e7fe8ec5091ee5ddc5c83bce', 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: 'b39897a5768066e81309d63d7f5c75c1c2eecfef', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, h("duet-fieldset", { key: 'f26a8ac391a951b87e2015bfa3ffcfe63bc3f8c8', 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: '2c5bd82fbd17c3c959ee697de49ebc79382b08fd', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: 'ac3c4bc22b28dfb4e75d7ee646433f0dc54fd1cf', name: "tooltip" }), h("div", { key: '8eb867559bf7ad38008c675aea68ed32f4b1f78d', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, h("slot", { key: 'b7c150d9ed7e6643a158032e3d110576358d14e2' })))));
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: 'bc8b656d8f78f5f510d489faa85a4d2c4c15b913', 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: '1964654ce6a29b231c13452ef75a6d7b5448da6e', 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: '338e3a03214db233166699f2ed53f24a401113d8', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, h("slot", { key: '574284b5aff3e856c4d752e5fea30b66a30b144d', name: "collapse-button-label" })))), h("div", { key: '8c4f8d877a2eb1bea136563524830c43a8a6e4ab', 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: '8eee588b344791d7e40275b7c5ee8688a55848c7', 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: '36bce964a756ce2b4ccd6314773baa06227e2530' })), 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"; }
@@ -515,7 +515,7 @@ export class DuetScrollable {
515
515
  },
516
516
  "getter": false,
517
517
  "setter": false,
518
- "reflect": false,
518
+ "reflect": true,
519
519
  "defaultValue": "0"
520
520
  },
521
521
  "stretch": {
@@ -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: 'eb1923a8bfba01565e0452347752088c58d9ab08', class: {
27
+ return (h(Host, { key: '1423181d3efb8f77211a81db6dc7a415457b23f4', class: {
28
28
  "duet-middle": this.middle,
29
29
  "duet-ie": isInternetExplorer(),
30
- } }, h("div", { key: '0c04bf013cc9644f09de55e114f3692022374c6f', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, h("div", { key: 'bf2d3164111fad314c90114ce15e2b2488608505', 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: '5c07cbae7cf870868a5c8f897bf6393eb6a7e866', class: "duet-main" }, h("slot", { key: '5dea403267b9102ee9a375aac51c931bd0dde438' }))))));
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: 'f1e1775c6baa92468f792435cbd7bf6b9b1bc04b', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, h("span", { key: '9a55361487de0adea55f23a48613607bb366d712', 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: 'cab98476c89fa5d135797f18601d1cd7f86be610', class: "shaped-image-mask", role: "presentation" }, h("span", { key: '03e422ae06acfbb4e5889d2f48e4eee064426877', 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,10 +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: 'ecdd674f7aafaac0d6ce2b92ffee521d33f04f54' }, h("div", { key: '162f5b9eab9a30df3861a97264691d3796500286', class: "duet-share-chart-horizontal-bar", role: "presentation" }, this.items.map(item => (h("span", { class: "duet-share-chart-share", style: {
66
+ return (h(Host, { key: 'c22523d7e91ce5ef59f5553ed847309cc45c9499' }, h("div", { key: '9aa4f2e4c117c5f7c30bce27585c7abc4d5568ea', class: "duet-share-chart-horizontal-bar", role: "presentation" }, this.items
67
+ .filter(i => !!i.value)
68
+ .map(item => (h("span", { class: "duet-share-chart-share", style: {
67
69
  width: `${(item.value / this.itemsTotalValue) * 100}%`,
68
70
  backgroundColor: getColorByName(item.color, this.theme),
69
- } })))), h("ul", { key: 'fbfb17146f550b7812355d34f4a0c44b667f1a58', 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: '79fc779211d3b265620226647dcbd3508ad3c86c' })));
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' })));
70
72
  }
71
73
  static get is() { return "duet-share-chart"; }
72
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: 'd018941bdb98ff2a561661ac4ced29081d0783c5' }, h("div", { key: '3b07a96aa1150f1f51ab3a08344bd656c9d52eef', hidden: true }, h("slot", { key: 'cc7299ead2dbe45e3005a48a8da09bb7eb2fd9e0' }))));
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"; }
@@ -29,6 +29,8 @@
29
29
  width: 100%;
30
30
  visibility: hidden;
31
31
  opacity: 0;
32
+ transition: opacity 300ms ease;
33
+ transition-delay: 300ms;
32
34
  }
33
35
 
34
36
  :host([open]:not([open=false])) ::slotted(*) {
@@ -62,28 +64,20 @@
62
64
  .duet-slideout .dialog {
63
65
  position: fixed;
64
66
  top: 0;
67
+ right: 0;
65
68
  bottom: 0;
66
- left: 0;
69
+ left: auto;
67
70
  z-index: 600;
68
- width: 100%;
69
- height: 100%;
71
+ width: min(450px, 100%);
70
72
  padding-bottom: 75px;
71
73
  overflow-y: auto;
72
74
  box-shadow: 0 3px 6px 0 rgba(0, 41, 77, 0.1) inset;
75
+ transition: bottom 300ms ease;
76
+ transition-delay: 0s;
73
77
  }
74
78
  .duet-slideout .dialog:not(.modal) {
75
79
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.2);
76
80
  }
77
- @media (min-width: 62em) {
78
- .duet-slideout .dialog {
79
- right: 0;
80
- left: auto;
81
- width: 500px;
82
- padding-bottom: 0;
83
- transition: right 300ms ease;
84
- transition-delay: 0s;
85
- }
86
- }
87
81
  .duet-slideout .dialog .top-container.has-sticky-header-slot {
88
82
  position: sticky;
89
83
  top: 0;
@@ -102,6 +96,8 @@
102
96
  align-items: center;
103
97
  justify-content: flex-end;
104
98
  padding: 4px;
99
+ opacity: 1;
100
+ transition: opacity 300ms ease;
105
101
  }
106
102
  .duet-slideout .dialog .top button {
107
103
  cursor: pointer;
@@ -127,17 +123,28 @@
127
123
  align-items: flex-start;
128
124
  justify-content: center;
129
125
  width: 100%;
130
- padding: 0 1.5rem;
126
+ padding: 12px 20px;
127
+ opacity: 1;
128
+ transition: padding 600ms ease, opacity 300ms ease;
129
+ transition-delay: 300ms;
130
+ }
131
+ @media (min-width: 36em) {
132
+ .duet-slideout .dialog .items {
133
+ padding: 16px 28px;
134
+ }
131
135
  }
132
136
  .duet-slideout .dialog.hidden {
137
+ bottom: 100vh;
133
138
  pointer-events: none;
134
139
  visibility: hidden;
140
+ transition: 300ms ease;
135
141
  }
136
- @media (min-width: 62em) {
137
- .duet-slideout .dialog.hidden {
138
- right: -500px;
139
- transition: 300ms ease;
140
- }
142
+ .duet-slideout .dialog.hidden .items {
143
+ padding-top: 28px;
144
+ opacity: 0;
145
+ }
146
+ .duet-slideout .dialog.hidden .top {
147
+ opacity: 0;
141
148
  }
142
149
  .duet-slideout.duet-theme-turva .dialog {
143
150
  box-shadow: 0 3px 6px 0 rgba(23, 28, 58, 0.1) inset;
@@ -294,16 +294,16 @@ export class DuetSlideout {
294
294
  };
295
295
  const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
296
296
  const exitTranslation = getLocaleString(this.exitLangObject);
297
- return (h(Host, { key: '80fe71cba1f67117359472cbc3d59ec80910cca2' }, h("div", { key: 'b4611be3d11b74e906804f32fa54f09ef03c9319', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && h("duet-overlay", { key: '72729044a85b3915f914f9b37efc503601681aed', visible: this.open, "display-device": "large", zIndex: "600" }), h("div", { key: 'dd793703df1c6412ba02021f6ee26232180db120', 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: {
297
+ return (h(Host, { key: 'ad0060e5e7d7b09eda9fe1c00d917a24cd72425e' }, h("div", { key: 'ffe49d23661b5297b214ce27e88defba216f840e', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && h("duet-overlay", { key: 'ed8951a46a9e18802724ca812ad1c0248d7ba334', visible: this.open, zIndex: "600" }), h("div", { key: '1fdbc5b634dc380494c1b389514c4bb24c3867e5', 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: {
298
298
  dialog: true,
299
299
  hidden: !this.open,
300
300
  modal: this.modal,
301
- }, style: styles }, h(FocusGuard, { key: '7217cb29c43fcab1a4d7a0ab2bc25516d5a3db86', moveFocusTo: this.closeButton }), h("div", { key: 'f660e3d4126342062aeef72abb440bfd8c638b26', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: '05ed9fae1dd41c76c8af9e31ec907cc58f83d3d5', class: "top" }, h("button", { key: '65d0a9c2feb22186f337961c6967021d9dbc97f4', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
301
+ }, style: styles }, h(FocusGuard, { key: '0dc00c309bd543a23e1ea874cb6398c2c39e1411', moveFocusTo: this.closeButton }), h("div", { key: '8d2adfc16b01db12ca6f7c47810cdee6021e5460', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: 'e389d21af73e9d8163ca89a167f0bbd596ba3450', class: "top" }, h("button", { key: '2bd8df761d9064e5ef73c4ebc98485e1754afe2e', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
302
302
  "slideout-close": true,
303
303
  active: this.open,
304
- }, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { key: 'db5c0e81b4fdb700e9cd790249abcc7be8ddb93d', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '3056bf2ec202421d6314e9bbec1176990dac8d7d', class: "sticky-header" }, h("slot", { key: 'c9c7e39ec4d453a110ad37ba6e273bcb50cfe8a8', name: "sticky-header" }))), h("div", { key: 'a051d32697cb79fdf3dddcc5c28c5f6e1e11afb3', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
304
+ }, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { key: 'cb4da32359194cfa8c1cea2d09f5ebdfae3d1537', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: 'ede6365d0ba52b6794916367a4e42535a3666b98', class: "sticky-header" }, h("slot", { key: '58a33822c3e852ebd1e69fdc6f4be40f76e3c8a8', name: "sticky-header" }))), h("div", { key: '216d18823ac4376220aa985f5043ff3aa293fd40', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
305
305
  items: true,
306
- } }, h("slot", { key: 'b552c7adcb64a48b13ae808a26037b0c6ba34021' })), h(FocusGuard, { key: 'eb6637a6a2c879f6bcab0f798f8f13639d2fdc68', moveFocusTo: this.closeButton })))));
306
+ } }, h("slot", { key: '495d7d363e0b0697b0733bec84c57cd234cdfcc9' })), h(FocusGuard, { key: 'a74db283e802ea746bf2777ffb4bd36f35412886', moveFocusTo: this.closeButton })))));
307
307
  }
308
308
  static get is() { return "duet-slideout"; }
309
309
  static get encapsulation() { return "shadow"; }
@@ -24,7 +24,7 @@
24
24
 
25
25
  .duet-slideout-lang {
26
26
  display: flex;
27
- gap: 20px;
27
+ gap: 16px;
28
28
  align-items: center;
29
29
  justify-content: flex-start;
30
30
  width: min-content;
@@ -43,7 +43,7 @@
43
43
  ::slotted(:not(:last-child))::after {
44
44
  position: absolute;
45
45
  top: 25%;
46
- right: -16px;
46
+ right: -14px;
47
47
  width: 2px;
48
48
  height: 50%;
49
49
  content: "";
@@ -38,7 +38,7 @@ export class DuetSlideoutLang {
38
38
  */
39
39
  render() {
40
40
  const langTranslation = getLocaleString(this.chooseLangObject);
41
- return (h(Host, { key: '20fb38dbab51fb94d8cb27d0be873d5857809716' }, h("div", { key: 'eac5154fff5df2c8358398a3228909c0cf960b35', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, h("duet-icon", { key: 'c5b9b485d6ab7fcd2172bb951ad88640d1979fee', name: "navigation-language", margin: "none", color: "secondary" }), h("slot", { key: '68cdb507db897fff3e4738ac384fdf504059943e' }))));
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"; }
@@ -27,7 +27,7 @@
27
27
  .duet-slideout-link {
28
28
  position: relative;
29
29
  display: flex;
30
- gap: 20px;
30
+ gap: 16px;
31
31
  align-items: center;
32
32
  justify-content: flex-start;
33
33
  width: 100%;
@@ -78,11 +78,11 @@
78
78
  --active-translate-y: 1px;
79
79
  }
80
80
  .duet-slideout-link.medium {
81
- font-size: 1.25rem;
81
+ font-size: 1rem;
82
82
  font-weight: 600;
83
83
  }
84
84
  .duet-slideout-link.large {
85
- font-size: 1.5rem;
85
+ font-size: 1.25rem;
86
86
  font-weight: 800;
87
87
  }
88
88
  .duet-slideout-link .label {
@@ -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: 'b0e234fc3dac2e49ce7e1cb175f1599ab9275530' }, h("a", { key: '3ec02799b58d7b1d44bfc5b0e24bf65720db1c3a', 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: 'b9e3b673239c5b9655c01bcec4a2a5abe515bd88', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), h("div", { key: '498acf483827529da2b9f512228ca158edaf8faa', class: "label" }, h("span", { key: 'e6415f10f37d8b957ce06e93b5cbb042634d1672' }, h("span", { key: '53865ac539a3312b509ffb15594e72f9fa4d0f33', class: "label-container" }, h("span", { key: '81cbf04aec6b336558641516b55a554a11751aa7', class: "label-content" }, h("slot", { key: 'f217af73f101e8a8a9ab71f611f759f4c8a8ceef' })), this.external && (h("duet-icon", { key: '0696dda9b2fe219b2a76a0c65855d47cd151bc55', class: "external-icon", theme: this.theme, name: newWindowIcon.title, margin: "none", size: "auto", color: "currentColor" }))), h("slot", { key: '497d712ed9f5155cee76d0c9cca080a89fb26ea2', name: "description" })), this.caret && (h("duet-icon", { key: 'b3057bf91b4062442a5c7823d12c714ca74d86ae', 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"; }