@duetds/components 8.1.0 → 8.1.2

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 (738) hide show
  1. package/hydrate/index.js +168 -80
  2. package/lib/cjs/app-globals-aece069f.js +28 -0
  3. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  4. package/lib/cjs/duet-alert.cjs.entry.js +4 -1
  5. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-banner.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-breadcrumb.cjs.entry.js +11 -2
  8. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
  9. package/lib/cjs/duet-button_2.cjs.entry.js +5 -4
  10. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-caption_4.cjs.entry.js +15 -5
  12. package/lib/cjs/duet-card.cjs.entry.js +10 -4
  13. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-chip.cjs.entry.js +8 -1
  16. package/lib/cjs/duet-choice_2.cjs.entry.js +5 -3
  17. package/lib/cjs/duet-collapsible.cjs.entry.js +9 -3
  18. package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
  19. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-cookie-consent.cjs.entry.js +8 -1
  21. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  23. package/lib/cjs/duet-editable-table_3.cjs.entry.js +4 -4
  24. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-footer.cjs.entry.js +4 -1
  28. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-header_2.cjs.entry.js +6 -4
  30. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  32. package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
  33. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +4 -4
  38. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
  40. package/lib/cjs/duet-modal.cjs.entry.js +4 -4
  41. package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
  42. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-notification_2.cjs.entry.js +6 -1
  44. package/lib/cjs/duet-number-input.cjs.entry.js +4 -2
  45. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -4
  47. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-popup-menu.cjs.entry.js +4 -4
  49. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
  51. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  52. package/lib/cjs/duet-range-slider.cjs.entry.js +9 -2
  53. package/lib/cjs/duet-scrollable_3.cjs.entry.js +4 -2
  54. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  56. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  58. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  62. package/lib/cjs/duet-slideout.cjs.entry.js +13 -10
  63. package/lib/cjs/duet-step_2.cjs.entry.js +8 -2
  64. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  65. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +4 -4
  66. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  67. package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-textarea.cjs.entry.js +2 -2
  69. package/lib/cjs/duet-toggle.cjs.entry.js +8 -1
  70. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  71. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  73. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  74. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +14 -19
  75. package/lib/cjs/duet-tooltip.cjs.entry.js +8 -4
  76. package/lib/cjs/duet-tray.cjs.entry.js +5 -2
  77. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  78. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  79. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  80. package/lib/cjs/duet.cjs.js +3 -3
  81. package/lib/cjs/{focus-utils-9b549956.js → focus-utils-6b554ff9.js} +1 -1
  82. package/lib/cjs/{index-ce232ed8.js → index-157c822b.js} +1 -1
  83. package/lib/cjs/keyboard-utils-7248dd0a.js +69 -0
  84. package/lib/cjs/loader.cjs.js +3 -3
  85. package/lib/cjs/{teleport-e9d05bca.js → teleport-e7315776.js} +8 -0
  86. package/lib/cjs/{token-utils-84b3bca6.js → token-utils-f11c288e.js} +1 -1
  87. package/lib/cjs/{tokens-cecc0f2f.js → tokens-c0b8b3a8.js} +1 -1
  88. package/lib/cjs/{tokens.module-10f42b21.js → tokens.module-44ad1fdb.js} +1 -1
  89. package/lib/collection/collection-manifest.json +1 -1
  90. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  91. package/lib/collection/components/duet-alert/duet-alert.js +4 -1
  92. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +34 -1
  93. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +2 -2
  94. package/lib/collection/components/duet-button/duet-button.css +2 -2
  95. package/lib/collection/components/duet-button/duet-button.js +6 -5
  96. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  97. package/lib/collection/components/duet-card/duet-card.js +10 -4
  98. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  99. package/lib/collection/components/duet-chip/duet-chip.js +11 -4
  100. package/lib/collection/components/duet-choice/duet-choice.js +6 -4
  101. package/lib/collection/components/duet-collapsible/duet-collapsible.js +10 -4
  102. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  103. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +8 -1
  104. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  105. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  106. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  107. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  108. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  109. package/lib/collection/components/duet-footer/duet-footer.js +10 -7
  110. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  111. package/lib/collection/components/duet-header/duet-header.js +18 -16
  112. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  113. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  114. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  115. package/lib/collection/components/duet-input/duet-input.css +2 -2
  116. package/lib/collection/components/duet-input/duet-input.js +8 -8
  117. package/lib/collection/components/duet-label/duet-label.js +2 -2
  118. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  119. package/lib/collection/components/duet-link/duet-link.js +12 -2
  120. package/lib/collection/components/duet-list/duet-list.js +3 -3
  121. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  122. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  123. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +5 -4
  124. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +12 -20
  125. package/lib/collection/components/duet-modal/duet-modal.js +3 -3
  126. package/lib/collection/components/duet-multiselect/duet-multiselect.css +1 -1
  127. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  128. package/lib/collection/components/duet-notification/duet-notification.js +3 -0
  129. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +4 -1
  130. package/lib/collection/components/duet-number-input/duet-number-input.js +7 -5
  131. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  132. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  133. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +1 -1
  134. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
  135. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  136. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  137. package/lib/collection/components/duet-range-slider/duet-range-slider.js +9 -2
  138. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  139. package/lib/collection/components/duet-select/duet-select.css +1 -1
  140. package/lib/collection/components/duet-select/duet-select.js +5 -5
  141. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  142. package/lib/collection/components/duet-slideout/duet-slideout.css +4 -10
  143. package/lib/collection/components/duet-slideout/duet-slideout.js +7 -4
  144. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  145. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  146. package/lib/collection/components/duet-step/duet-step.js +9 -3
  147. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  148. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +4 -4
  149. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +15 -7
  150. package/lib/collection/components/duet-tab-group/duet-tab-group.js +8 -6
  151. package/lib/collection/components/duet-textarea/duet-textarea.css +1 -1
  152. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  153. package/lib/collection/components/duet-toggle/duet-toggle.js +8 -1
  154. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +5 -5
  155. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +12 -10
  156. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +1 -1
  157. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +6 -28
  158. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +6 -28
  159. package/lib/collection/components/duet-tooltip/duet-tooltip.js +6 -2
  160. package/lib/collection/components/duet-tray/duet-tray.js +3 -0
  161. package/lib/collection/components/duet-upload/duet-upload.js +14 -14
  162. package/lib/collection/components/duet-upload-item/duet-upload-item.js +1 -1
  163. package/lib/collection/global/duet-global.js +0 -26
  164. package/lib/collection/utils/keyboard-utils.js +43 -12
  165. package/lib/collection/utils/teleport.js +8 -0
  166. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  167. package/lib/dist-custom-elements/duet-alert.js +1 -1
  168. package/lib/dist-custom-elements/duet-badge.js +1 -1
  169. package/lib/dist-custom-elements/duet-banner.js +5 -5
  170. package/lib/dist-custom-elements/duet-breadcrumb.js +20 -4
  171. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  172. package/lib/dist-custom-elements/duet-button.js +1 -1
  173. package/lib/dist-custom-elements/duet-callout.js +3 -3
  174. package/lib/dist-custom-elements/duet-caption.js +1 -1
  175. package/lib/dist-custom-elements/duet-card.js +11 -5
  176. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  177. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  178. package/lib/dist-custom-elements/duet-chip.js +9 -2
  179. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  180. package/lib/dist-custom-elements/duet-choice.js +8 -6
  181. package/lib/dist-custom-elements/duet-collapsible.js +10 -4
  182. package/lib/dist-custom-elements/duet-combobox.js +3 -3
  183. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  184. package/lib/dist-custom-elements/duet-cookie-consent.js +13 -6
  185. package/lib/dist-custom-elements/duet-date-picker.js +12 -12
  186. package/lib/dist-custom-elements/duet-divider.js +1 -1
  187. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  188. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  189. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  190. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  191. package/lib/dist-custom-elements/duet-footer.js +7 -4
  192. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  193. package/lib/dist-custom-elements/duet-grid.js +1 -1
  194. package/lib/dist-custom-elements/duet-header.js +12 -10
  195. package/lib/dist-custom-elements/duet-heading.js +1 -1
  196. package/lib/dist-custom-elements/duet-hero.js +9 -9
  197. package/lib/dist-custom-elements/duet-icon.js +1 -1
  198. package/lib/dist-custom-elements/duet-input.js +1 -1
  199. package/lib/dist-custom-elements/duet-label.js +1 -1
  200. package/lib/dist-custom-elements/duet-layout.js +1 -1
  201. package/lib/dist-custom-elements/duet-link.js +1 -1
  202. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  203. package/lib/dist-custom-elements/duet-list.js +1 -1
  204. package/lib/dist-custom-elements/duet-logo.js +1 -1
  205. package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
  206. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
  207. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +5 -5
  208. package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
  209. package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
  210. package/lib/dist-custom-elements/duet-modal.js +9 -9
  211. package/lib/dist-custom-elements/duet-multiselect.js +12 -12
  212. package/lib/dist-custom-elements/duet-nav.js +1 -1
  213. package/lib/dist-custom-elements/duet-notification-drawer.js +7 -4
  214. package/lib/dist-custom-elements/duet-notification.js +5 -2
  215. package/lib/dist-custom-elements/duet-number-input.js +14 -12
  216. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  217. package/lib/dist-custom-elements/duet-pagination.js +15 -15
  218. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  219. package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
  220. package/lib/dist-custom-elements/duet-popup-menu.js +4 -4
  221. package/lib/dist-custom-elements/duet-progress.js +1 -1
  222. package/lib/dist-custom-elements/duet-promo-card.js +4 -4
  223. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  224. package/lib/dist-custom-elements/duet-radio.js +1 -1
  225. package/lib/dist-custom-elements/duet-range-slider.js +10 -3
  226. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  227. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  228. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  229. package/lib/dist-custom-elements/duet-select.js +1 -1
  230. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  231. package/lib/dist-custom-elements/duet-show-more.js +6 -6
  232. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  233. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  234. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  235. package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
  236. package/lib/dist-custom-elements/duet-slideout.js +12 -9
  237. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  238. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  239. package/lib/dist-custom-elements/duet-step.js +11 -5
  240. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  241. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
  242. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +5 -5
  243. package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
  244. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  245. package/lib/dist-custom-elements/duet-tab-group.js +16 -14
  246. package/lib/dist-custom-elements/duet-tab.js +1 -1
  247. package/lib/dist-custom-elements/duet-table.js +1 -1
  248. package/lib/dist-custom-elements/duet-textarea.js +11 -11
  249. package/lib/dist-custom-elements/duet-toggle.js +9 -2
  250. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +5 -5
  251. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +4 -4
  252. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  253. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  254. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  255. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  256. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  257. package/lib/dist-custom-elements/duet-tray.js +7 -4
  258. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  259. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  260. package/lib/dist-custom-elements/duet-upload.js +18 -18
  261. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  262. package/lib/dist-custom-elements/index.js +1 -27
  263. package/lib/dist-custom-elements/{p-402e81c0.js → p-04889da1.js} +5 -5
  264. package/lib/dist-custom-elements/{p-76b345c8.js → p-0583d228.js} +2 -2
  265. package/lib/{esm/tokens-e6b6db9b.js → dist-custom-elements/p-0cc51aa5.js} +1 -1
  266. package/lib/dist-custom-elements/{p-9b5f8ba4.js → p-0d345f52.js} +2 -2
  267. package/lib/dist-custom-elements/{p-98746766.js → p-16e97b9c.js} +1 -1
  268. package/lib/dist-custom-elements/{p-ba0f907f.js → p-17f23d02.js} +2 -2
  269. package/lib/dist-custom-elements/{p-872a2adb.js → p-18ae77da.js} +2 -2
  270. package/lib/dist-custom-elements/{p-dfd29738.js → p-23f7068d.js} +1 -1
  271. package/lib/dist-custom-elements/{p-ffc7f083.js → p-2591d3c1.js} +1 -1
  272. package/lib/dist-custom-elements/{p-6f7dcc4d.js → p-26c9e94a.js} +1 -1
  273. package/lib/dist-custom-elements/{p-598731b0.js → p-2f7f4d60.js} +2 -2
  274. package/lib/dist-custom-elements/{p-a45d0398.js → p-3e81fc67.js} +2 -2
  275. package/lib/dist-custom-elements/{p-4f43c247.js → p-5f7df847.js} +1 -1
  276. package/lib/dist-custom-elements/{p-f91cddd9.js → p-60358cbc.js} +12 -8
  277. package/lib/dist-custom-elements/{p-0a7c0d3d.js → p-60d4a8ce.js} +10 -10
  278. package/lib/dist-custom-elements/{p-ba9ad148.js → p-666a097e.js} +1 -1
  279. package/lib/dist-custom-elements/{p-2605a78e.js → p-6b73593d.js} +2 -2
  280. package/lib/dist-custom-elements/{p-38b35e69.js → p-6cdb4bc9.js} +9 -9
  281. package/lib/{esm/teleport-4462e8c1.js → dist-custom-elements/p-751344b2.js} +8 -0
  282. package/lib/dist-custom-elements/{p-c057158b.js → p-7d6b2e2a.js} +1 -1
  283. package/lib/dist-custom-elements/{p-247a9d01.js → p-803d6f4c.js} +8 -5
  284. package/lib/dist-custom-elements/{p-d5f3b174.js → p-8496cd8c.js} +1 -1
  285. package/lib/dist-custom-elements/{p-3a17ba0c.js → p-88a1e813.js} +5 -5
  286. package/lib/dist-custom-elements/p-8f253845.js +51 -0
  287. package/lib/dist-custom-elements/{p-57a1cba9.js → p-9a81250e.js} +1 -1
  288. package/lib/dist-custom-elements/{p-02eb68f2.js → p-a4f9be99.js} +2 -2
  289. package/lib/dist-custom-elements/{p-0825cbc5.js → p-a5450dd6.js} +9 -12
  290. package/lib/dist-custom-elements/{p-bc3fa417.js → p-a88f801c.js} +1 -1
  291. package/lib/dist-custom-elements/{p-a6e6f578.js → p-c7e8eeec.js} +1 -1
  292. package/lib/dist-custom-elements/{p-ff387a2f.js → p-ca00c920.js} +2 -2
  293. package/lib/dist-custom-elements/{p-39827833.js → p-d4cb22d8.js} +2 -2
  294. package/lib/dist-custom-elements/p-d8f01eb9.js +301 -0
  295. package/lib/dist-custom-elements/{p-1cd7077a.js → p-dab34418.js} +1 -1
  296. package/lib/dist-custom-elements/{p-257f2e82.js → p-db24b3f2.js} +16 -12
  297. package/lib/dist-custom-elements/{p-70a66e96.js → p-e65ac105.js} +1 -1
  298. package/lib/dist-custom-elements/{p-d5fc2405.js → p-e6b65023.js} +2 -2
  299. package/lib/dist-custom-elements/{p-86649f25.js → p-ea3632de.js} +12 -12
  300. package/lib/dist-custom-elements/{p-6fbb1970.js → p-ec4ffa81.js} +3 -3
  301. package/lib/dist-custom-elements/{p-ce1cc5ab.js → p-ff6cac8b.js} +11 -14
  302. package/lib/duet/duet.esm.js +1 -1
  303. package/lib/duet/duet.js +1 -1
  304. package/lib/duet/{p-ad5e3c9c.system.entry.js → p-01e08373.system.entry.js} +1 -1
  305. package/lib/duet/p-04249722.entry.js +4 -0
  306. package/lib/duet/{p-d32e9ae1.system.entry.js → p-04e87e02.system.entry.js} +1 -1
  307. package/lib/duet/{p-4212bab8.js → p-06570fbf.js} +1 -1
  308. package/lib/duet/{p-8cf2feaa.entry.js → p-0a2bd8cf.entry.js} +1 -1
  309. package/lib/duet/{p-64d43840.js → p-0cc51aa5.js} +1 -1
  310. package/lib/duet/p-0d7aef74.entry.js +4 -0
  311. package/lib/duet/p-0d80334c.entry.js +4 -0
  312. package/lib/duet/{p-bd97fff1.system.entry.js → p-0f69701f.system.entry.js} +1 -1
  313. package/lib/duet/{p-191959c7.entry.js → p-1074866e.entry.js} +1 -1
  314. package/lib/duet/p-10932e23.system.entry.js +4 -0
  315. package/lib/duet/{p-bc16a555.entry.js → p-12bb48aa.entry.js} +1 -1
  316. package/lib/duet/{p-bf3bf531.system.entry.js → p-12c62fda.system.entry.js} +1 -1
  317. package/lib/duet/{p-5dccd17b.entry.js → p-13662eb9.entry.js} +1 -1
  318. package/lib/duet/{p-d41e819d.entry.js → p-137fbf26.entry.js} +1 -1
  319. package/lib/duet/{p-338ba4d2.entry.js → p-1a716787.entry.js} +1 -1
  320. package/lib/duet/p-1a9958ee.system.js +4 -0
  321. package/lib/duet/p-1ddd6fc8.system.entry.js +4 -0
  322. package/lib/duet/{p-226489c4.entry.js → p-1ef2844f.entry.js} +1 -1
  323. package/lib/duet/{p-b868bb09.system.entry.js → p-2417aad9.system.entry.js} +1 -1
  324. package/lib/duet/p-259a297a.system.js +4 -0
  325. package/lib/duet/{p-8920edb7.system.entry.js → p-2ab62956.system.entry.js} +1 -1
  326. package/lib/duet/p-2bb2b022.js +4 -0
  327. package/lib/duet/p-3021e910.entry.js +4 -0
  328. package/lib/duet/p-3043f61b.system.entry.js +4 -0
  329. package/lib/duet/{p-ab2da6f9.entry.js → p-31a0f1fe.entry.js} +1 -1
  330. package/lib/duet/p-338cf0ab.entry.js +4 -0
  331. package/lib/duet/p-33aec494.system.entry.js +4 -0
  332. package/lib/duet/p-3487783b.system.entry.js +4 -0
  333. package/lib/duet/p-351b5fd0.system.entry.js +4 -0
  334. package/lib/duet/p-37cca48e.entry.js +4 -0
  335. package/lib/duet/{p-200089a6.system.entry.js → p-38dfb538.system.entry.js} +1 -1
  336. package/lib/duet/{p-ec98691e.system.entry.js → p-3a39dd19.system.entry.js} +1 -1
  337. package/lib/duet/p-3a7a6906.entry.js +4 -0
  338. package/lib/duet/p-3b586fc5.entry.js +4 -0
  339. package/lib/duet/p-3d0b9e59.entry.js +4 -0
  340. package/lib/duet/{p-f8c64564.system.entry.js → p-3e1b4203.system.entry.js} +1 -1
  341. package/lib/duet/{p-0a7c3ecf.entry.js → p-43cccc70.entry.js} +1 -1
  342. package/lib/duet/{p-8a16fb3c.entry.js → p-4534b63a.entry.js} +1 -1
  343. package/lib/duet/{p-bcd1e9d8.system.entry.js → p-45cb0078.system.entry.js} +1 -1
  344. package/lib/duet/{p-6b2876f1.entry.js → p-470b320a.entry.js} +1 -1
  345. package/lib/duet/{p-e3574b05.entry.js → p-47b9ebfc.entry.js} +1 -1
  346. package/lib/duet/p-48ad58f7.entry.js +4 -0
  347. package/lib/duet/{p-6e6ececd.system.entry.js → p-49d0f126.system.entry.js} +1 -1
  348. package/lib/duet/p-4d8758f9.entry.js +4 -0
  349. package/lib/duet/{p-bf0e9413.entry.js → p-4e431ff6.entry.js} +1 -1
  350. package/lib/duet/{p-24f7d6bf.entry.js → p-4ec02d20.entry.js} +1 -1
  351. package/lib/duet/p-4ed862cd.system.entry.js +4 -0
  352. package/lib/duet/p-52e711b6.system.js +4 -0
  353. package/lib/duet/{p-51d53e57.entry.js → p-5692f185.entry.js} +1 -1
  354. package/lib/duet/{p-9f39d6de.system.entry.js → p-56b22bac.system.entry.js} +1 -1
  355. package/lib/duet/p-5795b0d9.system.js +4 -0
  356. package/lib/duet/{p-a4dd147b.entry.js → p-58aec0bf.entry.js} +1 -1
  357. package/lib/duet/p-5eed2113.entry.js +4 -0
  358. package/lib/duet/p-60cd790e.entry.js +4 -0
  359. package/lib/duet/p-61a28f2c.system.entry.js +4 -0
  360. package/lib/duet/p-63287e64.entry.js +4 -0
  361. package/lib/duet/p-63885f31.system.entry.js +4 -0
  362. package/lib/duet/p-66a1f261.system.entry.js +4 -0
  363. package/lib/duet/{p-8e414050.entry.js → p-67eb8cc6.entry.js} +1 -1
  364. package/lib/duet/{p-42b49430.system.entry.js → p-6a410f49.system.entry.js} +1 -1
  365. package/lib/duet/{p-d73f7574.entry.js → p-6a7ed346.entry.js} +1 -1
  366. package/lib/duet/{p-7a832531.entry.js → p-6bbd1456.entry.js} +1 -1
  367. package/lib/duet/{p-258b8732.entry.js → p-6d5e9d4d.entry.js} +1 -1
  368. package/lib/duet/p-6d839458.js +4 -0
  369. package/lib/duet/{p-9fb3e7b4.system.entry.js → p-717013b6.system.entry.js} +1 -1
  370. package/lib/duet/{p-e3c5663f.entry.js → p-730c0fff.entry.js} +1 -1
  371. package/lib/duet/p-751344b2.js +4 -0
  372. package/lib/duet/p-752eccd9.system.entry.js +4 -0
  373. package/lib/duet/{p-57a63204.entry.js → p-79d99a3a.entry.js} +1 -1
  374. package/lib/duet/{p-e1f6b6f3.system.entry.js → p-7e877080.system.entry.js} +1 -1
  375. package/lib/duet/{p-7bbc5a65.system.entry.js → p-7f81eb4c.system.entry.js} +1 -1
  376. package/lib/duet/{p-9aa0ebba.entry.js → p-808eb713.entry.js} +1 -1
  377. package/lib/duet/p-81aa9e58.system.entry.js +4 -0
  378. package/lib/duet/{p-793d7e04.system.entry.js → p-81ec9b35.system.entry.js} +1 -1
  379. package/lib/duet/{p-97d72f16.system.entry.js → p-81f0c65d.system.entry.js} +1 -1
  380. package/lib/duet/{p-1e587bcc.system.entry.js → p-84b2e3f0.system.entry.js} +1 -1
  381. package/lib/duet/{p-f25e57fe.system.entry.js → p-854ca73a.system.entry.js} +1 -1
  382. package/lib/duet/{p-d13cb6f4.system.entry.js → p-86abce17.system.entry.js} +1 -1
  383. package/lib/duet/{p-9ec69dbc.system.entry.js → p-870db7df.system.entry.js} +1 -1
  384. package/lib/duet/p-87551364.system.entry.js +4 -0
  385. package/lib/duet/{p-fb8a5b68.system.entry.js → p-8c655835.system.entry.js} +1 -1
  386. package/lib/duet/{p-16db7b1e.entry.js → p-8d0cb2d8.entry.js} +1 -1
  387. package/lib/duet/{p-542d792f.entry.js → p-8de5a1f0.entry.js} +1 -1
  388. package/lib/duet/{p-9d033a04.system.js → p-8eaaef1c.system.js} +1 -1
  389. package/lib/duet/p-917dedc1.system.entry.js +4 -0
  390. package/lib/duet/{p-1fbbf69f.entry.js → p-92579533.entry.js} +1 -1
  391. package/lib/duet/{p-75243a15.system.entry.js → p-9357c710.system.entry.js} +1 -1
  392. package/lib/duet/{p-55f98dc4.entry.js → p-9508feb6.entry.js} +1 -1
  393. package/lib/duet/{p-d8104d1b.entry.js → p-951d1081.entry.js} +1 -1
  394. package/lib/duet/{p-4b272eca.system.entry.js → p-9762f038.system.entry.js} +1 -1
  395. package/lib/duet/{p-dcfe6e27.system.entry.js → p-977a40ba.system.entry.js} +1 -1
  396. package/lib/duet/{p-60cee508.system.entry.js → p-994f3966.system.entry.js} +1 -1
  397. package/lib/duet/{p-13f7d993.entry.js → p-9a868a09.entry.js} +1 -1
  398. package/lib/duet/{p-8d8bdf90.system.entry.js → p-9b6df3eb.system.entry.js} +1 -1
  399. package/lib/duet/{p-6f891451.entry.js → p-9c3381d1.entry.js} +1 -1
  400. package/lib/duet/p-9ee5583e.entry.js +4 -0
  401. package/lib/duet/p-9fab377c.system.entry.js +4 -0
  402. package/lib/duet/{p-aa6ad573.system.entry.js → p-a080b5ee.system.entry.js} +1 -1
  403. package/lib/duet/p-a1c69051.system.entry.js +4 -0
  404. package/lib/duet/{p-2349e838.entry.js → p-a2b1a4c0.entry.js} +1 -1
  405. package/lib/duet/{p-f4493cb6.entry.js → p-a38b0c78.entry.js} +1 -1
  406. package/lib/duet/{p-6576401a.entry.js → p-a3e01217.entry.js} +1 -1
  407. package/lib/duet/{p-38320af8.js → p-a4fd3204.js} +1 -1
  408. package/lib/duet/p-a51fc564.entry.js +4 -0
  409. package/lib/duet/{p-07af14f1.js → p-a68b58e6.js} +1 -1
  410. package/lib/duet/{p-b27b1902.system.entry.js → p-a76a945d.system.entry.js} +1 -1
  411. package/lib/duet/{p-c565698d.system.entry.js → p-a881dcee.system.entry.js} +1 -1
  412. package/lib/duet/{p-71ef1651.system.entry.js → p-a8eef96f.system.entry.js} +1 -1
  413. package/lib/duet/{p-5ed00370.system.js → p-ab04f0b5.system.js} +1 -1
  414. package/lib/duet/{p-903efe1d.entry.js → p-ac03e45a.entry.js} +1 -1
  415. package/lib/duet/{p-b036d4f0.system.entry.js → p-adb4f00d.system.entry.js} +1 -1
  416. package/lib/duet/{p-ad3021d3.system.entry.js → p-ae0edbf0.system.entry.js} +1 -1
  417. package/lib/duet/{p-d8ee9cc9.entry.js → p-ae55ab01.entry.js} +1 -1
  418. package/lib/duet/{p-ebe22b98.system.entry.js → p-af129095.system.entry.js} +1 -1
  419. package/lib/duet/{p-e79bf1c2.entry.js → p-af24d0ba.entry.js} +1 -1
  420. package/lib/duet/{p-dce5a6f9.entry.js → p-b00491f4.entry.js} +1 -1
  421. package/lib/duet/{p-a5504252.entry.js → p-b0b1f2a2.entry.js} +1 -1
  422. package/lib/duet/{p-b54be005.entry.js → p-b14f32a6.entry.js} +1 -1
  423. package/lib/duet/{p-c0c9acd9.system.entry.js → p-b2196a24.system.entry.js} +1 -1
  424. package/lib/duet/p-b2bba5c2.system.entry.js +4 -0
  425. package/lib/duet/{p-13876bc6.entry.js → p-b421c710.entry.js} +1 -1
  426. package/lib/duet/{p-26f7d1b9.system.entry.js → p-b59a6d4c.system.entry.js} +1 -1
  427. package/lib/duet/p-b7fd8ad4.system.entry.js +4 -0
  428. package/lib/duet/{p-b62108c8.system.entry.js → p-b853ccf5.system.entry.js} +2 -2
  429. package/lib/duet/{p-885b38a9.system.js → p-b985bcf7.system.js} +1 -1
  430. package/lib/duet/p-bb01e446.system.entry.js +4 -0
  431. package/lib/duet/{p-9308c47c.system.entry.js → p-bb0cfbf7.system.entry.js} +1 -1
  432. package/lib/duet/{p-625f750f.system.entry.js → p-bb174891.system.entry.js} +1 -1
  433. package/lib/duet/p-bc1fed7e.system.entry.js +4 -0
  434. package/lib/duet/p-be2d339f.system.entry.js +4 -0
  435. package/lib/duet/p-bf3e4216.entry.js +4 -0
  436. package/lib/duet/{p-b62ed1f0.entry.js → p-bfd0356f.entry.js} +1 -1
  437. package/lib/duet/{p-3aa3fb24.system.entry.js → p-c0fc230e.system.entry.js} +1 -1
  438. package/lib/duet/{p-f009e108.entry.js → p-c796c3f4.entry.js} +1 -1
  439. package/lib/duet/p-cc62667c.entry.js +4 -0
  440. package/lib/duet/{p-580a7bae.entry.js → p-cd042667.entry.js} +1 -1
  441. package/lib/duet/{p-81230084.system.entry.js → p-cd5dba94.system.entry.js} +1 -1
  442. package/lib/duet/{p-0aa1b1cd.system.entry.js → p-cd970535.system.entry.js} +2 -2
  443. package/lib/duet/p-cfe49bdb.entry.js +4 -0
  444. package/lib/duet/p-d538903d.entry.js +4 -0
  445. package/lib/duet/p-d6453fde.entry.js +4 -0
  446. package/lib/duet/{p-f1d51e20.js → p-d96c1564.js} +1 -1
  447. package/lib/duet/{p-342527a4.entry.js → p-dac54475.entry.js} +1 -1
  448. package/lib/duet/{p-33d6e5ef.entry.js → p-db498557.entry.js} +1 -1
  449. package/lib/duet/{p-e6bd0e51.system.entry.js → p-e07fa18a.system.entry.js} +1 -1
  450. package/lib/duet/p-e10553a8.entry.js +4 -0
  451. package/lib/duet/{p-785ff4f2.entry.js → p-e27983cf.entry.js} +1 -1
  452. package/lib/duet/p-e41cd4f9.system.entry.js +4 -0
  453. package/lib/duet/{p-b022a3d5.system.entry.js → p-e42e3a8a.system.entry.js} +2 -2
  454. package/lib/duet/{p-f7b58d72.system.js → p-e42e59a8.system.js} +1 -1
  455. package/lib/duet/{p-cfb85117.entry.js → p-e4bbb63e.entry.js} +1 -1
  456. package/lib/duet/p-e5514a5b.entry.js +4 -0
  457. package/lib/duet/{p-246db04a.entry.js → p-e6a69686.entry.js} +1 -1
  458. package/lib/duet/{p-2b9499f1.entry.js → p-e6d43779.entry.js} +1 -1
  459. package/lib/duet/{p-464adc60.system.entry.js → p-eaac2908.system.entry.js} +1 -1
  460. package/lib/duet/p-ead618f6.system.entry.js +4 -0
  461. package/lib/duet/{p-132ea5e6.entry.js → p-eadfb5cf.entry.js} +1 -1
  462. package/lib/duet/{p-7b847e11.system.entry.js → p-eb0e33f2.system.entry.js} +1 -1
  463. package/lib/duet/{p-51bdb5fd.system.entry.js → p-eb0e706a.system.entry.js} +1 -1
  464. package/lib/duet/{p-502f43bb.entry.js → p-eb892ea8.entry.js} +1 -1
  465. package/lib/duet/{p-61fe1543.system.entry.js → p-ec80c9be.system.entry.js} +1 -1
  466. package/lib/duet/p-eccd38da.system.js +4 -0
  467. package/lib/duet/{p-2c730d40.entry.js → p-f1c23c0a.entry.js} +1 -1
  468. package/lib/duet/{p-1b11541f.entry.js → p-f5aacbf9.entry.js} +1 -1
  469. package/lib/duet/p-f662ac7c.system.entry.js +4 -0
  470. package/lib/duet/{p-69fba9fe.system.entry.js → p-f7105228.system.entry.js} +1 -1
  471. package/lib/duet/p-f8d2bf05.system.entry.js +4 -0
  472. package/lib/duet/{p-9192de69.system.entry.js → p-f9fc34c4.system.entry.js} +1 -1
  473. package/lib/duet/{p-8bc5df74.entry.js → p-fa25a512.entry.js} +1 -1
  474. package/lib/duet/p-fe1e84a5.system.entry.js +4 -0
  475. package/lib/esm/app-globals-45aa6d20.js +26 -0
  476. package/lib/esm/duet-action-button.entry.js +4 -4
  477. package/lib/esm/duet-alert.entry.js +4 -1
  478. package/lib/esm/duet-badge.entry.js +1 -1
  479. package/lib/esm/duet-banner.entry.js +3 -3
  480. package/lib/esm/duet-breadcrumb.entry.js +11 -2
  481. package/lib/esm/duet-breadcrumbs.entry.js +2 -2
  482. package/lib/esm/duet-button_2.entry.js +5 -4
  483. package/lib/esm/duet-callout.entry.js +1 -1
  484. package/lib/esm/duet-caption_4.entry.js +15 -5
  485. package/lib/esm/duet-card.entry.js +10 -4
  486. package/lib/esm/duet-checkbox.entry.js +1 -1
  487. package/lib/esm/duet-checkmark.entry.js +1 -1
  488. package/lib/esm/duet-chip.entry.js +8 -1
  489. package/lib/esm/duet-choice_2.entry.js +5 -3
  490. package/lib/esm/duet-collapsible.entry.js +9 -3
  491. package/lib/esm/duet-combobox.entry.js +2 -2
  492. package/lib/esm/duet-contact-card.entry.js +1 -1
  493. package/lib/esm/duet-cookie-consent.entry.js +8 -1
  494. package/lib/esm/duet-date-picker.entry.js +2 -2
  495. package/lib/esm/duet-divider_2.entry.js +3 -3
  496. package/lib/esm/duet-editable-table_3.entry.js +4 -4
  497. package/lib/esm/duet-empty-state.entry.js +1 -1
  498. package/lib/esm/duet-fieldset.entry.js +1 -1
  499. package/lib/esm/duet-file-chooser.entry.js +1 -1
  500. package/lib/esm/duet-footer.entry.js +4 -1
  501. package/lib/esm/duet-grid_2.entry.js +2 -2
  502. package/lib/esm/duet-header_2.entry.js +6 -4
  503. package/lib/esm/duet-hero.entry.js +1 -1
  504. package/lib/esm/duet-icon.entry.js +3 -3
  505. package/lib/esm/duet-input_2.entry.js +3 -3
  506. package/lib/esm/duet-layout.entry.js +1 -1
  507. package/lib/esm/duet-list_2.entry.js +1 -1
  508. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  509. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
  510. package/lib/esm/duet-menu-bar-dropdown.entry.js +4 -4
  511. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  512. package/lib/esm/duet-menu-bar.entry.js +2 -2
  513. package/lib/esm/duet-modal.entry.js +4 -4
  514. package/lib/esm/duet-multiselect.entry.js +3 -3
  515. package/lib/esm/duet-nav.entry.js +1 -1
  516. package/lib/esm/duet-notification_2.entry.js +6 -1
  517. package/lib/esm/duet-number-input.entry.js +4 -2
  518. package/lib/esm/duet-page-heading.entry.js +1 -1
  519. package/lib/esm/duet-pagination_2.entry.js +4 -4
  520. package/lib/esm/duet-popup-menu-item.entry.js +1 -1
  521. package/lib/esm/duet-popup-menu.entry.js +4 -4
  522. package/lib/esm/duet-progress.entry.js +1 -1
  523. package/lib/esm/duet-promo-card.entry.js +3 -3
  524. package/lib/esm/duet-radio_2.entry.js +1 -1
  525. package/lib/esm/duet-range-slider.entry.js +9 -2
  526. package/lib/esm/duet-scrollable_3.entry.js +4 -2
  527. package/lib/esm/duet-section-layout.entry.js +1 -1
  528. package/lib/esm/duet-select.entry.js +2 -2
  529. package/lib/esm/duet-shaped-image.entry.js +1 -1
  530. package/lib/esm/duet-show-more.entry.js +2 -2
  531. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  532. package/lib/esm/duet-slideout-link.entry.js +1 -1
  533. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  534. package/lib/esm/duet-slideout-panel.entry.js +4 -4
  535. package/lib/esm/duet-slideout.entry.js +13 -10
  536. package/lib/esm/duet-step_2.entry.js +8 -2
  537. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  538. package/lib/esm/duet-submenu-bar-dropdown.entry.js +4 -4
  539. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  540. package/lib/esm/duet-submenu-bar.entry.js +2 -2
  541. package/lib/esm/duet-textarea.entry.js +2 -2
  542. package/lib/esm/duet-toggle.entry.js +8 -1
  543. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  544. package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
  545. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  546. package/lib/esm/duet-toolbar.entry.js +1 -1
  547. package/lib/esm/duet-tooltip-button_2.entry.js +14 -19
  548. package/lib/esm/duet-tooltip.entry.js +8 -4
  549. package/lib/esm/duet-tray.entry.js +5 -2
  550. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  551. package/lib/esm/duet-upload-item.entry.js +1 -1
  552. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  553. package/lib/esm/duet.js +4 -4
  554. package/lib/esm/{focus-utils-d54af982.js → focus-utils-270bf5da.js} +1 -1
  555. package/lib/esm/{index-d4489a2e.js → index-d7bdcdc1.js} +1 -1
  556. package/lib/esm/keyboard-utils-eba88365.js +51 -0
  557. package/lib/esm/loader.js +4 -4
  558. package/lib/{dist-custom-elements/p-b2e550a3.js → esm/teleport-691e534d.js} +8 -0
  559. package/lib/esm/{token-utils-b4bd3ec7.js → token-utils-84d66351.js} +1 -1
  560. package/lib/{dist-custom-elements/p-64d43840.js → esm/tokens-5a0d14c7.js} +1 -1
  561. package/lib/esm/{tokens.module-c7944140.js → tokens.module-16569707.js} +1 -1
  562. package/lib/esm-es5/app-globals-45aa6d20.js +4 -0
  563. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  564. package/lib/esm-es5/duet-alert.entry.js +2 -2
  565. package/lib/esm-es5/duet-badge.entry.js +1 -1
  566. package/lib/esm-es5/duet-banner.entry.js +1 -1
  567. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  568. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  569. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  570. package/lib/esm-es5/duet-callout.entry.js +1 -1
  571. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  572. package/lib/esm-es5/duet-card.entry.js +1 -1
  573. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  574. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  575. package/lib/esm-es5/duet-chip.entry.js +2 -2
  576. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  577. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  578. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  579. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  580. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  581. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  582. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  583. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  584. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  585. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  586. package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
  587. package/lib/esm-es5/duet-footer.entry.js +1 -1
  588. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  589. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  590. package/lib/esm-es5/duet-hero.entry.js +1 -1
  591. package/lib/esm-es5/duet-icon.entry.js +2 -2
  592. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  593. package/lib/esm-es5/duet-layout.entry.js +1 -1
  594. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  595. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  596. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  597. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  598. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  599. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  600. package/lib/esm-es5/duet-modal.entry.js +1 -1
  601. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  602. package/lib/esm-es5/duet-nav.entry.js +1 -1
  603. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  604. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  605. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  606. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  607. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  608. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  609. package/lib/esm-es5/duet-progress.entry.js +1 -1
  610. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  611. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  612. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  613. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  614. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  615. package/lib/esm-es5/duet-select.entry.js +1 -1
  616. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  617. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  618. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  619. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  620. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  621. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  622. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  623. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  624. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  625. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  626. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  627. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  628. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  629. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  630. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  631. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  632. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  633. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  634. package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
  635. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  636. package/lib/esm-es5/duet-tray.entry.js +1 -1
  637. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  638. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  639. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  640. package/lib/esm-es5/duet.js +1 -1
  641. package/lib/esm-es5/focus-utils-270bf5da.js +4 -0
  642. package/lib/esm-es5/{index-d4489a2e.js → index-d7bdcdc1.js} +1 -1
  643. package/lib/esm-es5/keyboard-utils-eba88365.js +4 -0
  644. package/lib/esm-es5/loader.js +1 -1
  645. package/lib/esm-es5/teleport-691e534d.js +4 -0
  646. package/lib/esm-es5/{token-utils-b4bd3ec7.js → token-utils-84d66351.js} +1 -1
  647. package/lib/esm-es5/{tokens-e6b6db9b.js → tokens-5a0d14c7.js} +1 -1
  648. package/lib/esm-es5/{tokens.module-c7944140.js → tokens.module-16569707.js} +1 -1
  649. package/lib/types/common-types.d.ts +11 -0
  650. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +6 -1
  651. package/lib/types/components/duet-card/duet-card.d.ts +2 -0
  652. package/lib/types/components/duet-chip/duet-chip.d.ts +2 -0
  653. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +2 -0
  654. package/lib/types/components/duet-cookie-consent/duet-cookie-consent.d.ts +2 -0
  655. package/lib/types/components/duet-header/duet-header-icon.d.ts +1 -1
  656. package/lib/types/components/duet-icon/duet-icon.d.ts +1 -2
  657. package/lib/types/components/duet-link/duet-link.d.ts +1 -0
  658. package/lib/types/components/duet-menu-bar-button/duet-menu-bar-button.d.ts +1 -2
  659. package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +1 -2
  660. package/lib/types/components/duet-menu-bar-link/duet-menu-bar-link.d.ts +1 -2
  661. package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +2 -0
  662. package/lib/types/components/duet-slideout/duet-slideout.d.ts +1 -0
  663. package/lib/types/components/duet-step/duet-step.d.ts +2 -0
  664. package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +1 -2
  665. package/lib/types/components/duet-submenu-bar-link/duet-submenu-bar-link.d.ts +1 -2
  666. package/lib/types/components/duet-toggle/duet-toggle.d.ts +2 -0
  667. package/lib/types/components/duet-tooltip/duet-tooltip-button.d.ts +2 -3
  668. package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +2 -3
  669. package/lib/types/components.d.ts +10 -4
  670. package/lib/types/utils/keyboard-utils.d.ts +2 -0
  671. package/package.json +5 -5
  672. package/lib/cjs/app-globals-cd75f624.js +0 -54
  673. package/lib/cjs/keyboard-utils-02441bc5.js +0 -36
  674. package/lib/dist-custom-elements/p-56ac3289.js +0 -20
  675. package/lib/dist-custom-elements/p-5fe36e8b.js +0 -300
  676. package/lib/duet/p-0782a6e5.js +0 -4
  677. package/lib/duet/p-105a1448.entry.js +0 -4
  678. package/lib/duet/p-1ea5e7e8.system.entry.js +0 -4
  679. package/lib/duet/p-25bde810.entry.js +0 -4
  680. package/lib/duet/p-26c85bab.entry.js +0 -4
  681. package/lib/duet/p-2f0a23ae.entry.js +0 -4
  682. package/lib/duet/p-3cafacc3.system.entry.js +0 -4
  683. package/lib/duet/p-3e1248d8.entry.js +0 -4
  684. package/lib/duet/p-40ee5f5e.system.entry.js +0 -4
  685. package/lib/duet/p-42b9c6f9.system.entry.js +0 -4
  686. package/lib/duet/p-48d6a81d.system.entry.js +0 -4
  687. package/lib/duet/p-4911c778.system.entry.js +0 -4
  688. package/lib/duet/p-4c650a9e.entry.js +0 -4
  689. package/lib/duet/p-513dfe01.entry.js +0 -4
  690. package/lib/duet/p-5b86c564.entry.js +0 -4
  691. package/lib/duet/p-5c94249e.system.entry.js +0 -4
  692. package/lib/duet/p-5f43dbcf.entry.js +0 -4
  693. package/lib/duet/p-65e434a5.entry.js +0 -4
  694. package/lib/duet/p-67c653f9.system.js +0 -4
  695. package/lib/duet/p-6a972453.system.entry.js +0 -4
  696. package/lib/duet/p-6cae9d4b.entry.js +0 -4
  697. package/lib/duet/p-73f176dc.system.entry.js +0 -4
  698. package/lib/duet/p-7a085479.system.entry.js +0 -4
  699. package/lib/duet/p-7a91a53e.system.entry.js +0 -4
  700. package/lib/duet/p-7b5cd54a.system.entry.js +0 -4
  701. package/lib/duet/p-7e833901.system.entry.js +0 -4
  702. package/lib/duet/p-81a6df68.system.js +0 -4
  703. package/lib/duet/p-8d0d6e06.system.js +0 -4
  704. package/lib/duet/p-8d69624a.entry.js +0 -4
  705. package/lib/duet/p-8eb82556.system.entry.js +0 -4
  706. package/lib/duet/p-97488cc9.entry.js +0 -4
  707. package/lib/duet/p-9de9d3eb.entry.js +0 -4
  708. package/lib/duet/p-9e36548d.system.js +0 -4
  709. package/lib/duet/p-a59b5059.entry.js +0 -4
  710. package/lib/duet/p-ad0179fa.system.entry.js +0 -4
  711. package/lib/duet/p-b2e550a3.js +0 -4
  712. package/lib/duet/p-b5831260.system.entry.js +0 -4
  713. package/lib/duet/p-b5ffa156.entry.js +0 -4
  714. package/lib/duet/p-b6af2626.entry.js +0 -4
  715. package/lib/duet/p-b8b0249f.system.entry.js +0 -4
  716. package/lib/duet/p-c0152624.system.entry.js +0 -4
  717. package/lib/duet/p-cb69ce4a.entry.js +0 -4
  718. package/lib/duet/p-cc1909de.js +0 -4
  719. package/lib/duet/p-cd8177fe.entry.js +0 -4
  720. package/lib/duet/p-d2681203.entry.js +0 -4
  721. package/lib/duet/p-d3069a7b.entry.js +0 -4
  722. package/lib/duet/p-d5d57b8f.system.entry.js +0 -4
  723. package/lib/duet/p-db14fdfd.system.entry.js +0 -4
  724. package/lib/duet/p-e3a8dcb3.system.entry.js +0 -4
  725. package/lib/duet/p-e96a5f8b.system.entry.js +0 -4
  726. package/lib/duet/p-f0dc0a5b.entry.js +0 -4
  727. package/lib/duet/p-f1d894da.system.entry.js +0 -4
  728. package/lib/duet/p-f3bf4d40.system.js +0 -4
  729. package/lib/duet/p-fb30fcb0.system.entry.js +0 -4
  730. package/lib/duet/p-fc0fe631.system.entry.js +0 -4
  731. package/lib/duet/p-fc4f175f.system.entry.js +0 -4
  732. package/lib/duet/p-ff815e47.entry.js +0 -4
  733. package/lib/esm/app-globals-41b37f11.js +0 -52
  734. package/lib/esm/keyboard-utils-5746e126.js +0 -20
  735. package/lib/esm-es5/app-globals-41b37f11.js +0 -4
  736. package/lib/esm-es5/focus-utils-d54af982.js +0 -4
  737. package/lib/esm-es5/keyboard-utils-5746e126.js +0 -4
  738. package/lib/esm-es5/teleport-4462e8c1.js +0 -4
