@duetds/components 8.0.2 → 8.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (699) hide show
  1. package/hydrate/index.js +80 -38
  2. package/lib/cjs/{common-strings-17770d7a.js → common-strings-86913e94.js} +6 -0
  3. package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-banner.cjs.entry.js +15 -2
  7. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
  8. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  9. package/lib/cjs/duet-button_2.cjs.entry.js +31 -9
  10. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-caption_4.cjs.entry.js +2 -2
  12. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  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 +1 -1
  16. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  17. package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
  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 +1 -1
  21. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -1
  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-footer.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-hero.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  40. package/lib/cjs/duet-multiselect.cjs.entry.js +7 -2
  41. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-popup-menu.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  49. package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  52. package/lib/cjs/duet-scrollable_3.cjs.entry.js +4 -3
  53. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  57. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
  61. package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
  62. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
  67. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  68. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  73. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
  74. package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
  75. package/lib/cjs/duet-tray.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  78. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  79. package/lib/cjs/duet.cjs.js +2 -2
  80. package/lib/cjs/{focus-utils-b3f9c253.js → focus-utils-04f168fd.js} +1 -1
  81. package/lib/cjs/{index-6daa7c8e.js → index-b9ee6ca5.js} +1 -1
  82. package/lib/cjs/loader.cjs.js +2 -2
  83. package/lib/collection/common-strings.js +5 -0
  84. package/lib/collection/components/duet-action-button/duet-action-button.a11y.e2e.js +13 -0
  85. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  86. package/lib/collection/components/duet-alert/duet-alert.a11y.e2e.js +20 -0
  87. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  88. package/lib/collection/components/duet-badge/duet-badge.a11y.e2e.js +20 -0
  89. package/lib/collection/components/duet-banner/duet-banner.a11y.e2e.js +34 -0
  90. package/lib/collection/components/duet-banner/duet-banner.js +31 -1
  91. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +2 -0
  92. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.a11y.e2e.js +17 -0
  93. package/lib/collection/components/duet-button/duet-button.a11y.e2e.js +48 -0
  94. package/lib/collection/components/duet-button/duet-button.js +83 -13
  95. package/lib/collection/components/duet-callout/duet-callout.a11y.e2e.js +17 -0
  96. package/lib/collection/components/duet-caption/duet-caption.a11y.e2e.js +13 -0
  97. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  98. package/lib/collection/components/duet-card/duet-card.a11y.e2e.js +29 -0
  99. package/lib/collection/components/duet-card/duet-card.js +3 -3
  100. package/lib/collection/components/duet-checkbox/duet-checkbox.a11y.e2e.js +20 -0
  101. package/lib/collection/components/duet-checkbox/duet-checkbox.js +4 -4
  102. package/lib/collection/components/duet-chip/duet-chip.a11y.e2e.js +25 -0
  103. package/lib/collection/components/duet-chip/duet-chip.js +4 -4
  104. package/lib/collection/components/duet-choice/duet-choice.a11y.e2e.js +79 -0
  105. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  106. package/lib/collection/components/duet-choice-group/duet-choice-group.a11y.e2e.js +17 -0
  107. package/lib/collection/components/duet-collapsible/duet-collapsible.a11y.e2e.js +24 -0
  108. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  109. package/lib/collection/components/duet-combobox/duet-combobox.a11y.e2e.js +17 -0
  110. package/lib/collection/components/duet-combobox/duet-combobox.js +4 -4
  111. package/lib/collection/components/duet-contact-card/duet-contact-card.a11y.e2e.js +36 -0
  112. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.a11y.e2e.js +16 -0
  113. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  114. package/lib/collection/components/duet-date-picker/duet-date-picker.a11y.e2e.js +13 -0
  115. package/lib/collection/components/duet-date-picker/duet-date-picker.js +5 -5
  116. package/lib/collection/components/duet-divider/duet-divider.a11y.e2e.js +13 -0
  117. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  118. package/lib/collection/components/duet-editable-table/duet-editable-table.a11y.e2e.js +202 -0
  119. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  120. package/lib/collection/components/duet-empty-state/duet-empty-state.a11y.e2e.js +15 -0
  121. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  122. package/lib/collection/components/duet-fieldset/duet-fieldset.a11y.e2e.js +17 -0
  123. package/lib/collection/components/duet-footer/duet-footer.a11y.e2e.js +22 -0
  124. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  125. package/lib/collection/components/duet-grid/duet-grid.a11y.e2e.js +17 -0
  126. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  127. package/lib/collection/components/duet-header/duet-header.a11y.e2e.js +42 -0
  128. package/lib/collection/components/duet-header/duet-header.js +15 -15
  129. package/lib/collection/components/duet-heading/duet-heading.a11y.e2e.js +13 -0
  130. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  131. package/lib/collection/components/duet-hero/duet-hero.a11y.e2e.js +70 -0
  132. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  133. package/lib/collection/components/duet-icon/duet-icon.a11y.e2e.js +13 -0
  134. package/lib/collection/components/duet-icon/duet-icon.js +1 -1
  135. package/lib/collection/components/duet-input/duet-input.a11y.e2e.js +33 -0
  136. package/lib/collection/components/duet-input/duet-input.js +9 -9
  137. package/lib/collection/components/duet-label/duet-label.a11y.e2e.js +14 -0
  138. package/lib/collection/components/duet-label/duet-label.js +2 -2
  139. package/lib/collection/components/duet-layout/duet-layout.a11y.e2e.js +18 -0
  140. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  141. package/lib/collection/components/duet-link/duet-link.a11y.e2e.js +39 -0
  142. package/lib/collection/components/duet-list/duet-list.a11y.e2e.js +30 -0
  143. package/lib/collection/components/duet-list/duet-list.js +3 -3
  144. package/lib/collection/components/duet-logo/duet-logo.a11y.e2e.js +13 -0
  145. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  146. package/lib/collection/components/duet-menu-bar/duet-menu-bar.a11y.e2e.js +27 -0
  147. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  148. package/lib/collection/components/duet-modal/duet-modal.a11y.e2e.js +49 -0
  149. package/lib/collection/components/duet-modal/duet-modal.js +3 -3
  150. package/lib/collection/components/duet-multiselect/duet-multiselect.a11y.e2e.js +22 -0
  151. package/lib/collection/components/duet-multiselect/duet-multiselect.js +11 -6
  152. package/lib/collection/components/duet-notification/duet-notification.a11y.e2e.js +20 -0
  153. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.a11y.e2e.js +28 -0
  154. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  155. package/lib/collection/components/duet-number-input/duet-number-input.a11y.e2e.js +14 -0
  156. package/lib/collection/components/duet-number-input/duet-number-input.js +5 -5
  157. package/lib/collection/components/duet-page-heading/duet-page-heading.a11y.e2e.js +15 -0
  158. package/lib/collection/components/duet-pagination/duet-pagination.a11y.e2e.js +36 -0
  159. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  160. package/lib/collection/components/duet-paragraph/duet-paragraph.a11y.e2e.js +18 -0
  161. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  162. package/lib/collection/components/duet-popup-menu/duet-popup-menu.a11y.e2e.js +27 -0
  163. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
  164. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  165. package/lib/collection/components/duet-progress/duet-progress.a11y.e2e.js +17 -0
  166. package/lib/collection/components/duet-progress/duet-progress.js +1 -1
  167. package/lib/collection/components/duet-promo-card/duet-promo-card.a11y.e2e.js +43 -0
  168. package/lib/collection/components/duet-radio/duet-radio.a11y.e2e.js +13 -0
  169. package/lib/collection/components/duet-radio/duet-radio.js +4 -4
  170. package/lib/collection/components/duet-radio-group/duet-radio-group.a11y.e2e.js +36 -0
  171. package/lib/collection/components/duet-range-slider/duet-range-slider.a11y.e2e.js +14 -0
  172. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  173. package/lib/collection/components/duet-range-stepper/duet-range-stepper.a11y.e2e.js +13 -0
  174. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  175. package/lib/collection/components/duet-scrollable/duet-scrollable.a11y.e2e.js +17 -0
  176. package/lib/collection/components/duet-section-layout/duet-section-layout.a11y.e2e.js +18 -0
  177. package/lib/collection/components/duet-select/duet-select.a11y.e2e.js +45 -0
  178. package/lib/collection/components/duet-select/duet-select.js +6 -6
  179. package/lib/collection/components/duet-shaped-image/duet-shaped-image.a11y.e2e.js +20 -0
  180. package/lib/collection/components/duet-show-more/duet-show-more.a11y.e2e.js +13 -0
  181. package/lib/collection/components/duet-show-more/duet-show-more.css +1 -1
  182. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  183. package/lib/collection/components/duet-slideout/duet-slideout.a11y.e2e.js +47 -0
  184. package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
  185. package/lib/collection/components/duet-spacer/duet-spacer.a11y.e2e.js +13 -0
  186. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  187. package/lib/collection/components/duet-spinner/duet-spinner.a11y.e2e.js +13 -0
  188. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  189. package/lib/collection/components/duet-step/duet-step.js +2 -2
  190. package/lib/collection/components/duet-stepper/duet-stepper.a11y.e2e.js +26 -0
  191. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  192. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.a11y.e2e.js +21 -0
  193. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +1 -1
  194. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +2 -1
  195. package/lib/collection/components/duet-tab/duet-tab.js +20 -1
  196. package/lib/collection/components/duet-tab-group/duet-tab-group.a11y.e2e.js +20 -0
  197. package/lib/collection/components/duet-tab-group/duet-tab-group.js +6 -6
  198. package/lib/collection/components/duet-table/duet-table.a11y.e2e.js +35 -0
  199. package/lib/collection/components/duet-textarea/duet-textarea.a11y.e2e.js +28 -0
  200. package/lib/collection/components/duet-textarea/duet-textarea.js +5 -5
  201. package/lib/collection/components/duet-toggle/duet-toggle.a11y.e2e.js +13 -0
  202. package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
  203. package/lib/collection/components/duet-toolbar/duet-toolbar.a11y.e2e.js +31 -0
  204. package/lib/collection/components/duet-tooltip/duet-tooltip.a11y.e2e.js +34 -0
  205. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  206. package/lib/collection/components/duet-tray/duet-tray.a11y.e2e.js +22 -0
  207. package/lib/collection/components/duet-upload/duet-upload.js +14 -14
  208. package/lib/collection/components/duet-upload-item/duet-upload-item.js +1 -1
  209. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.a11y.e2e.js +15 -0
  210. package/lib/collection/utils/axe-core-utils.js +37 -0
  211. package/lib/collection/utils/picture-utils.js +8 -0
  212. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  213. package/lib/dist-custom-elements/duet-alert.js +1 -1
  214. package/lib/dist-custom-elements/duet-badge.js +1 -1
  215. package/lib/dist-custom-elements/duet-banner.js +21 -6
  216. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  217. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  218. package/lib/dist-custom-elements/duet-button.js +1 -1
  219. package/lib/dist-custom-elements/duet-callout.js +3 -3
  220. package/lib/dist-custom-elements/duet-caption.js +1 -1
  221. package/lib/dist-custom-elements/duet-card.js +3 -3
  222. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  223. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  224. package/lib/dist-custom-elements/duet-chip.js +2 -2
  225. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  226. package/lib/dist-custom-elements/duet-choice.js +6 -6
  227. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  228. package/lib/dist-custom-elements/duet-combobox.js +3 -3
  229. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  230. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  231. package/lib/dist-custom-elements/duet-date-picker.js +12 -12
  232. package/lib/dist-custom-elements/duet-divider.js +1 -1
  233. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  234. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  235. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  236. package/lib/dist-custom-elements/duet-footer.js +5 -5
  237. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  238. package/lib/dist-custom-elements/duet-grid.js +1 -1
  239. package/lib/dist-custom-elements/duet-header.js +9 -9
  240. package/lib/dist-custom-elements/duet-heading.js +1 -1
  241. package/lib/dist-custom-elements/duet-hero.js +10 -10
  242. package/lib/dist-custom-elements/duet-icon.js +1 -1
  243. package/lib/dist-custom-elements/duet-input.js +1 -1
  244. package/lib/dist-custom-elements/duet-label.js +1 -1
  245. package/lib/dist-custom-elements/duet-layout.js +1 -1
  246. package/lib/dist-custom-elements/duet-link.js +1 -1
  247. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  248. package/lib/dist-custom-elements/duet-list.js +1 -1
  249. package/lib/dist-custom-elements/duet-logo.js +1 -1
  250. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  251. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  252. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  253. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  254. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  255. package/lib/dist-custom-elements/duet-modal.js +7 -7
  256. package/lib/dist-custom-elements/duet-multiselect.js +16 -11
  257. package/lib/dist-custom-elements/duet-nav.js +1 -1
  258. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  259. package/lib/dist-custom-elements/duet-notification.js +2 -2
  260. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  261. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  262. package/lib/dist-custom-elements/duet-pagination.js +13 -13
  263. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  264. package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
  265. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  266. package/lib/dist-custom-elements/duet-progress.js +1 -1
  267. package/lib/dist-custom-elements/duet-promo-card.js +3 -3
  268. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  269. package/lib/dist-custom-elements/duet-radio.js +1 -1
  270. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  271. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  272. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  273. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  274. package/lib/dist-custom-elements/duet-select.js +1 -1
  275. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  276. package/lib/dist-custom-elements/duet-show-more.js +6 -6
  277. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  278. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  279. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  280. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  281. package/lib/dist-custom-elements/duet-slideout.js +2 -2
  282. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  283. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  284. package/lib/dist-custom-elements/duet-step.js +4 -4
  285. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  286. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  287. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  288. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  289. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  290. package/lib/dist-custom-elements/duet-tab-group.js +14 -14
  291. package/lib/dist-custom-elements/duet-tab.js +5 -3
  292. package/lib/dist-custom-elements/duet-table.js +1 -1
  293. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  294. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  295. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  296. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  297. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  298. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  299. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  300. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  301. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  302. package/lib/dist-custom-elements/duet-tray.js +3 -3
  303. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  304. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  305. package/lib/dist-custom-elements/duet-upload.js +18 -18
  306. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  307. package/lib/dist-custom-elements/index.js +1 -1
  308. package/lib/dist-custom-elements/{p-3cff1466.js → p-16b97666.js} +2 -2
  309. package/lib/dist-custom-elements/{p-c24dd06b.js → p-1a0d1104.js} +4 -4
  310. package/lib/dist-custom-elements/{p-95a50166.js → p-1b63a427.js} +1 -1
  311. package/lib/{esm/common-strings-71f2aabd.js → dist-custom-elements/p-274d11e3.js} +6 -1
  312. package/lib/dist-custom-elements/{p-31f2b544.js → p-27c98907.js} +10 -10
  313. package/lib/dist-custom-elements/{p-0059a17c.js → p-423d3f0d.js} +3 -3
  314. package/lib/dist-custom-elements/{p-c0d5adf0.js → p-46d172ad.js} +8 -8
  315. package/lib/dist-custom-elements/{p-fb79c0df.js → p-60f6b2e8.js} +3 -3
  316. package/lib/dist-custom-elements/{p-9fb89b86.js → p-647197d2.js} +10 -10
  317. package/lib/dist-custom-elements/{p-82be1f91.js → p-6c228574.js} +2 -2
  318. package/lib/dist-custom-elements/{p-11805f8e.js → p-71f948ca.js} +1 -1
  319. package/lib/dist-custom-elements/{p-cc0415a6.js → p-73858765.js} +3 -3
  320. package/lib/dist-custom-elements/{p-66bc5722.js → p-77dc878e.js} +36 -12
  321. package/lib/dist-custom-elements/{p-fcfc2821.js → p-7b7d919c.js} +5 -5
  322. package/lib/dist-custom-elements/{p-22ec1739.js → p-7f09da03.js} +5 -5
  323. package/lib/dist-custom-elements/{p-aa9b5c36.js → p-84065d73.js} +1 -1
  324. package/lib/dist-custom-elements/{p-5c15155e.js → p-85817780.js} +1 -1
  325. package/lib/dist-custom-elements/{p-1db9b4e0.js → p-8ba450f0.js} +1 -1
  326. package/lib/dist-custom-elements/{p-69ce95bd.js → p-8c68da59.js} +1 -1
  327. package/lib/dist-custom-elements/{p-8c89e5bb.js → p-90901592.js} +1 -1
  328. package/lib/dist-custom-elements/{p-5f426542.js → p-960c3c51.js} +1 -1
  329. package/lib/dist-custom-elements/{p-d940a49d.js → p-970d143f.js} +1 -1
  330. package/lib/dist-custom-elements/{p-c9499905.js → p-99b8d96d.js} +1 -1
  331. package/lib/dist-custom-elements/{p-569556c9.js → p-a62138f2.js} +1 -1
  332. package/lib/dist-custom-elements/{p-dcbe235f.js → p-a6a02d26.js} +1 -1
  333. package/lib/dist-custom-elements/{p-f9547527.js → p-a7c46306.js} +1 -1
  334. package/lib/dist-custom-elements/{p-67166d85.js → p-b1795ede.js} +1 -1
  335. package/lib/dist-custom-elements/{p-e93f5581.js → p-c230fe39.js} +2 -2
  336. package/lib/dist-custom-elements/{p-e698b935.js → p-d547ac90.js} +2 -2
  337. package/lib/dist-custom-elements/{p-2729945f.js → p-e31a9266.js} +5 -5
  338. package/lib/dist-custom-elements/{p-2ffde01d.js → p-e3b1a969.js} +1 -1
  339. package/lib/dist-custom-elements/{p-8bfad3e0.js → p-e6ce939c.js} +1 -1
  340. package/lib/dist-custom-elements/{p-1cd6ccc0.js → p-ebfb1ccd.js} +1 -1
  341. package/lib/dist-custom-elements/{p-e43d5ffc.js → p-f12d5ad9.js} +1 -1
  342. package/lib/dist-custom-elements/{p-c0a4a783.js → p-fc76a9f3.js} +1 -1
  343. package/lib/duet/duet.esm.js +1 -1
  344. package/lib/duet/duet.js +1 -1
  345. package/lib/duet/{p-a1582631.entry.js → p-01bd8000.entry.js} +1 -1
  346. package/lib/duet/{p-fc9a7037.entry.js → p-05ddb8d7.entry.js} +1 -1
  347. package/lib/duet/{p-77e47450.system.entry.js → p-08bcd57d.system.entry.js} +1 -1
  348. package/lib/duet/{p-05525f40.entry.js → p-0a6ee84e.entry.js} +1 -1
  349. package/lib/duet/{p-9fd48fe0.entry.js → p-0b59eb11.entry.js} +1 -1
  350. package/lib/duet/{p-99311d82.system.entry.js → p-0bb30bf2.system.entry.js} +1 -1
  351. package/lib/duet/{p-02660cf2.system.entry.js → p-0c3e3891.system.entry.js} +1 -1
  352. package/lib/duet/{p-fc5b6b9d.system.entry.js → p-0c4459c0.system.entry.js} +1 -1
  353. package/lib/duet/{p-381ac995.system.entry.js → p-0c708a6b.system.entry.js} +1 -1
  354. package/lib/duet/{p-8c6ffecd.entry.js → p-0d22fa04.entry.js} +1 -1
  355. package/lib/duet/{p-fd2cc5ae.js → p-115e5a74.js} +1 -1
  356. package/lib/duet/{p-fed2032f.entry.js → p-11d78956.entry.js} +1 -1
  357. package/lib/duet/{p-cb345a69.system.entry.js → p-11e4884c.system.entry.js} +1 -1
  358. package/lib/duet/{p-38c8826f.entry.js → p-1298b261.entry.js} +1 -1
  359. package/lib/duet/{p-28a91d37.entry.js → p-140f3e19.entry.js} +1 -1
  360. package/lib/duet/{p-c48612d3.entry.js → p-14c30d34.entry.js} +1 -1
  361. package/lib/duet/{p-5b71a670.entry.js → p-15aa743e.entry.js} +1 -1
  362. package/lib/duet/p-17392944.entry.js +4 -0
  363. package/lib/duet/{p-5f7c6c4b.system.entry.js → p-1910a63b.system.entry.js} +1 -1
  364. package/lib/duet/{p-24617c6d.entry.js → p-1bbf5a2c.entry.js} +1 -1
  365. package/lib/duet/{p-ba11b37a.entry.js → p-1d0d7d5d.entry.js} +1 -1
  366. package/lib/duet/{p-5b16cb2f.system.entry.js → p-1fccc372.system.entry.js} +1 -1
  367. package/lib/duet/{p-186337f1.system.entry.js → p-2126a190.system.entry.js} +1 -1
  368. package/lib/duet/{p-3c334925.system.entry.js → p-24c831ec.system.entry.js} +1 -1
  369. package/lib/duet/{p-dade978b.js → p-274d11e3.js} +1 -1
  370. package/lib/duet/{p-96a6a8f4.system.entry.js → p-2b419553.system.entry.js} +1 -1
  371. package/lib/duet/p-2d4fcd47.entry.js +4 -0
  372. package/lib/duet/{p-8885bcbe.system.entry.js → p-2e6d11c7.system.entry.js} +1 -1
  373. package/lib/duet/{p-bcbc90ea.entry.js → p-2e719260.entry.js} +1 -1
  374. package/lib/duet/{p-1eb49427.system.entry.js → p-2ea486ae.system.entry.js} +1 -1
  375. package/lib/duet/{p-61cd81d5.system.entry.js → p-30eadd8b.system.entry.js} +1 -1
  376. package/lib/duet/{p-6d05c93e.entry.js → p-32ee4f34.entry.js} +1 -1
  377. package/lib/duet/{p-44f25642.entry.js → p-37961e05.entry.js} +1 -1
  378. package/lib/duet/{p-b8c0ac2b.entry.js → p-396e0025.entry.js} +1 -1
  379. package/lib/duet/{p-b672aa2d.system.entry.js → p-397aa011.system.entry.js} +1 -1
  380. package/lib/duet/{p-c4b6a0ac.entry.js → p-39bd9bac.entry.js} +1 -1
  381. package/lib/duet/p-39d9f25b.system.entry.js +4 -0
  382. package/lib/duet/{p-32b04990.system.entry.js → p-3b06e609.system.entry.js} +1 -1
  383. package/lib/duet/{p-3f09ae37.entry.js → p-3b11f97a.entry.js} +1 -1
  384. package/lib/duet/{p-6a696095.entry.js → p-3e79b617.entry.js} +1 -1
  385. package/lib/duet/{p-d525fe08.entry.js → p-3ec8ee39.entry.js} +1 -1
  386. package/lib/duet/{p-a313db30.js → p-41363488.js} +1 -1
  387. package/lib/duet/{p-070ec8bb.entry.js → p-42e2d141.entry.js} +1 -1
  388. package/lib/duet/{p-c8acef00.system.entry.js → p-436745f1.system.entry.js} +1 -1
  389. package/lib/duet/{p-4f5556f2.entry.js → p-46a8594c.entry.js} +1 -1
  390. package/lib/duet/{p-944101a8.entry.js → p-47b62443.entry.js} +1 -1
  391. package/lib/duet/{p-133f98ce.system.entry.js → p-4901f740.system.entry.js} +1 -1
  392. package/lib/duet/{p-cfebfeaa.entry.js → p-4e870704.entry.js} +1 -1
  393. package/lib/duet/{p-fcf0a09b.system.entry.js → p-4f2f039c.system.entry.js} +1 -1
  394. package/lib/duet/{p-c4f604fd.entry.js → p-5053b084.entry.js} +1 -1
  395. package/lib/duet/{p-5e5e2608.entry.js → p-5317f4fb.entry.js} +1 -1
  396. package/lib/duet/{p-2dbc77bb.entry.js → p-546d7868.entry.js} +1 -1
  397. package/lib/duet/{p-de9fd52c.system.entry.js → p-55eb8c7c.system.entry.js} +1 -1
  398. package/lib/duet/{p-caeda12e.system.entry.js → p-569be9eb.system.entry.js} +1 -1
  399. package/lib/duet/{p-1dc41676.system.entry.js → p-58d1b520.system.entry.js} +1 -1
  400. package/lib/duet/{p-8418063c.entry.js → p-58e07a25.entry.js} +1 -1
  401. package/lib/duet/{p-bdb92ce7.system.entry.js → p-5f914bd7.system.entry.js} +1 -1
  402. package/lib/duet/{p-6233ba02.entry.js → p-5fe520fd.entry.js} +1 -1
  403. package/lib/duet/{p-939b757e.entry.js → p-5fed0e82.entry.js} +1 -1
  404. package/lib/duet/{p-b2418385.system.entry.js → p-603a7942.system.entry.js} +1 -1
  405. package/lib/duet/{p-2d59e4c7.entry.js → p-62839e24.entry.js} +1 -1
  406. package/lib/duet/{p-3f7a1de2.entry.js → p-63370211.entry.js} +1 -1
  407. package/lib/duet/{p-d42a8f2d.entry.js → p-638f7d0e.entry.js} +1 -1
  408. package/lib/duet/{p-e4643be5.entry.js → p-64790718.entry.js} +1 -1
  409. package/lib/duet/{p-7eca4788.entry.js → p-64bc0173.entry.js} +1 -1
  410. package/lib/duet/{p-52d86f7b.entry.js → p-664e856a.entry.js} +1 -1
  411. package/lib/duet/{p-fea258a3.system.entry.js → p-6c405b4d.system.entry.js} +1 -1
  412. package/lib/duet/{p-b39afb39.system.entry.js → p-6ed45a15.system.entry.js} +1 -1
  413. package/lib/duet/{p-25a2a3f4.system.entry.js → p-70192ee4.system.entry.js} +1 -1
  414. package/lib/duet/{p-7614d35e.system.entry.js → p-706cd2e1.system.entry.js} +1 -1
  415. package/lib/duet/{p-0a85de9e.entry.js → p-70c4fd04.entry.js} +1 -1
  416. package/lib/duet/{p-6a69b1af.system.entry.js → p-71d6578b.system.entry.js} +1 -1
  417. package/lib/duet/{p-77462571.system.entry.js → p-736fce63.system.entry.js} +1 -1
  418. package/lib/duet/{p-e8614366.system.entry.js → p-744f44b4.system.entry.js} +1 -1
  419. package/lib/duet/{p-d70156aa.entry.js → p-74d79e97.entry.js} +1 -1
  420. package/lib/duet/{p-fc93dae3.system.entry.js → p-755dd4ac.system.entry.js} +1 -1
  421. package/lib/duet/{p-a2502dab.entry.js → p-7751209d.entry.js} +1 -1
  422. package/lib/duet/{p-83e0a9ad.system.entry.js → p-78408872.system.entry.js} +2 -2
  423. package/lib/duet/{p-51912824.system.entry.js → p-79dc49af.system.entry.js} +1 -1
  424. package/lib/duet/{p-549587ba.entry.js → p-7a02ef0d.entry.js} +1 -1
  425. package/lib/duet/{p-e876de11.system.entry.js → p-7a2b0683.system.entry.js} +1 -1
  426. package/lib/duet/{p-f5f9d249.entry.js → p-7aaf227f.entry.js} +1 -1
  427. package/lib/duet/{p-ebe7e977.system.entry.js → p-7e5e362d.system.entry.js} +1 -1
  428. package/lib/duet/{p-f7c41718.system.entry.js → p-7f13b214.system.entry.js} +1 -1
  429. package/lib/duet/{p-337fd9bc.entry.js → p-8010d152.entry.js} +1 -1
  430. package/lib/duet/{p-7a1192d3.system.entry.js → p-80dfb88c.system.entry.js} +1 -1
  431. package/lib/duet/{p-dace5770.system.entry.js → p-81829412.system.entry.js} +1 -1
  432. package/lib/duet/{p-d94decde.system.entry.js → p-851868b5.system.entry.js} +1 -1
  433. package/lib/duet/{p-ee45535e.system.entry.js → p-8864ba0e.system.entry.js} +1 -1
  434. package/lib/duet/p-88a50491.system.js +4 -0
  435. package/lib/duet/{p-f353af2c.system.entry.js → p-88e789b9.system.entry.js} +1 -1
  436. package/lib/duet/{p-e467f932.entry.js → p-891c5ca1.entry.js} +1 -1
  437. package/lib/duet/{p-700f811b.system.entry.js → p-8a3cca2a.system.entry.js} +1 -1
  438. package/lib/duet/p-8aae2ee1.entry.js +4 -0
  439. package/lib/duet/{p-29bc9659.entry.js → p-8db7ccfd.entry.js} +1 -1
  440. package/lib/duet/{p-a757e8de.entry.js → p-8ee612f4.entry.js} +1 -1
  441. package/lib/duet/{p-521e45af.system.entry.js → p-8f191365.system.entry.js} +1 -1
  442. package/lib/duet/{p-dabc2694.entry.js → p-90c87945.entry.js} +1 -1
  443. package/lib/duet/{p-7229c899.system.entry.js → p-915e638f.system.entry.js} +1 -1
  444. package/lib/duet/{p-75fb4f1c.entry.js → p-93a9d03f.entry.js} +1 -1
  445. package/lib/duet/{p-c832a424.entry.js → p-9594405f.entry.js} +1 -1
  446. package/lib/duet/{p-1ef0d77b.entry.js → p-9664f656.entry.js} +1 -1
  447. package/lib/duet/{p-4d22780e.system.entry.js → p-971fe383.system.entry.js} +1 -1
  448. package/lib/duet/p-97ccb6b2.entry.js +4 -0
  449. package/lib/duet/{p-f7c420fd.entry.js → p-9d445004.entry.js} +1 -1
  450. package/lib/duet/{p-2525f10f.entry.js → p-9ff169a8.entry.js} +1 -1
  451. package/lib/duet/{p-fa55105b.system.entry.js → p-9ff3ef1a.system.entry.js} +1 -1
  452. package/lib/duet/{p-bbab3ec2.entry.js → p-a1d72dc5.entry.js} +1 -1
  453. package/lib/duet/{p-b14e2cef.entry.js → p-a3fd3b97.entry.js} +1 -1
  454. package/lib/duet/p-a43c1a0f.entry.js +4 -0
  455. package/lib/duet/{p-276afe9f.system.entry.js → p-a494f7d2.system.entry.js} +1 -1
  456. package/lib/duet/{p-43a1bc71.entry.js → p-a8a32775.entry.js} +1 -1
  457. package/lib/duet/{p-d827cdf2.system.entry.js → p-a923e368.system.entry.js} +1 -1
  458. package/lib/duet/{p-45b44159.system.entry.js → p-a9a50440.system.entry.js} +2 -2
  459. package/lib/duet/{p-60c18c57.system.entry.js → p-ae3622ce.system.entry.js} +1 -1
  460. package/lib/duet/{p-1b93d773.entry.js → p-ae652505.entry.js} +1 -1
  461. package/lib/duet/{p-5360a081.entry.js → p-b9434c17.entry.js} +1 -1
  462. package/lib/duet/{p-daf1c188.system.entry.js → p-c0e476fd.system.entry.js} +1 -1
  463. package/lib/duet/{p-607aaab1.entry.js → p-c409a1dc.entry.js} +1 -1
  464. package/lib/duet/{p-19ea7a51.entry.js → p-c6e4ebf0.entry.js} +1 -1
  465. package/lib/duet/{p-46750b7e.system.entry.js → p-c7303568.system.entry.js} +1 -1
  466. package/lib/duet/{p-9ad4c219.system.js → p-c7b04440.system.js} +1 -1
  467. package/lib/duet/p-c8e267bc.entry.js +4 -0
  468. package/lib/duet/{p-b98d7858.entry.js → p-c918ea31.entry.js} +1 -1
  469. package/lib/duet/{p-5435c3b4.system.entry.js → p-c99cc796.system.entry.js} +1 -1
  470. package/lib/duet/{p-cf633362.entry.js → p-cadf7c9b.entry.js} +1 -1
  471. package/lib/duet/p-cb1cf88a.system.entry.js +4 -0
  472. package/lib/duet/{p-d0dd892b.system.entry.js → p-cc104f41.system.entry.js} +1 -1
  473. package/lib/duet/{p-dc9a63fe.system.entry.js → p-cc434423.system.entry.js} +1 -1
  474. package/lib/duet/{p-a79f55dd.entry.js → p-ce1d649d.entry.js} +1 -1
  475. package/lib/duet/{p-61ab82cd.system.entry.js → p-d1914efd.system.entry.js} +1 -1
  476. package/lib/duet/{p-fdb743cd.entry.js → p-d22d1465.entry.js} +1 -1
  477. package/lib/duet/{p-d8c1605f.system.entry.js → p-d2f6423e.system.entry.js} +1 -1
  478. package/lib/duet/p-d325c3d3.system.entry.js +4 -0
  479. package/lib/duet/{p-2fd27387.system.entry.js → p-d39e2edb.system.entry.js} +2 -2
  480. package/lib/duet/{p-94795921.system.entry.js → p-d8e41f55.system.entry.js} +1 -1
  481. package/lib/duet/{p-009fba8e.system.entry.js → p-d8e56dcd.system.entry.js} +2 -2
  482. package/lib/duet/{p-1c85d5b3.system.entry.js → p-d9b3b34a.system.entry.js} +1 -1
  483. package/lib/duet/{p-f479fc15.system.entry.js → p-db8b2380.system.entry.js} +1 -1
  484. package/lib/duet/{p-37b3373f.system.entry.js → p-dbbd3a11.system.entry.js} +1 -1
  485. package/lib/duet/p-dbf5bd13.entry.js +4 -0
  486. package/lib/duet/{p-b9095610.system.js → p-dc059577.system.js} +1 -1
  487. package/lib/duet/{p-f6c715f8.entry.js → p-dfb08a79.entry.js} +1 -1
  488. package/lib/duet/{p-48897c78.system.entry.js → p-e0887380.system.entry.js} +1 -1
  489. package/lib/duet/{p-954180c5.system.entry.js → p-e5a4b88c.system.entry.js} +1 -1
  490. package/lib/duet/{p-d2735e6f.entry.js → p-e90a1481.entry.js} +1 -1
  491. package/lib/duet/{p-b384dd4d.entry.js → p-ec0fadf9.entry.js} +1 -1
  492. package/lib/duet/{p-9e700d1c.entry.js → p-ef8efbf5.entry.js} +1 -1
  493. package/lib/duet/{p-1294e538.entry.js → p-f0023574.entry.js} +1 -1
  494. package/lib/duet/{p-3ff41d7f.system.entry.js → p-f04338dd.system.entry.js} +1 -1
  495. package/lib/duet/p-f36029aa.system.entry.js +4 -0
  496. package/lib/duet/{p-e1593168.system.entry.js → p-f448c5da.system.entry.js} +1 -1
  497. package/lib/duet/{p-4f419ad9.system.entry.js → p-f765b6a6.system.entry.js} +1 -1
  498. package/lib/duet/{p-f04ed25e.entry.js → p-f7c032a2.entry.js} +1 -1
  499. package/lib/duet/p-f7f200b1.system.entry.js +4 -0
  500. package/lib/duet/{p-4cb86860.entry.js → p-fbefd879.entry.js} +1 -1
  501. package/lib/duet/{p-65273068.system.entry.js → p-fc57622c.system.entry.js} +1 -1
  502. package/lib/duet/p-fd4c42f8.system.js +4 -0
  503. package/lib/duet/{p-52a0423d.system.entry.js → p-ff3660d4.system.entry.js} +1 -1
  504. package/lib/{dist-custom-elements/p-dade978b.js → esm/common-strings-c0ac5a0b.js} +6 -1
  505. package/lib/esm/duet-action-button.entry.js +1 -1
  506. package/lib/esm/duet-alert.entry.js +1 -1
  507. package/lib/esm/duet-badge.entry.js +1 -1
  508. package/lib/esm/duet-banner.entry.js +15 -2
  509. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  510. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  511. package/lib/esm/duet-button_2.entry.js +31 -9
  512. package/lib/esm/duet-callout.entry.js +1 -1
  513. package/lib/esm/duet-caption_4.entry.js +2 -2
  514. package/lib/esm/duet-card.entry.js +1 -1
  515. package/lib/esm/duet-checkbox.entry.js +1 -1
  516. package/lib/esm/duet-checkmark.entry.js +1 -1
  517. package/lib/esm/duet-chip.entry.js +1 -1
  518. package/lib/esm/duet-choice_2.entry.js +3 -3
  519. package/lib/esm/duet-collapsible.entry.js +1 -1
  520. package/lib/esm/duet-combobox.entry.js +2 -2
  521. package/lib/esm/duet-contact-card.entry.js +1 -1
  522. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  523. package/lib/esm/duet-date-picker.entry.js +2 -2
  524. package/lib/esm/duet-divider_2.entry.js +1 -1
  525. package/lib/esm/duet-editable-table_3.entry.js +1 -1
  526. package/lib/esm/duet-empty-state.entry.js +1 -1
  527. package/lib/esm/duet-fieldset.entry.js +1 -1
  528. package/lib/esm/duet-footer.entry.js +2 -2
  529. package/lib/esm/duet-grid_2.entry.js +1 -1
  530. package/lib/esm/duet-header_2.entry.js +2 -2
  531. package/lib/esm/duet-hero.entry.js +2 -2
  532. package/lib/esm/duet-icon.entry.js +1 -1
  533. package/lib/esm/duet-input_2.entry.js +1 -1
  534. package/lib/esm/duet-layout.entry.js +1 -1
  535. package/lib/esm/duet-list_2.entry.js +1 -1
  536. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  537. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  538. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  539. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  540. package/lib/esm/duet-menu-bar.entry.js +1 -1
  541. package/lib/esm/duet-modal.entry.js +2 -2
  542. package/lib/esm/duet-multiselect.entry.js +7 -2
  543. package/lib/esm/duet-nav.entry.js +1 -1
  544. package/lib/esm/duet-notification_2.entry.js +1 -1
  545. package/lib/esm/duet-number-input.entry.js +1 -1
  546. package/lib/esm/duet-page-heading.entry.js +1 -1
  547. package/lib/esm/duet-pagination_2.entry.js +1 -1
  548. package/lib/esm/duet-popup-menu-item.entry.js +1 -1
  549. package/lib/esm/duet-popup-menu.entry.js +1 -1
  550. package/lib/esm/duet-progress.entry.js +2 -2
  551. package/lib/esm/duet-promo-card.entry.js +1 -1
  552. package/lib/esm/duet-radio_2.entry.js +1 -1
  553. package/lib/esm/duet-range-slider.entry.js +1 -1
  554. package/lib/esm/duet-scrollable_3.entry.js +4 -3
  555. package/lib/esm/duet-section-layout.entry.js +1 -1
  556. package/lib/esm/duet-select.entry.js +1 -1
  557. package/lib/esm/duet-shaped-image.entry.js +1 -1
  558. package/lib/esm/duet-show-more.entry.js +2 -2
  559. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  560. package/lib/esm/duet-slideout-link.entry.js +1 -1
  561. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  562. package/lib/esm/duet-slideout-panel.entry.js +2 -2
  563. package/lib/esm/duet-slideout.entry.js +2 -2
  564. package/lib/esm/duet-step_2.entry.js +1 -1
  565. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
  566. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  567. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  568. package/lib/esm/duet-submenu-bar.entry.js +2 -2
  569. package/lib/esm/duet-textarea.entry.js +1 -1
  570. package/lib/esm/duet-toggle.entry.js +1 -1
  571. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  572. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  573. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  574. package/lib/esm/duet-toolbar.entry.js +1 -1
  575. package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
  576. package/lib/esm/duet-tooltip.entry.js +1 -1
  577. package/lib/esm/duet-tray.entry.js +1 -1
  578. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  579. package/lib/esm/duet-upload-item.entry.js +1 -1
  580. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  581. package/lib/esm/duet.js +3 -3
  582. package/lib/esm/{focus-utils-b5ee5205.js → focus-utils-03333699.js} +1 -1
  583. package/lib/esm/{index-bc4e29df.js → index-c3bd1656.js} +1 -1
  584. package/lib/esm/loader.js +3 -3
  585. package/lib/esm-es5/common-strings-c0ac5a0b.js +4 -0
  586. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  587. package/lib/esm-es5/duet-alert.entry.js +1 -1
  588. package/lib/esm-es5/duet-badge.entry.js +1 -1
  589. package/lib/esm-es5/duet-banner.entry.js +1 -1
  590. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  591. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  592. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  593. package/lib/esm-es5/duet-callout.entry.js +1 -1
  594. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  595. package/lib/esm-es5/duet-card.entry.js +2 -2
  596. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  597. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  598. package/lib/esm-es5/duet-chip.entry.js +1 -1
  599. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  600. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  601. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  602. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  603. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  604. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  605. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  606. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  607. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  608. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  609. package/lib/esm-es5/duet-footer.entry.js +1 -1
  610. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  611. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  612. package/lib/esm-es5/duet-hero.entry.js +1 -1
  613. package/lib/esm-es5/duet-icon.entry.js +1 -1
  614. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  615. package/lib/esm-es5/duet-layout.entry.js +1 -1
  616. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  617. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  618. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  619. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  620. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  621. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  622. package/lib/esm-es5/duet-modal.entry.js +1 -1
  623. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  624. package/lib/esm-es5/duet-nav.entry.js +1 -1
  625. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  626. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  627. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  628. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  629. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  630. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  631. package/lib/esm-es5/duet-progress.entry.js +1 -1
  632. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  633. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  634. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  635. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  636. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  637. package/lib/esm-es5/duet-select.entry.js +1 -1
  638. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  639. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  640. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  641. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  642. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  643. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  644. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  645. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  646. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  647. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  648. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  649. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  650. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  651. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  652. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  653. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  654. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  655. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  656. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  657. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  658. package/lib/esm-es5/duet-tray.entry.js +1 -1
  659. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  660. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  661. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  662. package/lib/esm-es5/duet.js +1 -1
  663. package/lib/esm-es5/focus-utils-03333699.js +4 -0
  664. package/lib/esm-es5/{index-bc4e29df.js → index-c3bd1656.js} +1 -1
  665. package/lib/esm-es5/loader.js +1 -1
  666. package/lib/types/common-strings.d.ts +1 -0
  667. package/lib/types/components/duet-banner/duet-banner.d.ts +6 -0
  668. package/lib/types/components/duet-button/duet-button.d.ts +12 -0
  669. package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +1 -1
  670. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +1 -1
  671. package/lib/types/components/duet-input/duet-input.d.ts +1 -1
  672. package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +1 -0
  673. package/lib/types/components/duet-number-input/duet-number-input.d.ts +1 -1
  674. package/lib/types/components/duet-radio/duet-radio.d.ts +1 -1
  675. package/lib/types/components/duet-select/duet-select.d.ts +1 -1
  676. package/lib/types/components/duet-tab/duet-tab.d.ts +4 -0
  677. package/lib/types/components/duet-textarea/duet-textarea.d.ts +1 -1
  678. package/lib/types/components/duet-toggle/duet-toggle.d.ts +1 -1
  679. package/lib/types/components.d.ts +54 -16
  680. package/lib/types/stencil-public-runtime.d.ts +2 -2
  681. package/lib/types/utils/axe-core-utils.d.ts +9 -0
  682. package/lib/types/utils/picture-utils.d.ts +18 -0
  683. package/package.json +6 -5
  684. package/lib/duet/p-11eb90f6.entry.js +0 -4
  685. package/lib/duet/p-2b1e39d0.entry.js +0 -4
  686. package/lib/duet/p-2e6fb207.entry.js +0 -4
  687. package/lib/duet/p-32f094f1.system.entry.js +0 -4
  688. package/lib/duet/p-365e7732.system.entry.js +0 -4
  689. package/lib/duet/p-36b36a8e.system.js +0 -4
  690. package/lib/duet/p-36e94f5b.entry.js +0 -4
  691. package/lib/duet/p-3f654f99.entry.js +0 -4
  692. package/lib/duet/p-89d82d24.system.entry.js +0 -4
  693. package/lib/duet/p-9dfdcbb2.entry.js +0 -4
  694. package/lib/duet/p-a6078084.system.entry.js +0 -4
  695. package/lib/duet/p-c0c4fa47.entry.js +0 -4
  696. package/lib/duet/p-ccf99f79.system.entry.js +0 -4
  697. package/lib/duet/p-e6af2ec8.system.js +0 -4
  698. package/lib/esm-es5/common-strings-71f2aabd.js +0 -4
  699. package/lib/esm-es5/focus-utils-b5ee5205.js +0 -4
