@duetds/components 10.5.0 → 10.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (462) hide show
  1. package/hydrate/index.js +501 -263
  2. package/hydrate/index.mjs +501 -263
  3. package/lib/cjs/{a11y-utils-DaAO4N9d.js → a11y-utils-CgWjS7yq.js} +1 -1
  4. package/lib/cjs/{app-globals-CHNvdfQj.js → app-globals-D68ciWsb.js} +1 -1
  5. package/lib/cjs/duet-action-button.cjs.entry.js +6 -6
  6. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-badge.cjs.entry.js +7 -7
  8. package/lib/cjs/duet-banner.cjs.entry.js +15 -16
  9. package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
  10. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +7 -7
  11. package/lib/cjs/duet-button_2.cjs.entry.js +8 -8
  12. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  13. package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
  14. package/lib/cjs/duet-card.cjs.entry.js +21 -10
  15. package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-chip.cjs.entry.js +28 -12
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +7 -7
  19. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
  20. package/lib/cjs/duet-combobox.cjs.entry.js +6 -6
  21. package/lib/cjs/duet-contact-card.cjs.entry.js +17 -7
  22. package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
  23. package/lib/cjs/duet-date-picker.cjs.entry.js +127 -14
  24. package/lib/cjs/duet-divider_2.cjs.entry.js +5 -5
  25. package/lib/cjs/duet-editable-table_3.cjs.entry.js +15 -15
  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 +5 -5
  30. package/lib/cjs/duet-grid_2.cjs.entry.js +4 -4
  31. package/lib/cjs/duet-header_2.cjs.entry.js +7 -7
  32. package/lib/cjs/duet-hero.cjs.entry.js +22 -21
  33. package/lib/cjs/duet-icon.cjs.entry.js +7 -7
  34. package/lib/cjs/duet-indicator.cjs.entry.js +5 -5
  35. package/lib/cjs/duet-input_2.cjs.entry.js +70 -18
  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 +5 -5
  40. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +7 -7
  41. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
  42. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
  44. package/lib/cjs/duet-modal.cjs.entry.js +15 -15
  45. package/lib/cjs/duet-multiselect.cjs.entry.js +11 -11
  46. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-notification_2.cjs.entry.js +10 -10
  48. package/lib/cjs/duet-number-input.cjs.entry.js +9 -9
  49. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-page-heading.cjs.entry.js +6 -6
  51. package/lib/cjs/duet-pagination_2.cjs.entry.js +19 -19
  52. package/lib/cjs/duet-panel.cjs.entry.js +4 -4
  53. package/lib/cjs/duet-phone-input.cjs.entry.js +11 -6
  54. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +10 -10
  55. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-promo-card.cjs.entry.js +20 -8
  57. package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
  58. package/lib/cjs/duet-range-slider.cjs.entry.js +8 -8
  59. package/lib/cjs/duet-scrollable_3.cjs.entry.js +18 -18
  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 +8 -8
  65. package/lib/cjs/duet-show-more.cjs.entry.js +6 -6
  66. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  67. package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
  68. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
  69. package/lib/cjs/duet-slideout-panel.cjs.entry.js +13 -13
  70. package/lib/cjs/duet-slideout.cjs.entry.js +20 -14
  71. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-step_2.cjs.entry.js +7 -7
  73. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +5 -5
  74. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -7
  75. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +7 -7
  76. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +4 -4
  77. package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
  78. package/lib/cjs/duet-textarea.cjs.entry.js +8 -8
  79. package/lib/cjs/duet-toggle.cjs.entry.js +9 -9
  80. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +5 -5
  81. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +7 -7
  82. package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
  83. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  84. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +10 -10
  86. package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
  87. package/lib/cjs/duet-tray.cjs.entry.js +7 -7
  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-Dkf_MfrJ.js → errorcodes.utils-C0tQ3k6Z.js} +1 -1
  93. package/lib/cjs/{focus-utils-BuGg0Oha.js → focus-utils-tCoGOO7d.js} +1 -1
  94. package/lib/cjs/{index-ZxE6MB5V.js → index-BeiMjjVl.js} +9 -9
  95. package/lib/cjs/{keyboard-utils-D9UlHbik.js → keyboard-utils-DibQafwg.js} +2 -0
  96. package/lib/cjs/{label-CpPOBfjS.js → label-Cu4DNShe.js} +1 -1
  97. package/lib/cjs/{language-utils-C7Z0KYg-.js → language-utils-B3NubUDr.js} +1 -1
  98. package/lib/cjs/loader.cjs.js +3 -3
  99. package/lib/cjs/picture-utils-D_HVgfq5.js +15 -0
  100. package/lib/cjs/{slot-utils-BXdHT3A1.js → slot-utils-Dny6EJ_G.js} +1 -1
  101. package/lib/cjs/{themeable-component-CIDaln0Z.js → themeable-component-Csdvrnsd.js} +1 -1
  102. package/lib/cjs/{token-utils-DY3-olMV.js → token-utils-ZISdNshf.js} +1 -1
  103. package/lib/cjs/{tokens.module-CTbvyezn.js → tokens.module-CGRpZaa1.js} +2 -1
  104. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  105. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  106. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  107. package/lib/collection/components/duet-banner/duet-banner.css +12 -0
  108. package/lib/collection/components/duet-banner/duet-banner.js +30 -5
  109. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  110. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  111. package/lib/collection/components/duet-button/duet-button.js +8 -8
  112. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  113. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  114. package/lib/collection/components/duet-card/duet-card.css +3 -0
  115. package/lib/collection/components/duet-card/duet-card.js +43 -7
  116. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  117. package/lib/collection/components/duet-chip/duet-chip.js +53 -17
  118. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  119. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  120. package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
  121. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  122. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  123. package/lib/collection/components/duet-contact-card/duet-contact-card.css +3 -0
  124. package/lib/collection/components/duet-contact-card/duet-contact-card.js +38 -2
  125. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  126. package/lib/collection/components/duet-date-picker/date-picker-month.js +4 -2
  127. package/lib/collection/components/duet-date-picker/date-utils.js +7 -0
  128. package/lib/collection/components/duet-date-picker/disallowed-days.js +23 -0
  129. package/lib/collection/components/duet-date-picker/duet-date-picker.js +100 -10
  130. package/lib/collection/components/duet-date-picker/finnish-bank-holidays.js +66 -0
  131. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  132. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  133. package/lib/collection/components/duet-empty-state/duet-empty-state.js +3 -3
  134. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  135. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  136. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  137. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  138. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  139. package/lib/collection/components/duet-header/duet-header.js +15 -15
  140. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  141. package/lib/collection/components/duet-hero/duet-hero.css +92 -14
  142. package/lib/collection/components/duet-hero/duet-hero.js +47 -21
  143. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  144. package/lib/collection/components/duet-indicator/duet-indicator.js +3 -3
  145. package/lib/collection/components/duet-input/duet-input.js +73 -20
  146. package/lib/collection/components/duet-label/duet-label.js +2 -2
  147. package/lib/collection/components/duet-layout/duet-layout.js +6 -6
  148. package/lib/collection/components/duet-link/duet-link.js +2 -2
  149. package/lib/collection/components/duet-list/duet-list.js +4 -4
  150. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  151. package/lib/collection/components/duet-logo/duet-logo.js +2 -2
  152. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +4 -4
  153. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  154. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  155. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  156. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  157. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  158. package/lib/collection/components/duet-modal/duet-modal.js +11 -11
  159. package/lib/collection/components/duet-multiselect/duet-multiselect.js +11 -11
  160. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  161. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  162. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +4 -4
  163. package/lib/collection/components/duet-number-input/duet-number-input.js +8 -8
  164. package/lib/collection/components/duet-overlay/duet-overlay.js +2 -2
  165. package/lib/collection/components/duet-page-heading/duet-page-heading.js +3 -3
  166. package/lib/collection/components/duet-pagination/duet-pagination.js +13 -13
  167. package/lib/collection/components/duet-panel/duet-panel.js +3 -3
  168. package/lib/collection/components/duet-paragraph/duet-paragraph.js +5 -5
  169. package/lib/collection/components/duet-phone-input/duet-phone-input.js +30 -5
  170. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
  171. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +4 -4
  172. package/lib/collection/components/duet-promo-card/duet-promo-card.css +4 -0
  173. package/lib/collection/components/duet-promo-card/duet-promo-card.js +39 -2
  174. package/lib/collection/components/duet-radio/duet-radio.js +6 -6
  175. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  176. package/lib/collection/components/duet-range-slider/duet-range-slider.js +4 -4
  177. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +3 -3
  178. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  179. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  180. package/lib/collection/components/duet-select/duet-select.js +10 -10
  181. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  182. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  183. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  184. package/lib/collection/components/duet-show-more/duet-show-more.js +3 -3
  185. package/lib/collection/components/duet-slideout/duet-slideout.js +12 -6
  186. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  187. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  188. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  189. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  190. package/lib/collection/components/duet-spacer/duet-spacer.js +3 -3
  191. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  192. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  193. package/lib/collection/components/duet-step/duet-step.js +4 -4
  194. package/lib/collection/components/duet-stepper/duet-stepper.js +2 -2
  195. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  196. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  197. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  198. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  199. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  200. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  201. package/lib/collection/components/duet-tab-group/duet-tab-group.js +9 -9
  202. package/lib/collection/components/duet-table/duet-table-styles.js +5 -5
  203. package/lib/collection/components/duet-table/duet-table.js +2 -2
  204. package/lib/collection/components/duet-textarea/duet-textarea.js +7 -7
  205. package/lib/collection/components/duet-toggle/duet-toggle.js +4 -4
  206. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  207. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  208. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  209. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  210. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  211. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  212. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +3 -3
  213. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  214. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  215. package/lib/collection/components/duet-upload/duet-upload.js +16 -16
  216. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  217. package/lib/collection/components/duet-upload-item/duet-upload-item.js +4 -4
  218. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  219. package/lib/collection/utils/keyboard-utils.js +1 -0
  220. package/lib/duet/duet.esm.js +1 -1
  221. package/lib/duet/p-054c334d.entry.js +4 -0
  222. package/lib/duet/{p-3277233e.entry.js → p-0e10e36b.entry.js} +1 -1
  223. package/lib/duet/{p-9ae7aaef.entry.js → p-12d7fdf6.entry.js} +1 -1
  224. package/lib/duet/{p-3f7afd87.entry.js → p-1579bdf5.entry.js} +1 -1
  225. package/lib/duet/{p-7eea47d5.entry.js → p-174935bc.entry.js} +1 -1
  226. package/lib/duet/{p-42ec7305.entry.js → p-1d7a9425.entry.js} +1 -1
  227. package/lib/duet/{p-317e81f3.entry.js → p-20066df8.entry.js} +1 -1
  228. package/lib/duet/{p-3690576a.entry.js → p-20c8226c.entry.js} +1 -1
  229. package/lib/duet/{p-19863cdf.entry.js → p-210bc161.entry.js} +1 -1
  230. package/lib/duet/{p-b747f6e9.entry.js → p-244bfbf9.entry.js} +1 -1
  231. package/lib/duet/{p-38973524.entry.js → p-264688ae.entry.js} +1 -1
  232. package/lib/duet/{p-93ff8fe4.entry.js → p-2bf78fe4.entry.js} +1 -1
  233. package/lib/duet/{p-9e1a59d1.entry.js → p-2e44c6b8.entry.js} +1 -1
  234. package/lib/duet/{p-c1afac0d.entry.js → p-304a9a55.entry.js} +1 -1
  235. package/lib/duet/{p-516397ba.entry.js → p-30d8a1e4.entry.js} +1 -1
  236. package/lib/duet/p-3445529c.entry.js +4 -0
  237. package/lib/duet/{p-2f8a47e2.entry.js → p-3533d6ee.entry.js} +1 -1
  238. package/lib/duet/{p-fe829b53.entry.js → p-374b48f6.entry.js} +1 -1
  239. package/lib/duet/{p-7353ee4c.entry.js → p-3b9d7f6a.entry.js} +1 -1
  240. package/lib/duet/{p-5f5f72d4.entry.js → p-3def9480.entry.js} +1 -1
  241. package/lib/duet/p-3fbe466a.entry.js +4 -0
  242. package/lib/duet/{p-d3b5c997.entry.js → p-407d4e5a.entry.js} +1 -1
  243. package/lib/duet/p-41230630.entry.js +4 -0
  244. package/lib/duet/p-44e53564.entry.js +4 -0
  245. package/lib/duet/p-46287d85.entry.js +4 -0
  246. package/lib/duet/p-48e77341.entry.js +4 -0
  247. package/lib/duet/{p-a8876b3d.entry.js → p-4a041c60.entry.js} +1 -1
  248. package/lib/duet/{p-efa4eecc.entry.js → p-4a251661.entry.js} +1 -1
  249. package/lib/duet/{p-407f7f03.entry.js → p-4a4e5bb5.entry.js} +1 -1
  250. package/lib/duet/{p-b1326cbb.entry.js → p-4acdc586.entry.js} +1 -1
  251. package/lib/duet/{p-8ace1eb4.entry.js → p-4b07ce36.entry.js} +1 -1
  252. package/lib/duet/{p-e7f2359a.entry.js → p-4cee693b.entry.js} +1 -1
  253. package/lib/duet/{p-3f35fce3.entry.js → p-4e1c2676.entry.js} +1 -1
  254. package/lib/duet/{p-40fa7371.entry.js → p-4e5532c8.entry.js} +1 -1
  255. package/lib/duet/{p-7fd39204.entry.js → p-512d18c8.entry.js} +1 -1
  256. package/lib/duet/{p-6ef683d5.entry.js → p-555e0c78.entry.js} +1 -1
  257. package/lib/duet/{p-cb6c4158.entry.js → p-5b322a86.entry.js} +1 -1
  258. package/lib/duet/p-5f72134e.entry.js +4 -0
  259. package/lib/duet/{p-dedf6a32.entry.js → p-61abccd4.entry.js} +1 -1
  260. package/lib/duet/{p-443af533.entry.js → p-6a11ba26.entry.js} +1 -1
  261. package/lib/duet/{p-f040706c.entry.js → p-6bd78205.entry.js} +1 -1
  262. package/lib/duet/p-6c239923.entry.js +4 -0
  263. package/lib/duet/{p-bdbf0fae.entry.js → p-6ce82324.entry.js} +1 -1
  264. package/lib/duet/{p-268b3066.entry.js → p-6d1d1199.entry.js} +1 -1
  265. package/lib/duet/p-81c5d3e3.entry.js +4 -0
  266. package/lib/duet/p-829bccb7.entry.js +4 -0
  267. package/lib/duet/{p-c2026c6b.entry.js → p-83dcbb64.entry.js} +1 -1
  268. package/lib/duet/{p-461d4089.entry.js → p-84f8bee8.entry.js} +1 -1
  269. package/lib/duet/{p-d6f0afa5.entry.js → p-8927ccc1.entry.js} +1 -1
  270. package/lib/duet/{p-3b2fba0f.entry.js → p-8bdcfd1f.entry.js} +1 -1
  271. package/lib/duet/{p-833802f9.entry.js → p-8fbcea55.entry.js} +1 -1
  272. package/lib/duet/{p-20a8ef81.entry.js → p-914ee7ac.entry.js} +1 -1
  273. package/lib/duet/{p-d3baa815.entry.js → p-95bb2a8d.entry.js} +1 -1
  274. package/lib/duet/{p-cbcee3e2.entry.js → p-985213bb.entry.js} +1 -1
  275. package/lib/duet/{p-52beb436.entry.js → p-9889218e.entry.js} +1 -1
  276. package/lib/duet/{p-30108edc.entry.js → p-9b2731b9.entry.js} +1 -1
  277. package/lib/duet/{p-829db926.entry.js → p-9b448008.entry.js} +1 -1
  278. package/lib/duet/p-9c41f1d5.entry.js +4 -0
  279. package/lib/duet/p-BDgGHTHh.js +4 -0
  280. package/lib/duet/p-BZev46O8.js +4 -0
  281. package/lib/duet/p-BaefVzkx.js +4 -0
  282. package/lib/duet/p-CcoGR9T9.js +4 -0
  283. package/lib/duet/{p-R3pTP2Oy.js → p-CyfEm8iD.js} +1 -1
  284. package/lib/duet/p-D3450NfA.js +5 -0
  285. package/lib/duet/{p-CFqvB5PA.js → p-D9N9LBeD.js} +1 -1
  286. package/lib/duet/{p-C5Yfx2kd.js → p-DI7IXBXp.js} +1 -1
  287. package/lib/duet/{p-D2ly4TZR.js → p-DYmL1tSl.js} +1 -1
  288. package/lib/duet/p-Dk60lC7n.js +4 -0
  289. package/lib/duet/p-JFwTD5kM.js +4 -0
  290. package/lib/duet/{p-BzYmwX5_.js → p-KbNgo0QF.js} +1 -1
  291. package/lib/duet/{p-110c7572.entry.js → p-a01f3141.entry.js} +1 -1
  292. package/lib/duet/{p-43e076b5.entry.js → p-a49b5d93.entry.js} +1 -1
  293. package/lib/duet/p-a6dbe893.entry.js +4 -0
  294. package/lib/duet/{p-1da7703d.entry.js → p-aa1256f9.entry.js} +1 -1
  295. package/lib/duet/{p-a068c086.entry.js → p-aa7e4c81.entry.js} +1 -1
  296. package/lib/duet/{p-70612314.entry.js → p-ac4fc44c.entry.js} +1 -1
  297. package/lib/duet/{p-61ec0e1c.entry.js → p-ae382e2e.entry.js} +1 -1
  298. package/lib/duet/{p-a483117e.entry.js → p-bc41d13d.entry.js} +1 -1
  299. package/lib/duet/{p-734249e0.entry.js → p-c54ecb23.entry.js} +1 -1
  300. package/lib/duet/{p-70961edb.entry.js → p-d72dee5d.entry.js} +1 -1
  301. package/lib/duet/p-d7abb7fa.entry.js +4 -0
  302. package/lib/duet/{p-8b0dfbd7.entry.js → p-dbb9e1d4.entry.js} +1 -1
  303. package/lib/duet/{p-317a1fc0.entry.js → p-e40d9c21.entry.js} +1 -1
  304. package/lib/duet/{p-06297bd8.entry.js → p-e43df9c2.entry.js} +1 -1
  305. package/lib/duet/{p-02d8e844.entry.js → p-e442943d.entry.js} +1 -1
  306. package/lib/duet/p-eb7bc989.entry.js +4 -0
  307. package/lib/duet/{p-a9104184.entry.js → p-ec1d2e0a.entry.js} +1 -1
  308. package/lib/duet/p-edcdf0b7.entry.js +4 -0
  309. package/lib/duet/{p-e08dce92.entry.js → p-ee369233.entry.js} +1 -1
  310. package/lib/duet/{p-8012c7bc.entry.js → p-f297f8f2.entry.js} +1 -1
  311. package/lib/duet/{p-c54be349.entry.js → p-f30c3cfe.entry.js} +1 -1
  312. package/lib/duet/{p-a5177d32.entry.js → p-f4538e9d.entry.js} +1 -1
  313. package/lib/duet/{p-c216e746.entry.js → p-f4de7ac0.entry.js} +1 -1
  314. package/lib/duet/{p-4b7f1244.entry.js → p-f8d640ba.entry.js} +1 -1
  315. package/lib/duet/{p-2dd7d75e.entry.js → p-f9db8670.entry.js} +1 -1
  316. package/lib/duet/p-fc1a18f8.entry.js +4 -0
  317. package/lib/duet/{p-d779fe42.entry.js → p-fc2be136.entry.js} +1 -1
  318. package/lib/duet/p-fdc4a97c.entry.js +4 -0
  319. package/lib/duet/p-kkZE1C6Z.js +4 -0
  320. package/lib/esm/{a11y-utils-ChN5Nhxh.js → a11y-utils--wwGTL0T.js} +1 -1
  321. package/lib/esm/{app-globals-4kCk2rkO.js → app-globals-Diuuep9d.js} +1 -1
  322. package/lib/esm/duet-action-button.entry.js +6 -6
  323. package/lib/esm/duet-alert.entry.js +4 -4
  324. package/lib/esm/duet-badge.entry.js +7 -7
  325. package/lib/esm/duet-banner.entry.js +15 -16
  326. package/lib/esm/duet-breadcrumb.entry.js +7 -7
  327. package/lib/esm/duet-breadcrumbs.entry.js +7 -7
  328. package/lib/esm/duet-button_2.entry.js +8 -8
  329. package/lib/esm/duet-callout.entry.js +5 -5
  330. package/lib/esm/duet-caption_4.entry.js +11 -11
  331. package/lib/esm/duet-card.entry.js +22 -11
  332. package/lib/esm/duet-checkbox.entry.js +3 -3
  333. package/lib/esm/duet-checkmark.entry.js +4 -4
  334. package/lib/esm/duet-chip.entry.js +28 -12
  335. package/lib/esm/duet-choice_2.entry.js +7 -7
  336. package/lib/esm/duet-collapsible.entry.js +4 -4
  337. package/lib/esm/duet-combobox.entry.js +6 -6
  338. package/lib/esm/duet-contact-card.entry.js +17 -7
  339. package/lib/esm/duet-cookie-consent.entry.js +3 -3
  340. package/lib/esm/duet-date-picker.entry.js +127 -14
  341. package/lib/esm/duet-divider_2.entry.js +5 -5
  342. package/lib/esm/duet-editable-table_3.entry.js +15 -15
  343. package/lib/esm/duet-empty-state.entry.js +2 -2
  344. package/lib/esm/duet-fieldset.entry.js +6 -6
  345. package/lib/esm/duet-file-chooser.entry.js +2 -2
  346. package/lib/esm/duet-footer.entry.js +5 -5
  347. package/lib/esm/duet-grid_2.entry.js +4 -4
  348. package/lib/esm/duet-header_2.entry.js +7 -7
  349. package/lib/esm/duet-hero.entry.js +22 -21
  350. package/lib/esm/duet-icon.entry.js +7 -7
  351. package/lib/esm/duet-indicator.entry.js +5 -5
  352. package/lib/esm/duet-input_2.entry.js +70 -18
  353. package/lib/esm/duet-layout.entry.js +7 -7
  354. package/lib/esm/duet-list_2.entry.js +5 -5
  355. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  356. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +5 -5
  357. package/lib/esm/duet-menu-bar-dropdown.entry.js +7 -7
  358. package/lib/esm/duet-menu-bar-item.entry.js +7 -7
  359. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  360. package/lib/esm/duet-menu-bar.entry.js +6 -6
  361. package/lib/esm/duet-modal.entry.js +15 -15
  362. package/lib/esm/duet-multiselect.entry.js +11 -11
  363. package/lib/esm/duet-nav.entry.js +3 -3
  364. package/lib/esm/duet-notification_2.entry.js +10 -10
  365. package/lib/esm/duet-number-input.entry.js +9 -9
  366. package/lib/esm/duet-overlay.entry.js +3 -3
  367. package/lib/esm/duet-page-heading.entry.js +6 -6
  368. package/lib/esm/duet-pagination_2.entry.js +19 -19
  369. package/lib/esm/duet-panel.entry.js +4 -4
  370. package/lib/esm/duet-phone-input.entry.js +11 -6
  371. package/lib/esm/duet-popup-menu_2.entry.js +10 -10
  372. package/lib/esm/duet-progress.entry.js +3 -3
  373. package/lib/esm/duet-promo-card.entry.js +20 -8
  374. package/lib/esm/duet-radio_2.entry.js +7 -7
  375. package/lib/esm/duet-range-slider.entry.js +8 -8
  376. package/lib/esm/duet-scrollable_3.entry.js +18 -18
  377. package/lib/esm/duet-section-layout.entry.js +4 -4
  378. package/lib/esm/duet-select.entry.js +9 -9
  379. package/lib/esm/duet-shaped-image.entry.js +4 -4
  380. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  381. package/lib/esm/duet-share-chart.entry.js +8 -8
  382. package/lib/esm/duet-show-more.entry.js +6 -6
  383. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  384. package/lib/esm/duet-slideout-link.entry.js +7 -7
  385. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  386. package/lib/esm/duet-slideout-panel.entry.js +13 -13
  387. package/lib/esm/duet-slideout.entry.js +20 -14
  388. package/lib/esm/duet-status-icon.entry.js +3 -3
  389. package/lib/esm/duet-step_2.entry.js +7 -7
  390. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -5
  391. package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
  392. package/lib/esm/duet-submenu-bar-item.entry.js +7 -7
  393. package/lib/esm/duet-submenu-bar-link.entry.js +4 -4
  394. package/lib/esm/duet-submenu-bar.entry.js +7 -7
  395. package/lib/esm/duet-textarea.entry.js +8 -8
  396. package/lib/esm/duet-toggle.entry.js +9 -9
  397. package/lib/esm/duet-toolbar-dropdown-link.entry.js +5 -5
  398. package/lib/esm/duet-toolbar-dropdown.entry.js +7 -7
  399. package/lib/esm/duet-toolbar-item.entry.js +8 -8
  400. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  401. package/lib/esm/duet-toolbar.entry.js +4 -4
  402. package/lib/esm/duet-tooltip-button_2.entry.js +10 -10
  403. package/lib/esm/duet-tooltip.entry.js +5 -5
  404. package/lib/esm/duet-tray.entry.js +7 -7
  405. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  406. package/lib/esm/duet-upload-item.entry.js +6 -6
  407. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  408. package/lib/esm/duet.js +4 -4
  409. package/lib/esm/{errorcodes.utils-DuFCu_27.js → errorcodes.utils-S_WrUPeV.js} +1 -1
  410. package/lib/esm/{focus-utils-CFswdkeD.js → focus-utils-C4oaajGr.js} +1 -1
  411. package/lib/esm/{index-B2cboDWM.js → index-D3450NfA.js} +9 -9
  412. package/lib/esm/{keyboard-utils-Db8rvjPI.js → keyboard-utils-BaefVzkx.js} +2 -1
  413. package/lib/esm/{label-CJxIWUOT.js → label-C1HF2o4Y.js} +1 -1
  414. package/lib/esm/{language-utils-C4M4ASkT.js → language-utils-D4WVl8Ph.js} +1 -1
  415. package/lib/esm/loader.js +4 -4
  416. package/lib/esm/picture-utils-MSeJTkDk.js +13 -0
  417. package/lib/esm/{slot-utils--sNK1DNn.js → slot-utils-Dxcjtmp3.js} +1 -1
  418. package/lib/esm/{themeable-component-BBi3552X.js → themeable-component-QHdUfcat.js} +1 -1
  419. package/lib/esm/{token-utils-B0KAgyj_.js → token-utils-BILzD7LX.js} +1 -1
  420. package/lib/esm/{tokens.module-DEzE2U5T.js → tokens.module-kkZE1C6Z.js} +1 -1
  421. package/lib/types/components/duet-banner/duet-banner.d.ts +5 -1
  422. package/lib/types/components/duet-button/duet-button.d.ts +1 -1
  423. package/lib/types/components/duet-card/duet-card.d.ts +5 -0
  424. package/lib/types/components/duet-chip/duet-chip.d.ts +15 -8
  425. package/lib/types/components/duet-contact-card/duet-contact-card.d.ts +5 -0
  426. package/lib/types/components/duet-date-picker/date-picker-month.d.ts +3 -0
  427. package/lib/types/components/duet-date-picker/date-utils.d.ts +4 -0
  428. package/lib/types/components/duet-date-picker/disallowed-days.d.ts +9 -0
  429. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +14 -0
  430. package/lib/types/components/duet-date-picker/finnish-bank-holidays.d.ts +11 -0
  431. package/lib/types/components/duet-hero/duet-hero.d.ts +5 -0
  432. package/lib/types/components/duet-input/duet-input.d.ts +11 -0
  433. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +5 -0
  434. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +6 -0
  435. package/lib/types/components.d.ts +104 -12
  436. package/lib/types/utils/keyboard-utils.d.ts +1 -0
  437. package/package.json +5 -5
  438. package/lib/duet/p-0c04f9f5.entry.js +0 -4
  439. package/lib/duet/p-18a8ea12.entry.js +0 -4
  440. package/lib/duet/p-1bca9931.entry.js +0 -4
  441. package/lib/duet/p-3f3c6e64.entry.js +0 -4
  442. package/lib/duet/p-4af6a8ed.entry.js +0 -4
  443. package/lib/duet/p-5284c707.entry.js +0 -4
  444. package/lib/duet/p-5c9f443c.entry.js +0 -4
  445. package/lib/duet/p-5lFzA17H.js +0 -4
  446. package/lib/duet/p-6b469225.entry.js +0 -4
  447. package/lib/duet/p-7294c37d.entry.js +0 -4
  448. package/lib/duet/p-72b504ef.entry.js +0 -4
  449. package/lib/duet/p-74aac967.entry.js +0 -4
  450. package/lib/duet/p-7c08fd87.entry.js +0 -4
  451. package/lib/duet/p-83238bf3.entry.js +0 -4
  452. package/lib/duet/p-86ffd3cb.entry.js +0 -4
  453. package/lib/duet/p-871620d3.entry.js +0 -4
  454. package/lib/duet/p-9c9811ba.entry.js +0 -4
  455. package/lib/duet/p-B2cboDWM.js +0 -5
  456. package/lib/duet/p-B8-N_qjs.js +0 -4
  457. package/lib/duet/p-Cg4m_WHe.js +0 -4
  458. package/lib/duet/p-DEzE2U5T.js +0 -4
  459. package/lib/duet/p-Db8rvjPI.js +0 -4
  460. package/lib/duet/p-d5f90dbc.entry.js +0 -4
  461. package/lib/duet/p-fa13ffe9.entry.js +0 -4
  462. package/lib/duet/p-s8EL6NG5.js +0 -4
