@duetds/components 6.9.10 → 6.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (599) hide show
  1. package/hydrate/index.js +189 -23
  2. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  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 +5 -5
  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 +4 -4
  9. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
  11. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  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-choice_2.cjs.entry.js +3 -3
  15. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-combobox.cjs.entry.js +13 -10
  17. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  20. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  21. package/lib/cjs/duet-editable-table_3.cjs.entry.js +26 -4
  22. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  26. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  27. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  29. package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  33. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-promo-card.cjs.entry.js +54 -0
  46. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  48. package/lib/cjs/duet-scrollable_3.cjs.entry.js +27 -6
  49. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-shaped-image.cjs.entry.js +43 -0
  52. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  56. package/lib/cjs/duet-slideout.cjs.entry.js +4 -4
  57. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
  60. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  61. package/lib/cjs/duet-submenu-bar.cjs.entry.js +3 -3
  62. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  67. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  68. package/lib/cjs/duet-tooltip.cjs.entry.js +5 -3
  69. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  70. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  72. package/lib/cjs/duet.cjs.js +2 -2
  73. package/lib/cjs/{focus-utils-32a7237e.js → focus-utils-b45e4830.js} +1 -1
  74. package/lib/cjs/{index-ed9113ee.js → index-a6cfed65.js} +1 -1
  75. package/lib/cjs/loader.cjs.js +2 -2
  76. package/lib/cjs/{token-utils-966776e9.js → token-utils-c1864408.js} +1 -1
  77. package/lib/cjs/{tokens-21b244ee.js → tokens-30e7656b.js} +6 -0
  78. package/lib/cjs/{tokens.module-d402cfac.js → tokens.module-5fe478ed.js} +4 -0
  79. package/lib/collection/collection-manifest.json +2 -0
  80. package/lib/collection/components/duet-action-button/duet-action-button.css +1 -1
  81. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  82. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  83. package/lib/collection/components/duet-banner/duet-banner.css +15 -1
  84. package/lib/collection/components/duet-banner/duet-banner.js +1 -1
  85. package/lib/collection/components/duet-button/duet-button.css +29 -0
  86. package/lib/collection/components/duet-button/duet-button.js +6 -6
  87. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  88. package/lib/collection/components/duet-card/duet-card.js +3 -3
  89. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  90. package/lib/collection/components/duet-choice/duet-choice.css +4 -2
  91. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  92. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  93. package/lib/collection/components/duet-combobox/duet-combobox.js +16 -13
  94. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  95. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  96. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  97. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  98. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  99. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  100. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  101. package/lib/collection/components/duet-header/duet-header.js +15 -15
  102. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  103. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  104. package/lib/collection/components/duet-icon/duet-icon.js +1 -1
  105. package/lib/collection/components/duet-input/duet-input.js +8 -8
  106. package/lib/collection/components/duet-label/duet-label.js +2 -2
  107. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  108. package/lib/collection/components/duet-list/duet-list.js +3 -3
  109. package/lib/collection/components/duet-logo/duet-logo.js +3 -3
  110. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  111. package/lib/collection/components/duet-modal/duet-modal.js +3 -3
  112. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  113. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  114. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  115. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  116. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  117. package/lib/collection/components/duet-promo-card/duet-promo-card.css +87 -0
  118. package/lib/collection/components/duet-promo-card/duet-promo-card.js +191 -0
  119. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  120. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  121. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  122. package/lib/collection/components/duet-scrollable/duet-scrollable.css +20 -0
  123. package/lib/collection/components/duet-scrollable/duet-scrollable.js +87 -5
  124. package/lib/collection/components/duet-select/duet-select.js +5 -5
  125. package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +63 -0
  126. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +126 -0
  127. package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
  128. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  129. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  130. package/lib/collection/components/duet-step/duet-step.js +2 -2
  131. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  132. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +1 -1
  133. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  134. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  135. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  136. package/lib/collection/components/duet-tooltip/duet-tooltip.js +5 -3
  137. package/lib/collection/components/duet-upload/duet-upload.js +22 -15
  138. package/lib/collection/components/duet-upload/upload-validators.js +6 -0
  139. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  140. package/lib/dist-custom-elements/duet-alert.js +1 -1
  141. package/lib/dist-custom-elements/duet-badge.js +1 -1
  142. package/lib/dist-custom-elements/duet-banner.js +10 -16
  143. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  144. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  145. package/lib/dist-custom-elements/duet-button.js +1 -1
  146. package/lib/dist-custom-elements/duet-callout.js +3 -3
  147. package/lib/dist-custom-elements/duet-caption.js +1 -1
  148. package/lib/dist-custom-elements/duet-card.js +4 -4
  149. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  150. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  151. package/lib/dist-custom-elements/duet-choice-group.js +6 -6
  152. package/lib/dist-custom-elements/duet-choice.js +6 -6
  153. package/lib/dist-custom-elements/duet-collapsible.js +3 -3
  154. package/lib/dist-custom-elements/duet-combobox.js +14 -11
  155. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  156. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  157. package/lib/dist-custom-elements/duet-date-picker.js +10 -10
  158. package/lib/dist-custom-elements/duet-divider.js +1 -1
  159. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  160. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  161. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  162. package/lib/dist-custom-elements/duet-footer.js +4 -4
  163. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  164. package/lib/dist-custom-elements/duet-grid.js +1 -1
  165. package/lib/dist-custom-elements/duet-header.js +9 -9
  166. package/lib/dist-custom-elements/duet-heading.js +1 -1
  167. package/lib/dist-custom-elements/duet-hero.js +9 -9
  168. package/lib/dist-custom-elements/duet-icon.js +1 -1
  169. package/lib/dist-custom-elements/duet-input.js +1 -1
  170. package/lib/dist-custom-elements/duet-label.js +1 -1
  171. package/lib/dist-custom-elements/duet-layout.js +1 -1
  172. package/lib/dist-custom-elements/duet-link.js +1 -1
  173. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  174. package/lib/dist-custom-elements/duet-list.js +1 -1
  175. package/lib/dist-custom-elements/duet-logo.js +1 -1
  176. package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
  177. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  178. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
  179. package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
  180. package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
  181. package/lib/dist-custom-elements/duet-modal.js +7 -7
  182. package/lib/dist-custom-elements/duet-multiselect.js +8 -8
  183. package/lib/dist-custom-elements/duet-nav.js +1 -1
  184. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  185. package/lib/dist-custom-elements/duet-notification.js +2 -2
  186. package/lib/dist-custom-elements/duet-number-input.js +9 -9
  187. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  188. package/lib/dist-custom-elements/duet-pagination.js +7 -7
  189. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  190. package/lib/dist-custom-elements/duet-progress.js +1 -1
  191. package/lib/dist-custom-elements/duet-promo-card.d.ts +11 -0
  192. package/lib/dist-custom-elements/duet-promo-card.js +86 -0
  193. package/lib/dist-custom-elements/duet-radio-group.js +6 -6
  194. package/lib/dist-custom-elements/duet-radio.js +1 -1
  195. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  196. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  197. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  198. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  199. package/lib/dist-custom-elements/duet-select.js +1 -1
  200. package/lib/dist-custom-elements/duet-shaped-image.d.ts +11 -0
  201. package/lib/dist-custom-elements/duet-shaped-image.js +62 -0
  202. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  203. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  204. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  205. package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
  206. package/lib/dist-custom-elements/duet-slideout.js +3 -3
  207. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  208. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  209. package/lib/dist-custom-elements/duet-step.js +4 -4
  210. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  211. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  212. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
  213. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  214. package/lib/dist-custom-elements/duet-submenu-bar.js +4 -4
  215. package/lib/dist-custom-elements/duet-tab-group.js +27 -15
  216. package/lib/dist-custom-elements/duet-tab.js +1 -1
  217. package/lib/dist-custom-elements/duet-table.js +1 -1
  218. package/lib/dist-custom-elements/duet-textarea.js +8 -8
  219. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  220. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  221. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  222. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  223. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  224. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  225. package/lib/dist-custom-elements/duet-tray.js +4 -4
  226. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  227. package/lib/dist-custom-elements/duet-upload.js +40 -18
  228. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  229. package/lib/dist-custom-elements/index.js +1 -1
  230. package/lib/dist-custom-elements/{p-5597d00b.js → p-0674039c.js} +2 -2
  231. package/lib/dist-custom-elements/{p-fcdafb7c.js → p-0e902571.js} +1 -1
  232. package/lib/dist-custom-elements/{p-8ec927a9.js → p-1344c068.js} +1 -1
  233. package/lib/dist-custom-elements/{p-827884e4.js → p-1ac08a92.js} +2 -2
  234. package/lib/dist-custom-elements/{p-b8ad6212.js → p-1d986611.js} +1 -1
  235. package/lib/dist-custom-elements/{p-32ef0166.js → p-28c1f4ec.js} +1 -1
  236. package/lib/dist-custom-elements/{p-9cec14d3.js → p-2f9bbe4a.js} +1 -1
  237. package/lib/dist-custom-elements/{p-6c67d54f.js → p-351d00f1.js} +6 -6
  238. package/lib/dist-custom-elements/{p-4e79552b.js → p-3b39da12.js} +5 -5
  239. package/lib/dist-custom-elements/{p-85572907.js → p-48515caf.js} +50 -8
  240. package/lib/dist-custom-elements/{p-418b9425.js → p-4fcae101.js} +2 -2
  241. package/lib/dist-custom-elements/{p-365321e2.js → p-628b8684.js} +2 -2
  242. package/lib/dist-custom-elements/{p-78e46bbe.js → p-633e1ebc.js} +2 -2
  243. package/lib/dist-custom-elements/{p-45c80494.js → p-65758ed5.js} +8 -8
  244. package/lib/dist-custom-elements/{p-1ae34989.js → p-717d775c.js} +1 -1
  245. package/lib/dist-custom-elements/{p-7bf05f04.js → p-72c5512a.js} +6 -6
  246. package/lib/dist-custom-elements/{p-0ece82d9.js → p-75c1e787.js} +2 -2
  247. package/lib/dist-custom-elements/{p-022a8925.js → p-7a8d0bb0.js} +1 -1
  248. package/lib/dist-custom-elements/{p-42274448.js → p-8b72e2b2.js} +3 -3
  249. package/lib/dist-custom-elements/{p-811d0b57.js → p-8dd1cf45.js} +5 -5
  250. package/lib/dist-custom-elements/{p-af11a76b.js → p-9db7387e.js} +3 -3
  251. package/lib/dist-custom-elements/{p-52d5fd26.js → p-a15eaed8.js} +2 -2
  252. package/lib/dist-custom-elements/{p-5d7e7f9a.js → p-a46a6322.js} +1 -1
  253. package/lib/dist-custom-elements/{p-cb9787ec.js → p-b519ac77.js} +6 -0
  254. package/lib/dist-custom-elements/{p-2fa23c91.js → p-bcf1e39a.js} +2 -2
  255. package/lib/dist-custom-elements/{p-94cad5dd.js → p-ceee58b4.js} +2 -2
  256. package/lib/dist-custom-elements/{p-3f19003b.js → p-d3213a33.js} +7 -5
  257. package/lib/dist-custom-elements/{p-e4260006.js → p-d7b4d591.js} +2 -2
  258. package/lib/dist-custom-elements/{p-ff1232e3.js → p-d9a3be78.js} +1 -1
  259. package/lib/dist-custom-elements/{p-e848dc76.js → p-ddfc5de9.js} +1 -1
  260. package/lib/dist-custom-elements/{p-890d1070.js → p-de68431d.js} +1 -1
  261. package/lib/dist-custom-elements/{p-505389ac.js → p-e8475b3c.js} +4 -0
  262. package/lib/dist-custom-elements/{p-9241f30d.js → p-fdc1ca33.js} +1 -1
  263. package/lib/dist-custom-elements/{p-6cfb1e17.js → p-fe45f59f.js} +2 -2
  264. package/lib/duet/duet.esm.js +1 -1
  265. package/lib/duet/duet.js +1 -1
  266. package/lib/duet/p-009c5ed3.entry.js +4 -0
  267. package/lib/duet/p-01a6becd.system.entry.js +4 -0
  268. package/lib/duet/{p-3e1a8672.entry.js → p-02a26b88.entry.js} +1 -1
  269. package/lib/duet/{p-64eca6f8.entry.js → p-04e21013.entry.js} +1 -1
  270. package/lib/duet/{p-39fd9262.entry.js → p-0786d3a0.entry.js} +1 -1
  271. package/lib/duet/{p-fe796b12.system.entry.js → p-0815f8d2.system.entry.js} +1 -1
  272. package/lib/duet/{p-40ec6285.system.entry.js → p-0bb09731.system.entry.js} +1 -1
  273. package/lib/duet/{p-52618d5a.entry.js → p-0ee1b7f3.entry.js} +1 -1
  274. package/lib/duet/{p-3f1b91f3.system.entry.js → p-127549bc.system.entry.js} +1 -1
  275. package/lib/duet/p-1354a068.entry.js +4 -0
  276. package/lib/duet/{p-97daa409.system.entry.js → p-1402a469.system.entry.js} +1 -1
  277. package/lib/duet/{p-0bb2fc38.entry.js → p-16ca0476.entry.js} +1 -1
  278. package/lib/duet/{p-62130e77.entry.js → p-19dcac63.entry.js} +1 -1
  279. package/lib/duet/{p-318c864c.system.entry.js → p-1c1d9986.system.entry.js} +1 -1
  280. package/lib/duet/{p-014d4b6c.system.entry.js → p-1c1e78f4.system.entry.js} +1 -1
  281. package/lib/duet/{p-9b89ca54.entry.js → p-1c7bdfb0.entry.js} +1 -1
  282. package/lib/duet/{p-1fcc523f.system.entry.js → p-1d0a1fa6.system.entry.js} +1 -1
  283. package/lib/duet/{p-663a1b00.system.entry.js → p-1d42396a.system.entry.js} +1 -1
  284. package/lib/duet/{p-81a18bed.entry.js → p-1fb0d391.entry.js} +1 -1
  285. package/lib/duet/{p-cdb71ba7.system.entry.js → p-221a319e.system.entry.js} +1 -1
  286. package/lib/duet/{p-890643ca.entry.js → p-249de5f3.entry.js} +1 -1
  287. package/lib/duet/{p-11b4eb05.entry.js → p-2654e699.entry.js} +1 -1
  288. package/lib/duet/{p-7d52c89d.entry.js → p-29a1886d.entry.js} +1 -1
  289. package/lib/duet/{p-8e70f859.entry.js → p-2ab14f9d.entry.js} +1 -1
  290. package/lib/duet/p-2cadaf24.entry.js +4 -0
  291. package/lib/duet/{p-47226272.entry.js → p-2d50b598.entry.js} +1 -1
  292. package/lib/duet/{p-fb9dbd21.entry.js → p-2ee395b0.entry.js} +1 -1
  293. package/lib/duet/{p-afe17a8c.system.entry.js → p-2f3e497c.system.entry.js} +1 -1
  294. package/lib/duet/{p-b262748f.entry.js → p-3144ba75.entry.js} +1 -1
  295. package/lib/duet/{p-5d90c88a.system.entry.js → p-3508f30c.system.entry.js} +1 -1
  296. package/lib/duet/{p-52cd6d96.system.entry.js → p-37909c09.system.entry.js} +1 -1
  297. package/lib/duet/{p-a0893e5e.system.entry.js → p-3794c025.system.entry.js} +1 -1
  298. package/lib/duet/{p-fd4d4376.entry.js → p-388212f3.entry.js} +1 -1
  299. package/lib/duet/{p-8dfd152a.entry.js → p-3bad0565.entry.js} +1 -1
  300. package/lib/duet/{p-dbb8bf49.system.entry.js → p-3c237b9a.system.entry.js} +1 -1
  301. package/lib/duet/{p-b1b502d4.entry.js → p-3d0cabd0.entry.js} +1 -1
  302. package/lib/duet/{p-494839fd.system.entry.js → p-3ea2c86d.system.entry.js} +1 -1
  303. package/lib/duet/{p-4eee6079.system.entry.js → p-445317f4.system.entry.js} +1 -1
  304. package/lib/duet/p-45e609b1.system.js +4 -0
  305. package/lib/duet/{p-556dee5f.entry.js → p-470110fc.entry.js} +1 -1
  306. package/lib/duet/{p-9a19bbfd.system.entry.js → p-4b2e1595.system.entry.js} +1 -1
  307. package/lib/duet/{p-88580e2c.entry.js → p-4b7d3edc.entry.js} +1 -1
  308. package/lib/duet/{p-614408cf.entry.js → p-4d93a692.entry.js} +1 -1
  309. package/lib/duet/{p-70d5b60c.entry.js → p-50a7fb1c.entry.js} +1 -1
  310. package/lib/duet/{p-a1cc1a3e.system.entry.js → p-513794cb.system.entry.js} +1 -1
  311. package/lib/duet/{p-071758e5.entry.js → p-518d1263.entry.js} +1 -1
  312. package/lib/duet/p-5369340a.system.entry.js +4 -0
  313. package/lib/duet/{p-a4f56f44.system.entry.js → p-53dec0a5.system.entry.js} +1 -1
  314. package/lib/duet/{p-75b6bf6c.entry.js → p-594fcb94.entry.js} +1 -1
  315. package/lib/duet/{p-cf618f70.entry.js → p-59b62cfa.entry.js} +1 -1
  316. package/lib/duet/{p-4e4ccef5.entry.js → p-59e1c2ab.entry.js} +1 -1
  317. package/lib/duet/{p-a52a67d9.system.entry.js → p-5a229ae7.system.entry.js} +1 -1
  318. package/lib/duet/p-5b450895.entry.js +4 -0
  319. package/lib/duet/{p-479c8b37.entry.js → p-5b66a87d.entry.js} +1 -1
  320. package/lib/duet/{p-8c39ce20.system.js → p-5b705989.system.js} +1 -1
  321. package/lib/duet/{p-c560bafe.entry.js → p-5b939562.entry.js} +1 -1
  322. package/lib/duet/{p-e3f34e71.system.entry.js → p-5eb79fac.system.entry.js} +1 -1
  323. package/lib/duet/{p-c0ca450a.entry.js → p-5f860b63.entry.js} +1 -1
  324. package/lib/duet/{p-29609033.entry.js → p-5fed2b0f.entry.js} +1 -1
  325. package/lib/duet/{p-aae8f419.system.entry.js → p-60f7231d.system.entry.js} +1 -1
  326. package/lib/duet/{p-f01670d7.system.entry.js → p-61232a45.system.entry.js} +1 -1
  327. package/lib/duet/{p-7f01eb8a.system.entry.js → p-631d95f8.system.entry.js} +1 -1
  328. package/lib/duet/{p-981300f9.entry.js → p-65beaf78.entry.js} +1 -1
  329. package/lib/duet/{p-6a1a5e26.entry.js → p-665f67ed.entry.js} +1 -1
  330. package/lib/duet/{p-50b41507.entry.js → p-68732531.entry.js} +1 -1
  331. package/lib/duet/p-68ed4709.entry.js +4 -0
  332. package/lib/duet/{p-f5edf1b3.entry.js → p-69617bca.entry.js} +1 -1
  333. package/lib/duet/{p-6479e81f.system.entry.js → p-6b02f893.system.entry.js} +1 -1
  334. package/lib/duet/{p-74632443.system.entry.js → p-6b1a925a.system.entry.js} +1 -1
  335. package/lib/duet/{p-5bb07d5e.entry.js → p-70ab41b1.entry.js} +1 -1
  336. package/lib/duet/{p-450e63a4.system.js → p-71a46879.system.js} +1 -1
  337. package/lib/duet/{p-55368d00.entry.js → p-7243f2ca.entry.js} +1 -1
  338. package/lib/duet/{p-b8df8fd1.system.entry.js → p-724bd42f.system.entry.js} +1 -1
  339. package/lib/duet/p-73018bd7.entry.js +4 -0
  340. package/lib/duet/{p-754e1acb.entry.js → p-73fed2b4.entry.js} +1 -1
  341. package/lib/duet/{p-b5dc20ad.entry.js → p-74571004.entry.js} +1 -1
  342. package/lib/duet/{p-70700295.system.entry.js → p-759770b5.system.entry.js} +1 -1
  343. package/lib/duet/{p-58f523e4.system.entry.js → p-75f889b4.system.entry.js} +1 -1
  344. package/lib/duet/p-762401f8.entry.js +4 -0
  345. package/lib/duet/{p-9ec5fc5f.entry.js → p-7743b137.entry.js} +1 -1
  346. package/lib/duet/{p-0dc041eb.system.entry.js → p-7b3b57b5.system.entry.js} +1 -1
  347. package/lib/duet/{p-0e19469a.system.entry.js → p-7e67d36d.system.entry.js} +1 -1
  348. package/lib/duet/{p-d27c56c2.entry.js → p-7f7ae89e.entry.js} +1 -1
  349. package/lib/duet/{p-ac8b347a.system.entry.js → p-7f8d73d1.system.entry.js} +1 -1
  350. package/lib/duet/{p-d32a12af.system.entry.js → p-80fcd4a9.system.entry.js} +1 -1
  351. package/lib/duet/{p-c5188e4b.system.entry.js → p-82047e57.system.entry.js} +1 -1
  352. package/lib/duet/{p-bf7584cf.entry.js → p-84474371.entry.js} +1 -1
  353. package/lib/duet/{p-38328a88.entry.js → p-848d80c0.entry.js} +1 -1
  354. package/lib/duet/{p-6388e158.entry.js → p-8511fe95.entry.js} +1 -1
  355. package/lib/duet/{p-1cf6a781.system.entry.js → p-85350ba7.system.entry.js} +1 -1
  356. package/lib/duet/{p-fa19e564.entry.js → p-8542d6f4.entry.js} +1 -1
  357. package/lib/duet/{p-7c7ba815.system.entry.js → p-87415ffd.system.entry.js} +1 -1
  358. package/lib/duet/{p-ba15a37d.system.entry.js → p-87cf954f.system.entry.js} +1 -1
  359. package/lib/duet/{p-5f2a7049.entry.js → p-8905f9e9.entry.js} +1 -1
  360. package/lib/duet/{p-300d84d8.system.entry.js → p-89a01897.system.entry.js} +1 -1
  361. package/lib/duet/{p-b3e43ba2.entry.js → p-8bba046c.entry.js} +1 -1
  362. package/lib/duet/{p-f9527a83.system.entry.js → p-8bdf321a.system.entry.js} +1 -1
  363. package/lib/duet/{p-ea75158f.system.entry.js → p-8c4f1396.system.entry.js} +1 -1
  364. package/lib/duet/p-8c6e3c4f.system.js +4 -0
  365. package/lib/duet/{p-bd715395.entry.js → p-8c8ab0cd.entry.js} +1 -1
  366. package/lib/duet/{p-e382ca90.system.entry.js → p-8f235d9a.system.entry.js} +1 -1
  367. package/lib/duet/{p-60f1bb77.system.entry.js → p-906f44d1.system.entry.js} +1 -1
  368. package/lib/duet/{p-6340a39a.system.entry.js → p-95740985.system.entry.js} +1 -1
  369. package/lib/duet/{p-bb2072aa.system.entry.js → p-95e558a0.system.entry.js} +1 -1
  370. package/lib/duet/{p-37d32b0c.entry.js → p-96cfe85e.entry.js} +1 -1
  371. package/lib/duet/p-9bb6ecf1.system.js +4 -0
  372. package/lib/duet/{p-0078459e.system.entry.js → p-9be7d929.system.entry.js} +1 -1
  373. package/lib/duet/{p-dff1e580.entry.js → p-9f7016b8.entry.js} +1 -1
  374. package/lib/duet/{p-568e2324.system.entry.js → p-9fe84140.system.entry.js} +1 -1
  375. package/lib/duet/{p-de51f330.entry.js → p-a279383c.entry.js} +1 -1
  376. package/lib/duet/{p-73f9efad.js → p-a76ceaf6.js} +1 -1
  377. package/lib/duet/{p-7f1a64a3.entry.js → p-a7ad439b.entry.js} +1 -1
  378. package/lib/duet/p-a9ce97b9.system.entry.js +4 -0
  379. package/lib/duet/{p-ddab7727.entry.js → p-acfb1306.entry.js} +1 -1
  380. package/lib/duet/{p-ec288074.system.entry.js → p-b14ce6d0.system.entry.js} +1 -1
  381. package/lib/duet/p-b519ac77.js +4 -0
  382. package/lib/duet/{p-aa5afd1f.entry.js → p-b5f84ba1.entry.js} +1 -1
  383. package/lib/duet/{p-ba005a28.system.entry.js → p-b7847f6c.system.entry.js} +1 -1
  384. package/lib/duet/{p-c6ec0a1b.system.entry.js → p-b7c8caab.system.entry.js} +1 -1
  385. package/lib/duet/{p-2c2d886e.system.entry.js → p-b9e1d2e3.system.entry.js} +1 -1
  386. package/lib/duet/{p-4ec878af.entry.js → p-c0151dc7.entry.js} +1 -1
  387. package/lib/duet/{p-926c7f86.entry.js → p-c0c28ecb.entry.js} +1 -1
  388. package/lib/duet/p-c0d5c4b4.entry.js +4 -0
  389. package/lib/duet/{p-7e307ad5.entry.js → p-c13f03ef.entry.js} +1 -1
  390. package/lib/duet/{p-12201d13.entry.js → p-c490fc82.entry.js} +1 -1
  391. package/lib/duet/{p-3d5f6a4b.entry.js → p-c60e5e81.entry.js} +1 -1
  392. package/lib/duet/{p-fd848c0b.system.entry.js → p-c85da6e1.system.entry.js} +1 -1
  393. package/lib/duet/{p-68e70b12.system.entry.js → p-c9460722.system.entry.js} +2 -2
  394. package/lib/duet/p-cb896d18.system.entry.js +4 -0
  395. package/lib/duet/{p-81a88ce1.entry.js → p-cda24383.entry.js} +1 -1
  396. package/lib/duet/p-d5e35912.system.entry.js +4 -0
  397. package/lib/duet/{p-f0d8a1eb.system.entry.js → p-d8266018.system.entry.js} +1 -1
  398. package/lib/duet/{p-3d86bdaa.js → p-e2a64fc4.js} +1 -1
  399. package/lib/duet/{p-74a28c46.system.entry.js → p-e2e3b866.system.entry.js} +1 -1
  400. package/lib/duet/p-e395bef5.system.entry.js +4 -0
  401. package/lib/duet/{p-ec05dc99.system.entry.js → p-e5d2f039.system.entry.js} +2 -2
  402. package/lib/duet/{p-ee9a7c47.system.entry.js → p-e6b6d7db.system.entry.js} +1 -1
  403. package/lib/duet/{p-389aa417.entry.js → p-e7e2beca.entry.js} +1 -1
  404. package/lib/duet/{p-8a167ae6.system.entry.js → p-e8145797.system.entry.js} +1 -1
  405. package/lib/duet/{p-845ffc2a.system.entry.js → p-ea6b5401.system.entry.js} +1 -1
  406. package/lib/duet/{p-9561f320.system.entry.js → p-eb0c0713.system.entry.js} +1 -1
  407. package/lib/duet/{p-22cc9bdf.system.entry.js → p-f2403023.system.entry.js} +1 -1
  408. package/lib/duet/p-f3f57a5e.entry.js +4 -0
  409. package/lib/duet/{p-eb8d91f5.system.entry.js → p-f5e2ac5a.system.entry.js} +1 -1
  410. package/lib/duet/{p-a0de576b.system.entry.js → p-f66ba762.system.entry.js} +1 -1
  411. package/lib/duet/{p-9cfbe4c6.system.js → p-fbef8044.system.js} +1 -1
  412. package/lib/duet/p-fbf03833.system.entry.js +4 -0
  413. package/lib/duet/{p-077ffbc8.js → p-fc9bbd16.js} +1 -1
  414. package/lib/duet/{p-7c4baf1c.js → p-fd4785ab.js} +1 -1
  415. package/lib/duet/{p-7a9a2dd3.entry.js → p-fe826eeb.entry.js} +1 -1
  416. package/lib/duet/{p-57fb4c10.system.entry.js → p-ff7274a1.system.entry.js} +1 -1
  417. package/lib/esm/duet-action-button.entry.js +4 -4
  418. package/lib/esm/duet-alert.entry.js +1 -1
  419. package/lib/esm/duet-badge.entry.js +1 -1
  420. package/lib/esm/duet-banner.entry.js +5 -5
  421. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  422. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  423. package/lib/esm/duet-button_2.entry.js +4 -4
  424. package/lib/esm/duet-callout.entry.js +1 -1
  425. package/lib/esm/duet-caption_4.entry.js +3 -3
  426. package/lib/esm/duet-card.entry.js +3 -3
  427. package/lib/esm/duet-checkbox.entry.js +1 -1
  428. package/lib/esm/duet-checkmark.entry.js +1 -1
  429. package/lib/esm/duet-choice_2.entry.js +3 -3
  430. package/lib/esm/duet-collapsible.entry.js +2 -2
  431. package/lib/esm/duet-combobox.entry.js +13 -10
  432. package/lib/esm/duet-contact-card.entry.js +1 -1
  433. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  434. package/lib/esm/duet-date-picker.entry.js +2 -2
  435. package/lib/esm/duet-divider_2.entry.js +3 -3
  436. package/lib/esm/duet-editable-table_3.entry.js +26 -4
  437. package/lib/esm/duet-empty-state.entry.js +1 -1
  438. package/lib/esm/duet-fieldset.entry.js +1 -1
  439. package/lib/esm/duet-footer.entry.js +1 -1
  440. package/lib/esm/duet-grid_2.entry.js +2 -2
  441. package/lib/esm/duet-header_2.entry.js +3 -3
  442. package/lib/esm/duet-hero.entry.js +1 -1
  443. package/lib/esm/duet-icon.entry.js +3 -3
  444. package/lib/esm/duet-input_2.entry.js +1 -1
  445. package/lib/esm/duet-layout.entry.js +1 -1
  446. package/lib/esm/duet-list_2.entry.js +1 -1
  447. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  448. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  449. package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
  450. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  451. package/lib/esm/duet-menu-bar.entry.js +2 -2
  452. package/lib/esm/duet-modal.entry.js +2 -2
  453. package/lib/esm/duet-multiselect.entry.js +1 -1
  454. package/lib/esm/duet-nav.entry.js +1 -1
  455. package/lib/esm/duet-notification_2.entry.js +1 -1
  456. package/lib/esm/duet-number-input.entry.js +1 -1
  457. package/lib/esm/duet-page-heading.entry.js +1 -1
  458. package/lib/esm/duet-pagination_2.entry.js +1 -1
  459. package/lib/esm/duet-progress.entry.js +1 -1
  460. package/lib/esm/duet-promo-card.entry.js +50 -0
  461. package/lib/esm/duet-radio_2.entry.js +1 -1
  462. package/lib/esm/duet-range-slider.entry.js +2 -2
  463. package/lib/esm/duet-scrollable_3.entry.js +27 -6
  464. package/lib/esm/duet-section-layout.entry.js +1 -1
  465. package/lib/esm/duet-select.entry.js +1 -1
  466. package/lib/esm/duet-shaped-image.entry.js +39 -0
  467. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  468. package/lib/esm/duet-slideout-link.entry.js +1 -1
  469. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  470. package/lib/esm/duet-slideout-panel.entry.js +4 -4
  471. package/lib/esm/duet-slideout.entry.js +4 -4
  472. package/lib/esm/duet-step_2.entry.js +1 -1
  473. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  474. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  475. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  476. package/lib/esm/duet-submenu-bar.entry.js +3 -3
  477. package/lib/esm/duet-textarea.entry.js +1 -1
  478. package/lib/esm/duet-toggle.entry.js +1 -1
  479. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  480. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  481. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  482. package/lib/esm/duet-toolbar.entry.js +1 -1
  483. package/lib/esm/duet-tooltip.entry.js +5 -3
  484. package/lib/esm/duet-tray.entry.js +2 -2
  485. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  486. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  487. package/lib/esm/duet.js +3 -3
  488. package/lib/esm/{focus-utils-254d2904.js → focus-utils-4c89d596.js} +1 -1
  489. package/lib/esm/{index-0083a6df.js → index-b45ea754.js} +1 -1
  490. package/lib/esm/loader.js +3 -3
  491. package/lib/esm/{token-utils-5f4f3897.js → token-utils-a1dcaa4b.js} +1 -1
  492. package/lib/esm/{tokens-20d688dc.js → tokens-f6b32339.js} +6 -0
  493. package/lib/esm/{tokens.module-5601adc9.js → tokens.module-ed773027.js} +4 -0
  494. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  495. package/lib/esm-es5/duet-alert.entry.js +1 -1
  496. package/lib/esm-es5/duet-badge.entry.js +1 -1
  497. package/lib/esm-es5/duet-banner.entry.js +1 -1
  498. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  499. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  500. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  501. package/lib/esm-es5/duet-callout.entry.js +1 -1
  502. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  503. package/lib/esm-es5/duet-card.entry.js +1 -1
  504. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  505. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  506. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  507. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  508. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  509. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  510. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  511. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  512. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  513. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  514. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  515. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  516. package/lib/esm-es5/duet-footer.entry.js +1 -1
  517. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  518. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  519. package/lib/esm-es5/duet-hero.entry.js +1 -1
  520. package/lib/esm-es5/duet-icon.entry.js +1 -1
  521. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  522. package/lib/esm-es5/duet-layout.entry.js +1 -1
  523. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  524. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  525. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  526. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  527. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  528. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  529. package/lib/esm-es5/duet-modal.entry.js +1 -1
  530. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  531. package/lib/esm-es5/duet-nav.entry.js +1 -1
  532. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  533. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  534. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  535. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  536. package/lib/esm-es5/duet-progress.entry.js +1 -1
  537. package/lib/esm-es5/duet-promo-card.entry.js +4 -0
  538. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  539. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  540. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  541. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  542. package/lib/esm-es5/duet-select.entry.js +1 -1
  543. package/lib/esm-es5/duet-shaped-image.entry.js +4 -0
  544. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  545. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  546. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  547. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  548. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  549. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  550. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  551. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  552. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  553. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  554. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  555. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  556. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  557. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  558. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  559. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  560. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  561. package/lib/esm-es5/duet-tray.entry.js +1 -1
  562. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  563. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  564. package/lib/esm-es5/duet.js +1 -1
  565. package/lib/esm-es5/focus-utils-4c89d596.js +4 -0
  566. package/lib/esm-es5/{index-0083a6df.js → index-b45ea754.js} +1 -1
  567. package/lib/esm-es5/loader.js +1 -1
  568. package/lib/esm-es5/{token-utils-5f4f3897.js → token-utils-a1dcaa4b.js} +1 -1
  569. package/lib/esm-es5/tokens-f6b32339.js +4 -0
  570. package/lib/esm-es5/tokens.module-ed773027.js +4 -0
  571. package/lib/types/components/duet-button/duet-button.d.ts +1 -1
  572. package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -1
  573. package/lib/types/components/duet-logo/duet-logo.d.ts +6 -0
  574. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +42 -0
  575. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +17 -0
  576. package/lib/types/components/duet-shaped-image/duet-shaped-image.d.ts +30 -0
  577. package/lib/types/components/duet-upload/duet-upload.d.ts +1 -0
  578. package/lib/types/components/duet-upload/upload-validators.d.ts +1 -0
  579. package/lib/types/components.d.ts +145 -1
  580. package/package.json +5 -5
  581. package/lib/duet/p-108cd3ab.system.js +0 -4
  582. package/lib/duet/p-18d69358.entry.js +0 -4
  583. package/lib/duet/p-1cbb2b0b.entry.js +0 -4
  584. package/lib/duet/p-1ccb52e7.system.entry.js +0 -4
  585. package/lib/duet/p-1d66dc78.entry.js +0 -4
  586. package/lib/duet/p-42ac826c.entry.js +0 -4
  587. package/lib/duet/p-516829ce.entry.js +0 -4
  588. package/lib/duet/p-62dd2220.system.entry.js +0 -4
  589. package/lib/duet/p-771b964a.entry.js +0 -4
  590. package/lib/duet/p-8b07253d.system.entry.js +0 -4
  591. package/lib/duet/p-8ddb665b.entry.js +0 -4
  592. package/lib/duet/p-956e3be4.system.entry.js +0 -4
  593. package/lib/duet/p-a9a7d16c.system.js +0 -4
  594. package/lib/duet/p-cb9787ec.js +0 -4
  595. package/lib/duet/p-f1473c58.system.entry.js +0 -4
  596. package/lib/duet/p-f67ee736.system.js +0 -4
  597. package/lib/esm-es5/focus-utils-254d2904.js +0 -4
  598. package/lib/esm-es5/tokens-20d688dc.js +0 -4
  599. package/lib/esm-es5/tokens.module-5601adc9.js +0 -4
