@duetds/components 6.9.0 → 6.9.1

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 (535) hide show
  1. package/hydrate/index.js +224 -69
  2. package/lib/cjs/duet-action-button.cjs.entry.js +17 -2
  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 +1 -1
  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 +12 -2
  15. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  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 +25 -10
  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 +4 -2
  24. package/lib/cjs/duet-header_2.cjs.entry.js +15 -1
  25. package/lib/cjs/duet-hero.cjs.entry.js +15 -3
  26. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
  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 +1 -1
  35. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-multiselect.cjs.entry.js +9 -3
  37. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-notification_2.cjs.entry.js +15 -1
  39. package/lib/cjs/duet-number-input.cjs.entry.js +47 -27
  40. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -3
  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 +3 -3
  48. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  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 +3 -3
  53. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +22 -7
  56. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
  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 +1 -1
  62. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-tooltip.cjs.entry.js +16 -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-5c2e36e8.js → focus-utils-46e27452.js} +1 -1
  70. package/lib/cjs/{index-92f0a873.js → index-8512a70b.js} +1 -1
  71. package/lib/cjs/loader.cjs.js +2 -2
  72. package/lib/collection/components/duet-action-button/duet-action-button.js +25 -6
  73. package/lib/collection/components/duet-combobox/duet-combobox.js +16 -3
  74. package/lib/collection/components/duet-editable-table/duet-editable-table.js +15 -3
  75. package/lib/collection/components/duet-grid/duet-grid.css +18 -0
  76. package/lib/collection/components/duet-grid/duet-grid.js +20 -0
  77. package/lib/collection/components/duet-header/duet-header.js +20 -4
  78. package/lib/collection/components/duet-hero/duet-hero.css +7 -0
  79. package/lib/collection/components/duet-hero/duet-hero.js +17 -3
  80. package/lib/collection/components/duet-multiselect/duet-multiselect.js +11 -4
  81. package/lib/collection/components/duet-notification/duet-notification.js +22 -5
  82. package/lib/collection/components/duet-number-input/duet-number-input.js +46 -26
  83. package/lib/collection/components/duet-pagination/duet-pagination.js +21 -5
  84. package/lib/collection/components/duet-select/duet-select.css +0 -4
  85. package/lib/collection/components/duet-select/duet-select.js +1 -1
  86. package/lib/collection/components/duet-slideout/duet-slideout.css +2 -0
  87. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +5 -21
  88. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +1 -0
  89. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +21 -5
  90. package/lib/collection/components/duet-table/duet-table.js +17 -1
  91. package/lib/collection/components/duet-tooltip/duet-tooltip.js +21 -4
  92. package/lib/collection/components/duet-upload/duet-upload.css +19 -9
  93. package/lib/collection/components/duet-upload/duet-upload.js +1 -1
  94. package/lib/collection/components/duet-upload/upload-item.js +3 -3
  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 +3 -3
  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 +6 -6
  107. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  108. package/lib/dist-custom-elements/duet-combobox.js +16 -5
  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 +11 -11
  112. package/lib/dist-custom-elements/duet-divider.js +1 -1
  113. package/lib/dist-custom-elements/duet-editable-table.js +19 -11
  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 +5 -5
  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 +26 -12
  120. package/lib/dist-custom-elements/duet-heading.js +1 -1
  121. package/lib/dist-custom-elements/duet-hero.js +25 -13
  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 +2 -2
  135. package/lib/dist-custom-elements/duet-modal.js +8 -8
  136. package/lib/dist-custom-elements/duet-multiselect.js +18 -11
  137. package/lib/dist-custom-elements/duet-nav.js +1 -1
  138. package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
  139. package/lib/dist-custom-elements/duet-notification.js +19 -5
  140. package/lib/dist-custom-elements/duet-number-input.js +56 -36
  141. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  142. package/lib/dist-custom-elements/duet-pagination.js +26 -12
  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 +5 -5
  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 +3 -3
  156. package/lib/dist-custom-elements/duet-slideout.js +4 -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 +2 -2
  162. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +24 -8
  163. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  164. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  165. package/lib/dist-custom-elements/duet-tab-group.js +10 -10
  166. package/lib/dist-custom-elements/duet-tab.js +2 -2
  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 +2 -2
  172. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  173. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  174. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  175. package/lib/dist-custom-elements/duet-tray.js +4 -4
  176. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  177. package/lib/dist-custom-elements/duet-upload.js +22 -25
  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-1bf112be.js → p-00afad07.js} +1 -1
  181. package/lib/dist-custom-elements/{p-6c05e879.js → p-076452be.js} +1 -1
  182. package/lib/dist-custom-elements/{p-d0dea200.js → p-117109e4.js} +1 -1
  183. package/lib/dist-custom-elements/{p-0d1b84db.js → p-11fbe397.js} +1 -1
  184. package/lib/dist-custom-elements/{p-26d32594.js → p-2a919c81.js} +21 -6
  185. package/lib/dist-custom-elements/{p-c820f65e.js → p-414fdb0c.js} +1 -1
  186. package/lib/dist-custom-elements/{p-9eba8647.js → p-43bbb094.js} +2 -2
  187. package/lib/dist-custom-elements/{p-d6a4de03.js → p-51307fda.js} +1 -1
  188. package/lib/dist-custom-elements/{p-dde8e436.js → p-528cdd3e.js} +5 -5
  189. package/lib/dist-custom-elements/{p-353d6d0c.js → p-57d6495c.js} +1 -1
  190. package/lib/dist-custom-elements/{p-4b4a086d.js → p-5e60f757.js} +9 -9
  191. package/lib/dist-custom-elements/{p-132f2514.js → p-69fa1743.js} +8 -8
  192. package/lib/dist-custom-elements/{p-e1de0408.js → p-6f661b09.js} +1 -1
  193. package/lib/dist-custom-elements/{p-19ad4945.js → p-72635656.js} +1 -1
  194. package/lib/dist-custom-elements/{p-c01c91d6.js → p-7392a942.js} +2 -2
  195. package/lib/dist-custom-elements/{p-c4a3d30d.js → p-7c4c8cf0.js} +1 -1
  196. package/lib/dist-custom-elements/{p-17d43428.js → p-84d75d9d.js} +4 -4
  197. package/lib/dist-custom-elements/{p-29b2c3bb.js → p-8d12a863.js} +1 -1
  198. package/lib/dist-custom-elements/{p-7199196e.js → p-9175529e.js} +3 -3
  199. package/lib/dist-custom-elements/{p-49848110.js → p-94df5d2c.js} +1 -1
  200. package/lib/dist-custom-elements/{p-d6bcc527.js → p-98b0f345.js} +1 -1
  201. package/lib/dist-custom-elements/p-9f027a93.js +183 -0
  202. package/lib/dist-custom-elements/{p-a56cc313.js → p-afc65a24.js} +2 -2
  203. package/lib/dist-custom-elements/{p-890a9b12.js → p-b51fbd15.js} +2 -2
  204. package/lib/dist-custom-elements/{p-9d23386f.js → p-b7b7c63b.js} +1 -1
  205. package/lib/dist-custom-elements/{p-7a4bdb83.js → p-bbf48894.js} +1 -1
  206. package/lib/dist-custom-elements/{p-47ba781e.js → p-bdc087cb.js} +15 -2
  207. package/lib/dist-custom-elements/{p-276e05ab.js → p-c272c5d5.js} +6 -6
  208. package/lib/dist-custom-elements/{p-41ef88f4.js → p-c57eccd3.js} +22 -6
  209. package/lib/dist-custom-elements/{p-945a2c0c.js → p-c8659d75.js} +2 -2
  210. package/lib/dist-custom-elements/{p-a1ee31fb.js → p-cefb33f9.js} +1 -1
  211. package/lib/dist-custom-elements/{p-85fd8f09.js → p-f1b800f0.js} +1 -1
  212. package/lib/duet/duet.esm.js +1 -1
  213. package/lib/duet/duet.js +1 -1
  214. package/lib/duet/{p-d8de0d06.entry.js → p-00c11b87.entry.js} +1 -1
  215. package/lib/duet/{p-2e69c81b.entry.js → p-018b0ffe.entry.js} +1 -1
  216. package/lib/duet/p-01ca2f64.system.entry.js +4 -0
  217. package/lib/duet/{p-45a64d20.entry.js → p-02fb736a.entry.js} +1 -1
  218. package/lib/duet/{p-702a9390.entry.js → p-04ccc444.entry.js} +1 -1
  219. package/lib/duet/{p-f173da98.entry.js → p-05f30291.entry.js} +1 -1
  220. package/lib/duet/p-08b03779.system.entry.js +4 -0
  221. package/lib/duet/{p-a6a5458a.entry.js → p-097c4d0c.entry.js} +1 -1
  222. package/lib/duet/p-0ab4083f.entry.js +4 -0
  223. package/lib/duet/{p-d5474f30.system.entry.js → p-0ca53854.system.entry.js} +1 -1
  224. package/lib/duet/{p-c4738155.system.entry.js → p-0e8dab5b.system.entry.js} +1 -1
  225. package/lib/duet/{p-d503fd3d.entry.js → p-1254c99a.entry.js} +1 -1
  226. package/lib/duet/{p-c3495075.system.entry.js → p-1263323e.system.entry.js} +1 -1
  227. package/lib/duet/{p-835ea0dc.system.entry.js → p-133d2ee1.system.entry.js} +1 -1
  228. package/lib/duet/{p-9f5446d7.system.entry.js → p-14e3383d.system.entry.js} +1 -1
  229. package/lib/duet/{p-fa7a4245.entry.js → p-154c0d34.entry.js} +1 -1
  230. package/lib/duet/{p-65b119a7.system.entry.js → p-1666fed9.system.entry.js} +1 -1
  231. package/lib/duet/{p-21d08944.entry.js → p-1739bdd1.entry.js} +1 -1
  232. package/lib/duet/p-187c9ec6.system.entry.js +4 -0
  233. package/lib/duet/{p-2b94fb6c.entry.js → p-2078d7cd.entry.js} +1 -1
  234. package/lib/duet/{p-29193196.entry.js → p-22caa775.entry.js} +1 -1
  235. package/lib/duet/{p-893d0a53.entry.js → p-2695e6c6.entry.js} +1 -1
  236. package/lib/duet/{p-2c0d4d3c.entry.js → p-27cc2332.entry.js} +1 -1
  237. package/lib/duet/{p-e71cb6f4.entry.js → p-2c28eb80.entry.js} +1 -1
  238. package/lib/duet/{p-850b95d7.entry.js → p-2c6e4614.entry.js} +1 -1
  239. package/lib/duet/{p-47fb8005.system.entry.js → p-2d6e3927.system.entry.js} +1 -1
  240. package/lib/duet/{p-02e23372.entry.js → p-2e1e2d3d.entry.js} +1 -1
  241. package/lib/duet/{p-7c32523b.system.entry.js → p-2f936baf.system.entry.js} +1 -1
  242. package/lib/duet/{p-6fe5922d.system.entry.js → p-33bf6eed.system.entry.js} +1 -1
  243. package/lib/duet/{p-e8a6eda7.system.entry.js → p-340bef19.system.entry.js} +1 -1
  244. package/lib/duet/{p-78f49cbf.system.entry.js → p-35907d51.system.entry.js} +1 -1
  245. package/lib/duet/p-361ce072.system.entry.js +4 -0
  246. package/lib/duet/{p-d7c0027e.entry.js → p-376ec229.entry.js} +1 -1
  247. package/lib/duet/{p-72585f83.entry.js → p-3856f3a8.entry.js} +1 -1
  248. package/lib/duet/{p-39c34fde.system.entry.js → p-3a21d43b.system.entry.js} +1 -1
  249. package/lib/duet/p-3a28cf58.entry.js +4 -0
  250. package/lib/duet/p-3d3e5e9e.entry.js +4 -0
  251. package/lib/duet/{p-b3584ef1.system.entry.js → p-417c1eca.system.entry.js} +1 -1
  252. package/lib/duet/{p-643dd974.entry.js → p-45a939b3.entry.js} +1 -1
  253. package/lib/duet/{p-6326cade.system.entry.js → p-46ca69cf.system.entry.js} +1 -1
  254. package/lib/duet/{p-1ef436d2.js → p-4879ffe9.js} +1 -1
  255. package/lib/duet/p-4b7f3ac1.system.js +4 -0
  256. package/lib/duet/{p-7fd9b8b6.system.entry.js → p-4bdd34bc.system.entry.js} +1 -1
  257. package/lib/duet/{p-628c4fc7.system.entry.js → p-4c286dee.system.entry.js} +1 -1
  258. package/lib/duet/{p-be3c04fb.entry.js → p-50b51053.entry.js} +1 -1
  259. package/lib/duet/p-51160aa4.entry.js +4 -0
  260. package/lib/duet/{p-8b123c27.system.entry.js → p-539034b3.system.entry.js} +1 -1
  261. package/lib/duet/{p-c22a97ea.system.entry.js → p-54a44e1e.system.entry.js} +1 -1
  262. package/lib/duet/{p-95f020cc.system.entry.js → p-56b4f6e5.system.entry.js} +1 -1
  263. package/lib/duet/{p-faaa6249.entry.js → p-57f981bd.entry.js} +1 -1
  264. package/lib/duet/{p-049f7427.entry.js → p-58833aca.entry.js} +1 -1
  265. package/lib/duet/{p-4ab70001.system.entry.js → p-5abf961b.system.entry.js} +1 -1
  266. package/lib/duet/{p-c7507f6b.system.entry.js → p-5c2dd50b.system.entry.js} +2 -2
  267. package/lib/duet/p-5c83e833.entry.js +4 -0
  268. package/lib/duet/p-614194b1.entry.js +4 -0
  269. package/lib/duet/p-618615d1.system.entry.js +4 -0
  270. package/lib/duet/{p-58d08fb8.entry.js → p-61e84177.entry.js} +1 -1
  271. package/lib/duet/{p-b16b89c3.system.entry.js → p-64297b4d.system.entry.js} +1 -1
  272. package/lib/duet/{p-a5b5f3e2.system.entry.js → p-64b14d85.system.entry.js} +1 -1
  273. package/lib/duet/p-6a1f0973.system.entry.js +4 -0
  274. package/lib/duet/{p-bc89db28.entry.js → p-6a8341c1.entry.js} +1 -1
  275. package/lib/duet/p-71779b62.entry.js +4 -0
  276. package/lib/duet/{p-c073eb55.system.entry.js → p-71e63186.system.entry.js} +1 -1
  277. package/lib/duet/p-736eb6f6.system.entry.js +4 -0
  278. package/lib/duet/p-75a307e4.entry.js +4 -0
  279. package/lib/duet/{p-1bfff197.system.entry.js → p-76bac602.system.entry.js} +1 -1
  280. package/lib/duet/{p-4136d211.entry.js → p-7743d05c.entry.js} +1 -1
  281. package/lib/duet/{p-07e54b8a.entry.js → p-78973e79.entry.js} +1 -1
  282. package/lib/duet/{p-2b4f4c85.system.entry.js → p-7cbc8aa1.system.entry.js} +1 -1
  283. package/lib/duet/{p-ce108a20.entry.js → p-7dd4e3f6.entry.js} +1 -1
  284. package/lib/duet/p-7e9e10ab.entry.js +4 -0
  285. package/lib/duet/{p-7a5077a2.system.entry.js → p-80973cda.system.entry.js} +1 -1
  286. package/lib/duet/{p-c91aaa04.system.entry.js → p-825c4e47.system.entry.js} +1 -1
  287. package/lib/duet/{p-190507d4.system.entry.js → p-84881c84.system.entry.js} +1 -1
  288. package/lib/duet/p-86201340.system.entry.js +4 -0
  289. package/lib/duet/{p-c518f7da.system.entry.js → p-8a517f70.system.entry.js} +1 -1
  290. package/lib/duet/{p-5047ae3d.entry.js → p-8b7b4c46.entry.js} +1 -1
  291. package/lib/duet/{p-7a53ff56.entry.js → p-90fece55.entry.js} +1 -1
  292. package/lib/duet/{p-72264693.entry.js → p-9389ce47.entry.js} +1 -1
  293. package/lib/duet/{p-58b9c7b4.system.entry.js → p-94f2509c.system.entry.js} +1 -1
  294. package/lib/duet/p-960503a3.entry.js +4 -0
  295. package/lib/duet/p-9616579e.entry.js +4 -0
  296. package/lib/duet/{p-f7ff8b67.entry.js → p-981b43c2.entry.js} +1 -1
  297. package/lib/duet/{p-38680e94.system.entry.js → p-99ccb2c2.system.entry.js} +1 -1
  298. package/lib/duet/p-9cd3ea60.system.entry.js +4 -0
  299. package/lib/duet/p-9d36613e.system.entry.js +4 -0
  300. package/lib/duet/{p-4b02643a.system.entry.js → p-9fc991c2.system.entry.js} +1 -1
  301. package/lib/duet/{p-addd277e.system.entry.js → p-a0bcc46c.system.entry.js} +1 -1
  302. package/lib/duet/p-a113525c.entry.js +4 -0
  303. package/lib/duet/{p-5743852f.system.js → p-a190f8b9.system.js} +1 -1
  304. package/lib/duet/{p-aac361b8.entry.js → p-a29118e6.entry.js} +1 -1
  305. package/lib/duet/{p-80bc3db3.entry.js → p-a3f23363.entry.js} +1 -1
  306. package/lib/duet/{p-7f2a16b3.entry.js → p-a4a9705f.entry.js} +1 -1
  307. package/lib/duet/{p-ef31120e.system.entry.js → p-a4e42811.system.entry.js} +1 -1
  308. package/lib/duet/p-a6751ba6.entry.js +4 -0
  309. package/lib/duet/{p-44bbf984.entry.js → p-a7d9728a.entry.js} +1 -1
  310. package/lib/duet/{p-e9cea31c.entry.js → p-abbcf5dc.entry.js} +1 -1
  311. package/lib/duet/{p-fad8bcee.system.entry.js → p-aee38b4a.system.entry.js} +1 -1
  312. package/lib/duet/{p-ad82c633.system.entry.js → p-b1abb582.system.entry.js} +1 -1
  313. package/lib/duet/{p-c3e4e6a2.system.entry.js → p-b2be54b5.system.entry.js} +1 -1
  314. package/lib/duet/{p-b1b1160e.system.entry.js → p-b308ce5d.system.entry.js} +1 -1
  315. package/lib/duet/{p-d563682c.entry.js → p-b3f12c59.entry.js} +1 -1
  316. package/lib/duet/{p-2ff8c614.entry.js → p-b656b461.entry.js} +1 -1
  317. package/lib/duet/{p-48bab8b6.entry.js → p-bb536ec4.entry.js} +1 -1
  318. package/lib/duet/{p-8f0579d1.entry.js → p-bc0ce7e7.entry.js} +1 -1
  319. package/lib/duet/{p-93f3e158.system.entry.js → p-bf37cb60.system.entry.js} +1 -1
  320. package/lib/duet/{p-c832c83e.system.entry.js → p-c141d219.system.entry.js} +1 -1
  321. package/lib/duet/p-c16de43f.system.entry.js +4 -0
  322. package/lib/duet/{p-2184a285.system.entry.js → p-c19d32af.system.entry.js} +1 -1
  323. package/lib/duet/{p-84eb3d96.system.entry.js → p-c213c2f2.system.entry.js} +1 -1
  324. package/lib/duet/{p-2a80caf9.entry.js → p-c3c98ddf.entry.js} +1 -1
  325. package/lib/duet/{p-9aae9d2a.system.entry.js → p-c70da05a.system.entry.js} +1 -1
  326. package/lib/duet/{p-17d1d5ee.entry.js → p-cb5771c5.entry.js} +1 -1
  327. package/lib/duet/{p-dcce6bad.entry.js → p-cd410e2a.entry.js} +1 -1
  328. package/lib/duet/{p-8760c0ee.system.entry.js → p-cfebc130.system.entry.js} +1 -1
  329. package/lib/duet/{p-568c7b6d.entry.js → p-d22e694c.entry.js} +1 -1
  330. package/lib/duet/{p-fc8b03f3.system.entry.js → p-d2d14d3b.system.entry.js} +1 -1
  331. package/lib/duet/p-d51ed3e2.system.entry.js +4 -0
  332. package/lib/duet/{p-7dc36831.system.js → p-d8422099.system.js} +1 -1
  333. package/lib/duet/{p-c0ac70a9.entry.js → p-d924703a.entry.js} +1 -1
  334. package/lib/duet/{p-cc7f7692.entry.js → p-db9f9e24.entry.js} +1 -1
  335. package/lib/duet/{p-1de4b105.system.entry.js → p-dc1f60cd.system.entry.js} +1 -1
  336. package/lib/duet/p-dc566220.entry.js +4 -0
  337. package/lib/duet/{p-a79f86b5.system.entry.js → p-df1531b7.system.entry.js} +1 -1
  338. package/lib/duet/{p-12ee9a23.system.entry.js → p-e13d0460.system.entry.js} +1 -1
  339. package/lib/duet/{p-afb58e46.js → p-e1919861.js} +1 -1
  340. package/lib/duet/{p-21d4df80.entry.js → p-e4626c0e.entry.js} +1 -1
  341. package/lib/duet/{p-5576e447.system.entry.js → p-e920e34f.system.entry.js} +1 -1
  342. package/lib/duet/{p-26ebc753.system.entry.js → p-e9fb2c3b.system.entry.js} +1 -1
  343. package/lib/duet/{p-2faa3962.entry.js → p-eb4393ed.entry.js} +1 -1
  344. package/lib/duet/{p-2e822cf0.entry.js → p-ed222f86.entry.js} +1 -1
  345. package/lib/duet/p-f25db9b8.entry.js +4 -0
  346. package/lib/duet/{p-7d4e2e96.system.entry.js → p-f28d27a4.system.entry.js} +1 -1
  347. package/lib/duet/{p-2b0d6d66.system.entry.js → p-fa0896f4.system.entry.js} +1 -1
  348. package/lib/duet/{p-de06c5ff.entry.js → p-faeed6cf.entry.js} +1 -1
  349. package/lib/duet/{p-d3da2989.system.entry.js → p-fb352dcf.system.entry.js} +1 -1
  350. package/lib/duet/{p-e57b04f0.entry.js → p-fec9ec39.entry.js} +1 -1
  351. package/lib/esm/duet-action-button.entry.js +18 -3
  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 +1 -1
  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 +13 -3
  364. package/lib/esm/duet-contact-card.entry.js +1 -1
  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 +26 -11
  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 +4 -2
  373. package/lib/esm/duet-header_2.entry.js +15 -1
  374. package/lib/esm/duet-hero.entry.js +16 -4
  375. package/lib/esm/duet-icon.entry.js +1 -1
  376. package/lib/esm/duet-input_2.entry.js +1 -1
  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 +1 -1
  384. package/lib/esm/duet-modal.entry.js +2 -2
  385. package/lib/esm/duet-multiselect.entry.js +10 -4
  386. package/lib/esm/duet-nav.entry.js +1 -1
  387. package/lib/esm/duet-notification_2.entry.js +16 -2
  388. package/lib/esm/duet-number-input.entry.js +47 -27
  389. package/lib/esm/duet-page-heading.entry.js +1 -1
  390. package/lib/esm/duet-pagination_2.entry.js +17 -4
  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 +3 -3
  397. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  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 +3 -3
  402. package/lib/esm/duet-step_2.entry.js +1 -1
  403. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  404. package/lib/esm/duet-submenu-bar-dropdown.entry.js +22 -7
  405. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  406. package/lib/esm/duet-submenu-bar.entry.js +2 -2
  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 +1 -1
  411. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  412. package/lib/esm/duet-toolbar.entry.js +1 -1
  413. package/lib/esm/duet-tooltip.entry.js +17 -2
  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-123e9cba.js → focus-utils-3483f616.js} +1 -1
  419. package/lib/esm/{index-9d169c3d.js → index-fff18e02.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 +1 -1
  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 +2 -2
  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 +2 -2
  443. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  444. package/lib/esm-es5/duet-hero.entry.js +2 -2
  445. package/lib/esm-es5/duet-icon.entry.js +2 -2
  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 +2 -2
  456. package/lib/esm-es5/duet-nav.entry.js +1 -1
  457. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  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 +1 -1
  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 +1 -1
  477. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  478. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  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-3483f616.js +4 -0
  489. package/lib/esm-es5/{index-9d169c3d.js → index-fff18e02.js} +1 -1
  490. package/lib/esm-es5/loader.js +1 -1
  491. package/lib/types/components/duet-action-button/duet-action-button.d.ts +8 -1
  492. package/lib/types/components/duet-combobox/duet-combobox.d.ts +3 -1
  493. package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +4 -1
  494. package/lib/types/components/duet-grid/duet-grid.d.ts +5 -0
  495. package/lib/types/components/duet-header/duet-header.d.ts +1 -0
  496. package/lib/types/components/duet-hero/duet-hero.d.ts +3 -0
  497. package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +4 -1
  498. package/lib/types/components/duet-notification/duet-notification.d.ts +3 -0
  499. package/lib/types/components/duet-number-input/duet-number-input.d.ts +1 -0
  500. package/lib/types/components/duet-pagination/duet-pagination.d.ts +5 -1
  501. package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +2 -1
  502. package/lib/types/components/duet-table/duet-table.d.ts +6 -1
  503. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +3 -0
  504. package/lib/types/components.d.ts +8 -0
  505. package/package.json +5 -5
  506. package/lib/dist-custom-elements/p-e48e8201.js +0 -180
  507. package/lib/duet/p-00e57f9b.system.entry.js +0 -4
  508. package/lib/duet/p-1710310b.entry.js +0 -4
  509. package/lib/duet/p-18843061.entry.js +0 -4
  510. package/lib/duet/p-197dba64.system.entry.js +0 -4
  511. package/lib/duet/p-1d283741.system.entry.js +0 -4
  512. package/lib/duet/p-2a89686a.entry.js +0 -4
  513. package/lib/duet/p-459b8e74.system.entry.js +0 -4
  514. package/lib/duet/p-5127e9fb.entry.js +0 -4
  515. package/lib/duet/p-52766fb1.entry.js +0 -4
  516. package/lib/duet/p-5c083efb.system.entry.js +0 -4
  517. package/lib/duet/p-5f872140.entry.js +0 -4
  518. package/lib/duet/p-6023d419.system.entry.js +0 -4
  519. package/lib/duet/p-6fe463e6.entry.js +0 -4
  520. package/lib/duet/p-723308e1.entry.js +0 -4
  521. package/lib/duet/p-8a963cd7.system.entry.js +0 -4
  522. package/lib/duet/p-8f60b4a4.entry.js +0 -4
  523. package/lib/duet/p-98c7286c.entry.js +0 -4
  524. package/lib/duet/p-9f9a14d7.entry.js +0 -4
  525. package/lib/duet/p-a3782a14.entry.js +0 -4
  526. package/lib/duet/p-acb0fbdc.system.entry.js +0 -4
  527. package/lib/duet/p-b421ea8a.system.entry.js +0 -4
  528. package/lib/duet/p-c360334a.system.js +0 -4
  529. package/lib/duet/p-cb2bd40e.entry.js +0 -4
  530. package/lib/duet/p-d8d3f485.system.entry.js +0 -4
  531. package/lib/duet/p-daa0dccd.entry.js +0 -4
  532. package/lib/duet/p-dc71bc89.entry.js +0 -4
  533. package/lib/duet/p-e73937e1.system.entry.js +0 -4
  534. package/lib/duet/p-f9c26b20.system.entry.js +0 -4
  535. package/lib/esm-es5/focus-utils-123e9cba.js +0 -4
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-0d1b84db.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-11fbe397.js';
5
5
 
6
6
  const duetListItemCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex;flex-flow:row;width:100%;overflow:visible;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77)}@media (max-width: 35.9375em){:host{flex-wrap:wrap}}:host dt,:host dd{margin-inline-start:0;-webkit-hyphens:auto;hyphens:auto;text-align:left;word-break:break-all;word-break:break-word}@media (max-width: 35.9375em){:host dt,:host dd{flex:inherit;flex-basis:100% !important;width:100%;padding-bottom:4px !important}}:host dt{padding:16px !important;font-weight:600}@media (max-width: 35.9375em){:host dt{padding-bottom:4px !important}}.duet-theme-turva :host dt{font-weight:700}:host dd{padding:16px !important;margin-left:auto;text-align:left}@media (max-width: 35.9375em){:host dd{padding-top:0 !important}}:host(:not(.duet-list-striped)) dt{padding:8px !important;padding-left:0 !important}@media (max-width: 35.9375em){:host(:not(.duet-list-striped)) dt{padding-bottom:4px !important}}:host(:not(.duet-list-striped)) dd{padding:8px !important;padding-left:0 !important}@media (max-width: 35.9375em){:host(:not(.duet-list-striped)) dd{padding-top:0 !important}}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host(.duet-list-striped:nth-child(odd)) dt,:host(.duet-list-striped:nth-child(odd)) dd{background:rgb(245, 248, 250)}:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dt,:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dd{background:rgb(245, 245, 247)}:host(.duet-list-bordered){border-block-start:1px solid rgb(225, 227, 230)}:host(.duet-list-bordered:last-child){border-block-end:1px solid rgb(225, 227, 230)}:host(.duet-list-bordered.duet-theme-turva){border-block-start:1px solid rgb(228, 228, 230)}:host(.duet-list-bordered.duet-theme-turva:last-child){border-block-end:1px solid rgb(228, 228, 230)}:host(.duet-list-inner-bordered:not(:last-child)){border-block-end:1px solid rgb(225, 227, 230)}:host(.duet-list-inner-bordered.duet-theme-turva:not(:last-child)){border-block-end:1px solid rgb(228, 228, 230)}:host(.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-width-70) dd{flex-basis:35%}:host(.duet-p-0) dt,:host(.duet-p-0) dd{padding-top:0 !important;padding-bottom:4px !important}@media (max-width: 35.9375em){:host(.duet-list-mobile-center) dt,:host(.duet-list-mobile-center) dd{text-align:center}}@media (max-width: 61.9375em){:host(.duet-list-breakpoint-large){flex-wrap:wrap}:host(.duet-list-breakpoint-large) dt,:host(.duet-list-breakpoint-large) dd{flex:inherit;flex-basis:100% !important;width:100%;padding-bottom:4px !important}:host(.duet-list-breakpoint-large) dd{padding-top:0 !important}}:host(.duet-list-breakpoint-large.duet-list-striped) dd{padding-bottom:16px !important}@media (max-width: 61.9375em){:host(.duet-list-breakpoint-large.duet-list-mobile-center) dt,:host(.duet-list-breakpoint-large.duet-list-mobile-center) dd{text-align:center !important}}";