@@ -243,7 +243,13 @@ export class DuetSlideout {
243
243
  return;
244
244
  }
245
245
  const path = ev.composedPath();
246
- if (!path.includes(this.dialog) && !path.includes(this.openButton)) {
246
+ const isOneTrustClick = path.some(target => {
247
+ if (!(target instanceof Element)) {
248
+ return false;
249
+ }
250
+ return Boolean(target.closest("[id^='onetrust-']"));
251
+ });
252
+ if (!isOneTrustClick && !path.includes(this.dialog) && !path.includes(this.openButton)) {
247
253
  this.toggleMenu(ev);
248
254
  }
249
255
  }
@@ -296,17 +302,17 @@ export class DuetSlideout {
296
302
  };
297
303
  const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
298
304
  const exitTranslation = getLocaleString(this.exitLangObject);
299
- return (h(Host, { key: '4967e4765890d5a1fc428a6da2917e5423728b8f' }, h("div", { key: '019469e0d6a0b7115a2739d19c4db7643912ed0d', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && h("duet-overlay", { key: '1ab0ab05de7bef08b4f9907c3588c4ae1b27a1d6', visible: this.open, zIndex: "600" }), h("div", { key: 'a36de0bbaa226512b8fc62ec92912b0d9ea48fbe', 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: {
305
+ return (h(Host, { key: '0108b967b88b222c02678c818e16c9b7082e565f' }, h("div", { key: 'ede488f0a452f668d8762bf343aac847202eb4db', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && h("duet-overlay", { key: '88e7002a39c769781f72cd680f4aabbf8a75a1af', visible: this.open, zIndex: "600" }), h("div", { key: '7f8a29e110f8be3f4575b66f7d374bd27b6e9eaf', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
300
306
  dialog: true,
301
307
  hidden: !this.open,
302
308
  modal: this.modal,
303
- }, style: styles }, h(FocusGuard, { key: 'f8cd5d6bf0a93a2ec39783b9660a7fe7d666f631', moveFocusTo: this.closeButton }), h("div", { key: '4599d8a89db4503856c93ae476044d0f8b58a6e8', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: '3b9e1c5b2de674864a0570a94eaccc0d2b1fd444', class: "top" }, h("button", { key: '8c68434c8e735aee3a92cbd41dcdfdfdaabda9d3', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
309
+ }, style: styles }, h(FocusGuard, { key: 'e62a77fddb1231b075f5cd54cd1b882fe7d61976', moveFocusTo: this.closeButton }), h("div", { key: 'e6a1feee906e95af23c3f41c5a0b6871d8196a45', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: 'a91a16a339b6c51b7d34d4eb594c318662bf9a8d', class: "top" }, h("button", { key: 'daa5d0a898487a3da98b911c4ca57f5a4608d242', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
304
310
  "slideout-close": true,
305
311
  active: this.open,
306
312
  "duet-theme-turva": this.theme === "turva",
307
- }, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { key: 'a65c83b73256734cf30bb76d70a585f7396e91e7', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '2cd42bbba1aae10f8ea951af29fd111ffc145ecc', class: "sticky-header" }, h("slot", { key: 'c0c2c759bf1f9190a5bcb845d868210801792553', name: "sticky-header" }))), h("div", { key: '9da45e60847db54c0ed5baf6e87d8526c54db02c', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
313
+ }, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { key: '85ca78592d2f03801c02b30b2e23ca8153ebf7af', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '9c3b0cb1ca5f6528f62023b180903017fe8e7a08', class: "sticky-header" }, h("slot", { key: '6e09d463fbe87684f26f1bd778b9beaeeb105cae', name: "sticky-header" }))), h("div", { key: 'f8d0792c76b29d516beae014bbc4468b884370c4', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
308
314
  items: true,
309
- } }, h("slot", { key: '812379a9042a1a79781f4378a0c2b256676d12d8' })), h(FocusGuard, { key: 'a2aeac2c61dbc0b9839144613d999de4dc8edb36', moveFocusTo: this.closeButton })))));
315
+ } }, h("slot", { key: '334688b5dee96e633747c6a8c38f5a5da6677e13' })), h(FocusGuard, { key: '129eea547ce75a8325c6aed5d3bccd6f6b380d9f', moveFocusTo: this.closeButton })))));
310
316
  }