@@ -0,0 +1,51 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ const isArrowLeftKey = (e) => e.key === "ArrowLeft" || e.key === "Left";
5
+ const isArrowUpKey = (e) => e.key === "ArrowUp" || e.key === "Up";
6
+ const isArrowRightKey = (e) => e.key === "ArrowRight" || e.key === "Right";
7
+ const isArrowDownKey = (e) => e.key === "ArrowDown" || e.key === "Down";
8
+ const isArrowKey = (e) => isArrowDownKey(e) || isArrowRightKey(e) || isArrowUpKey(e) || isArrowLeftKey(e);
9
+ const isEscapeKey = (e) => e.key === "Escape" || e.key === "Esc";
10
+ const isTabKey = (e) => e.key === "Tab";
11
+ const isBackspaceKey = (e) => e.key === "Backspace";
12
+ const isSpaceKey = (e) => e.key === " " || e.key === "Spacebar";
13
+ const isPlusKey = (e) => e.key === "+" || e.key === "Add";
14
+ const isMinusKey = (e) => e.key === "-" || e.key === "Subtract";
15
+ const isQuestionKey = (e) => e.key === "?";
16
+ const isEnterKey = (e) => e.key === "Enter";
17
+ const isKeyboardClick = (e) => isEnterKey(e) || isSpaceKey(e);
18
+ const isNumber = (e) => e.key >= "0" && e.key <= "9";
19
+ /**
20
+ * Component instances that have subscribed to tabbing change.
21
+ */
22
+ const tabbingChangeSubscribers = new Set();
23
+ function notifySubscribers(tabbing) {
24
+ tabbingChangeSubscribers.forEach(subscriber => {
25
+ subscriber.element.classList[tabbing ? "add" : "remove"]("user-is-tabbing");
26
+ });
27
+ }
28
+ function listenKeys(event) {
29
+ if (isTabKey(event)) {
30
+ notifySubscribers(true);
31
+ window.removeEventListener("keydown", listenKeys);
32
+ window.addEventListener("mousedown", listenMouse, false);
33
+ }
34
+ }
35
+ function listenMouse() {
36
+ notifySubscribers(false);
37
+ window.removeEventListener("mousedown", listenMouse);
38
+ window.addEventListener("keydown", listenKeys, false);
39
+ }
40
+ // start listening for tabbing (and mouse clicking through that) only if window is defined (i.e. not on server)
41
+ if (typeof window !== "undefined") {
42
+ window.addEventListener("keydown", listenKeys, false);
43
+ }
44
+ const subscribeTabbingChange = component => {
45
+ tabbingChangeSubscribers.add(component);
46
+ };
47
+ const unsubscribeTabbingChange = component => {
48
+ tabbingChangeSubscribers.delete(component);
49
+ };
50
+
51
+ export { isQuestionKey as a, isEscapeKey as b, isEnterKey as c, isTabKey as d, isArrowUpKey as e, isArrowDownKey as f, isSpaceKey as g, isArrowLeftKey as h, isKeyboardClick as i, isArrowRightKey as j, isBackspaceKey as k, isArrowKey as l, isNumber as m, isMinusKey as n, isPlusKey as o, subscribeTabbingChange as s, unsubscribeTabbingChange as u };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { m as mediaQueryXxSmall, a as mediaQueryXSmall, b as mediaQuerySmall, c as mediaQueryMedium, d as mediaQueryLarge, e as mediaQueryXLarge, f as mediaQueryXxLarge, g as mediaQueryXxxLarge, h as mediaQueryXxxSmall, t as tokens } from './p-c057158b.js';
4
+ import { m as mediaQueryXxSmall, a as mediaQueryXSmall, b as mediaQuerySmall, c as mediaQueryMedium, d as mediaQueryLarge, e as mediaQueryXLarge, f as mediaQueryXxLarge, g as mediaQueryXxxLarge, h as mediaQueryXxxSmall, t as tokens } from './p-7d6b2e2a.js';
5
5
 