7
7
 
@@ -0,0 +1,183 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-11fbe397.js';
5
+ import { m as media_query_large, a as media_query_medium, b as media_query_small } from './p-c4d8cad0.js';
6
+ import { w as watchForOptions, a as watchForElement } from './p-12721178.js';
7
+
8
+ const duetGridCss = ".sc-duet-grid-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex !important;flex-direction:column !important;align-items:flex-start !important;justify-content:flex-start !important;width:100%;max-width:100%;height:auto}.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:row !important}.duet-grid-breakpoint-x-small.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}@media (max-width: 22.5em){.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}}@media (min-width: 36em){.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:row !important}.duet-grid-breakpoint-small.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 48em){.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:row !important}.duet-grid-breakpoint-medium.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 62em){.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:row !important}.duet-grid-breakpoint-large.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 64.0625em){.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:row !important}.duet-grid-breakpoint-x-large.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}.duet-grid-wrap.sc-duet-grid-h{flex-wrap:wrap !important}.duet-no-stacking.sc-duet-grid-h{flex-direction:row !important}.duet-no-stacking.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}.duet-grid-direction-vertical.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}@media (max-width: 35.9375em){.duet-grid-direction-vertical.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-direction-vertical.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 36em){.duet-grid-direction-vertical.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-direction-vertical.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 48em){.duet-grid-direction-vertical.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-direction-vertical.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 62em){.duet-grid-direction-vertical.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-direction-vertical.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 64.0625em){.duet-grid-direction-vertical.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-align-top.duet-no-stacking.sc-duet-grid-h{align-items:flex-start !important}.duet-grid-align-bottom.duet-no-stacking.sc-duet-grid-h{align-items:flex-end !important}.duet-grid-align-center.duet-no-stacking.sc-duet-grid-h{align-items:center !important}.duet-grid-align-stretch.duet-no-stacking.sc-duet-grid-h{align-items:stretch !important}.duet-grid-align-baseline.duet-no-stacking.sc-duet-grid-h{align-items:baseline !important}.duet-grid-align-top.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:flex-start !important}.duet-grid-align-bottom.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:flex-end !important}.duet-grid-align-center.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:center !important}.duet-grid-align-stretch.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:stretch !important}.duet-grid-align-baseline.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:baseline !important}@media (min-width: 36em){.duet-grid-align-top.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 36em){.duet-grid-align-bottom.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 36em){.duet-grid-align-center.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:center !important}}@media (min-width: 36em){.duet-grid-align-stretch.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 36em){.duet-grid-align-baseline.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 48em){.duet-grid-align-top.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 48em){.duet-grid-align-bottom.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 48em){.duet-grid-align-center.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:center !important}}@media (min-width: 48em){.duet-grid-align-stretch.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 48em){.duet-grid-align-baseline.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 62em){.duet-grid-align-top.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 62em){.duet-grid-align-bottom.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 62em){.duet-grid-align-center.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:center !important}}@media (min-width: 62em){.duet-grid-align-stretch.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 62em){.duet-grid-align-baseline.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 64.0625em){.duet-grid-align-top.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 64.0625em){.duet-grid-align-bottom.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 64.0625em){.duet-grid-align-center.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:center !important}}@media (min-width: 64.0625em){.duet-grid-align-stretch.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 64.0625em){.duet-grid-align-baseline.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:baseline !important}}.duet-grid-distribution-left.sc-duet-grid-h{justify-content:flex-start !important}.duet-grid-distribution-right.sc-duet-grid-h{justify-content:flex-end !important}.duet-grid-distribution-center.sc-duet-grid-h{justify-content:center !important}.duet-grid-distribution-between.sc-duet-grid-h{justify-content:space-between !important}.duet-grid-distribution-around.sc-duet-grid-h{justify-content:space-around !important}.duet-grid-distribution-evenly.sc-duet-grid-h{justify-content:space-evenly !important}@media (max-width: 35.9375em){.duet-grid-mobile-left.sc-duet-grid-h{align-items:flex-start !important;justify-content:flex-start !important;text-align:left !important}}@media (max-width: 35.9375em){.duet-grid-mobile-center.sc-duet-grid-h{align-items:center !important;justify-content:center !important;text-align:center !important}.duet-grid-mobile-center.sc-duet-grid-h *.sc-duet-grid{text-align:center !important}}@media (max-width: 35.9375em){.duet-grid-mobile-right.sc-duet-grid-h{align-items:flex-end !important;justify-content:flex-end !important;text-align:right !important}.duet-grid-mobile-right.sc-duet-grid-h *.sc-duet-grid{text-align:right !important}}";
9
+
10
+ function isGridItem(element) {
11
+ return element.tagName.toLowerCase() === "duet-grid-item";
12
+ }
13
+ const DuetGrid = /*@__PURE__*/ proxyCustomElement(class extends H {
14
+ constructor() {
15
+ super();
16
+ this.__registerHost();
17
+ this.mql = [
18
+ window.matchMedia(media_query_large.replace(/'/g, "")),
19
+ window.matchMedia(media_query_medium.replace(/'/g, "")),
20
+ window.matchMedia(media_query_small.replace(/'/g, "")),
21
+ ];
22
+ this.distributeFormElement = false;
23
+ this.responsive = false;
24
+ this.breakpoint = "small";
25
+ this.direction = "horizontal";
26
+ this.rowReverse = false;
27
+ this.alignment = "top";
28
+ this.distribution = "default";
29
+ this.mobile = "";
30
+ }
31
+ /**
32
+ * Private functions
33
+ */
34
+ /**
35
+ * Returns the element height including margins
36
+ * @param element - element
37
+ * @returns {number}
38
+ */
39
+ outerHeight(element) {
40
+ const height = element.offsetHeight, style = window.getComputedStyle(element);
41
+ return ["top", "bottom"]
42
+ .map(side => parseInt(style[`margin-${side}`]))
43
+ .reduce((total, side) => total + side, height);
44
+ }
45
+ /**
46
+ * Component lifecycle events.
47
+ */
48
+ async connectedCallback() {
49
+ const el = this.element;
50
+ this.distributeFormElement = this.alignment === "form_distribute";
51
+ this.mutationO = watchForOptions(el, "duet-grid-item", () => {
52
+ this.updateGridItems();
53
+ });
54
+ // the next two functions are used to watch for changes in the grid items, and are process intensive - so only run when needed
55
+ if (this.distributeFormElement) {
56
+ this.mutation1 = watchForElement(el, "duet-input", () => {
57
+ this.updateGridItemsWithInputFields();
58
+ });
59
+ // listen for potential mediaquery changes and reset layout
60
+ for (let i = 0; i < this.mql.length; i++) {
61
+ // addEventListener is not available in Stencil hydrate
62
+ if (this.mql[i].addEventListener) {
63
+ this.mql[i].addEventListener("change", this.updateGridItemsWithInputFields.bind(this));
64
+ }
65
+ }
66
+ }
67
+ this.updateGridItems();
68
+ }
69
+ disconnectedCallback() {
70
+ if (this.mutationO) {
71
+ this.mutationO.disconnect();
72
+ this.mutationO = undefined;
73
+ }
74
+ if (this.mutation1) {
75
+ this.mutation1.disconnect();
76
+ this.mutation1 = undefined;
77
+ }
78
+ // listen for potential mediaquery changes and reset layout
79
+ for (let i = 0; i < this.mql.length; i++) {
80
+ // addEventListener is not available in Stencil hydrate
81
+ if (this.mql[i].removeEventListener) {
82
+ this.mql[i].removeEventListener("change", this.updateGridItemsWithInputFields.bind(this));
83
+ }
84
+ }
85
+ }
86
+ /**
87
+ * Local methods
88
+ */
89
+ async updateGridItems() {
90
+ const items = Array.from(this.element.children).filter(isGridItem);
91
+ items.forEach(item => {
92
+ item.responsive = this.responsive;
93
+ item.breakpoint = this.breakpoint;
94
+ item.direction = this.direction;
95
+ });
96
+ }
97
+ async updateGridItemsWithInputFields() {
98
+ const items = Array.from(this.element.children).filter(isGridItem);
99
+ // if layout changes to columns instead of row, remove all padding
100
+ const hasColumnLayout = window ? window.getComputedStyle(this.element).flexDirection === "column" : false;
101
+ let maxHeight = 0;
102
+ const sizes = [];
103
+ items.forEach(item => {
104
+ const inputErrorDom = item.querySelector("span.duet-input-error");
105
+ const height = inputErrorDom ? this.outerHeight(inputErrorDom) : 0;
106
+ sizes.push(height);
107
+ });
108
+ maxHeight = Math.max(...sizes);
109
+ items.forEach(item => {
110
+ const inputErrorDom = item.querySelector("span.duet-input-error");
111
+ const height = inputErrorDom ? this.outerHeight(inputErrorDom) : 0;
112
+ if (height < maxHeight && !hasColumnLayout) {
113
+ item.setAttribute("style", `padding-bottom: ${maxHeight - height}px;`);
114
+ }
115
+ else if (height === maxHeight || hasColumnLayout) {
116
+ item.setAttribute("style", `padding-bottom: 0px;`);
117
+ }
118
+ });
119
+ }
120
+ /**
121
+ * render() function
122
+ * Always the last one in the class.
123
+ */
124
+ render() {
125
+ return (h(Host, { class: {
126
+ "duet-grid": true,
127
+ "duet-no-stacking": !this.responsive,
128
+ "duet-grid-align-top": this.alignment === "top",
129
+ "duet-grid-align-bottom": this.alignment === "bottom" || this.alignment === "form_distribute",
130
+ "duet-grid-align-center": this.alignment === "center",
131
+ "duet-grid-align-stretch": this.alignment === "stretch",
132
+ "duet-grid-align-baseline": this.alignment === "baseline",
133
+ "duet-grid-distribution-left": this.distribution === "left",
134
+ "duet-grid-distribution-right": this.distribution === "right",
135
+ "duet-grid-distribution-center": this.distribution === "center",
136
+ "duet-grid-distribution-between": this.distribution === "space-between",
137
+ "duet-grid-distribution-around": this.distribution === "space-around",
138
+ "duet-grid-distribution-evenly": this.distribution === "space-evenly",
139
+ "duet-grid-mobile-left": this.mobile === "left",
140
+ "duet-grid-mobile-center": this.mobile === "center",
141
+ "duet-grid-mobile-right": this.mobile === "right",
142
+ "duet-grid-direction-horizontal": this.direction === "horizontal",
143
+ "duet-grid-direction-vertical": this.direction === "vertical",
144
+ "duet-grid-breakpoint-x-small": this.breakpoint === "x-small",
145
+ "duet-grid-breakpoint-small": this.breakpoint === "small",
146
+ "duet-grid-breakpoint-medium": this.breakpoint === "medium",
147
+ "duet-grid-breakpoint-large": this.breakpoint === "large",
148
+ "duet-grid-breakpoint-x-large": this.breakpoint === "x-large",
149
+ "duet-grid-row-reverse": this.rowReverse,
150
+ } }));
151
+ }
152
+ get element() { return this; }
153
+ static get watchers() { return {
154
+ "responsive": ["updateGridItems"],
155
+ "breakpoint": ["updateGridItems"],
156
+ "direction": ["updateGridItems"]
157
+ }; }
158
+ static get style() { return duetGridCss; }
159
+ }, [2, "duet-grid", {
160
+ "responsive": [4],
161
+ "breakpoint": [1],
162
+ "direction": [1],
163
+ "rowReverse": [4, "row-reverse"],
164
+ "alignment": [1],
165
+ "distribution": [1],
166
+ "mobile": [1],
167
+ "distributeFormElement": [32]
168
+ }]);
169
+ function defineCustomElement() {
170
+ if (typeof customElements === "undefined") {
171
+ return;
172
+ }
173
+ const components = ["duet-grid"];
174
+ components.forEach(tagName => { switch (tagName) {
175
+ case "duet-grid":
176
+ if (!customElements.get(tagName)) {
177
+ customElements.define(tagName, DuetGrid);
178
+ }
179
+ break;
180
+ } });
181
+ }
182
+
183
+ export { DuetGrid as D, defineCustomElement as d };
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-0d1b84db.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-11fbe397.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
- import { d as defineCustomElement$1 } from './p-d6a4de03.js';
6
+ import { d as defineCustomElement$1 } from './p-51307fda.js';
7
7
 
8
8
  const duetScrollableCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{display:flex}:host .duet-scrollable-items .duet-scrollable-button{position:relative;flex:0 0 auto;flex-basis:40px;padding:10px;cursor:pointer}:host .duet-scrollable-items .duet-scrollable-button:active{transform:scale(0.8)}:host .duet-scrollable-items .duet-scrollable-button--left{left:-12px}:host .duet-scrollable-items .duet-scrollable-button--right{right:-12px}:host .duet-scrollable-items .duet-scrollable-button--occluded{display:none}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;gap:20px;padding-top:2px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}::slotted(*){scroll-snap-align:center;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out}";
9
9
 
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-0d1b84db.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-11fbe397.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
- import { d as defineCustomElement$1 } from './p-d6a4de03.js';
6
+ import { d as defineCustomElement$1 } from './p-51307fda.js';
7
7
 
8
8
  const duetEmptyStateCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;height:100%}.duet-empty-state{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%;padding:48px;color:rgb(0, 41, 77);text-align:center;background:rgb(245, 248, 250);border-radius:4px}.duet-empty-state.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}";
9
9
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-0d1b84db.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-11fbe397.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { g as getColorByName } from './p-68024252.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-0d1b84db.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-11fbe397.js';
5
5
 
6
6
  const duetSpacerCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";
7
7
 
@@ -1,10 +1,11 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-0d1b84db.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-11fbe397.js';
5
5
  import { s as sizeNavigation, i as sizeHeader } from './p-505389ac.js';
6
6
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
7
7
  import { d as debounce } from './p-0b3f675e.js';
8
+ import { g as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-076452be.js';
8
9
  import { b as breakpointTokensUpTo, a as breakpointToToken } from './p-68024252.js';
9
10
 
10
11
  const duetTableCss = "duet-table{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;font-variant-numeric:tabular-nums}duet-table table,duet-table thead,duet-table tbody,duet-table tfoot,duet-table th,duet-table td,duet-table tr{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}duet-table.duet-m-0{margin:0 !important}duet-table table{width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;text-align:left;border-spacing:0;border-collapse:separate}duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead,duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead *{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}duet-table.duet-theme-turva table{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}duet-table td{-webkit-hyphens:auto;hyphens:auto;color:rgb(0, 41, 77)}duet-table.duet-theme-turva td{color:rgb(23, 28, 58)}duet-table th{font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:left}duet-table.duet-theme-turva th{color:rgb(116, 116, 117)}duet-table tbody th{font-weight:600;color:rgb(0, 41, 77)}duet-table.duet-theme-turva tbody th{color:rgb(23, 28, 58)}duet-table .duet-table-action-row td:last-child{justify-self:end;padding-right:20px !important;white-space:nowrap}.duet-table-flattened table,.duet-table-flattened thead,.duet-table-flattened tbody,.duet-table-flattened tfoot,.duet-table-flattened th,.duet-table-flattened td,.duet-table-flattened tr{display:block}.duet-table-flattened thead tr{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-table-flattened td{line-height:1.25}.duet-table-flattened td:not(:last-child){margin-bottom:16px !important}.duet-table-flattened tbody td,.duet-table-flattened tbody th,.duet-table-flattened tfoot td{padding:0 !important;text-align:left !important}.duet-table-flattened tbody th{font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:left}.duet-table-flattened td[data-heading]::before{margin-bottom:4px !important;display:block;font-size:1rem;font-weight:600;color:rgb(0, 41, 77);content:attr(data-heading)}.duet-table-flattened.duet-theme-turva td[data-heading]::before{color:rgb(23, 28, 58)}.duet-table-sticky thead th{position:sticky;top:0;background:rgb(255, 255, 255)}.duet-table-striped td,.duet-table-striped th{padding:20px !important}@media (max-width: 35.9375em){.duet-table-striped td,.duet-table-striped th{padding:20px 12px !important}}.duet-table-striped tbody th{background:rgb(255, 255, 255)}.duet-table-striped.duet-table-sticky thead th{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-table-sticky.duet-theme-turva thead th{border-bottom-color:rgb(228, 228, 230)}.duet-table-striped tbody:not(:first-of-type) th{padding-top:40px !important}.duet-table-striped tbody:only-of-type tr:nth-of-type(odd){background:rgba(0, 80, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(0, 80, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tfoot td{border-top:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-theme-turva tfoot td{border-top-color:rgb(228, 228, 230)}.duet-table-striped.duet-table-flattened tbody:not(:first-of-type) th{padding-top:20px !important}.duet-table-striped.duet-table-flattened tr{padding:20px !important}.duet-table-striped.duet-table-flattened tfoot td{border-top:0}.duet-table-striped.duet-table-flattened tfoot tr{border-top:1px solid rgb(225, 227, 230)}.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr{border-top-color:rgb(228, 228, 230)}.duet-table-fixed th,.duet-table-minimal th,.duet-table-plain th{padding:16px !important;border-bottom:1px solid rgb(101, 119, 135)}.duet-table-fixed th:first-child,.duet-table-minimal th:first-child,.duet-table-plain th:first-child{padding-left:0 !important}.duet-table-fixed th:last-child,.duet-table-minimal th:last-child,.duet-table-plain th:last-child{padding-right:0 !important}.duet-theme-turva.duet-table-fixed th,.duet-theme-turva.duet-table-minimal th,.duet-theme-turva.duet-table-plain th{border-bottom-color:rgb(68, 68, 69)}.duet-table-fixed tbody th,.duet-table-minimal tbody th,.duet-table-plain tbody th{padding-top:40px !important;border-bottom-color:rgb(225, 227, 230)}.duet-theme-turva.duet-table-fixed tbody th,.duet-theme-turva.duet-table-minimal tbody th,.duet-theme-turva.duet-table-plain tbody th{border-bottom-color:rgb(228, 228, 230)}.duet-table-fixed td,.duet-table-minimal td,.duet-table-plain td{padding:16px !important}.duet-table-fixed td:first-child,.duet-table-minimal td:first-child,.duet-table-plain td:first-child{padding-left:0 !important}.duet-table-fixed td:last-child,.duet-table-minimal td:last-child,.duet-table-plain td:last-child{padding-right:0 !important}.duet-table-fixed tbody td,.duet-table-minimal tbody td,.duet-table-plain tbody td{border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva.duet-table-fixed tbody td,.duet-theme-turva.duet-table-minimal tbody td,.duet-theme-turva.duet-table-plain tbody td{border-bottom-color:rgb(228, 228, 230)}.duet-table-flattened.duet-table-fixed tbody:first-of-type th,.duet-table-flattened.duet-table-minimal tbody:first-of-type th,.duet-table-flattened.duet-table-plain tbody:first-of-type th{padding-top:0 !important}.duet-table-flattened.duet-table-fixed td,.duet-table-flattened.duet-table-minimal td,.duet-table-flattened.duet-table-plain td,.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{border-bottom:0}.duet-table-flattened.duet-table-fixed tr,.duet-table-flattened.duet-table-minimal tr,.duet-table-flattened.duet-table-plain tr{padding:20px 0 !important}.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{padding-top:20px !important}.duet-table-flattened.duet-table-fixed tfoot td,.duet-table-flattened.duet-table-minimal tfoot td,.duet-table-flattened.duet-table-plain tfoot td{margin-bottom:4px !important}.duet-table-flattened.duet-table-fixed tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-minimal tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-plain tbody:not(:only-of-type) tr:first-child{border-bottom:0}.duet-table-plain.duet-table-flattened tbody tr{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr{border-bottom-color:rgb(228, 228, 230)}.duet-table-minimal tbody tr,.duet-table-minimal tbody tr td{vertical-align:top;border-bottom:0 none}.duet-table-minimal tbody tr:last-of-type,.duet-table-minimal tbody tr:last-of-type td{border-bottom:1px solid rgb(225, 227, 230)}.duet-table-minimal.duet-table-flattened tbody tr,.duet-table-minimal.duet-table-flattened tbody tr td{border-bottom:0 none}.duet-table-minimal.duet-table-flattened tbody tr td[data-heading]::before{display:none}.duet-table-minimal.duet-table-flattened tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-fixed table{table-layout:fixed}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td,.duet-table-fixed tbody tr td:first-child{padding:4px !important;vertical-align:text-bottom;border-bottom:0 none}.duet-table-fixed thead{display:none}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td{border-bottom:0 none}.duet-table-fixed:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-fixed:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-scrollable{position:relative;width:100%;overflow-x:auto;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0)), linear-gradient(-90deg, #fff 0%, rgba(255, 255, 255, 0)) 100% 0, radial-gradient(farthest-side at 0% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) 100% 0%;background-repeat:no-repeat;background-attachment:local, local, scroll, scroll;background-size:100px 100%, 100px 100%, 12px 100%, 12px 100%}.duet-table-selected-column{background:rgba(0, 119, 179, 0.08)}.duet-theme-turva .duet-table-selected-column{background:rgba(68, 68, 69, 0.08)}.duet-table-sortable tbody tr td:first-child,.duet-table-sortable thead tr th:first-child{padding:20px}.duet-table-sortable:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(225, 227, 230)}.duet-table-sortable:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(228, 228, 230)}.duet-table-actions table{table-layout:auto}.duet-table-actions thead th:last-child{width:1px;white-space:nowrap}.duet-editable-table-table.duet-table-flattened tr{display:grid;grid-template-columns:repeat(2, 1fr);grid-auto-rows:auto;gap:10px}.duet-editable-table-table.duet-table-flattened tr.duet-table-action-row td:last-child::before{padding:0;content:\"\"}.duet-editable-table-table.duet-table-flattened td{grid-column:1/2}.duet-editable-table-table.duet-table-flattened td:first-child{grid-row:1;grid-column:1}.duet-editable-table-table.duet-table-flattened td:last-child{grid-row:1;grid-column:2}";
@@ -23,6 +24,7 @@ const DuetTable = /*@__PURE__*/ proxyCustomElement(class extends H {
23
24
  this.matchesBreakpoint = breakpointTokensUpTo.includes(this.breakpoint) ? !mq.matches : mq.matches;
24
25
  };
25
26
  this.matchesBreakpoint = true;
27
+ this.language = getLanguage();
26
28
  this.theme = undefined;
27
29
  this.margin = "auto";
28
30
  this.variation = "striped";
@@ -31,6 +33,11 @@ const DuetTable = /*@__PURE__*/ proxyCustomElement(class extends H {
31
33
  this.breakpoint = "small";
32
34
  this.hideHeadVisually = false;
33
35
  }
36
+ watchLanguageStateHandler(newValue, oldValue) {
37
+ if (newValue !== oldValue) {
38
+ setTimeout(() => this.copyHeadingsToCells(), 50);
39
+ }
40
+ }
34
41
  connectedCallback() {
35
42
  const token = this.breakpoint === "none" || this.breakpoint === "none-scrollable" ? "all" : breakpointToToken[this.breakpoint];
36
43
  this.mq = matchMedia(token);
@@ -59,6 +66,7 @@ const DuetTable = /*@__PURE__*/ proxyCustomElement(class extends H {
59
66
  // that way we avoid dealing with any initial changes
60
67
  // and only get genuine mutations as rows are added/removed
61
68
  this.observer ? this.observer.takeRecords() : null;
69
+ connectLanguageChangeObserver(this);
62
70
  }
63
71
  disconnectedCallback() {
64
72
  this.observer.disconnect();
@@ -66,6 +74,7 @@ const DuetTable = /*@__PURE__*/ proxyCustomElement(class extends H {
66
74
  this.mq.removeListener(this.handleMediaQueryChange);
67
75
  this.mq = null;
68
76
  this.matchesBreakpoint = true;
77
+ disconnectLanguageChangeObserver(this);
69
78
  }
70
79
  /**
71
80
  * Local methods.
@@ -95,6 +104,9 @@ const DuetTable = /*@__PURE__*/ proxyCustomElement(class extends H {
95
104
  } }, h("slot", null)));
96
105
  }
97
106
  get element() { return this; }
107
+ static get watchers() { return {
108
+ "language": ["watchLanguageStateHandler"]
109
+ }; }
98
110
  static get style() { return duetTableCss; }
99
111
  }, [4, "duet-table", {
100
112
  "theme": [1025],
@@ -104,7 +116,8 @@ const DuetTable = /*@__PURE__*/ proxyCustomElement(class extends H {
104
116
  "stickyDistance": [1, "sticky-distance"],
105
117
  "breakpoint": [1],
106
118
  "hideHeadVisually": [4, "hide-head-visually"],
107
- "matchesBreakpoint": [32]
119
+ "matchesBreakpoint": [32],
120
+ "language": [32]
108
121
  }]);
109
122
  function defineCustomElement() {
110
123
  if (typeof customElements === "undefined") {
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-0d1b84db.js';
4
+ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-11fbe397.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { c as createID } from './p-c1325e35.js';
7
- import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-6c05e879.js';
8
- import { d as defineCustomElement$4 } from './p-dde8e436.js';
9
- import { d as defineCustomElement$3 } from './p-d6a4de03.js';
10
- import { d as defineCustomElement$2 } from './p-9d23386f.js';
11
- import { d as defineCustomElement$1 } from './p-85fd8f09.js';
7
+ import { g as getLanguage, a as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-076452be.js';
8
+ import { d as defineCustomElement$4 } from './p-528cdd3e.js';
9
+ import { d as defineCustomElement$3 } from './p-51307fda.js';
10
+ import { d as defineCustomElement$2 } from './p-b7b7c63b.js';
11
+ import { d as defineCustomElement$1 } from './p-f1b800f0.js';
12
12
 
13
13
  const duetAlertCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert{margin-bottom:16px !important;position:relative;width:100%;padding:16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);background:#f2f8fb;border:1px solid rgb(0, 119, 179);border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert.duet-p-0{padding:0 !important}.duet-alert.duet-m-0{margin:0 !important}.duet-alert.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);background:#f3f4f5;border-color:rgb(23, 28, 58)}.duet-alert.warning{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert.warning.duet-theme-turva{background:#fffaf3;border-color:rgb(250, 164, 15)}.duet-alert.danger{background:#fdf4f7;border-color:rgb(222, 35, 98)}.duet-alert.danger.duet-theme-turva{background:#fdf4f3;border-color:rgb(224, 42, 13)}.duet-alert.success{background:#f2f9f7;border-color:rgb(0, 135, 90)}.duet-alert.success.duet-theme-turva{background:#f3f9f6;border-color:rgb(8, 135, 78)}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-is-dismissible .duet-alert-container{text-align:left}";
14
14
 
@@ -1,15 +1,15 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-0d1b84db.js';
4
+ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-11fbe397.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { c as createID } from './p-c1325e35.js';
7
7
  import { d as debounce } from './p-0b3f675e.js';
8
8
  import { i as isKeyboardClick } from './p-d8549efe.js';
9
- import { g as getLocaleString } from './p-6c05e879.js';
9
+ import { g as getLanguage, a as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-076452be.js';
10
10
  import { c as capitalizeFirstLetter, g as getColorByName, s as shadeRGBColor } from './p-68024252.js';
11
- import { d as defineCustomElement$2 } from './p-d6a4de03.js';
12
- import { d as defineCustomElement$1 } from './p-85fd8f09.js';
11
+ import { d as defineCustomElement$2 } from './p-51307fda.js';
12
+ import { d as defineCustomElement$1 } from './p-f1b800f0.js';
13
13
 
14
14
  const duetActionButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}button.duet-action-button{white-space:nowrap}button.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px !important;color:rgb(0, 41, 77);cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-theme-turva button.duet-action-button{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}button.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){button.duet-action-button{width:32px;height:32px}}button.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-theme-turva button.duet-action-button:not(:disabled):hover{background:#e9e9eb}button.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px rgb(0, 119, 179) !important}.duet-theme-turva button.duet-action-button:focus{box-shadow:0 0 0 2px rgb(23, 28, 58) !important}button.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-theme-turva button.duet-action-button:active:focus{background:#ddddde !important}button.duet-action-button:disabled{color:rgb(144, 149, 153);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-theme-turva button.duet-action-button:disabled{color:rgb(116, 116, 117);background:rgb(245, 245, 247)}";
15
15
 
@@ -35,6 +35,7 @@ const DuetActionButton = /*@__PURE__*/ proxyCustomElement(class extends H {
35
35
  });
36
36
  });
37
37
  this.numbersStore = "";
38
+ this.language = getLanguage();
38
39
  this.theme = "";
39
40
  this.iconName = "action-arrow-left-small";
40
41
  this.iconColor = "currentColor";
@@ -52,12 +53,17 @@ const DuetActionButton = /*@__PURE__*/ proxyCustomElement(class extends H {
52
53
  this.accessibleDescription = undefined;
53
54
  this.accessibleLabelsDefaults = {
54
55
  en: "Click to activate action",
55
- fi: "Klikkaa toiminnon aktivointiin",
56
+ fi: "Klikkaa aktivoidaksesi toiminto",
56
57
  sv: "Klicka för att aktivera åtgärd",
57
58
  };
58
59
  this.accessibleLabel = getLocaleString(this.accessibleLabelsDefaults);
59
60
  this.accessibleControls = "";
60
61
  }
62
+ watchLanguageStateHandler(newValue, oldValue) {
63
+ if (newValue !== oldValue && this.accessibleLabel === this.accessibleLabelsDefaults[oldValue]) {
64
+ this.accessibleLabel = getLocaleString(this.accessibleLabelsDefaults, newValue);
65
+ }
66
+ }
61
67
  //handle a11y keyboard navigation events
62
68
  async onKeyboardDown(e) {
63
69
  if (isKeyboardClick(e)) {
@@ -92,6 +98,12 @@ const DuetActionButton = /*@__PURE__*/ proxyCustomElement(class extends H {
92
98
  componentWillLoad() {
93
99
  inheritGlobalTheme(this);
94
100
  }
101
+ connectedCallback() {
102
+ connectLanguageChangeObserver(this);
103
+ }
104
+ disconnectedCallback() {
105
+ disconnectLanguageChangeObserver(this);
106
+ }
95
107
  /**
96
108
  * Sets focus on the specified `duet-action-button`. Use this method instead of the global
97
109
  * `button.focus()`.
@@ -132,6 +144,9 @@ const DuetActionButton = /*@__PURE__*/ proxyCustomElement(class extends H {
132
144
  }, type: "button", onClick: e => this.onMouseHandler(e), "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, "aria-details": this.accessibleDetails, "aria-controls": this.accessibleControls, title: this.getTitle() }, h("duet-icon", { part: "icon", name: this.iconName, color: this.iconColor, margin: "none", size: this.iconSize }), h("duet-visually-hidden", null, h("slot", null)))));
133
145
  }
134
146
  get element() { return this; }
147
+ static get watchers() { return {
148
+ "language": ["watchLanguageStateHandler"]
149
+ }; }
135
150
  static get style() { return duetActionButtonCss; }
136
151
  }, [1, "duet-action-button", {
137
152
  "theme": [1025],
@@ -150,9 +165,10 @@ const DuetActionButton = /*@__PURE__*/ proxyCustomElement(class extends H {
150
165
  "accessibleLabelledBy": [1, "accessible-labelled-by"],
151
166
  "accessibleDescription": [1, "accessible-description"],
152
167
  "accessibleLabelsDefaults": [16],
153
- "accessibleLabel": [1, "accessible-label"],
168
+ "accessibleLabel": [1025, "accessible-label"],
154
169
  "accessibleControls": [1, "accessible-controls"],
155
170
  "numbersStore": [32],
171
+ "language": [32],
156
172
  "setFocus": [64]
157
173
  }]);
158
174
  function defineCustomElement() {
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-0d1b84db.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-11fbe397.js';
5
5
  import { j as colorGrayLightest, k as colorBrandGrayTurva, l as colorPrimaryTurva, n as colorPrimary } from './p-505389ac.js';
6
6
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
7
7
  import { c as createID } from './p-c1325e35.js';
8
- import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-6c05e879.js';
8
+ import { a as getLocaleString, g as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-076452be.js';
9
9
 
10
10
  const duetLogoCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-logo{-webkit-user-select:none;user-select:none;display:block;width:154px;height:40px;border-radius:4px}.duet-logo:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-theme-turva .duet-logo:focus,.duet-logo:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-logo.duet-logo-en{width:166px}.duet-logo.duet-logo-sv{width:167px}.duet-logo.duet-theme-turva{width:110px;height:40px}.duet-logo svg{display:block;width:100%;height:auto}.duet-logo.large{width:184.8px;height:48px}.duet-logo.large.duet-logo-en{width:199.2px}.duet-logo.large.duet-logo-sv{width:200.4px}.duet-logo.large.duet-theme-turva{width:149.6px;height:54.4px}";
11
11
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h } from './p-0d1b84db.js';
4
+ import { p as proxyCustomElement, H, h } from './p-11fbe397.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { w as watchForOptions } from './p-12721178.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-0d1b84db.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-11fbe397.js';
5
5
 
6
6
  const duetVisuallyHiddenCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}";
7
7