@duetds/components 6.8.6 → 6.8.8

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 (524) hide show
  1. package/hydrate/index.js +96 -29
  2. package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
  9. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  12. package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
  13. package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-combobox.cjs.entry.js +4 -3
  15. package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  17. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  18. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-editable-table_3.cjs.entry.js +6 -2
  20. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  21. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-header_2.cjs.entry.js +16 -2
  25. package/lib/cjs/duet-hero.cjs.entry.js +8 -4
  26. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
  28. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar.cjs.entry.js +19 -4
  35. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-nav.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-slideout-lang.cjs.entry.js +2 -2
  49. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-slideout.cjs.entry.js +5 -4
  53. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  55. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
  56. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-submenu-bar.cjs.entry.js +9 -4
  58. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -2
  62. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-toolbar.cjs.entry.js +17 -3
  64. package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-tray.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  67. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  68. package/lib/cjs/duet.cjs.js +2 -2
  69. package/lib/cjs/{focus-utils-e3004898.js → focus-utils-ff93a6ec.js} +1 -1
  70. package/lib/cjs/{index-1d72531b.js → index-a3e8bc14.js} +1 -1
  71. package/lib/cjs/loader.cjs.js +2 -2
  72. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +17 -9
  73. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +1 -1
  74. package/lib/collection/components/duet-combobox/duet-combobox.js +21 -2
  75. package/lib/collection/components/duet-contact-card/duet-contact-card.js +1 -1
  76. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -1
  77. package/lib/collection/components/duet-hero/duet-hero.css +143 -22
  78. package/lib/collection/components/duet-hero/duet-hero.js +6 -2
  79. package/lib/collection/components/duet-input/duet-input.css +12 -22
  80. package/lib/collection/components/duet-input/duet-input.js +1 -1
  81. package/lib/collection/components/duet-logo/duet-logo.js +58 -2
  82. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +13 -6
  83. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +51 -2
  84. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  85. package/lib/collection/components/duet-slideout/duet-slideout.css +1 -1
  86. package/lib/collection/components/duet-slideout/duet-slideout.js +2 -1
  87. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  88. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +9 -0
  89. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +24 -2
  90. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +5 -0
  91. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +0 -5
  92. package/lib/collection/components/duet-toolbar/duet-toolbar.css +7 -0
  93. package/lib/collection/components/duet-toolbar/duet-toolbar.js +32 -1
  94. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +19 -1
  95. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  96. package/lib/dist-custom-elements/duet-alert.js +1 -1
  97. package/lib/dist-custom-elements/duet-badge.js +1 -1
  98. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  99. package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
  100. package/lib/dist-custom-elements/duet-button.js +1 -1
  101. package/lib/dist-custom-elements/duet-caption.js +1 -1
  102. package/lib/dist-custom-elements/duet-card.js +3 -3
  103. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  104. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  105. package/lib/dist-custom-elements/duet-choice-group.js +6 -6
  106. package/lib/dist-custom-elements/duet-choice.js +5 -5
  107. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  108. package/lib/dist-custom-elements/duet-combobox.js +6 -4
  109. package/lib/dist-custom-elements/duet-contact-card.js +9 -9
  110. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  111. package/lib/dist-custom-elements/duet-date-picker.js +10 -10
  112. package/lib/dist-custom-elements/duet-divider.js +1 -1
  113. package/lib/dist-custom-elements/duet-editable-table.js +1 -1
  114. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  115. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  116. package/lib/dist-custom-elements/duet-footer.js +4 -4
  117. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  118. package/lib/dist-custom-elements/duet-grid.js +1 -1
  119. package/lib/dist-custom-elements/duet-header.js +8 -8
  120. package/lib/dist-custom-elements/duet-heading.js +1 -1
  121. package/lib/dist-custom-elements/duet-hero.js +16 -12
  122. package/lib/dist-custom-elements/duet-icon.js +1 -1
  123. package/lib/dist-custom-elements/duet-input.js +1 -1
  124. package/lib/dist-custom-elements/duet-label.js +1 -1
  125. package/lib/dist-custom-elements/duet-layout.js +1 -1
  126. package/lib/dist-custom-elements/duet-link.js +1 -1
  127. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  128. package/lib/dist-custom-elements/duet-list.js +1 -1
  129. package/lib/dist-custom-elements/duet-logo.js +1 -1
  130. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  131. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  132. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  133. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  134. package/lib/dist-custom-elements/duet-menu-bar.js +22 -5
  135. package/lib/dist-custom-elements/duet-modal.js +7 -7
  136. package/lib/dist-custom-elements/duet-multiselect.js +8 -8
  137. package/lib/dist-custom-elements/duet-nav.js +2 -2
  138. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  139. package/lib/dist-custom-elements/duet-notification.js +2 -2
  140. package/lib/dist-custom-elements/duet-number-input.js +9 -9
  141. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  142. package/lib/dist-custom-elements/duet-pagination.js +7 -7
  143. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  144. package/lib/dist-custom-elements/duet-progress.js +1 -1
  145. package/lib/dist-custom-elements/duet-radio-group.js +6 -6
  146. package/lib/dist-custom-elements/duet-radio.js +1 -1
  147. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  148. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  149. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  150. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  151. package/lib/dist-custom-elements/duet-select.js +1 -1
  152. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  153. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  154. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  155. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  156. package/lib/dist-custom-elements/duet-slideout.js +5 -4
  157. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  158. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  159. package/lib/dist-custom-elements/duet-step.js +4 -4
  160. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  161. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  162. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
  163. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  164. package/lib/dist-custom-elements/duet-submenu-bar.js +11 -5
  165. package/lib/dist-custom-elements/duet-tab-group.js +9 -9
  166. package/lib/dist-custom-elements/duet-tab.js +1 -1
  167. package/lib/dist-custom-elements/duet-table.js +1 -1
  168. package/lib/dist-custom-elements/duet-textarea.js +8 -8
  169. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  170. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  171. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +5 -3
  172. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  173. package/lib/dist-custom-elements/duet-toolbar.js +19 -4
  174. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  175. package/lib/dist-custom-elements/duet-tray.js +3 -3
  176. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  177. package/lib/dist-custom-elements/duet-upload.js +18 -18
  178. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  179. package/lib/dist-custom-elements/index.js +1 -1
  180. package/lib/dist-custom-elements/{p-c6743310.js → p-0531827c.js} +1 -1
  181. package/lib/dist-custom-elements/{p-1bb1bc0f.js → p-0ca98fac.js} +1 -1
  182. package/lib/dist-custom-elements/{p-6713af30.js → p-11968273.js} +1 -1
  183. package/lib/dist-custom-elements/{p-d56e25b8.js → p-18928f76.js} +1 -1
  184. package/lib/dist-custom-elements/{p-1dcfcc9f.js → p-18eb8a09.js} +10 -10
  185. package/lib/dist-custom-elements/{p-1f065f44.js → p-2a5cb90a.js} +1 -1
  186. package/lib/dist-custom-elements/{p-6bfd97a0.js → p-321ebafe.js} +2 -2
  187. package/lib/dist-custom-elements/{p-86bdfc5f.js → p-4d94ed39.js} +1 -1
  188. package/lib/dist-custom-elements/{p-c94512a3.js → p-4de93a4d.js} +3 -3
  189. package/lib/dist-custom-elements/{p-56443db2.js → p-54680d09.js} +1 -1
  190. package/lib/dist-custom-elements/{p-33ba43e1.js → p-59650585.js} +1 -1
  191. package/lib/dist-custom-elements/{p-068064d2.js → p-5f6be181.js} +1 -1
  192. package/lib/dist-custom-elements/{p-2b97f950.js → p-6c7f6492.js} +12 -8
  193. package/lib/dist-custom-elements/{p-a64f3e9c.js → p-7f53cb7b.js} +2 -2
  194. package/lib/dist-custom-elements/{p-a9c9cbc3.js → p-8330affc.js} +2 -2
  195. package/lib/dist-custom-elements/{p-58fa2020.js → p-8b2b7e77.js} +2 -2
  196. package/lib/dist-custom-elements/{p-f8f93c32.js → p-94ae95da.js} +3 -3
  197. package/lib/dist-custom-elements/{p-8198ee17.js → p-95711e28.js} +1 -1
  198. package/lib/dist-custom-elements/{p-32e43a11.js → p-9a6eda30.js} +4 -4
  199. package/lib/dist-custom-elements/{p-9340fc7c.js → p-a50a98c7.js} +1 -1
  200. package/lib/dist-custom-elements/{p-077f3d0f.js → p-a93335f6.js} +19 -3
  201. package/lib/dist-custom-elements/{p-40818933.js → p-abff644a.js} +2 -2
  202. package/lib/dist-custom-elements/{p-bc2fe9f9.js → p-aecb0a5e.js} +1 -1
  203. package/lib/dist-custom-elements/{p-81d240e1.js → p-b4ecffcc.js} +1 -1
  204. package/lib/dist-custom-elements/{p-de338e31.js → p-bc53c84a.js} +5 -5
  205. package/lib/dist-custom-elements/{p-023342e9.js → p-c23454c0.js} +1 -1
  206. package/lib/dist-custom-elements/{p-10bc90a5.js → p-c45d78ad.js} +1 -1
  207. package/lib/dist-custom-elements/{p-a4fc8229.js → p-c9182b8c.js} +1 -1
  208. package/lib/dist-custom-elements/{p-46027643.js → p-d3e9fa79.js} +3 -3
  209. package/lib/dist-custom-elements/{p-998f0e68.js → p-e6c6717b.js} +1 -1
  210. package/lib/dist-custom-elements/{p-46998408.js → p-ea9a3c47.js} +1 -1
  211. package/lib/dist-custom-elements/{p-28141fe5.js → p-ebbe90a8.js} +6 -6
  212. package/lib/duet/duet.esm.js +1 -1
  213. package/lib/duet/duet.js +1 -1
  214. package/lib/duet/p-010b0c7e.entry.js +4 -0
  215. package/lib/duet/{p-53db1b2d.entry.js → p-02c7edd0.entry.js} +1 -1
  216. package/lib/duet/{p-5e1d86aa.entry.js → p-03731409.entry.js} +1 -1
  217. package/lib/duet/p-05226ce1.entry.js +4 -0
  218. package/lib/duet/{p-f94c7bd2.system.entry.js → p-08511b16.system.entry.js} +1 -1
  219. package/lib/duet/{p-b1aa9b0e.entry.js → p-092339f8.entry.js} +1 -1
  220. package/lib/duet/p-0bb66e24.entry.js +4 -0
  221. package/lib/duet/{p-f02f252c.entry.js → p-1070b759.entry.js} +1 -1
  222. package/lib/duet/{p-9bfe1254.system.entry.js → p-113f7afe.system.entry.js} +1 -1
  223. package/lib/duet/p-13b52e54.system.entry.js +4 -0
  224. package/lib/duet/{p-34a536c5.entry.js → p-1495babe.entry.js} +1 -1
  225. package/lib/duet/{p-2c8ec5dc.entry.js → p-167c6afa.entry.js} +1 -1
  226. package/lib/duet/{p-384cd404.entry.js → p-16dbbf0f.entry.js} +1 -1
  227. package/lib/duet/p-181c9320.entry.js +4 -0
  228. package/lib/duet/{p-bd5a23ad.entry.js → p-19a46ccc.entry.js} +1 -1
  229. package/lib/duet/p-1b417a81.entry.js +4 -0
  230. package/lib/duet/p-22476bd9.entry.js +4 -0
  231. package/lib/duet/{p-fa00dc57.system.entry.js → p-2469ec0a.system.entry.js} +1 -1
  232. package/lib/duet/{p-441bf2f7.system.entry.js → p-24c6dbed.system.entry.js} +1 -1
  233. package/lib/duet/{p-34b4940f.entry.js → p-259bb597.entry.js} +1 -1
  234. package/lib/duet/p-2abc31ff.system.entry.js +4 -0
  235. package/lib/duet/{p-914cd18e.entry.js → p-2c647f93.entry.js} +1 -1
  236. package/lib/duet/{p-1e404cf1.entry.js → p-2ca21c70.entry.js} +1 -1
  237. package/lib/duet/p-2e81a884.system.entry.js +4 -0
  238. package/lib/duet/{p-56f04d8b.system.entry.js → p-31510b9d.system.entry.js} +1 -1
  239. package/lib/duet/{p-de7c93e6.system.entry.js → p-32b7661a.system.entry.js} +1 -1
  240. package/lib/duet/{p-20310f15.system.entry.js → p-34e1a893.system.entry.js} +1 -1
  241. package/lib/duet/{p-d6bf59f8.entry.js → p-35ee3c02.entry.js} +1 -1
  242. package/lib/duet/{p-a2eb4c1f.entry.js → p-380c1b6d.entry.js} +1 -1
  243. package/lib/duet/{p-6303e2c2.system.entry.js → p-39948f72.system.entry.js} +1 -1
  244. package/lib/duet/{p-70e3e285.system.entry.js → p-3adeafd9.system.entry.js} +1 -1
  245. package/lib/duet/{p-af645d50.system.entry.js → p-3ce879c8.system.entry.js} +1 -1
  246. package/lib/duet/{p-c99dff59.system.entry.js → p-446287e7.system.entry.js} +1 -1
  247. package/lib/duet/{p-baa83969.system.entry.js → p-46493c73.system.entry.js} +1 -1
  248. package/lib/duet/{p-0f76b544.js → p-48bd2e8f.js} +1 -1
  249. package/lib/duet/{p-9fdfdaed.system.entry.js → p-494ddebc.system.entry.js} +1 -1
  250. package/lib/duet/{p-26b45af6.system.entry.js → p-49d4ca3a.system.entry.js} +1 -1
  251. package/lib/duet/{p-637954d3.entry.js → p-4b75977e.entry.js} +1 -1
  252. package/lib/duet/{p-3a8973fc.entry.js → p-4b873326.entry.js} +1 -1
  253. package/lib/duet/{p-b9ff52c3.system.entry.js → p-4c11dd19.system.entry.js} +1 -1
  254. package/lib/duet/{p-8f3e2da9.entry.js → p-4d14e835.entry.js} +1 -1
  255. package/lib/duet/{p-ecb016d1.entry.js → p-4f9a3272.entry.js} +1 -1
  256. package/lib/duet/{p-95770ba7.entry.js → p-5120cf45.entry.js} +1 -1
  257. package/lib/duet/{p-751cded7.entry.js → p-515bef3b.entry.js} +1 -1
  258. package/lib/duet/{p-9d6beb46.entry.js → p-52be0c45.entry.js} +1 -1
  259. package/lib/duet/{p-5eee6f5b.system.entry.js → p-54739dc4.system.entry.js} +1 -1
  260. package/lib/duet/p-5bad512d.entry.js +4 -0
  261. package/lib/duet/{p-24266786.system.entry.js → p-5bf8daa8.system.entry.js} +1 -1
  262. package/lib/duet/{p-7ca90a39.entry.js → p-5e4e7d48.entry.js} +1 -1
  263. package/lib/duet/{p-733c0420.system.entry.js → p-5eee6d48.system.entry.js} +1 -1
  264. package/lib/duet/{p-e98a91bd.system.entry.js → p-6116351d.system.entry.js} +1 -1
  265. package/lib/duet/{p-00052a21.entry.js → p-61b41371.entry.js} +1 -1
  266. package/lib/duet/{p-dafbf164.entry.js → p-660a6691.entry.js} +1 -1
  267. package/lib/duet/{p-3bcc21b1.entry.js → p-68bb404f.entry.js} +1 -1
  268. package/lib/duet/{p-1af44cd7.system.entry.js → p-6a9c258b.system.entry.js} +1 -1
  269. package/lib/duet/{p-008e926c.system.entry.js → p-6cc35083.system.entry.js} +1 -1
  270. package/lib/duet/{p-33df50af.system.entry.js → p-6d6dddf6.system.entry.js} +1 -1
  271. package/lib/duet/{p-0ee9fe5a.system.entry.js → p-6f68220c.system.entry.js} +1 -1
  272. package/lib/duet/{p-3d283bed.system.entry.js → p-711d5c90.system.entry.js} +1 -1
  273. package/lib/duet/p-71dd05bf.entry.js +4 -0
  274. package/lib/duet/{p-d2ea6a49.system.entry.js → p-7396f499.system.entry.js} +1 -1
  275. package/lib/duet/{p-eaa14406.entry.js → p-775d5c50.entry.js} +1 -1
  276. package/lib/duet/{p-115bc126.system.entry.js → p-77e2eba0.system.entry.js} +1 -1
  277. package/lib/duet/{p-680fe6e2.entry.js → p-7af63b73.entry.js} +1 -1
  278. package/lib/duet/{p-d5add2a1.entry.js → p-7c860a8b.entry.js} +1 -1
  279. package/lib/duet/{p-b03452eb.system.js → p-7d6351ee.system.js} +1 -1
  280. package/lib/duet/{p-78538446.system.entry.js → p-7deb19fe.system.entry.js} +1 -1
  281. package/lib/duet/{p-e653cfd1.system.entry.js → p-83160849.system.entry.js} +1 -1
  282. package/lib/duet/{p-c2691df5.entry.js → p-8346f3df.entry.js} +1 -1
  283. package/lib/duet/{p-5127875a.entry.js → p-8498c856.entry.js} +1 -1
  284. package/lib/duet/p-879d7357.entry.js +4 -0
  285. package/lib/duet/{p-73941510.entry.js → p-88750631.entry.js} +1 -1
  286. package/lib/duet/{p-d7890385.entry.js → p-8a7c5d79.entry.js} +1 -1
  287. package/lib/duet/{p-96befdd7.system.entry.js → p-8dfd54fa.system.entry.js} +1 -1
  288. package/lib/duet/{p-a7d8d000.system.entry.js → p-8e9dde5b.system.entry.js} +1 -1
  289. package/lib/duet/{p-af878746.system.entry.js → p-8ecb7a52.system.entry.js} +1 -1
  290. package/lib/duet/{p-187f61a9.entry.js → p-90bb0d6e.entry.js} +1 -1
  291. package/lib/duet/{p-b6f1722a.entry.js → p-91088965.entry.js} +1 -1
  292. package/lib/duet/{p-abf85b30.system.entry.js → p-92218406.system.entry.js} +1 -1
  293. package/lib/duet/{p-a6da9ebd.system.entry.js → p-92631252.system.entry.js} +1 -1
  294. package/lib/duet/{p-cfa12307.system.entry.js → p-9521f627.system.entry.js} +1 -1
  295. package/lib/duet/{p-2357cbb2.system.entry.js → p-9730e382.system.entry.js} +1 -1
  296. package/lib/duet/{p-c6ab65e4.system.entry.js → p-97408054.system.entry.js} +1 -1
  297. package/lib/duet/p-97929e49.system.js +4 -0
  298. package/lib/duet/{p-dfbb9078.system.entry.js → p-984dd5b8.system.entry.js} +1 -1
  299. package/lib/duet/{p-a1d584e5.entry.js → p-997b2b9f.entry.js} +1 -1
  300. package/lib/duet/p-99836c8b.system.entry.js +4 -0
  301. package/lib/duet/{p-355f2ced.system.entry.js → p-99cbab16.system.entry.js} +1 -1
  302. package/lib/duet/{p-547f0190.entry.js → p-9d0a8699.entry.js} +1 -1
  303. package/lib/duet/{p-3466ab1a.system.entry.js → p-9db5ccda.system.entry.js} +1 -1
  304. package/lib/duet/{p-1ca5d9c9.system.entry.js → p-9e66ec5a.system.entry.js} +1 -1
  305. package/lib/duet/{p-2ff2f7ab.entry.js → p-a373581e.entry.js} +1 -1
  306. package/lib/duet/{p-e7505450.system.entry.js → p-a6054e33.system.entry.js} +1 -1
  307. package/lib/duet/{p-131a09ef.system.entry.js → p-a789758e.system.entry.js} +1 -1
  308. package/lib/duet/{p-23e3e56f.entry.js → p-aa0e8c20.entry.js} +1 -1
  309. package/lib/duet/{p-ea3cb1bd.entry.js → p-ae269abb.entry.js} +1 -1
  310. package/lib/duet/{p-8b0af3a4.entry.js → p-aff3a01c.entry.js} +1 -1
  311. package/lib/duet/p-b2ee0816.system.entry.js +4 -0
  312. package/lib/duet/{p-fad0a3b6.entry.js → p-b52969e7.entry.js} +1 -1
  313. package/lib/duet/{p-98ac3517.system.entry.js → p-b599e988.system.entry.js} +1 -1
  314. package/lib/duet/{p-0c647794.system.entry.js → p-bc886019.system.entry.js} +1 -1
  315. package/lib/duet/p-bd979a4c.system.entry.js +4 -0
  316. package/lib/duet/p-be140833.system.entry.js +4 -0
  317. package/lib/duet/{p-3d9462b2.system.entry.js → p-bf23e2c2.system.entry.js} +1 -1
  318. package/lib/duet/{p-4bce10fd.entry.js → p-c030c439.entry.js} +1 -1
  319. package/lib/duet/{p-6e02f332.entry.js → p-c1ecad44.entry.js} +1 -1
  320. package/lib/duet/{p-02402b1d.system.entry.js → p-c252fd27.system.entry.js} +1 -1
  321. package/lib/duet/{p-5704bea4.entry.js → p-c406feab.entry.js} +1 -1
  322. package/lib/duet/{p-def5eefd.system.entry.js → p-c4ff0d5e.system.entry.js} +1 -1
  323. package/lib/duet/{p-3c02b40c.system.entry.js → p-c54163d4.system.entry.js} +1 -1
  324. package/lib/duet/{p-c21e0220.system.entry.js → p-c6f1cac9.system.entry.js} +1 -1
  325. package/lib/duet/{p-91417a9a.entry.js → p-c86289ac.entry.js} +1 -1
  326. package/lib/duet/{p-2e65c35d.system.entry.js → p-ca8c60df.system.entry.js} +1 -1
  327. package/lib/duet/{p-7bd0998b.entry.js → p-cc46a1b1.entry.js} +1 -1
  328. package/lib/duet/p-d576a779.entry.js +4 -0
  329. package/lib/duet/{p-7033077c.entry.js → p-d6bb4328.entry.js} +1 -1
  330. package/lib/duet/{p-64a196c8.entry.js → p-d74f6c72.entry.js} +1 -1
  331. package/lib/duet/{p-d11642a4.system.entry.js → p-d7a00344.system.entry.js} +1 -1
  332. package/lib/duet/{p-6843534a.entry.js → p-d9534bab.entry.js} +1 -1
  333. package/lib/duet/{p-2885dc4f.system.entry.js → p-db66ad12.system.entry.js} +1 -1
  334. package/lib/duet/p-dbae4b4f.entry.js +4 -0
  335. package/lib/duet/{p-c0e762c5.entry.js → p-de399c6f.entry.js} +1 -1
  336. package/lib/duet/p-de784087.entry.js +4 -0
  337. package/lib/duet/p-df6dadb2.system.entry.js +4 -0
  338. package/lib/duet/p-e10c2b0d.entry.js +4 -0
  339. package/lib/duet/{p-653c4b81.system.entry.js → p-e1d767cf.system.entry.js} +1 -1
  340. package/lib/duet/{p-4a820e40.entry.js → p-e44c2634.entry.js} +1 -1
  341. package/lib/duet/{p-52598698.entry.js → p-e4d9d7d7.entry.js} +1 -1
  342. package/lib/duet/p-e72eb774.system.entry.js +4 -0
  343. package/lib/duet/{p-0d47b5d0.system.js → p-eb93ebaa.system.js} +1 -1
  344. package/lib/duet/{p-d3bb4cd0.system.entry.js → p-ec32e21b.system.entry.js} +1 -1
  345. package/lib/duet/{p-716f6b7f.system.entry.js → p-f1674fe8.system.entry.js} +1 -1
  346. package/lib/duet/{p-2c385164.system.entry.js → p-f78cbe1a.system.entry.js} +1 -1
  347. package/lib/duet/{p-e3f9f86d.entry.js → p-fc063fa8.entry.js} +1 -1
  348. package/lib/duet/{p-29a36b0d.system.entry.js → p-fcf9d72b.system.entry.js} +1 -1
  349. package/lib/duet/p-fddfa497.entry.js +4 -0
  350. package/lib/duet/{p-0478aca4.js → p-fe7f676a.js} +1 -1
  351. package/lib/esm/duet-action-button.entry.js +1 -1
  352. package/lib/esm/duet-alert.entry.js +1 -1
  353. package/lib/esm/duet-badge.entry.js +1 -1
  354. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  355. package/lib/esm/duet-breadcrumbs.entry.js +3 -3
  356. package/lib/esm/duet-button_2.entry.js +1 -1
  357. package/lib/esm/duet-caption_4.entry.js +1 -1
  358. package/lib/esm/duet-card.entry.js +1 -1
  359. package/lib/esm/duet-checkbox.entry.js +1 -1
  360. package/lib/esm/duet-checkmark.entry.js +1 -1
  361. package/lib/esm/duet-choice_2.entry.js +2 -2
  362. package/lib/esm/duet-collapsible.entry.js +1 -1
  363. package/lib/esm/duet-combobox.entry.js +4 -3
  364. package/lib/esm/duet-contact-card.entry.js +2 -2
  365. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  366. package/lib/esm/duet-date-picker.entry.js +2 -2
  367. package/lib/esm/duet-divider_2.entry.js +1 -1
  368. package/lib/esm/duet-editable-table_3.entry.js +6 -2
  369. package/lib/esm/duet-empty-state.entry.js +1 -1
  370. package/lib/esm/duet-fieldset.entry.js +1 -1
  371. package/lib/esm/duet-footer.entry.js +1 -1
  372. package/lib/esm/duet-grid_2.entry.js +1 -1
  373. package/lib/esm/duet-header_2.entry.js +16 -2
  374. package/lib/esm/duet-hero.entry.js +8 -4
  375. package/lib/esm/duet-icon.entry.js +1 -1
  376. package/lib/esm/duet-input_2.entry.js +3 -3
  377. package/lib/esm/duet-layout.entry.js +1 -1
  378. package/lib/esm/duet-list_2.entry.js +1 -1
  379. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  380. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  381. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  382. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  383. package/lib/esm/duet-menu-bar.entry.js +19 -4
  384. package/lib/esm/duet-modal.entry.js +2 -2
  385. package/lib/esm/duet-multiselect.entry.js +1 -1
  386. package/lib/esm/duet-nav.entry.js +2 -2
  387. package/lib/esm/duet-notification_2.entry.js +1 -1
  388. package/lib/esm/duet-number-input.entry.js +1 -1
  389. package/lib/esm/duet-page-heading.entry.js +1 -1
  390. package/lib/esm/duet-pagination_2.entry.js +1 -1
  391. package/lib/esm/duet-progress.entry.js +1 -1
  392. package/lib/esm/duet-radio_2.entry.js +1 -1
  393. package/lib/esm/duet-range-slider.entry.js +1 -1
  394. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  395. package/lib/esm/duet-section-layout.entry.js +1 -1
  396. package/lib/esm/duet-select.entry.js +1 -1
  397. package/lib/esm/duet-slideout-lang.entry.js +2 -2
  398. package/lib/esm/duet-slideout-link.entry.js +1 -1
  399. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  400. package/lib/esm/duet-slideout-panel.entry.js +2 -2
  401. package/lib/esm/duet-slideout.entry.js +5 -4
  402. package/lib/esm/duet-step_2.entry.js +1 -1
  403. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  404. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  405. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  406. package/lib/esm/duet-submenu-bar.entry.js +9 -4
  407. package/lib/esm/duet-textarea.entry.js +1 -1
  408. package/lib/esm/duet-toggle.entry.js +1 -1
  409. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  410. package/lib/esm/duet-toolbar-dropdown.entry.js +3 -2
  411. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  412. package/lib/esm/duet-toolbar.entry.js +17 -3
  413. package/lib/esm/duet-tooltip.entry.js +1 -1
  414. package/lib/esm/duet-tray.entry.js +1 -1
  415. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  416. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  417. package/lib/esm/duet.js +3 -3
  418. package/lib/esm/{focus-utils-038f6536.js → focus-utils-3d6defe8.js} +1 -1
  419. package/lib/esm/{index-0237f6f4.js → index-56a17140.js} +1 -1
  420. package/lib/esm/loader.js +3 -3
  421. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  422. package/lib/esm-es5/duet-alert.entry.js +1 -1
  423. package/lib/esm-es5/duet-badge.entry.js +1 -1
  424. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  425. package/lib/esm-es5/duet-breadcrumbs.entry.js +2 -2
  426. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  427. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  428. package/lib/esm-es5/duet-card.entry.js +1 -1
  429. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  430. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  431. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  432. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  433. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  434. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  435. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  436. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  437. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  438. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  439. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  440. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  441. package/lib/esm-es5/duet-footer.entry.js +1 -1
  442. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  443. package/lib/esm-es5/duet-header_2.entry.js +2 -2
  444. package/lib/esm-es5/duet-hero.entry.js +2 -2
  445. package/lib/esm-es5/duet-icon.entry.js +1 -1
  446. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  447. package/lib/esm-es5/duet-layout.entry.js +1 -1
  448. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  449. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  450. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  451. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  452. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  453. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  454. package/lib/esm-es5/duet-modal.entry.js +1 -1
  455. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  456. package/lib/esm-es5/duet-nav.entry.js +1 -1
  457. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  458. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  459. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  460. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  461. package/lib/esm-es5/duet-progress.entry.js +1 -1
  462. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  463. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  464. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  465. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  466. package/lib/esm-es5/duet-select.entry.js +1 -1
  467. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  468. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  469. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  470. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  471. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  472. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  473. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  474. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  475. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  476. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  477. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  478. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  479. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  480. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  481. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  482. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  483. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  484. package/lib/esm-es5/duet-tray.entry.js +1 -1
  485. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  486. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  487. package/lib/esm-es5/duet.js +1 -1
  488. package/lib/esm-es5/{focus-utils-038f6536.js → focus-utils-3d6defe8.js} +1 -1
  489. package/lib/esm-es5/{index-0237f6f4.js → index-56a17140.js} +1 -1
  490. package/lib/esm-es5/loader.js +1 -1
  491. package/lib/types/components/duet-combobox/duet-combobox.d.ts +4 -0
  492. package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +2 -0
  493. package/lib/types/components/duet-logo/duet-logo.d.ts +4 -0
  494. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +10 -0
  495. package/lib/types/components/duet-slideout/duet-slideout.d.ts +1 -0
  496. package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +6 -0
  497. package/lib/types/components/duet-toolbar/duet-toolbar.d.ts +6 -0
  498. package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +6 -0
  499. package/lib/types/components.d.ts +52 -0
  500. package/package.json +5 -5
  501. package/lib/duet/p-0135d3be.entry.js +0 -4
  502. package/lib/duet/p-01f704c5.system.entry.js +0 -4
  503. package/lib/duet/p-0ac82243.system.js +0 -4
  504. package/lib/duet/p-0fae73be.system.entry.js +0 -4
  505. package/lib/duet/p-118c2455.entry.js +0 -4
  506. package/lib/duet/p-1de4480f.system.entry.js +0 -4
  507. package/lib/duet/p-317e511d.entry.js +0 -4
  508. package/lib/duet/p-33ffc418.entry.js +0 -4
  509. package/lib/duet/p-3db2790b.system.entry.js +0 -4
  510. package/lib/duet/p-44e0cb33.system.entry.js +0 -4
  511. package/lib/duet/p-5c4e7535.entry.js +0 -4
  512. package/lib/duet/p-6a186073.system.entry.js +0 -4
  513. package/lib/duet/p-70df605a.entry.js +0 -4
  514. package/lib/duet/p-72a74500.entry.js +0 -4
  515. package/lib/duet/p-73058322.entry.js +0 -4
  516. package/lib/duet/p-7af1ae76.entry.js +0 -4
  517. package/lib/duet/p-85652a95.system.entry.js +0 -4
  518. package/lib/duet/p-8761c920.system.entry.js +0 -4
  519. package/lib/duet/p-90aef7eb.entry.js +0 -4
  520. package/lib/duet/p-91cb169e.entry.js +0 -4
  521. package/lib/duet/p-a9d4d0e3.system.entry.js +0 -4
  522. package/lib/duet/p-b09de818.entry.js +0 -4
  523. package/lib/duet/p-e403da27.entry.js +0 -4
  524. package/lib/duet/p-edc3786b.entry.js +0 -4