6
6
  const allowedThemes = ["turva"];
7
7
  function isDashCase(str) {
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-6f7dcc4d.js';
5
- import { j as colorGrayLightest, k as colorBrandGrayTurva, l as colorPrimaryTurva, n as colorPrimary } from './p-c057158b.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-26c9e94a.js';
5
+ import { j as colorGrayLightest, k as colorBrandGrayTurva, l as colorPrimaryTurva, n as colorPrimary } from './p-7d6b2e2a.js';
6
6
  import { i as inheritGlobalTheme } from './p-a58bd561.js';
7
7
  import { c as createID } from './p-5e59e970.js';
8
8
  import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2e36d5bf.js';
@@ -1,9 +1,10 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-6f7dcc4d.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-26c9e94a.js';
5
5
  import { i as inheritGlobalTheme } from './p-a58bd561.js';
6
- import { d as defineCustomElement$1 } from './p-d5f3b174.js';
6
+ import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-8f253845.js';
7
+ import { d as defineCustomElement$1 } from './p-8496cd8c.js';
7
8
 
8
9
  const duetTooltipButtonCss = "*,*::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}.duet-tooltip-button{z-index:100;display:inline-block;align-items:center;justify-content:center;min-width:48px;height:48px;padding:0 !important;margin-right:-12px;line-height:normal !important;color:rgb(0, 119, 179);white-space:nowrap;cursor:pointer;background:transparent !important;border-radius:4px}.duet-tooltip-button.duet-theme-turva{color:rgb(198, 12, 48)}.duet-tooltip-button:hover{color:rgb(0, 77, 128)}.duet-tooltip-button:hover.duet-theme-turva{color:rgb(148, 9, 37)}.duet-tooltip-button:focus{background:transparent !important;outline:0}:host(.user-is-tabbing) .duet-tooltip-button:focus{background:transparent !important;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-tooltip-button.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tooltip-button svg{width:20px;height:20px;pointer-events:none}.duet-tooltip-button-has-label{margin-right:0}.duet-tooltip-label{position:relative;z-index:100;display:inline-block;max-width:calc(100% - 30px);margin-left:12px !important;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.25;text-align:left;white-space:normal;vertical-align:top}.duet-theme-turva .duet-tooltip-label{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}";
9
10
 
@@ -12,7 +13,6 @@ const DuetTooltipButton = /*@__PURE__*/ proxyCustomElement(class DuetTooltipButt
12
13
  super();
13
14
  this.__registerHost();
14
15
  this.__attachShadow();
15
- this.userIsTabbing = false;
16
16
  this.label = "";
17
17
  this.accessibleLabel = undefined;
18
18
  this.theme = "";
@@ -25,13 +25,11 @@ const DuetTooltipButton = /*@__PURE__*/ proxyCustomElement(class DuetTooltipButt
25
25
  componentWillLoad() {
26
26
  inheritGlobalTheme(this);
27
27
  }
28
- listenKeys(event) {
29
- if (event.keyCode === 9) {
30
- this.userIsTabbing = true;
31
- }
28
+ connectedCallback() {
29
+ subscribeTabbingChange(this);
32
30
  }
33
- listenMouse() {
34
- this.userIsTabbing = false;
31
+ disconnectedCallback() {
32
+ unsubscribeTabbingChange(this);
35
33
  }
36
34
  async setFocus(options) {
37
35
  if (this.buttonElement) {
@@ -43,7 +41,7 @@ const DuetTooltipButton = /*@__PURE__*/ proxyCustomElement(class DuetTooltipButt
43
41
  * Always the last one in the class.
44
42
  */
45
43
  render() {
46
- return (h(Host, { class: { "user-is-tabbing": this.userIsTabbing } }, h("button", { ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
44
+ return (h(Host, null, h("button", { ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
47
45
  "duet-tooltip-button": true,
48
46
  "duet-tooltip-button-has-label": !!this.label,
49
47
  "duet-theme-turva": this.theme === "turva",
@@ -57,9 +55,8 @@ const DuetTooltipButton = /*@__PURE__*/ proxyCustomElement(class DuetTooltipButt
57
55
  "theme": [1025],
58
56
  "active": [4],
59
57
  "tooltipId": [1, "tooltip-id"],
60
- "userIsTabbing": [32],
61
58
  "setFocus": [64]
62
- }, [[8, "keydown", "listenKeys"], [9, "mousedown", "listenMouse"]]]);
59
+ }]);
63
60
  function defineCustomElement() {
64
61
  if (typeof customElements === "undefined") {
65
62
  return;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-6f7dcc4d.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-26c9e94a.js';
5
5
  import { i as inheritGlobalTheme } from './p-a58bd561.js';
6
6
 
7
7
  const duetGridItemCss = ".sc-duet-grid-item-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;min-width:0;max-width:100%;flex:0 0 auto;padding-right:8px;padding-left:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(0, 41, 77)}.duet-grid-direction-horizontal.sc-duet-grid-item-h:first-child,.duet-grid-direction-horizontal.sc-duet-grid-item-h:first-of-type{padding-left:0}.duet-grid-direction-horizontal.sc-duet-grid-item-h:last-child,.duet-grid-direction-horizontal.sc-duet-grid-item-h:last-of-type{padding-right:0}@media (max-width: 35.9375em){.duet-grid-item-responsive.sc-duet-grid-item-h{width:100% !important;min-width:0 !important;max-width:100% !important;padding-right:0;padding-left:0}}@media screen and (max-width: 47.9375em){.duet-grid-item-br-medium.sc-duet-grid-item-h{width:100% !important;min-width:0 !important;max-width:100% !important}}@media screen and (max-width: 47.9375em){.duet-grid-item-responsive.duet-grid-item-br-medium.sc-duet-grid-item-h{padding-right:0;padding-left:0}}@media screen and (max-width: 64em){.duet-grid-item-br-x-large.sc-duet-grid-item-h{width:100% !important;min-width:0 !important;max-width:100% !important}}@media screen and (max-width: 64em){.duet-grid-item-responsive.duet-grid-item-br-x-large.sc-duet-grid-item-h{padding-right:0;padding-left:0}}.duet-grid-item-fill.sc-duet-grid-item-h{flex:1 1 auto;width:100%}.duet-theme-turva.sc-duet-grid-item-h{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-m-0.sc-duet-grid-item-h{padding:0 !important;margin:0 !important}";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-6f7dcc4d.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-26c9e94a.js';
5
5
  import { i as inheritGlobalTheme } from './p-a58bd561.js';
6
6
 
7
7
  const duetBadgeCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fee8c3}.duet-badge.danger{background:#f8d3e0}.duet-badge.danger.duet-theme-turva{background:#f9d4cf}.duet-badge.success{background:#cce7de}.duet-badge.success.duet-theme-turva{background:#cee7dc}.duet-badge.subtle{color:rgb(101, 119, 135);background:none;outline:1px solid rgb(225, 227, 230);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(68, 68, 69);background:none;outline-color:rgb(228, 228, 230)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#fbb63f}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(222, 35, 98)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(224, 42, 13)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(0, 135, 90)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(8, 135, 78)}.duet-badge.background-strong.subtle{border-color:rgb(207, 210, 212);outline-color:rgb(0, 41, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(207, 207, 209);outline-color:rgb(23, 28, 58)}";
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h } from './p-6f7dcc4d.js';
4
+ import { p as proxyCustomElement, H, h } from './p-26c9e94a.js';
5
5
  import { i as inheritGlobalTheme } from './p-a58bd561.js';
6
- import { g as getColorByName } from './p-57a1cba9.js';
6
+ import { g as getColorByName } from './p-9a81250e.js';
7
7
 
8
8
  const duetDividerCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:rgb(225, 227, 230)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(228, 228, 230)}";
9
9
 
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-6f7dcc4d.js';
5
- import { a as media_query_large, m as media_query_medium, b as media_query_small } from './p-64d43840.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-26c9e94a.js';
5
+ import { a as media_query_large, m as media_query_medium, b as media_query_small } from './p-0cc51aa5.js';
6
6
  import { w as watchForOptions, a as watchForElement } from './p-7d8a2628.js';
7
7
 
8
8
  const duetGridCss = ".sc-duet-grid-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-grid-variation-flex.sc-duet-grid-h{display:flex !important;flex-direction:column !important;align-items:flex-start !important;justify-content:flex-start !important;width:100%;max-width:100%;height:auto}.duet-grid-variation-flex.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-x-small.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}@media (max-width: 22.5em){.duet-grid-variation-flex.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-small.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-medium.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-large.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-grid-breakpoint-x-large.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}}.duet-grid-variation-flex.duet-grid-wrap.sc-duet-grid-h{flex-wrap:wrap !important}.duet-grid-variation-flex.duet-no-stacking.sc-duet-grid-h{flex-direction:row !important}.duet-grid-variation-flex.duet-no-stacking.duet-grid-row-reverse.sc-duet-grid-h{flex-direction:row-reverse !important}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:column !important}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large.sc-duet-grid-h{flex-direction:column !important}}.duet-grid-variation-flex.duet-grid-align-top.duet-no-stacking.sc-duet-grid-h{align-items:flex-start !important}.duet-grid-variation-flex.duet-grid-align-bottom.duet-no-stacking.sc-duet-grid-h{align-items:flex-end !important}.duet-grid-variation-flex.duet-grid-align-center.duet-no-stacking.sc-duet-grid-h{align-items:center !important}.duet-grid-variation-flex.duet-grid-align-stretch.duet-no-stacking.sc-duet-grid-h{align-items:stretch !important}.duet-grid-variation-flex.duet-grid-align-baseline.duet-no-stacking.sc-duet-grid-h{align-items:baseline !important}.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:flex-start !important}.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:flex-end !important}.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:center !important}.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:stretch !important}.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-small.sc-duet-grid-h{align-items:baseline !important}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:center !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 36em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-small.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:center !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 48em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-medium.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:center !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 62em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-large.sc-duet-grid-h{align-items:baseline !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:flex-start !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:flex-end !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:center !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:stretch !important}}@media (min-width: 64.0625em){.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-large.sc-duet-grid-h{align-items:baseline !important}}.duet-grid-variation-flex.duet-grid-distribution-left.sc-duet-grid-h{justify-content:flex-start !important}.duet-grid-variation-flex.duet-grid-distribution-right.sc-duet-grid-h{justify-content:flex-end !important}.duet-grid-variation-flex.duet-grid-distribution-center.sc-duet-grid-h{justify-content:center !important}.duet-grid-variation-flex.duet-grid-distribution-between.sc-duet-grid-h{justify-content:space-between !important}.duet-grid-variation-flex.duet-grid-distribution-around.sc-duet-grid-h{justify-content:space-around !important}.duet-grid-variation-flex.duet-grid-distribution-evenly.sc-duet-grid-h{justify-content:space-evenly !important}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-mobile-left.sc-duet-grid-h{align-items:flex-start !important;justify-content:flex-start !important;text-align:left !important}}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-mobile-center.sc-duet-grid-h{align-items:center !important;justify-content:center !important;text-align:center !important}.duet-grid-variation-flex.duet-grid-mobile-center.sc-duet-grid-h *.sc-duet-grid{text-align:center !important}}@media (max-width: 35.9375em){.duet-grid-variation-flex.duet-grid-mobile-right.sc-duet-grid-h{align-items:flex-end !important;justify-content:flex-end !important;text-align:right !important}.duet-grid-variation-flex.duet-grid-mobile-right.sc-duet-grid-h *.sc-duet-grid{text-align:right !important}}.duet-grid-variation-grid.sc-duet-grid-h{display:grid;grid-template-rows:repeat(1, 1fr);grid-template-columns:repeat(4, minmax(0, 1fr));gap:16px;align-items:flex-start;justify-content:center;margin:0 20px}@media (min-width: 36em){.duet-grid-variation-grid.sc-duet-grid-h{gap:24px;margin:0 40px}}@media (min-width: 48em){.duet-grid-variation-grid.sc-duet-grid-h{grid-template-columns:repeat(8, 55px);gap:24px 32px;margin:0 auto}}@media (min-width: 62em){.duet-grid-variation-grid.sc-duet-grid-h{grid-template-columns:repeat(12, minmax(0, 1fr));margin:0 64px}}@media (min-width: 76.25em){.duet-grid-variation-grid.sc-duet-grid-h{grid-template-columns:repeat(12, 55px);gap:40px;margin:0 auto}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-small.sc-duet-grid-s>*{grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-small.sc-duet-grid-s>*{grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-small.sc-duet-grid-s>*{grid-column:3/span 8}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-medium.sc-duet-grid-s>*{grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-medium.sc-duet-grid-s>*{grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-medium.sc-duet-grid-s>*{grid-column:2/span 10}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-large.sc-duet-grid-s>*{grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-large.sc-duet-grid-s>*{grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-large.sc-duet-grid-s>*{grid-column:1/span 12}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(2){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-right.sc-duet-grid-s>:nth-child(2){grid-column:9/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(2){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-sidebar-left.sc-duet-grid-s>:nth-child(2){grid-column:5/span 8}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 6}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(2){grid-column:5/span 4}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-two-columns.sc-duet-grid-s>:nth-child(2){grid-column:7/span 6}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(1){grid-column:1/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(2){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(2){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(2){grid-column:5/span 4}}.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(3){grid-column:1/span 4}@media (min-width: 48em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(3){grid-column:1/span 8}}@media (min-width: 62em){.sc-duet-grid-h.duet-grid-variation-grid.duet-grid-template-three-columns.sc-duet-grid-s>:nth-child(3){grid-column:9/span 4}}";
@@ -0,0 +1,301 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-26c9e94a.js';
5
+ import { i as inheritGlobalTheme } from './p-a58bd561.js';
6
+ import { D as DuetStringsExternalDefaults, a as DuetStringsLoadingDefaults } from './p-4ab776f4.js';
7
+ import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2e36d5bf.js';
8
+ import { g as getColorByName } from './p-9a81250e.js';
9
+ import { d as defineCustomElement$3 } from './p-0583d228.js';
10
+ import { d as defineCustomElement$2 } from './p-e6b65023.js';
11
+ import { d as defineCustomElement$1 } from './p-8496cd8c.js';
12
+
13
+ const duetButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.input-button){z-index:250}:host(.duet-small){margin-right:2px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small){width:auto}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;width:100%}.duet-button{padding:14px 27px 15px !important;-webkit-user-select:none;user-select:none;position:relative;z-index:100;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:600;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:2px;border-radius:12.5px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){padding:9px 19px 10px !important;min-width:48px;font-size:0.875rem;border-radius:10px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon{padding-left:48px !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon-right{padding-right:48px !important;padding-left:20px !important}.duet-theme-turva .duet-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(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:inline-block;margin:0 auto;pointer-events:none}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button.icon{padding-left:52px !important}.duet-button.icon-right{padding-right:52px !important;padding-left:28px !important}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{position:absolute;top:50%;left:-28px;display:flex;align-items:center;justify-content:center;width:16px;height:16px;margin:0 !important;transform:translateY(-50%)}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.right{right:-28px;left:auto}.duet-button .duet-button-icon.large{left:-32px;width:20px;height:20px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.large.right{right:-32px;left:auto}.duet-button .duet-button-icon.medium-small{left:-16px;width:10px;height:10px;padding-top:1px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.medium-small.right{right:-16px;left:auto}.duet-button .duet-button-icon.small{left:-16px;width:7px;height:7px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button .duet-button-icon.small.right{right:-16px;left:auto}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{border-color:rgb(225, 227, 230)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(228, 228, 230)}.duet-button.default:hover{border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(228, 228, 230) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover{background:rgb(148, 9, 37);border-color:rgb(148, 9, 37)}.duet-button.primary:focus,.duet-button.input-button-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-embedded{color:rgb(0, 41, 77) !important;background:transparent;border-color:rgb(0, 41, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(225, 227, 230) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.negative{color:rgb(0, 41, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(222, 35, 98);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(224, 42, 13);border-color:rgb(224, 42, 13)}.duet-button.destructive-primary:hover{background:#b21c4e;border-color:#b21c4e;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#b3220a}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(222, 35, 98) !important;background:rgb(255, 255, 255);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(224, 42, 13) !important;background:rgb(255, 255, 255);border-color:rgb(224, 42, 13)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b21c4e;border-color:#b21c4e}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b3220a;border-color:#b3220a}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.icon{padding-left:20px !important}.duet-button.plain.icon.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.small{padding-left:20px !important}.duet-button.plain.icon.small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium-small{padding-left:20px !important}.duet-button.plain.icon.medium-small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium{padding-left:24px !important}.duet-button.plain.icon.medium.icon-right{padding-right:24px !important;padding-left:0 !important}.duet-button.plain.icon.large{padding-left:30px !important}.duet-button.plain.icon.large.icon-right{padding-right:30px !important;padding-left:0 !important}.duet-button.plain .duet-button-icon.left{left:-16.6666666667px !important}.duet-button.plain .duet-button-icon.left.medium{left:-24px !important}.duet-button.plain .duet-button-icon.left.large{left:-30px !important}.duet-button.plain .duet-button-icon.right{right:-16.6666666667px !important}.duet-button.plain .duet-button-icon.right.medium{right:-24px !important}.duet-button.plain .duet-button-icon.right.large{right:-30px !important}.duet-button.plain[disabled]{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(228, 228, 230) !important}.duet-button.plain:hover{color:rgb(0, 77, 128) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(148, 9, 37) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.plain.duet-button-negative:hover{color:rgb(0, 119, 179) !important}.duet-theme-turva .duet-button.plain.duet-button-negative:hover{color:rgb(198, 12, 48) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px;border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.square{width:48px !important;min-width:auto !important;height:48px !important;padding:0 !important;font-size:1.25rem;border-color:rgb(225, 227, 230);border-width:1px}.duet-button.square.duet-button-is-small{width:28px !important;height:28px !important;padding:0 !important;font-size:1rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(228, 228, 230)}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(116, 116, 117) !important;cursor:not-allowed;background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}";
14
+
15
+ const DuetButton = /*@__PURE__*/ proxyCustomElement(class DuetButton extends H {
16
+ constructor() {
17
+ super();
18
+ this.__registerHost();
19
+ this.__attachShadow();
20
+ this.duetFocus = createEvent(this, "duetFocus", 7);
21
+ this.duetBlur = createEvent(this, "duetBlur", 7);
22
+ /**
23
+ * Component event handling.
24
+ */
25
+ this.handleClick = (ev) => {
26
+ // If this button wants to specifically submit a form
27
+ // climb up the dom to see if we're in a <form>
28
+ // and if so, then use JS to submit it.
29
+ // To understand better, see: https://www.hjorthhansen.dev/shadow-dom-form-participation/
30
+ if (!this.url && this.element.closest("form")) {
31
+ ev.preventDefault();
32
+ this.proxyButton.click();
33
+ }
34
+ };
35
+ this.onFocus = () => {
36
+ this.duetFocus.emit();
37
+ };
38
+ this.onBlur = () => {
39
+ this.duetBlur.emit();
40
+ };
41
+ this.accessibleLabel = undefined;
42
+ this.accessibleControls = undefined;
43
+ this.accessiblePopup = "false";
44
+ this.accessibleActiveDescendant = undefined;
45
+ this.accessibleOwns = undefined;
46
+ this.accessibleDescribedBy = undefined;
47
+ this.accessibleDetails = undefined;
48
+ this.accessibleLabelledBy = undefined;
49
+ this.accessibleDescription = undefined;
50
+ this.accessibleExpanded = undefined;
51
+ this.accessiblePressed = undefined;
52
+ this.loading = false;
53
+ this.variation = "default";
54
+ this.negative = false;
55
+ this.theme = "";
56
+ this.margin = "auto";
57
+ this.padding = "auto";
58
+ this.centerText = false;
59
+ this.wrapping = "auto";
60
+ this.expand = false;
61
+ this.fixed = false;
62
+ this.disabled = false;
63
+ this.name = undefined;
64
+ this.value = undefined;
65
+ this.identifier = undefined;
66
+ this.submit = false;
67
+ this.external = false;
68
+ this.language = getLanguage();
69
+ this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
70
+ this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
71
+ this.accessibleLabelLoadingDefaults = DuetStringsLoadingDefaults;
72
+ this.accessibleLabelLoading = getLocaleString(this.accessibleLabelLoadingDefaults);
73
+ this.icon = "";
74
+ this.color = "";
75
+ this.iconRight = false;
76
+ this.iconSize = "medium";
77
+ this.size = "medium";
78
+ this.iconOnly = false;
79
+ this.url = undefined;
80
+ }
81
+ /**
82
+ * Component lifecycle events.
83
+ */
84
+ componentWillLoad() {
85
+ inheritGlobalTheme(this);
86
+ if (this.url && this.external && this.icon) {
87
+ console.warn("[DUET]: Button used as an external link will override any icon that is set");
88
+ }
89
+ }
90
+ connectedCallback() {
91
+ this.proxyButton = document.createElement("button");
92
+ this.proxyButton.style.display = "none";
93
+ this.syncToProxyButton();
94
+ connectLanguageChangeObserver(this, [
95
+ {
96
+ prop: "accessibleLabelExternal",
97
+ defaults: "accessibleLabelExternalDefaults",
98
+ },
99
+ {
100
+ prop: "accessibleLabelLoading",
101
+ defaults: "accessibleLabelLoadingDefaults",
102
+ },
103
+ ]);
104
+ if (!this.url && this.element.closest("form")) {
105
+ this.element.insertAdjacentElement("beforebegin", this.proxyButton);
106
+ }
107
+ }
108
+ disconnectedCallback() {
109
+ this.proxyButton.remove();
110
+ this.proxyButton = null;
111
+ disconnectLanguageChangeObserver(this);
112
+ }
113
+ syncToProxyButton() {
114
+ this.proxyButton.type = this.getButtonType();
115
+ this.proxyButton.disabled = this.disabled;
116
+ // attributes should be removed in cases where name/value is not set
117
+ if (this.name != null) {
118
+ this.proxyButton.name = this.name;
119
+ }
120
+ else {
121
+ this.proxyButton.removeAttribute("name");
122
+ }
123
+ if (this.value != null) {
124
+ this.proxyButton.value = this.value;
125
+ }
126
+ else {
127
+ this.proxyButton.removeAttribute("value");
128
+ }
129
+ }
130
+ getButtonType() {
131
+ return this.submit ? "submit" : "button";
132
+ }
133
+ getButtonIconSize() {
134
+ switch (this.iconSize) {
135
+ case "small":
136
+ return "small";
137
+ case "medium-small":
138
+ return "medium-small";
139
+ case "medium":
140
+ return "medium";
141
+ case "large":
142
+ return "large";
143
+ default:
144
+ return "medium";
145
+ }
146
+ }
147
+ /**
148
+ * Sets focus on the specified `duet-button`. Use this method instead of the global
149
+ * `button.focus()`.
150
+ */
151
+ async setFocus(options) {
152
+ if (this.nativeButton) {
153
+ this.nativeButton.focus(options);
154
+ }
155
+ }
156
+ /**
157
+ * render() function.
158
+ * Always the last one in the class.
159
+ */
160
+ render() {
161
+ var _a;
162
+ const isExternalLink = this.external && this.url;
163
+ // enforce consistency for external links
164
+ const icon = isExternalLink ? "action-new-window" : this.icon;
165
+ const iconRight = isExternalLink ? true : this.iconRight;
166
+ const commonChildren = (h("span", { class: "duet-button-contents", style: { color: getColorByName(this.color) } }, icon && (h("div", { "aria-hidden": "true", class: {
167
+ "duet-button-icon": true,
168
+ left: !iconRight,
169
+ right: iconRight,
170
+ [this.getButtonIconSize()]: true,
171
+ } }, h("duet-icon", { size: "auto", margin: "none", name: icon, color: "currentColor" }))), h("slot", null)));
172
+ const commonProps = {
173
+ onFocus: this.onFocus,
174
+ onBlur: this.onBlur,
175
+ ref: button => (this.nativeButton = button),
176
+ id: this.identifier,
177
+ class: {
178
+ "duet-m-0": this.margin === "none",
179
+ "duet-p-0": this.padding === "none",
180
+ "duet-no-wrap": this.wrapping === "none",
181
+ "duet-button": true,
182
+ "duet-button-is-small": this.size === "small",
183
+ [`duet-button-size-${this.size}`]: true,
184
+ "duet-button-icon-only": this.iconOnly,
185
+ "duet-button-text-center": this.centerText,
186
+ "duet-button-negative": this.negative || this.variation === "negative",
187
+ [this.variation]: true,
188
+ disabled: this.disabled,
189
+ icon: !!icon,
190
+ "icon-right": iconRight,
191
+ [this.getButtonIconSize()]: true,
192
+ },
193
+ "aria-controls": this.accessibleControls,
194
+ "aria-label": this.accessibleLabel,
195
+ "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined,
196
+ "aria-activedescendant": this.accessibleActiveDescendant,
197
+ "aria-owns": this.accessibleOwns,
198
+ "aria-describedby": this.accessibleDescribedBy,
199
+ "aria-labelledby": this.accessibleLabelledBy,
200
+ "aria-details": this.accessibleDetails,
201
+ "aria-description": this.accessibleDescription,
202
+ };
203
+ return (h(Host, { onClick: this.handleClick, class: {
204
+ "duet-m-0": this.margin === "none",
205
+ "duet-small": this.size === "small",
206
+ "duet-fixed": this.fixed,
207
+ "duet-expand": this.expand,
208
+ "input-button": (_a = this.variation) === null || _a === void 0 ? void 0 : _a.startsWith("input-button"),
209
+ } }, h("div", { class: {
210
+ "duet-button-container": true,
211
+ "duet-button-is-loading": this.loading,
212
+ "duet-theme-turva": this.theme === "turva",
213
+ "duet-button-negative": this.negative || this.variation === "negative",
214
+ [this.variation]: true,
215
+ } }, this.url ? (h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && h("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && h("duet-spinner", { color: "currentColor" }))));
216
+ }
217
+ get element() { return this; }
218
+ static get watchers() { return {
219
+ "disabled": ["syncToProxyButton"],
220
+ "submit": ["syncToProxyButton"],
221
+ "value": ["syncToProxyButton"],
222
+ "name": ["syncToProxyButton"]
223
+ }; }
224
+ static get style() { return duetButtonCss; }
225
+ }, [1, "duet-button", {
226
+ "accessibleLabel": [1, "accessible-label"],
227
+ "accessibleControls": [1, "accessible-controls"],
228
+ "accessiblePopup": [1, "accessible-popup"],
229
+ "accessibleActiveDescendant": [1, "accessible-active-descendant"],
230
+ "accessibleOwns": [1, "accessible-owns"],
231
+ "accessibleDescribedBy": [1, "accessible-described-by"],
232
+ "accessibleDetails": [1, "accessible-details"],
233
+ "accessibleLabelledBy": [1, "accessible-labelled-by"],
234
+ "accessibleDescription": [1, "accessible-description"],
235
+ "accessibleExpanded": [4, "accessible-expanded"],
236
+ "accessiblePressed": [4, "accessible-pressed"],
237
+ "loading": [4],
238
+ "variation": [1],
239
+ "negative": [4],
240
+ "theme": [1025],
241
+ "margin": [1],
242
+ "padding": [1],
243
+ "centerText": [4, "center-text"],
244
+ "wrapping": [1],
245
+ "expand": [4],
246
+ "fixed": [4],
247
+ "disabled": [516],
248
+ "name": [1],
249
+ "value": [1],
250
+ "identifier": [1],
251
+ "submit": [516],
252
+ "external": [4],
253
+ "language": [1537],
254
+ "accessibleLabelExternalDefaults": [1, "accessible-label-external-default"],
255
+ "accessibleLabelExternal": [1025, "accessible-label-external"],
256
+ "accessibleLabelLoadingDefaults": [1, "accessible-label-loading-default"],
257
+ "accessibleLabelLoading": [1025, "accessible-label-loading"],
258
+ "icon": [1],
259
+ "color": [1],
260
+ "iconRight": [4, "icon-right"],
261
+ "iconSize": [1, "icon-size"],
262
+ "size": [1],
263
+ "iconOnly": [4, "icon-only"],
264
+ "url": [513],
265
+ "setFocus": [64]
266
+ }, undefined, {
267
+ "disabled": ["syncToProxyButton"],
268
+ "submit": ["syncToProxyButton"],
269
+ "value": ["syncToProxyButton"],
270
+ "name": ["syncToProxyButton"]
271
+ }]);
272
+ function defineCustomElement() {
273
+ if (typeof customElements === "undefined") {
274
+ return;
275
+ }
276
+ const components = ["duet-button", "duet-icon", "duet-spinner", "duet-visually-hidden"];
277
+ components.forEach(tagName => { switch (tagName) {
278
+ case "duet-button":
279
+ if (!customElements.get(tagName)) {
280
+ customElements.define(tagName, DuetButton);
281
+ }
282
+ break;
283
+ case "duet-icon":
284
+ if (!customElements.get(tagName)) {
285
+ defineCustomElement$3();
286
+ }
287
+ break;
288
+ case "duet-spinner":
289
+ if (!customElements.get(tagName)) {
290
+ defineCustomElement$2();
291
+ }
292
+ break;
293
+ case "duet-visually-hidden":
294
+ if (!customElements.get(tagName)) {
295
+ defineCustomElement$1();
296
+ }
297
+ break;
298
+ } });
299
+ }
300
+
301
+ export { DuetButton as D, defineCustomElement as d };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-6f7dcc4d.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-26c9e94a.js';
5
5
 
6
6
  const duetListItemCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;flex-direction:column;display:flex;width:100%;overflow:visible;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77)}:host dt{padding-bottom:4px}:host dd{padding-top:0}:host dt,:host dd{flex-basis:100%}:host dt,:host dd{width:100%;margin-inline-start:0;-webkit-hyphens:auto;hyphens:auto;text-align:left;word-break:break-all;word-break:break-word}:host dt{font-weight:600}.duet-theme-turva :host dt{font-weight:700}:host dd{margin-left:auto}:host(.duet-list-striped) dt,:host(.duet-list-striped) dd{padding:16px}:host(.duet-list-striped) dt{padding-bottom:4px}:host(.duet-list-striped) dd{padding-top:0}:host(.duet-list-striped.duet-no-stacking) dt,:host(.duet-list-striped.duet-no-stacking) dd{padding:16px}:host(:not(.duet-list-striped)) dt,:host(:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(:not(.duet-list-striped)) dt{padding-bottom:4px}:host(:not(.duet-list-striped)) dd{padding-top:0}:host(:not(.duet-list-striped).duet-no-stacking) dt,:host(:not(.duet-list-striped).duet-no-stacking) dd{padding:8px;padding-inline:0}:host(.duet-p-0) dt,:host(.duet-p-0) dd{padding:0 !important}:host(.duet-list-mobile-center) dt,:host(.duet-list-mobile-center) dd{text-align:center}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host(.duet-list-striped:nth-child(odd)) dt,:host(.duet-list-striped:nth-child(odd)) dd{background:rgb(245, 248, 250)}:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dt,:host(.duet-list-striped.duet-theme-turva:nth-child(odd)) dd{background:rgb(245, 245, 247)}:host(.duet-list-bordered){border-block-start:1px solid rgb(225, 227, 230)}:host(.duet-list-bordered:last-child){border-block-end:1px solid rgb(225, 227, 230)}:host(.duet-list-bordered.duet-theme-turva){border-block-start:1px solid rgb(228, 228, 230)}:host(.duet-list-bordered.duet-theme-turva:last-child){border-block-end:1px solid rgb(228, 228, 230)}:host(.duet-list-inner-bordered:not(:last-child)){border-block-end:1px solid rgb(225, 227, 230)}:host(.duet-list-inner-bordered.duet-theme-turva:not(:last-child)){border-block-end:1px solid rgb(228, 228, 230)}:host(.duet-no-stacking){flex-direction:row}:host(.duet-list-mobile-center.duet-no-stacking) dt,:host(.duet-list-mobile-center.duet-no-stacking) dd{text-align:left}:host(.duet-no-stacking.duet-list-width-30) dt{flex-basis:33%}:host(.duet-no-stacking.duet-list-width-30) dd{flex-basis:67%}:host(.duet-no-stacking.duet-list-width-50) dt{flex-basis:47%}:host(.duet-no-stacking.duet-list-width-50) dd{flex-basis:53%}:host(.duet-no-stacking.duet-list-width-70) dt{flex-basis:65%}:host(.duet-no-stacking.duet-list-width-70) dd{flex-basis:35%}:host(.duet-list-item-breakpoint-x-small){flex-direction:row}:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-x-small.duet-p-0) dt,:host(.duet-list-item-breakpoint-x-small.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dd{flex-basis:35%}@media (max-width: 22.5em){:host(.duet-list-item-breakpoint-x-small){flex-direction:column}:host(.duet-list-item-breakpoint-x-small) dt{padding-bottom:4px}:host(.duet-list-item-breakpoint-x-small) dd{padding-top:0}:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dt{padding-bottom:4px}:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dd{padding-top:0}:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dt{padding-bottom:4px}:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dd{padding-top:0}:host(.duet-list-item-breakpoint-x-small.duet-p-0) dt,:host(.duet-list-item-breakpoint-x-small.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dd{text-align:center}:host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dd{flex-basis:100%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dd{flex-basis:100%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dd{flex-basis:100%}}@media (min-width: 36em){:host(.duet-list-item-breakpoint-small){flex-direction:row}:host(.duet-list-item-breakpoint-small.duet-list-striped) dt,:host(.duet-list-item-breakpoint-small.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-small:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-small:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-small.duet-p-0) dt,:host(.duet-list-item-breakpoint-small.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-small.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-small.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-small.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-small.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-small.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-small.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-small.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-small.duet-list-width-70) dd{flex-basis:35%}}@media (min-width: 48em){:host(.duet-list-item-breakpoint-medium){flex-direction:row}:host(.duet-list-item-breakpoint-medium.duet-list-striped) dt,:host(.duet-list-item-breakpoint-medium.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-medium:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-medium:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-medium.duet-p-0) dt,:host(.duet-list-item-breakpoint-medium.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-medium.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-medium.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-medium.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-medium.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-medium.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-medium.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-medium.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-medium.duet-list-width-70) dd{flex-basis:35%}}@media (min-width: 62em){:host(.duet-list-item-breakpoint-large){flex-direction:row}:host(.duet-list-item-breakpoint-large.duet-list-striped) dt,:host(.duet-list-item-breakpoint-large.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-large:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-large:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-large.duet-p-0) dt,:host(.duet-list-item-breakpoint-large.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-large.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-large.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-large.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-large.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-large.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-large.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-large.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-large.duet-list-width-70) dd{flex-basis:35%}}@media (min-width: 64.0625em){:host(.duet-list-item-breakpoint-x-large){flex-direction:row}:host(.duet-list-item-breakpoint-x-large.duet-list-striped) dt,:host(.duet-list-item-breakpoint-x-large.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-x-large:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-x-large:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-x-large.duet-p-0) dt,:host(.duet-list-item-breakpoint-x-large.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-x-large.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-x-large.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-x-large.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-70) dd{flex-basis:35%}}";
7
7