@duetds/components 6.10.2 → 6.10.4

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 (591) hide show
  1. package/hydrate/index.js +4370 -3798
  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 +168 -0
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +24 -11
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
  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 +32 -135
  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 +6 -3
  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 +45 -0
  46. package/lib/cjs/duet-popup-menu.cjs.entry.js +113 -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 +2 -2
  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 +1 -1
  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-upload-item.cjs.entry.js +93 -0
  76. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  77. package/lib/cjs/duet.cjs.js +2 -2
  78. package/lib/cjs/errorcodes.utils-5deca818.js +39 -0
  79. package/lib/cjs/floating-ui.dom.esm-3801794e.js +1251 -0
  80. package/lib/cjs/{focus-utils-a7ec8d4d.js → focus-utils-a66763f4.js} +1 -1
  81. package/lib/cjs/{index-b91d0c7f.js → index-4eb7ce33.js} +1 -1
  82. package/lib/cjs/loader.cjs.js +2 -2
  83. package/lib/collection/collection-manifest.json +5 -0
  84. package/lib/collection/components/duet-chip/duet-chip.css +202 -0
  85. package/lib/collection/components/duet-chip/duet-chip.js +395 -0
  86. package/lib/collection/components/duet-choice/duet-choice.css +60 -33
  87. package/lib/collection/components/duet-choice/duet-choice.js +39 -8
  88. package/lib/collection/components/duet-editable-table/duet-editable-table.js +3 -1
  89. package/lib/collection/components/duet-grid/duet-grid.css +260 -116
  90. package/lib/collection/components/duet-grid/duet-grid.js +22 -1
  91. package/lib/collection/components/duet-number-input/duet-number-input.js +23 -0
  92. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +57 -0
  93. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +361 -0
  94. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +69 -0
  95. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +225 -0
  96. package/lib/collection/components/duet-radio/duet-radio.css +3 -3
  97. package/lib/collection/components/duet-radio/duet-radio.js +9 -3
  98. package/lib/collection/components/duet-scrollable/duet-scrollable.css +1 -1
  99. package/lib/collection/components/duet-show-more/duet-show-more.css +46 -0
  100. package/lib/collection/components/duet-show-more/duet-show-more.js +214 -0
  101. package/lib/collection/components/duet-upload/duet-upload.js +37 -13
  102. package/lib/collection/components/duet-upload-item/duet-upload-item.js +299 -0
  103. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  104. package/lib/dist-custom-elements/duet-alert.js +1 -1
  105. package/lib/dist-custom-elements/duet-badge.js +1 -1
  106. package/lib/dist-custom-elements/duet-banner.js +4 -4
  107. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  108. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  109. package/lib/dist-custom-elements/duet-button.js +1 -1
  110. package/lib/dist-custom-elements/duet-callout.js +3 -3
  111. package/lib/dist-custom-elements/duet-caption.js +1 -1
  112. package/lib/dist-custom-elements/duet-card.js +3 -3
  113. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  114. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  115. package/lib/dist-custom-elements/duet-chip.d.ts +11 -0
  116. package/lib/dist-custom-elements/duet-chip.js +200 -0
  117. package/lib/dist-custom-elements/duet-choice-group.js +6 -6
  118. package/lib/dist-custom-elements/duet-choice.js +28 -14
  119. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  120. package/lib/dist-custom-elements/duet-combobox.js +2 -2
  121. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  122. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  123. package/lib/dist-custom-elements/duet-date-picker.js +10 -10
  124. package/lib/dist-custom-elements/duet-divider.js +1 -1
  125. package/lib/dist-custom-elements/duet-editable-table.js +10 -8
  126. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  127. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  128. package/lib/dist-custom-elements/duet-footer.js +4 -4
  129. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  130. package/lib/dist-custom-elements/duet-grid.js +1 -1
  131. package/lib/dist-custom-elements/duet-header.js +8 -8
  132. package/lib/dist-custom-elements/duet-heading.js +1 -1
  133. package/lib/dist-custom-elements/duet-hero.js +9 -9
  134. package/lib/dist-custom-elements/duet-icon.js +1 -1
  135. package/lib/dist-custom-elements/duet-input.js +1 -1
  136. package/lib/dist-custom-elements/duet-label.js +1 -1
  137. package/lib/dist-custom-elements/duet-layout.js +1 -1
  138. package/lib/dist-custom-elements/duet-link.js +1 -1
  139. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  140. package/lib/dist-custom-elements/duet-list.js +1 -1
  141. package/lib/dist-custom-elements/duet-logo.js +1 -1
  142. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  143. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  144. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  145. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  146. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  147. package/lib/dist-custom-elements/duet-modal.js +7 -7
  148. package/lib/dist-custom-elements/duet-multiselect.js +8 -8
  149. package/lib/dist-custom-elements/duet-nav.js +1 -1
  150. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  151. package/lib/dist-custom-elements/duet-notification.js +2 -2
  152. package/lib/dist-custom-elements/duet-number-input.js +18 -10
  153. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  154. package/lib/dist-custom-elements/duet-pagination.js +7 -7
  155. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  156. package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +11 -0
  157. package/lib/dist-custom-elements/duet-popup-menu-item.js +75 -0
  158. package/lib/dist-custom-elements/duet-popup-menu.d.ts +11 -0
  159. package/lib/dist-custom-elements/duet-popup-menu.js +142 -0
  160. package/lib/dist-custom-elements/duet-progress.js +1 -1
  161. package/lib/dist-custom-elements/duet-promo-card.js +3 -3
  162. package/lib/dist-custom-elements/duet-radio-group.js +6 -6
  163. package/lib/dist-custom-elements/duet-radio.js +6 -5
  164. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  165. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  166. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  167. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  168. package/lib/dist-custom-elements/duet-select.js +1 -1
  169. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  170. package/lib/dist-custom-elements/duet-show-more.d.ts +11 -0
  171. package/lib/dist-custom-elements/duet-show-more.js +137 -0
  172. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  173. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  174. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  175. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  176. package/lib/dist-custom-elements/duet-slideout.js +2 -2
  177. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  178. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  179. package/lib/dist-custom-elements/duet-step.js +4 -4
  180. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  181. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  182. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  183. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  184. package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
  185. package/lib/dist-custom-elements/duet-tab-group.js +11 -11
  186. package/lib/dist-custom-elements/duet-tab.js +1 -1
  187. package/lib/dist-custom-elements/duet-table.js +1 -1
  188. package/lib/dist-custom-elements/duet-textarea.js +8 -8
  189. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  190. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  191. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  192. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  193. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  194. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  195. package/lib/dist-custom-elements/duet-tray.js +3 -3
  196. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  197. package/lib/dist-custom-elements/duet-upload-item.d.ts +11 -0
  198. package/lib/dist-custom-elements/duet-upload-item.js +9 -0
  199. package/lib/dist-custom-elements/duet-upload.js +58 -158
  200. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  201. package/lib/dist-custom-elements/index.js +1 -1
  202. package/lib/dist-custom-elements/{p-4197b9ee.js → p-006d0fb1.js} +2 -2
  203. package/lib/dist-custom-elements/{p-05139591.js → p-03297bf3.js} +1 -1
  204. package/lib/dist-custom-elements/{p-e3acab40.js → p-08f20e44.js} +2 -2
  205. package/lib/dist-custom-elements/{p-39c6c68e.js → p-0f04ecb5.js} +1 -1
  206. package/lib/dist-custom-elements/{p-c202693f.js → p-171c70e8.js} +1 -1
  207. package/lib/dist-custom-elements/{p-8fb68cb1.js → p-1b34adf1.js} +2 -2
  208. package/lib/dist-custom-elements/{p-d6a6460a.js → p-1f14a267.js} +1 -1
  209. package/lib/dist-custom-elements/{p-f6b5ce88.js → p-226f50bb.js} +1 -1
  210. package/lib/dist-custom-elements/{p-1b3de4b8.js → p-25d3d458.js} +1 -1
  211. package/lib/dist-custom-elements/{p-2b132855.js → p-25fa826f.js} +1 -1
  212. package/lib/dist-custom-elements/{p-e6f6efa6.js → p-265d42fd.js} +1 -1
  213. package/lib/dist-custom-elements/{p-96b624ec.js → p-26a65533.js} +1 -1
  214. package/lib/dist-custom-elements/{p-419d2da0.js → p-2b8c0c2f.js} +6 -6
  215. package/lib/dist-custom-elements/{p-28658e20.js → p-37255027.js} +8 -8
  216. package/lib/dist-custom-elements/{p-58105b4f.js → p-3e609785.js} +1 -1
  217. package/lib/dist-custom-elements/p-4c575cf4.js +278 -0
  218. package/lib/dist-custom-elements/{p-9e83a449.js → p-5114f1bd.js} +2 -2
  219. package/lib/dist-custom-elements/{p-8638ba69.js → p-5c48ca92.js} +1 -1
  220. package/lib/dist-custom-elements/{p-ea756e9e.js → p-661fee29.js} +6 -6
  221. package/lib/dist-custom-elements/{p-3595aea9.js → p-7681059e.js} +1 -1
  222. package/lib/dist-custom-elements/{p-7d6d90bc.js → p-7c2e755b.js} +1 -1
  223. package/lib/dist-custom-elements/{p-e3ac121c.js → p-80cd62f8.js} +5 -5
  224. package/lib/dist-custom-elements/p-84a78894.js +187 -0
  225. package/lib/dist-custom-elements/{p-62f3b6cb.js → p-8a1632b1.js} +3 -3
  226. package/lib/dist-custom-elements/{p-eb29050b.js → p-a60259d1.js} +1 -1
  227. package/lib/dist-custom-elements/{p-227cc94f.js → p-b98f1d2a.js} +1 -1
  228. package/lib/dist-custom-elements/{p-6de01596.js → p-c85e7fbd.js} +1 -1
  229. package/lib/dist-custom-elements/{p-6f4b6168.js → p-d5e61aac.js} +1 -1
  230. package/lib/dist-custom-elements/{p-a0f68c00.js → p-dbb9df4e.js} +3 -3
  231. package/lib/dist-custom-elements/{p-38b3c30a.js → p-df10a767.js} +71 -274
  232. package/lib/dist-custom-elements/p-e0afb5aa.js +197 -0
  233. package/lib/dist-custom-elements/{p-beca0ced.js → p-e467de13.js} +1 -1
  234. package/lib/dist-custom-elements/{p-2747b8c6.js → p-ffc196f5.js} +4 -4
  235. package/lib/duet/duet.esm.js +1 -1
  236. package/lib/duet/duet.js +1 -1
  237. package/lib/duet/{p-d3323581.system.entry.js → p-000a0a75.system.entry.js} +1 -1
  238. package/lib/duet/{p-6766ef3d.system.entry.js → p-00355028.system.entry.js} +1 -1
  239. package/lib/duet/{p-62b68de6.system.js → p-053be9dd.system.js} +1 -1
  240. package/lib/duet/p-05dd0fb6.entry.js +4 -0
  241. package/lib/duet/{p-1e6f5e74.system.entry.js → p-06969947.system.entry.js} +1 -1
  242. package/lib/duet/p-08c7360e.system.entry.js +4 -0
  243. package/lib/duet/{p-5e7dc52a.system.entry.js → p-099119d3.system.entry.js} +1 -1
  244. package/lib/duet/{p-6ad538a7.system.entry.js → p-0b696003.system.entry.js} +1 -1
  245. package/lib/duet/p-101cc3fe.system.entry.js +4 -0
  246. package/lib/duet/{p-1df0bbf9.system.entry.js → p-110c2c76.system.entry.js} +1 -1
  247. package/lib/duet/{p-8c404f51.system.entry.js → p-11d01178.system.entry.js} +1 -1
  248. package/lib/duet/{p-87f85912.system.entry.js → p-13fa33f3.system.entry.js} +1 -1
  249. package/lib/duet/{p-91a5c4fd.system.entry.js → p-1483de5f.system.entry.js} +1 -1
  250. package/lib/duet/{p-62b435d1.system.entry.js → p-15505723.system.entry.js} +1 -1
  251. package/lib/duet/{p-89d9030e.system.entry.js → p-1616c51d.system.entry.js} +1 -1
  252. package/lib/duet/{p-1f3d12d2.system.entry.js → p-184ee980.system.entry.js} +1 -1
  253. package/lib/duet/p-19ea4e54.entry.js +4 -0
  254. package/lib/duet/{p-cfde4f9a.system.entry.js → p-1ff16557.system.entry.js} +1 -1
  255. package/lib/duet/{p-f88ac93f.system.entry.js → p-20c19d2e.system.entry.js} +1 -1
  256. package/lib/duet/p-26ed5006.system.entry.js +4 -0
  257. package/lib/duet/{p-72a2ff4d.entry.js → p-276da9b8.entry.js} +1 -1
  258. package/lib/duet/{p-94d448f9.system.entry.js → p-28b0deff.system.entry.js} +1 -1
  259. package/lib/duet/{p-03522bb4.entry.js → p-28cf3d78.entry.js} +1 -1
  260. package/lib/duet/{p-af3060c1.system.entry.js → p-2a37e574.system.entry.js} +1 -1
  261. package/lib/duet/{p-de31586c.system.entry.js → p-2a9b8270.system.entry.js} +1 -1
  262. package/lib/duet/{p-245a63f4.entry.js → p-2a9e5e4c.entry.js} +1 -1
  263. package/lib/duet/{p-17d2c223.system.entry.js → p-2bd98cbe.system.entry.js} +1 -1
  264. package/lib/duet/{p-c424c794.entry.js → p-31155f08.entry.js} +1 -1
  265. package/lib/duet/{p-8f7f4724.entry.js → p-322f69c7.entry.js} +1 -1
  266. package/lib/duet/{p-56b92797.entry.js → p-32d31570.entry.js} +1 -1
  267. package/lib/duet/{p-909e088e.system.entry.js → p-32ee127a.system.entry.js} +1 -1
  268. package/lib/duet/{p-d159787d.entry.js → p-35b74797.entry.js} +1 -1
  269. package/lib/duet/{p-058dfaad.entry.js → p-368e63a8.entry.js} +1 -1
  270. package/lib/duet/{p-e7af2cd8.system.entry.js → p-380ead38.system.entry.js} +1 -1
  271. package/lib/duet/{p-c7fbe38a.entry.js → p-38e24930.entry.js} +1 -1
  272. package/lib/duet/{p-6392cafe.entry.js → p-3b33c459.entry.js} +1 -1
  273. package/lib/duet/{p-2f8c7a7d.entry.js → p-3c43d0ee.entry.js} +1 -1
  274. package/lib/duet/{p-30551712.system.entry.js → p-40463065.system.entry.js} +1 -1
  275. package/lib/duet/p-434b31e9.system.js +4 -0
  276. package/lib/duet/{p-5c4a2f44.system.entry.js → p-45046cb8.system.entry.js} +1 -1
  277. package/lib/duet/{p-99a8b5f5.entry.js → p-4667e5cc.entry.js} +1 -1
  278. package/lib/duet/{p-bbadf525.system.entry.js → p-4956fa1c.system.entry.js} +1 -1
  279. package/lib/duet/{p-d18383cd.entry.js → p-4af3a90a.entry.js} +1 -1
  280. package/lib/duet/{p-b906790d.entry.js → p-4f321fb8.entry.js} +1 -1
  281. package/lib/duet/{p-29ce564d.entry.js → p-4f90dd0a.entry.js} +1 -1
  282. package/lib/duet/{p-a6917de1.system.entry.js → p-4fc64fe9.system.entry.js} +1 -1
  283. package/lib/duet/{p-6a42d57c.system.entry.js → p-521b2f02.system.entry.js} +1 -1
  284. package/lib/duet/p-540d7ed6.entry.js +4 -0
  285. package/lib/duet/p-549a1ffd.system.entry.js +4 -0
  286. package/lib/duet/{p-eb9c8e60.entry.js → p-5e2af124.entry.js} +1 -1
  287. package/lib/duet/{p-cad8060d.system.entry.js → p-5ed8969b.system.entry.js} +1 -1
  288. package/lib/duet/{p-420dfc2c.entry.js → p-604adb3e.entry.js} +1 -1
  289. package/lib/duet/{p-c085e346.system.entry.js → p-60c99082.system.entry.js} +1 -1
  290. package/lib/duet/{p-ef033a06.system.entry.js → p-6508eed1.system.entry.js} +1 -1
  291. package/lib/duet/{p-09daf29e.system.entry.js → p-684b2d77.system.entry.js} +1 -1
  292. package/lib/duet/{p-0738bb7d.system.entry.js → p-6892546a.system.entry.js} +1 -1
  293. package/lib/duet/{p-36edc06c.system.entry.js → p-699f593c.system.entry.js} +1 -1
  294. package/lib/duet/p-6b115b63.system.js +4 -0
  295. package/lib/duet/{p-ed78f6fe.system.entry.js → p-6baede6c.system.entry.js} +1 -1
  296. package/lib/duet/{p-42e270f3.entry.js → p-6bb42603.entry.js} +1 -1
  297. package/lib/duet/{p-0dda8331.entry.js → p-6e93b2f3.entry.js} +1 -1
  298. package/lib/duet/{p-dc9bf216.entry.js → p-6ee35830.entry.js} +1 -1
  299. package/lib/duet/{p-9c554b07.entry.js → p-700cc5d1.entry.js} +1 -1
  300. package/lib/duet/{p-ff5f4d38.entry.js → p-721bf508.entry.js} +1 -1
  301. package/lib/duet/{p-a4cc9386.system.entry.js → p-7284cb09.system.entry.js} +1 -1
  302. package/lib/duet/{p-d85d8db5.entry.js → p-72d18d55.entry.js} +1 -1
  303. package/lib/duet/p-756341c2.system.entry.js +4 -0
  304. package/lib/duet/{p-a31222e3.entry.js → p-7565b093.entry.js} +1 -1
  305. package/lib/duet/{p-673127ac.system.entry.js → p-773268e7.system.entry.js} +1 -1
  306. package/lib/duet/{p-30c684e8.entry.js → p-77616680.entry.js} +1 -1
  307. package/lib/duet/{p-f4799c34.system.entry.js → p-7a3071a5.system.entry.js} +1 -1
  308. package/lib/duet/{p-779be7c6.system.entry.js → p-7e061e75.system.entry.js} +1 -1
  309. package/lib/duet/{p-8ec5c49e.entry.js → p-7f588669.entry.js} +1 -1
  310. package/lib/duet/p-8094e185.entry.js +4 -0
  311. package/lib/duet/{p-7dea5e1a.system.entry.js → p-8146f5d7.system.entry.js} +1 -1
  312. package/lib/duet/{p-81668ed2.system.entry.js → p-82330774.system.entry.js} +1 -1
  313. package/lib/duet/{p-1d3647c6.system.entry.js → p-8275330c.system.entry.js} +1 -1
  314. package/lib/duet/p-82b5380b.system.js +4 -0
  315. package/lib/duet/{p-0fbdbb6a.entry.js → p-8445fc10.entry.js} +1 -1
  316. package/lib/duet/{p-0b34d9b5.system.entry.js → p-8584bcfe.system.entry.js} +1 -1
  317. package/lib/duet/{p-07300cb6.entry.js → p-86e7a88a.entry.js} +1 -1
  318. package/lib/duet/p-871eca43.entry.js +4 -0
  319. package/lib/duet/{p-72d1f618.system.entry.js → p-8862fec1.system.entry.js} +1 -1
  320. package/lib/duet/{p-1b11e540.entry.js → p-8cf359d9.entry.js} +1 -1
  321. package/lib/duet/{p-2528a411.system.entry.js → p-8daa915d.system.entry.js} +1 -1
  322. package/lib/duet/{p-379e2995.system.entry.js → p-8db6114f.system.entry.js} +1 -1
  323. package/lib/duet/p-90f06b7a.system.entry.js +4 -0
  324. package/lib/duet/p-91b3d075.entry.js +4 -0
  325. package/lib/duet/p-9226aca2.entry.js +4 -0
  326. package/lib/duet/{p-fd33eb2c.entry.js → p-99a90b30.entry.js} +1 -1
  327. package/lib/duet/{p-3b70cce3.entry.js → p-9ad6fc83.entry.js} +1 -1
  328. package/lib/duet/p-9e72b23c.system.entry.js +4 -0
  329. package/lib/duet/{p-13384099.entry.js → p-9ec0d197.entry.js} +1 -1
  330. package/lib/duet/{p-1a542b7c.system.entry.js → p-a0f76a04.system.entry.js} +1 -1
  331. package/lib/duet/p-a1978b4b.entry.js +4 -0
  332. package/lib/duet/p-a2ddca83.system.entry.js +4 -0
  333. package/lib/duet/{p-a7c64d94.entry.js → p-a5cf2316.entry.js} +1 -1
  334. package/lib/duet/{p-39496689.entry.js → p-a61825d9.entry.js} +1 -1
  335. package/lib/duet/{p-22dd2fab.entry.js → p-a6696d45.entry.js} +1 -1
  336. package/lib/duet/{p-7f8020bf.entry.js → p-a66ca0af.entry.js} +1 -1
  337. package/lib/duet/{p-62c70a95.entry.js → p-a7ed46e3.entry.js} +1 -1
  338. package/lib/duet/{p-85ad609f.entry.js → p-a86ae0c3.entry.js} +1 -1
  339. package/lib/duet/{p-9960de16.entry.js → p-ae7602cb.entry.js} +1 -1
  340. package/lib/duet/{p-cf9279b9.system.entry.js → p-b134229a.system.entry.js} +1 -1
  341. package/lib/duet/p-b362d8f7.entry.js +4 -0
  342. package/lib/duet/{p-65a5fdd5.entry.js → p-b4b5f803.entry.js} +1 -1
  343. package/lib/duet/{p-8cf1327e.entry.js → p-b594282a.entry.js} +1 -1
  344. package/lib/duet/{p-cb5ebe92.system.entry.js → p-b650e679.system.entry.js} +1 -1
  345. package/lib/duet/{p-6a07feba.entry.js → p-b77224fc.entry.js} +1 -1
  346. package/lib/duet/{p-6a89c7d0.system.entry.js → p-b7fe2c37.system.entry.js} +1 -1
  347. package/lib/duet/{p-931c3e1f.system.entry.js → p-bc541e97.system.entry.js} +1 -1
  348. package/lib/duet/{p-93ef4cc2.system.entry.js → p-be295e13.system.entry.js} +1 -1
  349. package/lib/duet/{p-98202339.entry.js → p-c0874730.entry.js} +1 -1
  350. package/lib/duet/{p-1d73a1d2.system.entry.js → p-c0c92199.system.entry.js} +1 -1
  351. package/lib/duet/p-c185ea87.system.entry.js +4 -0
  352. package/lib/duet/{p-fa400061.entry.js → p-c1c6a4f5.entry.js} +1 -1
  353. package/lib/duet/p-c2ff6bb2.entry.js +4 -0
  354. package/lib/duet/{p-637f635a.entry.js → p-c391b2a4.entry.js} +1 -1
  355. package/lib/duet/p-c5efb3f6.entry.js +4 -0
  356. package/lib/duet/p-c6122404.entry.js +4 -0
  357. package/lib/duet/p-c6b09397.js +4 -0
  358. package/lib/duet/p-c79f4b4b.entry.js +4 -0
  359. package/lib/duet/{p-32237f45.entry.js → p-c9198461.entry.js} +1 -1
  360. package/lib/duet/{p-770d0c35.system.entry.js → p-ca2725cd.system.entry.js} +1 -1
  361. package/lib/duet/{p-4a97ca92.system.entry.js → p-ca4d7a6d.system.entry.js} +1 -1
  362. package/lib/duet/{p-ee909d5f.system.entry.js → p-cb4799d1.system.entry.js} +1 -1
  363. package/lib/duet/{p-2a277fb6.entry.js → p-ccb08e8c.entry.js} +1 -1
  364. package/lib/duet/p-cf504df5.js +4 -0
  365. package/lib/duet/{p-b76ce62b.entry.js → p-cff11c78.entry.js} +1 -1
  366. package/lib/duet/{p-22e418ea.entry.js → p-d0175269.entry.js} +1 -1
  367. package/lib/duet/{p-91df8a4a.system.entry.js → p-d029f8dc.system.entry.js} +1 -1
  368. package/lib/duet/{p-5f2e386e.entry.js → p-d42279cd.entry.js} +1 -1
  369. package/lib/duet/{p-b3154717.entry.js → p-d4bc7a19.entry.js} +1 -1
  370. package/lib/duet/{p-1c7ad230.system.entry.js → p-d6dfa7c8.system.entry.js} +1 -1
  371. package/lib/duet/{p-ad3eba9a.entry.js → p-d841291b.entry.js} +1 -1
  372. package/lib/duet/{p-5048f9a7.entry.js → p-d988f03a.entry.js} +1 -1
  373. package/lib/duet/{p-a8a1d1f6.entry.js → p-da4f4b6c.entry.js} +1 -1
  374. package/lib/duet/{p-bd1d0640.system.js → p-dd1393e3.system.js} +1 -1
  375. package/lib/duet/{p-e9939ddb.system.entry.js → p-dee73c08.system.entry.js} +1 -1
  376. package/lib/duet/p-df10a767.js +4 -0
  377. package/lib/duet/{p-4f4ed95d.system.entry.js → p-df213a66.system.entry.js} +1 -1
  378. package/lib/duet/{p-e501bad4.system.entry.js → p-e288bb38.system.entry.js} +1 -1
  379. package/lib/duet/{p-5c444839.entry.js → p-e368e194.entry.js} +1 -1
  380. package/lib/duet/{p-f5728af6.system.entry.js → p-e6315f68.system.entry.js} +1 -1
  381. package/lib/duet/{p-1b426189.entry.js → p-e79c63b6.entry.js} +1 -1
  382. package/lib/duet/{p-2d3dbd85.system.entry.js → p-e8d8c7a2.system.entry.js} +1 -1
  383. package/lib/duet/{p-925f2b45.entry.js → p-e983ff0c.entry.js} +1 -1
  384. package/lib/duet/{p-17dc8da9.system.entry.js → p-ec796dfe.system.entry.js} +1 -1
  385. package/lib/duet/{p-d7425b07.entry.js → p-f58832f6.entry.js} +1 -1
  386. package/lib/duet/p-f5b53f2f.system.entry.js +4 -0
  387. package/lib/duet/{p-073221c9.system.entry.js → p-f74e934b.system.entry.js} +1 -1
  388. package/lib/duet/{p-c794bee3.system.entry.js → p-f78e3197.system.entry.js} +1 -1
  389. package/lib/duet/{p-6c1a2b16.entry.js → p-f90e86d3.entry.js} +1 -1
  390. package/lib/duet/p-f9603b0d.entry.js +4 -0
  391. package/lib/duet/{p-308b881b.js → p-fbd0d098.js} +1 -1
  392. package/lib/duet/{p-6486ab91.entry.js → p-fd1dcee1.entry.js} +1 -1
  393. package/lib/duet/{p-b4e863ee.system.entry.js → p-feaaff49.system.entry.js} +1 -1
  394. package/lib/duet/p-ff5a9358.system.entry.js +4 -0
  395. package/lib/duet/{p-d6a1c0de.entry.js → p-ffa34163.entry.js} +1 -1
  396. package/lib/esm/duet-action-button.entry.js +1 -1
  397. package/lib/esm/duet-alert.entry.js +1 -1
  398. package/lib/esm/duet-badge.entry.js +1 -1
  399. package/lib/esm/duet-banner.entry.js +1 -1
  400. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  401. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  402. package/lib/esm/duet-button_2.entry.js +1 -1
  403. package/lib/esm/duet-callout.entry.js +1 -1
  404. package/lib/esm/duet-caption_4.entry.js +1 -1
  405. package/lib/esm/duet-card.entry.js +1 -1
  406. package/lib/esm/duet-checkbox.entry.js +1 -1
  407. package/lib/esm/duet-checkmark.entry.js +1 -1
  408. package/lib/esm/duet-chip.entry.js +164 -0
  409. package/lib/esm/duet-choice_2.entry.js +24 -11
  410. package/lib/esm/duet-collapsible.entry.js +1 -1
  411. package/lib/esm/duet-combobox.entry.js +1 -1
  412. package/lib/esm/duet-contact-card.entry.js +1 -1
  413. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  414. package/lib/esm/duet-date-picker.entry.js +2 -2
  415. package/lib/esm/duet-divider_2.entry.js +1 -1
  416. package/lib/esm/duet-editable-table_3.entry.js +24 -127
  417. package/lib/esm/duet-empty-state.entry.js +1 -1
  418. package/lib/esm/duet-fieldset.entry.js +1 -1
  419. package/lib/esm/duet-footer.entry.js +1 -1
  420. package/lib/esm/duet-grid_2.entry.js +6 -3
  421. package/lib/esm/duet-header_2.entry.js +1 -1
  422. package/lib/esm/duet-hero.entry.js +1 -1
  423. package/lib/esm/duet-icon.entry.js +1 -1
  424. package/lib/esm/duet-input_2.entry.js +1 -1
  425. package/lib/esm/duet-layout.entry.js +1 -1
  426. package/lib/esm/duet-list_2.entry.js +1 -1
  427. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  428. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  429. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  430. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  431. package/lib/esm/duet-menu-bar.entry.js +1 -1
  432. package/lib/esm/duet-modal.entry.js +2 -2
  433. package/lib/esm/duet-multiselect.entry.js +1 -1
  434. package/lib/esm/duet-nav.entry.js +1 -1
  435. package/lib/esm/duet-notification_2.entry.js +1 -1
  436. package/lib/esm/duet-number-input.entry.js +8 -1
  437. package/lib/esm/duet-page-heading.entry.js +1 -1
  438. package/lib/esm/duet-pagination_2.entry.js +1 -1
  439. package/lib/esm/duet-popup-menu-item.entry.js +41 -0
  440. package/lib/esm/duet-popup-menu.entry.js +109 -0
  441. package/lib/esm/duet-progress.entry.js +1 -1
  442. package/lib/esm/duet-promo-card.entry.js +1 -1
  443. package/lib/esm/duet-radio_2.entry.js +5 -4
  444. package/lib/esm/duet-range-slider.entry.js +1 -1
  445. package/lib/esm/duet-scrollable_3.entry.js +2 -2
  446. package/lib/esm/duet-section-layout.entry.js +1 -1
  447. package/lib/esm/duet-select.entry.js +1 -1
  448. package/lib/esm/duet-shaped-image.entry.js +1 -1
  449. package/lib/esm/duet-show-more.entry.js +91 -0
  450. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  451. package/lib/esm/duet-slideout-link.entry.js +1 -1
  452. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  453. package/lib/esm/duet-slideout-panel.entry.js +2 -2
  454. package/lib/esm/duet-slideout.entry.js +2 -2
  455. package/lib/esm/duet-step_2.entry.js +1 -1
  456. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  457. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  458. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  459. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  460. package/lib/esm/duet-textarea.entry.js +1 -1
  461. package/lib/esm/duet-toggle.entry.js +1 -1
  462. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  463. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  464. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  465. package/lib/esm/duet-toolbar.entry.js +1 -1
  466. package/lib/esm/duet-tooltip.entry.js +2 -1172
  467. package/lib/esm/duet-tray.entry.js +1 -1
  468. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  469. package/lib/esm/duet-upload-item.entry.js +89 -0
  470. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  471. package/lib/esm/duet.js +3 -3
  472. package/lib/esm/errorcodes.utils-c0c33bce.js +36 -0
  473. package/lib/esm/floating-ui.dom.esm-37dc174a.js +1245 -0
  474. package/lib/esm/{focus-utils-552e67ed.js → focus-utils-e2239371.js} +1 -1
  475. package/lib/esm/{index-5aaf4b5b.js → index-b67ea1f1.js} +1 -1
  476. package/lib/esm/loader.js +3 -3
  477. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  478. package/lib/esm-es5/duet-alert.entry.js +1 -1
  479. package/lib/esm-es5/duet-badge.entry.js +1 -1
  480. package/lib/esm-es5/duet-banner.entry.js +1 -1
  481. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  482. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  483. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  484. package/lib/esm-es5/duet-callout.entry.js +1 -1
  485. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  486. package/lib/esm-es5/duet-card.entry.js +1 -1
  487. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  488. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  489. package/lib/esm-es5/duet-chip.entry.js +4 -0
  490. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  491. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  492. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  493. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  494. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  495. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  496. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  497. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  498. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  499. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  500. package/lib/esm-es5/duet-footer.entry.js +1 -1
  501. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  502. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  503. package/lib/esm-es5/duet-hero.entry.js +1 -1
  504. package/lib/esm-es5/duet-icon.entry.js +1 -1
  505. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  506. package/lib/esm-es5/duet-layout.entry.js +1 -1
  507. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  508. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  509. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  510. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  511. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  512. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  513. package/lib/esm-es5/duet-modal.entry.js +1 -1
  514. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  515. package/lib/esm-es5/duet-nav.entry.js +1 -1
  516. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  517. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  518. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  519. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  520. package/lib/esm-es5/duet-popup-menu-item.entry.js +4 -0
  521. package/lib/esm-es5/duet-popup-menu.entry.js +4 -0
  522. package/lib/esm-es5/duet-progress.entry.js +1 -1
  523. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  524. package/lib/esm-es5/duet-radio_2.entry.js +2 -2
  525. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  526. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  527. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  528. package/lib/esm-es5/duet-select.entry.js +1 -1
  529. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  530. package/lib/esm-es5/duet-show-more.entry.js +4 -0
  531. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  532. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  533. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  534. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  535. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  536. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  537. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  538. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  539. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  540. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  541. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  542. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  543. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  544. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  545. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  546. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  547. package/lib/esm-es5/duet-tooltip.entry.js +2 -2
  548. package/lib/esm-es5/duet-tray.entry.js +1 -1
  549. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  550. package/lib/esm-es5/duet-upload-item.entry.js +4 -0
  551. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  552. package/lib/esm-es5/duet.js +1 -1
  553. package/lib/esm-es5/errorcodes.utils-c0c33bce.js +4 -0
  554. package/lib/esm-es5/floating-ui.dom.esm-37dc174a.js +4 -0
  555. package/lib/esm-es5/focus-utils-e2239371.js +4 -0
  556. package/lib/esm-es5/{index-5aaf4b5b.js → index-b67ea1f1.js} +1 -1
  557. package/lib/esm-es5/loader.js +1 -1
  558. package/lib/types/components/duet-chip/duet-chip.d.ts +97 -0
  559. package/lib/types/components/duet-choice/duet-choice.d.ts +7 -0
  560. package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +1 -0
  561. package/lib/types/components/duet-grid/duet-grid.d.ts +4 -0
  562. package/lib/types/components/duet-number-input/duet-number-input.d.ts +4 -0
  563. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +77 -0
  564. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +51 -0
  565. package/lib/types/components/duet-radio/duet-radio.d.ts +4 -0
  566. package/lib/types/components/duet-show-more/duet-show-more.d.ts +53 -0
  567. package/lib/types/components/duet-upload/duet-upload.d.ts +2 -1
  568. package/lib/types/components/duet-upload-item/duet-upload-item.d.ts +29 -0
  569. package/lib/types/components.d.ts +417 -0
  570. package/package.json +11 -6
  571. package/lib/collection/components/duet-upload/upload-item.js +0 -44
  572. package/lib/dist-custom-elements/p-00f8d4bc.js +0 -183
  573. package/lib/duet/p-077edef7.entry.js +0 -4
  574. package/lib/duet/p-0952d4a4.system.entry.js +0 -4
  575. package/lib/duet/p-225d9dbe.js +0 -4
  576. package/lib/duet/p-2cab347d.system.entry.js +0 -4
  577. package/lib/duet/p-3a0676ab.entry.js +0 -4
  578. package/lib/duet/p-55952227.system.entry.js +0 -4
  579. package/lib/duet/p-5ad63594.entry.js +0 -4
  580. package/lib/duet/p-6a9319ad.system.entry.js +0 -4
  581. package/lib/duet/p-75898c81.entry.js +0 -4
  582. package/lib/duet/p-78cb4832.entry.js +0 -4
  583. package/lib/duet/p-80f4a443.system.js +0 -4
  584. package/lib/duet/p-8c9d67e4.entry.js +0 -4
  585. package/lib/duet/p-8faea849.entry.js +0 -4
  586. package/lib/duet/p-b17e6185.system.entry.js +0 -4
  587. package/lib/duet/p-c1ccc327.entry.js +0 -4
  588. package/lib/duet/p-c654f863.system.entry.js +0 -4
  589. package/lib/duet/p-f8d00821.entry.js +0 -4
  590. package/lib/esm-es5/focus-utils-552e67ed.js +0 -4
  591. package/lib/types/components/duet-upload/upload-item.d.ts +0 -20
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,c,o){function i(e){return e instanceof c?e:new c((function(t){t(e)}))}return new(c||(c=Promise))((function(c,r){function d(e){try{a(o.next(e))}catch(t){r(t)}}function n(e){try{a(o["throw"](e))}catch(t){r(t)}}function a(e){e.done?c(e.value):i(e.value).then(d,n)}a((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var c={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,i,r,d;return d={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(d[Symbol.iterator]=function(){return this}),d;function n(e){return function(t){return a([e,t])}}function a(n){if(o)throw new TypeError("Generator is already executing.");while(d&&(d=0,n[0]&&(c=0)),c)try{if(o=1,i&&(r=n[0]&2?i["return"]:n[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;if(i=0,r)n=[n[0]&2,r.value];switch(n[0]){case 0:case 1:r=n;break;case 4:c.label++;return{value:n[1],done:false};case 5:c.label++;i=n[1];n=[0];continue;case 7:n=c.ops.pop();c.trys.pop();continue;default:if(!(r=c.trys,r=r.length>0&&r[r.length-1])&&(n[0]===6||n[0]===2)){c=0;continue}if(n[0]===3&&(!r||n[1]>r[0]&&n[1]<r[3])){c.label=n[1];break}if(n[0]===6&&c.label<r[1]){c.label=r[1];r=n;break}if(r&&c.label<r[2]){c.label=r[2];c.ops.push(n);break}if(r[2])c.ops.pop();c.trys.pop();continue}n=t.call(e,c)}catch(a){n=[6,a];i=0}finally{o=r=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-053be9dd.system.js","./p-33b3aba4.system.js","./p-c7ae95bd.system.js","./p-5f6bd5db.system.js","./p-dd1393e3.system.js","./p-51721695.system.js","./p-c8dc599d.system.js","./p-eb55ccd2.system.js","./p-b6d51921.system.js"],(function(e){"use strict";var t,c,o,i,r,d,n,a,s,h,u,l,p,b,g,f,m,k;return{setters:[function(e){t=e.r;c=e.c;o=e.h;i=e.H;r=e.g},function(e){d=e.i},function(e){n=e.D},function(e){a=e.c},function(e){s=e.F},function(e){h=e.i;u=e.h;l=e.f},function(e){p=e.g;b=e.a;g=e.c;f=e.d},function(e){m=e.f;k=e.w},function(){}],execute:function(){var v={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>'};var x='*.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-card-flextainer.sc-duet-choice .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-card-flextainer.sc-duet-choice .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-card-flextainer.sc-duet-choice .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-card-flextainer.sc-duet-choice .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-card-flextainer.sc-duet-choice .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-choice-label.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-choice-label.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-card-flextainer.sc-duet-choice .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-card-flextainer.sc-duet-choice .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}';var y=e("duet_choice",function(){function e(e){var o=this;t(this,e);this.duetChange=c(this,"duetChange",7);this.duetFocus=c(this,"duetFocus",7);this.duetBlur=c(this,"duetBlur",7);this.hasHeader=false;this.choiceId=a("DuetChoice");this.expandId=a("DuetChoiceExpand");this.headerId=a("DuetChoiceHeader");this.infoButtonId=a("DuetChoiceInfoButton");this.onMouseEnter=function(){o.isHovering=true};this.onMouseLeave=function(){o.isHovering=false};this.onClick=function(e){o.toggleChecked(e)};this.handleKeyDown=function(e){if(h(e)){o.toggleChecked(e)}if(u(e)&&o.hasInfo){o.toggleInfo()}};this.onChange=function(){o.checked=o.nativeInput.checked||false;o.duetChange.emit({checked:o.checked,value:o.value,component:"duet-choice"})};this.onBlur=function(e){o.duetBlur.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-choice"})};this.onFocus=function(e){o.duetFocus.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-choice"})};this.toggleChecked=function(e){e.preventDefault();e.stopPropagation();if(o.getDisabled()){return}o.isInfoOpen=false;if(o.type==="radio"&&o.checked){return}o.checked=!o.checked;o.duetChange.emit({originalEvent:e,checked:o.checked,value:o.value,component:"duet-choice"})};this.toggleInfo=function(){o.isInfoOpen=!o.isInfoOpen};this.isHovering=false;this.isInfoOpen=false;this.isBlurred=false;this.language=p();this.theme="";this.label="label";this.accessibleLabelInfoButtonDefaults=n;this.accessibleLabelInfoButton=b(this.accessibleLabelInfoButtonDefaults);this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.caption="";this.value=undefined;this.type="checkbox";this.name=undefined;this.checked=false;this.collapsible=false;this.collapsibleForceExpanded=false;this.margin="auto";this.icon="";this.expand=false;this.padding="auto";this.identifier=undefined;this.groupDirection=undefined;this.groupDisabled=undefined;this.groupResponsive=undefined;this.disabled=false;this.required=false;this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"};this.infoLabel=b(this.infoLabelDefaults,p())}e.prototype.watchLanguageStateHandler=function(e,t){if(e!==t&&this.accessibleLabelInfoButton===this.accessibleLabelInfoButtonDefaults[t]){this.accessibleLabelInfoButton=b(this.accessibleLabelInfoButtonDefaults,e)}if(e!==t&&this.infoLabel===this.infoLabelDefaults[t]){this.infoLabel=b(this.infoLabelDefaults,e)}};e.prototype.componentWillLoad=function(){d(this);this.hasInfo=!!this.element.querySelector("[slot='info']");this.hasHeader=!!this.element.querySelector('[slot="header"]');this.hasAdditional=!!this.element.querySelector(":scope > [slot='additional']");this.hasLabel=!!this.element.querySelector(":scope > [slot='label']");this.hasBeforeText=!!this.element.querySelector("[slot='before-text']")};e.prototype.connectedCallback=function(){g(this)};e.prototype.disconnectedCallback=function(){f(this)};e.prototype.handleHostBlur=function(e){if(this.hasInfo&&this.isInfoOpen&&this.isKeyDown){var t=this.element.contains(e===null||e===void 0?void 0:e.relatedTarget)||false;if(!t){this.toggleInfo()}}};e.prototype.handleHostKeyDown=function(){this.isKeyDown=true};e.prototype.handleHostKeyUp=function(e){this.isKeyDown=false;if(l(e)&&this.isInfoOpen){this.toggleInfo()}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus(e);return[2]}))}))};e.prototype.toggleInfoMethod=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.isInfoOpen=!this.isInfoOpen;return[2]}))}))};e.prototype.getAriaDescribedby=function(){if(this.accessibleDescribedBy){return this.accessibleDescribedBy}if(this.collapsible||this.hasInfo){if(this.hasHeader){return this.headerId}else{return this.expandId}}return null};e.prototype.getDisabled=function(){return this.disabled||this.groupDisabled};e.prototype.getExpanded=function(){return this.checked||this.collapsibleForceExpanded};e.prototype.getClassNames=function(){if(this.hasInfo&&!this.collapsible){return{checked:this.checked,"duet-choice-card-info":true,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":this.theme==="turva"}}if(!this.hasInfo&&this.collapsible){return{checked:this.checked,"duet-choice-card-collapsible":true,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":this.theme==="turva"}}return{checked:this.checked,"duet-choice-default-slot":true}};e.prototype.render=function(){var e=this;var t=this.element.closest("duet-choice-group");var c=t?t.label:undefined;var r=this.identifier||this.choiceId;return o(i,{class:{horizontal:this.groupDirection==="horizontal"&&!this.groupResponsive,"horizontal-responsive":this.groupDirection==="horizontal"&&this.groupResponsive,"duet-m-0":this.margin==="none","duet-expand":this.expand,"duet-theme-turva":this.theme==="turva","no-hover":this.isHovering,disabled:this.getDisabled()}},o("div",{class:{"duet-choice-card-flextainer":true,"duet-theme-turva":this.theme==="turva"}},o("div",{class:{"duet-choice-card":true,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"collapsible-force-expanded":this.collapsibleForceExpanded,"duet-p-0":this.padding==="none"}},o("input",{class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:r,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:function(t){return e.nativeInput=t}}),o("label",{htmlFor:r,class:{"duet-choice-label":true,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&o("slot",{name:"before-text"}),this.icon&&o("div",{class:"duet-choice-card-icon"},o("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),o("div",{class:"duet-choice-card-text"},c&&o("duet-visually-hidden",null,c,", "),o("div",null,this.hasLabel?o("slot",{name:"label"}):this.label),this.caption&&o("div",null,o("duet-spacer",{size:"xx-small"}),o("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&o("div",null,o("duet-spacer",{size:"xx-small"}),o("slot",{name:"additional"}))),o("div",null,o("div",{class:{"duet-checkmark-container":true,"duet-checkmark-radio":this.type==="radio"}},this.checked&&o("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&o("button",{ref:function(t){return e.infoButtonEl=t},id:this.infoButtonId,class:{"duet-choice-info-toggle":true,"duet-theme-turva":this.theme==="turva"},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.toggleInfo,disabled:this.getDisabled(),"aria-expanded":this.isInfoOpen?"true":"false","aria-label":"".concat(this.infoLabel," ").concat(this.label),"aria-controls":this.expandId,"aria-flowto":this.expandId,tabindex:this.type==="radio"&&!this.checked?"-1":"0",type:"button"},o("duet-visually-hidden",{"aria-hidden":!this.isBlurred?"true":"false"},this.accessibleLabelInfoButton),o("div",{class:"duet-choice-info-icon"},o("duet-icon",{icon:v.svg,margin:"none",size:"small",color:"currentColor"})))),this.collapsible||this.hasInfo?o("div",{class:this.getClassNames(),id:this.expandId},o("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},o("span",{id:this.headerId},o("slot",{name:"header"})),this.hasInfo?o("span",null,o("span",{"aria-relevant":"all","aria-atomic":"true","aria-live":this.isInfoOpen?"polite":"off"},o("slot",{name:"info"})),o("slot",null)):o("span",null,o("slot",null))),this.isInfoOpen&&o(s,{moveFocusTo:this.infoButtonEl})):null)};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{language:["watchLanguageStateHandler"]}},enumerable:false,configurable:true});return e}());y.style=x;var w="*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";var I=":scope duet-choice:not(:scope duet-choice duet-choice-group duet-choice):not(:scope duet-choice duet-fieldset duet-choice)";var C=e("duet_choice_group",function(){function e(e){var c=this;t(this,e);this.choiceGroupName="duet-choice-group";this.getChoices=function(){return Array.from(c.element.querySelectorAll(I))};this.isMyChoice=function(e){return c.getChoices().includes(e)};this.onSelect=function(e){if(e.detail.component!=="duet-choice"){return}var t=e.target;if(t&&c.isMyChoice(t)){c.value=t.value}e.cancelBubble=true};this.direction="vertical";this.margin="auto";this.theme="";this.error="";this.name=undefined;this.label="Label";this.labelHidden=false;this.caption=undefined;this.tooltip=undefined;this.tooltipDirection="auto";this.responsive=false;this.breakpoint="small";this.value=undefined;this.disabled=undefined}e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;var c=this;return __generator(this,(function(o){switch(o.label){case 0:e=this.element;if(!(this.value===undefined))return[3,2];t=m(e,I);if(!(t!==undefined))return[3,2];return[4,t.componentOnReady()];case 1:o.sent();if(this.value===undefined){this.value=t.value}o.label=2;case 2:this.mutationO=k(e,I,(function(e){if(e!==undefined){e.componentOnReady().then((function(){if(c.isMyChoice(e)){c.value=e.value}}))}else{c.updateChoices()}}));this.updateChoices();return[2]}}))}))};e.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}};e.prototype.componentWillLoad=function(){d(this)};e.prototype.updateChoices=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,c,o,i,r;return __generator(this,(function(d){e=this.getChoices();t=this.value;c=false;for(o=0,i=e;o<i.length;o++){r=i[o];r.name=this.name;r.groupDisabled=this.disabled;r.groupDirection=this.direction;r.groupResponsive=this.responsive;if(!c&&r.value===t){c=true;r.checked=true}else{r.checked=false}}if(!c){this.value=undefined}return[2]}))}))};e.prototype.render=function(){var e;return o(i,{onDuetChange:this.onSelect,class:{horizontal:this.direction==="horizontal","duet-choice-group-breakpoint-x-small":this.responsive&&this.breakpoint==="x-small","duet-choice-group-breakpoint-small":this.responsive&&this.breakpoint==="small","duet-choice-group-breakpoint-medium":this.responsive&&this.breakpoint==="medium","duet-choice-group-breakpoint-large":this.responsive&&this.breakpoint==="large","duet-choice-group-breakpoint-x-large":this.responsive&&this.breakpoint==="x-large"}},o("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme},this.tooltip&&o("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),o("div",{class:(e={},e[this.choiceGroupName]=true,e["duet-no-stacking"]=!this.responsive,e)},o("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["updateChoices"],disabled:["updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}},enumerable:false,configurable:true});return e}());C.style=w}}}));
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import{r as t,h as e,H as i,g as a}from"./p-308b881b.js";import{a as o}from"./p-b519ac77.js";import{i as s}from"./p-4ebf1618.js";const n=class{constructor(e){t(this,e),this.mql=[window.matchMedia(o.replace(/'/g,""))],this.boundMqlFunctions=[],this.changeIconSize=()=>{this.iconSize=this.mql[0].matches?"x-small":"small"},this.iconSize="x-small",this.accessibleLabel=void 0,this.accessibleControls=void 0,this.accessiblePopup="false",this.accessibleActiveDescendant=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleExpanded=void 0,this.accessiblePressed=void 0,this.theme="",this.icon=void 0}componentWillLoad(){s(this)}connectedCallback(){this.changeIconSize();for(let t=0;t<this.mql.length;t++)if(this.mql[t].addEventListener){const e=this.changeIconSize.bind(this);this.mql[t].addEventListener("change",e),this.boundMqlFunctions[t]=e}}disconnectedCallback(){for(let t=0;t<this.mql.length;t++)this.mql[t].removeEventListener&&this.mql[t].removeEventListener("change",this.boundMqlFunctions[t]);this.boundMqlFunctions=[]}async setFocus(t){this.nativeButton&&this.nativeButton.focus(t)}render(){return e(i,{onfocus:()=>this.setFocus()},e("button",{ref:t=>this.nativeButton=t,class:{"duet-menu-bar-button":!0,"duet-theme-turva":"turva"===this.theme},"aria-controls":this.accessibleControls,"aria-label":this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-pressed":null!=this.accessiblePressed?this.accessiblePressed.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0},this.icon&&e("duet-icon",{theme:this.theme,size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),e("slot",null)))}get element(){return a(this)}};n.style='*,*::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;height:100%}.duet-menu-bar-button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;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:inherit;color:inherit;text-align:center;text-decoration:none;cursor:pointer}.duet-menu-bar-button.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"}.duet-menu-bar-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-menu-bar-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}@media (min-width: 62em){.duet-menu-bar-button{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-button{padding:0 28px}}@media (min-width: 62em){.duet-menu-bar-button:hover{color:rgb(0, 119, 179)}.duet-menu-bar-button:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';export{n as duet_menu_bar_button}
4
+ import{r as t,h as e,H as i,g as a}from"./p-fbd0d098.js";import{a as o}from"./p-b519ac77.js";import{i as s}from"./p-4ebf1618.js";const n=class{constructor(e){t(this,e),this.mql=[window.matchMedia(o.replace(/'/g,""))],this.boundMqlFunctions=[],this.changeIconSize=()=>{this.iconSize=this.mql[0].matches?"x-small":"small"},this.iconSize="x-small",this.accessibleLabel=void 0,this.accessibleControls=void 0,this.accessiblePopup="false",this.accessibleActiveDescendant=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleExpanded=void 0,this.accessiblePressed=void 0,this.theme="",this.icon=void 0}componentWillLoad(){s(this)}connectedCallback(){this.changeIconSize();for(let t=0;t<this.mql.length;t++)if(this.mql[t].addEventListener){const e=this.changeIconSize.bind(this);this.mql[t].addEventListener("change",e),this.boundMqlFunctions[t]=e}}disconnectedCallback(){for(let t=0;t<this.mql.length;t++)this.mql[t].removeEventListener&&this.mql[t].removeEventListener("change",this.boundMqlFunctions[t]);this.boundMqlFunctions=[]}async setFocus(t){this.nativeButton&&this.nativeButton.focus(t)}render(){return e(i,{onfocus:()=>this.setFocus()},e("button",{ref:t=>this.nativeButton=t,class:{"duet-menu-bar-button":!0,"duet-theme-turva":"turva"===this.theme},"aria-controls":this.accessibleControls,"aria-label":this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-pressed":null!=this.accessiblePressed?this.accessiblePressed.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0},this.icon&&e("duet-icon",{theme:this.theme,size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),e("slot",null)))}get element(){return a(this)}};n.style='*,*::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;height:100%}.duet-menu-bar-button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;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:inherit;color:inherit;text-align:center;text-decoration:none;cursor:pointer}.duet-menu-bar-button.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"}.duet-menu-bar-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179)}.duet-menu-bar-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}@media (min-width: 62em){.duet-menu-bar-button{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-button{padding:0 28px}}@media (min-width: 62em){.duet-menu-bar-button:hover{color:rgb(0, 119, 179)}.duet-menu-bar-button:hover.duet-theme-turva{color:rgb(198, 12, 48)}}';export{n as duet_menu_bar_button}
@@ -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-5aaf4b5b.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b67ea1f1.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
  import { d as debounce } from './js-utils-fa98b8cd.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 } from './index-5aaf4b5b.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-b67ea1f1.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
  import { g as getLanguage, a as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-6be16ff0.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 } from './index-5aaf4b5b.js';
4
+ import { r as registerInstance, h, H as Host } from './index-b67ea1f1.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
 
7
7
  const duetBadgeCss = "*,*::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:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{width:100%;padding:4.4444444444px 12px 5.4444444444px;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.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#e6f1f7;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fef3df}.duet-badge.warning.duet-theme-turva{background:#fef1db}.duet-badge.danger{background:#fce9ef}.duet-badge.danger.duet-theme-turva{background:#fceae7}.duet-badge.success{background:#e6f3ef}.duet-badge.success.duet-theme-turva{background:#e6f3ed}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:rgb(247, 178, 40)}.duet-badge.background-strong.warning.duet-theme-turva{background:rgb(250, 164, 15)}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(222, 35, 98)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(224, 42, 13)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(0, 135, 90)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(8, 135, 78)}";
@@ -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-5aaf4b5b.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-b67ea1f1.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 { r as registerInstance, h, H as Host } from './index-5aaf4b5b.js';
4
+ import { r as registerInstance, h, H as Host } from './index-b67ea1f1.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
 
7
7
  const duetBreadcrumbCss = "*,*::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%}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb: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-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58)}";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, F as Fragment, H as Host, g as getElement } from './index-5aaf4b5b.js';
4
+ import { r as registerInstance, h, F as Fragment, H as Host, g as getElement } from './index-b67ea1f1.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { a as getLocaleString } 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-5aaf4b5b.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b67ea1f1.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 { g as getLanguage, a as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-6be16ff0.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-5aaf4b5b.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-b67ea1f1.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
 
7
7
  const duetCalloutCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}blockquote,figure{margin:0}.duet-callout{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout .container{display:flex;flex-direction:column;gap:8px;align-items:center;max-width:688px;text-align:center}.duet-callout .callout-icon{width:50px;padding-bottom:8px}.duet-callout .author{color:rgb(0, 41, 77)}.duet-callout.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\"}.duet-callout.duet-theme-turva .author{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}";
@@ -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, F as Fragment } from './index-5aaf4b5b.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement, F as Fragment } from './index-b67ea1f1.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { s as sanitizeString } from './string-utils-5954f458.js';
7
7
  import { g as getColorByName } from './token-utils-a1dcaa4b.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, F as Fragment, H as Host, g as getElement } from './index-5aaf4b5b.js';
4
+ import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-b67ea1f1.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
  import { i as isKeyboardClick } 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, c as createEvent, h, H as Host, g as getElement } from './index-5aaf4b5b.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b67ea1f1.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, h, H as Host } from './index-5aaf4b5b.js';
4
+ import { r as registerInstance, h, H as Host } from './index-b67ea1f1.js';
5
5
  import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
 
7
7
  const duetCheckmarkCss = ".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(116, 116, 117)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(207, 210, 212) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(207, 207, 209) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(207, 210, 212) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(207, 207, 209) !important}.duet-checkmark{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}}";
@@ -0,0 +1,164 @@
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-b67ea1f1.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;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{display:flex;align-items:center;width:100%;height:100%;padding:7px 16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size: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:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:8px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.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{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-chip-icon-container 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-chip-icon-container 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 div.duet-chip-popup-disclosure{padding-left:8px}.duet-chip-container div.duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(243, 249, 252);border-color:rgb(243, 249, 252)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input{display:flex;align-items:center;padding-right:0 !important}.duet-chip-container.duet-chip-input .duet-chip-input-button{flex-grow:1}.duet-chip-container.duet-chip-input .duet-chip-remove-button{width:26px;padding:8px 16px 8px 0;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
+ this.popupSetUp = () => {
21
+ const popup = this.element.querySelector("duet-popup-menu");
22
+ if (popup) {
23
+ this.popup = popup;
24
+ popup.controller = this.element;
25
+ const labelSpan = this.element.querySelector("span");
26
+ const originalText = labelSpan.textContent;
27
+ const originalValue = this.value;
28
+ if (!popup.id) {
29
+ popup.id = "popup-menu";
30
+ }
31
+ popup.addEventListener("duetToggle", (evt) => {
32
+ this.popupOpen = evt.detail.open;
33
+ });
34
+ const clearActive = () => {
35
+ popup.querySelectorAll("duet-popup-menu-item").forEach(item => {
36
+ item.active = false;
37
+ });
38
+ };
39
+ popup.querySelectorAll("duet-popup-menu-item").forEach(item => {
40
+ item.addEventListener("click", evt => {
41
+ var _a;
42
+ const value = (_a = item.value) !== null && _a !== void 0 ? _a : item.innerText;
43
+ if (!item.active) {
44
+ clearActive();
45
+ item.active = true;
46
+ labelSpan.textContent = item.innerText;
47
+ this.value = value;
48
+ this.checked = true;
49
+ }
50
+ else {
51
+ clearActive();
52
+ labelSpan.textContent = originalText;
53
+ this.value = originalValue;
54
+ this.checked = false;
55
+ }
56
+ this.emitChange(evt);
57
+ // A workaround to the difference of event handling between the browers.
58
+ // Chrome will emit a separate click event on the chip after the popup is closed, resulting popup.toggle() to
59
+ // open the popup again. Firefox does not have this behavior.
60
+ setTimeout(() => {
61
+ if (this.popup.isOpen()) {
62
+ this.popup.hide();
63
+ }
64
+ });
65
+ });
66
+ });
67
+ }
68
+ };
69
+ /**
70
+ * Component event handling.
71
+ */
72
+ this.onFocus = (ev) => {
73
+ this.focus = true;
74
+ this.duetFocus.emit({
75
+ originalEvent: ev,
76
+ checked: this.checked,
77
+ value: this.value,
78
+ component: "duet-chip",
79
+ });
80
+ };
81
+ this.onBlur = (ev) => {
82
+ this.focus = false;
83
+ this.duetBlur.emit({
84
+ originalEvent: ev,
85
+ checked: this.checked,
86
+ value: this.value,
87
+ component: "duet-chip",
88
+ });
89
+ };
90
+ this.emitChange = originalEvent => {
91
+ this.duetChange.emit({
92
+ originalEvent,
93
+ checked: this.checked,
94
+ value: this.value,
95
+ component: "duet-chip",
96
+ });
97
+ };
98
+ /**
99
+ * Change checked state and emit duetChange event.
100
+ */
101
+ this.onFilterChange = (evt) => {
102
+ this.checked = !this.checked;
103
+ this.emitChange(evt);
104
+ };
105
+ /**
106
+ * Stop propagation and prevent default if popup is present, as the popup controls value and checked state.
107
+ */
108
+ this.onFilterClick = (evt) => {
109
+ if (this.popup) {
110
+ evt.stopPropagation();
111
+ evt.preventDefault();
112
+ this.popup.toggle();
113
+ }
114
+ };
115
+ /**
116
+ * Remove input chip
117
+ */
118
+ this.onRemoveClick = (evt) => {
119
+ evt.stopPropagation();
120
+ evt.preventDefault();
121
+ this.element.remove();
122
+ };
123
+ this.focus = false;
124
+ this.popup = undefined;
125
+ this.popupOpen = undefined;
126
+ this.accessibleLabel = undefined;
127
+ this.variation = "button";
128
+ this.icon = "";
129
+ this.theme = "";
130
+ this.identifier = undefined;
131
+ this.value = undefined;
132
+ this.name = undefined;
133
+ this.checked = false;
134
+ }
135
+ /**
136
+ * Component lifecycle events.
137
+ */
138
+ componentWillLoad() {
139
+ inheritGlobalTheme(this);
140
+ this.popupSetUp();
141
+ }
142
+ render() {
143
+ var _a;
144
+ const identifier = this.identifier || this.chipId;
145
+ const classes = {
146
+ "duet-chip-container": true,
147
+ [`duet-chip-${this.variation}`]: true,
148
+ "duet-chip-focus": this.focus,
149
+ "duet-chip-has-icon": !!this.icon,
150
+ "duet-theme-turva": this.theme === "turva",
151
+ "duet-chip-filter-checked": this.variation === "filter" && this.checked,
152
+ "duet-chip-filter-popup-open": this.popupOpen,
153
+ };
154
+ const focusHandlers = {
155
+ onFocus: this.onFocus,
156
+ onBlur: this.onBlur,
157
+ };
158
+ 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: "x-small", margin: "none", color: "currentColor" }))), h("slot", null)))), this.variation === "input" && (h("div", { class: classes }, h("button", Object.assign({ id: identifier, class: "duet-chip-input-button", "aria-label": this.accessibleLabel }, focusHandlers), h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", null)), h("button", { class: "duet-chip-remove-button", onClick: this.onRemoveClick }, h("duet-icon", { name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (h("div", { class: classes }, h("input", Object.assign({ "aria-haspopup": this.popup && "menu", "aria-controls": (_a = this.popup) === null || _a === void 0 ? void 0 : _a.id, "aria-expanded": this.popup ? (this.popupOpen ? "true" : "false") : undefined, id: identifier, type: "checkbox", name: this.name, value: this.value, checked: this.checked, onClick: this.onFilterClick, onChange: this.onFilterChange }, focusHandlers)), h("label", { htmlFor: identifier }, h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-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), this.popup && (h("div", { class: "duet-chip-popup-disclosure" }, h("duet-icon", { name: "action-arrow-down-small", size: "xx-small", margin: "none", color: "currentColor" }))))))));
159
+ }
160
+ get element() { return getElement(this); }
161
+ };
162
+ DuetChip.style = duetChipCss;
163
+
164
+ 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-5aaf4b5b.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b67ea1f1.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-552e67ed.js';
8
+ import { F as FocusGuard } from './focus-utils-e2239371.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-card-flextainer.sc-duet-choice .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-card-flextainer.sc-duet-choice .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-card-flextainer.sc-duet-choice .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-card-flextainer.sc-duet-choice .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-card-flextainer.sc-duet-choice .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-choice-label.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-choice-label.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-card-flextainer.sc-duet-choice .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-card-flextainer.sc-duet-choice .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-5aaf4b5b.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b67ea1f1.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';
@@ -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-5aaf4b5b.js';
4
+ import { h, F as Fragment, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-b67ea1f1.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';