@@ -48,7 +48,7 @@ export class DuetContactCard {
48
48
  return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h("div", { class: {
49
49
  "duet-contact-card": true,
50
50
  "duet-theme-turva": this.theme === "turva",
51
- }, "aria-role": "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", null, this.name && (h("duet-heading", { class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { class: "email" }, h("duet-icon", { name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { class: "phone" }, h("duet-icon", { name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { class: "call-to-action" }, h("duet-button", { variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", null), h("slot", null))));
51
+ }, role: "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", null, this.name && (h("duet-heading", { class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { class: "email" }, h("duet-icon", { name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { class: "phone" }, h("duet-icon", { name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { class: "call-to-action" }, h("duet-button", { variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", null), h("slot", null))));
52
52
  }
53
53
  static get is() { return "duet-contact-card"; }
54
54
  static get encapsulation() { return "shadow"; }
@@ -9,6 +9,8 @@ import { getLocaleString } from "../../utils/language-utils";
9
9
  import { TableData } from "./duet-editable-table-tabledata";
10
10
  export class DuetEditableTable {
11
11
  constructor() {
12
+ this.hasHeadSlotFirst = false;
13
+ this.hasHeadSlotLast = false;
12
14
  this.sortableDefaultLabel = {
13
15
  fi: "Järjestä",
14
16
  en: "Click to sort",
@@ -58,6 +60,8 @@ export class DuetEditableTable {
58
60
  */
59
61
  componentWillLoad() {
60
62
  inheritGlobalTheme(this);
63
+ this.hasHeadSlotFirst = !!this.element.querySelector("[slot='thead-first']");
64
+ this.hasHeadSlotLast = !!this.element.querySelector("[slot='thead-last']");
61
65
  }
62
66
  createLabel(column) {
63
67
  const { sort_order, direction, index, label } = column;
@@ -149,7 +153,7 @@ export class DuetEditableTable {
149
153
  "duet-editable-table-actions": !!this.actions,
150
154
  "duet-m-0": this.margin === "none",
151
155
  "duet-theme-turva": this.theme === "turva",
152
- } }, h("duet-table", { class: "duet-editable-table-table", sticky: this.sticky, stickyDistance: this.stickyDistance, margin: this.margin, theme: this.theme, variation: this.variation, breakpoint: this.breakpoint, "hide-head-visually": this.hideHeadVisually }, h("table", { role: this.accessibleRole }, h("caption", null, h("slot", { name: "tcaption" })), h("thead", null, h("tr", null, h("td", { class: "duet-editable-table-actions-menu", colSpan: 99 }, h("slot", { name: "thead-first" }))), this.renderTableHeader(), h("tr", null, h("td", { class: "duet-editable-table-actions-menu", colSpan: 99 }, h("slot", { name: "thead-last" })))), h("tbody", null, this.renderTableBody()), h("tfoot", null, h("tr", null, h("th", { class: "duet-editable-table-footer-menu", colSpan: 99 }, h("slot", { name: "tfoot" }))))))));
156
+ } }, h("duet-table", { class: "duet-editable-table-table", sticky: this.sticky, stickyDistance: this.stickyDistance, margin: this.margin, theme: this.theme, variation: this.variation, breakpoint: this.breakpoint, "hide-head-visually": this.hideHeadVisually }, h("table", { role: this.accessibleRole }, h("caption", null, h("slot", { name: "tcaption" })), h("thead", null, this.hasHeadSlotFirst && (h("tr", null, h("td", { class: "duet-editable-table-actions-menu", colSpan: 99 }, h("slot", { name: "thead-first" })))), this.renderTableHeader(), this.hasHeadSlotLast && (h("tr", null, h("td", { class: "duet-editable-table-actions-menu", colSpan: 99 }, h("slot", { name: "thead-last" }))))), h("tbody", null, this.renderTableBody()), h("tfoot", null, h("tr", null, h("th", { class: "duet-editable-table-footer-menu", colSpan: 99 }, h("slot", { name: "tfoot" }))))))));
153
157
  }
154
158
  static get is() { return "duet-editable-table"; }
155
159
  static get encapsulation() { return "scoped"; }
@@ -132,6 +132,9 @@
132
132
  position: absolute;
133
133
  right: 0;
134
134
  left: 0;
135
+ display: grid;
136
+ align-items: flex-start;
137
+ justify-content: center;
135
138
  overflow: hidden;
136
139
  }
137
140
  .duet-hero.duet-hero-campaign .background, .duet-hero.duet-hero-section .background {
@@ -144,7 +147,7 @@
144
147
  .duet-hero.duet-hero-campaign .background img, .duet-hero.duet-hero-section .background img {
145
148
  height: 100%;
146
149
  }
147
- @media (min-width: 106.25em) {
150
+ @media (min-width: 1440px) {
148
151
  .duet-hero.duet-hero-campaign .background img, .duet-hero.duet-hero-section .background img {
149
152
  width: 100%;
150
153
  height: auto;
@@ -170,7 +173,7 @@
170
173
  height: 580px;
171
174
  }
172
175
  }
173
- @media (min-width: 106.25em) {
176
+ @media (min-width: 1600px) {
174
177
  .duet-hero.duet-hero-campaign .background, .duet-hero.duet-hero-section .background {
175
178
  width: 1600px;
176
179
  overflow: hidden;
@@ -272,7 +275,21 @@
272
275
  .duet-hero.duet-hero-campaign .duet-hero-text .duet-hero-subheading,
273
276
  .duet-hero.duet-hero-campaign .duet-hero-text duet-paragraph, .duet-hero.duet-hero-section .duet-hero-text .duet-hero-subheading,
274
277
  .duet-hero.duet-hero-section .duet-hero-text duet-paragraph {
275
- width: 65%;
278
+ width: 90%;
279
+ }
280
+ }
281
+ @media (min-width: 25em) {
282
+ .duet-hero.duet-hero-campaign .duet-hero-text .duet-hero-subheading,
283
+ .duet-hero.duet-hero-campaign .duet-hero-text duet-paragraph, .duet-hero.duet-hero-section .duet-hero-text .duet-hero-subheading,
284
+ .duet-hero.duet-hero-section .duet-hero-text duet-paragraph {
285
+ width: 80%;
286
+ }
287
+ }
288
+ @media (min-width: 30em) {
289
+ .duet-hero.duet-hero-campaign .duet-hero-text .duet-hero-subheading,
290
+ .duet-hero.duet-hero-campaign .duet-hero-text duet-paragraph, .duet-hero.duet-hero-section .duet-hero-text .duet-hero-subheading,
291
+ .duet-hero.duet-hero-section .duet-hero-text duet-paragraph {
292
+ width: 70%;
276
293
  }
277
294
  }
278
295
  @media (min-width: 36em) {
@@ -413,13 +430,22 @@
413
430
  margin: 8rem 0 13rem;
414
431
  }
415
432
  }
433
+ @media (min-width: 62em) {
434
+ .duet-hero.duet-hero-section .background img {
435
+ width: 100%;
436
+ height: auto;
437
+ }
438
+ }
416
439
  @media (min-width: 62em) {
417
440
  .duet-hero.duet-hero-section .background {
441
+ width: 1400px;
418
442
  height: 436px;
443
+ overflow: hidden;
419
444
  }
420
445
  }
421
446
  @media (min-width: 76.25em) {
422
447
  .duet-hero.duet-hero-section .background {
448
+ width: 1536px;
423
449
  height: 516px;
424
450
  }
425
451
  }
@@ -431,38 +457,63 @@
431
457
  .duet-hero.duet-hero-product {
432
458
  position: relative;
433
459
  padding: 0 0 48px;
460
+ padding-top: 236px;
434
461
  margin: 0;
435
- overflow: hidden;
436
462
  background: rgb(255, 255, 255);
437
463
  }
464
+ @media (min-width: 48em) {
465
+ .duet-hero.duet-hero-product {
466
+ padding-top: 250px;
467
+ }
468
+ }
438
469
  @media (min-width: 62em) {
439
470
  .duet-hero.duet-hero-product {
440
471
  min-height: 544px;
472
+ padding-top: 0;
473
+ }
474
+ .duet-hero.duet-hero-product.duet-hero-narrow {
475
+ padding-top: 200px;
441
476
  }
442
477
  }
478
+ .duet-hero.duet-hero-product .background-area {
479
+ position: absolute;
480
+ top: -160px;
481
+ width: 100%;
482
+ height: 600px;
483
+ overflow: hidden;
484
+ }
443
485
  .duet-hero.duet-hero-product .background {
444
- position: relative;
486
+ position: absolute;
487
+ top: 145px;
445
488
  width: 100%;
446
- height: 236px;
489
+ overflow: visible;
447
490
  }
448
491
  .duet-hero.duet-hero-product .background .background-mask {
449
492
  display: none;
450
493
  }
451
494
  @media (min-width: 48em) {
452
495
  .duet-hero.duet-hero-product .background {
453
- height: 290px;
496
+ top: 130px;
497
+ }
498
+ }
499
+ @media (min-width: 62em) {
500
+ .duet-hero.duet-hero-product .background {
501
+ top: 35px;
502
+ }
503
+ }
504
+ @media (min-width: 62em) {
505
+ .duet-hero.duet-hero-product .background.narrow {
506
+ top: 140px;
454
507
  }
455
508
  }
456
509
  @media (min-width: 62em) {
457
510
  .duet-hero.duet-hero-product .background:not(.narrow) {
458
511
  position: absolute;
459
- top: 0;
460
512
  right: 0;
461
513
  left: 0;
462
514
  max-width: 1440px;
463
515
  height: 100%;
464
516
  margin: 0 auto;
465
- overflow: visible;
466
517
  }
467
518
  }
468
519
  .duet-hero.duet-hero-product .background .brand-shaped-image {
@@ -625,6 +676,24 @@
625
676
  max-width: 100%;
626
677
  margin: 0 auto;
627
678
  }
679
+ .duet-hero.duet-hero-product .duet-hero-wrapper .duet-hero-heading {
680
+ margin-top: 1rem;
681
+ }
682
+ @media (min-width: 48em) {
683
+ .duet-hero.duet-hero-product .duet-hero-wrapper .duet-hero-heading {
684
+ margin-top: 2rem;
685
+ }
686
+ }
687
+ @media (min-width: 62em) {
688
+ .duet-hero.duet-hero-product .duet-hero-wrapper .duet-hero-heading {
689
+ margin-top: 7rem;
690
+ }
691
+ }
692
+ @media (min-width: 76.25em) {
693
+ .duet-hero.duet-hero-product .duet-hero-wrapper .duet-hero-heading {
694
+ margin-top: 7rem;
695
+ }
696
+ }
628
697
  .duet-hero.duet-hero-product .duet-hero-wrapper.fluid, .duet-hero.duet-hero-product .duet-hero-wrapper.narrow {
629
698
  padding: 0 16px;
630
699
  }
@@ -670,6 +739,11 @@
670
739
  .duet-hero.duet-hero-product.duet-theme-turva {
671
740
  background: rgb(255, 255, 255);
672
741
  }
742
+ @media (min-width: 62em) {
743
+ .duet-hero.duet-hero-product.duet-theme-turva.duet-hero-narrow {
744
+ padding-top: 160px;
745
+ }
746
+ }
673
747
  .duet-hero.duet-hero-product.duet-theme-turva .background-mask {
674
748
  position: absolute;
675
749
  top: 0;
@@ -711,17 +785,24 @@
711
785
  }
712
786
  }
713
787
  @media (min-width: 62em) {
714
- .duet-hero.duet-hero-product.duet-theme-turva .brand-shaped-image {
788
+ .duet-hero.duet-hero-product.duet-theme-turva .brand-shaped-image.narrow {
789
+ right: 40%;
790
+ left: auto;
791
+ }
792
+ }
793
+ @media (min-width: 62em) {
794
+ .duet-hero.duet-hero-product.duet-theme-turva .brand-shaped-image:not(.narrow) {
715
795
  top: -230px;
716
- right: -128.15px;
796
+ right: -180px;
717
797
  left: auto;
718
- width: 620px;
798
+ width: 675px;
719
799
  height: 675px;
720
800
  margin: 0;
721
801
  }
722
802
  }
723
803
  @media (min-width: 76.25em) {
724
- .duet-hero.duet-hero-product.duet-theme-turva .brand-shaped-image {
804
+ .duet-hero.duet-hero-product.duet-theme-turva .brand-shaped-image:not(.narrow) {
805
+ right: -120px;
725
806
  width: 736px;
726
807
  }
727
808
  }
@@ -736,18 +817,34 @@
736
817
  }
737
818
  }
738
819
  @media (min-width: 62em) {
739
- .duet-hero.duet-hero-product.duet-theme-turva .brand-shaped-image .brand-shaped-image-bg {
820
+ .duet-hero.duet-hero-product.duet-theme-turva .brand-shaped-image .brand-shaped-image-bg:not(.narrow) { /* stylelint-disable-line */
740
821
  width: 800px;
741
822
  height: 470px;
742
823
  }
743
824
  }
744
825
  .duet-hero.duet-hero-product.duet-theme-turva .brand-shaped-icon {
745
826
  top: 150px;
746
- background: rgba(198, 12, 48, 0.75);
827
+ background: rgba(198, 12, 48, 0.9);
828
+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");
829
+ -webkit-mask-repeat: no-repeat;
830
+ mask-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");
831
+ mask-repeat: no-repeat;
832
+ transform: rotate(0deg);
833
+ }
834
+ .duet-hero.duet-hero-product.duet-theme-turva .brand-shaped-icon duet-icon {
835
+ position: relative;
836
+ top: -10px;
837
+ transform: rotate(0deg);
838
+ }
839
+ @media (min-width: 48em) {
840
+ .duet-hero.duet-hero-product.duet-theme-turva .brand-shaped-icon duet-icon {
841
+ top: -15px;
842
+ }
747
843
  }
748
844
  @media (min-width: 48em) {
749
845
  .duet-hero.duet-hero-product.duet-theme-turva .brand-shaped-icon {
750
846
  top: 180px;
847
+ right: 20%;
751
848
  }
752
849
  }
753
850
  @media (min-width: 62em) {
@@ -757,33 +854,55 @@
757
854
  }
758
855
  @media (min-width: 76.25em) {
759
856
  .duet-hero.duet-hero-product.duet-theme-turva .brand-shaped-icon {
760
- top: 292px;
857
+ top: 192px;
858
+ }
859
+ }
860
+ @media (min-width: 76.25em) {
861
+ .duet-hero.duet-hero-product.duet-theme-turva .brand-shaped-icon.narrow {
862
+ right: 40%;
863
+ }
864
+ }
865
+ @media (min-width: 76.25em) {
866
+ .duet-hero.duet-hero-product.duet-theme-turva .brand-shaped-icon:not(.narrow) {
867
+ right: 340px;
761
868
  }
762
869
  }
763
870
  .duet-hero.duet-hero-content {
764
871
  padding: 0 0 48px;
765
- overflow: hidden;
872
+ padding-top: 236px;
766
873
  background: rgb(255, 255, 255);
767
874
  }
875
+ @media (min-width: 48em) {
876
+ .duet-hero.duet-hero-content {
877
+ padding-top: 384px;
878
+ }
879
+ }
768
880
  .duet-hero.duet-hero-content:not(.duet-hero-has-image) {
769
881
  padding: 72px 0 48px;
770
882
  }
883
+ .duet-hero.duet-hero-content .background-area {
884
+ position: absolute;
885
+ width: 100%;
886
+ }
771
887
  .duet-hero.duet-hero-content .background {
772
- position: relative;
773
- height: 236px;
888
+ position: absolute;
889
+ top: -236px;
890
+ width: 100%;
891
+ height: 600px;
892
+ overflow: hidden;
774
893
  }
775
894
  .duet-hero.duet-hero-content .background .background-mask {
776
895
  display: none;
777
896
  }
778
897
  @media (min-width: 48em) {
779
898
  .duet-hero.duet-hero-content .background {
780
- height: 384px;
899
+ top: -384px;
781
900
  }
782
901
  }
783
902
  .duet-hero.duet-hero-content .background .brand-shaped-image {
784
903
  position: absolute;
904
+ top: -165px;
785
905
  right: 0;
786
- bottom: 50px;
787
906
  left: 30px;
788
907
  z-index: 0;
789
908
  width: 375px;
@@ -795,6 +914,7 @@
795
914
  }
796
915
  @media (min-width: 48em) {
797
916
  .duet-hero.duet-hero-content .background .brand-shaped-image {
917
+ top: -325px;
798
918
  left: 250px;
799
919
  width: 687px;
800
920
  height: 687px;
@@ -908,8 +1028,8 @@
908
1028
  }
909
1029
  }
910
1030
  .duet-hero.duet-hero-content.duet-theme-turva .brand-shaped-image {
1031
+ top: -155px;
911
1032
  right: 0;
912
- bottom: -30px;
913
1033
  left: 0;
914
1034
  width: 420px;
915
1035
  height: 420px;
@@ -923,6 +1043,7 @@
923
1043
  }
924
1044
  @media (min-width: 48em) {
925
1045
  .duet-hero.duet-hero-content.duet-theme-turva .brand-shaped-image {
1046
+ top: -230px;
926
1047
  width: 687px;
927
1048
  height: 637px;
928
1049
  }
@@ -105,9 +105,12 @@ export class DuetHero {
105
105
  transform: "translateX(-8px)",
106
106
  };
107
107
  let headingVisualLevel = this.variation === "gray" || this.variation === "minimal" ? "h2" : "h1";
108
- if (campaignOrSection || this.variation === "product") {
108
+ if (campaignOrSection) {
109
109
  headingVisualLevel = "h0";
110
110
  }
111
+ else if (this.variation === "product") {
112
+ headingVisualLevel = "h1";
113
+ }
111
114
  let headingColor = this.variation === "default" ? "gray-lightest" : "";
112
115
  if (campaignOrSection) {
113
116
  headingColor = "color-gray-lightest";
@@ -151,7 +154,8 @@ export class DuetHero {
151
154
  "duet-hero-gray-with-back": !!this.processedBack,
152
155
  "duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
153
156
  "duet-hero-left-align": this.leftAlign && !campaignOrSection,
154
- }, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { class: "background-area" }, h("div", { class: "background-container" }, h("div", { class: "background" }, h("img", { src: this.image, alt: "", role: "presentation" })), h("div", { class: "brand-shape" })))), this.variation === "product" && this.image && (h("div", { class: { background: true, [this.layout]: true } }, h("div", { class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && h("div", { class: { "brand-shape": true, [this.layout]: true } }), h("div", { class: { "brand-shaped-image": true, [this.layout]: true } }, h("div", { class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, h("div", { class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (h("div", { class: { "brand-shaped-icon": true, [this.layout]: true } }, h("duet-icon", { class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))), this.variation === "content" && this.image && (h("div", { class: "background" }, h("div", { class: "background-mask" }), this.theme !== "turva" && h("div", { class: "brand-shape" }), h("div", { class: "brand-shaped-image" }, h("div", { class: "brand-shaped-image-wrapper" }, h("div", { class: "brand-shaped-image-bg", style: styles }))))), h("div", { class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (h("div", { class: "duet-hero-image-mask" }, h("div", { class: "duet-hero-image-wrapper" }, h("div", { class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
157
+ "duet-hero-narrow": this.layout === "narrow",
158
+ }, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { class: "background-area" }, h("div", { class: "background-container" }, h("div", { class: "background" }, h("img", { src: this.image, alt: "", role: "presentation" })), h("div", { class: "brand-shape" })))), this.variation === "product" && this.image && (h("div", { class: "background-area" }, h("div", { class: { background: true, [this.layout]: true } }, h("div", { class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && h("div", { class: { "brand-shape": true, [this.layout]: true } }), h("div", { class: { "brand-shaped-image": true, [this.layout]: true } }, h("div", { class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, h("div", { class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (h("div", { class: { "brand-shaped-icon": true, [this.layout]: true } }, h("duet-icon", { class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false })))))), this.variation === "content" && this.image && (h("div", { class: "background-area" }, h("div", { class: "background" }, h("div", { class: "background-mask" }), this.theme !== "turva" && h("div", { class: "brand-shape" }), h("div", { class: "brand-shaped-image" }, h("div", { class: "brand-shaped-image-wrapper" }, h("div", { class: "brand-shaped-image-bg", style: styles })))))), h("div", { class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (h("div", { class: "duet-hero-image-mask" }, h("div", { class: "duet-hero-image-wrapper" }, h("div", { class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
155
159
  this.processedBack && (h("div", { class: "duet-hero-back" }, h("duet-button", { style: buttonStyles, variation: "plain", icon: "action-arrow-left-small", theme: this.theme, iconSize: "small", color: buttonColor, padding: "none", margin: "none", fixed: true, url: this.processedBack.href, identifier: this.processedBack.id, onClick: event => this.handleClick(event, {
156
160
  label: this.processedBack.label,
157
161
  href: this.processedBack.href,
@@ -51,14 +51,12 @@ input[type=search]::-webkit-search-cancel-button {
51
51
  }
52
52
 
53
53
  duet-tooltip {
54
- position: absolute;
55
54
  top: 12px;
56
55
  right: 0;
57
56
  }
58
57
  @media (min-width: 48em) {
59
58
  duet-tooltip {
60
59
  position: relative;
61
- top: 4px;
62
60
  right: auto;
63
61
  }
64
62
  }
@@ -147,6 +145,18 @@ duet-caption:not(:last-of-type) {
147
145
  box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
148
146
  }
149
147
 
148
+ .duet-input-label-container {
149
+ display: flex;
150
+ flex-direction: row;
151
+ align-items: flex-start;
152
+ justify-content: space-between;
153
+ }
154
+ @media (min-width: 48em) {
155
+ .duet-input-label-container {
156
+ justify-content: flex-start;
157
+ }
158
+ }
159
+
150
160
  .duet-input {
151
161
  position: relative;
152
162
  z-index: 100;
@@ -307,26 +317,6 @@ duet-caption:not(:last-of-type) {
307
317
  margin-right: -28px;
308
318
  }
309
319
 
310
- .duet-label-has-tooltip {
311
- display: inline-flex;
312
- }
313
- @media (min-width: 48em) {
314
- .duet-label-has-tooltip {
315
- display: inline;
316
- }
317
- }
318
- .duet-label-has-tooltip::before {
319
- display: block;
320
- margin-top: 7px;
321
- content: " ";
322
- }
323
-
324
- .duet-input-tooltip::after {
325
- display: inline-block;
326
- height: 49px;
327
- content: " ";
328
- }
329
-
330
320
  .duet-input-help {
331
321
  display: block;
332
322
  font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
@@ -312,7 +312,7 @@ export class DuetInput {
312
312
  "has-clear": this.clear,
313
313
  "has-focus": this.isFocused,
314
314
  disabled: this.disabled,
315
- } }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-label-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), h("input", Object.assign({ ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
315
+ } }, h("div", { class: "duet-input-label-container" }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip))), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), h("input", Object.assign({ ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
316
316
  "duet-input": true,
317
317
  disabled: this.disabled,
318
318
  "is-number": this.component === "number",
@@ -5,7 +5,7 @@ import { colorBrandBlue, colorBrandGrayTurva, colorGrayLightest, colorPrimaryTur
5
5
  import { h, Host } from "@stencil/core";
6
6
  import { inheritGlobalTheme } from "../../common/themeable-component";
7
7
  import { createID } from "../../utils/create-id";
8
- import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, } from "../../utils/language-utils";
8
+ import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
9
9
  const TurvaLogo = ({ inverse, logoId }) => {
10
10
  const logoColor = inverse ? colorGrayLightest : colorBrandGrayTurva;
11
11
  const textColor = inverse ? colorGrayLightest : colorPrimaryTurva;
@@ -44,8 +44,19 @@ export class DuetLogo {
44
44
  this.inverse = false;
45
45
  this.size = "medium";
46
46
  this.href = "/";
47
+ this.accessibleLabelDefaults = {
48
+ fi: "Siirry LähiTapiolan etusivulle.",
49
+ sv: "Gå till LokalTapiola förstasidan.",
50
+ en: "Go to LocalTapiola front page.",
51
+ };
52
+ this.accessibleLabel = getLocaleString(this.accessibleLabelDefaults);
47
53
  this.language = getLanguage();
48
54
  }
55
+ watchLanguageStateHandler(newValue, oldValue) {
56
+ if (newValue !== oldValue && this.accessibleLabel === this.accessibleLabelDefaults[oldValue]) {
57
+ this.accessibleLabel = getLocaleString(this.accessibleLabelDefaults, newValue);
58
+ }
59
+ }
49
60
  /**
50
61
  * Component lifecycle events.
51
62
  */
@@ -73,7 +84,7 @@ export class DuetLogo {
73
84
  */
74
85
  render() {
75
86
  const TagName = this.href ? "a" : "div";
76
- return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h(TagName, { href: this.href, ref: link => (this.nativeLink = link), class: {
87
+ return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h(TagName, { href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
77
88
  "duet-logo": true,
78
89
  [this.size]: true,
79
90
  "duet-theme-turva": this.theme === "turva",
@@ -200,6 +211,45 @@ export class DuetLogo {
200
211
  "reflect": true,
201
212
  "defaultValue": "\"/\""
202
213
  },
214
+ "accessibleLabelDefaults": {
215
+ "type": "unknown",
216
+ "mutable": true,
217
+ "complexType": {
218
+ "original": "DuetLangObject",
219
+ "resolved": "DuetLangObject",
220
+ "references": {
221
+ "DuetLangObject": {
222
+ "location": "import",
223
+ "path": "../../utils/language-utils"
224
+ }
225
+ }
226
+ },
227
+ "required": false,
228
+ "optional": false,
229
+ "docs": {
230
+ "tags": [],
231
+ "text": ""
232
+ },
233
+ "defaultValue": "{\n fi: \"Siirry L\u00E4hiTapiolan etusivulle.\",\n sv: \"G\u00E5 till LokalTapiola f\u00F6rstasidan.\",\n en: \"Go to LocalTapiola front page.\",\n }"
234
+ },
235
+ "accessibleLabel": {
236
+ "type": "string",
237
+ "mutable": true,
238
+ "complexType": {
239
+ "original": "string",
240
+ "resolved": "string",
241
+ "references": {}
242
+ },
243
+ "required": false,
244
+ "optional": false,
245
+ "docs": {
246
+ "tags": [],
247
+ "text": ""
248
+ },
249
+ "attribute": "accessible-label",
250
+ "reflect": true,
251
+ "defaultValue": "getLocaleString(this.accessibleLabelDefaults)"
252
+ },
203
253
  "language": {
204
254
  "type": "string",
205
255
  "mutable": true,
@@ -258,4 +308,10 @@ export class DuetLogo {
258
308
  };
259
309
  }
260
310
  static get elementRef() { return "element"; }
311
+ static get watchers() {
312
+ return [{
313
+ "propName": "language",
314
+ "methodName": "watchLanguageStateHandler"
315
+ }];
316
+ }
261
317
  }
@@ -67,7 +67,7 @@
67
67
  top: 0;
68
68
  left: -1px;
69
69
  z-index: 1;
70
- width: 36px;
70
+ width: 56px;
71
71
  height: 49px;
72
72
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
73
73
  }
@@ -81,7 +81,7 @@
81
81
  top: 0;
82
82
  right: -1px;
83
83
  z-index: 1;
84
- width: 36px;
84
+ width: 56px;
85
85
  height: 49px;
86
86
  background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
87
87
  }
@@ -123,6 +123,13 @@
123
123
  overflow-x: visible;
124
124
  }
125
125
  }
126
+ .duet-menu-bar .container .list {
127
+ height: 100%;
128
+ list-style-type: none;
129
+ }
130
+ .duet-menu-bar .container ::slotted(*) {
131
+ height: 100%;
132
+ }
126
133
  .duet-menu-bar .container > * {
127
134
  display: flex;
128
135
  align-items: center;
@@ -149,24 +156,24 @@
149
156
  background: rgb(255, 255, 255);
150
157
  }
151
158
 
152
- slot[name=center] {
159
+ .center {
153
160
  font-size: 1rem;
154
161
  font-weight: 600;
155
162
  line-height: 1.25;
156
163
  color: rgb(0, 41, 77);
157
164
  }
158
- .duet-theme-turva slot[name=center] {
165
+ .duet-theme-turva .center {
159
166
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
160
167
  color: rgb(23, 28, 58);
161
168
  }
162
169
 
163
- slot[name=right] {
170
+ .right {
164
171
  font-size: 0.875rem;
165
172
  font-weight: 400;
166
173
  line-height: 1.25;
167
174
  color: rgb(0, 77, 128);
168
175
  }
169
- .duet-theme-turva slot[name=right] {
176
+ .duet-theme-turva .right {
170
177
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
171
178
  color: rgb(23, 28, 58);
172
179
  }