@duetds/components 6.10.1 → 6.10.3

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 (575) hide show
  1. package/hydrate/index.js +4130 -3647
  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-banner.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
  9. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-chip.cjs.entry.js +95 -0
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +24 -11
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +5 -3
  17. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +23 -5
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-number-input.cjs.entry.js +8 -1
  43. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +43 -0
  46. package/lib/cjs/duet-popup-menu.cjs.entry.js +109 -0
  47. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-radio_2.cjs.entry.js +5 -4
  50. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
  52. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  55. package/lib/cjs/duet-show-more.cjs.entry.js +95 -0
  56. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
  60. package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
  61. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  62. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  67. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  68. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -1174
  73. package/lib/cjs/duet-tray.cjs.entry.js +1 -1
  74. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  75. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  76. package/lib/cjs/duet.cjs.js +2 -2
  77. package/lib/cjs/floating-ui.dom.esm-3801794e.js +1251 -0
  78. package/lib/cjs/{focus-utils-b45e4830.js → focus-utils-fa8771cc.js} +1 -1
  79. package/lib/cjs/{index-a6cfed65.js → index-ad229c23.js} +1 -1
  80. package/lib/cjs/loader.cjs.js +2 -2
  81. package/lib/collection/collection-manifest.json +4 -0
  82. package/lib/collection/components/duet-chip/duet-chip.css +174 -0
  83. package/lib/collection/components/duet-chip/duet-chip.js +320 -0
  84. package/lib/collection/components/duet-choice/duet-choice.css +48 -21
  85. package/lib/collection/components/duet-choice/duet-choice.js +39 -8
  86. package/lib/collection/components/duet-collapsible/duet-collapsible.css +10 -2
  87. package/lib/collection/components/duet-collapsible/duet-collapsible.js +22 -1
  88. package/lib/collection/components/duet-editable-table/duet-editable-table.js +3 -1
  89. package/lib/collection/components/duet-number-input/duet-number-input.js +23 -0
  90. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +50 -0
  91. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +317 -0
  92. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +69 -0
  93. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +205 -0
  94. package/lib/collection/components/duet-radio/duet-radio.css +3 -3
  95. package/lib/collection/components/duet-radio/duet-radio.js +9 -3
  96. package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +12 -2
  97. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +25 -2
  98. package/lib/collection/components/duet-show-more/duet-show-more.css +46 -0
  99. package/lib/collection/components/duet-show-more/duet-show-more.js +214 -0
  100. package/lib/collection/components/duet-upload/duet-upload.js +48 -1
  101. package/lib/collection/components/duet-upload/upload-item.js +8 -2
  102. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  103. package/lib/dist-custom-elements/duet-alert.js +1 -1
  104. package/lib/dist-custom-elements/duet-badge.js +1 -1
  105. package/lib/dist-custom-elements/duet-banner.js +4 -4
  106. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  107. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  108. package/lib/dist-custom-elements/duet-button.js +1 -1
  109. package/lib/dist-custom-elements/duet-callout.js +3 -3
  110. package/lib/dist-custom-elements/duet-caption.js +1 -1
  111. package/lib/dist-custom-elements/duet-card.js +3 -3
  112. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  113. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  114. package/lib/dist-custom-elements/duet-chip.d.ts +11 -0
  115. package/lib/dist-custom-elements/duet-chip.js +125 -0
  116. package/lib/dist-custom-elements/duet-choice-group.js +6 -6
  117. package/lib/dist-custom-elements/duet-choice.js +28 -14
  118. package/lib/dist-custom-elements/duet-collapsible.js +7 -4
  119. package/lib/dist-custom-elements/duet-combobox.js +2 -2
  120. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  121. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  122. package/lib/dist-custom-elements/duet-date-picker.js +10 -10
  123. package/lib/dist-custom-elements/duet-divider.js +1 -1
  124. package/lib/dist-custom-elements/duet-editable-table.js +10 -8
  125. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  126. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  127. package/lib/dist-custom-elements/duet-footer.js +4 -4
  128. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  129. package/lib/dist-custom-elements/duet-grid.js +1 -1
  130. package/lib/dist-custom-elements/duet-header.js +8 -8
  131. package/lib/dist-custom-elements/duet-heading.js +1 -1
  132. package/lib/dist-custom-elements/duet-hero.js +9 -9
  133. package/lib/dist-custom-elements/duet-icon.js +1 -1
  134. package/lib/dist-custom-elements/duet-input.js +1 -1
  135. package/lib/dist-custom-elements/duet-label.js +1 -1
  136. package/lib/dist-custom-elements/duet-layout.js +1 -1
  137. package/lib/dist-custom-elements/duet-link.js +1 -1
  138. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  139. package/lib/dist-custom-elements/duet-list.js +1 -1
  140. package/lib/dist-custom-elements/duet-logo.js +1 -1
  141. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  142. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  143. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  144. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  145. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  146. package/lib/dist-custom-elements/duet-modal.js +7 -7
  147. package/lib/dist-custom-elements/duet-multiselect.js +8 -8
  148. package/lib/dist-custom-elements/duet-nav.js +1 -1
  149. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  150. package/lib/dist-custom-elements/duet-notification.js +2 -2
  151. package/lib/dist-custom-elements/duet-number-input.js +18 -10
  152. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  153. package/lib/dist-custom-elements/duet-pagination.js +7 -7
  154. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  155. package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +11 -0
  156. package/lib/dist-custom-elements/duet-popup-menu-item.js +72 -0
  157. package/lib/dist-custom-elements/duet-popup-menu.d.ts +11 -0
  158. package/lib/dist-custom-elements/duet-popup-menu.js +137 -0
  159. package/lib/dist-custom-elements/duet-progress.js +1 -1
  160. package/lib/dist-custom-elements/duet-promo-card.js +3 -3
  161. package/lib/dist-custom-elements/duet-radio-group.js +6 -6
  162. package/lib/dist-custom-elements/duet-radio.js +6 -5
  163. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  164. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  165. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  166. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  167. package/lib/dist-custom-elements/duet-select.js +1 -1
  168. package/lib/dist-custom-elements/duet-shaped-image.js +5 -4
  169. package/lib/dist-custom-elements/duet-show-more.d.ts +11 -0
  170. package/lib/dist-custom-elements/duet-show-more.js +137 -0
  171. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  172. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  173. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  174. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  175. package/lib/dist-custom-elements/duet-slideout.js +2 -2
  176. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  177. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  178. package/lib/dist-custom-elements/duet-step.js +4 -4
  179. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  180. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  181. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  182. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  183. package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
  184. package/lib/dist-custom-elements/duet-tab-group.js +11 -11
  185. package/lib/dist-custom-elements/duet-tab.js +1 -1
  186. package/lib/dist-custom-elements/duet-table.js +1 -1
  187. package/lib/dist-custom-elements/duet-textarea.js +8 -8
  188. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  189. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  190. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  191. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  192. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  193. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  194. package/lib/dist-custom-elements/duet-tray.js +3 -3
  195. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  196. package/lib/dist-custom-elements/duet-upload.js +37 -20
  197. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  198. package/lib/dist-custom-elements/index.js +1 -1
  199. package/lib/dist-custom-elements/{p-7a8d0bb0.js → p-0639a930.js} +1 -1
  200. package/lib/dist-custom-elements/{p-d7b4d591.js → p-06f56040.js} +1 -1
  201. package/lib/dist-custom-elements/{p-3b39da12.js → p-0bab8976.js} +3 -3
  202. package/lib/dist-custom-elements/{p-1344c068.js → p-1460c5f4.js} +1 -1
  203. package/lib/dist-custom-elements/{p-a15eaed8.js → p-362cf634.js} +2 -2
  204. package/lib/dist-custom-elements/{p-4fcae101.js → p-4524a59b.js} +2 -2
  205. package/lib/dist-custom-elements/{p-0e902571.js → p-581d4969.js} +1 -1
  206. package/lib/dist-custom-elements/{p-ceee58b4.js → p-59964344.js} +1 -1
  207. package/lib/dist-custom-elements/{p-8b72e2b2.js → p-8549a5d3.js} +1 -1
  208. package/lib/dist-custom-elements/{p-9db7387e.js → p-87b42dc0.js} +3 -3
  209. package/lib/dist-custom-elements/{p-ddfc5de9.js → p-88a1aa29.js} +1 -1
  210. package/lib/dist-custom-elements/{p-0674039c.js → p-9a39285c.js} +1 -1
  211. package/lib/dist-custom-elements/{p-d9a3be78.js → p-9e321809.js} +1 -1
  212. package/lib/dist-custom-elements/{p-72c5512a.js → p-a76c2c68.js} +6 -6
  213. package/lib/dist-custom-elements/{p-bcf1e39a.js → p-ab8093ce.js} +2 -2
  214. package/lib/dist-custom-elements/{p-28c1f4ec.js → p-abf2f8eb.js} +1 -1
  215. package/lib/dist-custom-elements/{p-628b8684.js → p-b0a1fc7a.js} +1 -1
  216. package/lib/dist-custom-elements/{p-1d986611.js → p-b0e822ad.js} +1 -1
  217. package/lib/dist-custom-elements/{p-75c1e787.js → p-bd3f4de1.js} +1 -1
  218. package/lib/dist-custom-elements/{p-8dd1cf45.js → p-c221f8d5.js} +5 -5
  219. package/lib/dist-custom-elements/{p-2f9bbe4a.js → p-c3a8f22f.js} +1 -1
  220. package/lib/dist-custom-elements/{p-fe45f59f.js → p-c5723f69.js} +1 -1
  221. package/lib/dist-custom-elements/{p-717d775c.js → p-c9cee36a.js} +1 -1
  222. package/lib/dist-custom-elements/{p-351d00f1.js → p-d993c8ca.js} +4 -4
  223. package/lib/dist-custom-elements/{p-633e1ebc.js → p-dade840c.js} +2 -2
  224. package/lib/dist-custom-elements/{p-48515caf.js → p-ddbc4897.js} +5 -5
  225. package/lib/dist-custom-elements/{p-d3213a33.js → p-df10a767.js} +71 -274
  226. package/lib/dist-custom-elements/{p-fdc1ca33.js → p-e550208a.js} +1 -1
  227. package/lib/dist-custom-elements/{p-65758ed5.js → p-e6027c0e.js} +8 -8
  228. package/lib/dist-custom-elements/{p-a46a6322.js → p-f4a36471.js} +1 -1
  229. package/lib/dist-custom-elements/{p-1ac08a92.js → p-f97098ff.js} +1 -1
  230. package/lib/dist-custom-elements/p-fa4af49a.js +278 -0
  231. package/lib/duet/duet.esm.js +1 -1
  232. package/lib/duet/duet.js +1 -1
  233. package/lib/duet/{p-87cf954f.system.entry.js → p-000197bb.system.entry.js} +1 -1
  234. package/lib/duet/p-00c61228.system.entry.js +4 -0
  235. package/lib/duet/{p-01a6becd.system.entry.js → p-02a9b697.system.entry.js} +2 -2
  236. package/lib/duet/{p-4d93a692.entry.js → p-07795672.entry.js} +1 -1
  237. package/lib/duet/{p-82047e57.system.entry.js → p-0b208f94.system.entry.js} +1 -1
  238. package/lib/duet/{p-75f889b4.system.entry.js → p-0b4324b1.system.entry.js} +1 -1
  239. package/lib/duet/p-0c7c6acc.system.entry.js +4 -0
  240. package/lib/duet/{p-631d95f8.system.entry.js → p-0de3b52d.system.entry.js} +1 -1
  241. package/lib/duet/{p-5a229ae7.system.entry.js → p-0f05038e.system.entry.js} +1 -1
  242. package/lib/duet/{p-8c4f1396.system.entry.js → p-0f49469b.system.entry.js} +1 -1
  243. package/lib/duet/{p-8542d6f4.entry.js → p-0fc4fd1f.entry.js} +1 -1
  244. package/lib/duet/p-0fdddc6d.system.entry.js +4 -0
  245. package/lib/duet/{p-16ca0476.entry.js → p-0fe6e2f3.entry.js} +1 -1
  246. package/lib/duet/p-1090bfbd.entry.js +4 -0
  247. package/lib/duet/p-10d47bb3.entry.js +4 -0
  248. package/lib/duet/p-10d57786.entry.js +4 -0
  249. package/lib/duet/{p-2cadaf24.entry.js → p-17569309.entry.js} +1 -1
  250. package/lib/duet/{p-02a26b88.entry.js → p-18084aa4.entry.js} +1 -1
  251. package/lib/duet/{p-89a01897.system.entry.js → p-18b63745.system.entry.js} +1 -1
  252. package/lib/duet/{p-1d0a1fa6.system.entry.js → p-190e7c1f.system.entry.js} +1 -1
  253. package/lib/duet/{p-9be7d929.system.entry.js → p-193d3aaa.system.entry.js} +1 -1
  254. package/lib/duet/p-1983b903.system.entry.js +4 -0
  255. package/lib/duet/p-2271aa12.entry.js +4 -0
  256. package/lib/duet/{p-69617bca.entry.js → p-242c1c1a.entry.js} +1 -1
  257. package/lib/duet/{p-a9ce97b9.system.entry.js → p-26cfed76.system.entry.js} +1 -1
  258. package/lib/duet/p-26fb19cc.entry.js +4 -0
  259. package/lib/duet/{p-5b66a87d.entry.js → p-29dd2b2b.entry.js} +1 -1
  260. package/lib/duet/{p-cda24383.entry.js → p-2a8ca3eb.entry.js} +1 -1
  261. package/lib/duet/{p-7243f2ca.entry.js → p-2ab30c7f.entry.js} +1 -1
  262. package/lib/duet/{p-7f7ae89e.entry.js → p-2f2554c2.entry.js} +1 -1
  263. package/lib/duet/p-31a14896.entry.js +4 -0
  264. package/lib/duet/{p-445317f4.system.entry.js → p-33ace290.system.entry.js} +1 -1
  265. package/lib/duet/{p-5f860b63.entry.js → p-33e8ba00.entry.js} +1 -1
  266. package/lib/duet/{p-19dcac63.entry.js → p-346b440a.entry.js} +1 -1
  267. package/lib/duet/{p-70ab41b1.entry.js → p-369190ba.entry.js} +1 -1
  268. package/lib/duet/{p-ff7274a1.system.entry.js → p-38b225ec.system.entry.js} +1 -1
  269. package/lib/duet/{p-0bb09731.system.entry.js → p-3ae87f9a.system.entry.js} +1 -1
  270. package/lib/duet/p-3aebf88e.entry.js +4 -0
  271. package/lib/duet/p-3d4d7d03.system.entry.js +4 -0
  272. package/lib/duet/{p-3144ba75.entry.js → p-3fe319db.entry.js} +1 -1
  273. package/lib/duet/p-4047730e.entry.js +4 -0
  274. package/lib/duet/p-41993ad4.js +4 -0
  275. package/lib/duet/{p-1c7bdfb0.entry.js → p-42199e80.entry.js} +1 -1
  276. package/lib/duet/p-4489355c.system.entry.js +4 -0
  277. package/lib/duet/{p-c490fc82.entry.js → p-45df6b17.entry.js} +1 -1
  278. package/lib/duet/{p-29a1886d.entry.js → p-476bec1d.entry.js} +1 -1
  279. package/lib/duet/{p-a279383c.entry.js → p-49cbf9cc.entry.js} +1 -1
  280. package/lib/duet/{p-5b939562.entry.js → p-49f5f27e.entry.js} +1 -1
  281. package/lib/duet/p-4f40525e.system.entry.js +4 -0
  282. package/lib/duet/{p-2ab14f9d.entry.js → p-53800205.entry.js} +1 -1
  283. package/lib/duet/{p-3794c025.system.entry.js → p-54607ab5.system.entry.js} +1 -1
  284. package/lib/duet/{p-1354a068.entry.js → p-5514488e.entry.js} +1 -1
  285. package/lib/duet/{p-5369340a.system.entry.js → p-5590d075.system.entry.js} +1 -1
  286. package/lib/duet/p-57ec25ee.entry.js +4 -0
  287. package/lib/duet/p-59570fb7.system.entry.js +4 -0
  288. package/lib/duet/{p-f5e2ac5a.system.entry.js → p-596343b6.system.entry.js} +1 -1
  289. package/lib/duet/{p-8905f9e9.entry.js → p-5c5dd33e.entry.js} +1 -1
  290. package/lib/duet/p-5dfc4e72.entry.js +4 -0
  291. package/lib/duet/{p-b7847f6c.system.entry.js → p-5f9fc349.system.entry.js} +1 -1
  292. package/lib/duet/{p-c60e5e81.entry.js → p-60210fa0.entry.js} +1 -1
  293. package/lib/duet/{p-4b7d3edc.entry.js → p-6059377c.entry.js} +1 -1
  294. package/lib/duet/{p-60f7231d.system.entry.js → p-61dbdf5a.system.entry.js} +1 -1
  295. package/lib/duet/{p-e5d2f039.system.entry.js → p-639c44ed.system.entry.js} +1 -1
  296. package/lib/duet/{p-1c1e78f4.system.entry.js → p-642a879a.system.entry.js} +1 -1
  297. package/lib/duet/{p-0ee1b7f3.entry.js → p-645d04bc.entry.js} +1 -1
  298. package/lib/duet/{p-65beaf78.entry.js → p-65180079.entry.js} +1 -1
  299. package/lib/duet/{p-e2e3b866.system.entry.js → p-659b9600.system.entry.js} +1 -1
  300. package/lib/duet/{p-cb896d18.system.entry.js → p-679721de.system.entry.js} +1 -1
  301. package/lib/duet/{p-3d0cabd0.entry.js → p-67f35157.entry.js} +1 -1
  302. package/lib/duet/{p-5b705989.system.js → p-6dea5bde.system.js} +1 -1
  303. package/lib/duet/{p-85350ba7.system.entry.js → p-6fafabc4.system.entry.js} +1 -1
  304. package/lib/duet/{p-a7ad439b.entry.js → p-6ff2601a.entry.js} +1 -1
  305. package/lib/duet/p-72a8644b.system.entry.js +4 -0
  306. package/lib/duet/{p-b7c8caab.system.entry.js → p-74bf128c.system.entry.js} +1 -1
  307. package/lib/duet/{p-7b3b57b5.system.entry.js → p-7604e184.system.entry.js} +1 -1
  308. package/lib/duet/{p-1c1d9986.system.entry.js → p-76c68d61.system.entry.js} +1 -1
  309. package/lib/duet/{p-009c5ed3.entry.js → p-77432368.entry.js} +1 -1
  310. package/lib/duet/{p-0815f8d2.system.entry.js → p-7b75c66a.system.entry.js} +1 -1
  311. package/lib/duet/{p-8bdf321a.system.entry.js → p-7c81a1aa.system.entry.js} +1 -1
  312. package/lib/duet/{p-ea6b5401.system.entry.js → p-7ce403a2.system.entry.js} +1 -1
  313. package/lib/duet/{p-95e558a0.system.entry.js → p-7fd5d974.system.entry.js} +1 -1
  314. package/lib/duet/{p-1402a469.system.entry.js → p-7fe4bf9c.system.entry.js} +1 -1
  315. package/lib/duet/{p-80fcd4a9.system.entry.js → p-8168ef41.system.entry.js} +2 -2
  316. package/lib/duet/{p-d8266018.system.entry.js → p-8215e341.system.entry.js} +1 -1
  317. package/lib/duet/p-82b5380b.system.js +4 -0
  318. package/lib/duet/p-82ebc3a6.system.entry.js +4 -0
  319. package/lib/duet/{p-61232a45.system.entry.js → p-831c76d5.system.entry.js} +1 -1
  320. package/lib/duet/{p-513794cb.system.entry.js → p-855f2712.system.entry.js} +1 -1
  321. package/lib/duet/{p-eb0c0713.system.entry.js → p-87ea8cd4.system.entry.js} +1 -1
  322. package/lib/duet/{p-2654e699.entry.js → p-8a06964b.entry.js} +1 -1
  323. package/lib/duet/{p-3c237b9a.system.entry.js → p-8d9dc8b8.system.entry.js} +1 -1
  324. package/lib/duet/{p-74571004.entry.js → p-8fc58e21.entry.js} +1 -1
  325. package/lib/duet/{p-73fed2b4.entry.js → p-9277a98e.entry.js} +1 -1
  326. package/lib/duet/{p-594fcb94.entry.js → p-9781cd5a.entry.js} +1 -1
  327. package/lib/duet/{p-7f8d73d1.system.entry.js → p-984be1b2.system.entry.js} +1 -1
  328. package/lib/duet/{p-3bad0565.entry.js → p-9ad4b03e.entry.js} +1 -1
  329. package/lib/duet/{p-221a319e.system.entry.js → p-9b4b6a88.system.entry.js} +1 -1
  330. package/lib/duet/{p-9fe84140.system.entry.js → p-9cec464f.system.entry.js} +1 -1
  331. package/lib/duet/{p-96cfe85e.entry.js → p-a1e03781.entry.js} +1 -1
  332. package/lib/duet/{p-f66ba762.system.entry.js → p-a6f4302f.system.entry.js} +1 -1
  333. package/lib/duet/{p-fbef8044.system.js → p-a7774674.system.js} +1 -1
  334. package/lib/duet/{p-9f7016b8.entry.js → p-a80b6e7d.entry.js} +1 -1
  335. package/lib/duet/{p-e7e2beca.entry.js → p-a9fac1f4.entry.js} +1 -1
  336. package/lib/duet/{p-5eb79fac.system.entry.js → p-aa1c11b3.system.entry.js} +1 -1
  337. package/lib/duet/{p-b5f84ba1.entry.js → p-ab15c9ba.entry.js} +1 -1
  338. package/lib/duet/{p-04e21013.entry.js → p-b6f46697.entry.js} +1 -1
  339. package/lib/duet/{p-73018bd7.entry.js → p-bb3ab94b.entry.js} +1 -1
  340. package/lib/duet/{p-c0151dc7.entry.js → p-bb450fde.entry.js} +1 -1
  341. package/lib/duet/{p-e2a64fc4.js → p-bcb2eb05.js} +1 -1
  342. package/lib/duet/{p-fe826eeb.entry.js → p-bd21ed24.entry.js} +1 -1
  343. package/lib/duet/{p-e8145797.system.entry.js → p-be64cb47.system.entry.js} +1 -1
  344. package/lib/duet/{p-127549bc.system.entry.js → p-bf5e03b7.system.entry.js} +1 -1
  345. package/lib/duet/{p-acfb1306.entry.js → p-c01a1e38.entry.js} +1 -1
  346. package/lib/duet/{p-3ea2c86d.system.entry.js → p-c20f14ee.system.entry.js} +1 -1
  347. package/lib/duet/{p-2d50b598.entry.js → p-c56f6296.entry.js} +1 -1
  348. package/lib/duet/{p-95740985.system.entry.js → p-c591ed98.system.entry.js} +1 -1
  349. package/lib/duet/{p-2f3e497c.system.entry.js → p-c838f35a.system.entry.js} +1 -1
  350. package/lib/duet/{p-7e67d36d.system.entry.js → p-c8af967c.system.entry.js} +1 -1
  351. package/lib/duet/{p-37909c09.system.entry.js → p-cd14aa98.system.entry.js} +1 -1
  352. package/lib/duet/{p-906f44d1.system.entry.js → p-ced270b7.system.entry.js} +1 -1
  353. package/lib/duet/{p-50a7fb1c.entry.js → p-d1308874.entry.js} +1 -1
  354. package/lib/duet/{p-518d1263.entry.js → p-d1fdf904.entry.js} +1 -1
  355. package/lib/duet/{p-665f67ed.entry.js → p-d20bc0fc.entry.js} +1 -1
  356. package/lib/duet/{p-8bba046c.entry.js → p-d309acda.entry.js} +1 -1
  357. package/lib/duet/{p-5fed2b0f.entry.js → p-d707c91d.entry.js} +1 -1
  358. package/lib/duet/{p-388212f3.entry.js → p-d70c1993.entry.js} +1 -1
  359. package/lib/duet/{p-762401f8.entry.js → p-d837c30c.entry.js} +1 -1
  360. package/lib/duet/{p-c0c28ecb.entry.js → p-d90b9d82.entry.js} +1 -1
  361. package/lib/duet/{p-759770b5.system.entry.js → p-d95542b2.system.entry.js} +1 -1
  362. package/lib/duet/{p-8f235d9a.system.entry.js → p-dcb58b72.system.entry.js} +1 -1
  363. package/lib/duet/p-df10a767.js +4 -0
  364. package/lib/duet/{p-3508f30c.system.entry.js → p-e13b266c.system.entry.js} +1 -1
  365. package/lib/duet/{p-b9e1d2e3.system.entry.js → p-e1470177.system.entry.js} +1 -1
  366. package/lib/duet/{p-8c8ab0cd.entry.js → p-e195ff77.entry.js} +1 -1
  367. package/lib/duet/{p-59e1c2ab.entry.js → p-e26c92ae.entry.js} +1 -1
  368. package/lib/duet/{p-249de5f3.entry.js → p-e33b158e.entry.js} +1 -1
  369. package/lib/duet/{p-87415ffd.system.entry.js → p-e3a868e7.system.entry.js} +1 -1
  370. package/lib/duet/{p-724bd42f.system.entry.js → p-e5ff4740.system.entry.js} +1 -1
  371. package/lib/duet/{p-b14ce6d0.system.entry.js → p-e664403b.system.entry.js} +1 -1
  372. package/lib/duet/{p-c13f03ef.entry.js → p-e6701508.entry.js} +1 -1
  373. package/lib/duet/{p-848d80c0.entry.js → p-ea0b3f23.entry.js} +1 -1
  374. package/lib/duet/{p-0786d3a0.entry.js → p-eaf5b796.entry.js} +1 -1
  375. package/lib/duet/{p-59b62cfa.entry.js → p-f01b3bfa.entry.js} +1 -1
  376. package/lib/duet/{p-f2403023.system.entry.js → p-f1bce38a.system.entry.js} +1 -1
  377. package/lib/duet/{p-1d42396a.system.entry.js → p-f3baf86a.system.entry.js} +1 -1
  378. package/lib/duet/{p-53dec0a5.system.entry.js → p-f605a26a.system.entry.js} +1 -1
  379. package/lib/duet/{p-470110fc.entry.js → p-f9191467.entry.js} +1 -1
  380. package/lib/duet/p-f93a2b8c.system.js +4 -0
  381. package/lib/duet/p-fb88df1a.entry.js +4 -0
  382. package/lib/duet/{p-c9460722.system.entry.js → p-fca2f60d.system.entry.js} +1 -1
  383. package/lib/duet/{p-7743b137.entry.js → p-fcc9c563.entry.js} +1 -1
  384. package/lib/duet/{p-1fb0d391.entry.js → p-fce75de7.entry.js} +1 -1
  385. package/lib/duet/{p-4b2e1595.system.entry.js → p-fd760e06.system.entry.js} +1 -1
  386. package/lib/duet/{p-6b1a925a.system.entry.js → p-ff0c5b5b.system.entry.js} +1 -1
  387. package/lib/duet/{p-8511fe95.entry.js → p-ff814fdc.entry.js} +1 -1
  388. package/lib/esm/duet-action-button.entry.js +1 -1
  389. package/lib/esm/duet-alert.entry.js +1 -1
  390. package/lib/esm/duet-badge.entry.js +1 -1
  391. package/lib/esm/duet-banner.entry.js +1 -1
  392. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  393. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  394. package/lib/esm/duet-button_2.entry.js +1 -1
  395. package/lib/esm/duet-callout.entry.js +1 -1
  396. package/lib/esm/duet-caption_4.entry.js +1 -1
  397. package/lib/esm/duet-card.entry.js +1 -1
  398. package/lib/esm/duet-checkbox.entry.js +1 -1
  399. package/lib/esm/duet-checkmark.entry.js +1 -1
  400. package/lib/esm/duet-chip.entry.js +91 -0
  401. package/lib/esm/duet-choice_2.entry.js +24 -11
  402. package/lib/esm/duet-collapsible.entry.js +5 -3
  403. package/lib/esm/duet-combobox.entry.js +1 -1
  404. package/lib/esm/duet-contact-card.entry.js +1 -1
  405. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  406. package/lib/esm/duet-date-picker.entry.js +2 -2
  407. package/lib/esm/duet-divider_2.entry.js +1 -1
  408. package/lib/esm/duet-editable-table_3.entry.js +23 -5
  409. package/lib/esm/duet-empty-state.entry.js +1 -1
  410. package/lib/esm/duet-fieldset.entry.js +1 -1
  411. package/lib/esm/duet-footer.entry.js +1 -1
  412. package/lib/esm/duet-grid_2.entry.js +1 -1
  413. package/lib/esm/duet-header_2.entry.js +1 -1
  414. package/lib/esm/duet-hero.entry.js +1 -1
  415. package/lib/esm/duet-icon.entry.js +1 -1
  416. package/lib/esm/duet-input_2.entry.js +1 -1
  417. package/lib/esm/duet-layout.entry.js +1 -1
  418. package/lib/esm/duet-list_2.entry.js +1 -1
  419. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  420. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  421. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  422. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  423. package/lib/esm/duet-menu-bar.entry.js +1 -1
  424. package/lib/esm/duet-modal.entry.js +2 -2
  425. package/lib/esm/duet-multiselect.entry.js +1 -1
  426. package/lib/esm/duet-nav.entry.js +1 -1
  427. package/lib/esm/duet-notification_2.entry.js +1 -1
  428. package/lib/esm/duet-number-input.entry.js +8 -1
  429. package/lib/esm/duet-page-heading.entry.js +1 -1
  430. package/lib/esm/duet-pagination_2.entry.js +1 -1
  431. package/lib/esm/duet-popup-menu-item.entry.js +39 -0
  432. package/lib/esm/duet-popup-menu.entry.js +105 -0
  433. package/lib/esm/duet-progress.entry.js +1 -1
  434. package/lib/esm/duet-promo-card.entry.js +1 -1
  435. package/lib/esm/duet-radio_2.entry.js +5 -4
  436. package/lib/esm/duet-range-slider.entry.js +1 -1
  437. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  438. package/lib/esm/duet-section-layout.entry.js +1 -1
  439. package/lib/esm/duet-select.entry.js +1 -1
  440. package/lib/esm/duet-shaped-image.entry.js +4 -4
  441. package/lib/esm/duet-show-more.entry.js +91 -0
  442. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  443. package/lib/esm/duet-slideout-link.entry.js +1 -1
  444. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  445. package/lib/esm/duet-slideout-panel.entry.js +2 -2
  446. package/lib/esm/duet-slideout.entry.js +2 -2
  447. package/lib/esm/duet-step_2.entry.js +1 -1
  448. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  449. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  450. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  451. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  452. package/lib/esm/duet-textarea.entry.js +1 -1
  453. package/lib/esm/duet-toggle.entry.js +1 -1
  454. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  455. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  456. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  457. package/lib/esm/duet-toolbar.entry.js +1 -1
  458. package/lib/esm/duet-tooltip.entry.js +2 -1172
  459. package/lib/esm/duet-tray.entry.js +1 -1
  460. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  461. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  462. package/lib/esm/duet.js +3 -3
  463. package/lib/esm/floating-ui.dom.esm-37dc174a.js +1245 -0
  464. package/lib/esm/{focus-utils-4c89d596.js → focus-utils-20785530.js} +1 -1
  465. package/lib/esm/{index-b45ea754.js → index-dcb8c495.js} +1 -1
  466. package/lib/esm/loader.js +3 -3
  467. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  468. package/lib/esm-es5/duet-alert.entry.js +1 -1
  469. package/lib/esm-es5/duet-badge.entry.js +1 -1
  470. package/lib/esm-es5/duet-banner.entry.js +1 -1
  471. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  472. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  473. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  474. package/lib/esm-es5/duet-callout.entry.js +1 -1
  475. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  476. package/lib/esm-es5/duet-card.entry.js +1 -1
  477. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  478. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  479. package/lib/esm-es5/duet-chip.entry.js +4 -0
  480. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  481. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  482. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  483. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  484. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  485. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  486. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  487. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  488. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  489. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  490. package/lib/esm-es5/duet-footer.entry.js +1 -1
  491. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  492. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  493. package/lib/esm-es5/duet-hero.entry.js +1 -1
  494. package/lib/esm-es5/duet-icon.entry.js +1 -1
  495. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  496. package/lib/esm-es5/duet-layout.entry.js +1 -1
  497. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  498. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  499. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  500. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  501. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  502. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  503. package/lib/esm-es5/duet-modal.entry.js +1 -1
  504. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  505. package/lib/esm-es5/duet-nav.entry.js +1 -1
  506. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  507. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  508. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  509. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  510. package/lib/esm-es5/duet-popup-menu-item.entry.js +4 -0
  511. package/lib/esm-es5/duet-popup-menu.entry.js +4 -0
  512. package/lib/esm-es5/duet-progress.entry.js +1 -1
  513. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  514. package/lib/esm-es5/duet-radio_2.entry.js +2 -2
  515. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  516. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  517. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  518. package/lib/esm-es5/duet-select.entry.js +1 -1
  519. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  520. package/lib/esm-es5/duet-show-more.entry.js +4 -0
  521. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  522. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  523. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  524. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  525. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  526. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  527. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  528. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  529. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  530. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  531. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  532. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  533. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  534. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  535. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  536. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  537. package/lib/esm-es5/duet-tooltip.entry.js +2 -2
  538. package/lib/esm-es5/duet-tray.entry.js +1 -1
  539. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  540. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  541. package/lib/esm-es5/duet.js +1 -1
  542. package/lib/esm-es5/floating-ui.dom.esm-37dc174a.js +4 -0
  543. package/lib/esm-es5/focus-utils-20785530.js +4 -0
  544. package/lib/esm-es5/{index-b45ea754.js → index-dcb8c495.js} +1 -1
  545. package/lib/esm-es5/loader.js +1 -1
  546. package/lib/types/components/duet-chip/duet-chip.d.ts +83 -0
  547. package/lib/types/components/duet-choice/duet-choice.d.ts +7 -0
  548. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +5 -0
  549. package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +1 -0
  550. package/lib/types/components/duet-number-input/duet-number-input.d.ts +4 -0
  551. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +67 -0
  552. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +47 -0
  553. package/lib/types/components/duet-radio/duet-radio.d.ts +4 -0
  554. package/lib/types/components/duet-shaped-image/duet-shaped-image.d.ts +5 -1
  555. package/lib/types/components/duet-show-more/duet-show-more.d.ts +53 -0
  556. package/lib/types/components/duet-upload/duet-upload.d.ts +10 -0
  557. package/lib/types/components/duet-upload/upload-item.d.ts +1 -0
  558. package/lib/types/components.d.ts +370 -0
  559. package/package.json +11 -6
  560. package/lib/duet/p-2ee395b0.entry.js +0 -4
  561. package/lib/duet/p-5b450895.entry.js +0 -4
  562. package/lib/duet/p-68732531.entry.js +0 -4
  563. package/lib/duet/p-68ed4709.entry.js +0 -4
  564. package/lib/duet/p-6b02f893.system.entry.js +0 -4
  565. package/lib/duet/p-84474371.entry.js +0 -4
  566. package/lib/duet/p-9bb6ecf1.system.js +0 -4
  567. package/lib/duet/p-c0d5c4b4.entry.js +0 -4
  568. package/lib/duet/p-c85da6e1.system.entry.js +0 -4
  569. package/lib/duet/p-d5e35912.system.entry.js +0 -4
  570. package/lib/duet/p-e395bef5.system.entry.js +0 -4
  571. package/lib/duet/p-e6b6d7db.system.entry.js +0 -4
  572. package/lib/duet/p-f3f57a5e.entry.js +0 -4
  573. package/lib/duet/p-fbf03833.system.entry.js +0 -4
  574. package/lib/duet/p-fc9bbd16.js +0 -4
  575. package/lib/esm-es5/focus-utils-4c89d596.js +0 -4