311
317
  static get is() { return "duet-slideout"; }
312
318
  static get encapsulation() { return "shadow"; }
@@ -528,7 +534,7 @@ export class DuetSlideout {
528
534
  "references": {
529
535
  "DuetSlideoutEventDetails": {
530
536
  "location": "local",
531
- "path": "/Users/juha-matti.laaksonen/duetds/packages/components/src/components/duet-slideout/duet-slideout.tsx",
537
+ "path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-slideout/duet-slideout.tsx",
532
538
  "id": "src/components/duet-slideout/duet-slideout.tsx::DuetSlideoutEventDetails"
533
539
  }
534
540
  }
@@ -38,7 +38,7 @@ export class DuetSlideoutLang {
38
38
  */
39
39
  render() {
40
40
  const langTranslation = getLocaleString(this.chooseLangObject);
41
- return (h(Host, { key: '34f0930dcf8021c6864fb605ea004dc58e6b8c9b' }, h("div", { key: '9433641622ace86c08d679f5de5a06c065bc24cd', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, h("duet-icon", { key: 'bc6f8729f8011ff306198f5e6a6c050145199d03', name: "navigation-language", margin: "none", color: "secondary", size: "small" }), h("slot", { key: 'a1608d54cdb7ec066e5757e46ec943db0aeb3eed' }))));
41
+ return (h(Host, { key: '110365f6f4eb9258855cfc4f936a4953a56f2309' }, h("div", { key: '5553f593915deb08fb2f3cbe1ca6b9271253aabf', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, h("duet-icon", { key: '217672b8691657d2854df050f6cb56a794011fcf', name: "navigation-language", margin: "none", color: "secondary", size: "small" }), h("slot", { key: 'c43b3dc4a59d9b0cb5b3a765742b6671ae6f5125' }))));
42
42
  }
43
43
  static get is() { return "duet-slideout-lang"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -77,12 +77,12 @@ export class DuetSlideoutLink {
77
77
  * Always the last one in the class.
78
78
  */
79
79
  render() {
80
- return (h(Host, { key: '8af50d9b7ac2dff34a22383644c26bc271feb186' }, h("a", { key: '2331800cc3a3541998250f6e0d77989311da783d', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
80
+ return (h(Host, { key: 'dc6e16cb08fd3e309601ebfe4bd1b64cdb83fa3c' }, h("a", { key: '565a7243cf494ed6e8ec78435b3b90490dfae422', 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: 'ce90f34daf34e3fad2b5ad7b3b5e37dad9c1fd20', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "small", margin: "none" })), h("div", { key: 'a5fc2cc4c2a7c166b57b529ff62d133775b8dc51', class: "label" }, h("span", { key: '49dc50b3f9fccbca74e22a2a62d8b8037484f386' }, h("span", { key: '732a205ac37b15f4f242c827b90600ff15194c74', class: "label-container" }, h("span", { key: 'cc338ec61125f8695556d8ecc08d9d75d2ded84e', class: "label-content" }, h("slot", { key: '9eacab150163fb2dba6e373a4a3b8ca05346916d' })), this.external && (h("duet-icon", { key: '6420a54645299ae8b19bfcc8626a929b6cc4f5cb', class: "external-icon", theme: this.theme, name: newWindowIcon.title, margin: "none", size: "auto", color: "currentColor" }))), h("slot", { key: '9546111ca2eb2084ee09d4d48ad60eae283fad70', name: "description" })), this.caret && (h("duet-icon", { key: '8d9d92137460efafad759509121e6dae57165a72', 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: '61a9ba050ab811c82ec0f824e2235a4fd3c7bc2b', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "small", margin: "none" })), h("div", { key: 'f481a2e77aed5fa8e0781be21f7dd3527fc24532', class: "label" }, h("span", { key: '2e1a3676bac5ea9d24198535c3f56a1913485450' }, h("span", { key: 'c6d4fc5cfab9566872f9f7f442b4171f8e9f3849', class: "label-container" }, h("span", { key: '55332c9a4587cdef32f32cd2e740d2e9edcc19b3', class: "label-content" }, h("slot", { key: '94c66169219750becb8d9f068cd2744cb761bf3c' })), this.external && (h("duet-icon", { key: '5208591ea13aa8bf9b7f90ce40cb858de42a173f', class: "external-icon", theme: this.theme, name: newWindowIcon.title, margin: "none", size: "auto", color: "currentColor" }))), h("slot", { key: '44418b62998ee7874f226014f4cdcd47a454a164', name: "description" })), this.caret && (h("duet-icon", { key: '052f984772e360db9890e2d5259bc8687732c00e', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
86
86
  }
87
87
  static get is() { return "duet-slideout-link"; }
88
88
  static get encapsulation() { return "shadow"; }
@@ -174,25 +174,25 @@ export class DuetSlideoutPanel {
174
174
  };
175
175
  const exitTranslation = getLocaleString(this.exitLangObject);
176
176
  const backTranslation = getLocaleString(this.backLangObject);
177
- return (h(Host, { key: '8a4dddd16156e7e26f2d90d27e4135baef9d7f7f' }, h("div", { key: 'cfed35efbcbf9502380c2b19e452447d64c0590a', class: {
177
+ return (h(Host, { key: 'fbd7429209de850f01c9de0266dc72f3b775b356' }, h("div", { key: '4557fd410088b0964d37d559659dc84775f91c25', class: {
178
178
  "duet-slideout-panel": true,
179
179
  "duet-theme-turva": this.theme === "turva",
180
180
  active: this.open,
181
- } }, this.badge && h("duet-indicator", { key: '4a1de84e3b6ea4ffb2a1e01631f0a1739771e13e', variation: "change" }), h("button", { key: '0663a7f9b6b1f5f779313be946f44fb0c8e00504', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
181
+ } }, this.badge && h("duet-indicator", { key: '7752c2550f1db28decc53457ffd25543326252cc', variation: "change" }), h("button", { key: 'ae2c1a996d362e9149fa4ca30ffdab94be68d401', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
182
182
  link: true,
183
183
  active: this.active,
184
184
  "duet-theme-turva": this.theme === "turva",
185
- }, onClick: this.onClick, inert: this.open }, this.icon && (h("div", { key: '871f1fcb5709c43089b627de26a80a8a7eecd519', class: "duet-slideout-icon" }, h("duet-icon", { key: 'f1666ba453de11810cc1b1a5ce9d45faed10c193', name: this.icon, size: "small", margin: "none", color: "secondary" }))), h("span", { key: '051ce78454689a7a379a9abd4a75e9a6495afcfa', class: "label" }, h("span", { key: 'a22d205208a777b52b62e0d116a5db0998e3a79d', class: { "label-text": true, [this.labelSize]: true } }, h("slot", { key: '6b817eb49b69b5fe02cd3355fa045fad80bc7692', name: "label" })), h("duet-icon", { key: '0b397ce8f1de51dd50007ab3311e5ad59a7aa428', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), h("div", { key: 'c7665a664268fbd5c4d01e152788ea70445814b8', ref: element => (this.dialog = element), class: {
185
+ }, onClick: this.onClick, inert: this.open }, this.icon && (h("div", { key: 'cbca67b1ec025b984b94bef89fadc9cc1da7d23f', class: "duet-slideout-icon" }, h("duet-icon", { key: 'b741ec1ced8ffb83a771d8d2594dc53fc03c0f6d', name: this.icon, size: "small", margin: "none", color: "secondary" }))), h("span", { key: 'a1357fa71e1c4a68a9cc68fe44e0b583aa99e6b9', class: "label" }, h("span", { key: '74d6c5d655727bc16f27783ceb6bdb987f0db273', class: { "label-text": true, [this.labelSize]: true } }, h("slot", { key: '59649775a8186f71318b4eb15234c9ab653e4e0a', name: "label" })), h("duet-icon", { key: '4d04a7b2554356e55c9771f626f7ddec2c0d0b6c', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), h("div", { key: 'a85b7f26f2c8742f9508fabc33a762814efe2c26', ref: element => (this.dialog = element), class: {
186
186
  dialog: true,
187
187
  hidden: !this.open,
188
- }, style: styles }, h(FocusGuard, { key: 'c05cc6d5b0da41bedee7978f01d6f7c90ecfcf43', moveFocusTo: this.closeButton }), h("div", { key: '8ba7873500abd185fe735632b574279157c8a707', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: '042cbf7c5c36e7a477a64ef184452817030a1fe9', class: "top" }, h("button", { key: 'f327d356b8de850e432f515a4c1a6dc9e003d6f8', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
188
+ }, style: styles }, h(FocusGuard, { key: 'd490bd8e05eba04f62fec39b3adc4a1eccbec6f2', moveFocusTo: this.closeButton }), h("div", { key: 'fe6122ebc2685c788677e117e1d4f5867187f00e', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: '4ef75f568f7dba81c6f83a78a3ec3d7bcd752d05', class: "top" }, h("button", { key: '279bc9fa5744a2fa5ca47ac96c668dde6e2b0191', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
189
189
  back: true,
190
190
  "duet-theme-turva": this.theme === "turva",
191
- }, onClick: this.onClick }, h("duet-icon", { key: '504fac50c5194735f7da38fd9034f28a39418192', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), h("span", { key: '274ca7fdd2c19790c60a7652a7733b41589709d0' }, this.label.innerHTML), h("button", { key: '8aadd95055653e4125015bde99188315d0c2e8cc', class: { close: true, "duet-theme-turva": this.theme === "turva" }, type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, h("duet-icon", { key: '183d96aae0264a7b83f1aa77bdfb63778f173c74', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '7861b5f725b0711c2b7cd7509c8a9a413e28564b', class: "sticky-header" }, h("slot", { key: '2c16e97d5eb0d661158a567b6a07fb89ef1414f2', name: "sticky-header" }))), h("div", { key: 'd6e922e2a37b2ab0ae519dda40afb32d5b56e554', tabindex: "-1", role: "menu",
191
+ }, onClick: this.onClick }, h("duet-icon", { key: '75687b7eab0a837dd81ad953a94e140c841de384', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), h("span", { key: 'f9e44d04288188dfc6d48daf73fa55db5a813800' }, this.label.innerHTML), h("button", { key: 'b545c269d0be2c72fd8b09dbda7774e867965077', class: { close: true, "duet-theme-turva": this.theme === "turva" }, type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, h("duet-icon", { key: '7953b1dc8766021775b78886a787f860a43d5a47', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '1a9ae12c349d77a5fa2431bc4ff4ef67ac7cfb17', class: "sticky-header" }, h("slot", { key: '83ff1bb883c4b4dc691fb66feb4d94d184deb0b1', name: "sticky-header" }))), h("div", { key: 'cfdbea08a5a492608a7c51a114584d225fb9463a', tabindex: "-1", role: "menu",
192
192
  //TODO: slideout menu fades out, needs to be instant
193
193
  id: "menu", "aria-labelledby": "button", class: {
194
194
  items: true,
195
- } }, h("slot", { key: 'af607556495101c55d23a7365f7ad3e661f7fc23' })), h(FocusGuard, { key: 'f2f4d91ef8062f83bbd6099bedccff41d4a144ab', moveFocusTo: this.closeButton })))));
195
+ } }, h("slot", { key: 'add52c19cb2d07b884cf89221c7d274e8568a8b9' })), h(FocusGuard, { key: '5edef9782dbb6e21f309050ffde3aefe3fbacbea', moveFocusTo: this.closeButton })))));
196
196
  }
197
197
  static get is() { return "duet-slideout-panel"; }
198
198
  static get encapsulation() { return "shadow"; }
@@ -52,18 +52,18 @@ export class DuetSlideoutPanelDropdown {
52
52
  * Always the last one in the class.
53
53
  */
54
54
  render() {
55
- return (h(Host, { key: 'f64a64dc68d8df8aebfa507aa995894eb65bb2ce' }, h("div", { key: '18fe7e1d42915f5c5363c5eb95e86db85b214049', class: {
55
+ return (h(Host, { key: 'd9d5a0fb10d7b741720abfb3a6d2c89d9ef8703c' }, h("div", { key: '28fbb84a7341bbb0eb2943f886ba4ef4f4c2b3f0', class: {
56
56
  "duet-slideout-panel-dropdown": true,
57
57
  "duet-theme-turva": this.theme === "turva",
58
58
  active: this.open,
59
- } }, h("button", { key: '06555319532a4a266c061fd1d9c37170c8f9fce0', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
59
+ } }, h("button", { key: 'eb769cad3c4b9c6cd6e55278a2a764ddfac78251', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
60
60
  active: this.active,
61
61
  "duet-theme-turva": this.theme === "turva",
62
- }, onClick: this.onClick }, this.icon && h("duet-icon", { key: '0ea9ceb0e10517319ada16db751234cd3f620d69', name: this.icon, size: "small", margin: "none", color: "secondary" }), h("span", { key: 'd2fc1e1e76b6cde371078a56be4f463fa2592ab2', class: "label" }, h("slot", { key: 'e24116c6f0faf563303c6cfb862c635b5b46852b', name: "label" }), h("duet-icon", { key: '8cd1fdb85c9b4c70767c962dd87e4363f79cb384', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), h("div", { key: 'ff90c4f48368c6020919db5272954fbeaf25bcbd', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
62
+ }, onClick: this.onClick }, this.icon && h("duet-icon", { key: 'd78b626a5ff04513b4c5f706ffbc897a09d5c6d6', name: this.icon, size: "small", margin: "none", color: "secondary" }), h("span", { key: '4462c0ff6f10990d7c7831038b2aa8216089ad1c', class: "label" }, h("slot", { key: '789471a218c9e6e78f3b6e17290ba28b9310992d', name: "label" }), h("duet-icon", { key: '58a41b48fe383657c7ec09139c31945c6b51d7b1', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), h("div", { key: 'b6126db96949f78288a01e35d3b7b266fef58ce8', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
63
63
  items: true,
64
64
  hidden: !this.open,
65
65
  "duet-theme-turva": this.theme === "turva",
66
- } }, h("slot", { key: '7e267c038e415f115df54d5b9ff2c7354614a9ec' })))));
66
+ } }, h("slot", { key: 'df9daef8ce3c9cb1b147c3d4797afce38b454d4a' })))));
67
67
  }
68
68
  static get is() { return "duet-slideout-panel-dropdown"; }
69
69
  static get encapsulation() { return "shadow"; }
@@ -23,7 +23,7 @@ export class DuetSpacer {
23
23
  * Always the last one in the class.
24
24
  */
25
25
  render() {
26
- return (h(Host, { key: '76988a79c56144ea938670ea5a369478d5cbbb9d', class: {
26
+ return (h(Host, { key: 'b494dd7486aac50ad7c79b76b0476a66fb197a89', class: {
27
27
  "duet-spacer": true,
28
28
  "duet-spacer-xx-small": this.breakpoint === "xx-small",
29
29
  "duet-spacer-x-small": this.breakpoint === "x-small",
@@ -60,7 +60,7 @@ export class DuetSpacer {
60
60
  "references": {
61
61
  "DuetSpacerSize": {
62
62
  "location": "local",
63
- "path": "/Users/juha-matti.laaksonen/duetds/packages/components/src/components/duet-spacer/duet-spacer.tsx",
63
+ "path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-spacer/duet-spacer.tsx",
64
64
  "id": "src/components/duet-spacer/duet-spacer.tsx::DuetSpacerSize"
65
65
  }
66
66
  }
@@ -112,7 +112,7 @@ export class DuetSpacer {
112
112
  "references": {
113
113
  "DuetSpacerBreakpoint": {
114
114
  "location": "local",
115
- "path": "/Users/juha-matti.laaksonen/duetds/packages/components/src/components/duet-spacer/duet-spacer.tsx",
115
+ "path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-spacer/duet-spacer.tsx",
116
116
  "id": "src/components/duet-spacer/duet-spacer.tsx::DuetSpacerBreakpoint"
117
117
  }
118
118
  }
@@ -25,7 +25,7 @@ export class DuetSpinner {
25
25
  */
26
26
  render() {
27
27
  const color = !!this.color && this.color === "currentColor" ? "currentColor" : getColorByName(this.color, this.theme);
28
- return (h(Host, { key: '61675c5a2a19edc0eba1be2f591f2bde7a7ab8fd' }, h("div", { key: 'cf612fe4fe85f35a7019913136249169aa74163c', class: {
28
+ return (h(Host, { key: 'f8c4a6b68356300f7738d2c59038d47abdf54124' }, h("div", { key: 'a8aeaf976bec157057a095337bcad89d26eebd8a', class: {
29
29
  "duet-spinner": true,
30
30
  [this.size]: true,
31
31
  "duet-theme-turva": this.theme === "turva",
@@ -99,7 +99,7 @@ export class DuetSpinner {
99
99
  "references": {
100
100
  "DuetSpinnerSize": {
101
101
  "location": "local",
102
- "path": "/Users/juha-matti.laaksonen/duetds/packages/components/src/components/duet-spinner/duet-spinner.tsx",
102
+ "path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-spinner/duet-spinner.tsx",
103
103
  "id": "src/components/duet-spinner/duet-spinner.tsx::DuetSpinnerSize"
104
104
  }
105
105
  }
@@ -85,11 +85,11 @@ export class DuetStatusIcon {
85
85
  }
86
86
  }
87
87
  render() {
88
- return (h(Host, { key: '66f1b0519e8fcb4b025f2e1b64963c25b78b0ce1', class: {
88
+ return (h(Host, { key: '5ac9742af4e473a663ebf16a972686ae4f68f3a3', class: {
89
89
  [`duet-status-icon-${this.getVariation()}`]: true,
90
90
  "duet-strong-bg": this.strong,
91
91
  "duet-m-0": this.margin === "none",
92
- } }, h("duet-icon", { key: '91b2d72ca3e85296b48e4cec8c9c5908c4025649', icon: this.getIcon(), size: this.size, margin: "none" })));
92
+ } }, h("duet-icon", { key: 'b0dcc778049ee9d2877e6a27019f288de08693b9', icon: this.getIcon(), size: this.size, margin: "none" })));
93
93
  }
94
94
  static get is() { return "duet-status-icon"; }
95
95
  static get encapsulation() { return "shadow"; }
@@ -93,13 +93,13 @@ export class DuetStep {
93
93
  * Always the last one in the class.
94
94
  */
95
95
  render() {
96
- return (h("div", { key: 'feada3a7c7ec6780e79afdb23123316ab540f4b6', class: {
96
+ return (h("div", { key: '37dcde2a09c0e543e37af2938511c4e872d5cae3', class: {
97
97
  "duet-step": true,
98
98
  [`is-${this.state}`]: true,
99
99
  "rounded-top": this.roundedTop,
100
100
  "rounded-bottom": this.roundedBottom,
101
101
  "duet-theme-turva": this.theme === "turva",
102
- } }, h("div", { key: 'db476849907739144958c523a74ff59d4fa02cb6', class: "duet-step-heading", id: this.buttonId, role: this.state !== "current" ? "button" : "region", "aria-current": this.state === "current" ? "step" : undefined, tabindex: this.state !== "current" ? "0" : undefined, "aria-disabled": this.isClickDisabled().toString(), "aria-expanded": (this.state === "current").toString(), "aria-controls": this.contentId, "aria-selected": (this.state === "current").toString(), onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: element => (this.buttonElement = element) }, h("div", { key: '50c87080ab159d3c3b21291b364ec76ff0fa3a93', "aria-hidden": "true" }, h("div", { key: '42a157140c2377439884f0af12b4248dec9bfd34', class: "duet-step-counter" }, this.renderStepCounter())), h("duet-spacer", { key: '94aa9e260262de0b9cea9d2fa2c47eb10faded9f', direction: "horizontal", size: "large", breakpoint: "small" }), h("duet-spacer", { key: 'a03e66e47f83ca929b0df04debceb86a2a689b40', direction: "horizontal", size: "medium", breakpoint: "x-small" }), h("div", { key: 'e4da79ec72dc0e986030cd3254f07d0313a7fb47' }, h("duet-heading", { key: '74b1068c7b0625bc4252c62882e596f44205a458', theme: this.theme, level: this.headingLevel, visualLevel: "h4", color: this.headingColor(), margin: "none" }, this.heading)), h("duet-spacer", { key: '3d65d8674ce6b54a17bfa9c355dbf1bb6ab6b4a4', direction: "horizontal", size: "large" }), h("div", { key: 'a17bc89f352a7160004d00a64aa650614fad31e9', class: "duet-step-heading-slot" }, h("slot", { key: '01a89d91a83a2a60e32d88d408a75895f3c68df2', name: "heading-content" }))), h("div", { key: '730bd661a145a1c84f6b475671343f578195454e', class: "duet-step-content-wrapper" }, h("div", { key: 'a95661b180820900e0064b370e62db765a05fcff', class: "duet-step-content", role: "region", "aria-labelledby": this.buttonId, id: this.contentId }, h("slot", { key: 'af8b9819618629683931e6a11e89011e5de7e427' })))));
102
+ } }, h("div", { key: '60cc26eaba669788bb129ee58c8396455bcbe98e', class: "duet-step-heading", id: this.buttonId, role: this.state !== "current" ? "button" : "region", "aria-current": this.state === "current" ? "step" : undefined, tabindex: this.state !== "current" ? "0" : undefined, "aria-disabled": this.isClickDisabled().toString(), "aria-expanded": (this.state === "current").toString(), "aria-controls": this.contentId, "aria-selected": (this.state === "current").toString(), onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: element => (this.buttonElement = element) }, h("div", { key: 'd8bf199c1d4708327bc68f2ca7ca34881e606d9d', "aria-hidden": "true" }, h("div", { key: '85d3a85ac2a10d5d890752aca579d63d307b2b40', class: "duet-step-counter" }, this.renderStepCounter())), h("duet-spacer", { key: '601144eff6f14bb9a339f50496acd851426e42f4', direction: "horizontal", size: "large", breakpoint: "small" }), h("duet-spacer", { key: 'cbee8cd26ef8ff6a7da62b4103ca125f2d507563', direction: "horizontal", size: "medium", breakpoint: "x-small" }), h("div", { key: '98021d88fc8448ed6f6a74b933c7bc0fd8f26ec5' }, h("duet-heading", { key: 'fd4de9e77b6d8bc773ca4431344cf97bdfe136be', theme: this.theme, level: this.headingLevel, visualLevel: "h4", color: this.headingColor(), margin: "none" }, this.heading)), h("duet-spacer", { key: '1da55e5c04eca24aa75cc45977ddaa5d0de92020', direction: "horizontal", size: "large" }), h("div", { key: '300dddded08ecc1b218a501076f95f2fd9b8a233', class: "duet-step-heading-slot" }, h("slot", { key: '7a2cabe2f5d9855beb86893c4b9446217ba7725d', name: "heading-content" }))), h("div", { key: 'f1ea6a3b0bc0c6a2572e6912ec674c42432f5f56', class: "duet-step-content-wrapper" }, h("div", { key: '9bd2104be04904785340ecce44e3b91093555aad', class: "duet-step-content", role: "region", "aria-labelledby": this.buttonId, id: this.contentId }, h("slot", { key: 'fa019373955fff315ba8324a011a6cdc64bdadd1' })))));
103
103
  }
104
104
  static get is() { return "duet-step"; }
105
105
  static get encapsulation() { return "shadow"; }
@@ -217,7 +217,7 @@ export class DuetStep {
217
217
  "references": {
218
218
  "DuetStepState": {
219
219
  "location": "local",
220
- "path": "/Users/juha-matti.laaksonen/duetds/packages/components/src/components/duet-step/duet-step.tsx",
220
+ "path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-step/duet-step.tsx",
221
221
  "id": "src/components/duet-step/duet-step.tsx::DuetStepState"
222
222
  }
223
223
  }
@@ -300,7 +300,7 @@ export class DuetStep {
300
300
  "references": {
301
301
  "DuetStepClickEvent": {
302
302
  "location": "local",
303
- "path": "/Users/juha-matti.laaksonen/duetds/packages/components/src/components/duet-step/duet-step.tsx",
303
+ "path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-step/duet-step.tsx",
304
304
  "id": "src/components/duet-step/duet-step.tsx::DuetStepClickEvent"
305
305
  }
306
306
  }
@@ -118,7 +118,7 @@ export class DuetStepper {
118
118
  * Always the last one in the class.
119
119
  */
120
120
  render() {
121
- return (h(Host, { key: '8a749ceb402c16d72935d15c496ca811cd50b957', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '6aac613a7d6f22aea18a8da6971fdba169e6fa1f', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, h("duet-visually-hidden", { key: '329b1de26e25748913712e9f6c02890ac3aa1431', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), h("slot", { key: 'a7346309c44aad2e5ab18fe0ac6d8d73af8b29f5' }))));
121
+ return (h(Host, { key: '6f441de1f6aa9336d4981a9727b0a5b79267ce06', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: 'bb37128420e9ec5b31375d46408fa6b201c23a73', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, h("duet-visually-hidden", { key: 'e39cc64f5bcac69f03283de656b47440b8cd6141', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), h("slot", { key: '747ef3274ad5dda720a3632086ae1b240e6f30f8' }))));
122
122
  }
123
123
  static get is() { return "duet-stepper"; }
124
124
  static get encapsulation() { return "shadow"; }
@@ -270,7 +270,7 @@ export class DuetStepper {
270
270
  "references": {
271
271
  "DuetStepChangeEvent": {
272
272
  "location": "local",
273
- "path": "/Users/juha-matti.laaksonen/duetds/packages/components/src/components/duet-stepper/duet-stepper.tsx",
273
+ "path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-stepper/duet-stepper.tsx",
274
274
  "id": "src/components/duet-stepper/duet-stepper.tsx::DuetStepChangeEvent"
275
275
  }
276
276
  }
@@ -131,19 +131,19 @@ export class DuetSubmenuBar {
131
131
  * Always the last one in the class.
132
132
  */
133
133
  render() {
134
- return (h(Host, { key: 'd3c7f13bd97536a6c8fc957eeff995a11cd700f1' }, h("nav", { key: '33d3db0a43395d1211e77d348ab5cc1200d55f16', class: {
134
+ return (h(Host, { key: '3ff35419759d1a9ad9b6bf47beadc27a1e9b4fd5' }, h("nav", { key: '0c4826d0281672c9c4cd38467846e87300693186', class: {
135
135
  "duet-submenu-bar": true,
136
136
  "duet-theme-turva": this.theme === "turva",
137
137
  hidden: this.hidden,
138
- }, "aria-label": this.accessibleLabel }, this.hasItems && (h("button", { key: '5d58b7f7a4f45d64f55533a007972a0fe334dbc8', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
138
+ }, "aria-label": this.accessibleLabel }, this.hasItems && (h("button", { key: '686fb5823190f88c99fb23ef6432ac1585f6ee45', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
139
139
  active: this.open,
140
- }, onClick: this.onClick }, h("span", { key: 'b63c704252ae0abd39443445c66f0e8d33962bab', class: "label" }, h("slot", { key: '66bcb4983acd319a25ddd403c53cc0eff6a100a4', name: "label" }), h("duet-icon", { key: '139459aa15d1fd051c14e53ed86927cafdb82a96', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), h("div", { key: 'cac6ef2a388f1b6dad1673e3d7198b48fe5ae5d4', class: {
140
+ }, onClick: this.onClick }, h("span", { key: '5f09108a31bcd0f1ddd63396fd305151549aed05', class: "label" }, h("slot", { key: '30e775986f716fbad49c5c6d8470d2fe67e600b4', name: "label" }), h("duet-icon", { key: 'a78cf4548c27b73fcf82844dca0157dbcbf13364', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), h("div", { key: '0194dee3ce095f88700eae27ff5a99868f9078c0', class: {
141
141
  "menu-container": true,
142
142
  hidden: !this.open,
143
- }, role: "presentation" }, h("div", { key: 'cbd1192338ae183ad463075d7081ec224704d59a', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
143
+ }, role: "presentation" }, h("div", { key: '8a79a253a3d22aa4f5f6d29888ce8ddc4481a495', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
144
144
  items: true,
145
145
  hidden: !this.open,
146
- }, ref: element => (this.itemsContainer = element) }, h("div", { key: '1ed2556ebc4900043e6943cd26405739e933799a', class: "list", role: this.mobile ? "presentation" : "list" }, h("slot", { key: '3dca8078e8bebb973a96a1a727610ae5fa903db8' }), h("div", { key: 'a4cbdb268b4a92530189e6e212b4b8bd7c2a92e2', class: "list-padding" }))), h("duet-overlay", { key: 'b954f6be12e9613c2ef6d464034205874cba6f98', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
146
+ }, ref: element => (this.itemsContainer = element) }, h("div", { key: 'abd6d1c3b5be7df89c5e315dda8a2a1261616f01', class: "list", role: this.mobile ? "presentation" : "list" }, h("slot", { key: '45f3b141e48cc834563d75f322a9233fb738e673' }), h("div", { key: '81a672a413497e5e2f5889f8bad070cb7bfd01b7', class: "list-padding" }))), h("duet-overlay", { key: '6a77a27276d5fa07e17f2ca21ec0d62fa1b252f8', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
147
147
  }
148
148
  static get is() { return "duet-submenu-bar"; }
149
149
  static get encapsulation() { return "shadow"; }
@@ -108,18 +108,18 @@ export class DuetSubmenuBarDropdown {
108
108
  * Always the last one in the class.
109
109
  */
110
110
  render() {
111
- return (h(Host, { key: 'b6cb68f4a7f9031d91d1ee24dd9d2c9362ac6725', role: "listitem" }, h("div", { key: '7e96c76557c1d6e73b30ebca3306a894febcc82c', class: {
111
+ return (h(Host, { key: '9db89f3062b1138f1cbaaacd84a97026ff56c5ff', role: "listitem" }, h("div", { key: '0f9e619dc382e085278c5f36fc978241760b3e70', class: {
112
112
  "duet-submenu-bar-dropdown": true,
113
113
  "duet-theme-turva": this.theme === "turva",
114
114
  open: this.open,
115
115
  active: this.active,
116
- } }, h("button", { key: '7b67d1dcae40e2b849bd6510b40564232c0d5ef1', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
116
+ } }, h("button", { key: '1ecf4e3ee3775963e103647d5d76c7b4a59d0445', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
117
117
  open: this.open,
118
118
  active: this.active,
119
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '7930a2bb5271755d5bef2033ab4d26e0a1066a3e', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '421394660c70b14303e7a1ac02077fa2b738122c', class: "label" }, h("span", { key: '0faf06b99e50e65a857da85c547a4faced3ca773', class: "label-text" }, h("slot", { key: 'b1d4f70cfb107ff5dd4babcd7d0da42d2e979f56', name: "label" })), h("duet-icon", { key: 'e240873040259a28f6d5aa3a86600114627e2a97', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '6336348bb6bc7f8cd5630bdbbd3f36920b6ebe5a', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
119
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: 'a8f70f3768575a3bca672d8918ba83a1077e9603', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'a53417b0ca2642132cf89acfbb1022b593c1a28b', class: "label" }, h("span", { key: '45fca6c9e11c261e27861f263dc2f200e1dfe15a', class: "label-text" }, h("slot", { key: 'cbda020e4fac6600b839cb9c70309914eb80c5eb', name: "label" })), h("duet-icon", { key: 'f4276eaab67b32aec06ce3f1f3b88541ade918f4', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '82c3d5e082beabeb0efc9d240c9d5d921f1b3f45', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
120
120
  items: true,
121
121
  hidden: !this.open,
122
- } }, h("slot", { key: '1f3bd9f1dabf44b36839eb121c965ead3e3c66fa' })))));
122
+ } }, h("slot", { key: '77eaa9506cdf662ffb1d04163e20e1d55d59fec0' })))));
123
123
  }
124
124
  static get is() { return "duet-submenu-bar-dropdown"; }
125
125
  static get encapsulation() { return "shadow"; }
@@ -49,12 +49,12 @@ export class DuetSubmenuBarDropdownLink {
49
49
  * Always the last one in the class.
50
50
  */
51
51
  render() {
52
- return (h(Host, { key: 'd7f1a1d392bb3537d252a930db732bb9a062aa1a' }, h("a", { key: 'f29d863d04d3fb1a4bdced3ca6f4c474dfdf686b', class: {
52
+ return (h(Host, { key: '1f3a52370b17848c34c4e5d67d2ea95e4d7c8132' }, h("a", { key: '5375c770391baab31637c149774f551bef8ebb72', class: {
53
53
  "duet-submenu-bar-dropdown-link": true,
54
54
  "duet-theme-turva": this.theme === "turva",
55
55
  highlight: this.highlight,
56
56
  active: this.active,
57
- }, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: 'e971fcc188cd3bd8165992bf590ca2eab7ac36d2', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("span", { key: '0098384100989c6ce00468717181578c80d39577', class: "label-container" }, h("span", { key: '7a7114ef344ebe12bbbf1a86aa1adc93f6877f1b', class: "label" }, h("slot", { key: 'c5ffaea2de58f7b00416bd02d103063278951d6c' })), this.caret && h("duet-icon", { key: 'e0c832ffb658a7561ddc817f5b5af9aa70780bea', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (h("duet-icon", { key: 'f178e2e11a936dba6e05987d34fd3ba6a9d2ad02', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
57
+ }, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: '33cdb0067f000f88f498f6f09e051a9e52a7f08c', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("span", { key: '9f3eef8e19ff33804e27a02abac519eae7511670', class: "label-container" }, h("span", { key: '3d4ca78914093332e94dd1dbad77128afd5c9fa5', class: "label" }, h("slot", { key: 'ee23c1e008fa9921e6338e6970a320dca9153819' })), this.caret && h("duet-icon", { key: 'c584820003432e257e36b9ba412f9b4685503730', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (h("duet-icon", { key: '9e91428c0825aed310abae4214ee7f7fb3f77bf4', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
58
58
  }
59
59
  static get is() { return "duet-submenu-bar-dropdown-link"; }
60
60
  static get encapsulation() { return "shadow"; }
@@ -80,7 +80,7 @@ export class DuetSubmenuBarItem {
80
80
  render() {
81
81
  const TagName = this.url ? "a" : "button";
82
82
  const role = this.url ? "link" : "button";
83
- return (h(Host, { key: '003100904b0f93856bed193bd01dc1e376b06e6f', role: "listitem" }, h(TagName, { key: 'f16847c6d388d57dca985f6a6ddb9b0d6e1c6157', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '71b069df0ff1d797f2992b865e6ccbae58ac88d4', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'ff67a89fe841a2be286bffe807a171854cfe2c1f', class: "label" }, h("span", { key: '527aa1d31d10d8b327c62d283882e4c5dda3d362', class: "label-text" }, h("slot", { key: 'd13184e6dc0881e5596c8c9ad59031db71300f33' })), (this.trailingIcon || this.external) && (h("duet-icon", { key: '6f1a65c84496095f3fb339ba17f0a80ff9550b03', class: {
83
+ return (h(Host, { key: 'c675c500658117f8fa1fe3629f63caf42fa5cfc5', role: "listitem" }, h(TagName, { key: '444e618b383e220a1f564ae17479db6d34f2b195', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: 'fd9700bf1c3d961a93743de0d869f484553b16bf', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '0f4c3625759850d77add064f64408d776f1f46a1', class: "label" }, h("span", { key: 'abda37eff9b40128fcf46e0c81120eaaa5b0e260', class: "label-text" }, h("slot", { key: '2669839ad630664e4c309a77845668a80b6b807d' })), (this.trailingIcon || this.external) && (h("duet-icon", { key: 'fc997b7d0c63d208f6a5e492fea73e1b30c86706', class: {
84
84
  "trailing-icon": !!this.trailingIcon,
85
85
  "trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
86
86
  "external-icon": !!this.external,
@@ -41,7 +41,7 @@ export class DuetSubmenuBarLink {
41
41
  * Always the last one in the class.
42
42
  */
43
43
  render() {
44
- return (h(Host, { key: '0b8ab66aa806a5cda83d91b525f0df8f06d594de', role: "listitem" }, h("a", { key: '6afed3047487660b7f969cd5064b985899a86797', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (h("duet-icon", { key: '2c2b94f00eb0428a73255667ed7d320fa81bac1f', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("span", { key: '98e5c15c559592573613071d617fc46cf2b8d6f5', class: "label" }, h("slot", { key: 'b99c0f46131d490d6aa540d646fc7750c255c4b4' })))));
44
+ return (h(Host, { key: 'cee1435399e91c4d88abe58e3172d8093bf58796', role: "listitem" }, h("a", { key: '094e7647704343b0511d58f7856eba9f5449ba0f', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (h("duet-icon", { key: '85b33b8d9609e1962cbac3e9fb57bc648042c4e6', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("span", { key: '22bc415cdb1cb8ba85aa0ed47367985443675de8', class: "label" }, h("slot", { key: '2a2a7bdb82c185690ae5b73df3d449716ed80e6c' })))));
45
45
  }
46
46
  static get is() { return "duet-submenu-bar-link"; }
47
47
  static get encapsulation() { return "shadow"; }
@@ -110,7 +110,7 @@ export class DuetTab {
110
110
  * Always the last one in the class.
111
111
  */
112
112
  render() {
113
- return (h("div", { key: '12b8133d0bbf92a085f5c39db06ad4f61be77770', ref: element => {
113
+ return (h("div", { key: 'df1d38a00ae486704755f845444bbb3d99c63017', ref: element => {
114
114
  if (!this.contentId) {
115
115
  this.tabpanelElement = element;
116
116
  }
@@ -119,7 +119,7 @@ export class DuetTab {
119
119
  "duet-tab": true,
120
120
  selected: this.selected,
121
121
  "has-content-id": !!this.contentId,
122
- }, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, h("slot", { key: 'f4d601ccf9017d30770ea9eaaf5873b32fcab605' })));
122
+ }, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, h("slot", { key: '31ef9a143a4015fd0fe6eb0ce190dc4b5bbbd582' })));
123
123
  }
124
124
  static get is() { return "duet-tab"; }
125
125
  static get encapsulation() { return "shadow"; }
@@ -281,13 +281,13 @@ export class DuetTabGroup {
281
281
  [largeBreakpoint]: ["default", "plain", "plain-scrolling"].includes(this.variation) ? true : false,
282
282
  "duet-theme-turva": this.theme === "turva",
283
283
  }, onClick: () => this.onTabSelect(index), onKeyDown: ev => this.handleKeyDown(ev) }, this.variation === "checked" ? (h("div", { class: { "checked-tab-content": true, "stackable-checked-tab-content": this.tabs.length <= 3 } }, h("div", { class: { "checked-tab-description": true, "stackable-description": this.tabs.length <= 3 } }, h("p", null, element.label), h("p", { class: { "tab-caption": true, selected: element.selected } }, element.caption)), h("div", { class: { "stackable-checkmark": this.tabs.length <= 3 } }, h("duet-checkmark", { theme: this.theme, checked: element.selected, type: "radio", "presentation-only": true, center: true })))) : (element.label), element.indicator && (h("duet-indicator", { variation: element.indicator, "accessible-label": element.indicatorAccessibleLabel })))));
284
- return (h("div", { key: '9662897bf265783e330558b8a1b463729026b044', class: {
284
+ return (h("div", { key: '417e3a0eb99cdf3d6df636586be7435cad2144ac', class: {
285
285
  "duet-tab-group": true,
286
286
  "duet-theme-turva": this.theme === "turva",
287
287
  [variationClass]: true,
288
288
  "duet-tab-plain-scrolling": this.variation === "plain-scrolling",
289
289
  "duet-tab-group-scrolls": true,
290
- }, "aria-label": this.accessibleLabel }, h("div", { key: 'bbeef489c8be2a79c22b7fb355a431fada517c63', role: "tablist", class: {
290
+ }, "aria-label": this.accessibleLabel }, h("div", { key: 'da12d48bcbb77d4e88ca34c63ee54c63db53eacd', role: "tablist", class: {
291
291
  "duet-m-0": this.margin === "none" || this.variation === "checked",
292
292
  "duet-tab-group-tabs": true,
293
293
  "duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
@@ -298,11 +298,11 @@ export class DuetTabGroup {
298
298
  } }, this.variation === "checked" ? (buttons) : (h("div", { class: {
299
299
  "duet-tab-group-scrollable-wrapper": true,
300
300
  "duet-tab-group-fill-space-wrapper": this.fillSpace && this.variation === "default",
301
- } }, this.fillSpace && !this.stretch && this.variation === "default" && (h("div", { class: "duet-scrollable-stretch-overlay" }, h("div", { class: "background" }), h("div", { class: "border" }))), h("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center", theme: this.theme, stretch: this.stretch }, buttons)))), h("div", { key: '48bc3f8b5d1ec742e59db454a6b1649e29b7605e', class: {
301
+ } }, this.fillSpace && !this.stretch && this.variation === "default" && (h("div", { class: "duet-scrollable-stretch-overlay" }, h("div", { class: "background" }), h("div", { class: "border" }))), h("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center", theme: this.theme, stretch: this.stretch }, buttons)))), h("div", { key: '25e346444619db75d262e11a84acdfaaafa2257c', class: {
302
302
  "duet-tab-group-content": true,
303
303
  "duet-m-0": this.margin === "none",
304
304
  "checked-group-content": this.variation === "checked",
305
- } }, h("slot", { key: 'b6af6d77ff36c34028e664664c71ed391a54066b' }))));
305
+ } }, h("slot", { key: 'c63f225ca6cd084bb78f4f3bcc046d21c9d47e0a' }))));
306
306
  }
307
307
  static get is() { return "duet-tab-group"; }
308
308
  static get encapsulation() { return "shadow"; }
@@ -420,7 +420,7 @@ export class DuetTabGroup {
420
420
  "references": {
421
421
  "DuetTabVariation": {
422
422
  "location": "local",
423
- "path": "/Users/juha-matti.laaksonen/duetds/packages/components/src/components/duet-tab-group/duet-tab-group.tsx",
423
+ "path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-tab-group/duet-tab-group.tsx",
424
424
  "id": "src/components/duet-tab-group/duet-tab-group.tsx::DuetTabVariation"
425
425
  }
426
426
  }
@@ -743,7 +743,7 @@ export class DuetTabGroup {
743
743
  "references": {
744
744
  "DuetTabGroupEvent": {
745
745
  "location": "local",
746
- "path": "/Users/juha-matti.laaksonen/duetds/packages/components/src/components/duet-tab-group/duet-tab-group.tsx",
746
+ "path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-tab-group/duet-tab-group.tsx",
747
747
  "id": "src/components/duet-tab-group/duet-tab-group.tsx::DuetTabGroupEvent"
748
748
  }
749
749
  }
@@ -764,7 +764,7 @@ export class DuetTabGroup {
764
764
  "references": {
765
765
  "DuetTabGroupEvent": {
766
766
  "location": "local",
767
- "path": "/Users/juha-matti.laaksonen/duetds/packages/components/src/components/duet-tab-group/duet-tab-group.tsx",
767
+ "path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-tab-group/duet-tab-group.tsx",
768
768
  "id": "src/components/duet-tab-group/duet-tab-group.tsx::DuetTabGroupEvent"
769
769
  }
770
770
  }
@@ -785,7 +785,7 @@ export class DuetTabGroup {
785
785
  "references": {
786
786
  "DuetTabGroupEvent": {
787
787
  "location": "local",
788
- "path": "/Users/juha-matti.laaksonen/duetds/packages/components/src/components/duet-tab-group/duet-tab-group.tsx",
788
+ "path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-tab-group/duet-tab-group.tsx",
789
789
  "id": "src/components/duet-tab-group/duet-tab-group.tsx::DuetTabGroupEvent"
790
790
  }
791
791
  }
@@ -809,7 +809,7 @@ export class DuetTabGroup {
809
809
  },
810
810
  "DuetTabGroupEvent": {
811
811
  "location": "local",
812
- "path": "/Users/juha-matti.laaksonen/duetds/packages/components/src/components/duet-tab-group/duet-tab-group.tsx",
812
+ "path": "/Users/kasimir/projects/lahitapiola/duet-design-system/packages/components/src/components/duet-tab-group/duet-tab-group.tsx",
813
813
  "id": "src/components/duet-tab-group/duet-tab-group.tsx::DuetTabGroupEvent"
814
814
  }
815
815
  },
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { colorGrayDarkTurva, colorGrayDarker, colorGrayDarkerTurva, colorGrayLight, colorGrayLightest, colorGrayLightTurva, colorPrimary, colorSecondary, colorSecondaryTurva, colorTurvaGray900, fontFamilyText, fontFamilyTextTurva, fontSizeMedium, fontWeightSemiBold, lineHeightSmall, mediaQueryXSmall, spaceLarge, spaceMedium, spaceSmall, spaceXxSmall, } from "@duetds/tokens";
4
+ import { colorForegroundSecondary, colorForegroundSecondaryTurva, colorGrayDarker, colorGrayDarkerTurva, colorGrayLight, colorGrayLightest, colorGrayLightTurva, colorPrimary, colorSecondary, colorSecondaryTurva, colorTurvaGray900, fontFamilyText, fontFamilyTextTurva, fontSizeMedium, fontWeightSemiBold, lineHeightSmall, mediaQueryXSmall, spaceLarge, spaceMedium, spaceSmall, spaceXxSmall, } from "@duetds/tokens";
5
5
  const rgbable = (value) => {
6
6
  return value.replace("rgb(", "").replace(")", "");
7
7
  };
@@ -72,7 +72,7 @@ duet-table {
72
72
  th {
73
73
  font-weight: ${fontWeightSemiBold};
74
74
  line-height: ${lineHeightSmall};
75
- color: ${colorGrayDarker};
75
+ color: ${colorForegroundSecondary};
76
76
  text-align: left;
77
77
  }
78
78
 
@@ -224,7 +224,7 @@ duet-table {
224
224
  }
225
225
  }
226
226
 
227
-
227
+
228
228
 
229
229
  tbody th {
230
230
  padding-top: calc(${spaceLarge} * 2) !important;
@@ -410,7 +410,7 @@ duet-table {
410
410
  }
411
411
  }
412
412
  }
413
-
413
+
414
414
  duet-table.duet-theme-turva table {
415
415
  font-family: ${fontFamilyTextTurva};
416
416
  }
@@ -420,7 +420,7 @@ duet-table.duet-theme-turva td {
420
420
  }
421
421
 
422
422
  duet-table.duet-theme-turva th {
423
- color: ${colorGrayDarkTurva};
423
+ color: ${colorForegroundSecondaryTurva};
424
424
  }
425
425
 
426
426
  duet-table.duet-theme-turva tbody th {
@@ -144,7 +144,7 @@ export class DuetTable {
144
144
  });
145
145
  }
146
146
  render() {
147
- return (h(Host, { key: '9f1704f22fc4624b02f78c7aef30b43a788ce295', class: {
147
+ return (h(Host, { key: '968bf1e9fea756e09fd9c3c26596fcf857ad8a61', class: {
148
148
  [`duet-table-${this.variation}`]: true,
149
149
  "duet-table-flattened": !this.matchesBreakpoint,
150
150
  // sticky only valid when in regular table layout
@@ -153,7 +153,7 @@ export class DuetTable {
153
153
  "duet-m-0": this.margin === "none",
154
154
  "duet-theme-turva": this.theme === "turva",
155
155
  "duet-table-hide-head-visually": this.hideHeadVisually,
156
- } }, h("slot", { key: '110acd28c9af7e36e6be318cfc5ad44251b72d32' })));
156
+ } }, h("slot", { key: 'ccde2e16ca1aea0af30556faad3207a61a8219d0' })));
157
157
  }
158
158
  static get is() { return "duet-table"; }
159
159
  static get encapsulation() { return "shadow"; }