@@ -9,6 +9,7 @@ import { DuetCardHeadingLevel, DuetChoiceGroupBreakpoint, DuetChoiceType, DuetCo
9
9
  import { DuetActionButtonEvent, DuetActionButtonIconSize } from "./components/duet-action-button/duet-action-button";
10
10
  import { DuetLangObject } from "./utils/language-utils";
11
11
  import { DuetAlertEvent } from "./components/duet-alert/duet-alert";
12
+ import { DuetSource } from "./utils/picture-utils";
12
13
  import { DuetButtonIconSize, DuetButtonSize, DuetButtonTextCentering, DuetButtonVariation, DuetButtonWrapping } from "./components/duet-button/duet-button";
13
14
  import { DuetCaptionSize } from "./components/duet-caption/duet-caption";
14
15
  import { DuetCardPadding, DuetCardToggleEvent, DuetCardVariation } from "./components/duet-card/duet-card";
@@ -67,6 +68,7 @@ export { DuetCardHeadingLevel, DuetChoiceGroupBreakpoint, DuetChoiceType, DuetCo
67
68
  export { DuetActionButtonEvent, DuetActionButtonIconSize } from "./components/duet-action-button/duet-action-button";
68
69
  export { DuetLangObject } from "./utils/language-utils";
69
70
  export { DuetAlertEvent } from "./components/duet-alert/duet-alert";
71
+ export { DuetSource } from "./utils/picture-utils";
70
72
  export { DuetButtonIconSize, DuetButtonSize, DuetButtonTextCentering, DuetButtonVariation, DuetButtonWrapping } from "./components/duet-button/duet-button";
71
73
  export { DuetCaptionSize } from "./components/duet-caption/duet-caption";
72
74
  export { DuetCardPadding, DuetCardToggleEvent, DuetCardVariation } from "./components/duet-card/duet-card";
@@ -316,6 +318,10 @@ export namespace Components {
316
318
  * Size.
317
319
  */
318
320
  "size": "auto" | "small" | "large";
321
+ /**
322
+ * Array of sources for responsive images. Sources have the properties of <source> element. This is an experimental feature and might be changed without notice.
323
+ */
324
+ "sources": DuetSource[] | string;
319
325
  /**
320
326
  * Text color.
321
327
  */
@@ -392,6 +398,16 @@ export namespace Components {
392
398
  * @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
393
399
  */
394
400
  "accessibleLabelExternalDefaults": DuetLangObject | string;
401
+ /**
402
+ * Adds accessible label for button in "loading" state
403
+ * @default {fi: "Ladataan",sv: "Lastning",en: "Loading…"}
404
+ */
405
+ "accessibleLabelLoading": string;
406
+ /**
407
+ * Property to change accessibleLabelLoading defaults on the component. normally you would handle these strings on an application level and override accessibleLabelLoading when needed
408
+ * @default {fi: "Ladataan",sv: "Lastning",en: "Loading…"}
409
+ */
410
+ "accessibleLabelLoadingDefaults": DuetLangObject | string;
395
411
  /**
396
412
  * String of id's that indicate alternative labels elements
397
413
  */
@@ -682,7 +698,7 @@ export namespace Components {
682
698
  /**
683
699
  * Defines a specific role attribute for the input.
684
700
  */
685
- "role": string;
701
+ "role": string | null;
686
702
  /**
687
703
  * Sets focus on the specified `duet-checkbox`. Use this method instead of the global `input.focus()`.
688
704
  */
@@ -1195,7 +1211,7 @@ export namespace Components {
1195
1211
  /**
1196
1212
  * Defines a specific role attribute for the date picker input.
1197
1213
  */
1198
- "role": string;
1214
+ "role": string | null;
1199
1215
  /**
1200
1216
  * Sets focus on the date picker's input. Use this method instead of the global `focus()`.
1201
1217
  */
@@ -1892,7 +1908,7 @@ export namespace Components {
1892
1908
  /**
1893
1909
  * Defines a specific role attribute for the input.
1894
1910
  */
1895
- "role": string;
1911
+ "role": string | null;
1896
1912
  /**
1897
1913
  * Sets focus on the specified `duet-input`. Use this method instead of the global `input.focus()`.
1898
1914
  */
@@ -2645,7 +2661,7 @@ export namespace Components {
2645
2661
  /**
2646
2662
  * Defines a specific role attribute for the input.
2647
2663
  */
2648
- "role": string;
2664
+ "role": string | null;
2649
2665
  /**
2650
2666
  * Controls whether or not value gets rounded to the nearest multiple of a step on blur. Set to "false" to disable this behaviour.
2651
2667
  */
@@ -3028,7 +3044,7 @@ export namespace Components {
3028
3044
  /**
3029
3045
  * Defines a specific role attribute for the input.
3030
3046
  */
3031
- "role": string;
3047
+ "role": string | null;
3032
3048
  /**
3033
3049
  * Sets focus on the specified `duet-radio`. Use this method instead of the global `input.focus()`.
3034
3050
  */
@@ -3327,7 +3343,7 @@ export namespace Components {
3327
3343
  /**
3328
3344
  * Defines a specific role attribute for the select.
3329
3345
  */
3330
- "role": string;
3346
+ "role": string | null;
3331
3347
  /**
3332
3348
  * Sets focus on the specified `duet-select`. Use this method instead of the global `select.focus()`.
3333
3349
  */
@@ -3726,6 +3742,10 @@ export namespace Components {
3726
3742
  * @default null
3727
3743
  */
3728
3744
  "accessibleDescriptionDefault": DuetLangObject | string;
3745
+ /**
3746
+ * String of id's that indicate alternative labels elements
3747
+ */
3748
+ "accessibleLabelledBy": string;
3729
3749
  /**
3730
3750
  * Caption for the tab.
3731
3751
  */
@@ -3948,7 +3968,7 @@ export namespace Components {
3948
3968
  /**
3949
3969
  * Defines a specific role attribute for the input.
3950
3970
  */
3951
- "role": string;
3971
+ "role": string | null;
3952
3972
  /**
3953
3973
  * Sets focus on the specified `duet-textarea`. Use this method instead of the global `textarea.focus()`.
3954
3974
  */
@@ -4034,7 +4054,7 @@ export namespace Components {
4034
4054
  /**
4035
4055
  * Defines a specific role attribute for the input.
4036
4056
  */
4037
- "role": string;
4057
+ "role": string | null;
4038
4058
  /**
4039
4059
  * Sets focus on the specified `duet-toggle`. Use this method instead of the global `input.focus()`.
4040
4060
  */
@@ -6043,6 +6063,10 @@ declare namespace LocalJSX {
6043
6063
  * Size.
6044
6064
  */
6045
6065
  "size"?: "auto" | "small" | "large";
6066
+ /**
6067
+ * Array of sources for responsive images. Sources have the properties of <source> element. This is an experimental feature and might be changed without notice.
6068
+ */
6069
+ "sources"?: DuetSource[] | string;
6046
6070
  /**
6047
6071
  * Text color.
6048
6072
  */
@@ -6119,6 +6143,16 @@ declare namespace LocalJSX {
6119
6143
  * @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
6120
6144
  */
6121
6145
  "accessibleLabelExternalDefaults"?: DuetLangObject | string;
6146
+ /**
6147
+ * Adds accessible label for button in "loading" state
6148
+ * @default {fi: "Ladataan",sv: "Lastning",en: "Loading…"}
6149
+ */
6150
+ "accessibleLabelLoading"?: string;
6151
+ /**
6152
+ * Property to change accessibleLabelLoading defaults on the component. normally you would handle these strings on an application level and override accessibleLabelLoading when needed
6153
+ * @default {fi: "Ladataan",sv: "Lastning",en: "Loading…"}
6154
+ */
6155
+ "accessibleLabelLoadingDefaults"?: DuetLangObject | string;
6122
6156
  /**
6123
6157
  * String of id's that indicate alternative labels elements
6124
6158
  */
@@ -6425,7 +6459,7 @@ declare namespace LocalJSX {
6425
6459
  /**
6426
6460
  * Defines a specific role attribute for the input.
6427
6461
  */
6428
- "role"?: string;
6462
+ "role"?: string | null;
6429
6463
  /**
6430
6464
  * Theme of the checkbox.
6431
6465
  */
@@ -6962,7 +6996,7 @@ declare namespace LocalJSX {
6962
6996
  /**
6963
6997
  * Defines a specific role attribute for the date picker input.
6964
6998
  */
6965
- "role"?: string;
6999
+ "role"?: string | null;
6966
7000
  /**
6967
7001
  * Theme of the component.
6968
7002
  */
@@ -7741,7 +7775,7 @@ declare namespace LocalJSX {
7741
7775
  /**
7742
7776
  * Defines a specific role attribute for the input.
7743
7777
  */
7744
- "role"?: string;
7778
+ "role"?: string | null;
7745
7779
  /**
7746
7780
  * Theme of the input.
7747
7781
  */
@@ -8481,7 +8515,7 @@ declare namespace LocalJSX {
8481
8515
  /**
8482
8516
  * Defines a specific role attribute for the input.
8483
8517
  */
8484
- "role"?: string;
8518
+ "role"?: string | null;
8485
8519
  /**
8486
8520
  * Controls whether or not value gets rounded to the nearest multiple of a step on blur. Set to "false" to disable this behaviour.
8487
8521
  */
@@ -8861,7 +8895,7 @@ declare namespace LocalJSX {
8861
8895
  /**
8862
8896
  * Defines a specific role attribute for the input.
8863
8897
  */
8864
- "role"?: string;
8898
+ "role"?: string | null;
8865
8899
  /**
8866
8900
  * Theme of the radio.
8867
8901
  */
@@ -9176,7 +9210,7 @@ declare namespace LocalJSX {
9176
9210
  /**
9177
9211
  * Defines a specific role attribute for the select.
9178
9212
  */
9179
- "role"?: string;
9213
+ "role"?: string | null;
9180
9214
  /**
9181
9215
  * Theme of the select.
9182
9216
  */
@@ -9546,6 +9580,10 @@ declare namespace LocalJSX {
9546
9580
  * @default null
9547
9581
  */
9548
9582
  "accessibleDescriptionDefault"?: DuetLangObject | string;
9583
+ /**
9584
+ * String of id's that indicate alternative labels elements
9585
+ */
9586
+ "accessibleLabelledBy"?: string;
9549
9587
  /**
9550
9588
  * Caption for the tab.
9551
9589
  */
@@ -9787,7 +9825,7 @@ declare namespace LocalJSX {
9787
9825
  /**
9788
9826
  * Defines a specific role attribute for the input.
9789
9827
  */
9790
- "role"?: string;
9828
+ "role"?: string | null;
9791
9829
  /**
9792
9830
  * Theme of the textarea.
9793
9831
  */
@@ -9873,7 +9911,7 @@ declare namespace LocalJSX {
9873
9911
  /**
9874
9912
  * Defines a specific role attribute for the input.
9875
9913
  */
9876
- "role"?: string;
9914
+ "role"?: string | null;
9877
9915
  /**
9878
9916
  * Theme of the card.
9879
9917
  */
@@ -100,8 +100,8 @@ export interface EventDecorator {
100
100
  (opts?: EventOptions): PropertyDecorator;
101
101
  }
102
102
  export interface EventOptions {
103
- /**
104
- * A string custom event name to override the default.
103
+ /**
104
+ * A string custom event name to override the default.
105
105
  */
106
106
  eventName?: string;
107
107
  /**
@@ -0,0 +1,9 @@
1
+ import { Result, RuleObject, RunOptions } from "axe-core";
2
+ export declare const options: RunOptions;
3
+ export declare function formatViolations(violations?: Result[]): {
4
+ id: string;
5
+ impact: import("axe-core").ImpactValue;
6
+ description: string;
7
+ }[];
8
+ export declare function mergeRules(axeRunOptions: RunOptions, rules: RuleObject): RunOptions;
9
+ export declare function testWithAxe(markup: string, axeRunOptions?: RunOptions): Promise<any>;
@@ -0,0 +1,18 @@
1
+ import { FunctionalComponent } from "../stencil-public-runtime";
2
+ export type DuetSource = {
3
+ srcset: string;
4
+ media?: string;
5
+ type?: string;
6
+ sizes?: string;
7
+ };
8
+ export type DuetImg = {
9
+ src: string;
10
+ alt?: string;
11
+ width?: string | number;
12
+ height?: string | number;
13
+ };
14
+ export type DuetPictureSource = {
15
+ sources: DuetSource[];
16
+ img: DuetImg;
17
+ };
18
+ export declare const DuetPicture: FunctionalComponent<DuetPictureSource>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duetds/components",
3
- "version": "8.0.2",
3
+ "version": "8.0.3",
4
4
  "description": "This package includes Duet Design System Web Components and related utilities.",
5
5
  "bugs": {
6
6
  "email": "duetdesignsystem@lahitapiola.fi"
@@ -41,14 +41,15 @@
41
41
  "body-scroll-lock": "3.1.5"
42
42
  },
43
43
  "devDependencies": {
44
- "@duetds/fonts": "3.0.20",
45
- "@duetds/icons": "4.0.20",
46
- "@duetds/tokens": "4.0.20",
44
+ "@duetds/fonts": "3.0.21",
45
+ "@duetds/icons": "4.0.21",
46
+ "@duetds/tokens": "4.0.21",
47
47
  "@percy/cli": "1.21.0",
48
48
  "@rollup/plugin-replace": "5.0.2",
49
49
  "@stencil/core": "4.7.2",
50
50
  "@stencil/sass": "3.0.0",
51
51
  "@types/jest": "27.0.3",
52
+ "axe-core": "4.8.2",
52
53
  "cross-env": "7.0.3",
53
54
  "dotenv": "16.0.3",
54
55
  "jest": "27.0.3",
@@ -70,5 +71,5 @@
70
71
  "collection": "lib/collection/collection-manifest.json",
71
72
  "es2015": "lib/esm/index.js",
72
73
  "es2017": "lib/esm/index.js",
73
- "gitHead": "301d80bbe7cc182051f395175576ecb951e97235"
74
+ "gitHead": "e3e0a815bcddeaf927c7f28d68e8448c4364ef0c"
74
75
  }
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r,h as e,H as s,g as a}from"./p-a313db30.js";import{i as o}from"./p-d48735b6.js";import{c as t}from"./p-45f71a69.js";import{g as i,c as n,d as p}from"./p-4883df66.js";import"./p-1a395a8d.js";const d=class{constructor(e){r(this,e),this.progressId=t("DuetProgress"),this.progressLabelId=t("DuetProgressLabel"),this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabel=void 0,this.accessibleLabelUploadDefaults={fi:["lähetys valmis","lähetys käynnissä"],sv:["Uppladdningen är klar","Uppladdning pågår"],en:["upload completed","upload in progress"]},this.accessibleLabelUpload=i(this.accessibleLabelUploadDefaults),this.progress=0,this.caption=void 0,this.height="10px",this.theme=""}componentWillLoad(){o(this)}connectedCallback(){n(this,{prop:"accessibleLabelUpload",defaults:"accessibleLabelUploadDefaults"})}disconnectedCallback(){p(this)}render(){return e(s,null,e("div",{"aria-live":this.accessibleLabel?"polite":"off","aria-hidden":this.accessibleLabel?"false":"true","aria-atomic":"true",style:{height:this.height},id:this.progressId,class:{"duet-progress":!0,"duet-progress-done":100===this.progress,"duet-progress-start":0===this.progress,"duet-progress-inprogress":this.progress<99&&0!==this.progress,"duet-theme-turva":"turva"===this.theme}},e("duet-visually-hidden",null,e("label",{htmlFor:this.progressLabelId},0!==this.progress&&e("span",null,this.accessibleLabel,", ",this.accessibleLabelUpload[this.progress<99?1:0]))),this.caption&&e("div",{class:"duet-progress-caption"},e("span",null,this.caption)),e("progress",{id:this.progressLabelId,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,role:"progressbar",value:this.progress,max:"100","aria-valuemin":"0","aria-valuemax":"100"},e("div",{class:"progress-bar"},e("span",{style:{width:`${this.progress}%;`}},"Progress: ",this.progress,"%")))))}get element(){return a(this)}};d.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:inherit}.duet-progress{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;min-height:1px;}.duet-progress .progress-bar{position:relative;display:block;width:100%;height:inherit;min-height:1px;background-color:rgb(243, 249, 252);border-radius:0;box-shadow:none}.duet-theme-turva .duet-progress .progress-bar{background-color:rgb(252, 243, 244)}.duet-progress .progress-bar>span{display:block;height:inherit;text-indent:-9999px;background-color:rgb(0, 119, 179);border-radius:0}.duet-theme-turva .duet-progress .progress-bar>span{background-color:rgb(198, 12, 48)}.duet-progress progress[value]{display:flex;width:100%;height:inherit;min-height:1px;color:rgb(0, 119, 179);border:0 none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.duet-theme-turva .duet-progress progress[value]{color:rgb(198, 12, 48)}.duet-progress progress[value]::-webkit-progress-bar{background-color:rgb(243, 249, 252);border-radius:0}.duet-theme-turva .duet-progress progress[value]::-webkit-progress-bar{background-color:rgb(252, 243, 244)}.duet-progress progress[value]::-webkit-progress-value{background-color:rgb(0, 119, 179);background-size:35px 20px, 100% 100%, 100% 100%;border-radius:0;-webkit-animation:animate-stripes 5s linear infinite;animation:animate-stripes 5s linear infinite}.duet-theme-turva .duet-progress progress[value]::-webkit-progress-value{background-color:rgb(198, 12, 48)}.duet-progress progress[value] ::-moz-progress-bar{background-color:rgb(243, 249, 252)}.duet-theme-turva .duet-progress progress[value] ::-moz-progress-bar{background-color:rgb(252, 243, 244)}";export{d as duet_progress}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as t,H as i,g as s}from"./p-a313db30.js";import{a as n}from"./p-64d43840.js";import{e as a,d as o}from"./p-141e14d0.js";import{i as r}from"./p-d48735b6.js";const d=class{constructor(t){e(this,t),this.mql=[window.matchMedia(n.replace(/'/g,""))],this.boundMqlFunctions=[],this.handleMobileView=()=>{this.mql[0].matches?(this.mobile=!1,this.enableBodyScroll()):(this.mobile=!0,this.bodyScroll||this.disableBodyScroll())},this.onClick=()=>{this.open=!this.open},this.enableBodyScroll=()=>{this.nav&&a(this.nav),this.itemsContainer&&a(this.itemsContainer)},this.disableBodyScroll=()=>{this.nav&&o(this.nav,{reserveScrollBarGap:!0}),this.itemsContainer&&o(this.itemsContainer,{reserveScrollBarGap:!0})},this.checkIfHasItems=()=>{const e=!!this.element.querySelector("duet-submenu-bar-dropdown-link"),t=!!this.element.querySelector("duet-submenu-bar-link");return e||t},this.mobile=!0,this.bodyScroll=!0,this.theme="",this.open=!1,this.accessibleLabel=void 0}watchOpenStateHandler(e){e?(this.bodyScroll=!1,this.disableBodyScroll()):(this.enableBodyScroll(),this.bodyScroll=!0)}componentWillLoad(){r(this);const e=Array.from(this.element.children);for(const t of e)t.setAttribute("role","listitem")}connectedCallback(){this.nav=document.querySelector("duet-nav > [slot='mobile']"),this.hasItems=this.checkIfHasItems(),this.handleMobileView();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.handleMobileView.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[],this.enableBodyScroll()}async setFocus(e){this.button.focus(e)}render(){return t(i,null,t("nav",{class:{"duet-submenu-bar":!0,"duet-theme-turva":"turva"===this.theme},"aria-label":this.accessibleLabel},t("div",{class:"shadow-container",role:"presentation"},t("div",{class:"top-shadow"})),this.hasItems&&t("button",{ref:e=>this.button=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick},t("div",{class:"label"},t("slot",{name:"label"}),t("duet-icon",{theme:this.theme,class:"caret",name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),t("div",{class:{"menu-container":!0,hidden:!this.open},role:"presentation"},t("div",{role:this.mobile?"menu":null,id:"menu","aria-labelledby":this.mobile?"button":null,"aria-expanded":this.mobile?this.open?"true":"false":null,class:{items:!0,hidden:!this.open},ref:e=>this.itemsContainer=e},t("div",{class:"list",role:this.mobile?"presentation":"list"},t("slot",null),t("div",{class:"list-padding"}))),t("div",{class:"mobile-background"}))))}get element(){return s(this)}static get watchers(){return{open:["watchOpenStateHandler"]}}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:none}@media (min-width: 62em){:host(:not([open])) ::slotted(duet-submenu-bar-dropdown){display:inherit}}.duet-submenu-bar{position:relative;background:rgb(243, 249, 252)}.duet-submenu-bar .shadow-container{position:absolute;width:100%;height:100%;overflow:hidden}.duet-submenu-bar .shadow-container .top-shadow{position:absolute;top:-52px;width:100%;height:52px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07)}@media (min-width: 62em){.duet-submenu-bar .shadow-container .top-shadow{top:-80px;height:80px;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}@media (min-width: 62em){.duet-submenu-bar{border-bottom:1px solid rgb(205, 229, 241)}}.duet-submenu-bar button{display:flex;align-items:center;justify-content:center;width:100%;padding:12px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77)}.duet-submenu-bar button.active .caret{transform:rotate(180deg)}.duet-submenu-bar button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-submenu-bar button .label{position:relative;display:flex;gap:8px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar button{display:none}}.duet-submenu-bar .menu-container{position:absolute;z-index:399;width:100%}.duet-submenu-bar .menu-container.hidden{max-height:0;overflow:hidden;visibility:hidden}@media (min-width: 62em){.duet-submenu-bar .menu-container,.duet-submenu-bar .menu-container.hidden{position:static;z-index:auto;max-height:unset;overflow:visible;visibility:visible}}.duet-submenu-bar .items{width:100%;height:70vh;overflow-y:scroll;visibility:visible;background:rgb(243, 249, 252);border-bottom:1px solid rgb(207, 210, 212)}.duet-submenu-bar .items ::slotted(*){position:relative}.duet-submenu-bar .items.hidden{max-height:0;overflow:hidden;visibility:hidden;border-bottom:0 solid rgb(207, 210, 212)}.duet-submenu-bar .items .list-padding{padding-bottom:188px}@media (min-width: 62em){.duet-submenu-bar .items .list{display:flex;align-items:center;justify-content:space-between;height:100%}.duet-submenu-bar .items,.duet-submenu-bar .items.hidden{position:static;z-index:auto;display:flex;flex-direction:row;align-items:center;justify-content:center;height:auto;max-height:unset;overflow:visible;visibility:visible;border:0}.duet-submenu-bar .items .list-padding{display:none;padding-bottom:0}}.duet-submenu-bar .mobile-background{position:absolute;width:100%;height:100%;background:rgba(0, 41, 77, 0.6)}@media (min-width: 62em){.duet-submenu-bar .mobile-background{display:none}}.duet-submenu-bar.duet-theme-turva{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-submenu-bar.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-submenu-bar.duet-theme-turva .items{background:rgb(245, 245, 247)}.duet-submenu-bar.duet-theme-turva .mobile-background{background:rgba(23, 28, 58, 0.6)}.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}';export{d as duet_submenu_bar}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as e,H as a,g as i}from"./p-a313db30.js";import{i as n}from"./p-d48735b6.js";import{g as o}from"./p-0b31864f.js";import"./p-f1d51e20.js";const r=class{constructor(e){t(this,e),this.theme="",this.margin="auto",this.backgroundColor="primary-lighter",this.iconColor="gray-lightest",this.iconBackgroundColor="primary",this.textColor="secondary",this.size="auto",this.image="",this.icon="",this.headingLevel="h2"}componentWillLoad(){n(this),this.hasHeadingSlot=!!this.element.querySelector('[slot="heading"]'),this.hasDescriptionSlot=!!this.element.querySelector('[slot="description"]'),this.hasActionSlot=!!this.element.querySelector('[slot="action"]')}render(){const t=o("turva"===this.theme&&"primary-lighter"===this.backgroundColor?"gray-light":this.backgroundColor,this.theme);return e(a,{class:{"duet-m-0":"none"===this.margin}},e("aside",{class:{"duet-banner":!0,"duet-theme-turva":"turva"===this.theme,[this.size]:!0},style:{backgroundColor:t}},e("div",{class:"visual"},e("div",{class:"image-container"},e("img",{class:"image",src:this.image,alt:"",role:"presentation"})),this.icon&&e("duet-icon",{theme:this.theme,class:"icon",name:this.icon,shape:"brand",size:"xx-large",color:this.iconColor,background:this.iconBackgroundColor,"background-rotation":"7","background-opacity":"0.85",margin:"none"})),e("div",{class:"content"},this.hasHeadingSlot&&e("div",{class:"heading"},e("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h2",margin:"none",color:this.textColor},e("slot",{name:"heading"}))),this.hasDescriptionSlot&&e("div",{class:"description"},e("duet-paragraph",{theme:this.theme,margin:"none",color:this.textColor},e("slot",{name:"description"}))),this.hasActionSlot&&e("div",{class:"action"},e("slot",{name:"action"})))))}get element(){return i(this)}};r.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-banner{display:grid;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}.duet-banner.auto{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.auto .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.auto .visual .image-container{top:-130px;left:-40px}.duet-banner.auto .visual .icon{bottom:30px;left:15px}@media (min-width: 62em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{top:-30px;left:-30px}.duet-banner.auto .visual .image{top:-15px;left:30px}.duet-banner.auto .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}.duet-banner.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}.duet-banner.duet-theme-turva.auto .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:15px}@media (min-width: 62em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:auto;left:295px}}';export{r as duet_banner}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,o){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,u){function i(t){try{a(o.next(t))}catch(t){u(t)}}function d(t){try{a(o["throw"](t))}catch(t){u(t)}}function a(t){t.done?n(t.value):r(t.value).then(i,d)}a((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},o,r,u,i;return i={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function d(t){return function(e){return a([t,e])}}function a(d){if(o)throw new TypeError("Generator is already executing.");while(i&&(i=0,d[0]&&(n=0)),n)try{if(o=1,r&&(u=d[0]&2?r["return"]:d[0]?r["throw"]||((u=r["return"])&&u.call(r),0):r.next)&&!(u=u.call(r,d[1])).done)return u;if(r=0,u)d=[d[0]&2,u.value];switch(d[0]){case 0:case 1:u=d;break;case 4:n.label++;return{value:d[1],done:false};case 5:n.label++;r=d[1];d=[0];continue;case 7:d=n.ops.pop();n.trys.pop();continue;default:if(!(u=n.trys,u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){n.label=d[1];break}if(d[0]===6&&n.label<u[1]){n.label=u[1];u=d;break}if(u&&n.label<u[2]){n.label=u[2];n.ops.push(d);break}if(u[2])n.ops.pop();n.trys.pop();continue}d=e.call(t,n)}catch(t){d=[6,t];r=0}finally{o=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-9ad4c219.system.js","./p-77b6e4ba.system.js","./p-36b36a8e.system.js","./p-8972381a.system.js","./p-719b38fe.system.js","./p-b99c00fa.system.js","./p-9d033a04.system.js"],(function(t){"use strict";var e,n,o,r,u,i,d,a,b,s,l,p;return{setters:[function(t){e=t.r;n=t.c;o=t.h;r=t.H;u=t.g},function(t){i=t.i},function(t){d=t.D},function(t){a=t.a;b=t.g;s=t.c;l=t.d},function(t){p=t.g},function(){},function(){}],execute:function(){var h='*,*::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:20rem;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}.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;border-radius:8px}.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}';var c=t("duet_button",function(){function t(t){var o=this;e(this,t);this.duetFocus=n(this,"duetFocus",7);this.duetBlur=n(this,"duetBlur",7);this.handleClick=function(t){if(!o.url&&o.element.closest("form")){t.preventDefault();o.proxyButton.click()}};this.onFocus=function(){o.duetFocus.emit()};this.onBlur=function(){o.duetBlur.emit()};this.accessibleLabel=undefined;this.accessibleControls=undefined;this.accessiblePopup="false";this.accessibleActiveDescendant=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleExpanded=undefined;this.accessiblePressed=undefined;this.loading=false;this.variation="default";this.negative=false;this.theme="";this.margin="auto";this.padding="auto";this.centerText=false;this.wrapping="auto";this.expand=false;this.fixed=false;this.disabled=false;this.name=undefined;this.value=undefined;this.identifier=undefined;this.submit=false;this.external=false;this.language=a();this.accessibleLabelExternalDefaults=d;this.accessibleLabelExternal=b(this.accessibleLabelExternalDefaults);this.icon="";this.color="";this.iconRight=false;this.iconSize="medium";this.size="medium";this.iconOnly=false;this.url=undefined}t.prototype.componentWillLoad=function(){i(this);if(this.url&&this.external&&this.icon){console.warn("[DUET]: Button used as an external link will override any icon that is set")}};t.prototype.connectedCallback=function(){this.proxyButton=document.createElement("button");this.proxyButton.style.display="none";this.syncToProxyButton();s(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"});if(!this.url&&this.element.closest("form")){this.element.insertAdjacentElement("beforebegin",this.proxyButton)}};t.prototype.disconnectedCallback=function(){this.proxyButton.remove();this.proxyButton=null;l(this)};t.prototype.syncToProxyButton=function(){this.proxyButton.type=this.getButtonType();this.proxyButton.disabled=this.disabled;if(this.name!=null){this.proxyButton.name=this.name}else{this.proxyButton.removeAttribute("name")}if(this.value!=null){this.proxyButton.value=this.value}else{this.proxyButton.removeAttribute("value")}};t.prototype.getButtonType=function(){return this.submit?"submit":"button"};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t,e,n;var u=this;var i;var d=this.external&&this.url;var a=d?"action-new-window":this.icon;var b=d?true:this.iconRight;var s=o("span",{class:"duet-button-contents",style:{color:p(this.color)}},a&&o("div",{"aria-hidden":"true",class:(t={"duet-button-icon":true,left:!b,right:b},t[this.iconSize]=true,t)},o("duet-icon",{size:"auto",margin:"none",name:a,color:"currentColor"})),o("slot",null));var l={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(t){return u.nativeButton=t},id:this.identifier,class:(e={"duet-m-0":this.margin==="none","duet-p-0":this.padding==="none","duet-no-wrap":this.wrapping==="none","duet-button":true,"duet-button-is-small":this.size==="small","duet-button-icon-only":this.iconOnly,"duet-button-text-center":this.centerText,"duet-button-negative":this.negative||this.variation==="negative"},e[this.variation]=true,e.disabled=this.disabled,e.icon=!!a,e["icon-right"]=b,e[this.iconSize]=true,e),"aria-controls":this.accessibleControls,"aria-label":this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null?this.accessibleExpanded.toString():undefined,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription};return o(r,{onClick:this.handleClick,class:{"duet-m-0":this.margin==="none","duet-small":this.size==="small","duet-fixed":this.fixed,"duet-expand":this.expand,"input-button":(i=this.variation)===null||i===void 0?void 0:i.startsWith("input-button")}},o("div",{class:(n={"duet-button-container":true,"duet-button-is-loading":this.loading,"duet-theme-turva":this.theme==="turva","duet-button-negative":this.negative||this.variation==="negative"},n[this.variation]=true,n)},this.url?o("a",Object.assign({},l,{href:this.url,target:this.external?"_blank":"_self",rel:this.external?"noopener":undefined}),s,this.external&&o("duet-visually-hidden",null,", ",this.accessibleLabelExternal)):o("button",Object.assign({},l,{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}),s),this.loading&&o("duet-spinner",{color:"currentColor"})))};Object.defineProperty(t.prototype,"element",{get:function(){return u(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["syncToProxyButton"],submit:["syncToProxyButton"],value:["syncToProxyButton"],name:["syncToProxyButton"]}},enumerable:false,configurable:true});return t}());c.style=h;var m=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;top:50%;left:50%;z-index:800;max-width:100%}:host(.duet-theme-default) .duet-spinner{color:rgb(0, 119, 179) !important}:host(.duet-theme-turva) .duet-spinner{color:rgb(198, 12, 48) !important}:host(.duet-custom-color){color:inherit}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-spinner{-webkit-user-select:none;user-select:none;position:absolute;top:50%;left:50%;z-index:800;width:24px;height:24px;color:rgb(0, 119, 179);border:2px solid transparent;border-left:2px solid currentColor;border-radius:50%;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%;animation:duetRotate 0.6s linear infinite}.duet-spinner::after{position:absolute;top:50%;left:50%;z-index:200;box-sizing:content-box;width:100%;height:100%;overflow:hidden;content:"";border:2px solid currentColor;border-radius:50%;opacity:0.3;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%}.duet-spinner.medium{width:36px;height:36px;border-width:4px}.duet-spinner.medium::after{border-width:4px}.duet-spinner.large{width:72px;height:72px;border-width:8px}.duet-spinner.large::after{border-width:8px}@keyframes duetRotate{0%{transform:translateZ(0) rotate(0deg) translateX(-50%) translateY(-50%)}100%{transform:translateZ(0) rotate(360deg) translateX(-50%) translateY(-50%)}}';var g=t("duet_spinner",function(){function t(t){e(this,t);this.accessibleLabel=undefined;this.color="gray-lightest";this.size="small";this.theme=""}t.prototype.componentWillLoad=function(){i(this)};t.prototype.render=function(){var t;var e=this.color==="currentColor"?"currentColor":p(this.color);return o(r,{class:{"duet-custom-color":this.color!=="currentColor"&&this.theme!=="turva"&&this.theme!=="default","duet-theme-turva":this.theme==="turva"&&this.color!=="currentColor","duet-theme-default":this.theme==="default"&&this.color!=="currentColor"}},o("div",{class:(t={"duet-spinner":true},t[this.size]=true,t),style:{color:e},"aria-label":this.accessibleLabel}))};return t}());g.style=m}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-9ad4c219.system.js","./p-77b6e4ba.system.js","./p-8d0d6e06.system.js"],(function(e){"use strict";var n,t,o,r,a,i;return{setters:[function(e){n=e.r;t=e.h;o=e.H;r=e.g},function(e){a=e.i},function(e){i=e.f}],execute:function(){var u='*,*::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;width:100%;height:100%}.duet-submenu-bar-dropdown-link{display:flex;flex-direction:row;gap:0.5rem;align-items:center;justify-content:flex-start;height:100%;padding:8px 20px 8px 60px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none}.duet-submenu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-submenu-bar-dropdown-link:focus,.duet-submenu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}@media (min-width: 62em){.duet-submenu-bar-dropdown-link{padding:0.675rem 16px;font-size:0.875rem}}.duet-submenu-bar-dropdown-link.active .label{position:relative}.duet-submenu-bar-dropdown-link.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}.duet-submenu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown-link.duet-theme-turva.active .label::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown-link:hover{color:rgb(0, 77, 128);background:rgb(243, 249, 252)}.duet-submenu-bar-dropdown-link:hover.duet-theme-turva{color:rgb(148, 9, 37);background:rgb(245, 245, 247)}}.duet-submenu-bar-dropdown-link.highlight{color:rgb(0, 119, 179)}.duet-submenu-bar-dropdown-link.highlight.duet-theme-turva{color:rgb(148, 9, 37)}';var s=e("duet_submenu_bar_dropdown_link",function(){function e(e){n(this,e);this.theme="";this.active=false;this.href="#";this.icon=undefined;this.caret=false;this.highlight=false}e.prototype.componentWillLoad=function(){a(this)};e.prototype.handleEscape=function(e){if(i(e)){var n=this.element.closest("duet-submenu-bar-dropdown");n.open=false;n.setFocus()}};e.prototype.render=function(){var e=this;return t(o,null,t("a",{class:{"duet-submenu-bar-dropdown-link":true,"duet-theme-turva":this.theme==="turva",highlight:this.highlight,active:this.active},"aria-current":this.active?"true":"false",href:this.href,onKeyUp:function(n){return e.handleEscape(n)}},this.icon&&t("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),t("span",{class:"label"},t("slot",null)),this.caret&&t("duet-icon",{name:"action-arrow-right-small",size:"xxx-small",margin:"none"})))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());s.style=u}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register([],(function(n){"use strict";return{execute:function(){var e=n("D",{fi:"Avautuu uuteen ikkunaan",sv:"Öppnas i nytt fönster",en:"Opens in a new window"})}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as e,h as i,H as s,g as o}from"./p-a313db30.js";import{i as l}from"./p-d48735b6.js";import{c as a}from"./p-45f71a69.js";import{f as r,o as u,j as n,d as c,b as h,a as d,c as m}from"./p-cc1909de.js";import{a as p,c as b,d as g}from"./p-4883df66.js";import{p as x}from"./p-1a395a8d.js";const v=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.errorId=a("DuetError"),this.labelId=a("DuetLabel"),this.topCaptionId=a("DuetCaptionTop"),this.selectedLangObject={en:"selected",fi:"valittu",sv:"vald"},this.selectAllLabel={en:"Select all",fi:"Valitse kaikki",sv:"Välj alla"},this.clearAllLabel={en:"Clear all",fi:"Tyhjennä kaikki",sv:"Rensa alla"},this.onChange=t=>{this.duetChange.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onBlur=t=>{this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onFocus=t=>{this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-multiselect"})},this.onMultiselectKeyDown=t=>{(r(t)||u(t))&&this.checkboxesVisible&&(this.checkboxesVisible=!1,this.multiselectElement.focus(),t.preventDefault())},this.onMultiselectInputKeyDown=t=>{n(t)&&(t.preventDefault(),this.toggleCheckboxes(),setTimeout((()=>{if(this.checkboxesVisible){const t=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(this.allControls?-2:0)}`);t&&t.focus()}}),200))},this.onCheckboxKeyDown=(t,e)=>{let i;c(t)||h(t)?i=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(e-1)}`):(d(t)||m(t))&&(i=this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(e+1)}`)),i&&(i.focus(),t.preventDefault(),this.activeDescendant=i.id)},this.toggleCheckboxes=()=>{this.checkboxesVisible=!this.checkboxesVisible},this.toggleCheckbox=(t,e)=>{this.value=function(t,e){return t.includes(e)?t.filter((t=>t!==e)):[...t,e]}(this.value,e),this.onChange(t)},this.handleSelectAllClick=t=>{this.value=this.processedItems,this.onChange(t)},this.handleClearAllClick=t=>{this.value=[],this.onChange(t)},this.getOptionIdentifier=t=>`${this.identifier}-option-${t}`,this.getDescribedBy=()=>{const t=[];return this.isCaptionVisible&&this.topCaptionId&&t.push(this.topCaptionId),this.accessibleDescribedBy&&t.push(this.accessibleDescribedBy),this.error&&t.push(this.errorId),t.length>0?t.join(" "):null},this.processedItems=[],this.checkboxesVisible=!1,this.activeDescendant="",this.language=p(),this.margin="auto",this.error="",this.accessibleLiveError="polite",this.expand=!1,this.value=[],this.theme="",this.labelHidden=!1,this.identifier=a("DuetMultiselect"),this.allControls=!1,this.placeholder="",this.caption=void 0,this.items=void 0,this.disabled=!1,this.label="label",this.accessibleDescribedBy=void 0,this.tooltip="",this.tooltipDirection="auto"}handleFocus(t){t.composedPath().every((t=>t!==this.element))&&(this.checkboxesVisible=!1)}componentWillLoad(){l(this),this.isCaptionVisible=!!this.caption,this.refresh()}connectedCallback(){b(this)}disconnectedCallback(){g(this)}async setFocus(t){this.multiselectElement&&this.multiselectElement.focus(t)}async refresh(){this.processedItems=x(this.items)}render(){return i(s,{class:{"duet-m-0":"none"===this.margin,"duet-expand":this.expand}},i("div",{class:{"duet-multiselect-container":!0,"duet-label-hidden":this.labelHidden,"duet-theme-turva":"turva"===this.theme,"duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error},onKeyDown:t=>this.onMultiselectKeyDown(t)},i("duet-label",{theme:"turva"===this.theme?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},id:this.labelId,for:this.identifier},this.label),this.tooltip&&i("duet-tooltip",{class:"duet-multiselect-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),this.caption&&i("duet-caption",{id:this.topCaptionId,size:"medium"},this.caption),i("div",{class:"duet-multiselect-wrapper"},i("button",{id:this.identifier,ref:t=>this.multiselectElement=t,class:{"duet-multiselect":!0,"duet-multiselect-active":this.checkboxesVisible},tabindex:"0",onClick:()=>this.toggleCheckboxes(),onFocus:t=>this.onFocus(t),onBlur:t=>this.onBlur(t),role:"combobox","aria-expanded":this.checkboxesVisible?"true":"false","aria-haspopup":"listbox","aria-labelledby":this.labelId,"aria-describedby":this.getDescribedBy(),"aria-owns":`${this.identifier}-checkboxes`,onKeyDown:t=>this.onMultiselectInputKeyDown(t),disabled:this.disabled},i("span",{role:"textbox","aria-readonly":"true","aria-multiline":"false","aria-autocomplete":"none","aria-controls":`${this.identifier}-checkboxes`},this.placeholder),this.value&&this.value.length>0&&i("duet-badge",{class:"duet-multiselect-badge",margin:"none",theme:this.theme},this.value.length," ",this.selectedLangObject[this.language],i("duet-visually-hidden",null,", ",this.value.map((t=>t.label)).join(", "))),i("svg",{role:"img",class:{"duet-multiselect-icon":!0,"duet-multiselect-icon--rotate":this.checkboxesVisible},fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},i("path",{d:"m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z"}))),i("div",{id:`${this.identifier}-checkboxes`,role:"listbox",class:{"duet-multiselect-checkboxes":!0,"duet-multiselect-checkboxes-active":this.checkboxesVisible},"aria-activedescendant":this.activeDescendant,"aria-multiselectable":"true"},this.processedItems&&this.allControls&&i("div",{class:"duet-multiselect-all-control-buttons"},i("button",{class:"duet-multiselect-select-all",onClick:this.handleSelectAllClick,id:this.getOptionIdentifier(-2),onKeyDown:t=>this.onCheckboxKeyDown(t,-2)},this.selectAllLabel[this.language]),i("button",{class:"duet-multiselect-clear-all",onClick:this.handleClearAllClick,id:this.getOptionIdentifier(-1),onKeyDown:t=>this.onCheckboxKeyDown(t,-1)},this.clearAllLabel[this.language])),this.processedItems&&this.processedItems.map(((t,e)=>{var s,o;return i("duet-checkbox",{identifier:this.getOptionIdentifier(e),role:"option",label:t.label,value:t.value,key:t.value,checked:null===(s=this.value)||void 0===s?void 0:s.includes(t),"accessible-selected":(null===(o=this.value)||void 0===o?void 0:o.includes(t))?"true":void 0,disabled:!this.checkboxesVisible||t.disabled,onDuetChange:e=>this.toggleCheckbox(e,t),onKeyDown:t=>this.onCheckboxKeyDown(t,e),theme:this.theme})})))),i("span",{class:"duet-multiselect-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&i("span",null,this.error))))}get element(){return o(this)}static get watchers(){return{items:["refresh"]}}};v.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-multiselect-tooltip{position:absolute;top:12px;right:0}@media (min-width: 48em){.duet-multiselect-tooltip{position:relative;top:4px;right:auto}}.duet-multiselect-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-multiselect-container{position:relative;width:100%}.duet-multiselect-wrapper{position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva .duet-multiselect-wrapper{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-multiselect{display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;min-width:8rem;padding:12px 14px !important;overflow:hidden;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-multiselect:hover{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(116, 116, 117);box-shadow:0 0 0 1px #0077b3}.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #e55039}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-multiselect:focus,.duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:focus,.duet-theme-turva.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #e55039}.duet-multiselect[disabled]{color:rgb(0, 41, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-multiselect>:first-child{flex:1;min-height:24px}.duet-multiselect .duet-multiselect-badge{position:absolute;right:3rem}.has-error .duet-multiselect{border-color:rgb(222, 35, 98) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error .duet-multiselect{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(224, 42, 13) !important}.duet-theme-turva .duet-multiselect{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);border-color:rgb(116, 116, 117)}.duet-multiselect svg{width:20px;height:20px;color:rgb(0, 41, 77);pointer-events:none}.duet-theme-turva .duet-multiselect svg{color:rgb(23, 28, 58)}.duet-multiselect svg.duet-multiselect-icon--rotate{transform:rotate(180deg)}.duet-multiselect-checkboxes{position:absolute;z-index:700;width:100%;padding:16px;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-theme-turva .duet-multiselect-checkboxes{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230);box-shadow:0 4px 10px 0 rgba(23, 28, 58, 0.15)}.duet-multiselect-checkboxes.duet-multiselect-checkboxes-active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons{padding:8px 0;margin:-16px;margin-bottom:16px;border-bottom:1px solid rgb(225, 227, 230)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{padding:6px 16px;margin:-4px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;color:rgb(0, 119, 179);cursor:pointer;border-radius:4px}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons 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-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus,.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:first-child{border-right:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons 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)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(23, 28, 58)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(0, 41, 77)}.duet-multiselect-help{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-multiselect-help span{display:block;margin-top:8px}.duet-theme-turva .duet-multiselect-help{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(116, 116, 117)}.has-error .duet-multiselect-help{color:rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(224, 42, 13)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';export{v as duet_multiselect}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as e,h as o,H as n,g as r}from"./p-a313db30.js";import{i as u}from"./p-d48735b6.js";import{D as i}from"./p-dade978b.js";import{a as d,g as a,c as b,d as s}from"./p-4883df66.js";import{g as p}from"./p-0b31864f.js";import"./p-1a395a8d.js";import"./p-f1d51e20.js";const l=class{constructor(o){t(this,o),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.handleClick=t=>{!this.url&&this.element.closest("form")&&(t.preventDefault(),this.proxyButton.click())},this.onFocus=()=>{this.duetFocus.emit()},this.onBlur=()=>{this.duetBlur.emit()},this.accessibleLabel=void 0,this.accessibleControls=void 0,this.accessiblePopup="false",this.accessibleActiveDescendant=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleExpanded=void 0,this.accessiblePressed=void 0,this.loading=!1,this.variation="default",this.negative=!1,this.theme="",this.margin="auto",this.padding="auto",this.centerText=!1,this.wrapping="auto",this.expand=!1,this.fixed=!1,this.disabled=!1,this.name=void 0,this.value=void 0,this.identifier=void 0,this.submit=!1,this.external=!1,this.language=d(),this.accessibleLabelExternalDefaults=i,this.accessibleLabelExternal=a(this.accessibleLabelExternalDefaults),this.icon="",this.color="",this.iconRight=!1,this.iconSize="medium",this.size="medium",this.iconOnly=!1,this.url=void 0}componentWillLoad(){u(this),this.url&&this.external&&this.icon&&console.warn("[DUET]: Button used as an external link will override any icon that is set")}connectedCallback(){this.proxyButton=document.createElement("button"),this.proxyButton.style.display="none",this.syncToProxyButton(),b(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"}),!this.url&&this.element.closest("form")&&this.element.insertAdjacentElement("beforebegin",this.proxyButton)}disconnectedCallback(){this.proxyButton.remove(),this.proxyButton=null,s(this)}syncToProxyButton(){this.proxyButton.type=this.getButtonType(),this.proxyButton.disabled=this.disabled,null!=this.name?this.proxyButton.name=this.name:this.proxyButton.removeAttribute("name"),null!=this.value?this.proxyButton.value=this.value:this.proxyButton.removeAttribute("value")}getButtonType(){return this.submit?"submit":"button"}async setFocus(t){this.nativeButton&&this.nativeButton.focus(t)}render(){var t;const e=this.external&&this.url,r=e?"action-new-window":this.icon,u=!!e||this.iconRight,i=o("span",{class:"duet-button-contents",style:{color:p(this.color)}},r&&o("div",{"aria-hidden":"true",class:{"duet-button-icon":!0,left:!u,right:u,[this.iconSize]:!0}},o("duet-icon",{size:"auto",margin:"none",name:r,color:"currentColor"})),o("slot",null)),d={onFocus:this.onFocus,onBlur:this.onBlur,ref:t=>this.nativeButton=t,id:this.identifier,class:{"duet-m-0":"none"===this.margin,"duet-p-0":"none"===this.padding,"duet-no-wrap":"none"===this.wrapping,"duet-button":!0,"duet-button-is-small":"small"===this.size,"duet-button-icon-only":this.iconOnly,"duet-button-text-center":this.centerText,"duet-button-negative":this.negative||"negative"===this.variation,[this.variation]:!0,disabled:this.disabled,icon:!!r,"icon-right":u,[this.iconSize]:!0},"aria-controls":this.accessibleControls,"aria-label":this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription};return o(n,{onClick:this.handleClick,class:{"duet-m-0":"none"===this.margin,"duet-small":"small"===this.size,"duet-fixed":this.fixed,"duet-expand":this.expand,"input-button":null===(t=this.variation)||void 0===t?void 0:t.startsWith("input-button")}},o("div",{class:{"duet-button-container":!0,"duet-button-is-loading":this.loading,"duet-theme-turva":"turva"===this.theme,"duet-button-negative":this.negative||"negative"===this.variation,[this.variation]:!0}},this.url?o("a",Object.assign({},d,{href:this.url,target:this.external?"_blank":"_self",rel:this.external?"noopener":void 0}),i,this.external&&o("duet-visually-hidden",null,", ",this.accessibleLabelExternal)):o("button",Object.assign({},d,{type:this.getButtonType(),disabled:this.disabled,name:this.name,value:this.value,"aria-pressed":null!=this.accessiblePressed?this.accessiblePressed.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,"aria-disabled":this.disabled}),i),this.loading&&o("duet-spinner",{color:"currentColor"})))}get element(){return r(this)}static get watchers(){return{disabled:["syncToProxyButton"],submit:["syncToProxyButton"],value:["syncToProxyButton"],name:["syncToProxyButton"]}}};l.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;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:20rem;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}.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;border-radius:8px}.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}';const h=class{constructor(e){t(this,e),this.accessibleLabel=void 0,this.color="gray-lightest",this.size="small",this.theme=""}componentWillLoad(){u(this)}render(){const t="currentColor"===this.color?"currentColor":p(this.color);return o(n,{class:{"duet-custom-color":"currentColor"!==this.color&&"turva"!==this.theme&&"default"!==this.theme,"duet-theme-turva":"turva"===this.theme&&"currentColor"!==this.color,"duet-theme-default":"default"===this.theme&&"currentColor"!==this.color}},o("div",{class:{"duet-spinner":!0,[this.size]:!0},style:{color:t},"aria-label":this.accessibleLabel}))}};h.style=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;top:50%;left:50%;z-index:800;max-width:100%}:host(.duet-theme-default) .duet-spinner{color:rgb(0, 119, 179) !important}:host(.duet-theme-turva) .duet-spinner{color:rgb(198, 12, 48) !important}:host(.duet-custom-color){color:inherit}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-spinner{-webkit-user-select:none;user-select:none;position:absolute;top:50%;left:50%;z-index:800;width:24px;height:24px;color:rgb(0, 119, 179);border:2px solid transparent;border-left:2px solid currentColor;border-radius:50%;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%;animation:duetRotate 0.6s linear infinite}.duet-spinner::after{position:absolute;top:50%;left:50%;z-index:200;box-sizing:content-box;width:100%;height:100%;overflow:hidden;content:"";border:2px solid currentColor;border-radius:50%;opacity:0.3;transform:translateZ(0) translateX(-50%) translateY(-50%);transform-origin:0% 0%}.duet-spinner.medium{width:36px;height:36px;border-width:4px}.duet-spinner.medium::after{border-width:4px}.duet-spinner.large{width:72px;height:72px;border-width:8px}.duet-spinner.large::after{border-width:8px}@keyframes duetRotate{0%{transform:translateZ(0) rotate(0deg) translateX(-50%) translateY(-50%)}100%{transform:translateZ(0) rotate(360deg) translateX(-50%) translateY(-50%)}}';export{l as duet_button,h as duet_spinner}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-9ad4c219.system.js","./p-77b6e4ba.system.js","./p-719b38fe.system.js","./p-9d033a04.system.js"],(function(t){"use strict";var e,a,n,i,r,o;return{setters:[function(t){e=t.r;a=t.h;n=t.H;i=t.g},function(t){r=t.i},function(t){o=t.g},function(){}],execute:function(){var s='*,*::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:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-banner{display:grid;width:100%;height:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}.duet-banner.auto{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.auto .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.auto .visual .image-container{top:-130px;left:-40px}.duet-banner.auto .visual .icon{bottom:30px;left:15px}@media (min-width: 62em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{top:-30px;left:-30px}.duet-banner.auto .visual .image{top:-15px;left:30px}.duet-banner.auto .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}.duet-banner.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}.duet-banner.duet-theme-turva.auto .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:15px}@media (min-width: 62em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:auto;left:295px}}';var l=t("duet_banner",function(){function t(t){e(this,t);this.theme="";this.margin="auto";this.backgroundColor="primary-lighter";this.iconColor="gray-lightest";this.iconBackgroundColor="primary";this.textColor="secondary";this.size="auto";this.image="";this.icon="";this.headingLevel="h2"}t.prototype.componentWillLoad=function(){r(this);this.hasHeadingSlot=!!this.element.querySelector('[slot="heading"]');this.hasDescriptionSlot=!!this.element.querySelector('[slot="description"]');this.hasActionSlot=!!this.element.querySelector('[slot="action"]')};t.prototype.render=function(){var t;var e=this.theme==="turva"&&this.backgroundColor==="primary-lighter"?"gray-light":this.backgroundColor;var i=o(e,this.theme);var r={backgroundColor:i};return a(n,{class:{"duet-m-0":this.margin==="none"}},a("aside",{class:(t={"duet-banner":true,"duet-theme-turva":this.theme==="turva"},t[this.size]=true,t),style:r},a("div",{class:"visual"},a("div",{class:"image-container"},a("img",{class:"image",src:this.image,alt:"",role:"presentation"})),this.icon&&a("duet-icon",{theme:this.theme,class:"icon",name:this.icon,shape:"brand",size:"xx-large",color:this.iconColor,background:this.iconBackgroundColor,"background-rotation":"7","background-opacity":"0.85",margin:"none"})),a("div",{class:"content"},this.hasHeadingSlot&&a("div",{class:"heading"},a("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h2",margin:"none",color:this.textColor},a("slot",{name:"heading"}))),this.hasDescriptionSlot&&a("div",{class:"description"},a("duet-paragraph",{theme:this.theme,margin:"none",color:this.textColor},a("slot",{name:"description"}))),this.hasActionSlot&&a("div",{class:"action"},a("slot",{name:"action"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());l.style=s}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as t,H as a,g as r}from"./p-a313db30.js";import{i}from"./p-d48735b6.js";import{a as s,c as n,d as o,g as d}from"./p-4883df66.js";import"./p-1a395a8d.js";const l=class{constructor(t){e(this,t),this.currentCrumb={fi:"disabled. Nykyinen sivu",sv:"disabled. Visa mer",en:"disabled. Nuvarande sida"},this.theme="",this.language=s(),this.href="",this.icon="",this.accessibleLabel=void 0}componentWillLoad(){i(this)}connectedCallback(){n(this)}disconnectedCallback(){o(this)}render(){var e;return t(a,{role:"listitem"},t("div",{class:"container"},!this.icon&&t("duet-icon",{class:"duet-breadrumbs-arrow",size:"auto",icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>',margin:"none",color:"currentColor"}),t("a",{class:{"duet-breadcrumb":!0,"duet-theme-turva":"turva"===this.theme},href:this.href?this.href:void 0,"aria-label":`${this.href?"":`${d(this.currentCrumb)} `}${null!==(e=this.accessibleLabel)&&void 0!==e?e:this.element.innerHTML}`,role:"link"},this.icon&&t("duet-icon",{size:"x-small",name:this.icon,margin:"none",color:"currentColor"}),!this.icon&&t("slot",null))))}get element(){return r(this)}};l.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:list-item;width:auto}.container{display:flex;gap:8px;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";export{l as duet_breadcrumb}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-9ad4c219.system.js","./p-77b6e4ba.system.js","./p-8972381a.system.js","./p-b99c00fa.system.js"],(function(e){"use strict";var t,n,i,r,a,s,o,u,c;return{setters:[function(e){t=e.r;n=e.h;i=e.H;r=e.g},function(e){a=e.i},function(e){s=e.a;o=e.c;u=e.d;c=e.g},function(){}],execute:function(){var d={title:"action-arrow-right-small",tags:"action arrow right small caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>'};var l="*,*::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:list-item;width:auto}.container{display:flex;gap:8px;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";var b=e("duet_breadcrumb",function(){function e(e){t(this,e);this.currentCrumb={fi:"disabled. Nykyinen sivu",sv:"disabled. Visa mer",en:"disabled. Nuvarande sida"};this.theme="";this.language=s();this.href="";this.icon="";this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){a(this)};e.prototype.connectedCallback=function(){o(this)};e.prototype.disconnectedCallback=function(){u(this)};e.prototype.render=function(){var e;return n(i,{role:"listitem"},n("div",{class:"container"},!this.icon&&n("duet-icon",{class:"duet-breadrumbs-arrow",size:"auto",icon:d.svg,margin:"none",color:"currentColor"}),n("a",{class:{"duet-breadcrumb":true,"duet-theme-turva":this.theme==="turva"},href:this.href?this.href:undefined,"aria-label":"".concat(!this.href?"".concat(c(this.currentCrumb)," "):"").concat((e=this.accessibleLabel)!==null&&e!==void 0?e:this.element.innerHTML),role:"link"},this.icon&&n("duet-icon",{size:"x-small",name:this.icon,margin:"none",color:"currentColor"}),!this.icon&&n("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());b.style=l}}}));