@@ -0,0 +1,30 @@
1
+ import { DuetTheme } from "../../common-types";
2
+ import { ThemeableComponent } from "../../common/themeable-component";
3
+ export declare class DuetShapedImage implements ThemeableComponent {
4
+ /**
5
+ * Theme of the component.
6
+ */
7
+ theme: DuetTheme;
8
+ /**
9
+ * Adds accessible label for the image that is only shown for screen readers.
10
+ */
11
+ accessibleLabel: string;
12
+ /**
13
+ * A URL from which to load an image.
14
+ */
15
+ src: string;
16
+ /**
17
+ * Rotation. Note: in 'turva' theme there's no rotation.
18
+ * @default "7"
19
+ */
20
+ rotation: 7 | -7;
21
+ /**
22
+ * Component lifecycle events.
23
+ */
24
+ componentWillLoad(): void;
25
+ /**
26
+ * render() function
27
+ * Always the last one of the class.
28
+ */
29
+ render(): any;
30
+ }
@@ -382,6 +382,7 @@ export declare class DuetUpload implements ThemeableComponent, FormComponent {
382
382
  private filesInProgress;
383
383
  private fileMaxReached;
384
384
  private bytesMaxReached;
385
+ private filesToUploadExceedsLimit;
385
386
  private internalStatusMessageLabel;
386
387
  private metaData;
387
388
  private nativeInput?;
@@ -11,3 +11,4 @@ export declare const validateFile: (item: any, validators: Record<string, any>,
11
11
  };
12
12
  export declare const validateTotalSizeIsAboveMax: (filelist: StringMap, maxTotalBytes: number) => boolean;
13
13
  export declare const validateTotalAmountIsAboveMax: (filelist: StringMap, maxFiles: number) => boolean;
14
+ export declare const filesToUploadCountAboveMax: (currentFilesCount: number, filesToUploadCount: number, maxFiles: number) => boolean;
@@ -1966,7 +1966,13 @@ export namespace Components {
1966
1966
  "responsive": boolean;
1967
1967
  }
1968
1968
  interface DuetLogo {
1969
+ /**
1970
+ * Accessible label. Defaults to what is in accessibleLabelDefaults prop.
1971
+ */
1969
1972
  "accessibleLabel": string;
1973
+ /**
1974
+ * Default translations for accessible label.
1975
+ */
1970
1976
  "accessibleLabelDefaults": DuetLangObject;
1971
1977
  /**
1972
1978
  * Where the logo links to.
@@ -2697,6 +2703,32 @@ export namespace Components {
2697
2703
  */
2698
2704
  "theme": DuetTheme;
2699
2705
  }
2706
+ interface DuetPromoCard {
2707
+ /**
2708
+ * Background color.
2709
+ */
2710
+ "backgroundColor": DuetColor | "";
2711
+ /**
2712
+ * The actual heading level used in the HTML markup.
2713
+ */
2714
+ "headingLevel": DuetHeadingLevel;
2715
+ /**
2716
+ * Image. Example image is 512x341;
2717
+ */
2718
+ "image": string;
2719
+ /**
2720
+ * Controls the margin of the component.
2721
+ */
2722
+ "margin": DuetMargin;
2723
+ /**
2724
+ * Text color.
2725
+ */
2726
+ "textColor": DuetColor;
2727
+ /**
2728
+ * Theme.
2729
+ */
2730
+ "theme": DuetTheme;
2731
+ }
2700
2732
  interface DuetRadio {
2701
2733
  /**
2702
2734
  * Indicates the id of a related component’s visually focused element.
@@ -2956,6 +2988,18 @@ export namespace Components {
2956
2988
  "total": number;
2957
2989
  }
2958
2990
  interface DuetScrollable {
2991
+ /**
2992
+ * Whether or not include previous and forward buttons. Defaults to true.
2993
+ */
2994
+ "buttons": boolean;
2995
+ /**
2996
+ * Center the scrollable list. Defaults to false.
2997
+ */
2998
+ "center": boolean;
2999
+ /**
3000
+ * Boolean to collapse scrollable items into normal flow.
3001
+ */
3002
+ "collapsed": boolean;
2959
3003
  /**
2960
3004
  * Optional identifier to add to buttons in the tab group
2961
3005
  */
@@ -3081,6 +3125,25 @@ export namespace Components {
3081
3125
  */
3082
3126
  "variation": DuetSelectVariation;
3083
3127
  }
3128
+ interface DuetShapedImage {
3129
+ /**
3130
+ * Adds accessible label for the image that is only shown for screen readers.
3131
+ */
3132
+ "accessibleLabel": string;
3133
+ /**
3134
+ * Rotation. Note: in 'turva' theme there's no rotation.
3135
+ * @default "7"
3136
+ */
3137
+ "rotation": 7 | -7;
3138
+ /**
3139
+ * A URL from which to load an image.
3140
+ */
3141
+ "src": string;
3142
+ /**
3143
+ * Theme of the component.
3144
+ */
3145
+ "theme": DuetTheme;
3146
+ }
3084
3147
  interface DuetSlideout {
3085
3148
  /**
3086
3149
  * Background color. Use one of the color tokens.
@@ -4576,6 +4639,12 @@ declare global {
4576
4639
  prototype: HTMLDuetProgressElement;
4577
4640
  new (): HTMLDuetProgressElement;
4578
4641
  };
4642
+ interface HTMLDuetPromoCardElement extends Components.DuetPromoCard, HTMLStencilElement {
4643
+ }
4644
+ var HTMLDuetPromoCardElement: {
4645
+ prototype: HTMLDuetPromoCardElement;
4646
+ new (): HTMLDuetPromoCardElement;
4647
+ };
4579
4648
  interface HTMLDuetRadioElement extends Components.DuetRadio, HTMLStencilElement {
4580
4649
  }
4581
4650
  var HTMLDuetRadioElement: {
@@ -4618,6 +4687,12 @@ declare global {
4618
4687
  prototype: HTMLDuetSelectElement;
4619
4688
  new (): HTMLDuetSelectElement;
4620
4689
  };
4690
+ interface HTMLDuetShapedImageElement extends Components.DuetShapedImage, HTMLStencilElement {
4691
+ }
4692
+ var HTMLDuetShapedImageElement: {
4693
+ prototype: HTMLDuetShapedImageElement;
4694
+ new (): HTMLDuetShapedImageElement;
4695
+ };
4621
4696
  interface HTMLDuetSlideoutElement extends Components.DuetSlideout, HTMLStencilElement {
4622
4697
  }
4623
4698
  var HTMLDuetSlideoutElement: {
@@ -4833,6 +4908,7 @@ declare global {
4833
4908
  "duet-pagination": HTMLDuetPaginationElement;
4834
4909
  "duet-paragraph": HTMLDuetParagraphElement;
4835
4910
  "duet-progress": HTMLDuetProgressElement;
4911
+ "duet-promo-card": HTMLDuetPromoCardElement;
4836
4912
  "duet-radio": HTMLDuetRadioElement;
4837
4913
  "duet-radio-group": HTMLDuetRadioGroupElement;
4838
4914
  "duet-range-slider": HTMLDuetRangeSliderElement;
@@ -4840,6 +4916,7 @@ declare global {
4840
4916
  "duet-scrollable": HTMLDuetScrollableElement;
4841
4917
  "duet-section-layout": HTMLDuetSectionLayoutElement;
4842
4918
  "duet-select": HTMLDuetSelectElement;
4919
+ "duet-shaped-image": HTMLDuetShapedImageElement;
4843
4920
  "duet-slideout": HTMLDuetSlideoutElement;
4844
4921
  "duet-slideout-lang": HTMLDuetSlideoutLangElement;
4845
4922
  "duet-slideout-link": HTMLDuetSlideoutLinkElement;
@@ -5717,7 +5794,7 @@ declare namespace LocalJSX {
5717
5794
  */
5718
5795
  "minCharacters"?: number;
5719
5796
  /**
5720
- * Emitted when a keyboard input occurred.
5797
+ * Emitted when selected item changed.
5721
5798
  */
5722
5799
  "onDuetChange"?: (event: DuetComboboxCustomEvent<DuetComboboxEvent>) => void;
5723
5800
  /**
@@ -6821,7 +6898,13 @@ declare namespace LocalJSX {
6821
6898
  interface DuetListItem {
6822
6899
  }
6823
6900
  interface DuetLogo {
6901
+ /**
6902
+ * Accessible label. Defaults to what is in accessibleLabelDefaults prop.
6903
+ */
6824
6904
  "accessibleLabel"?: string;
6905
+ /**
6906
+ * Default translations for accessible label.
6907
+ */
6825
6908
  "accessibleLabelDefaults"?: DuetLangObject;
6826
6909
  /**
6827
6910
  * Where the logo links to.
@@ -7553,6 +7636,32 @@ declare namespace LocalJSX {
7553
7636
  */
7554
7637
  "theme"?: DuetTheme;
7555
7638
  }
7639
+ interface DuetPromoCard {
7640
+ /**
7641
+ * Background color.
7642
+ */
7643
+ "backgroundColor"?: DuetColor | "";
7644
+ /**
7645
+ * The actual heading level used in the HTML markup.
7646
+ */
7647
+ "headingLevel"?: DuetHeadingLevel;
7648
+ /**
7649
+ * Image. Example image is 512x341;
7650
+ */
7651
+ "image"?: string;
7652
+ /**
7653
+ * Controls the margin of the component.
7654
+ */
7655
+ "margin"?: DuetMargin;
7656
+ /**
7657
+ * Text color.
7658
+ */
7659
+ "textColor"?: DuetColor;
7660
+ /**
7661
+ * Theme.
7662
+ */
7663
+ "theme"?: DuetTheme;
7664
+ }
7556
7665
  interface DuetRadio {
7557
7666
  /**
7558
7667
  * Indicates the id of a related component’s visually focused element.
@@ -7825,6 +7934,18 @@ declare namespace LocalJSX {
7825
7934
  "total"?: number;
7826
7935
  }
7827
7936
  interface DuetScrollable {
7937
+ /**
7938
+ * Whether or not include previous and forward buttons. Defaults to true.
7939
+ */
7940
+ "buttons"?: boolean;
7941
+ /**
7942
+ * Center the scrollable list. Defaults to false.
7943
+ */
7944
+ "center"?: boolean;
7945
+ /**
7946
+ * Boolean to collapse scrollable items into normal flow.
7947
+ */
7948
+ "collapsed"?: boolean;
7828
7949
  /**
7829
7950
  * Optional identifier to add to buttons in the tab group
7830
7951
  */
@@ -7958,6 +8079,25 @@ declare namespace LocalJSX {
7958
8079
  */
7959
8080
  "variation"?: DuetSelectVariation;
7960
8081
  }
8082
+ interface DuetShapedImage {
8083
+ /**
8084
+ * Adds accessible label for the image that is only shown for screen readers.
8085
+ */
8086
+ "accessibleLabel"?: string;
8087
+ /**
8088
+ * Rotation. Note: in 'turva' theme there's no rotation.
8089
+ * @default "7"
8090
+ */
8091
+ "rotation"?: 7 | -7;
8092
+ /**
8093
+ * A URL from which to load an image.
8094
+ */
8095
+ "src"?: string;
8096
+ /**
8097
+ * Theme of the component.
8098
+ */
8099
+ "theme"?: DuetTheme;
8100
+ }
7961
8101
  interface DuetSlideout {
7962
8102
  /**
7963
8103
  * Background color. Use one of the color tokens.
@@ -9073,6 +9213,7 @@ declare namespace LocalJSX {
9073
9213
  "duet-pagination": DuetPagination;
9074
9214
  "duet-paragraph": DuetParagraph;
9075
9215
  "duet-progress": DuetProgress;
9216
+ "duet-promo-card": DuetPromoCard;
9076
9217
  "duet-radio": DuetRadio;
9077
9218
  "duet-radio-group": DuetRadioGroup;
9078
9219
  "duet-range-slider": DuetRangeSlider;
@@ -9080,6 +9221,7 @@ declare namespace LocalJSX {
9080
9221
  "duet-scrollable": DuetScrollable;
9081
9222
  "duet-section-layout": DuetSectionLayout;
9082
9223
  "duet-select": DuetSelect;
9224
+ "duet-shaped-image": DuetShapedImage;
9083
9225
  "duet-slideout": DuetSlideout;
9084
9226
  "duet-slideout-lang": DuetSlideoutLang;
9085
9227
  "duet-slideout-link": DuetSlideoutLink;
@@ -9165,6 +9307,7 @@ declare module "@stencil/core" {
9165
9307
  "duet-pagination": LocalJSX.DuetPagination & JSXBase.HTMLAttributes<HTMLDuetPaginationElement>;
9166
9308
  "duet-paragraph": LocalJSX.DuetParagraph & JSXBase.HTMLAttributes<HTMLDuetParagraphElement>;
9167
9309
  "duet-progress": LocalJSX.DuetProgress & JSXBase.HTMLAttributes<HTMLDuetProgressElement>;
9310
+ "duet-promo-card": LocalJSX.DuetPromoCard & JSXBase.HTMLAttributes<HTMLDuetPromoCardElement>;
9168
9311
  "duet-radio": LocalJSX.DuetRadio & JSXBase.HTMLAttributes<HTMLDuetRadioElement>;
9169
9312
  "duet-radio-group": LocalJSX.DuetRadioGroup & JSXBase.HTMLAttributes<HTMLDuetRadioGroupElement>;
9170
9313
  "duet-range-slider": LocalJSX.DuetRangeSlider & JSXBase.HTMLAttributes<HTMLDuetRangeSliderElement>;
@@ -9172,6 +9315,7 @@ declare module "@stencil/core" {
9172
9315
  "duet-scrollable": LocalJSX.DuetScrollable & JSXBase.HTMLAttributes<HTMLDuetScrollableElement>;
9173
9316
  "duet-section-layout": LocalJSX.DuetSectionLayout & JSXBase.HTMLAttributes<HTMLDuetSectionLayoutElement>;
9174
9317
  "duet-select": LocalJSX.DuetSelect & JSXBase.HTMLAttributes<HTMLDuetSelectElement>;
9318
+ "duet-shaped-image": LocalJSX.DuetShapedImage & JSXBase.HTMLAttributes<HTMLDuetShapedImageElement>;
9175
9319
  "duet-slideout": LocalJSX.DuetSlideout & JSXBase.HTMLAttributes<HTMLDuetSlideoutElement>;
9176
9320
  "duet-slideout-lang": LocalJSX.DuetSlideoutLang & JSXBase.HTMLAttributes<HTMLDuetSlideoutLangElement>;
9177
9321
  "duet-slideout-link": LocalJSX.DuetSlideoutLink & JSXBase.HTMLAttributes<HTMLDuetSlideoutLinkElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duetds/components",
3
- "version": "6.9.10",
3
+ "version": "6.10.1",
4
4
  "description": "This package includes Duet Design System Web Components and related utilities.",
5
5
  "bugs": {
6
6
  "email": "duetdesignsystem@lahitapiola.fi"
@@ -51,9 +51,9 @@
51
51
  "body-scroll-lock": "3.1.5"
52
52
  },
53
53
  "devDependencies": {
54
- "@duetds/fonts": "2.0.57",
55
- "@duetds/icons": "3.0.57",
56
- "@duetds/tokens": "3.0.57",
54
+ "@duetds/fonts": "2.0.59",
55
+ "@duetds/icons": "3.0.59",
56
+ "@duetds/tokens": "3.0.59",
57
57
  "@rollup/plugin-replace": "5.0.2",
58
58
  "@stencil/core": "3.1.0",
59
59
  "@stencil/sass": "3.0.0",
@@ -79,5 +79,5 @@
79
79
  "collection": "lib/collection/collection-manifest.json",
80
80
  "es2015": "lib/esm/index.js",
81
81
  "es2017": "lib/esm/index.js",
82
- "gitHead": "f71ae988af14cef853fffa17862433d9ba49942d"
82
+ "gitHead": "0242e1e4f96e14b8f561ba8c373d5f5a856972d2"
83
83
  }
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-9cfbe4c6.system.js","./p-21f3a17a.system.js"],(function(e,s){"use strict";var a,l,c,i,t,n,o;return{setters:[function(s){a=s.d;l=s.N;c=s.w;i=s.p;t=s.a;n=s.b;e("setNonce",s.s)},function(e){o=e.g}],execute:function(){function e(e){var s,a,l;return(l=(a=(s=e.head)===null||s===void 0?void 0:s.querySelector('meta[name="csp-nonce"]'))===null||a===void 0?void 0:a.getAttribute("content"))!==null&&l!==void 0?l:undefined}var b=function(e){return"__sc_import_".concat(e.replace(/\s|-/g,"_"))};var d=function(){var e=Array.from(a.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(l,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===l}));var t=(e||{})["data-opts"]||{};if("onbeforeload"in e&&!history.scrollRestoration){return{then:function(){}}}{t.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,c.location.href)).href;{r(t.resourcesUrl,e)}if(!c.customElements){return s.import("./p-6cf44bfa.system.js").then((function(){return t}))}}return i(t)};var r=function(s,i){var n=b(l);try{c[n]=new Function("w","return import(w);//".concat(Math.random()))}catch(d){var o=new Map;c[n]=function(l){var b;var d=new URL(l,s).href;var r=o.get(d);if(!r){var u=a.createElement("script");u.type="module";u.crossOrigin=i.crossOrigin;u.src=URL.createObjectURL(new Blob(["import * as m from '".concat(d,"'; window.").concat(n,".m = m;")],{type:"application/javascript"}));var p=(b=t.$nonce$)!==null&&b!==void 0?b:e(a);if(p!=null){u.setAttribute("nonce",p)}r=new Promise((function(e){u.onload=function(){e(c[n].m);u.remove()}}));o.set(d,r);a.head.appendChild(u)}return r}}};d().then((function(e){o();return n(JSON.parse('[["p-68e70b12.system",[[1,"duet-icon",{"theme":[1025],"icon":[1],"src":[1],"name":[1],"margin":[1],"responsive":[4],"color":[513],"background":[1],"backgroundOpacity":[2,"background-opacity"],"backgroundRotation":[2,"background-rotation"],"size":[1],"outline":[1],"shape":[1],"svgContent":[32]}]]],["p-d32a12af.system",[[17,"duet-link",{"variation":[1],"accessibleLabel":[1,"accessible-label"],"language":[1537],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1025,"accessible-label-external"],"identifier":[1],"theme":[1025],"url":[513],"external":[4],"tabToLink":[4,"tab-to-link"],"icon":[1],"padding":[1],"setFocus":[64]}],[1,"duet-heading",{"level":[513],"margin":[1],"visualLevel":[1,"visual-level"],"border":[8],"weight":[1],"color":[1],"theme":[1025],"hyphenate":[4]}],[1,"duet-paragraph",{"theme":[1025],"margin":[1],"size":[1],"weight":[1],"variation":[1],"color":[1]}],[1,"duet-caption",{"theme":[1025],"margin":[1],"selected":[4],"size":[1]}]]],["p-62dd2220.system",[[6,"duet-choice-group",{"direction":[1],"margin":[1],"theme":[1025],"error":[1],"name":[1],"label":[1],"labelHidden":[4,"label-hidden"],"caption":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"responsive":[4],"breakpoint":[1],"value":[1537],"disabled":[4]}],[6,"duet-choice",{"theme":[1025],"label":[1],"accessibleLabelInfoButtonDefaults":[1,"accessible-label-info-default"],"accessibleLabelInfoButton":[1025,"accessible-label-info-button"],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"caption":[1],"value":[1537],"type":[513],"name":[1],"checked":[1540],"collapsible":[4],"margin":[1],"icon":[1],"expand":[4],"padding":[1],"identifier":[1],"groupDirection":[1,"group-direction"],"groupDisabled":[4,"group-disabled"],"groupResponsive":[4,"group-responsive"],"disabled":[516],"required":[4],"infoLabelDefaults":[1,"accessible-label-info-default"],"infoLabel":[1025,"info-label"],"isHovering":[32],"isInfoOpen":[32],"isBlurred":[32],"language":[32],"setFocus":[64],"toggleInfoMethod":[64]},[[2,"blur","handleHostBlur"],[2,"keydown","handleHostKeyDown"],[2,"keyup","handleHostKeyUp"]]]]],["p-afe17a8c.system",[[1,"duet-pagination",{"theme":[1025],"jumpString":[1,"jump-string"],"variation":[1],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLabelsDefaults":[16],"accessibleLabels":[1040],"take":[2],"visibleItems":[2,"visible-items"],"total":[2],"ariaControls":[1,"accessible-controls"],"current":[1026],"numbersStore":[32],"totalPages":[32],"internalSectionIndex":[32],"language":[32]}],[1,"duet-range-stepper",{"theme":[1025],"stepIndex":[1026,"step-index"],"stepSize":[2,"step-size"],"total":[2],"ariaLabelsDefaults":[16],"ariaLabels":[1040],"ariaControls":[1,"accessible-controls"],"language":[32]}]]],["p-60f1bb77.system",[[2,"duet-date-picker",{"theme":[1025],"expand":[4],"name":[1],"identifier":[1],"label":[1],"caption":[1],"margin":[1],"language":[1537],"placeholderDefaults":[1,"placeholder-default"],"placeholder":[1025],"echoPlaceholder":[1540,"echo-placeholder"],"disabled":[516],"error":[1],"labelHidden":[4,"label-hidden"],"role":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"required":[4],"direction":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"value":[1537],"min":[1],"max":[1],"incrementYears":[2,"increment"],"validity":[1040],"open":[32],"focusedDay":[32],"inputValue":[32],"setFocus":[64],"show":[64],"hide":[64]},[[4,"click","handleDocumentClick"]]]]],["p-f01670d7.system",[[1,"duet-hero",{"theme":[1025],"heading":[1],"preHeading":[1,"pre-heading"],"level":[1],"subHeadingLevel":[1,"sub-heading-level"],"description":[1],"icon":[1],"iconSize":[1,"icon-size"],"iconRight":[4,"icon-right"],"categoryIcon":[1,"category-icon"],"categoryIconColor":[1,"category-icon-color"],"buttonLabel":[1,"button-label"],"language":[1025],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1025,"accessible-label-external"],"buttonUrl":[1,"button-url"],"buttonId":[1,"button-id"],"buttonData":[16],"textCenter":[4,"text-center"],"leftAlign":[4,"left-align"],"image":[1],"variation":[1],"back":[8],"listItems":[8,"list-items"],"actions":[8],"layout":[1025],"processedListItems":[32],"processedActions":[32],"processedBack":[32]}]]],["p-57fb4c10.system",[[2,"duet-number-input",{"language":[1025],"locale":[1],"unit":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleLiveDefaults":[1,"accessible-live-default"],"accessibleLive":[1,"accessible-live"],"accessibleLiveEnabled":[4,"accessible-live-enabled"],"accessibleAddDefaults":[1,"accessible-add-default"],"accessibleAdd":[1,"accessible-add"],"accessibleSubtractDefaults":[1,"accessible-subtract-defaults"],"accessibleSubtract":[1,"accessible-subtract"],"theme":[1025],"margin":[1],"expand":[4],"identifier":[1],"min":[2],"labelDefaults":[1,"label-default"],"label":[1],"labelHidden":[4,"label-hidden"],"max":[2],"name":[1],"error":[1],"tooltip":[1],"step":[2],"rounding":[4],"role":[1],"disabled":[516],"required":[4],"value":[1025],"focusedValue":[32],"setFocus":[64]}]]],["p-a4f56f44.system",[[1,"duet-contact-card",{"theme":[1025],"margin":[1],"image":[1025],"name":[1025],"description":[1025],"email":[1025],"phone":[1025],"buttonText":[1025,"button-text"],"buttonIcon":[1025,"button-icon"],"buttonUrl":[1025,"button-url"],"language":[32]}]]],["p-9a19bbfd.system",[[1,"duet-multiselect",{"margin":[1],"error":[1],"accessibleLiveError":[1,"accessible-live-error"],"expand":[4],"value":[1040],"theme":[1025],"labelHidden":[4,"label-hidden"],"identifier":[1],"placeholder":[1],"caption":[1],"items":[1],"disabled":[516],"label":[1],"accessibleDescribedBy":[1,"accessible-described-by"],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"processedItems":[32],"checkboxesVisible":[32],"activeDescendant":[32],"language":[32],"setFocus":[64]},[[8,"click","handleFocus"]]]]],["p-ba005a28.system",[[2,"duet-textarea",{"margin":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleAutocomplete":[1,"accessible-autocomplete"],"accessibleControls":[1,"accessible-controls"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLiveError":[1,"accessible-live-error"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"theme":[1025],"expand":[4],"disabled":[516],"identifier":[1],"required":[4],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"placeholder":[1],"caption":[1],"echoPlaceholder":[4,"echo-placeholder"],"maxlength":[2],"minlength":[2],"error":[1],"role":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"value":[1025],"disallowPattern":[1,"disallow-pattern"],"counter":[4],"counterLabel":[1,"counter-label"],"setFocus":[64]}]]],["p-74a28c46.system",[[1,"duet-modal",{"language":[1537],"accessibleCloseLabelDefaults":[1,"accessible-close-label-default"],"accessibleCloseLabel":[1025,"accessible-close-label"],"size":[1],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleLabel":[1,"accessible-label"],"accessibleDetails":[1,"accessible-details"],"accessibleDescription":[1,"accessible-description"],"gutterSize":[1,"gutter-size"],"theme":[1025],"heading":[1],"headingLevel":[1,"heading-level"],"headingVisualLevel":[1,"heading-visual-level"],"icon":[1],"color":[1],"active":[1540],"closeOnBlur":[1028,"close-on-blur"],"open":[32],"show":[64],"hide":[64]},[[8,"keyup","handleKeyUp"]]]]],["p-6479e81f.system",[[6,"duet-radio-group",{"direction":[1],"margin":[1],"theme":[1025],"error":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"name":[1],"label":[1],"labelHidden":[4,"label-hidden"],"caption":[1],"responsive":[4],"value":[1537],"disabled":[4]}],[2,"duet-radio",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleIndex":[1,"accessible-index"],"margin":[1],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"theme":[1025],"disabled":[516],"required":[4],"blockEvents":[4,"block-events"],"identifier":[1],"label":[1],"name":[1],"role":[1],"groupDisabled":[4,"group-disabled"],"groupDirection":[1,"group-direction"],"groupResponsive":[4,"group-responsive"],"checked":[1540],"value":[1537],"setFocus":[64]}]]],["p-c5188e4b.system",[[1,"duet-cookie-consent",{"accessibleLabel":[1,"accessible-label"],"theme":[1025]}]]],["p-ac8b347a.system",[[1,"duet-notification-drawer",{"icon":[1],"label":[1],"language":[1],"accessibleLabelNotificationsDefaults":[1,"accessible-label-notification-default"],"accessibleLabelNotifications":[1,"accessible-label-notifications"],"badge":[4],"theme":[1025],"direction":[1],"isOpen":[32],"hasNotifications":[32],"setFocus":[64],"open":[64],"close":[64]},[[6,"focus","handleClickFocusOutside"],[6,"click","handleClickFocusOutside"]]],[1,"duet-notification",{"language":[1537],"accessibleLabelUnreadDefaults":[16],"accessibleLabelUnread":[1025,"accessible-label-unread"],"url":[1],"date":[1],"highlight":[4],"external":[4],"theme":[1025],"setFocus":[64]}]]],["p-300d84d8.system",[[6,"duet-step",{"theme":[1025],"heading":[1],"headingLevel":[1,"heading-level"],"stepIndex":[2,"step-index"],"state":[1],"roundedTop":[4,"rounded-top"],"roundedBottom":[4,"rounded-bottom"],"setFocus":[64]}],[1,"duet-stepper",{"theme":[1025],"accessibleLive":[1,"accessible-live"],"margin":[1],"backDisabled":[4,"back-disabled"],"selected":[1538]},[[0,"duetStepClick","onDuetStepClick"]]]]],["p-8b07253d.system",[[1,"duet-banner",{"theme":[1025],"margin":[1],"backgroundColor":[1,"background-color"],"iconColor":[1,"icon-color"],"iconBackgroundColor":[1,"icon-background-color"],"textColor":[1,"text-color"],"size":[1],"image":[1],"icon":[1],"headingLevel":[1,"heading-level"]}]]],["p-fe796b12.system",[[1,"duet-footer",{"theme":[1025],"variation":[1],"margin":[1],"logoHref":[1,"logo-href"],"language":[1537],"items":[8],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1025,"accessible-label-external"],"menu":[8],"processedMainItem":[32],"processedItems":[32],"processedMenu":[32]}]]],["p-0078459e.system",[[1,"duet-callout",{"theme":[1025],"margin":[1]}]]],["p-ec288074.system",[[1,"duet-card",{"accessibleLabel":[1,"accessible-label"],"heading":[1],"secondaryHeading":[1,"secondary-heading"],"variation":[1],"collapsible":[4],"open":[1540],"headingLevel":[1,"heading-level"],"headingBackground":[1,"heading-background"],"icon":[1],"image":[1],"background":[1],"padding":[1],"margin":[1],"theme":[1025],"url":[1],"shadowBreakpoint":[1,"shadow-breakpoint"],"setFocus":[64]}]]],["p-318c864c.system",[[1,"duet-tray",{"language":[1025],"accessibleCloseLabelDefaults":[1,"accessible-close-label-default"],"accessibleCloseLabel":[1,"accessible-close-label"],"accessibleOpenLabelDefaults":[1,"accessible-open-label-default"],"accessibleOpenLabel":[1,"accessible-open-label"],"theme":[1025],"active":[516],"autoHide":[4,"auto-hide"],"responsive":[4],"expanded":[32],"hiddenState":[32]},[[9,"scroll","getFrame"],[16,"click","handleBodyClick"]]]]],["p-8a167ae6.system",[[1,"duet-breadcrumb",{"theme":[1025],"href":[1025],"icon":[1025],"accessibleLabel":[1,"accessible-label"]}]]],["p-f0d8a1eb.system",[[1,"duet-breadcrumbs",{"theme":[1025],"variation":[1],"children":[32]}]]],["p-ee9a7c47.system",[[1,"duet-collapsible",{"theme":[1025],"accessibleLabel":[1,"accessible-label"],"heading":[1],"centerHeading":[4,"center-heading"],"headingWeight":[1,"heading-weight"],"headingSize":[1,"heading-size"],"headingLevel":[1,"heading-level"],"margin":[1],"open":[1540],"setFocus":[64]}]]],["p-4eee6079.system",[[6,"duet-combobox",{"accessibleLabelDefaults":[1,"accessible-label-defaults"],"accessibleLabels":[1040],"theme":[1025],"force":[4],"items":[1032],"formatter":[16],"value":[1537],"minCharacters":[2,"min-characters"],"openListOnClick":[4,"open-list-on-click"],"filterType":[1,"filter-type"],"processedItems":[32],"inputWidth":[32],"inputValue":[32],"selectionMsg":[32],"listOpen":[32],"selectedItems":[32],"activeItem":[32],"language":[32],"formatItem":[64]},[[4,"click","handleDocumentClick"]]]]],["p-663a1b00.system",[[1,"duet-menu-bar",{"theme":[1025],"logo":[1028],"logoHref":[1025,"logo-href"],"logoLinkAccessibleLabel":[1025,"logo-link-accessible-label"],"accessibleLabel":[1,"accessible-label"],"logoSize":[32],"leftMoreVisible":[32],"rightMoreVisible":[32]},[[9,"resize","onWindowResize"]]]]],["p-6340a39a.system",[[1,"duet-menu-bar-button",{"accessibleLabel":[1,"accessible-label"],"accessibleControls":[1,"accessible-controls"],"accessiblePopup":[1,"accessible-popup"],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleExpanded":[4,"accessible-expanded"],"accessiblePressed":[4,"accessible-pressed"],"theme":[1025],"icon":[1537],"iconSize":[32],"setFocus":[64]}]]],["p-74632443.system",[[1,"duet-menu-bar-dropdown",{"accessibleLabel":[1,"accessible-label"],"theme":[1025],"open":[1540],"icon":[1537],"iconSize":[32],"setFocus":[64]},[[8,"click","handleFocus"]]]]],["p-a0de576b.system",[[1,"duet-menu-bar-dropdown-link",{"theme":[1025],"href":[1025],"icon":[1537],"accessibleLabel":[1,"accessible-label"]}]]],["p-52cd6d96.system",[[1,"duet-menu-bar-link",{"theme":[1025],"active":[1028],"href":[1025],"icon":[1537],"accessibleLabel":[1,"accessible-label"],"iconSize":[32]}]]],["p-014d4b6c.system",[[1,"duet-page-heading",{"theme":[1025],"icon":[1025],"layout":[1025]}]]],["p-9561f320.system",[[2,"duet-range-slider",{"theme":[1025],"margin":[1],"expand":[4],"identifier":[1],"name":[1],"required":[4],"disabled":[516],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"min":[2],"label":[1],"labelHidden":[4,"label-hidden"],"unit":[1],"max":[2],"step":[2],"locale":[1],"value":[1026],"debounce":[2],"setFocus":[64]}]]],["p-1fcc523f.system",[[1,"duet-slideout",{"theme":[1025],"open":[1540],"backgroundColor":[1537,"background-color"],"language":[32],"toggle":[64],"setFocus":[64]},[[8,"keyup","handleKeyUp"]]]]],["p-e3f34e71.system",[[1,"duet-slideout-lang",{"theme":[1025],"language":[32]}]]],["p-5d90c88a.system",[[1,"duet-slideout-link",{"accessibleLabel":[1,"accessible-label"],"theme":[1025],"targetLanguage":[1,"target-language"],"active":[1028],"href":[1025],"icon":[1537],"size":[1537],"caret":[1028],"menuItem":[4,"menu-item"]}]]],["p-1cf6a781.system",[[1,"duet-slideout-panel",{"theme":[1025],"active":[1540],"open":[1540],"icon":[1537],"labelSize":[1537,"label-size"],"backgroundColor":[1537,"background-color"],"label":[32],"language":[32],"setFocus":[64]}]]],["p-ba15a37d.system",[[1,"duet-slideout-panel-dropdown",{"theme":[1025],"active":[1540],"open":[1540],"icon":[1537],"setFocus":[64]},[[8,"click","handleFocus"]]]]],["p-568e2324.system",[[1,"duet-submenu-bar",{"theme":[1025],"open":[1540],"accessibleLabel":[1,"accessible-label"],"mobile":[32],"bodyScroll":[32],"setFocus":[64]}]]],["p-0dc041eb.system",[[1,"duet-submenu-bar-dropdown",{"theme":[1025],"active":[1028],"open":[1540],"icon":[1537],"isDesktop":[32],"iconSize":[32],"setFocus":[64]},[[8,"click","handleFocus"]]]]],["p-e382ca90.system",[[1,"duet-submenu-bar-dropdown-link",{"theme":[1025],"active":[1028],"href":[1025],"icon":[1537],"caret":[1028],"highlight":[1028]}]]],["p-7c7ba815.system",[[1,"duet-submenu-bar-link",{"theme":[1025],"active":[1028],"href":[1025],"icon":[1537],"iconSize":[32]}]]],["p-3f1b91f3.system",[[2,"duet-toggle",{"theme":[1025],"margin":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"label":[1],"labelPosition":[1,"label-position"],"required":[4],"disabled":[516],"checked":[1540],"value":[1537],"identifier":[1],"name":[1],"role":[1],"setFocus":[64]}]]],["p-dbb8bf49.system",[[1,"duet-toolbar-dropdown",{"theme":[1025],"accessibleLabel":[1,"accessible-label"],"active":[1540],"open":[1540],"icon":[1537],"setFocus":[64]},[[8,"click","handleFocus"]]]]],["p-eb8d91f5.system",[[1,"duet-toolbar-dropdown-link",{"accessibleLabel":[1,"accessible-label"],"theme":[1025],"targetLanguage":[1,"target-language"],"href":[1025],"icon":[1537],"active":[1028]}]]],["p-b8df8fd1.system",[[1,"duet-toolbar-link",{"theme":[1025],"active":[1028],"href":[1025],"icon":[1537],"accessibleLabel":[1,"accessible-label"]}]]],["p-bb2072aa.system",[[1,"duet-layout",{"sticky":[4],"margin":[1],"stickyDistance":[1,"sticky-distance"],"center":[4],"tabs":[4],"middle":[4],"paddingBreakpoint":[1,"padding-breakpoint"]}]]],["p-494839fd.system",[[1,"duet-nav",{"theme":[1025]}]]],["p-a0893e5e.system",[[1,"duet-section-layout",{"margin":[1],"middle":[4]}]]],["p-2c2d886e.system",[[1,"duet-toolbar",{"theme":[1025],"accessibleLabel":[1,"accessible-label"]}]]],["p-40ec6285.system",[[2,"duet-select",{"variation":[1],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleDescribedBy":[1,"accessible-described-by"],"margin":[1],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"error":[1],"accessibleLiveError":[1,"accessible-live-error"],"expand":[4],"value":[1537],"theme":[1025],"labelHidden":[4,"label-hidden"],"identifier":[1],"name":[1],"placeholder":[1],"caption":[1],"echoPlaceholder":[4,"echo-placeholder"],"items":[1],"disabled":[516],"required":[4],"label":[1],"role":[1],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"processedItems":[32],"setFocus":[64]}]]],["p-c6ec0a1b.system",[[1,"duet-alert",{"theme":[1025],"accessibleLabelDefaults":[1,"accessible-label-default"],"accessibleLabel":[1025,"accessible-label"],"announcements":[4],"icon":[1],"autoDismiss":[2,"auto-dismiss"],"margin":[1],"padding":[1],"variation":[1],"dismissible":[4],"isDismissed":[32],"timeoutID":[32],"language":[32],"show":[64],"hide":[64]}]]],["p-97daa409.system",[[0,"duet-progress",{"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLabel":[1,"accessible-label"],"accessibleLabelUploadDefaults":[1,"accessible-label-upload-defaults"],"accessibleLabelUpload":[1,"accessible-label-upload"],"progress":[1538],"caption":[1],"height":[1],"theme":[1025]}]]],["p-aae8f419.system",[[1,"duet-upload-aria-status",{"statusMessageLabel":[16],"accessibleAriaLive":[1,"accessible-aria-live"],"valid":[2],"total":[2],"invalid":[2],"inprogress":[2],"statusMessage":[32]}]]],["p-956e3be4.system",[[1,"duet-upload",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"external":[4],"middleware":[16],"deferUpload":[4,"defer-upload"],"hideButton":[4,"hide-upload-button"],"actions":[16],"uri":[1],"showLinks":[4,"show-links"],"caption":[1],"statusLabelDefaults":[1,"status-label-default"],"statusMessageLabel":[1,"status-message-label"],"buttonLabelDefaults":[1,"button-label-default"],"buttonLabel":[1,"button-label"],"accessibleButtonLabel":[1,"accessible-button-label"],"theme":[1025],"disabled":[516],"identifier":[1],"margin":[1],"required":[4],"alignment":[1],"hideGroups":[4,"hide-table-labels"],"files":[1040],"valid":[1540],"labelDefaults":[1,"label-default"],"label":[1],"descriptionDefaults":[1,"description-default"],"description":[1],"fileListEmptyDefaults":[1,"list-empty-default"],"fileListEmpty":[1,"file-list-empty"],"error":[1],"errorCodes":[16],"name":[1],"maxBytes":[2,"max-bytes"],"maxBytesTotal":[2,"max-bytes-total"],"maxFiles":[2,"max-files"],"allowedExtensions":[1,"allowed-extensions"],"allowedMimetypes":[1,"allowed-mimetypes"],"multiple":[4],"limitSelection":[4,"limit-selection"],"value":[1025],"externalUploadButtonId":[1,"external-upload-button-id"],"captionOnBottom":[4,"caption-on-bottom"],"showUploadedItemsHeader":[4,"show-uploaded-items-header"],"uploadedItemsHeaderLabel":[16],"hideHeader":[4,"hide-header"],"groups":[16],"tick":[32],"setFocus":[64],"upload":[64],"uploadPending":[64],"refresh":[64],"getFiles":[64],"updateValue":[64]}],[6,"duet-editable-table",{"margin":[1],"variation":[1],"sticky":[4],"stickyDistance":[1,"sticky-distance"],"breakpoint":[1],"actions":[1040],"columns":[1040],"rows":[1040],"sortable":[4],"groupId":[1,"group-id"],"theme":[1025],"accessibleRole":[1,"accessible-role"],"hideHeadVisually":[4,"hide-head-visually"],"language":[32]}],[4,"duet-table",{"theme":[1025],"margin":[1],"variation":[1],"sticky":[4],"stickyDistance":[1,"sticky-distance"],"breakpoint":[1],"hideHeadVisually":[4,"hide-head-visually"],"matchesBreakpoint":[32],"language":[32]}]]],["p-a52a67d9.system",[[2,"duet-checkbox",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"margin":[1],"accessibleControls":[1,"accessible-controls"],"accessibleIndex":[1,"accessible-index"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleSelected":[1,"accessible-selected"],"required":[4],"theme":[1025],"disabled":[516],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"role":[1],"checked":[1540],"value":[1537],"setFocus":[64]}]]],["p-22cc9bdf.system",[[0,"duet-checkmark",{"theme":[1025],"checked":[1028],"presentationOnly":[4,"presentation-only"],"center":[4],"type":[513]}]]],["p-f1473c58.system",[[1,"duet-tab-group",{"theme":[1025],"scrolls":[4],"collapses":[4],"accessibleLabel":[1,"accessible-label"],"variation":[1],"language":[1025],"labelDefaults":[1,"label-default"],"label":[1],"labelHidden":[4,"label-hidden"],"identifier":[1],"margin":[1],"padding":[1],"setTabIndex":[4,"set-tab-index"],"tabChangeConfirm":[4,"tab-change-confirm"],"tabs":[32],"selected":[32],"openTab":[64],"refresh":[64]}],[6,"duet-tab",{"label":[513],"caption":[513],"selected":[516],"accessibleDescriptionDefault":[1,"accessible-description-defaults"],"accessibleDescription":[1,"accessible-description"]}],[1,"duet-scrollable",{"theme":[1025],"identifier":[1],"selected":[1026],"tablistAtStart":[32],"isTabContentSmallerThanWrapper":[32],"tablistAtEnd":[32],"childrenData":[32]}]]],["p-0e19469a.system",[[1,"duet-empty-state",{"theme":[1025],"icon":[1],"size":[1]}]]],["p-845ffc2a.system",[[2,"duet-grid",{"responsive":[4],"breakpoint":[1],"direction":[1],"rowReverse":[4,"row-reverse"],"alignment":[1],"distribution":[1],"mobile":[1],"distributeFormElement":[32]}],[2,"duet-grid-item",{"fill":[4],"maxWidth":[1,"max-width"],"minWidth":[1,"min-width"],"theme":[1025],"margin":[1],"responsive":[4],"direction":[1],"breakpoint":[1]}]]],["p-7f01eb8a.system",[[1,"duet-list",{"theme":[1025],"margin":[1],"padding":[1],"mobile":[1],"breakpoint":[1],"variation":[1],"labelWidth":[1,"label-width"],"responsive":[4]}],[1,"duet-list-item",{"responsive":[4],"breakpoint":[1]}]]],["p-cdb71ba7.system",[[1,"duet-fieldset",{"theme":[1025],"margin":[1],"caption":[1],"label":[1],"error":[1],"accessibleLiveError":[1,"accessible-live-error"],"labelHidden":[4,"label-hidden"],"hasTooltip":[32]}]]],["p-f9527a83.system",[[1,"duet-badge",{"theme":[1025],"variation":[1],"background":[1],"margin":[1]}]]],["p-a1cc1a3e.system",[[1,"duet-visually-hidden"]]],["p-70700295.system",[[1,"duet-header",{"theme":[1025],"language":[1025],"accessibleI18nLabelsDefaults":[1,"accessible-labels-default"],"accessibleI18nLabels":[1040],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1025,"accessible-label-external"],"accessibleLabelDefaults":[1,"accessible-label-default"],"accessibleLabel":[1025,"accessible-label"],"user":[8],"logoHref":[1,"logo-href"],"currentHref":[1025,"current-href"],"skipToId":[1,"skip-to-id"],"items":[8],"region":[1],"session":[8],"search":[8],"back":[8],"contact":[1],"contactItems":[8,"contact-items"],"languageItems":[8,"language-items"],"isContactOpen":[32],"isLanguageOpen":[32],"isSessionOpen":[32],"isSlideOutOpen":[32],"isSegmentOpen":[32],"openMenu":[32],"closedActives":[32],"processedItems":[32],"processedLanguageItems":[32],"processedContactItems":[32],"processedSession":[32],"processedSearch":[32],"processedUser":[32],"processedBack":[32],"renderDesktopNav":[32],"closeMenus":[64],"setFocus":[64]},[[8,"keyup","handleKeyUp"],[8,"keydown","handleKeyDown"],[4,"focus","handleDocumentClick"],[4,"click","handleDocumentClick"]]],[1,"duet-logo",{"theme":[1025],"margin":[1],"inverse":[4],"size":[1],"href":[1537],"accessibleLabelDefaults":[1040],"accessibleLabel":[1537,"accessible-label"],"language":[1537],"setFocus":[64]}]]],["p-1ccb52e7.system",[[1,"duet-action-button",{"theme":[1025],"iconName":[1,"icon-name"],"iconColor":[1,"icon-color"],"iconSize":[1,"icon-size"],"actionName":[1,"action-name"],"actionId":[1,"action-id"],"actionMeta":[1,"action-meta"],"disabled":[4],"color":[513],"background":[1],"accessibleTitle":[8,"title"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLabelsDefaults":[16],"accessibleLabel":[1025,"accessible-label"],"accessibleControls":[1,"accessible-controls"],"numbersStore":[32],"language":[32],"setFocus":[64]}]]],["p-fd848c0b.system",[[1,"duet-tooltip",{"theme":[1025],"language":[1025],"accessibleLabelDefault":[1,"accessible-label-default"],"accessibleLabel":[1025,"accessible-label"],"accessibleInputLabel":[1,"accessible-input-label"],"accessibleCloseLabelDefault":[1,"accessible-close-label-default"],"accessibleCloseLabel":[1025,"accessible-close-label"],"label":[1],"breakpoint":[1],"direction":[1],"positionVertical":[513,"position-vertical"],"positionHorizontal":[513,"position-horizontal"],"active":[1540],"placement":[32],"tooltipY":[32],"tooltipX":[32],"arrowX":[32],"arrowY":[32]},[[9,"scroll","onScroll"],[9,"resize","handleWindowResize"],[4,"click","handleDocumentClick"]]]]],["p-ea75158f.system",[[1,"duet-divider",{"theme":[1025],"margin":[1],"color":[1]}],[1,"duet-spacer",{"size":[1],"direction":[1],"breakpoint":[1]}]]],["p-ec05dc99.system",[[1,"duet-button",{"accessibleLabel":[1,"accessible-label"],"accessibleControls":[1,"accessible-controls"],"accessiblePopup":[1,"accessible-popup"],"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleOwns":[1,"accessible-owns"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleExpanded":[4,"accessible-expanded"],"accessiblePressed":[4,"accessible-pressed"],"loading":[4],"variation":[1],"negative":[4],"theme":[1025],"margin":[1],"padding":[1],"centerText":[4,"center-text"],"wrapping":[1],"expand":[4],"fixed":[4],"disabled":[516],"name":[1],"value":[1],"identifier":[1],"submit":[516],"external":[4],"language":[1537],"accessibleLabelExternalDefaults":[1,"accessible-label-external-default"],"accessibleLabelExternal":[1025,"accessible-label-external"],"icon":[1],"color":[1],"iconRight":[4,"icon-right"],"iconSize":[1,"icon-size"],"size":[1],"iconOnly":[4,"icon-only"],"url":[513],"setFocus":[64]}],[1,"duet-spinner",{"accessibleLabel":[1,"accessible-label"],"color":[1],"size":[1],"theme":[1025]}]]],["p-58f523e4.system",[[6,"duet-input",{"accessibleActiveDescendant":[1,"accessible-active-descendant"],"accessibleAutocomplete":[1,"accessible-autocomplete"],"accessibleControls":[1,"accessible-controls"],"accessibleOwns":[1,"accessible-owns"],"accessibleExpanded":[1,"accessible-expanded"],"accessibleDescribedBy":[1,"accessible-described-by"],"accessibleHasPopup":[1,"accessible-has-popup"],"accessibleDetails":[1,"accessible-details"],"accessibleLabelledBy":[1,"accessible-labelled-by"],"accessibleDescription":[1,"accessible-description"],"accessibleLiveError":[1,"accessible-live-error"],"debounce":[2],"clear":[4],"caption":[1],"echoPlaceholder":[4,"echo-placeholder"],"theme":[1025],"expand":[4],"disabled":[516],"identifier":[1],"margin":[1],"required":[4],"type":[1],"variation":[1],"label":[1025],"error":[1],"labelHidden":[4,"label-hidden"],"numericKeyboard":[4,"numeric-keyboard"],"name":[1],"pattern":[1],"maxlength":[2],"minlength":[2],"placeholder":[1],"component":[1],"role":[1],"icon":[1],"autoComplete":[1,"auto-complete"],"disallowPattern":[1,"disallow-pattern"],"value":[1025],"tooltip":[1],"tooltipDirection":[1,"tooltip-direction"],"language":[32],"isPasswordRevealed":[32],"isFocused":[32],"setFocus":[64],"resetCursor":[64],"clearInput":[64]}],[6,"duet-label",{"theme":[1025],"for":[1],"margin":[1],"size":[1]}]]]]'),e)}))}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as e,h as i,H as n,g as s}from"./p-3d86bdaa.js";import{i as u}from"./p-4ebf1618.js";import{c as r}from"./p-c1325e35.js";import{a,b as o,c as h,d,e as b}from"./p-f077c646.js";import{g as l,b as m,a as c}from"./p-076452be.js";import"./p-5a9d75e1.js";function p(t,e){let i;if("string"==typeof t){let n=t.replace("−","-").replace("‐","-").replace("−","-").replace("–","-").replace("—","-");e&&(n=function(t,e,i=!1){let n;const s=new Intl.NumberFormat(e).format(.5).replace(/[0-9]/g,""),u=new Intl.NumberFormat("en-US").format(.5).replace(/[0-9]/g,""),r=new Intl.NumberFormat(e).format(1e3).replace(/[0-9]/g,""),a=new Intl.NumberFormat("en-US").format(1e3).replace(/[0-9]/g,"");return n=t.replace(s,"DECIMALSEPARATOR"),n=n.replace(r,i?"THOUSANDSEPARATOR":""),n=n.replace("DECIMALSEPARATOR",u),n=n.replace("THOUSANDSEPARATOR",a),n}(n,e,!1)),n=n.replace(/\s+/g,""),n=n.replace(/(?!^-?\d*\.{0,1}\d+$)/g,""),i=parseFloat(n)}if("number"==typeof t&&(i=parseFloat(String(t))),!isNaN(Number(i)))return Number(i);if(null==t)return null;throw new Error("Invalid value passed to SafeParseFloat")}const g=(t,e,i)=>Math.min(Math.max(t,e),i),v=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetInput=e(this,"duetInput",3),this.duetBlur=e(this,"duetBlur",7),this.duetFocus=e(this,"duetFocus",7),this.inputId=r("DuetInput"),this.handleFocus=()=>{this.focusedValue=this.value},this.handleKeyDown=t=>{a(t)||o(t)?this.add(t):h(t)||d(t)?this.subtract(t):b(t)&&this.clearValue()},this.handleChange=t=>{const e=t.target;if(e&&e.value)try{let i=p(e.value,this.locale);(isNaN(i)||null==i)&&(i=this.min||0),this.setValue(i),this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:p(this.value,this.locale).toString(),valueAsNumber:i})}catch(i){this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})}else this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})},this.handleBlur=t=>{const e=t.target;var i;if(e)if(e.value)try{let n=p(e.value,this.locale);this.rounding&&(i=this.step,n=Math.round(n/i)*i),n=g(n,this.min,this.max),n===p(this.value,this.locale)&&n===p(this.focusedValue,this.locale)||(this.setValue(n),this.emitChange(t))}catch(n){this.emitNull(t)}else this.emitNull(t)},this.emitChange=t=>{const e=p(this.value,this.locale);this.duetChange.emit({originalEvent:t,value:e.toString(),valueAsNumber:e,component:"duet-number-input"})},this.emitNull=t=>{this.duetChange.emit({originalEvent:t,value:null,valueAsNumber:null,component:"duet-number-input"})},this.localizeValue=t=>t.toLocaleString(this.locale),this.setValue=t=>{this.value=this.localizeValue(t),this.duetInputElement.value=`${this.value} ${this.unit}`},this.add=t=>{t&&t.preventDefault();const e=p(this.value,this.locale);if(e===this.max)return;let i=null==e?this.min:e+this.step;i%this.step!=0&&(i-=i%this.step);const n=g(i,this.min,this.max);this.value=this.localizeValue(n),this.emitChange(t)},this.subtract=t=>{t&&t.preventDefault();const e=p(this.value,this.locale);if(e===this.min)return;let i=e-this.step;i%this.step!=0&&(i+=this.step-i%this.step),i=g(i,this.min,this.max),this.value=this.localizeValue(i),this.emitChange(t)},this.language=l(),this.locale=m(this.language).locale,this.unit=m(this.language).money,this.focusedValue=void 0,this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleLiveDefaults={fi:"{current} euroa valittuna",en:"{current} euros selected",sv:"{current} euro valt"},this.accessibleLive=c(this.accessibleLiveDefaults,this.language),this.accessibleLiveEnabled=!0,this.accessibleAddDefaults={fi:"Lisää summaan",en:"Add to the amount",sv:"Lägg till beloppet"},this.accessibleAdd=c(this.accessibleAddDefaults,this.language),this.accessibleSubtractDefaults={fi:"Vähennä summasta",en:"Subtract from the amount",sv:"Dra från beloppet"},this.accessibleSubtract=c(this.accessibleSubtractDefaults,this.language),this.theme="",this.margin="auto",this.expand=!1,this.identifier=void 0,this.min=0,this.labelDefaults={fi:"Nimilappu",en:"Label",sv:"Etikett"},this.label=c(this.labelDefaults,this.language),this.labelHidden=!1,this.max=1e6,this.name=void 0,this.error="",this.tooltip="",this.step=5e3,this.rounding=!0,this.role=void 0,this.disabled=!1,this.required=!1,this.value=void 0}componentWillLoad(){u(this),this.value&&(this.value=this.localizeValue(p(this.value,this.locale)))}async setFocus(t){this.duetInputElement.setFocus(t)}clearValue(){this.value=null,this.duetInputElement.value=""}formatAnnouncement(){const t=this.value?p(this.value,this.locale):null;return null==t?"":this.accessibleLive.replace("{current}",t.toString(10))}render(){const t=this.identifier||this.inputId,e=`${this.localizeValue(this.max)} ${this.unit}`.length,s=this.value?p(this.value,this.locale):null;return i(n,{class:{"duet-theme-turva":"turva"===this.theme,"duet-expand":this.expand,"duet-m-0":"none"===this.margin}},i("div",{class:"duet-number-container"},i("duet-input",{ref:t=>this.duetInputElement=t,onDuetChange:t=>this.handleChange(t),onDuetFocus:this.handleFocus,onDuetBlur:t=>this.handleBlur(t),onKeyDown:t=>this.handleKeyDown(t),label:this.label,value:this.value?`${this.value} ${this.unit}`:"",error:this.error,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":null!=s?s:"",maxlength:e,name:this.name,component:"number",required:this.required,disabled:this.disabled,role:this.role,labelHidden:this.labelHidden,tooltip:this.tooltip,identifier:t,theme:this.theme,margin:"none",expand:!0,numericKeyboard:!0,autoComplete:"off",type:"text",accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleLabelledBy:this.accessibleLabelledBy,accessibleDescription:this.accessibleDescription,accessibleDetails:this.accessibleDetails,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy},i("div",{class:{"duet-number-buttons":!0,"duet-no-label":this.labelHidden}},i("button",{"aria-controls":t,disabled:this.disabled,"aria-disabled":null==s||s===this.min?"true":"false",class:"duet-number-button duet-number-button-subtract",onClick:this.subtract,type:"button"},i("duet-visually-hidden",null,this.accessibleSubtract," ",this.step),i("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 12.788a.75.75 0 0 1 0-1.5h22.5a.75.75 0 0 1 0 1.5z"/></svg>',size:"small",margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary"})),i("button",{"aria-controls":t,disabled:this.disabled,"aria-disabled":s===this.max?"true":"false",class:"duet-number-button duet-number-button-add",onClick:this.add,type:"button"},i("duet-visually-hidden",null,this.accessibleAdd," ",this.step),i("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z"/></svg>',size:"small",margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary"})))),this.accessibleLiveEnabled&&i("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement())))}get element(){return s(this)}};v.style='*.sc-duet-number-input,*.sc-duet-number-input::after,*.sc-duet-number-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-number-input-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;width:100%;min-width:calc(33.333% - 8px);max-width:100%;line-height:1.25;text-align:left;vertical-align:bottom}.sc-duet-number-input-h:last-child,.sc-duet-number-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-number-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-number-input-h{width:100% !important}.duet-m-0.sc-duet-number-input-h{margin:0 !important}.duet-number-container.sc-duet-number-input{position:relative;width:100%}.duet-number-buttons.sc-duet-number-input{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;width:96px;height:calc(100% - 2px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input{position:relative;display:inline-flex;align-items:center;justify-content:center;width:50%;height:100%;text-align:center;cursor:pointer;background:transparent;-webkit-appearance:none;appearance:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled{pointer-events:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input duet-icon.sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled duet-icon.sc-duet-number-input{opacity:0.4}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:active duet-icon.sc-duet-number-input{transform:translateY(1px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{outline:0}.user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{z-index:2;box-shadow:0 0 0 2px rgb(0, 119, 179)}.duet-theme-turva .user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{box-shadow:0 0 0 2px rgb(23, 28, 58)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type{border-left:1px solid rgb(207, 210, 212)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:"";background:linear-gradient(to left, rgba(207, 210, 212, 0.2) 0%, rgba(207, 210, 212, 0.2) 1px, rgba(207, 210, 212, 0.1) 1px, rgba(207, 210, 212, 0) 100%)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{position:absolute;top:20%;left:0;width:1px;height:60%;content:"";background:rgb(225, 227, 230)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{background:linear-gradient(to left, rgba(207, 207, 209, 0.2) 0%, rgba(207, 207, 209, 0.2) 1px, rgba(207, 207, 209, 0.1) 1px, rgba(207, 207, 209, 0) 100%)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{background:rgb(228, 228, 230)}';export{v as duet_number_input}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,c as t,h as c,H as i,g as o}from"./p-3d86bdaa.js";import{i as h}from"./p-4ebf1618.js";import{D as d}from"./p-76f00bd5.js";import{c as s}from"./p-c1325e35.js";import{F as r}from"./p-077ffbc8.js";import{i as a,h as u,f as n}from"./p-f077c646.js";import{g as l,a as p,c as b,d as g}from"./p-076452be.js";import{f as m,w as k}from"./p-12721178.js";import"./p-5a9d75e1.js";const f=class{constructor(c){e(this,c),this.duetChange=t(this,"duetChange",7),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.hasHeader=!1,this.choiceId=s("DuetChoice"),this.expandId=s("DuetChoiceExpand"),this.headerId=s("DuetChoiceHeader"),this.infoButtonId=s("DuetChoiceInfoButton"),this.onMouseEnter=()=>{this.isHovering=!0},this.onMouseLeave=()=>{this.isHovering=!1},this.onClick=e=>{this.toggleChecked(e)},this.handleKeyDown=e=>{a(e)&&this.toggleChecked(e),u(e)&&this.hasInfo&&this.toggleInfo()},this.onChange=()=>{this.checked=this.nativeInput.checked||!1,this.duetChange.emit({checked:this.checked,value:this.value,component:"duet-choice"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.toggleChecked=e=>{e.preventDefault(),e.stopPropagation(),this.disabled||this.groupDisabled||(this.isInfoOpen=!1,"radio"===this.type&&this.checked||(this.checked=!this.checked,this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})))},this.toggleInfo=()=>{this.isInfoOpen=!this.isInfoOpen},this.isHovering=!1,this.isInfoOpen=!1,this.isBlurred=!1,this.language=l(),this.theme="",this.label="label",this.accessibleLabelInfoButtonDefaults=d,this.accessibleLabelInfoButton=p(this.accessibleLabelInfoButtonDefaults),this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.caption="",this.value=void 0,this.type="checkbox",this.name=void 0,this.checked=!1,this.collapsible=!1,this.margin="auto",this.icon="",this.expand=!1,this.padding="auto",this.identifier=void 0,this.groupDirection=void 0,this.groupDisabled=void 0,this.groupResponsive=void 0,this.disabled=!1,this.required=!1,this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"},this.infoLabel=p(this.infoLabelDefaults,l())}watchLanguageStateHandler(e,t){e!==t&&this.accessibleLabelInfoButton===this.accessibleLabelInfoButtonDefaults[t]&&(this.accessibleLabelInfoButton=p(this.accessibleLabelInfoButtonDefaults,e)),e!==t&&this.infoLabel===this.infoLabelDefaults[t]&&(this.infoLabel=p(this.infoLabelDefaults,e))}componentWillLoad(){h(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']")}connectedCallback(){b(this)}disconnectedCallback(){g(this)}handleHostBlur(e){this.hasInfo&&this.isInfoOpen&&this.isKeyDown&&(this.element.contains(null==e?void 0:e.relatedTarget)||this.toggleInfo())}handleHostKeyDown(){this.isKeyDown=!0}handleHostKeyUp(e){this.isKeyDown=!1,n(e)&&this.isInfoOpen&&this.toggleInfo()}async setFocus(e){this.nativeInput.focus(e)}async toggleInfoMethod(){this.isInfoOpen=!this.isInfoOpen}getAriaDescribedby(){return this.accessibleDescribedBy?this.accessibleDescribedBy:this.collapsible||this.hasInfo?this.hasHeader?this.headerId:this.expandId:null}getClassNames(){return this.hasInfo&&!this.collapsible?{"duet-choice-card-info":!0,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":"turva"===this.theme}:!this.hasInfo&&this.collapsible?{"duet-choice-card-collapsible":!0,"duet-choice-card-collapsible-expanded":this.checked,"duet-choice-card-collapsed":!this.checked,"duet-choice-card-collapsible-disabled":!(!this.disabled&&!this.groupDisabled),"duet-theme-turva":"turva"===this.theme}:{"duet-choice-default-slot":!0}}render(){const e=this.element.closest("duet-choice-group"),t=e?e.label:void 0,o=this.identifier||this.choiceId;return c(i,{class:{horizontal:"horizontal"===this.groupDirection&&!this.groupResponsive,"horizontal-responsive":"horizontal"===this.groupDirection&&this.groupResponsive,"duet-m-0":"none"===this.margin,"duet-expand":this.expand,"duet-theme-turva":"turva"===this.theme}},c("div",{class:{"duet-choice-card-flextainer":!0,"duet-theme-turva":"turva"===this.theme}},c("div",{class:{"duet-choice-card":!0,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"duet-p-0":"none"===this.padding}},c("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:o,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:e=>this.nativeInput=e}),c("label",{htmlFor:o,class:{"duet-choice-label":!0,"no-hover":this.isHovering,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&c("slot",{name:"before-text"}),this.icon&&c("div",{class:"duet-choice-card-icon"},c("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),c("div",{class:"duet-choice-card-text"},t&&c("duet-visually-hidden",null,t,", "),c("div",null,this.hasLabel?c("slot",{name:"label"}):this.label),this.caption&&c("div",null,c("duet-spacer",{size:"xx-small"}),c("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&c("div",null,c("duet-spacer",{size:"xx-small"}),c("slot",{name:"additional"}))),c("div",null,c("div",{class:{"duet-checkmark-container":!0,"duet-checkmark-radio":"radio"===this.type}},this.checked&&c("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&c("button",{ref:e=>this.infoButtonEl=e,id:this.infoButtonId,class:{"duet-choice-info-toggle":!0,"duet-theme-turva":"turva"===this.theme},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:"radio"!==this.type||this.checked?"0":"-1",type:"button"},c("duet-visually-hidden",{"aria-hidden":this.isBlurred?"false":"true"},this.accessibleLabelInfoButton),c("div",{class:"duet-choice-info-icon"},c("duet-icon",{icon:'<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>',margin:"none",size:"small",color:"currentColor"})))),this.collapsible||this.hasInfo?c("div",{class:this.getClassNames(),id:this.expandId},c("span",{class:{"duet-choice-section-visible":this.collapsible?this.checked:this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.checked:!this.isInfoOpen}},c("span",{id:this.headerId},c("slot",{name:"header"})),this.hasInfo?c("span",null,c("span",{"aria-relevant":"all","aria-atomic":"true","aria-live":this.isInfoOpen?"polite":"off"},c("slot",{name:"info"})),c("slot",null)):c("span",null,c("slot",null))),this.isInfoOpen&&c(r,{moveFocusTo:this.infoButtonEl})):null)}get element(){return o(this)}static get watchers(){return{language:["watchLanguageStateHandler"]}}};f.style='*.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}.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}';const v=":scope duet-choice:not(:scope duet-choice duet-choice-group duet-choice):not(:scope duet-choice duet-fieldset duet-choice)",x=class{constructor(t){e(this,t),this.choiceGroupName="duet-choice-group",this.getChoices=()=>Array.from(this.element.querySelectorAll(v)),this.isMyChoice=e=>this.getChoices().includes(e),this.onSelect=e=>{if("duet-choice"!==e.detail.component)return;const t=e.target;t&&this.isMyChoice(t)&&(this.value=t.value),e.cancelBubble=!0},this.direction="vertical",this.margin="auto",this.theme="",this.error="",this.name=void 0,this.label="Label",this.labelHidden=!1,this.caption=void 0,this.tooltip=void 0,this.tooltipDirection="auto",this.responsive=!1,this.breakpoint="small",this.value=void 0,this.disabled=void 0}async connectedCallback(){const e=this.element;if(void 0===this.value){const t=m(e,v);void 0!==t&&(await t.componentOnReady(),void 0===this.value&&(this.value=t.value))}this.mutationO=k(e,v,(e=>{void 0!==e?e.componentOnReady().then((()=>{this.isMyChoice(e)&&(this.value=e.value)})):this.updateChoices()})),this.updateChoices()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentWillLoad(){h(this)}async updateChoices(){const e=this.getChoices(),{value:t}=this;let c=!1;for(const i of e)i.name=this.name,i.groupDisabled=this.disabled,i.groupDirection=this.direction,i.groupResponsive=this.responsive,c||i.value!==t?i.checked=!1:(c=!0,i.checked=!0);c||(this.value=void 0)}render(){return c(i,{onDuetChange:this.onSelect,class:{horizontal:"horizontal"===this.direction,"duet-choice-group-breakpoint-x-small":this.responsive&&"x-small"===this.breakpoint,"duet-choice-group-breakpoint-small":this.responsive&&"small"===this.breakpoint,"duet-choice-group-breakpoint-medium":this.responsive&&"medium"===this.breakpoint,"duet-choice-group-breakpoint-large":this.responsive&&"large"===this.breakpoint,"duet-choice-group-breakpoint-x-large":this.responsive&&"x-large"===this.breakpoint}},c("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme},this.tooltip&&c("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),c("div",{class:{[this.choiceGroupName]:!0,"duet-no-stacking":!this.responsive}},c("slot",null))))}get element(){return o(this)}static get watchers(){return{value:["updateChoices"],disabled:["updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}}};x.style="*.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}";export{f as duet_choice,x as duet_choice_group}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,i){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function r(t){try{s(i.next(t))}catch(e){a(e)}}function c(t){try{s(i["throw"](t))}catch(e){a(e)}}function s(t){t.done?n(t.value):o(t.value).then(r,c)}s((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r;return r={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function c(t){return function(e){return s([t,e])}}function s(c){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,c[0]&&(n=0)),n)try{if(i=1,o&&(a=c[0]&2?o["return"]:c[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,c[1])).done)return a;if(o=0,a)c=[c[0]&2,a.value];switch(c[0]){case 0:case 1:a=c;break;case 4:n.label++;return{value:c[1],done:false};case 5:n.label++;o=c[1];c=[0];continue;case 7:c=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){n.label=c[1];break}if(c[0]===6&&n.label<a[1]){n.label=a[1];a=c;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(c);break}if(a[2])n.ops.pop();n.trys.pop();continue}c=e.call(t,n)}catch(s){c=[6,s];o=0}finally{i=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-9cfbe4c6.system.js","./p-33b3aba4.system.js","./p-5f6bd5db.system.js","./p-34ea0849.system.js","./p-51721695.system.js","./p-c8dc599d.system.js","./p-450e63a4.system.js","./p-b6d51921.system.js","./p-f67ee736.system.js"],(function(t){"use strict";var e,n,i,o,a,r,c,s,u,l,d,b,h,f,p,g;return{setters:[function(t){e=t.r;n=t.c;i=t.h;o=t.H;a=t.g},function(t){r=t.i},function(t){c=t.c},function(t){s=t.d},function(t){u=t.i},function(t){l=t.g;d=t.a;b=t.c;h=t.d},function(t){f=t.c;p=t.g;g=t.s},function(){},function(){}],execute:function(){var m="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}button.duet-action-button{white-space:nowrap}button.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px !important;color:rgb(0, 41, 77);cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-theme-turva button.duet-action-button{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}button.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){button.duet-action-button{width:32px;height:32px}}button.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-theme-turva button.duet-action-button:not(:disabled):hover{background:#e9e9eb}button.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px rgb(0, 119, 179) !important}.duet-theme-turva button.duet-action-button:focus{box-shadow:0 0 0 2px rgb(23, 28, 58) !important}button.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-theme-turva button.duet-action-button:active:focus{background:#ddddde !important}button.duet-action-button:disabled{color:rgb(144, 149, 153);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-theme-turva button.duet-action-button:disabled{color:rgb(116, 116, 117);background:rgb(245, 245, 247)}";var y=t("duet_action_button",function(){function t(t){var i=this;e(this,t);this.duetActionEvent=n(this,"duetActionEvent",6);this.listId=c("duet-action-button");this.emitPageEvent=s((function(t){i.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:i.actionId,name:i.actionName,meta:i.actionMeta,id:i.listId})}));this.numbersStore="";this.language=l();this.theme="";this.iconName="action-arrow-left-small";this.iconColor="currentColor";this.iconSize="xx-small";this.actionName="default-action";this.actionId=undefined;this.actionMeta=undefined;this.disabled=false;this.color="";this.background="";this.accessibleTitle=true;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"};this.accessibleLabel=d(this.accessibleLabelsDefaults);this.accessibleControls=""}t.prototype.watchLanguageStateHandler=function(t,e){if(t!==e&&this.accessibleLabel===this.accessibleLabelsDefaults[e]){this.accessibleLabel=d(this.accessibleLabelsDefaults,t)}};t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(u(t)){this.emitPageEvent(t)}return[2]}))}))};t.prototype.getTitle=function(){var t="";if(typeof this.accessibleTitle==="string"){t=this.accessibleTitle}if(this.accessibleTitle===true){t=f("".concat(this.actionName))}return t};t.prototype.onMouseHandler=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){t.preventDefault();this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta});return[2]}))}))};t.prototype.componentWillLoad=function(){r(this)};t.prototype.connectedCallback=function(){b(this)};t.prototype.disconnectedCallback=function(){h(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t;var e=this;var n=this.color==="currentColor"?"currentColor":p(this.color,this.theme);var a=p(this.background,this.theme);var r=a?g(a,-.1):a;var c=a?"\n button.duet-action-button {\n background: ".concat(a," !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ").concat(r," !important;\n }\n "):"";var s={color:n,"border-color":p(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"};return i(o,{onKeyDown:function(t){return e.onKeyboardDown(t)}},i("style",{innerHTML:c}),i("button",{ref:function(t){return e.nativeButton=t},part:"button",style:s,disabled:this.disabled,id:this.listId,class:(t={"duet-action-button":true,"duet-action-button--disabled":this.disabled},t["duet-action-button--".concat(this.theme)]=this.theme!=="",t),type:"button",onClick:function(t){return e.onMouseHandler(t)},"aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls,title:this.getTitle()},i("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),i("duet-visually-hidden",null,i("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{language:["watchLanguageStateHandler"]}},enumerable:false,configurable:true});return t}());y.style=m}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as e,H as o,g as a,c as i}from"./p-3d86bdaa.js";import{i as r}from"./p-4ebf1618.js";import{a as n,g as s}from"./p-076452be.js";import{c as d}from"./p-c1325e35.js";import{d as b,b as l,a as c,c as u}from"./p-f077c646.js";import"./p-5a9d75e1.js";const h=class{constructor(e){t(this,e),this.currentIndex=0,this.tabListElement=void 0,this.tabListClass="duet-scrollable-list",this.resizeObserver=new ResizeObserver((t=>{var e,o,a,i;if(1===(null==t?void 0:t.length)){const r=null===(o=null===(e=t[0])||void 0===e?void 0:e.target)||void 0===o?void 0:o.getBoundingClientRect().width,n=null===(i=null===(a=t[0])||void 0===a?void 0:a.target)||void 0===i?void 0:i.scrollWidth;this.isTabContentSmallerThanWrapper=n>r+5}})),this.tablistAtStart=!0,this.isTabContentSmallerThanWrapper=!1,this.tablistAtEnd=!1,this.childrenData={},this.theme="",this.identifier="",this.selected=0}watchPropHandler(t){this.scrollToTab(t,"center")}componentWillLoad(){r(this);const t=this.host.children;this.childrenData={hasChildren:t&&t.length>0,numberOfChildren:t&&t.length}}componentDidLoad(){this.resizeObserver.observe(this.tabListElement)}disconnectedCallback(){this.resizeObserver.disconnect()}getLastVisibleElement(){const t=this.tabListElement.clientWidth;return Array.from(this.host.querySelectorAll("button")).findIndex((e=>e.getBoundingClientRect().x>t))}getFirstVisibleElement(){const t=this.host.querySelectorAll("button");return Array.from(t).map((t=>t.getBoundingClientRect().x-t.getBoundingClientRect().width)).findIndex((t=>t>0))}updateScrollButtons(t=this.tabListElement){t.scrollLeft<=0?this.tablistAtStart=!0:t.scrollLeft>0&&(this.tablistAtStart=!1),t.clientWidth+t.scrollLeft+10>=t.scrollWidth?this.tablistAtEnd=!0:t.clientWidth+t.scrollLeft+10<t.scrollWidth&&(this.tablistAtEnd=!1)}scrollToTab(t=this.currentIndex,e){if(!this.childrenData.hasChildren)return;t+1>=this.childrenData.numberOfChildren&&(t=this.childrenData.numberOfChildren-1),t<0&&(t=0);const o=this.host.querySelectorAll("button");let a=o[0].getBoundingClientRect().x,i=5;const r=()=>{if(o[0].getBoundingClientRect().x===a){if(i--,0!==i)return void window.requestAnimationFrame(r);this.updateScrollButtons()}else window.requestAnimationFrame(r),a=o[0].getBoundingClientRect().x};o[t].scrollIntoView({behavior:"smooth",inline:e}),window.requestAnimationFrame(r)}scrollLeft(){this.tablistAtEnd=!1;const t=this.getFirstVisibleElement()-1;this.scrollToTab(t,"center")}scrollRight(){this.tablistAtStart=!1;const t=this.getLastVisibleElement()+1;this.scrollToTab(t,"center")}render(){return e(o,{class:{"duet-theme-turva":"turva"===this.theme,"duet-theme-default":"default"===this.theme}},e("div",{class:"duet-scrollable-items"},e("button",{part:`${this.identifier}-button-left`,"aria-hidden":"true",class:{"duet-scrollable-button":!0,"duet-scrollable-button--left":!0,"duet-scrollable-button--occluded":!this.isTabContentSmallerThanWrapper},onClick:()=>this.scrollLeft(),disabled:this.tablistAtStart,tabindex:"-1"},e("duet-icon",{name:"action-arrow-left-small",size:"small",margin:"none"})),e("div",{class:this.tabListClass,onScroll:()=>this.updateScrollButtons(),ref:t=>this.tabListElement=t},e("slot",null)),e("button",{part:`${this.identifier}-button-right`,"aria-hidden":"true",class:{"duet-scrollable-button":!0,"duet-scrollable-button--right":!0,"duet-scrollable-button--occluded":!this.isTabContentSmallerThanWrapper},onClick:()=>this.scrollRight(),disabled:this.tablistAtEnd,tabindex:"-1"},e("duet-icon",{name:"action-arrow-right-small",size:"small",margin:"none"}))))}get host(){return a(this)}static get watchers(){return{selected:["watchPropHandler"]}}};h.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;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{display:flex}:host .duet-scrollable-items .duet-scrollable-button{position:relative;flex:0 0 auto;flex-basis:40px;padding:10px;cursor:pointer}:host .duet-scrollable-items .duet-scrollable-button:active{transform:scale(0.8)}:host .duet-scrollable-items .duet-scrollable-button--left{left:-12px}:host .duet-scrollable-items .duet-scrollable-button--right{right:-12px}:host .duet-scrollable-items .duet-scrollable-button--occluded{display:none}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;gap:20px;padding-top:2px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}::slotted(*){scroll-snap-align:center;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out}";const p=class{constructor(e){t(this,e),this.label=void 0,this.caption=void 0,this.selected=void 0,this.accessibleDescriptionDefault=null,this.accessibleDescription=this.accessibleDescriptionDefault?n(this.accessibleDescriptionDefault):null}render(){return e("div",{role:"tabpanel",class:{"duet-tab":!0,selected:this.selected},"aria-description":this.accessibleDescription},e("slot",null))}};p.style=".sc-duet-tab-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%}.duet-tab.sc-duet-tab{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:none;width:100%}.duet-tab.selected.sc-duet-tab{display:block}";const g=class{constructor(o){t(this,o),this.duetChange=i(this,"duetChange",3),this.duetTabChange=i(this,"duetTabChange",7),this.duetTabChangeRequested=i(this,"duetTabChangeRequested",7),this.id=d("DuetTabGroup"),this.handleKeyDown=t=>{let e;b(t)||l(t)?e=t.target.previousElementSibling:(c(t)||u(t))&&(e=t.target.nextElementSibling),e&&(t.preventDefault(),e.click(),e.focus())},this.onTabSelect=t=>{this.tabChangeConfirm?t!==this.selected&&this.duetTabChangeRequested.emit({value:t,component:"duet-tab-group"}):this.openTab(t)},this.scrollToActive=()=>{"checked"!==this.variation&&"plain-scrolling"!==this.variation||setTimeout((()=>{const t=this.tabsContainer.querySelector(".selected");t&&t.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})}),50)},this.renderTab=()=>{const t=this.tabs.map(((t,o)=>e("button",{role:"tab",id:this.getButtonId(o),"aria-controls":this.getTabId(o),"aria-selected":t.selected?"true":"false","aria-description":this.getAccessibleDescription(o),tabindex:0===o?"0":"-1",part:`${this.identifier}-button ${t.selected?`${this.identifier}-button--selected`:""}`,type:"button",class:{"duet-p-0":"none"===this.padding,"duet-tab-button":!0,"stackable-tab":"checked"===this.variation&&this.tabs.length<=3,selected:t.selected},onClick:()=>this.onTabSelect(o),onKeyDown:t=>this.handleKeyDown(t)},"checked"===this.variation?e("div",{class:{"checked-tab-content":!0,"stackable-checked-tab-content":this.tabs.length<=3}},e("div",{class:{"checked-tab-description":!0,"stackable-description":this.tabs.length<=3}},e("p",null,t.label),e("p",{class:{"tab-caption":!0,selected:t.selected}},t.caption)),e("div",{class:{"stackable-checkmark":this.tabs.length<=3}},e("duet-checkmark",{theme:this.theme,checked:t.selected,type:"radio","presentation-only":!0,center:!0}))):t.label)));return this.scrolls?e("duet-scrollable",{selected:this.selected,identifier:this.identifier},t):t},this.tabs=[],this.selected=void 0,this.theme="",this.scrolls=!1,this.collapses=!0,this.accessibleLabel=void 0,this.variation="default",this.language=s(),this.labelDefaults={fi:"Valitse",en:"Choose",sv:"Välj"},this.label=n(this.labelDefaults,this.language),this.labelHidden=!0,this.identifier=this.id,this.margin="auto",this.padding="auto",this.setTabIndex=!1,this.tabChangeConfirm=!1}async connectedCallback(){"undefined"!=typeof MutationObserver&&(this.mutationO=new MutationObserver((()=>{this.updateTabs()})),this.mutationO.observe(this.element,{attributes:!0,attributeFilter:["label"],childList:!0,characterData:!0,subtree:!0})),await this.updateTabs()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentWillLoad(){r(this)}componentDidLoad(){this.scrollToActive()}async openTab(t){if(t>=this.tabs.length)throw new Error(`[duet-tabs] Index ${t} is out of bounds of tabs length`);this.selected=t,this.tabs.forEach(((e,o)=>{e.selected=o===t})),this.scrollToActive();const e={value:t,component:"duet-tab-group"};this.duetChange.emit(e),this.duetTabChange.emit(e)}async refresh(){console.log("[duet-tabs] Refresh method is deprecated and will be removed in the future version.")}getTabs(){const t=Array.from(this.element.querySelectorAll("duet-tab")).filter((t=>t.closest("duet-tab-group")===this.element));if(0===t.length)throw new Error("[duet-tabs] Must have at least one tab");return t}getButtonId(t){return`${this.id}-button-${t}`}getTabId(t){return`${this.id}-tab-${t}`}getAccessibleDescription(t){return this.tabs[t].getAttribute("accessible-description")||null}async updateTabs(){this.tabs=this.getTabs(),this.tabs.forEach(((t,e)=>{t.id=this.getTabId(e),t.setAttribute("aria-labelledby",this.getButtonId(e)),t.selected&&(this.selected=e)}))}render(){const t="checked"===this.variation||"plain-scrolling"===this.variation;return e("div",{class:{"duet-tab-group":!0,"duet-theme-turva":"turva"===this.theme,["plain-scrolling"===this.variation?"duet-tab-variation-plain":`duet-tab-variation-${this.variation}`]:!0,"duet-tab-plain-scrolling":"plain-scrolling"===this.variation,"duet-tab-group-scrolls":this.scrolls,"duet-tab-group-collapses":this.collapses},"aria-label":this.accessibleLabel},!t&&this.tabs.length>3&&this.collapses&&e("duet-select",{value:this.selected.toString(),expand:!0,label:this.label,labelHidden:this.labelHidden,theme:this.theme,onDuetChange:t=>this.onTabSelect(Number(t.detail.value)),items:this.tabs.map(((t,e)=>({label:t.label,value:e.toString()})))}),e("div",{role:"tablist",class:{"duet-m-0":"none"===this.margin||"checked"===this.variation,"duet-tab-group-tabs":!0,"duet-tab-group-hidden":this.tabs.length>3&&!t,"duet-tab-group-collapses":this.collapses},ref:t=>{this.tabsContainer=t}},this.renderTab()),e("div",{role:"tabpanel",tabindex:this.setTabIndex?null:"0",class:{"duet-tab-group-content":!0,"duet-m-0":"none"===this.margin,"checked-group-content":"checked"===this.variation}},e("slot",null)))}get element(){return a(this)}};g.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;-webkit-tap-highlight-color:transparent;display:block;width:100%}.duet-tab-group-tabs{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}.duet-tab-group-tabs.duet-m-0{margin:0 !important}.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden{display:none}@media (min-width: 36em){.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden{display:block}}.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom-color:rgb(228, 228, 230)}.duet-tab-variation-checked .duet-tab-group-tabs{display:flex;gap:4px;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-group-tabs{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}.duet-tab-plain-scrolling .duet-tab-group-tabs{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-plain-scrolling .duet-tab-group-tabs{display:block;overflow:auto}}@media (min-width: 36em){duet-select{display:none !important}}.duet-tab-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:20px;margin-top:-2px;overflow:visible;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-radius:0;transition:150ms ease}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button.duet-m-0{margin:0 !important}.duet-theme-turva .duet-tab-button{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);border-color:rgb(228, 228, 230)}.duet-tab-button.duet-p-0{padding:0 !important}@media (min-width: 36em){.duet-tab-button{display:inline-block;width:auto;margin-left:-2px;border-right:2px solid rgb(225, 227, 230);border-radius:0}}.duet-tab-button:hover{z-index:200;border-color:rgb(144, 149, 153)}.duet-theme-turva .duet-tab-button:hover{border-color:rgb(116, 116, 117)}.duet-tab-button:active{opacity:0.75;transition:none}.duet-tab-button.selected{z-index:201;color:rgb(255, 255, 255);background:rgb(0, 41, 77);border-color:rgb(0, 41, 77);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(255, 255, 255);background-color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-tab-button:focus{z-index:200;outline:0}:host(.user-is-tabbing) .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179) !important}:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58) !important}.duet-tab-button:first-child{border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.duet-tab-button:first-child{border-top-right-radius:0;border-bottom-left-radius:4px}}.duet-tab-button:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-tab-button:last-child{border-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding-right:0;padding-left:0;margin-left:0;border:0;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(198, 12, 48);border-bottom-color:rgb(198, 12, 48)}.duet-tab-variation-checked .duet-tab-button{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:8px 4px;border-color:rgb(207, 210, 212);border-bottom-color:rgb(0, 119, 179);border-radius:4px 4px 0 0;transition:none}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button{border-color:rgb(207, 210, 212);border-bottom-color:rgb(68, 68, 69)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button{min-width:0;padding:16px}}.duet-tab-variation-checked .duet-tab-button.stackable-tab{min-width:0}.duet-tab-variation-checked .duet-tab-button:first-child{margin-left:auto}.duet-tab-variation-checked .duet-tab-button:last-child{margin-right:auto}.duet-tab-variation-checked .duet-tab-button:active{opacity:1;transition:none}.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(243, 249, 252) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 245, 247) 0%, rgb(255, 255, 255) 100%);border-color:rgb(68, 68, 69);border-bottom-color:#fff}.duet-tab-variation-checked .duet-tab-button .checked-tab-content{display:flex;flex-direction:row;justify-content:space-between}.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:column;height:100%}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:row}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:center}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:left}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{margin-top:4px;font-size:0.875rem;font-weight:400;color:rgb(101, 119, 135)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{font-size:1rem;text-align:left}}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{color:rgb(68, 68, 69)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(68, 68, 69)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:-1;margin-top:8px;margin-bottom:8px}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:1}}.duet-tab-group-content{position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:left}.duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179) !important}.duet-theme-turva .duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58) !important}.duet-tab-group-content.checked-group-content{padding:28px 0 28px 0}.duet-tab-group-content.checked-group-content::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:" ";background-color:rgb(0, 119, 179)}.duet-theme-turva .duet-tab-group-content{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-theme-turva .duet-tab-group-content.checked-group-content::after{background-color:rgb(68, 68, 69)}';export{h as duet_scrollable,p as duet_tab,g as duet_tab_group}