@@ -0,0 +1,91 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-dcb8c495.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
+ import { c as createID } from './create-id-981107da.js';
7
+
8
+ const duetChipCss = "*,*::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:16px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}.duet-chip-container{-webkit-user-select:none;user-select:none;padding:8px 16px 9px !important;position:relative;z-index:100;display:block;width:100%;hyphens:none;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease, padding 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(23, 28, 58)}.duet-chip-container.duet-theme-turva:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-chip-container.duet-theme-turva:hover button,.duet-chip-container.duet-theme-turva:hover label{color:rgb(23, 28, 58) !important}.duet-chip-container:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-chip-container:hover button,.duet-chip-container:hover label{color:rgb(0, 119, 179) !important}.duet-chip-container:hover.duet-theme-turva button,.duet-chip-container:hover.duet-theme-turva label{color:rgb(198, 12, 48) !important}.duet-chip-container button,.duet-chip-container label{width:100%;height: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:0.875rem;font-weight:600;color:rgb(0, 41, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container button:hover,.duet-chip-container label:hover{color:rgb(0, 119, 179) !important}.duet-chip-container .duet-chip-icon-container{display:inline-block;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon{padding-left:12px !important}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked{padding-left:12px !important;background:rgb(230, 242, 248);border-color:rgb(230, 242, 248)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container{padding-right:8px}.duet-chip-container.duet-chip-filter-checked duet-icon:not(.check-mark){width:0;overflow:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked duet-icon.check-mark{width:auto;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-input{display:inline-flex;padding-right:0 !important}.duet-chip-container.duet-chip-input .duet-chip-remove-button{padding:8px 12px;margin:-8px 0}:host(.user-is-tabbing) .duet-chip-focus{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-chip-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-chip-container input{position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;cursor:pointer;opacity:0}";
9
+
10
+ const DuetChip = class {
11
+ constructor(hostRef) {
12
+ registerInstance(this, hostRef);
13
+ this.duetChange = createEvent(this, "duetChange", 3);
14
+ this.duetFocus = createEvent(this, "duetFocus", 7);
15
+ this.duetBlur = createEvent(this, "duetBlur", 7);
16
+ /**
17
+ * Own Properties.
18
+ */
19
+ this.chipId = createID("DuetChip");
20
+ /**
21
+ * Component event handling.
22
+ */
23
+ this.onFocus = (ev) => {
24
+ this.focus = true;
25
+ this.duetFocus.emit({
26
+ originalEvent: ev,
27
+ checked: this.checked,
28
+ value: this.value,
29
+ component: "duet-chip",
30
+ });
31
+ };
32
+ this.onBlur = (ev) => {
33
+ this.focus = false;
34
+ this.duetBlur.emit({
35
+ originalEvent: ev,
36
+ checked: this.checked,
37
+ value: this.value,
38
+ component: "duet-chip",
39
+ });
40
+ };
41
+ this.toggleChecked = (ev) => {
42
+ this.checked = !this.checked;
43
+ this.duetChange.emit({
44
+ originalEvent: ev,
45
+ checked: this.checked,
46
+ value: this.value,
47
+ component: "duet-chip",
48
+ });
49
+ };
50
+ this.remove = (ev) => {
51
+ ev.stopPropagation();
52
+ ev.preventDefault();
53
+ this.element.remove();
54
+ };
55
+ this.focus = false;
56
+ this.accessibleLabel = undefined;
57
+ this.variation = "button";
58
+ this.icon = "";
59
+ this.theme = "";
60
+ this.identifier = undefined;
61
+ this.value = undefined;
62
+ this.name = undefined;
63
+ this.checked = false;
64
+ }
65
+ /**
66
+ * Component lifecycle events.
67
+ */
68
+ componentWillLoad() {
69
+ inheritGlobalTheme(this);
70
+ }
71
+ render() {
72
+ const identifier = this.identifier || this.chipId;
73
+ const classes = {
74
+ "duet-chip-container": true,
75
+ [`duet-chip-${this.variation}`]: true,
76
+ "duet-chip-focus": this.focus,
77
+ "duet-chip-has-icon": !!this.icon,
78
+ "duet-theme-turva": this.theme === "turva",
79
+ "duet-chip-filter-checked": this.variation === "filter" && this.checked,
80
+ };
81
+ const focusHandlers = {
82
+ onFocus: this.onFocus,
83
+ onBlur: this.onBlur,
84
+ };
85
+ return (h(Host, null, this.variation === "button" && (h("div", { class: classes }, h("button", Object.assign({ id: identifier, "aria-label": this.accessibleLabel }, focusHandlers), h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "xx-small", margin: "none", color: "currentColor" }))), h("slot", null)))), this.variation === "input" && (h("div", { class: classes }, h("button", Object.assign({ id: identifier, "aria-label": this.accessibleLabel }, focusHandlers), h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "xx-small", margin: "none", color: "currentColor" }))), h("slot", null)), h("button", { class: "duet-chip-remove-button", onClick: this.remove }, h("duet-icon", { name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (h("div", { class: classes }, h("input", Object.assign({ id: identifier, type: "checkbox", name: this.name, value: this.value, checked: this.checked, onChange: this.toggleChecked }, focusHandlers)), h("label", { htmlFor: identifier }, h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "xx-small", margin: "none", color: "currentColor" })), h("duet-icon", { name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" })), h("slot", null))))));
86
+ }
87
+ get element() { return getElement(this); }
88
+ };
89
+ DuetChip.style = duetChipCss;
90
+
91
+ export { DuetChip as duet_chip };
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b45ea754.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-dcb8c495.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { D as DuetStringsExternalDefaults } from './common-strings-97e04e4b.js';
7
7
  import { c as createID } from './create-id-981107da.js';
8
- import { F as FocusGuard } from './focus-utils-4c89d596.js';
8
+ import { F as FocusGuard } from './focus-utils-20785530.js';
9
9
  import { i as isKeyboardClick, h as isQuestionKey, f as isEscapeKey } from './keyboard-utils-d237bd5a.js';
10
10
  import { g as getLanguage, a as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-6be16ff0.js';
11
11
  import { f as findCheckedOption, w as watchForOptions } from './watch-options-dd55bce8.js';
@@ -13,7 +13,7 @@ import './string-utils-5954f458.js';
13
13
 
14
14
  var messagingInfo={"title":"messaging-info","tags":"messaging info information circle","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z\"/><circle cx=\"11.625\" cy=\"7.125\" r=\"1.125\"/><path d=\"M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z\"/></svg>"};
15
15
 
16
- const duetChoiceCss = "*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;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;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:2px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{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) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:1rem;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:1rem;font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:2px solid rgb(225, 227, 230);border-radius:4px;transition:background-color 150ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-label.sc-duet-choice:not(.no-hover):hover{border-color:rgb(144, 149, 153)}.duet-choice-label.sc-duet-choice:not(.no-hover):hover .duet-checkmark-container.sc-duet-choice{border-color:rgb(144, 149, 153)}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.no-hover):hover{border-color:rgb(116, 116, 117)}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.no-hover):hover .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.no-hover):hover{border-color:rgb(116, 116, 117)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice .duet-choice-label.sc-duet-choice{color:rgb(0, 119, 179) !important;background:rgb(243, 249, 252);border-color:rgb(0, 119, 179) !important}.checked.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice .duet-choice-label.sc-duet-choice{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(101, 119, 135) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(101, 119, 135) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(116, 116, 117) !important}.checked.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.checked.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 207, 209) !important}.checked.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 207, 209) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;z-index:200;width:100%;font-weight:400;color:rgb(0, 41, 77);border:2px solid rgb(225, 227, 230);border-top:0;border-radius:0 0 4px 4px}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:2px solid rgb(0, 119, 179);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-left:0 none;border-top-right-radius:4px;border-bottom-right-radius:4px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(144, 149, 153) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(116, 116, 117) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-choice-label.sc-duet-choice:not(.no-hover):hover .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(144, 149, 153)}.checked.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}";
16
+ const duetChoiceCss = "*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;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;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:2px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{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) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:1rem;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:1rem;font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:2px solid rgb(225, 227, 230);border-radius:4px;transition:background-color 150ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice .duet-choice-label.sc-duet-choice{color:rgb(0, 119, 179) !important;background:rgb(243, 249, 252);border-color:rgb(0, 119, 179) !important}.checked.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice .duet-choice-label.sc-duet-choice{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice .duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice .duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px);border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(101, 119, 135) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(101, 119, 135) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(116, 116, 117) !important}.checked.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.checked.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 207, 209) !important}.checked.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 207, 209) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(0, 41, 77);border:2px solid rgb(225, 227, 230);border-top:0;border-radius:0 0 4px 4px}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible.checked.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover .duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover .duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-left:0 none;border-top-right-radius:4px;border-bottom-right-radius:4px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 245, 247)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(144, 149, 153) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(116, 116, 117) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.checked.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(116, 116, 117)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}";
17
17
 
18
18
  const DuetChoice = class {
19
19
  constructor(hostRef) {
@@ -73,7 +73,7 @@ const DuetChoice = class {
73
73
  this.toggleChecked = ev => {
74
74
  ev.preventDefault();
75
75
  ev.stopPropagation();
76
- if (this.disabled || this.groupDisabled) {
76
+ if (this.getDisabled()) {
77
77
  return;
78
78
  }
79
79
  this.isInfoOpen = false;
@@ -114,6 +114,7 @@ const DuetChoice = class {
114
114
  this.name = undefined;
115
115
  this.checked = false;
116
116
  this.collapsible = false;
117
+ this.collapsibleForceExpanded = false;
117
118
  this.margin = "auto";
118
119
  this.icon = "";
119
120
  this.expand = false;
@@ -207,9 +208,16 @@ const DuetChoice = class {
207
208
  }
208
209
  return null;
209
210
  }
211
+ getDisabled() {
212
+ return this.disabled || this.groupDisabled;
213
+ }
214
+ getExpanded() {
215
+ return this.checked || this.collapsibleForceExpanded;
216
+ }
210
217
  getClassNames() {
211
218
  if (this.hasInfo && !this.collapsible) {
212
219
  return {
220
+ checked: this.checked,
213
221
  "duet-choice-card-info": true,
214
222
  "duet-choice-card-info-expanded": this.isInfoOpen,
215
223
  "duet-choice-card-collapsed": !this.isInfoOpen,
@@ -218,14 +226,16 @@ const DuetChoice = class {
218
226
  }
219
227
  if (!this.hasInfo && this.collapsible) {
220
228
  return {
229
+ checked: this.checked,
221
230
  "duet-choice-card-collapsible": true,
222
- "duet-choice-card-collapsible-expanded": this.checked,
223
- "duet-choice-card-collapsed": !this.checked,
224
- "duet-choice-card-collapsible-disabled": this.disabled || this.groupDisabled ? true : false,
231
+ "duet-choice-card-collapsible-expanded": this.getExpanded(),
232
+ "duet-choice-card-collapsed": !this.getExpanded(),
233
+ "duet-choice-card-collapsible-disabled": this.getDisabled(),
225
234
  "duet-theme-turva": this.theme === "turva",
226
235
  };
227
236
  }
228
237
  return {
238
+ checked: this.checked,
229
239
  "duet-choice-default-slot": true,
230
240
  };
231
241
  }
@@ -243,6 +253,8 @@ const DuetChoice = class {
243
253
  "duet-m-0": this.margin === "none",
244
254
  "duet-expand": this.expand,
245
255
  "duet-theme-turva": this.theme === "turva",
256
+ "no-hover": this.isHovering,
257
+ disabled: this.getDisabled(),
246
258
  } }, h("div", { class: {
247
259
  "duet-choice-card-flextainer": true,
248
260
  "duet-theme-turva": this.theme === "turva",
@@ -253,13 +265,14 @@ const DuetChoice = class {
253
265
  checked: this.checked,
254
266
  info: this.isInfoOpen,
255
267
  collapsible: this.collapsible,
268
+ "collapsible-force-expanded": this.collapsibleForceExpanded,
256
269
  "duet-p-0": this.padding === "none",
257
- } }, h("input", { class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.disabled || this.groupDisabled, required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input) }), h("label", { htmlFor: identifier, class: { "duet-choice-label": true, "no-hover": this.isHovering, "has-before-text": this.hasBeforeText }, onClick: this.onClick }, this.hasBeforeText && h("slot", { name: "before-text" }), this.icon && (h("div", { class: "duet-choice-card-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { class: "duet-choice-card-text" }, choiceGroupLabel && h("duet-visually-hidden", null, choiceGroupLabel, ", "), h("div", null, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("duet-caption", { margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("slot", { name: "additional" })))), h("div", null, h("div", { class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
270
+ } }, h("input", { class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.getDisabled(), required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input) }), h("label", { htmlFor: identifier, class: { "duet-choice-label": true, "has-before-text": this.hasBeforeText }, onClick: this.onClick }, this.hasBeforeText && h("slot", { name: "before-text" }), this.icon && (h("div", { class: "duet-choice-card-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { class: "duet-choice-card-text" }, choiceGroupLabel && h("duet-visually-hidden", null, choiceGroupLabel, ", "), h("div", null, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("duet-caption", { margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("slot", { name: "additional" })))), h("div", null, h("div", { class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
258
271
  "duet-choice-info-toggle": true,
259
272
  "duet-theme-turva": this.theme === "turva",
260
- }, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.disabled || this.groupDisabled, "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, "aria-flowto": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button" }, h("duet-visually-hidden", { "aria-hidden": !this.isBlurred ? "true" : "false" }, this.accessibleLabelInfoButton), h("div", { class: "duet-choice-info-icon" }, h("duet-icon", { icon: messagingInfo.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
261
- "duet-choice-section-visible": this.collapsible ? this.checked : this.isInfoOpen,
262
- "duet-choice-section-hidden": this.collapsible ? !this.checked : !this.isInfoOpen,
273
+ }, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, "aria-flowto": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button" }, h("duet-visually-hidden", { "aria-hidden": !this.isBlurred ? "true" : "false" }, this.accessibleLabelInfoButton), h("div", { class: "duet-choice-info-icon" }, h("duet-icon", { icon: messagingInfo.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
274
+ "duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
275
+ "duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
263
276
  } }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", null, h("span", { "aria-relevant": "all", "aria-atomic": "true", "aria-live": this.isInfoOpen ? "polite" : "off" }, h("slot", { name: "info" })), h("slot", null))) : (h("span", null, h("slot", null)))), this.isInfoOpen && h(FocusGuard, { moveFocusTo: this.infoButtonEl }))) : null));
264
277
  }
265
278
  get element() { return getElement(this); }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b45ea754.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-dcb8c495.js';
5
5
  import { a as actionArrowDownSmall } from './action-arrow-down-small-82273dc8.js';
6
6
  import { f as font_size_medium, t as tokens } from './tokens-f6b32339.js';
7
7
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
@@ -9,7 +9,7 @@ import { c as createID } from './create-id-981107da.js';
9
9
  import { i as isKeyboardClick } from './keyboard-utils-d237bd5a.js';
10
10
  import { s as sanitizeString } from './string-utils-5954f458.js';
11
11
 
12
- const duetCollapsibleCss = "*,*::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-bottom:16px !important;display:block;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:600;line-height:1.5;color:rgb(0, 41, 77)}: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-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;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;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.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([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;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:600;line-height:1.5;color:rgb(0, 41, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.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)}.duet-collapsible-heading .duet-collapsible-heading-content{flex:0 auto;min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{flex:1 0 auto;margin-left:16px}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading: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-collapsible-heading.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(0, 41, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}";
12
+ const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;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:600;line-height:1.5;color:rgb(0, 41, 77)}: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-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;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;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(0, 41, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.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([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;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:600;line-height:1.5;color:rgb(0, 41, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.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)}.duet-collapsible-heading .duet-collapsible-heading-content{min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{margin-left:16px}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div.float-right{margin-left:auto}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading: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-collapsible-heading.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(0, 41, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}";
13
13
 
14
14
  const DuetCollapsible = class {
15
15
  constructor(hostRef) {
@@ -65,6 +65,7 @@ const DuetCollapsible = class {
65
65
  this.theme = "";
66
66
  this.accessibleLabel = undefined;
67
67
  this.heading = "";
68
+ this.headingFullWidth = false;
68
69
  this.centerHeading = false;
69
70
  this.headingWeight = "semibold";
70
71
  this.headingSize = undefined;
@@ -101,7 +102,8 @@ const DuetCollapsible = class {
101
102
  "duet-theme-turva": this.theme === "turva",
102
103
  "duet-collapsible-normal-weight": this.headingWeight === "normal",
103
104
  "has-after-heading": this.hasAfterHeading,
104
- }, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { class: "duet-collapsible-heading-icon" }, h("duet-icon", { margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), h("div", { class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (h("div", null, h("slot", { name: "after-heading" }))))), h("div", { id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, h("slot", null))));
105
+ "full-width": this.headingFullWidth,
106
+ }, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { class: "duet-collapsible-heading-icon" }, h("duet-icon", { margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), h("div", { class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (h("div", { part: "duet-collapsible-after-heading" }, h("slot", { name: "after-heading" }))))), h("div", { id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, h("slot", null))));
105
107
  }
106
108
  get element() { return getElement(this); }
107
109
  };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { h, F as Fragment, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-b45ea754.js';
4
+ import { h, F as Fragment, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-dcb8c495.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { d as debounce } from './js-utils-fa98b8cd.js';
7
7
  import { j as isEnterKey, f as isEscapeKey, o as isTabKey, b as isArrowUpKey, c as isArrowDownKey } from './keyboard-utils-d237bd5a.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement } from './index-b45ea754.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-dcb8c495.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { g as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-6be16ff0.js';
7
7
  import './string-utils-5954f458.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b45ea754.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-dcb8c495.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
 
7
7
  const duetCookieConsentCss = "*,*::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;position:fixed;right:0;bottom:0;left:0;z-index:950;display:block;width:100%;box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 48em){:host{right:28px;bottom:28px;left:auto;width:25rem}}: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)}.duet-cookie-consent{padding:20px;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:0.875rem;color:rgb(255, 255, 255) !important;background-color:rgba(0, 21, 39, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent{background:rgba(0, 21, 39, 0.8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.duet-cookie-consent.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\";background-color:rgba(12, 14, 29, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent.duet-theme-turva{background:rgba(12, 14, 29, 0.8)}}@media (min-width: 48em){.duet-cookie-consent{padding:20px;border-radius:4px}}.duet-cookie-consent-content{display:flex;align-items:center;max-width:1110px;margin:0 auto}.duet-cookie-consent-content .expand{flex:1}::slotted(a){font-weight:600;color:rgb(255, 255, 255) !important;text-decoration:underline;white-space:nowrap}::slotted(a[target=_blank]){padding-right:16px;background:url(\"data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjUgMmExLjUgMS41IDAgMDEuMTQgM0gzLjc1Yy0uMzggMC0uNy4yOC0uNzQuNjVsLS4wMS4xdjE0LjVjMCAuMzguMjguNy42NS43NGwuMS4wMWgxNC41Yy4zOCAwIC43LS4yOC43NC0uNjVsLjAxLS4xdi02Ljg5YTEuNSAxLjUgMCAwMTMgMHY2Ljg5QTMuNzUgMy43NSAwIDAxMTguMjUgMjRIMy43NUEzLjc1IDMuNzUgMCAwMTAgMjAuMjVWNS43NUEzLjc1IDMuNzUgMCAwMTMuNzUgMnptMTItMmMuNzggMCAxLjQyLjYgMS41IDEuMzZWNy41YTEuNSAxLjUgMCAwMS0zIC4xNFY1LjEybC01LjQ0IDUuNDRhMS41IDEuNSAwIDAxLTIuMjItMmwuMS0uMTJMMTguODggM0gxNi41QTEuNSAxLjUgMCAwMTE1IDEuNjRWMS41YzAtLjc4LjYtMS40MiAxLjM2LTEuNWguMTR6Ii8+PC9zdmc+\") no-repeat right 50%;background-size:12px 10px}::slotted(a: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 ::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}";
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-b45ea754.js';
4
+ import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-dcb8c495.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { c as createID } from './create-id-981107da.js';
7
- import { F as FocusGuard } from './focus-utils-4c89d596.js';
7
+ import { F as FocusGuard } from './focus-utils-20785530.js';
8
8
  import { g as getLanguage, a as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-6be16ff0.js';
9
9
  import './string-utils-5954f458.js';
10
10
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, g as getElement, H as Host } from './index-b45ea754.js';
4
+ import { r as registerInstance, h, g as getElement, H as Host } from './index-dcb8c495.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { g as getColorByName } from './token-utils-a1dcaa4b.js';
7
7
  import './tokens.module-ed773027.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { h, r as registerInstance, c as createEvent, H as Host, g as getElement, F as Fragment } from './index-b45ea754.js';
4
+ import { h, r as registerInstance, c as createEvent, H as Host, g as getElement, F as Fragment } from './index-dcb8c495.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { f as fieldSorter, d as debounce } from './js-utils-fa98b8cd.js';
7
7
  import { i as isKeyboardClick } from './keyboard-utils-d237bd5a.js';
@@ -31,6 +31,7 @@ const DuetEditableTable = class {
31
31
  this.duetMenuClick = createEvent(this, "duetMenuClick", 7);
32
32
  this.hasHeadSlotFirst = false;
33
33
  this.hasHeadSlotLast = false;
34
+ this.hasFootSlot = false;
34
35
  this.sortableDefaultLabel = {
35
36
  fi: "Järjestä",
36
37
  en: "Click to sort",
@@ -83,6 +84,7 @@ const DuetEditableTable = class {
83
84
  inheritGlobalTheme(this);
84
85
  this.hasHeadSlotFirst = !!this.element.querySelector("[slot='thead-first']");
85
86
  this.hasHeadSlotLast = !!this.element.querySelector("[slot='thead-last']");
87
+ this.hasFootSlot = !!this.element.querySelector("[slot='tfoot']");
86
88
  }
87
89
  connectedCallback() {
88
90
  connectLanguageChangeObserver(this);
@@ -180,7 +182,7 @@ const DuetEditableTable = class {
180
182
  "duet-editable-table-actions": !!this.actions,
181
183
  "duet-m-0": this.margin === "none",
182
184
  "duet-theme-turva": this.theme === "turva",
183
- } }, 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" }))))))));
185
+ } }, 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()), this.hasFootSlot && (h("tfoot", null, h("tr", null, h("td", { class: "duet-editable-table-footer-menu", colSpan: 99 }, h("slot", { name: "tfoot" })))))))));
184
186
  }
185
187
  get element() { return getElement(this); }
186
188
  };
@@ -471,9 +473,15 @@ const fileUploadingInfo = {
471
473
  sv: "Filen laddas upp",
472
474
  en: "File is uploading",
473
475
  };
474
- const UploadItem = ({ data, showLinks, type, actions, errorCodes, theme, label, categoryLabel, showCategory, }) => {
476
+ const UploadItem = ({ data, showLinks, type, actions, errorCodes, theme, label, categoryLabel, showCategory, onLinkClick, }) => {
475
477
  const { uid, item, size, uploaded, url, meta, progress, error } = data;
476
478
  const { name } = item;
479
+ const linkClickHandler = (event) => {
480
+ if (onLinkClick) {
481
+ event.preventDefault();
482
+ onLinkClick(name, url || "", meta);
483
+ }
484
+ };
477
485
  const getFileNameLine = () => {
478
486
  switch (type) {
479
487
  case "inprogress":
@@ -499,7 +507,7 @@ const UploadItem = ({ data, showLinks, type, actions, errorCodes, theme, label,
499
507
  h("duet-paragraph", { class: "duet-upload-item-error-label", size: "small", margin: "none", color: "danger" }, getI18nError(error.type, errorCodes))));
500
508
  default:
501
509
  return uploaded && url && showLinks ? (h("duet-paragraph", { color: "secondary", margin: "none", weight: "semi-bold" },
502
- h("duet-link", { url: url, external: true }, ContentName),
510
+ h("duet-link", { onClick: linkClickHandler, url: url, external: true }, ContentName),
503
511
  h("duet-spacer", { size: "xx-small", direction: "horizontal" }),
504
512
  SizeText)) : (h("duet-paragraph", { color: "secondary", margin: "none", weight: "semi-bold" },
505
513
  ContentName,
@@ -681,6 +689,7 @@ const DuetUpload = class {
681
689
  this.duetCancel = createEvent(this, "duetCancel", 3);
682
690
  this.duetProgress = createEvent(this, "duetProgress", 3);
683
691
  this.duetUpload = createEvent(this, "duetUpload", 3);
692
+ this.linkClick = createEvent(this, "linkClick", 3);
684
693
  /**
685
694
  * Own Properties
686
695
  */
@@ -763,7 +772,7 @@ const DuetUpload = class {
763
772
  };
764
773
  this.mapFilesToUploadItems = (data, group, showCategory) => {
765
774
  if (group === this.DefaultGroups.success) {
766
- return (h(UploadItem, { theme: this.theme, actions: this.getActions(group), type: "success", data: data, showLinks: this.showLinks, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory }));
775
+ return (h(UploadItem, { theme: this.theme, actions: this.getActions(group), type: "success", data: data, showLinks: this.showLinks, onLinkClick: this.emitEvent ? this.onLinkClick : undefined, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory }));
767
776
  }
768
777
  else if (group === this.DefaultGroups.inprogress) {
769
778
  return (h(UploadItem, { theme: this.theme, actions: this.getActions(group), type: "inprogress", data: data, showLinks: this.showLinks, categoryLabel: this.categoryLabel, label: this.uploadedItemsHeaderLabel, showCategory: showCategory }));
@@ -1056,6 +1065,14 @@ const DuetUpload = class {
1056
1065
  data: { files: this.files },
1057
1066
  });
1058
1067
  };
1068
+ this.onLinkClick = (name, url, meta) => {
1069
+ if (this.emitEvent) {
1070
+ this.linkClick.emit({
1071
+ component: "duet-upload",
1072
+ data: { name, url, meta },
1073
+ });
1074
+ }
1075
+ };
1059
1076
  /**
1060
1077
  * @description This functions return sorted map items byg condition which are:
1061
1078
  */
@@ -1249,6 +1266,7 @@ const DuetUpload = class {
1249
1266
  en: "Uploaded file",
1250
1267
  };
1251
1268
  this.hideHeader = false;
1269
+ this.emitEvent = false;
1252
1270
  this.groups = [
1253
1271
  {
1254
1272
  id: this.DefaultGroups.success,
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-b45ea754.js';
4
+ import { r as registerInstance, h, H as Host } from './index-dcb8c495.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
 
7
7
  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)}";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement } from './index-b45ea754.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-dcb8c495.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { c as createID } from './create-id-981107da.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent$1, h, F as Fragment, g as getElement } from './index-b45ea754.js';
4
+ import { r as registerInstance, c as createEvent$1, h, F as Fragment, g as getElement } from './index-dcb8c495.js';
5
5
  import { a as actionArrowRight } from './action-arrow-right-f7d56681.js';
6
6
  import { a as actionNewWindowSmall } from './action-new-window-small-1945be91.js';
7
7
  import { D as DuetStringsExternalDefaults } from './common-strings-97e04e4b.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, g as getElement, H as Host } from './index-b45ea754.js';
4
+ import { r as registerInstance, h, g as getElement, H as Host } from './index-dcb8c495.js';
5
5
  import { a as media_query_large, m as media_query_medium, b as media_query_small } from './tokens-f6b32339.js';
6
6
  import { w as watchForOptions, a as watchForElement } from './watch-options-dd55bce8.js';
7
7
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { h, r as registerInstance, c as createEvent$1, B as Build, H as Host, F as Fragment, g as getElement } from './index-b45ea754.js';
4
+ import { h, r as registerInstance, c as createEvent$1, B as Build, H as Host, F as Fragment, g as getElement } from './index-dcb8c495.js';
5
5
  import { f as formSearch } from './form-search-ea8e19ae.js';
6
6
  import { a as media_query_large } from './tokens-f6b32339.js';
7
7
  import { d as disableBodyScroll, e as enableBodyScroll } from './bodyScrollLock.es6-61b5e9a4.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-b45ea754.js';
4
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-dcb8c495.js';
5
5
  import { a as actionNewWindowSmall } from './action-new-window-small-1945be91.js';
6
6
  import { D as DuetStringsExternalDefaults } from './common-strings-97e04e4b.js';
7
7
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { E as Env, r as registerInstance, h, H as Host, g as getElement } from './index-b45ea754.js';
4
+ import { E as Env, r as registerInstance, h, H as Host, g as getElement } from './index-dcb8c495.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { g as getColorByName, r as rgbaColorFromRgb } from './token-utils-a1dcaa4b.js';
7
7
  import './tokens.module-ed773027.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b45ea754.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-dcb8c495.js';
5
5
  import { f as formSearch } from './form-search-ea8e19ae.js';
6
6
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
7
7
  import { c as createID } from './create-id-981107da.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement } from './index-b45ea754.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-dcb8c495.js';
5
5
  import { i as isInternetExplorer } from './is-internet-explorer-62b3bdbd.js';
6
6
 
7
7
  const duetLayoutCss = "*,*::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;flex:1 0 auto;width:100%}:host(.duet-middle){display:flex}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout{position:relative;padding:0 16px;margin:48px auto 36px}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}@media (min-width: 36em){.duet-layout{margin-top:72px}}.duet-layout.duet-layout-has-top{margin-top:0}.duet-layout.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout.duet-center{display:flex;align-items:center;justify-content:center;width:100%;max-width:888px}@media (min-width: 36em){.duet-layout.duet-center{padding:0 48px}}@media (min-width: 48em){.duet-layout.duet-center{padding:0 72px}}@media (min-width: 62em){.duet-layout.duet-center{width:100%}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px;margin-bottom:48px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main,.duet-sidebar,.duet-layout-top,.duet-layout-bottom{display:block;width:100%}.duet-layout-top{position:relative;display:block;width:100%;margin:72px auto 0}.duet-layout-top.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-top .duet-layout-top-wrapper{padding:0 20px;margin:0 auto}@media (min-width: 36em){.duet-layout-top .duet-layout-top-wrapper{padding:0 28px}}@media (min-width: 62em){.duet-layout-top .duet-layout-top-wrapper{padding:0 56px}}@media (min-width: 76.25em){.duet-layout-top .duet-layout-top-wrapper{max-width:1110px;padding:0}}.duet-center .duet-layout-top-wrapper{max-width:888px}@media (min-width: 36em){.duet-center .duet-layout-top-wrapper{padding:0 48px}}@media (min-width: 48em){.duet-center .duet-layout-top-wrapper{padding:0 72px}}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}@media (min-width: 62em){.duet-sidebar{min-width:256px;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container{width:auto;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container.has-tabs{margin-top:89px}}@media (min-width: 62em){.duet-sidebar-container.sticky{position:sticky}.duet-sidebar-container.sticky.with-links{top:calc(3rem + 20px)}.duet-sidebar-container.sticky.without-links{top:calc(4rem + 20px)}}";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, g as getElement, H as Host } from './index-b45ea754.js';
4
+ import { r as registerInstance, h, g as getElement, H as Host } from './index-dcb8c495.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { w as watchForOptions } from './watch-options-dd55bce8.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement } from './index-b45ea754.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-dcb8c495.js';
5
5
  import { a as media_query_large } from './tokens-f6b32339.js';
6
6
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
7
7