@duetds/components 10.0.0-alpha.3 → 10.0.0-alpha.30

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 (1231) hide show
  1. package/hydrate/index.d.ts +38 -7
  2. package/hydrate/index.js +11784 -4278
  3. package/hydrate/index.mjs +46035 -0
  4. package/lib/cjs/_commonjsHelpers-4N64IRaP.js +10 -0
  5. package/lib/cjs/{a11y-utils-8177cf00.js → a11y-utils-D2e4DE4A.js} +1 -1
  6. package/lib/cjs/action-arrow-down-small-CDsSJFvZ.js +21 -0
  7. package/lib/cjs/action-new-window-small-BWlVx6YN.js +21 -0
  8. package/lib/cjs/{app-globals-718a3704.js → app-globals-P2FPiN9v.js} +2 -2
  9. package/lib/cjs/{common-strings-2984301e.js → common-strings-CSqtNIxt.js} +29 -0
  10. package/lib/cjs/duet-action-button.cjs.entry.js +84 -29
  11. package/lib/cjs/duet-alert.cjs.entry.js +102 -48
  12. package/lib/cjs/duet-badge.cjs.entry.js +31 -9
  13. package/lib/cjs/duet-banner.cjs.entry.js +64 -27
  14. package/lib/cjs/duet-breadcrumb.cjs.entry.js +37 -26
  15. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +20 -14
  16. package/lib/cjs/duet-button_2.cjs.entry.js +162 -68
  17. package/lib/cjs/duet-callout.cjs.entry.js +13 -10
  18. package/lib/cjs/duet-caption_4.cjs.entry.js +211 -75
  19. package/lib/cjs/duet-card.cjs.entry.js +95 -34
  20. package/lib/cjs/duet-checkbox.cjs.entry.js +68 -32
  21. package/lib/cjs/duet-checkmark.cjs.entry.js +21 -9
  22. package/lib/cjs/duet-chip.cjs.entry.js +356 -0
  23. package/lib/cjs/duet-choice_2.cjs.entry.js +276 -128
  24. package/lib/cjs/duet-collapsible.cjs.entry.js +94 -29
  25. package/lib/cjs/duet-combobox.cjs.entry.js +85 -48
  26. package/lib/cjs/duet-contact-card.cjs.entry.js +17 -18
  27. package/lib/cjs/duet-cookie-consent.cjs.entry.js +14 -11
  28. package/lib/cjs/duet-date-picker.cjs.entry.js +163 -57
  29. package/lib/cjs/duet-divider_2.cjs.entry.js +30 -14
  30. package/lib/cjs/duet-editable-table_3.cjs.entry.js +553 -210
  31. package/lib/cjs/duet-empty-state.cjs.entry.js +15 -9
  32. package/lib/cjs/duet-fieldset.cjs.entry.js +51 -18
  33. package/lib/cjs/duet-file-chooser.cjs.entry.js +18 -11
  34. package/lib/cjs/duet-footer.cjs.entry.js +56 -30
  35. package/lib/cjs/duet-grid_2.cjs.entry.js +164 -64
  36. package/lib/cjs/duet-header_2.cjs.entry.js +302 -91
  37. package/lib/cjs/duet-hero.cjs.entry.js +149 -32
  38. package/lib/cjs/duet-icon.cjs.entry.js +64 -20
  39. package/lib/cjs/duet-indicator.cjs.entry.js +53 -0
  40. package/lib/cjs/duet-input_2.cjs.entry.js +204 -86
  41. package/lib/cjs/duet-layout.cjs.entry.js +33 -13
  42. package/lib/cjs/duet-list_2.cjs.entry.js +58 -14
  43. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +24 -16
  44. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +19 -14
  45. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +21 -16
  46. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +40 -19
  47. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +18 -10
  48. package/lib/cjs/duet-menu-bar.cjs.entry.js +37 -58
  49. package/lib/cjs/duet-modal.cjs.entry.js +122 -35
  50. package/lib/cjs/duet-multiselect.cjs.entry.js +88 -42
  51. package/lib/cjs/duet-nav.cjs.entry.js +12 -8
  52. package/lib/cjs/duet-notification_2.cjs.entry.js +91 -32
  53. package/lib/cjs/duet-number-input.cjs.entry.js +185 -70
  54. package/lib/cjs/duet-overlay.cjs.entry.js +36 -14
  55. package/lib/cjs/duet-page-heading.cjs.entry.js +16 -11
  56. package/lib/cjs/duet-pagination_2.cjs.entry.js +162 -87
  57. package/lib/cjs/duet-panel.cjs.entry.js +53 -0
  58. package/lib/cjs/duet-phone-input.cjs.entry.js +2072 -0
  59. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +552 -0
  60. package/lib/cjs/duet-progress.cjs.entry.js +32 -13
  61. package/lib/cjs/duet-promo-card.cjs.entry.js +27 -13
  62. package/lib/cjs/duet-radio_2.cjs.entry.js +114 -55
  63. package/lib/cjs/duet-range-slider.cjs.entry.js +73 -37
  64. package/lib/cjs/duet-scrollable_3.cjs.entry.js +269 -130
  65. package/lib/cjs/duet-section-layout.cjs.entry.js +17 -10
  66. package/lib/cjs/duet-select.cjs.entry.js +89 -43
  67. package/lib/cjs/duet-shaped-image.cjs.entry.js +16 -11
  68. package/lib/cjs/duet-share-chart-item.cjs.entry.js +22 -0
  69. package/lib/cjs/duet-share-chart.cjs.entry.js +85 -0
  70. package/lib/cjs/duet-show-more.cjs.entry.js +81 -38
  71. package/lib/cjs/duet-slideout-lang.cjs.entry.js +10 -10
  72. package/lib/cjs/duet-slideout-link.cjs.entry.js +61 -10
  73. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +25 -14
  74. package/lib/cjs/duet-slideout-panel.cjs.entry.js +50 -36
  75. package/lib/cjs/duet-slideout.cjs.entry.js +110 -60
  76. package/lib/cjs/duet-status-icon.cjs.entry.js +99 -0
  77. package/lib/cjs/duet-step_2.cjs.entry.js +72 -24
  78. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +25 -10
  79. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +27 -18
  80. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +40 -19
  81. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +18 -9
  82. package/lib/cjs/duet-submenu-bar.cjs.entry.js +27 -21
  83. package/lib/cjs/duet-textarea.cjs.entry.js +109 -50
  84. package/lib/cjs/duet-toggle.cjs.entry.js +50 -29
  85. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +22 -11
  86. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +27 -16
  87. package/lib/cjs/duet-toolbar-item.cjs.entry.js +46 -19
  88. package/lib/cjs/duet-toolbar-link.cjs.entry.js +21 -10
  89. package/lib/cjs/duet-toolbar.cjs.entry.js +12 -10
  90. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +24 -27
  91. package/lib/cjs/duet-tooltip.cjs.entry.js +98 -46
  92. package/lib/cjs/duet-tray.cjs.entry.js +63 -24
  93. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +30 -11
  94. package/lib/cjs/duet-upload-item.cjs.entry.js +12 -22
  95. package/lib/cjs/duet-visually-hidden.cjs.entry.js +4 -7
  96. package/lib/cjs/duet.cjs.js +8 -8
  97. package/lib/cjs/{errorcodes.utils-4e8a9de4.js → errorcodes.utils-B_Hqvx-5.js} +2 -2
  98. package/lib/cjs/floating-ui.dom.browser.min-Cj0r5YDz.js +709 -0
  99. package/lib/cjs/{focus-utils-2a0030aa.js → focus-utils-B7QfRXd-.js} +1 -1
  100. package/lib/cjs/form-search-CzPfHB80.js +21 -0
  101. package/lib/cjs/index-B1t_Yumd.js +3107 -0
  102. package/lib/cjs/{keyboard-utils-681e11ec.js → keyboard-utils-D9UlHbik.js} +4 -0
  103. package/lib/cjs/{label-2abeac23.js → label-e--2ISFA.js} +1 -1
  104. package/lib/cjs/{language-utils-b5940c7b.js → language-utils-Ce6b_uA3.js} +10 -2
  105. package/lib/cjs/loader.cjs.js +3 -5
  106. package/lib/cjs/{slot-utils-382633cf.js → slot-utils-C8k-6Rvc.js} +6 -1
  107. package/lib/cjs/{teleport-c6f8391a.js → teleport-D5NDbuu0.js} +22 -7
  108. package/lib/cjs/themeable-component-DmPMm0Cz.js +74 -0
  109. package/lib/cjs/{token-utils-5000595c.js → token-utils-COKjUxmn.js} +80 -9
  110. package/lib/cjs/{tokens-57e06fe4.js → tokens-9aevMbB1.js} +150 -8
  111. package/lib/cjs/{tokens.module-7c947029.js → tokens.module-Bhh9B2g8.js} +99 -3
  112. package/lib/cjs/{watch-options-30a12622.js → watch-options-D4JNsU3B.js} +0 -20
  113. package/lib/collection/collection-manifest.json +7 -1
  114. package/lib/collection/common/themeable-component.js +61 -3
  115. package/lib/collection/common-strings.js +27 -0
  116. package/lib/collection/components/duet-action-button/duet-action-button.css +29 -12
  117. package/lib/collection/components/duet-action-button/duet-action-button.js +92 -33
  118. package/lib/collection/components/duet-alert/duet-alert.css +88 -59
  119. package/lib/collection/components/duet-alert/duet-alert.js +141 -57
  120. package/lib/collection/components/duet-badge/duet-badge.css +21 -9
  121. package/lib/collection/components/duet-badge/duet-badge.js +30 -6
  122. package/lib/collection/components/duet-banner/duet-banner.css +30 -24
  123. package/lib/collection/components/duet-banner/duet-banner.js +68 -28
  124. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +10 -8
  125. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +26 -28
  126. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +18 -7
  127. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +15 -6
  128. package/lib/collection/components/duet-button/duet-button.css +149 -48
  129. package/lib/collection/components/duet-button/duet-button.js +175 -91
  130. package/lib/collection/components/duet-callout/duet-callout.css +7 -2
  131. package/lib/collection/components/duet-callout/duet-callout.js +10 -4
  132. package/lib/collection/components/duet-caption/duet-caption.css +7 -3
  133. package/lib/collection/components/duet-caption/duet-caption.js +18 -6
  134. package/lib/collection/components/duet-card/duet-card.css +45 -16
  135. package/lib/collection/components/duet-card/duet-card.js +115 -37
  136. package/lib/collection/components/duet-checkbox/duet-checkbox.css +26 -8
  137. package/lib/collection/components/duet-checkbox/duet-checkbox.js +86 -47
  138. package/lib/collection/components/duet-chip/duet-chip.css +63 -25
  139. package/lib/collection/components/duet-chip/duet-chip.js +70 -36
  140. package/lib/collection/components/duet-choice/duet-checkmark.css +4 -0
  141. package/lib/collection/components/duet-choice/duet-checkmark.js +22 -7
  142. package/lib/collection/components/duet-choice/duet-choice.css +90 -38
  143. package/lib/collection/components/duet-choice/duet-choice.js +228 -133
  144. package/lib/collection/components/duet-choice-group/duet-choice-group.css +4 -4
  145. package/lib/collection/components/duet-choice-group/duet-choice-group.js +108 -47
  146. package/lib/collection/components/duet-collapsible/duet-collapsible.css +49 -13
  147. package/lib/collection/components/duet-collapsible/duet-collapsible.js +116 -28
  148. package/lib/collection/components/duet-combobox/duet-combobox.css +9 -2
  149. package/lib/collection/components/duet-combobox/duet-combobox.js +88 -46
  150. package/lib/collection/components/duet-contact-card/duet-contact-card.css +8 -4
  151. package/lib/collection/components/duet-contact-card/duet-contact-card.js +21 -19
  152. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +23 -14
  153. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +11 -5
  154. package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
  155. package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
  156. package/lib/collection/components/duet-date-picker/duet-date-picker.css +99 -46
  157. package/lib/collection/components/duet-date-picker/duet-date-picker.js +177 -69
  158. package/lib/collection/components/duet-divider/duet-divider.css +12 -6
  159. package/lib/collection/components/duet-divider/duet-divider.js +14 -4
  160. package/lib/collection/components/duet-editable-table/duet-editable-table.css +2 -2
  161. package/lib/collection/components/duet-editable-table/duet-editable-table.js +83 -26
  162. package/lib/collection/components/duet-empty-state/duet-empty-state.css +11 -6
  163. package/lib/collection/components/duet-empty-state/duet-empty-state.js +14 -5
  164. package/lib/collection/components/duet-fieldset/duet-fieldset.css +13 -6
  165. package/lib/collection/components/duet-fieldset/duet-fieldset.js +58 -20
  166. package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +2 -2
  167. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +17 -7
  168. package/lib/collection/components/duet-footer/duet-footer.css +43 -14
  169. package/lib/collection/components/duet-footer/duet-footer.js +55 -27
  170. package/lib/collection/components/duet-grid/duet-grid.css +2 -6
  171. package/lib/collection/components/duet-grid/duet-grid.js +144 -68
  172. package/lib/collection/components/duet-grid-item/duet-grid-item.css +6 -2
  173. package/lib/collection/components/duet-grid-item/duet-grid-item.js +40 -13
  174. package/lib/collection/components/duet-header/duet-header.css +165 -65
  175. package/lib/collection/components/duet-header/duet-header.js +165 -76
  176. package/lib/collection/components/duet-heading/duet-heading.css +11 -5
  177. package/lib/collection/components/duet-heading/duet-heading.js +56 -12
  178. package/lib/collection/components/duet-hero/duet-hero.css +326 -18
  179. package/lib/collection/components/duet-hero/duet-hero.js +170 -53
  180. package/lib/collection/components/duet-icon/duet-icon.css +17 -5
  181. package/lib/collection/components/duet-icon/duet-icon.js +71 -24
  182. package/lib/collection/components/duet-indicator/duet-indicator.css +46 -0
  183. package/lib/collection/components/duet-indicator/duet-indicator.js +104 -0
  184. package/lib/collection/components/duet-input/duet-input.css +155 -53
  185. package/lib/collection/components/duet-input/duet-input.js +241 -138
  186. package/lib/collection/components/duet-label/duet-label.css +8 -4
  187. package/lib/collection/components/duet-label/duet-label.js +23 -8
  188. package/lib/collection/components/duet-layout/duet-layout.css +4 -7
  189. package/lib/collection/components/duet-layout/duet-layout.js +35 -12
  190. package/lib/collection/components/duet-link/duet-link.css +166 -22
  191. package/lib/collection/components/duet-link/duet-link.js +121 -70
  192. package/lib/collection/components/duet-list/duet-list.css +4 -4
  193. package/lib/collection/components/duet-list/duet-list.js +38 -9
  194. package/lib/collection/components/duet-list-item/duet-list-item.css +25 -5
  195. package/lib/collection/components/duet-list-item/duet-list-item.js +50 -4
  196. package/lib/collection/components/duet-logo/duet-logo.css +33 -8
  197. package/lib/collection/components/duet-logo/duet-logo.js +111 -11
  198. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +110 -8
  199. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +59 -57
  200. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +17 -8
  201. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +33 -22
  202. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +28 -12
  203. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +20 -12
  204. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +19 -9
  205. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +18 -10
  206. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +28 -10
  207. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +39 -16
  208. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +25 -10
  209. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +19 -8
  210. package/lib/collection/components/duet-modal/duet-modal.css +23 -25
  211. package/lib/collection/components/duet-modal/duet-modal.js +193 -39
  212. package/lib/collection/components/duet-multiselect/duet-multiselect.css +67 -29
  213. package/lib/collection/components/duet-multiselect/duet-multiselect.js +98 -48
  214. package/lib/collection/components/duet-nav/duet-nav.css +8 -4
  215. package/lib/collection/components/duet-nav/duet-nav.js +10 -3
  216. package/lib/collection/components/duet-notification/duet-notification.css +33 -26
  217. package/lib/collection/components/duet-notification/duet-notification.js +39 -9
  218. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +38 -36
  219. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +57 -24
  220. package/lib/collection/components/duet-number-input/duet-number-input.css +26 -14
  221. package/lib/collection/components/duet-number-input/duet-number-input.js +190 -95
  222. package/lib/collection/components/duet-overlay/duet-overlay.css +5 -1
  223. package/lib/collection/components/duet-overlay/duet-overlay.js +40 -15
  224. package/lib/collection/components/duet-page-heading/duet-page-heading.css +44 -16
  225. package/lib/collection/components/duet-page-heading/duet-page-heading.js +17 -9
  226. package/lib/collection/components/duet-pagination/duet-pagination.css +8 -4
  227. package/lib/collection/components/duet-pagination/duet-pagination.js +130 -76
  228. package/lib/collection/components/duet-panel/duet-panel.css +98 -0
  229. package/lib/collection/components/duet-panel/duet-panel.js +234 -0
  230. package/lib/collection/components/duet-paragraph/duet-paragraph.css +19 -6
  231. package/lib/collection/components/duet-paragraph/duet-paragraph.js +29 -8
  232. package/lib/collection/components/duet-phone-input/duet-phone-input.css +61 -0
  233. package/lib/collection/components/duet-phone-input/duet-phone-input.js +930 -0
  234. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +14 -6
  235. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +235 -76
  236. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +30 -12
  237. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +64 -29
  238. package/lib/collection/components/duet-progress/duet-progress.css +27 -8
  239. package/lib/collection/components/duet-progress/duet-progress.js +36 -14
  240. package/lib/collection/components/duet-promo-card/duet-promo-card.css +15 -12
  241. package/lib/collection/components/duet-promo-card/duet-promo-card.js +28 -11
  242. package/lib/collection/components/duet-radio/duet-radio.css +35 -8
  243. package/lib/collection/components/duet-radio/duet-radio.js +67 -49
  244. package/lib/collection/components/duet-radio-group/duet-radio-group.css +4 -4
  245. package/lib/collection/components/duet-radio-group/duet-radio-group.js +78 -30
  246. package/lib/collection/components/duet-range-slider/duet-range-slider.css +60 -18
  247. package/lib/collection/components/duet-range-slider/duet-range-slider.js +85 -46
  248. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +8 -4
  249. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +43 -14
  250. package/lib/collection/components/duet-scrollable/duet-scrollable.css +84 -47
  251. package/lib/collection/components/duet-scrollable/duet-scrollable.js +160 -43
  252. package/lib/collection/components/duet-section-layout/duet-section-layout.css +4 -7
  253. package/lib/collection/components/duet-section-layout/duet-section-layout.js +16 -6
  254. package/lib/collection/components/duet-select/duet-select.css +51 -23
  255. package/lib/collection/components/duet-select/duet-select.js +109 -60
  256. package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +6 -6
  257. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +17 -9
  258. package/lib/collection/components/duet-share-chart/duet-share-chart.css +82 -0
  259. package/lib/collection/components/duet-share-chart/duet-share-chart.js +141 -0
  260. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +67 -0
  261. package/lib/collection/components/duet-show-more/duet-show-more.css +15 -8
  262. package/lib/collection/components/duet-show-more/duet-show-more.js +87 -37
  263. package/lib/collection/components/duet-slideout/duet-slideout.css +68 -33
  264. package/lib/collection/components/duet-slideout/duet-slideout.js +109 -54
  265. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +10 -6
  266. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +5 -2
  267. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +41 -13
  268. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +135 -12
  269. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +63 -40
  270. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +47 -30
  271. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +29 -16
  272. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +25 -11
  273. package/lib/collection/components/duet-spacer/duet-spacer.css +2 -2
  274. package/lib/collection/components/duet-spacer/duet-spacer.js +14 -4
  275. package/lib/collection/components/duet-spinner/duet-spinner.css +7 -4
  276. package/lib/collection/components/duet-spinner/duet-spinner.js +21 -10
  277. package/lib/collection/components/duet-status-icon/duet-status-icon.js +197 -0
  278. package/lib/collection/components/duet-step/duet-step.css +28 -13
  279. package/lib/collection/components/duet-step/duet-step.js +25 -16
  280. package/lib/collection/components/duet-stepper/duet-stepper.css +4 -4
  281. package/lib/collection/components/duet-stepper/duet-stepper.js +45 -10
  282. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +34 -16
  283. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +25 -16
  284. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +49 -15
  285. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +25 -13
  286. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +29 -8
  287. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +26 -8
  288. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +33 -10
  289. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +38 -15
  290. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +34 -9
  291. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +17 -5
  292. package/lib/collection/components/duet-tab/duet-tab.css +15 -11
  293. package/lib/collection/components/duet-tab/duet-tab.js +88 -24
  294. package/lib/collection/components/duet-tab-group/duet-tab-group.css +232 -129
  295. package/lib/collection/components/duet-tab-group/duet-tab-group.js +228 -83
  296. package/lib/collection/components/duet-table/duet-table-styles.js +68 -4
  297. package/lib/collection/components/duet-table/duet-table.js +42 -13
  298. package/lib/collection/components/duet-textarea/duet-textarea.css +61 -22
  299. package/lib/collection/components/duet-textarea/duet-textarea.js +159 -74
  300. package/lib/collection/components/duet-toggle/duet-toggle.css +23 -10
  301. package/lib/collection/components/duet-toggle/duet-toggle.js +62 -38
  302. package/lib/collection/components/duet-toolbar/duet-toolbar.css +11 -4
  303. package/lib/collection/components/duet-toolbar/duet-toolbar.js +11 -6
  304. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +36 -12
  305. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +28 -14
  306. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +21 -8
  307. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +23 -9
  308. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +52 -30
  309. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +48 -19
  310. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +42 -10
  311. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +23 -9
  312. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +24 -14
  313. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +9 -11
  314. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +48 -16
  315. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +18 -14
  316. package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -4
  317. package/lib/collection/components/duet-tooltip/duet-tooltip.js +100 -45
  318. package/lib/collection/components/duet-tray/duet-tray.css +43 -27
  319. package/lib/collection/components/duet-tray/duet-tray.js +63 -21
  320. package/lib/collection/components/duet-upload/duet-upload.css +6 -6
  321. package/lib/collection/components/duet-upload/duet-upload.js +419 -213
  322. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +35 -13
  323. package/lib/collection/components/duet-upload-item/duet-upload-item.js +17 -18
  324. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.css +3 -3
  325. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  326. package/lib/collection/data/countries.js +1762 -0
  327. package/lib/collection/index.js +1 -0
  328. package/lib/collection/utils/keyboard-utils.js +3 -0
  329. package/lib/collection/utils/language-utils.js +7 -0
  330. package/lib/collection/utils/slot-utils.js +4 -0
  331. package/lib/collection/utils/teleport.js +22 -7
  332. package/lib/collection/utils/test-utils.js +2 -2
  333. package/lib/collection/utils/token-utils.js +59 -7
  334. package/lib/collection/utils/turva2-color-tokens.js +42 -0
  335. package/lib/duet/duet.esm.js +1 -1
  336. package/lib/duet/p-05b44a92.entry.js +4 -0
  337. package/lib/duet/p-0c4bde0e.entry.js +4 -0
  338. package/lib/duet/p-0cf754a3.entry.js +4 -0
  339. package/lib/duet/p-11303551.entry.js +4 -0
  340. package/lib/duet/p-11dc2ca3.entry.js +4 -0
  341. package/lib/duet/p-14b9af85.entry.js +4 -0
  342. package/lib/duet/p-17b2fad7.entry.js +4 -0
  343. package/lib/duet/p-19c8adaa.entry.js +4 -0
  344. package/lib/duet/p-1UeoYjt6.js +4 -0
  345. package/lib/duet/p-25bfc839.entry.js +4 -0
  346. package/lib/duet/p-2690a420.entry.js +4 -0
  347. package/lib/duet/p-2f0a1808.entry.js +4 -0
  348. package/lib/duet/p-2f34aa4c.entry.js +4 -0
  349. package/lib/duet/p-37bdc3b9.entry.js +4 -0
  350. package/lib/duet/p-39e7cc4b.entry.js +4 -0
  351. package/lib/duet/p-3c5f5035.entry.js +4 -0
  352. package/lib/duet/p-3e08bd06.entry.js +4 -0
  353. package/lib/duet/p-3f932150.entry.js +4 -0
  354. package/lib/duet/p-414f4b06.entry.js +4 -0
  355. package/lib/duet/p-4457a9cc.entry.js +4 -0
  356. package/lib/duet/p-450983a5.entry.js +4 -0
  357. package/lib/duet/p-492d90a6.entry.js +4 -0
  358. package/lib/duet/p-4a743428.entry.js +4 -0
  359. package/lib/duet/p-4b4d9bdc.entry.js +4 -0
  360. package/lib/duet/p-4d4f7a6e.entry.js +4 -0
  361. package/lib/duet/p-4efa7172.entry.js +4 -0
  362. package/lib/duet/p-513683f8.entry.js +4 -0
  363. package/lib/duet/p-51e85e15.entry.js +4 -0
  364. package/lib/duet/{p-6be341c4.entry.js → p-52bb0826.entry.js} +1 -1
  365. package/lib/duet/p-52e64670.entry.js +4 -0
  366. package/lib/duet/p-52f52f3f.entry.js +4 -0
  367. package/lib/duet/p-559a54d1.entry.js +4 -0
  368. package/lib/duet/p-56331c29.entry.js +4 -0
  369. package/lib/duet/p-5c4687b0.entry.js +4 -0
  370. package/lib/duet/p-5f2507ee.entry.js +4 -0
  371. package/lib/duet/p-5iZMFvpJ.js +4 -0
  372. package/lib/duet/p-625bf656.entry.js +4 -0
  373. package/lib/duet/p-638d143f.entry.js +4 -0
  374. package/lib/duet/p-63d75040.entry.js +4 -0
  375. package/lib/duet/p-64482bf0.entry.js +4 -0
  376. package/lib/duet/p-64db9820.entry.js +4 -0
  377. package/lib/duet/p-653a4f52.entry.js +4 -0
  378. package/lib/duet/p-67cbf570.entry.js +4 -0
  379. package/lib/duet/p-6d0a6cef.entry.js +4 -0
  380. package/lib/duet/p-7ab7b977.entry.js +4 -0
  381. package/lib/duet/p-7d8ba1c8.entry.js +4 -0
  382. package/lib/duet/p-80157aab.entry.js +4 -0
  383. package/lib/duet/p-81fdf21e.entry.js +4 -0
  384. package/lib/duet/p-835532a3.entry.js +4 -0
  385. package/lib/duet/p-87d63c67.entry.js +4 -0
  386. package/lib/duet/p-88b2a4ab.entry.js +4 -0
  387. package/lib/duet/p-89119c58.entry.js +4 -0
  388. package/lib/duet/p-8a22e0f7.entry.js +4 -0
  389. package/lib/duet/p-9278d908.entry.js +4 -0
  390. package/lib/duet/p-93d1d4cb.entry.js +4 -0
  391. package/lib/duet/p-963f5510.entry.js +4 -0
  392. package/lib/duet/p-9bdedc1c.entry.js +4 -0
  393. package/lib/duet/p-9c452a9d.entry.js +4 -0
  394. package/lib/duet/p-9fd3fbde.entry.js +4 -0
  395. package/lib/duet/p-9fe9aaec.entry.js +4 -0
  396. package/lib/duet/p-9ff0f670.entry.js +4 -0
  397. package/lib/duet/p-BVgBUIYF.js +4 -0
  398. package/lib/duet/p-BW-c05c3.js +4 -0
  399. package/lib/duet/p-BWvtXbhA.js +4 -0
  400. package/lib/duet/{p-81287261.js → p-B_NkY9T0.js} +1 -1
  401. package/lib/duet/p-Bh9dkusU.js +4 -0
  402. package/lib/duet/p-BmMFVM-y.js +4 -0
  403. package/lib/duet/p-Bt_DCuTi.js +4 -0
  404. package/lib/duet/p-CZ7vOBA_.js +4 -0
  405. package/lib/duet/p-CcCc0HYj.js +4 -0
  406. package/lib/duet/p-CjRTMlgs.js +5 -0
  407. package/lib/duet/p-CooAqTCj.js +4 -0
  408. package/lib/duet/p-Db8rvjPI.js +4 -0
  409. package/lib/duet/p-DcQPCCbT.js +4 -0
  410. package/lib/duet/p-Df3Doz7n.js +4 -0
  411. package/lib/duet/{p-8c9eb171.js → p-DmZj36y3.js} +1 -1
  412. package/lib/duet/p-DvwKrUS6.js +4 -0
  413. package/lib/duet/p-DzEPksgg.js +4 -0
  414. package/lib/duet/p-a22b9c52.entry.js +4 -0
  415. package/lib/duet/p-a39af7a5.entry.js +4 -0
  416. package/lib/{esm-es5/duet-grid_2.entry.js → duet/p-a49e7633.entry.js} +2 -2
  417. package/lib/duet/p-a5ebee52.entry.js +4 -0
  418. package/lib/duet/p-ac7bf279.entry.js +4 -0
  419. package/lib/duet/p-ae22406a.entry.js +4 -0
  420. package/lib/duet/p-b17749b1.entry.js +4 -0
  421. package/lib/duet/p-b8e1621d.entry.js +4 -0
  422. package/lib/duet/p-ba0fc0f3.entry.js +4 -0
  423. package/lib/duet/p-bba12747.entry.js +4 -0
  424. package/lib/duet/p-bf4c10ea.entry.js +4 -0
  425. package/lib/duet/p-c2afba51.entry.js +4 -0
  426. package/lib/duet/p-c74cd476.entry.js +4 -0
  427. package/lib/duet/p-c8c7616a.entry.js +4 -0
  428. package/lib/duet/p-ca8ad275.entry.js +4 -0
  429. package/lib/duet/p-cf054af5.entry.js +4 -0
  430. package/lib/duet/p-d27678ec.entry.js +4 -0
  431. package/lib/duet/p-d49e4c1a.entry.js +4 -0
  432. package/lib/duet/p-da90aae6.entry.js +4 -0
  433. package/lib/duet/p-dceb943b.entry.js +4 -0
  434. package/lib/duet/{p-ff4f7076.entry.js → p-df64aa65.entry.js} +1 -1
  435. package/lib/duet/p-e04410c6.entry.js +4 -0
  436. package/lib/duet/p-e057762a.entry.js +4 -0
  437. package/lib/duet/p-ea09620e.entry.js +4 -0
  438. package/lib/duet/p-ebd27669.entry.js +4 -0
  439. package/lib/duet/p-ec601f3c.entry.js +4 -0
  440. package/lib/duet/p-ec7bdfaf.entry.js +4 -0
  441. package/lib/duet/p-qH1epSqB.js +4 -0
  442. package/lib/duet/p-vVCYtBMj.js +4 -0
  443. package/lib/esm/_commonjsHelpers-DvwKrUS6.js +8 -0
  444. package/lib/{dist-custom-elements/p-afb6f7fb.js → esm/a11y-utils-CfJGGdQJ.js} +1 -1
  445. package/lib/esm/action-arrow-down-small-Bk3GShyI.js +19 -0
  446. package/lib/esm/action-new-window-small-EH8_HdAm.js +19 -0
  447. package/lib/esm/{app-globals-00959ca9.js → app-globals-DGW8k4EA.js} +2 -2
  448. package/lib/esm/common-strings-BWvtXbhA.js +52 -0
  449. package/lib/esm/duet-action-button.entry.js +84 -27
  450. package/lib/esm/duet-alert.entry.js +102 -46
  451. package/lib/esm/duet-badge.entry.js +31 -7
  452. package/lib/esm/duet-banner.entry.js +64 -25
  453. package/lib/esm/duet-breadcrumb.entry.js +38 -25
  454. package/lib/esm/duet-breadcrumbs.entry.js +20 -12
  455. package/lib/esm/duet-button_2.entry.js +162 -66
  456. package/lib/esm/duet-callout.entry.js +13 -8
  457. package/lib/esm/duet-caption_4.entry.js +211 -73
  458. package/lib/esm/duet-card.entry.js +95 -32
  459. package/lib/esm/duet-checkbox.entry.js +68 -30
  460. package/lib/esm/duet-checkmark.entry.js +21 -7
  461. package/lib/{dist-custom-elements/p-3431b690.js → esm/duet-chip.entry.js} +68 -82
  462. package/lib/esm/duet-choice_2.entry.js +277 -127
  463. package/lib/esm/duet-collapsible.entry.js +94 -27
  464. package/lib/esm/duet-combobox.entry.js +85 -46
  465. package/lib/esm/duet-contact-card.entry.js +17 -16
  466. package/lib/esm/duet-cookie-consent.entry.js +14 -9
  467. package/lib/esm/duet-date-picker.entry.js +163 -55
  468. package/lib/esm/duet-divider_2.entry.js +30 -12
  469. package/lib/esm/duet-editable-table_3.entry.js +553 -208
  470. package/lib/esm/duet-empty-state.entry.js +15 -7
  471. package/lib/esm/duet-fieldset.entry.js +51 -16
  472. package/lib/esm/duet-file-chooser.entry.js +18 -9
  473. package/lib/esm/duet-footer.entry.js +56 -28
  474. package/lib/esm/duet-grid_2.entry.js +164 -62
  475. package/lib/esm/duet-header_2.entry.js +303 -90
  476. package/lib/esm/duet-hero.entry.js +149 -30
  477. package/lib/esm/duet-icon.entry.js +64 -18
  478. package/lib/esm/duet-indicator.entry.js +51 -0
  479. package/lib/esm/duet-input_2.entry.js +205 -85
  480. package/lib/esm/duet-layout.entry.js +33 -11
  481. package/lib/esm/duet-list_2.entry.js +58 -12
  482. package/lib/esm/duet-menu-bar-button.entry.js +24 -14
  483. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +19 -12
  484. package/lib/esm/duet-menu-bar-dropdown.entry.js +21 -14
  485. package/lib/esm/duet-menu-bar-item.entry.js +40 -17
  486. package/lib/esm/duet-menu-bar-link.entry.js +18 -8
  487. package/lib/esm/duet-menu-bar.entry.js +37 -56
  488. package/lib/esm/duet-modal.entry.js +122 -33
  489. package/lib/esm/duet-multiselect.entry.js +88 -40
  490. package/lib/esm/duet-nav.entry.js +12 -6
  491. package/lib/esm/duet-notification_2.entry.js +91 -30
  492. package/lib/esm/duet-number-input.entry.js +186 -69
  493. package/lib/esm/duet-overlay.entry.js +36 -12
  494. package/lib/esm/duet-page-heading.entry.js +16 -9
  495. package/lib/esm/duet-pagination_2.entry.js +162 -85
  496. package/lib/esm/duet-panel.entry.js +51 -0
  497. package/lib/esm/duet-phone-input.entry.js +2070 -0
  498. package/lib/esm/duet-popup-menu_2.entry.js +549 -0
  499. package/lib/esm/duet-progress.entry.js +32 -11
  500. package/lib/esm/duet-promo-card.entry.js +27 -11
  501. package/lib/esm/duet-radio_2.entry.js +114 -53
  502. package/lib/esm/duet-range-slider.entry.js +73 -35
  503. package/lib/esm/duet-scrollable_3.entry.js +269 -128
  504. package/lib/esm/duet-section-layout.entry.js +17 -8
  505. package/lib/esm/duet-select.entry.js +89 -41
  506. package/lib/esm/duet-shaped-image.entry.js +16 -9
  507. package/lib/esm/duet-share-chart-item.entry.js +20 -0
  508. package/lib/esm/duet-share-chart.entry.js +83 -0
  509. package/lib/esm/duet-show-more.entry.js +81 -36
  510. package/lib/esm/duet-slideout-lang.entry.js +10 -8
  511. package/lib/esm/duet-slideout-link.entry.js +61 -8
  512. package/lib/esm/duet-slideout-panel-dropdown.entry.js +25 -12
  513. package/lib/esm/duet-slideout-panel.entry.js +50 -34
  514. package/lib/esm/duet-slideout.entry.js +110 -58
  515. package/lib/esm/duet-status-icon.entry.js +97 -0
  516. package/lib/esm/duet-step_2.entry.js +73 -23
  517. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +25 -8
  518. package/lib/esm/duet-submenu-bar-dropdown.entry.js +27 -16
  519. package/lib/esm/duet-submenu-bar-item.entry.js +40 -17
  520. package/lib/esm/duet-submenu-bar-link.entry.js +18 -7
  521. package/lib/esm/duet-submenu-bar.entry.js +27 -19
  522. package/lib/esm/duet-textarea.entry.js +109 -48
  523. package/lib/esm/duet-toggle.entry.js +50 -27
  524. package/lib/esm/duet-toolbar-dropdown-link.entry.js +22 -9
  525. package/lib/esm/duet-toolbar-dropdown.entry.js +27 -14
  526. package/lib/esm/duet-toolbar-item.entry.js +46 -17
  527. package/lib/esm/duet-toolbar-link.entry.js +21 -8
  528. package/lib/esm/duet-toolbar.entry.js +12 -8
  529. package/lib/esm/duet-tooltip-button_2.entry.js +24 -25
  530. package/lib/esm/duet-tooltip.entry.js +97 -43
  531. package/lib/esm/duet-tray.entry.js +63 -22
  532. package/lib/esm/duet-upload-aria-status.entry.js +30 -9
  533. package/lib/esm/duet-upload-item.entry.js +12 -20
  534. package/lib/esm/duet-visually-hidden.entry.js +4 -5
  535. package/lib/esm/duet.js +7 -6
  536. package/lib/esm/{errorcodes.utils-d9431251.js → errorcodes.utils-qEQnnnLR.js} +3 -3
  537. package/lib/esm/floating-ui.dom.browser.min-B_NkY9T0.js +702 -0
  538. package/lib/{dist-custom-elements/p-e30dc66d.js → esm/focus-utils-D7bOJ91T.js} +1 -1
  539. package/lib/esm/form-search-CevX33LA.js +19 -0
  540. package/lib/esm/{index-1d0b7c66.js → index-CjRTMlgs.js} +2069 -1238
  541. package/lib/esm/{keyboard-utils-439bcc8b.js → keyboard-utils-Db8rvjPI.js} +4 -1
  542. package/lib/{dist-custom-elements/p-42619f94.js → esm/label-DI1u_MFQ.js} +1 -1
  543. package/lib/esm/{language-utils-14969cef.js → language-utils-DMUadJDW.js} +10 -3
  544. package/lib/esm/loader.js +4 -4
  545. package/lib/esm/{slot-utils-4e5ed4eb.js → slot-utils-DmMljwEF.js} +6 -2
  546. package/lib/{dist-custom-elements/p-ca3cb21e.js → esm/teleport-CooAqTCj.js} +22 -7
  547. package/lib/esm/themeable-component-CULFNCJP.js +72 -0
  548. package/lib/esm/{token-utils-b9ba8c5e.js → token-utils-Dw-GA7-4.js} +80 -10
  549. package/lib/{dist-custom-elements/p-f6000a03.js → esm/tokens-DcQPCCbT.js} +151 -7
  550. package/lib/{dist-custom-elements/p-cea716f7.js → esm/tokens.module-Bh9dkusU.js} +100 -4
  551. package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-BmMFVM-y.js} +1 -20
  552. package/lib/index.js +1 -1
  553. package/lib/loader/cdn.js +1 -2
  554. package/lib/loader/index.cjs.js +1 -2
  555. package/lib/loader/index.es2017.js +0 -1
  556. package/lib/loader/index.js +1 -2
  557. package/lib/types/common-strings.d.ts +3 -0
  558. package/lib/types/common-types.d.ts +1 -1
  559. package/lib/types/components/duet-alert/duet-alert.d.ts +20 -10
  560. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
  561. package/lib/types/components/duet-banner/duet-banner.d.ts +2 -0
  562. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
  563. package/lib/types/components/duet-button/duet-button.d.ts +1 -1
  564. package/lib/types/components/duet-card/duet-card.d.ts +6 -0
  565. package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
  566. package/lib/types/components/duet-choice/duet-choice.d.ts +1 -5
  567. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +3 -2
  568. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +8 -1
  569. package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -0
  570. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +4 -0
  571. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +3 -0
  572. package/lib/types/components/duet-grid/duet-grid.d.ts +9 -7
  573. package/lib/types/components/duet-heading/duet-heading.d.ts +6 -0
  574. package/lib/types/components/duet-hero/duet-hero.d.ts +6 -2
  575. package/lib/types/components/duet-indicator/duet-indicator.d.ts +17 -0
  576. package/lib/types/components/duet-input/duet-input.d.ts +13 -15
  577. package/lib/types/components/duet-link/duet-link.d.ts +3 -7
  578. package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
  579. package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
  580. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
  581. package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
  582. package/lib/types/components/duet-number-input/duet-number-input.d.ts +5 -2
  583. package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
  584. package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
  585. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
  586. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +178 -0
  587. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +19 -5
  588. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
  589. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
  590. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +18 -1
  591. package/lib/types/components/duet-select/duet-select.d.ts +2 -0
  592. package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +34 -0
  593. package/lib/types/components/duet-share-chart-item/duet-share-chart-item.d.ts +13 -0
  594. package/lib/types/components/duet-show-more/duet-show-more.d.ts +1 -0
  595. package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -3
  596. package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +17 -0
  597. package/lib/types/components/duet-spinner/duet-spinner.d.ts +1 -0
  598. package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +27 -0
  599. package/lib/types/components/duet-stepper/duet-stepper.d.ts +5 -2
  600. package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
  601. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +24 -4
  602. package/lib/types/components/duet-textarea/duet-textarea.d.ts +4 -2
  603. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
  604. package/lib/types/components.d.ts +2350 -52
  605. package/lib/types/data/countries.d.ts +22 -0
  606. package/lib/types/index.d.ts +1 -0
  607. package/lib/types/stencil-public-runtime.d.ts +35 -6
  608. package/lib/types/utils/keyboard-utils.d.ts +1 -0
  609. package/lib/types/utils/language-utils.d.ts +1 -0
  610. package/lib/types/utils/slot-utils.d.ts +1 -0
  611. package/lib/types/utils/teleport.d.ts +4 -1
  612. package/lib/types/utils/token-utils.d.ts +4 -0
  613. package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
  614. package/package.json +30 -16
  615. package/lib/cjs/action-arrow-down-small-ef77a2d1.js +0 -8
  616. package/lib/cjs/action-new-window-small-fa51dfb9.js +0 -8
  617. package/lib/cjs/duet-chip_3.cjs.entry.js +0 -699
  618. package/lib/cjs/floating-ui.dom.esm-806e7c53.js +0 -1355
  619. package/lib/cjs/form-search-d61b2843.js +0 -8
  620. package/lib/cjs/index-21e67ab3.js +0 -2278
  621. package/lib/cjs/themeable-component-996b489c.js +0 -15
  622. package/lib/dist-custom-elements/duet-action-button.d.ts +0 -11
  623. package/lib/dist-custom-elements/duet-action-button.js +0 -9
  624. package/lib/dist-custom-elements/duet-alert.d.ts +0 -11
  625. package/lib/dist-custom-elements/duet-alert.js +0 -9
  626. package/lib/dist-custom-elements/duet-badge.d.ts +0 -11
  627. package/lib/dist-custom-elements/duet-badge.js +0 -9
  628. package/lib/dist-custom-elements/duet-banner.d.ts +0 -11
  629. package/lib/dist-custom-elements/duet-banner.js +0 -157
  630. package/lib/dist-custom-elements/duet-breadcrumb.d.ts +0 -11
  631. package/lib/dist-custom-elements/duet-breadcrumb.js +0 -101
  632. package/lib/dist-custom-elements/duet-breadcrumbs.d.ts +0 -11
  633. package/lib/dist-custom-elements/duet-breadcrumbs.js +0 -88
  634. package/lib/dist-custom-elements/duet-button.d.ts +0 -11
  635. package/lib/dist-custom-elements/duet-button.js +0 -9
  636. package/lib/dist-custom-elements/duet-callout.d.ts +0 -11
  637. package/lib/dist-custom-elements/duet-callout.js +0 -72
  638. package/lib/dist-custom-elements/duet-caption.d.ts +0 -11
  639. package/lib/dist-custom-elements/duet-caption.js +0 -9
  640. package/lib/dist-custom-elements/duet-card.d.ts +0 -11
  641. package/lib/dist-custom-elements/duet-card.js +0 -171
  642. package/lib/dist-custom-elements/duet-checkbox.d.ts +0 -11
  643. package/lib/dist-custom-elements/duet-checkbox.js +0 -9
  644. package/lib/dist-custom-elements/duet-checkmark.d.ts +0 -11
  645. package/lib/dist-custom-elements/duet-checkmark.js +0 -9
  646. package/lib/dist-custom-elements/duet-chip.d.ts +0 -11
  647. package/lib/dist-custom-elements/duet-chip.js +0 -9
  648. package/lib/dist-custom-elements/duet-choice-group.d.ts +0 -11
  649. package/lib/dist-custom-elements/duet-choice-group.js +0 -228
  650. package/lib/dist-custom-elements/duet-choice.d.ts +0 -11
  651. package/lib/dist-custom-elements/duet-choice.js +0 -454
  652. package/lib/dist-custom-elements/duet-collapsible.d.ts +0 -11
  653. package/lib/dist-custom-elements/duet-collapsible.js +0 -158
  654. package/lib/dist-custom-elements/duet-combobox.d.ts +0 -11
  655. package/lib/dist-custom-elements/duet-combobox.js +0 -702
  656. package/lib/dist-custom-elements/duet-contact-card.d.ts +0 -11
  657. package/lib/dist-custom-elements/duet-contact-card.js +0 -134
  658. package/lib/dist-custom-elements/duet-cookie-consent.d.ts +0 -11
  659. package/lib/dist-custom-elements/duet-cookie-consent.js +0 -106
  660. package/lib/dist-custom-elements/duet-date-picker.d.ts +0 -11
  661. package/lib/dist-custom-elements/duet-date-picker.js +0 -932
  662. package/lib/dist-custom-elements/duet-divider.d.ts +0 -11
  663. package/lib/dist-custom-elements/duet-divider.js +0 -9
  664. package/lib/dist-custom-elements/duet-editable-table.d.ts +0 -11
  665. package/lib/dist-custom-elements/duet-editable-table.js +0 -258
  666. package/lib/dist-custom-elements/duet-empty-state.d.ts +0 -11
  667. package/lib/dist-custom-elements/duet-empty-state.js +0 -9
  668. package/lib/dist-custom-elements/duet-fieldset.d.ts +0 -11
  669. package/lib/dist-custom-elements/duet-fieldset.js +0 -9
  670. package/lib/dist-custom-elements/duet-file-chooser.d.ts +0 -11
  671. package/lib/dist-custom-elements/duet-file-chooser.js +0 -86
  672. package/lib/dist-custom-elements/duet-footer.d.ts +0 -11
  673. package/lib/dist-custom-elements/duet-footer.js +0 -223
  674. package/lib/dist-custom-elements/duet-grid-item.d.ts +0 -11
  675. package/lib/dist-custom-elements/duet-grid-item.js +0 -9
  676. package/lib/dist-custom-elements/duet-grid.d.ts +0 -11
  677. package/lib/dist-custom-elements/duet-grid.js +0 -9
  678. package/lib/dist-custom-elements/duet-header.d.ts +0 -11
  679. package/lib/dist-custom-elements/duet-header.js +0 -698
  680. package/lib/dist-custom-elements/duet-heading.d.ts +0 -11
  681. package/lib/dist-custom-elements/duet-heading.js +0 -9
  682. package/lib/dist-custom-elements/duet-hero.d.ts +0 -11
  683. package/lib/dist-custom-elements/duet-hero.js +0 -299
  684. package/lib/dist-custom-elements/duet-icon.d.ts +0 -11
  685. package/lib/dist-custom-elements/duet-icon.js +0 -9
  686. package/lib/dist-custom-elements/duet-input.d.ts +0 -11
  687. package/lib/dist-custom-elements/duet-input.js +0 -9
  688. package/lib/dist-custom-elements/duet-label.d.ts +0 -11
  689. package/lib/dist-custom-elements/duet-label.js +0 -70
  690. package/lib/dist-custom-elements/duet-layout.d.ts +0 -11
  691. package/lib/dist-custom-elements/duet-layout.js +0 -94
  692. package/lib/dist-custom-elements/duet-link.d.ts +0 -11
  693. package/lib/dist-custom-elements/duet-link.js +0 -9
  694. package/lib/dist-custom-elements/duet-list-item.d.ts +0 -11
  695. package/lib/dist-custom-elements/duet-list-item.js +0 -9
  696. package/lib/dist-custom-elements/duet-list.d.ts +0 -11
  697. package/lib/dist-custom-elements/duet-list.js +0 -9
  698. package/lib/dist-custom-elements/duet-logo.d.ts +0 -11
  699. package/lib/dist-custom-elements/duet-logo.js +0 -9
  700. package/lib/dist-custom-elements/duet-menu-bar-button.d.ts +0 -11
  701. package/lib/dist-custom-elements/duet-menu-bar-button.js +0 -94
  702. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.d.ts +0 -11
  703. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +0 -87
  704. package/lib/dist-custom-elements/duet-menu-bar-dropdown.d.ts +0 -11
  705. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +0 -108
  706. package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +0 -11
  707. package/lib/dist-custom-elements/duet-menu-bar-item.js +0 -108
  708. package/lib/dist-custom-elements/duet-menu-bar-link.d.ts +0 -11
  709. package/lib/dist-custom-elements/duet-menu-bar-link.js +0 -70
  710. package/lib/dist-custom-elements/duet-menu-bar.d.ts +0 -11
  711. package/lib/dist-custom-elements/duet-menu-bar.js +0 -206
  712. package/lib/dist-custom-elements/duet-modal.d.ts +0 -11
  713. package/lib/dist-custom-elements/duet-modal.js +0 -382
  714. package/lib/dist-custom-elements/duet-multiselect.d.ts +0 -11
  715. package/lib/dist-custom-elements/duet-multiselect.js +0 -346
  716. package/lib/dist-custom-elements/duet-nav.d.ts +0 -11
  717. package/lib/dist-custom-elements/duet-nav.js +0 -54
  718. package/lib/dist-custom-elements/duet-notification-drawer.d.ts +0 -11
  719. package/lib/dist-custom-elements/duet-notification-drawer.js +0 -168
  720. package/lib/dist-custom-elements/duet-notification.d.ts +0 -11
  721. package/lib/dist-custom-elements/duet-notification.js +0 -95
  722. package/lib/dist-custom-elements/duet-number-input.d.ts +0 -11
  723. package/lib/dist-custom-elements/duet-number-input.js +0 -484
  724. package/lib/dist-custom-elements/duet-overlay.d.ts +0 -11
  725. package/lib/dist-custom-elements/duet-overlay.js +0 -9
  726. package/lib/dist-custom-elements/duet-page-heading.d.ts +0 -11
  727. package/lib/dist-custom-elements/duet-page-heading.js +0 -87
  728. package/lib/dist-custom-elements/duet-pagination.d.ts +0 -11
  729. package/lib/dist-custom-elements/duet-pagination.js +0 -493
  730. package/lib/dist-custom-elements/duet-paragraph.d.ts +0 -11
  731. package/lib/dist-custom-elements/duet-paragraph.js +0 -9
  732. package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +0 -11
  733. package/lib/dist-custom-elements/duet-popup-menu-item.js +0 -9
  734. package/lib/dist-custom-elements/duet-popup-menu.d.ts +0 -11
  735. package/lib/dist-custom-elements/duet-popup-menu.js +0 -9
  736. package/lib/dist-custom-elements/duet-progress.d.ts +0 -11
  737. package/lib/dist-custom-elements/duet-progress.js +0 -9
  738. package/lib/dist-custom-elements/duet-promo-card.d.ts +0 -11
  739. package/lib/dist-custom-elements/duet-promo-card.js +0 -105
  740. package/lib/dist-custom-elements/duet-radio-group.d.ts +0 -11
  741. package/lib/dist-custom-elements/duet-radio-group.js +0 -213
  742. package/lib/dist-custom-elements/duet-radio.d.ts +0 -11
  743. package/lib/dist-custom-elements/duet-radio.js +0 -230
  744. package/lib/dist-custom-elements/duet-range-slider.d.ts +0 -11
  745. package/lib/dist-custom-elements/duet-range-slider.js +0 -181
  746. package/lib/dist-custom-elements/duet-range-stepper.d.ts +0 -11
  747. package/lib/dist-custom-elements/duet-range-stepper.js +0 -234
  748. package/lib/dist-custom-elements/duet-scrollable.d.ts +0 -11
  749. package/lib/dist-custom-elements/duet-scrollable.js +0 -9
  750. package/lib/dist-custom-elements/duet-section-layout.d.ts +0 -11
  751. package/lib/dist-custom-elements/duet-section-layout.js +0 -56
  752. package/lib/dist-custom-elements/duet-select.d.ts +0 -11
  753. package/lib/dist-custom-elements/duet-select.js +0 -9
  754. package/lib/dist-custom-elements/duet-shaped-image.d.ts +0 -11
  755. package/lib/dist-custom-elements/duet-shaped-image.js +0 -64
  756. package/lib/dist-custom-elements/duet-show-more.d.ts +0 -11
  757. package/lib/dist-custom-elements/duet-show-more.js +0 -9
  758. package/lib/dist-custom-elements/duet-slideout-lang.d.ts +0 -11
  759. package/lib/dist-custom-elements/duet-slideout-lang.js +0 -76
  760. package/lib/dist-custom-elements/duet-slideout-link.d.ts +0 -11
  761. package/lib/dist-custom-elements/duet-slideout-link.js +0 -79
  762. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.d.ts +0 -11
  763. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +0 -93
  764. package/lib/dist-custom-elements/duet-slideout-panel.d.ts +0 -11
  765. package/lib/dist-custom-elements/duet-slideout-panel.js +0 -224
  766. package/lib/dist-custom-elements/duet-slideout.d.ts +0 -11
  767. package/lib/dist-custom-elements/duet-slideout.js +0 -311
  768. package/lib/dist-custom-elements/duet-spacer.d.ts +0 -11
  769. package/lib/dist-custom-elements/duet-spacer.js +0 -9
  770. package/lib/dist-custom-elements/duet-spinner.d.ts +0 -11
  771. package/lib/dist-custom-elements/duet-spinner.js +0 -9
  772. package/lib/dist-custom-elements/duet-step.d.ts +0 -11
  773. package/lib/dist-custom-elements/duet-step.js +0 -147
  774. package/lib/dist-custom-elements/duet-stepper.d.ts +0 -11
  775. package/lib/dist-custom-elements/duet-stepper.js +0 -151
  776. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.d.ts +0 -11
  777. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +0 -81
  778. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +0 -11
  779. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +0 -152
  780. package/lib/dist-custom-elements/duet-submenu-bar-item.d.ts +0 -11
  781. package/lib/dist-custom-elements/duet-submenu-bar-item.js +0 -113
  782. package/lib/dist-custom-elements/duet-submenu-bar-link.d.ts +0 -11
  783. package/lib/dist-custom-elements/duet-submenu-bar-link.js +0 -72
  784. package/lib/dist-custom-elements/duet-submenu-bar.d.ts +0 -11
  785. package/lib/dist-custom-elements/duet-submenu-bar.js +0 -192
  786. package/lib/dist-custom-elements/duet-tab-group.d.ts +0 -11
  787. package/lib/dist-custom-elements/duet-tab-group.js +0 -339
  788. package/lib/dist-custom-elements/duet-tab.d.ts +0 -11
  789. package/lib/dist-custom-elements/duet-tab.js +0 -150
  790. package/lib/dist-custom-elements/duet-table.d.ts +0 -11
  791. package/lib/dist-custom-elements/duet-table.js +0 -9
  792. package/lib/dist-custom-elements/duet-textarea.d.ts +0 -11
  793. package/lib/dist-custom-elements/duet-textarea.js +0 -301
  794. package/lib/dist-custom-elements/duet-toggle.d.ts +0 -11
  795. package/lib/dist-custom-elements/duet-toggle.js +0 -146
  796. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.d.ts +0 -11
  797. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +0 -80
  798. package/lib/dist-custom-elements/duet-toolbar-dropdown.d.ts +0 -11
  799. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +0 -107
  800. package/lib/dist-custom-elements/duet-toolbar-item.d.ts +0 -11
  801. package/lib/dist-custom-elements/duet-toolbar-item.js +0 -120
  802. package/lib/dist-custom-elements/duet-toolbar-link.d.ts +0 -11
  803. package/lib/dist-custom-elements/duet-toolbar-link.js +0 -74
  804. package/lib/dist-custom-elements/duet-toolbar.d.ts +0 -11
  805. package/lib/dist-custom-elements/duet-toolbar.js +0 -67
  806. package/lib/dist-custom-elements/duet-tooltip-button.d.ts +0 -11
  807. package/lib/dist-custom-elements/duet-tooltip-button.js +0 -9
  808. package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +0 -11
  809. package/lib/dist-custom-elements/duet-tooltip-popup.js +0 -9
  810. package/lib/dist-custom-elements/duet-tooltip.d.ts +0 -11
  811. package/lib/dist-custom-elements/duet-tooltip.js +0 -9
  812. package/lib/dist-custom-elements/duet-tray.d.ts +0 -11
  813. package/lib/dist-custom-elements/duet-tray.js +0 -146
  814. package/lib/dist-custom-elements/duet-upload-aria-status.d.ts +0 -11
  815. package/lib/dist-custom-elements/duet-upload-aria-status.js +0 -9
  816. package/lib/dist-custom-elements/duet-upload-item.d.ts +0 -11
  817. package/lib/dist-custom-elements/duet-upload-item.js +0 -9
  818. package/lib/dist-custom-elements/duet-upload.d.ts +0 -11
  819. package/lib/dist-custom-elements/duet-upload.js +0 -1444
  820. package/lib/dist-custom-elements/duet-visually-hidden.d.ts +0 -11
  821. package/lib/dist-custom-elements/duet-visually-hidden.js +0 -9
  822. package/lib/dist-custom-elements/index.d.ts +0 -33
  823. package/lib/dist-custom-elements/index.js +0 -29
  824. package/lib/dist-custom-elements/p-02f97b91.js +0 -39
  825. package/lib/dist-custom-elements/p-087d8c5a.js +0 -60
  826. package/lib/dist-custom-elements/p-115c79b6.js +0 -6
  827. package/lib/dist-custom-elements/p-1296f851.js +0 -63
  828. package/lib/dist-custom-elements/p-174a9d1d.js +0 -73
  829. package/lib/dist-custom-elements/p-1ccd7c39.js +0 -80
  830. package/lib/dist-custom-elements/p-1f4fbc7a.js +0 -138
  831. package/lib/dist-custom-elements/p-22147601.js +0 -642
  832. package/lib/dist-custom-elements/p-29be247b.js +0 -80
  833. package/lib/dist-custom-elements/p-2c70b9f4.js +0 -50
  834. package/lib/dist-custom-elements/p-2f25dfb3.js +0 -154
  835. package/lib/dist-custom-elements/p-330bcf1d.js +0 -205
  836. package/lib/dist-custom-elements/p-35375593.js +0 -161
  837. package/lib/dist-custom-elements/p-36ab2d57.js +0 -83
  838. package/lib/dist-custom-elements/p-3ce1f7b8.js +0 -214
  839. package/lib/dist-custom-elements/p-41dca9e4.js +0 -63
  840. package/lib/dist-custom-elements/p-430f3778.js +0 -100
  841. package/lib/dist-custom-elements/p-43c4a1af.js +0 -81
  842. package/lib/dist-custom-elements/p-4da43fbc.js +0 -232
  843. package/lib/dist-custom-elements/p-68c629a8.js +0 -127
  844. package/lib/dist-custom-elements/p-6b77d4d3.js +0 -338
  845. package/lib/dist-custom-elements/p-81287261.js +0 -1348
  846. package/lib/dist-custom-elements/p-89b10856.js +0 -102
  847. package/lib/dist-custom-elements/p-956e3bce.js +0 -110
  848. package/lib/dist-custom-elements/p-993aea39.js +0 -175
  849. package/lib/dist-custom-elements/p-9df4cfa4.js +0 -25
  850. package/lib/dist-custom-elements/p-9f9423c6.js +0 -56
  851. package/lib/dist-custom-elements/p-9fa4eb51.js +0 -94
  852. package/lib/dist-custom-elements/p-a2147aff.js +0 -268
  853. package/lib/dist-custom-elements/p-aaa7a7bd.js +0 -13
  854. package/lib/dist-custom-elements/p-ab34075b.js +0 -124
  855. package/lib/dist-custom-elements/p-ad615991.js +0 -115
  856. package/lib/dist-custom-elements/p-b0925e24.js +0 -318
  857. package/lib/dist-custom-elements/p-b8de9a9c.js +0 -165
  858. package/lib/dist-custom-elements/p-c7d815f6.js +0 -194
  859. package/lib/dist-custom-elements/p-ca700701.js +0 -55
  860. package/lib/dist-custom-elements/p-d004da5f.js +0 -6
  861. package/lib/dist-custom-elements/p-d1f89e90.js +0 -124
  862. package/lib/dist-custom-elements/p-d2a5148f.js +0 -61
  863. package/lib/dist-custom-elements/p-d77db171.js +0 -2130
  864. package/lib/dist-custom-elements/p-dad518a5.js +0 -303
  865. package/lib/dist-custom-elements/p-de4ee016.js +0 -209
  866. package/lib/dist-custom-elements/p-de8f018a.js +0 -55
  867. package/lib/dist-custom-elements/p-df2042f8.js +0 -206
  868. package/lib/dist-custom-elements/p-e176f419.js +0 -61
  869. package/lib/dist-custom-elements/p-e37d189b.js +0 -607
  870. package/lib/dist-custom-elements/p-f11208c3.js +0 -6
  871. package/lib/dist-custom-elements/p-fe9e47d9.js +0 -287
  872. package/lib/duet/duet.js +0 -127
  873. package/lib/duet/p-021a4763.system.entry.js +0 -4
  874. package/lib/duet/p-031167a1.system.entry.js +0 -4
  875. package/lib/duet/p-051c4536.entry.js +0 -4
  876. package/lib/duet/p-053b71e6.system.js +0 -4
  877. package/lib/duet/p-05ca5aea.entry.js +0 -4
  878. package/lib/duet/p-07847129.system.entry.js +0 -4
  879. package/lib/duet/p-0a305aee.entry.js +0 -4
  880. package/lib/duet/p-0c4bbd65.system.js +0 -4
  881. package/lib/duet/p-0d7da85a.js +0 -4
  882. package/lib/duet/p-0dc9089b.system.js +0 -4
  883. package/lib/duet/p-0e348f96.system.entry.js +0 -4
  884. package/lib/duet/p-0e8e80b1.entry.js +0 -4
  885. package/lib/duet/p-0ee85b71.entry.js +0 -4
  886. package/lib/duet/p-115c79b6.js +0 -4
  887. package/lib/duet/p-1183d305.system.entry.js +0 -4
  888. package/lib/duet/p-1268b5a0.system.entry.js +0 -4
  889. package/lib/duet/p-153b6150.system.entry.js +0 -4
  890. package/lib/duet/p-192bba35.system.entry.js +0 -4
  891. package/lib/duet/p-1e17463d.system.js +0 -4
  892. package/lib/duet/p-1e904342.entry.js +0 -4
  893. package/lib/duet/p-1e9e887d.entry.js +0 -4
  894. package/lib/duet/p-209d6065.system.entry.js +0 -4
  895. package/lib/duet/p-20d056ac.entry.js +0 -4
  896. package/lib/duet/p-20eaf445.system.entry.js +0 -4
  897. package/lib/duet/p-215f4257.system.entry.js +0 -4
  898. package/lib/duet/p-237efb0c.system.entry.js +0 -4
  899. package/lib/duet/p-2437b4cb.js +0 -4
  900. package/lib/duet/p-250fb070.entry.js +0 -4
  901. package/lib/duet/p-25af4a6c.entry.js +0 -4
  902. package/lib/duet/p-25d79094.entry.js +0 -4
  903. package/lib/duet/p-27260106.entry.js +0 -4
  904. package/lib/duet/p-27ed5ca7.system.entry.js +0 -4
  905. package/lib/duet/p-2810c6dc.system.entry.js +0 -4
  906. package/lib/duet/p-2814473c.system.entry.js +0 -4
  907. package/lib/duet/p-29152853.entry.js +0 -4
  908. package/lib/duet/p-2a0ad29c.system.entry.js +0 -4
  909. package/lib/duet/p-2a979523.entry.js +0 -4
  910. package/lib/duet/p-2b2cd3be.entry.js +0 -4
  911. package/lib/duet/p-2b35de7b.entry.js +0 -4
  912. package/lib/duet/p-2b45d2e4.entry.js +0 -4
  913. package/lib/duet/p-2b6a7397.js +0 -4
  914. package/lib/duet/p-2bf17427.entry.js +0 -4
  915. package/lib/duet/p-2dc360ee.entry.js +0 -4
  916. package/lib/duet/p-2de0ab3d.system.entry.js +0 -4
  917. package/lib/duet/p-2eae4a0b.js +0 -4
  918. package/lib/duet/p-2fa7ecef.entry.js +0 -4
  919. package/lib/duet/p-2fb96333.entry.js +0 -4
  920. package/lib/duet/p-3106c658.entry.js +0 -4
  921. package/lib/duet/p-34024554.system.entry.js +0 -4
  922. package/lib/duet/p-34d7dd10.system.js +0 -4
  923. package/lib/duet/p-380f74e8.system.entry.js +0 -4
  924. package/lib/duet/p-3810c7dc.entry.js +0 -4
  925. package/lib/duet/p-3c64dab9.entry.js +0 -4
  926. package/lib/duet/p-3d826a58.system.entry.js +0 -4
  927. package/lib/duet/p-3d96186f.system.entry.js +0 -4
  928. package/lib/duet/p-3df2981e.system.entry.js +0 -4
  929. package/lib/duet/p-3faaa469.entry.js +0 -4
  930. package/lib/duet/p-3fe7e109.system.entry.js +0 -4
  931. package/lib/duet/p-40bab9a0.system.entry.js +0 -4
  932. package/lib/duet/p-41552571.system.entry.js +0 -4
  933. package/lib/duet/p-41982d26.system.js +0 -4
  934. package/lib/duet/p-43cc4ad9.system.entry.js +0 -4
  935. package/lib/duet/p-43d16748.system.entry.js +0 -4
  936. package/lib/duet/p-44ee649f.system.entry.js +0 -4
  937. package/lib/duet/p-486576ee.entry.js +0 -4
  938. package/lib/duet/p-49957220.system.js +0 -4
  939. package/lib/duet/p-49fa4a07.entry.js +0 -4
  940. package/lib/duet/p-4a9978a4.entry.js +0 -4
  941. package/lib/duet/p-4cff3036.system.js +0 -4
  942. package/lib/duet/p-4e7f27d8.entry.js +0 -4
  943. package/lib/duet/p-4e9052cd.entry.js +0 -4
  944. package/lib/duet/p-4ee7eb8a.entry.js +0 -4
  945. package/lib/duet/p-5170726b.system.entry.js +0 -4
  946. package/lib/duet/p-55674524.entry.js +0 -4
  947. package/lib/duet/p-58caf53a.system.entry.js +0 -4
  948. package/lib/duet/p-5b927db3.entry.js +0 -4
  949. package/lib/duet/p-5db9497a.entry.js +0 -4
  950. package/lib/duet/p-5dbd1202.entry.js +0 -4
  951. package/lib/duet/p-5e25b406.entry.js +0 -4
  952. package/lib/duet/p-60547899.system.entry.js +0 -4
  953. package/lib/duet/p-605e69c8.system.js +0 -4
  954. package/lib/duet/p-612fbfcc.entry.js +0 -4
  955. package/lib/duet/p-620d4575.system.entry.js +0 -4
  956. package/lib/duet/p-629a9c13.entry.js +0 -4
  957. package/lib/duet/p-62bdecfb.system.entry.js +0 -4
  958. package/lib/duet/p-6324514a.system.entry.js +0 -4
  959. package/lib/duet/p-6447f20d.system.entry.js +0 -4
  960. package/lib/duet/p-6537159a.system.entry.js +0 -4
  961. package/lib/duet/p-670bd483.system.entry.js +0 -4
  962. package/lib/duet/p-6b436ca9.entry.js +0 -4
  963. package/lib/duet/p-7483d86c.entry.js +0 -4
  964. package/lib/duet/p-76563c02.entry.js +0 -4
  965. package/lib/duet/p-769a3309.system.entry.js +0 -4
  966. package/lib/duet/p-76b42e90.entry.js +0 -4
  967. package/lib/duet/p-76b84b22.entry.js +0 -4
  968. package/lib/duet/p-76d69a18.system.js +0 -4
  969. package/lib/duet/p-7972306f.entry.js +0 -4
  970. package/lib/duet/p-79dfc8e6.system.entry.js +0 -4
  971. package/lib/duet/p-7a67ce10.system.entry.js +0 -4
  972. package/lib/duet/p-7acabaa7.system.js +0 -4
  973. package/lib/duet/p-7cce22af.system.js +0 -4
  974. package/lib/duet/p-7d2fffc2.entry.js +0 -4
  975. package/lib/duet/p-7d8a2628.js +0 -4
  976. package/lib/duet/p-7dd3b7d1.entry.js +0 -4
  977. package/lib/duet/p-7f5c1da2.entry.js +0 -4
  978. package/lib/duet/p-8142169f.system.entry.js +0 -4
  979. package/lib/duet/p-8481bbda.entry.js +0 -4
  980. package/lib/duet/p-871d7ca1.system.entry.js +0 -4
  981. package/lib/duet/p-894c1be1.system.entry.js +0 -4
  982. package/lib/duet/p-8abb0984.js +0 -5
  983. package/lib/duet/p-8f477bd6.system.js +0 -4
  984. package/lib/duet/p-8f4cdf46.system.entry.js +0 -4
  985. package/lib/duet/p-8faaaf5f.system.js +0 -4
  986. package/lib/duet/p-9253e832.system.entry.js +0 -4
  987. package/lib/duet/p-965e597c.system.js +0 -4
  988. package/lib/duet/p-966bd64a.entry.js +0 -4
  989. package/lib/duet/p-98636086.system.js +0 -4
  990. package/lib/duet/p-9b04e4a2.entry.js +0 -4
  991. package/lib/duet/p-9fb9ba73.entry.js +0 -4
  992. package/lib/duet/p-a19244e5.system.js +0 -5
  993. package/lib/duet/p-a1b7f2a0.js +0 -4
  994. package/lib/duet/p-a2aa619b.system.entry.js +0 -4
  995. package/lib/duet/p-a2b93336.system.entry.js +0 -4
  996. package/lib/duet/p-a3341588.entry.js +0 -4
  997. package/lib/duet/p-a47047f2.entry.js +0 -4
  998. package/lib/duet/p-a51e1b9e.entry.js +0 -4
  999. package/lib/duet/p-a600451a.entry.js +0 -4
  1000. package/lib/duet/p-a7d809b4.system.entry.js +0 -4
  1001. package/lib/duet/p-a8a381c9.system.entry.js +0 -4
  1002. package/lib/duet/p-aa82f9a1.entry.js +0 -4
  1003. package/lib/duet/p-aaa7a7bd.js +0 -4
  1004. package/lib/duet/p-ac9460ca.entry.js +0 -4
  1005. package/lib/duet/p-aca3a5a9.entry.js +0 -4
  1006. package/lib/duet/p-af209330.entry.js +0 -4
  1007. package/lib/duet/p-afad5fd3.system.js +0 -4
  1008. package/lib/duet/p-b010f56b.system.entry.js +0 -4
  1009. package/lib/duet/p-b69f3d9d.system.entry.js +0 -4
  1010. package/lib/duet/p-b6c584b6.entry.js +0 -4
  1011. package/lib/duet/p-b765710e.entry.js +0 -4
  1012. package/lib/duet/p-b864159a.system.js +0 -4
  1013. package/lib/duet/p-ba03d034.system.js +0 -4
  1014. package/lib/duet/p-bcc40139.system.entry.js +0 -4
  1015. package/lib/duet/p-beeb12f1.js +0 -4
  1016. package/lib/duet/p-c15cd383.system.entry.js +0 -4
  1017. package/lib/duet/p-c22935bf.system.entry.js +0 -4
  1018. package/lib/duet/p-c2dd561e.entry.js +0 -4
  1019. package/lib/duet/p-c3ba8e74.system.entry.js +0 -4
  1020. package/lib/duet/p-c52e8007.entry.js +0 -4
  1021. package/lib/duet/p-c6894b07.system.entry.js +0 -4
  1022. package/lib/duet/p-c694f12d.system.entry.js +0 -4
  1023. package/lib/duet/p-c79cbfdb.entry.js +0 -4
  1024. package/lib/duet/p-c8421271.system.entry.js +0 -4
  1025. package/lib/duet/p-c8d3cb52.entry.js +0 -4
  1026. package/lib/duet/p-c8e22ae2.system.entry.js +0 -4
  1027. package/lib/duet/p-ca3cb21e.js +0 -4
  1028. package/lib/duet/p-cbedbd77.system.entry.js +0 -4
  1029. package/lib/duet/p-cc5e6288.system.js +0 -4
  1030. package/lib/duet/p-cc67e773.js +0 -4
  1031. package/lib/duet/p-ce543cc1.system.entry.js +0 -4
  1032. package/lib/duet/p-cf30c088.entry.js +0 -4
  1033. package/lib/duet/p-d004da5f.js +0 -4
  1034. package/lib/duet/p-d3c304b5.system.js +0 -4
  1035. package/lib/duet/p-d43fc5e9.system.entry.js +0 -4
  1036. package/lib/duet/p-d6dc9819.system.entry.js +0 -4
  1037. package/lib/duet/p-d7d86092.js +0 -4
  1038. package/lib/duet/p-d86d8491.system.entry.js +0 -4
  1039. package/lib/duet/p-db2ccb9d.system.js +0 -4
  1040. package/lib/duet/p-dfd223d9.entry.js +0 -4
  1041. package/lib/duet/p-e0536bb5.entry.js +0 -4
  1042. package/lib/duet/p-e12066c8.system.js +0 -4
  1043. package/lib/duet/p-e1c881da.system.js +0 -4
  1044. package/lib/duet/p-e216bea4.system.js +0 -4
  1045. package/lib/duet/p-e258270f.entry.js +0 -4
  1046. package/lib/duet/p-e2daf94c.entry.js +0 -4
  1047. package/lib/duet/p-e38edd16.system.entry.js +0 -4
  1048. package/lib/duet/p-e44da0ff.system.entry.js +0 -4
  1049. package/lib/duet/p-e4c8559c.system.js +0 -4
  1050. package/lib/duet/p-e6b5a1c7.system.js +0 -4
  1051. package/lib/duet/p-e8dd29e7.entry.js +0 -4
  1052. package/lib/duet/p-e93849fd.system.entry.js +0 -4
  1053. package/lib/duet/p-e9d2f4a1.entry.js +0 -4
  1054. package/lib/duet/p-eca03d5e.js +0 -4
  1055. package/lib/duet/p-ee1eb7cb.system.entry.js +0 -4
  1056. package/lib/duet/p-efa5ec67.entry.js +0 -4
  1057. package/lib/duet/p-f0b0e2b2.system.entry.js +0 -4
  1058. package/lib/duet/p-f105f32a.system.entry.js +0 -4
  1059. package/lib/duet/p-f11208c3.js +0 -4
  1060. package/lib/duet/p-f3633004.entry.js +0 -4
  1061. package/lib/duet/p-f3cf6b50.entry.js +0 -4
  1062. package/lib/duet/p-f43e134e.system.entry.js +0 -4
  1063. package/lib/duet/p-f5dd7e7e.system.entry.js +0 -4
  1064. package/lib/duet/p-f6000a03.js +0 -4
  1065. package/lib/duet/p-f6b21d17.system.js +0 -4
  1066. package/lib/duet/p-f6bd2d4f.system.entry.js +0 -4
  1067. package/lib/duet/p-f75a6d54.system.entry.js +0 -4
  1068. package/lib/duet/p-f97500ff.system.entry.js +0 -4
  1069. package/lib/duet/p-fa3b3dbc.system.entry.js +0 -4
  1070. package/lib/duet/p-fbc396a7.system.entry.js +0 -4
  1071. package/lib/duet/p-fbf89657.system.entry.js +0 -4
  1072. package/lib/duet/p-fcb14b31.system.entry.js +0 -4
  1073. package/lib/duet/p-fd2299b4.entry.js +0 -4
  1074. package/lib/duet/p-fd78f61a.js +0 -4
  1075. package/lib/duet/p-fee25f59.entry.js +0 -4
  1076. package/lib/esm/a11y-utils-8fc393f6.js +0 -23
  1077. package/lib/esm/action-arrow-down-small-82273dc8.js +0 -6
  1078. package/lib/esm/action-new-window-small-1945be91.js +0 -6
  1079. package/lib/esm/body-scroll-46854769.js +0 -234
  1080. package/lib/esm/bodyScrollLock.es6-ecbf187e.js +0 -184
  1081. package/lib/esm/common-strings-af765cad.js +0 -25
  1082. package/lib/esm/create-id-149a1b6d.js +0 -11
  1083. package/lib/esm/duet-chip_3.entry.js +0 -693
  1084. package/lib/esm/floating-ui.dom.esm-ebc91b33.js +0 -1348
  1085. package/lib/esm/focus-utils-adcd9463.js +0 -18
  1086. package/lib/esm/form-search-ea8e19ae.js +0 -6
  1087. package/lib/esm/input-utils-85681162.js +0 -53
  1088. package/lib/esm/is-internet-explorer-2c48f686.js +0 -9
  1089. package/lib/esm/js-utils-9b9e0039.js +0 -47
  1090. package/lib/esm/label-ce262202.js +0 -20
  1091. package/lib/esm/polyfills/core-js.js +0 -11
  1092. package/lib/esm/polyfills/dom.js +0 -79
  1093. package/lib/esm/polyfills/es5-html-element.js +0 -1
  1094. package/lib/esm/polyfills/index.js +0 -34
  1095. package/lib/esm/polyfills/system.js +0 -6
  1096. package/lib/esm/string-utils-192eb3c8.js +0 -61
  1097. package/lib/esm/teleport-546f382d.js +0 -116
  1098. package/lib/esm/themeable-component-860041c5.js +0 -13
  1099. package/lib/esm/tokens-84fb2357.js +0 -753
  1100. package/lib/esm/tokens.module-2d02f5ff.js +0 -503
  1101. package/lib/esm/watch-options-e96ecd92.js +0 -57
  1102. package/lib/esm-es5/a11y-utils-8fc393f6.js +0 -4
  1103. package/lib/esm-es5/action-arrow-down-small-82273dc8.js +0 -4
  1104. package/lib/esm-es5/action-new-window-small-1945be91.js +0 -4
  1105. package/lib/esm-es5/app-globals-00959ca9.js +0 -4
  1106. package/lib/esm-es5/body-scroll-46854769.js +0 -4
  1107. package/lib/esm-es5/bodyScrollLock.es6-ecbf187e.js +0 -4
  1108. package/lib/esm-es5/common-strings-af765cad.js +0 -4
  1109. package/lib/esm-es5/create-id-149a1b6d.js +0 -4
  1110. package/lib/esm-es5/duet-action-button.entry.js +0 -4
  1111. package/lib/esm-es5/duet-alert.entry.js +0 -4
  1112. package/lib/esm-es5/duet-badge.entry.js +0 -4
  1113. package/lib/esm-es5/duet-banner.entry.js +0 -4
  1114. package/lib/esm-es5/duet-breadcrumb.entry.js +0 -4
  1115. package/lib/esm-es5/duet-breadcrumbs.entry.js +0 -4
  1116. package/lib/esm-es5/duet-button_2.entry.js +0 -4
  1117. package/lib/esm-es5/duet-callout.entry.js +0 -4
  1118. package/lib/esm-es5/duet-caption_4.entry.js +0 -4
  1119. package/lib/esm-es5/duet-card.entry.js +0 -4
  1120. package/lib/esm-es5/duet-checkbox.entry.js +0 -4
  1121. package/lib/esm-es5/duet-checkmark.entry.js +0 -4
  1122. package/lib/esm-es5/duet-chip_3.entry.js +0 -4
  1123. package/lib/esm-es5/duet-choice_2.entry.js +0 -4
  1124. package/lib/esm-es5/duet-collapsible.entry.js +0 -4
  1125. package/lib/esm-es5/duet-combobox.entry.js +0 -4
  1126. package/lib/esm-es5/duet-contact-card.entry.js +0 -4
  1127. package/lib/esm-es5/duet-cookie-consent.entry.js +0 -4
  1128. package/lib/esm-es5/duet-date-picker.entry.js +0 -4
  1129. package/lib/esm-es5/duet-divider_2.entry.js +0 -4
  1130. package/lib/esm-es5/duet-editable-table_3.entry.js +0 -4
  1131. package/lib/esm-es5/duet-empty-state.entry.js +0 -4
  1132. package/lib/esm-es5/duet-fieldset.entry.js +0 -4
  1133. package/lib/esm-es5/duet-file-chooser.entry.js +0 -4
  1134. package/lib/esm-es5/duet-footer.entry.js +0 -4
  1135. package/lib/esm-es5/duet-header_2.entry.js +0 -4
  1136. package/lib/esm-es5/duet-hero.entry.js +0 -4
  1137. package/lib/esm-es5/duet-icon.entry.js +0 -4
  1138. package/lib/esm-es5/duet-input_2.entry.js +0 -4
  1139. package/lib/esm-es5/duet-layout.entry.js +0 -4
  1140. package/lib/esm-es5/duet-list_2.entry.js +0 -4
  1141. package/lib/esm-es5/duet-menu-bar-button.entry.js +0 -4
  1142. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +0 -4
  1143. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +0 -4
  1144. package/lib/esm-es5/duet-menu-bar-item.entry.js +0 -4
  1145. package/lib/esm-es5/duet-menu-bar-link.entry.js +0 -4
  1146. package/lib/esm-es5/duet-menu-bar.entry.js +0 -4
  1147. package/lib/esm-es5/duet-modal.entry.js +0 -4
  1148. package/lib/esm-es5/duet-multiselect.entry.js +0 -4
  1149. package/lib/esm-es5/duet-nav.entry.js +0 -4
  1150. package/lib/esm-es5/duet-notification_2.entry.js +0 -4
  1151. package/lib/esm-es5/duet-number-input.entry.js +0 -4
  1152. package/lib/esm-es5/duet-overlay.entry.js +0 -4
  1153. package/lib/esm-es5/duet-page-heading.entry.js +0 -4
  1154. package/lib/esm-es5/duet-pagination_2.entry.js +0 -4
  1155. package/lib/esm-es5/duet-progress.entry.js +0 -4
  1156. package/lib/esm-es5/duet-promo-card.entry.js +0 -4
  1157. package/lib/esm-es5/duet-radio_2.entry.js +0 -4
  1158. package/lib/esm-es5/duet-range-slider.entry.js +0 -4
  1159. package/lib/esm-es5/duet-scrollable_3.entry.js +0 -4
  1160. package/lib/esm-es5/duet-section-layout.entry.js +0 -4
  1161. package/lib/esm-es5/duet-select.entry.js +0 -4
  1162. package/lib/esm-es5/duet-shaped-image.entry.js +0 -4
  1163. package/lib/esm-es5/duet-show-more.entry.js +0 -4
  1164. package/lib/esm-es5/duet-slideout-lang.entry.js +0 -4
  1165. package/lib/esm-es5/duet-slideout-link.entry.js +0 -4
  1166. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +0 -4
  1167. package/lib/esm-es5/duet-slideout-panel.entry.js +0 -4
  1168. package/lib/esm-es5/duet-slideout.entry.js +0 -4
  1169. package/lib/esm-es5/duet-step_2.entry.js +0 -4
  1170. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +0 -4
  1171. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +0 -4
  1172. package/lib/esm-es5/duet-submenu-bar-item.entry.js +0 -4
  1173. package/lib/esm-es5/duet-submenu-bar-link.entry.js +0 -4
  1174. package/lib/esm-es5/duet-submenu-bar.entry.js +0 -4
  1175. package/lib/esm-es5/duet-textarea.entry.js +0 -4
  1176. package/lib/esm-es5/duet-toggle.entry.js +0 -4
  1177. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +0 -4
  1178. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +0 -4
  1179. package/lib/esm-es5/duet-toolbar-item.entry.js +0 -4
  1180. package/lib/esm-es5/duet-toolbar-link.entry.js +0 -4
  1181. package/lib/esm-es5/duet-toolbar.entry.js +0 -4
  1182. package/lib/esm-es5/duet-tooltip-button_2.entry.js +0 -4
  1183. package/lib/esm-es5/duet-tooltip.entry.js +0 -4
  1184. package/lib/esm-es5/duet-tray.entry.js +0 -4
  1185. package/lib/esm-es5/duet-upload-aria-status.entry.js +0 -4
  1186. package/lib/esm-es5/duet-upload-item.entry.js +0 -4
  1187. package/lib/esm-es5/duet-visually-hidden.entry.js +0 -4
  1188. package/lib/esm-es5/duet.js +0 -4
  1189. package/lib/esm-es5/errorcodes.utils-d9431251.js +0 -4
  1190. package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
  1191. package/lib/esm-es5/focus-utils-adcd9463.js +0 -4
  1192. package/lib/esm-es5/form-search-ea8e19ae.js +0 -4
  1193. package/lib/esm-es5/index-1d0b7c66.js +0 -5
  1194. package/lib/esm-es5/index.js +0 -3
  1195. package/lib/esm-es5/input-utils-85681162.js +0 -4
  1196. package/lib/esm-es5/is-internet-explorer-2c48f686.js +0 -4
  1197. package/lib/esm-es5/js-utils-9b9e0039.js +0 -4
  1198. package/lib/esm-es5/keyboard-utils-439bcc8b.js +0 -4
  1199. package/lib/esm-es5/label-ce262202.js +0 -4
  1200. package/lib/esm-es5/language-utils-14969cef.js +0 -4
  1201. package/lib/esm-es5/loader.js +0 -4
  1202. package/lib/esm-es5/slot-utils-4e5ed4eb.js +0 -4
  1203. package/lib/esm-es5/string-utils-192eb3c8.js +0 -4
  1204. package/lib/esm-es5/teleport-546f382d.js +0 -4
  1205. package/lib/esm-es5/themeable-component-860041c5.js +0 -4
  1206. package/lib/esm-es5/token-utils-b9ba8c5e.js +0 -4
  1207. package/lib/esm-es5/tokens-84fb2357.js +0 -4
  1208. package/lib/esm-es5/tokens.module-2d02f5ff.js +0 -4
  1209. package/lib/esm-es5/watch-options-e96ecd92.js +0 -4
  1210. package/lib/loader/package.json +0 -11
  1211. /package/lib/cjs/{body-scroll-dba42314.js → body-scroll-FWPe3_T_.js} +0 -0
  1212. /package/lib/cjs/{bodyScrollLock.es6-dd2d7d91.js → bodyScrollLock.es6-B2sCDud5.js} +0 -0
  1213. /package/lib/cjs/{create-id-1f8c438f.js → create-id-DtslnIOq.js} +0 -0
  1214. /package/lib/cjs/{input-utils-1096a2c5.js → input-utils-DUKdslOM.js} +0 -0
  1215. /package/lib/cjs/{is-internet-explorer-e7f58ebc.js → is-internet-explorer-BTLb_loH.js} +0 -0
  1216. /package/lib/cjs/{js-utils-92e24ba1.js → js-utils-hJ4A2edy.js} +0 -0
  1217. /package/lib/cjs/{string-utils-7b13c16e.js → string-utils-B35hEUBv.js} +0 -0
  1218. /package/lib/duet/{p-8354d1f1.js → p-B1B-PPrh.js} +0 -0
  1219. /package/lib/duet/{p-9e371678.js → p-BlUsLmbQ.js} +0 -0
  1220. /package/lib/duet/{p-fc09c464.js → p-C6CAT054.js} +0 -0
  1221. /package/lib/duet/{p-9c3c64b9.js → p-C6E9F6QT.js} +0 -0
  1222. /package/lib/duet/{p-df7874f9.js → p-CLDy7YaM.js} +0 -0
  1223. /package/lib/duet/{p-5e59e970.js → p-Cfr_DJqU.js} +0 -0
  1224. /package/lib/duet/{p-43b89e38.js → p-DxESMgwA.js} +0 -0
  1225. /package/lib/{dist-custom-elements/p-fc09c464.js → esm/body-scroll-C6CAT054.js} +0 -0
  1226. /package/lib/{dist-custom-elements/p-8354d1f1.js → esm/bodyScrollLock.es6-B1B-PPrh.js} +0 -0
  1227. /package/lib/{dist-custom-elements/p-5e59e970.js → esm/create-id-Cfr_DJqU.js} +0 -0
  1228. /package/lib/{dist-custom-elements/p-df7874f9.js → esm/input-utils-CLDy7YaM.js} +0 -0
  1229. /package/lib/{dist-custom-elements/p-43b89e38.js → esm/is-internet-explorer-DxESMgwA.js} +0 -0
  1230. /package/lib/{dist-custom-elements/p-9e371678.js → esm/js-utils-BlUsLmbQ.js} +0 -0
  1231. /package/lib/{dist-custom-elements/p-9c3c64b9.js → esm/string-utils-C6E9F6QT.js} +0 -0
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,a){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function s(e){try{u(a.next(e))}catch(e){n(e)}}function o(e){try{u(a["throw"](e))}catch(e){n(e)}}function u(e){e.done?r(e.value):i(e.value).then(s,o)}u((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},a,i,n,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return u([e,t])}}function u(o){if(a)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(r=0)),r)try{if(a=1,i&&(n=o[0]&2?i["return"]:o[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,o[1])).done)return n;if(i=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;i=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(o[0]===6&&r.label<n[1]){r.label=n[1];n=o;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(o);break}if(n[2])r.ops.pop();r.trys.pop();continue}o=t.call(e,r)}catch(e){o=[6,e];i=0}finally{a=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-1d0b7c66.js";import{i as inheritGlobalTheme}from"./themeable-component-860041c5.js";import{c as createID}from"./create-id-149a1b6d.js";import{s as subscribeTabbingChange,u as unsubscribeTabbingChange}from"./keyboard-utils-439bcc8b.js";import{g as getLocaleString,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-14969cef.js";import{h as hasSlot}from"./slot-utils-4e5ed4eb.js";import"./string-utils-192eb3c8.js";var duetAlertCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;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;color:rgb(8, 42, 77);background:#f2f8fb;border:1px solid rgb(0, 119, 179);border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.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);background:#f3f4f5;border-color:rgb(23, 28, 58)}.duet-alert-wrapper.warning{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.warning.duet-theme-turva{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.danger{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.danger.duet-theme-turva{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.success{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.success.duet-theme-turva{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229)}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon.below-nav{align-self:flex-start}.duet-alert-icon duet-icon{width:20px;height:20px}';var DuetAlertStyle0=duetAlertCss;var DuetAlert=function(){function e(e){var t=this;registerInstance(this,e);this.duetDismiss=createEvent(this,"duetDismiss",7);this.duetCloseComplete=createEvent(this,"duetCloseComplete",7);this.descriptiveId=createID("DuetAlert");this.hasShowMoreSlot=false;this.iconVariationMap={default:"messaging-info",success:"messaging-success",warning:"messaging-alert",danger:"messaging-danger-alert"};this.handleDismiss=function(e){t.handleHide();t.duetDismiss.emit({component:"duet-alert",originalEvent:e})};this.handleShow=function(){t.isDismissed=false};this.handleHide=function(){t.isDismissed=true;t.element.addEventListener("transitionend",(function(){return t.duetCloseComplete.emit()}),{once:true})};this.theme="";this.isDismissed=false;this.timeoutID=undefined;this.accessibleLabelDefaults={fi:"Painike viestin sulkemiseen",sv:"Knapp för att stänga meddelandet",en:"Button to close the message"};this.accessibleLabel=getLocaleString(this.accessibleLabelDefaults);this.announcements=true;this.icon="";this.autoDismiss=undefined;this.margin="auto";this.padding="auto";this.variation="default";this.position="content";this.dismissible=false;this.focusable=false}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.hasShowMoreSlot=hasSlot(this.element,"show-more")};e.prototype.componentDidLoad=function(){var e=this;if(this.autoDismiss){this.timeoutID=setTimeout((function(){return e.handleDismiss()}),this.autoDismiss)}};e.prototype.connectedCallback=function(){connectLanguageChangeObserver(this,{prop:"accessibleLabel",defaults:"accessibleLabelDefaults"});subscribeTabbingChange(this)};e.prototype.disconnectedCallback=function(){if(this.timeoutID){clearTimeout(this.timeoutID)}disconnectLanguageChangeObserver(this);unsubscribeTabbingChange(this)};e.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.handleShow();return[2]}))}))};e.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.handleHide();return[2]}))}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.alertContainer.focus(e);return[2]}))}))};e.prototype.render=function(){var e,t;var r=this;var a=this.theme==="turva"?"secondary-turva":"secondary";return h(Host,{key:"d3c53bc46ae4d9f94d286a8ca55a1891afaec2d1",class:{"duet-theme-turva":this.theme==="turva","duet-alert-is-dismissed":this.isDismissed},role:this.announcements?"alert":undefined},h("div",{key:"9b7c2ede2a81e5459214b3262c08f5a096251f50",class:(e={"duet-alert-wrapper":true,"duet-p-0":this.padding==="none","duet-m-0":this.margin==="none"},e[this.variation]=true,e[this.position]=true,e["duet-theme-turva"]=this.theme==="turva",e)},h("div",{key:"c372501af01265a0e962d41b0aeefa1b0803dc7a",class:(t={"duet-alert":true,"duet-alert-has-icon":!!this.icon||this.position==="below-nav","duet-alert-has-show-more":this.hasShowMoreSlot,"duet-alert-is-dismissible":this.dismissible,"duet-p-0":this.padding==="none","duet-m-0":this.margin==="none"},t[this.variation]=true,t["duet-theme-turva"]=this.theme==="turva",t)},h("div",{key:"6a00f96245f482fa280c5618d1ab3e3d61ae57bf",class:"duet-alert-container",ref:function(e){r.alertContainer=e},tabindex:this.focusable?"0":undefined},this.icon&&this.position!=="below-nav"&&h("div",{key:"3993720ebce31589b986f5441c9f8f48719f6c97",class:"duet-alert-icon"},h("duet-icon",{key:"fc93bdce332702991e0dedf6eba0276c5d9c3e6d",size:"auto",name:this.icon,color:"currentColor"})),this.position==="below-nav"&&h("div",{key:"e469d1feb00ce1b223b7977a1b87228933556823",class:"duet-alert-icon below-nav"},h("duet-icon",{key:"8e3407af6309c0107a6e78107c965cf28cadbec3",size:"auto",name:this.iconVariationMap[this.variation],color:this.variation==="default"?"currentColor":this.variation})),h("span",{key:"e4e8494c19f24f7da051b98cef3c3efcdeb47031",id:this.descriptiveId},h("slot",{key:"1ce9a6e6c13e76f6fbf1317fa867d5400c79f41e"}))),this.hasShowMoreSlot&&h("duet-show-more",{key:"2106929166ce1b954dff45ed25b218ddce15f4d9",margin:"none",class:"duet-alert-show-more"},h("slot",{key:"331aa9d74f0b995b55b6b119e569411a07673c3e",name:"show-more"})),this.dismissible&&h("div",{key:"9cfd9e835660d246540ca7452de22bcd324d4682",class:"duet-alert-dismiss"},h("duet-button",{key:"fe950cf6c3d775160bd97b34e88ca71603a47d19",variation:"plain",accessibleLabel:this.accessibleLabel,accessibleDescribedBy:this.descriptiveId,color:a,iconSize:"medium",icon:"navigation-close",iconOnly:true,margin:"none",theme:this.theme,onClick:this.handleDismiss,fixed:true})))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetAlert.style=DuetAlertStyle0;export{DuetAlert as duet_alert};
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as registerInstance,h,H as Host,g as getElement}from"./index-1d0b7c66.js";import{i as inheritGlobalTheme}from"./themeable-component-860041c5.js";var duetBadgeCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{display:inline-block;width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fdecc9}.duet-badge.danger{background:#f7d2dc}.duet-badge.danger.duet-theme-turva{background:#f7d2dc}.duet-badge.success{background:#d6e6e1}.duet-badge.success.duet-theme-turva{background:#d6e6e1}.duet-badge.subtle{color:rgb(98, 121, 138);background:none;outline:1px solid rgb(212, 223, 229);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(113, 118, 132);background:none;outline-color:rgb(222, 224, 228)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#f9c153}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.subtle{border-color:rgb(181, 198, 208);outline-color:rgb(8, 42, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(199, 202, 207);outline-color:rgb(23, 28, 58)}';var DuetBadgeStyle0=duetBadgeCss;var DuetBadge=function(){function e(e){registerInstance(this,e);this.theme="";this.variation="default";this.background="normal";this.margin="auto"}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.render=function(){var e;var t="background-".concat(this.background);return h(Host,{key:"e5ff68cbd5bf1a9e34b5a74654fdec8b9ce7dabb",class:{"duet-m-0":this.margin==="none"}},h("span",{key:"3c19f7548eb36111bd247e764b137a85d2538f1d",class:(e={"duet-badge":true},e[this.variation]=true,e[t]=true,e["duet-theme-turva"]=this.theme==="turva",e)},h("slot",{key:"066ed983a29dc14e2616d83bcf36ed46a6eb05c4"})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetBadge.style=DuetBadgeStyle0;export{DuetBadge as duet_badge};
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{h,r as registerInstance,H as Host,g as getElement}from"./index-1d0b7c66.js";import{i as inheritGlobalTheme}from"./themeable-component-860041c5.js";import{h as hasSlot,c as checkNamedSlotElement}from"./slot-utils-4e5ed4eb.js";import{p as parsePossibleJSON}from"./string-utils-192eb3c8.js";import{g as getColorByName}from"./token-utils-b9ba8c5e.js";import"./tokens.module-2d02f5ff.js";var DuetPicture=function(e){var n=e.img,t=e.sources;return h("picture",null,t&&t.map((function(e){return h("source",{srcSet:e.srcset,media:e.media,type:e.type,sizes:e.sizes})})),h("img",Object.assign({},n)))};var duetBannerCss="*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 0px) {\n .duet-banner .visual {\n /* stylelint-enable */\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20344%22%20fill%3D%22none%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.72641e-07%2091.1902C0.000476976%2097.9034%200.626077%20104.726%201.92282%20111.592L42.7493%20327.771C43.8045%20333.358%2045.2667%20338.776%2047.0996%20344H160V0H51.1439C19.7799%2019.1253%200.00268143%2053.4178%202.72641e-07%2091.1749C-9.08807e-08%2091.18%20-9.08875e-08%2091.1851%202.72641e-07%2091.1902Z%22%20fill%3D%22%23E6F2F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E\");\n}\n.duet-banner .content {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 16px 20px 28px;\n}\n.duet-banner .content .description {\n hyphens: auto;\n}\n.duet-banner .action {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n align-items: flex-start;\n justify-content: flex-end;\n padding-top: 16px;\n}\n.duet-banner .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n.duet-banner .visual .image-container {\n width: 100%;\n height: auto;\n border-radius: 0;\n}\n.duet-banner .visual .icon {\n bottom: 30px;\n left: 15px;\n}\n.duet-banner.duet-theme-turva {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n.duet-banner.duet-theme-turva .visual .brand-shape {\n mask-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 160 344' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7920_3801)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.58983 142.533C0.751086 155.147 0.0746585 167.857 0.00796847 179.225C0.00263853 179.814 0 180.409 0 181.007C0 194.845 1.41172 210.806 3.58065 223.171C5.6528 234.934 8.58716 246.495 12.5981 257.779C21.2249 282.059 34.0151 304.109 50.8401 323.977C56.7824 330.993 63.0921 337.68 69.8162 344H160V0H65.0733C52.1771 10.7866 41.4339 23.4177 32.7528 37.7978C21.1154 57.0822 14.0367 77.9583 9.75424 99.7913C9.09214 103.157 8.55049 106.545 8.00901 109.933C7.75185 111.542 7.49474 113.15 7.22478 114.756C6.74308 117.618 6.24543 120.479 5.74776 123.34C4.6361 129.729 3.52432 136.12 2.58983 142.533Z' fill='%23F5F5F7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7920_3801'%3E%3Crect width='160' height='344' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A\");\n}\n.duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-disable */\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-medium .visual, .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-medium .visual .image-container, .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-medium .visual .image, .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-medium .visual .icon, .duet-banner.size-large .visual .icon {\n top: 36px;\n left: 168px;\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-medium .content, .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 28px 28px 28px 0;\n }\n .duet-banner.size-medium .action, .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n@container duet-banner-container (min-width: 586px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n.duet-banner.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-large .visual .icon {\n top: 40px;\n bottom: auto;\n left: 335px;\n }\n .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 48px 48px 48px 0;\n }\n .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n.duet-banner.no-image {\n display: flex;\n justify-content: center;\n padding: 36px 20px;\n}\n.duet-banner.no-image .visual {\n display: none;\n}\n.duet-banner.no-image .content {\n width: 100%;\n max-width: 720px;\n padding: 0;\n}\n.duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-enable */\n padding: 48px;\n }\n}";var DuetBannerStyle0=duetBannerCss;var DuetBanner=function(){function e(e){var n=this;registerInstance(this,e);this.checkCurrentSize=function(){var e=n.element.clientWidth;if(e<500||n.size==="small"){n.currentSize="small"}else if(e<900||n.size==="medium"){n.currentSize="medium"}else{n.currentSize="large"}n.setButtonSize()};this.setButtonSize=function(){if(n.hasActionSlot&&n.currentSize){var e=n.element.querySelectorAll("[slot='action'] duet-button, duet-button[slot='action']");for(var t=0,a=e;t<a.length;t++){var i=a[t];if(i&&i.getAttribute("size")===null&&n.currentSize!=="large"){i.size="small"}else if(i&&i.getAttribute("size")===null&&n.currentSize==="large"){i.size="medium"}}}};this.currentSize=undefined;this.theme="";this.margin="auto";this.backgroundColor="primary-lighter";this.iconColor="gray-lightest";this.iconBackgroundColor="primary";this.textColor="secondary";this.size="large";this.image="";this.sources=undefined;this.icon="";this.headingLevel="h2"}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.hasHeadingSlot=hasSlot(this.element,"heading");this.hasDescriptionSlot=hasSlot(this.element,"description");this.hasActionSlot=hasSlot(this.element,"action");checkNamedSlotElement(this.element,"heading","span");this.setButtonSize()};e.prototype.connectedCallback=function(){window.addEventListener("resize",this.checkCurrentSize)};e.prototype.disconnectedCallback=function(){window.removeEventListener("resize",this.checkCurrentSize)};e.prototype.componentDidRender=function(){this.checkCurrentSize()};e.prototype.render=function(){var e;var n=this.theme==="turva"&&this.backgroundColor==="primary-lighter"?"gray-lighter":this.backgroundColor;var t=getColorByName(n,this.theme);var a=getColorByName(this.textColor,this.theme);var i={backgroundColor:t};var r={img:{src:this.image,alt:"",loading:"lazy",class:"image",role:"presentation"},sources:parsePossibleJSON(this.sources)};return h(Host,{key:"b8716b8067524ae7e4c29e56cdc37d6219c7743a",class:{"duet-m-0":this.margin==="none"}},h("aside",{key:"7c4b420d5a203fa5066f4a71a801c9fc288e179c",class:(e={"duet-banner":true,"duet-theme-turva":this.theme==="turva"},e[this.currentSize]=true,e["size-medium"]=this.size==="medium"||this.size==="large",e["size-large"]=this.size==="large",e["no-image"]=!this.image,e),style:i},h("div",{key:"dd84b698336d0c159b692bde709c6f10bfe414bf",class:"visual"},h("div",{key:"c92d3fdabc120fa760c30ae44e90a29439817940",class:"image-container"},this.image&&h(DuetPicture,Object.assign({key:"bab1712aa5f1ab77a6c96babc607a9a9d4359dd2"},r))),1>2,h("div",{key:"411fc99b5c017a4b89f4aa375d6725e9e85314e6",style:i,class:"brand-shape"})),h("div",{key:"6ba154b92216b98f00b33d740175760049157d14",class:"content"},this.hasHeadingSlot&&h("div",{key:"ba3ab430999ab6f0823ab957b06bcc4077799c5a",class:"heading"},h("duet-heading",{key:"256ed05f27e6c6c3ec987d4039d6a7caf713458b",theme:this.theme,level:this.headingLevel,"visual-level":this.currentSize==="large"?"h2":"h3","fixed-size":true,margin:"none",color:this.textColor},h("span",{key:"197dbc447ca8910b13c8317cd00507e034e84e6f"},h("slot",{key:"cba3fcc030b0412d981e7cc94626e90aa628cb25",name:"heading"})))),this.hasDescriptionSlot&&h("div",{key:"dbcc6142fe33db74bccac1d54a1fe2a8e8ccc064",class:"description",style:{color:a}},h("slot",{key:"1806ab5f5be1ee076c3978f1fcb676cef6b62893",name:"description"})),this.hasActionSlot&&h("div",{key:"bf9fd56968048a53d15cc1849c2a3b4619851c49",class:"action"},h("slot",{key:"367d2a86cb83fe2d2bdb91ae1e133453e35ce895",name:"action"})))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetBanner.style=DuetBannerStyle0;export{DuetBanner as duet_banner};
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as registerInstance,h,H as Host,g as getElement}from"./index-1d0b7c66.js";import{i as inheritGlobalTheme}from"./themeable-component-860041c5.js";import{s as subscribeTabbingChange,u as unsubscribeTabbingChange}from"./keyboard-utils-439bcc8b.js";import{a as getLanguage,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver,g as getLocaleString}from"./language-utils-14969cef.js";import"./string-utils-192eb3c8.js";var actionArrowRightSmall={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 duetBreadcrumbCss="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display: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;min-width:0.375rem;height:0.375rem;min-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 DuetBreadcrumbStyle0=duetBreadcrumbCss;var DuetBreadcrumb=function(){function e(e){registerInstance(this,e);this.currentCrumb={fi:"disabled. Nykyinen sivu",sv:"disabled. Visa mer",en:"disabled. Nuvarande sida"};this.hasSlottedContent=false;this.theme="";this.language=getLanguage();this.href="";this.icon="arrow-right-small-icon";this.iconSize="x-small";this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.connectedCallback=function(){connectLanguageChangeObserver(this);subscribeTabbingChange(this);this.hasSlottedContent=Array.from(this.element.childNodes).length>0};e.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this);unsubscribeTabbingChange(this)};e.prototype.render=function(){var e;return h(Host,{key:"2d557fd06bc2f923fc3a1d6076008cb9cdadad39",role:"listitem"},h("div",{key:"a38aac901dc9b016d5efd3ba22b34d256655e282",class:"container"},this.icon==="arrow-right-small-icon"&&h("duet-icon",{key:"285c0b2cbdedbaa26bd587bc1a72e92cce833f8b",class:"duet-breadrumbs-arrow",size:"auto",icon:actionArrowRightSmall.svg,margin:"none",color:"currentColor"}),h("a",{key:"c17c5fbf1f84df0766452a9f06119fa4f7880949",class:{"duet-breadcrumb":true,"duet-theme-turva":this.theme==="turva"},href:this.href?this.href:undefined,"aria-label":"".concat(!this.href?"".concat(getLocaleString(this.currentCrumb)," "):"").concat((e=this.accessibleLabel)!==null&&e!==void 0?e:this.element.innerHTML),role:"link"},this.icon!=="arrow-right-small-icon"&&this.icon&&[h("duet-icon",{key:"e42d427cb7512929790a36cf7bcb8309ad615ad7",size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),this.hasSlottedContent&&h("duet-spacer",{key:"e993ee67d5a14e88e808ad636eb8778d2ed334fd",size:"x-small",direction:"horizontal"})],h("slot",{key:"c0a6bb1e1aed7da544851e852023f0139a328022"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetBreadcrumb.style=DuetBreadcrumbStyle0;export{DuetBreadcrumb as duet_breadcrumb};
@@ -1,4 +0,0 @@
1
- var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var a=0,o=r.length,i;a<o;a++){if(i||!(a in r)){if(!i)i=Array.prototype.slice.call(r,0,a);i[a]=r[a]}}return e.concat(i||Array.prototype.slice.call(r))};
2
- /*!
3
- * Built with Duet Design System
4
- */import{r as registerInstance,h,H as Host,g as getElement}from"./index-1d0b7c66.js";import{i as inheritGlobalTheme}from"./themeable-component-860041c5.js";import{g as getLocaleString}from"./language-utils-14969cef.js";import{g as getColorByName}from"./token-utils-b9ba8c5e.js";import"./string-utils-192eb3c8.js";import"./tokens.module-2d02f5ff.js";var duetBreadcrumbsCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}::slotted(*){font-weight:400}::slotted(:last-child){font-weight:600}:host([variation=plain]) ::slotted(:last-child){font-weight:400}.duet-breadcrumbs{position:relative;display:flex;align-items:center;justify-content:center;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-breadcrumbs .container{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;min-height:36px;margin:0 28px}.duet-breadcrumbs .list{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px 0;color:inherit;list-style:none}.duet-breadcrumbs .bottom-border{position:absolute;bottom:0;display:none;width:100%;height:1px}.duet-breadcrumbs.header{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-breadcrumbs.header .list duet-breadcrumb[href]:hover{color:rgb(0, 75, 129)}.duet-breadcrumbs.header .bottom-border--nav{display:block;background:rgb(212, 223, 229)}.duet-breadcrumbs.header.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-breadcrumbs.header.duet-theme-turva ol duet-breadcrumb[href]:hover{color:rgb(126, 2, 35)}.duet-breadcrumbs.footer{color:rgb(255, 255, 255);background:rgb(8, 42, 77)}@media (min-width: 64.0625em){.duet-breadcrumbs.footer{justify-content:flex-start}}@media (min-width: 76.25em){.duet-breadcrumbs.footer{justify-content:center}}.duet-breadcrumbs.footer .container{max-width:1110px}@media (min-width: 62em){.duet-breadcrumbs.footer .container{margin:0 72px 0 48px}}.duet-breadcrumbs.footer .list{padding:20px 0}@media (min-width: 62em){.duet-breadcrumbs.footer .list{padding:20px 8px}}.duet-breadcrumbs.footer .list duet-breadcrumb[href]:hover{text-decoration:underline}.duet-breadcrumbs.footer .bottom-border--container{display:block;background:rgba(255, 255, 255, 0.2)}.duet-breadcrumbs.footer.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(198, 12, 48)}.duet-breadcrumbs.plain .container{max-width:none;min-height:auto;margin:0}.duet-breadcrumbs.plain .list{padding:0}.duet-breadcrumbs.plain .bottom-border{display:none}';var DuetBreadcrumbsStyle0=duetBreadcrumbsCss;var DuetBreadcrumbs=function(){function e(e){registerInstance(this,e);this.observers=[];this.breadcrumbsAriaLabel=getLocaleString({fi:"Murupolku",sv:"Ströbröd",en:"Breadcrumbs"});this.children=undefined;this.theme="";this.variation="header";this.color=""}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.children=Array.from(this.element.children)};e.prototype.connectedCallback=function(){var e=this;Array.from(this.element.children).forEach((function(r){var t=new MutationObserver((function(){return e.children=Array.from(e.element.children)}));t.observe(r,{childList:true,subtree:true,attributes:true,characterData:true});e.observers=__spreadArray(__spreadArray([],e.observers,true),[t],false)}))};e.prototype.disconnectedCallback=function(){this.observers.forEach((function(e){return e.disconnect()}));this.observers=[]};e.prototype.render=function(){var e;var r=getColorByName(this.color);return h(Host,{key:"b29fa1c29f832b5173a6f30e3e81383b816d0b18"},h("nav",{key:"f7e7663d0a602a4c9f02468d54113cf3350e85a1","aria-label":this.breadcrumbsAriaLabel,class:(e={"duet-breadcrumbs":true,"duet-theme-turva":this.theme==="turva"},e[this.variation]=true,e)},h("div",{key:"1424535cfc3acfc02cd33286a9842c59b4483d06",class:"container"},h("div",{key:"3bed0500aa7c9f598a4c0fc57c037899f0cc9039",role:"list",class:"list",style:{color:r}},h("slot",{key:"6e4cde5793075f7a75085823737ecfebf7b407a3"})),h("div",{key:"57d436b5f0aab642c590c4af70078e26791405eb",class:"bottom-border bottom-border--container"})),h("div",{key:"d2ec591e3d2739dbf0a59c6216008b1ced2e5a48",class:"bottom-border bottom-border--nav"})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetBreadcrumbs.style=DuetBreadcrumbsStyle0;export{DuetBreadcrumbs as duet_breadcrumbs};
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,o,n){function u(t){return t instanceof o?t:new o((function(e){e(t)}))}return new(o||(o=Promise))((function(o,r){function i(t){try{d(n.next(t))}catch(t){r(t)}}function a(t){try{d(n["throw"](t))}catch(t){r(t)}}function d(t){t.done?o(t.value):u(t.value).then(i,a)}d((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var o={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,u,r,i;return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(t){return function(e){return d([t,e])}}function d(a){if(n)throw new TypeError("Generator is already executing.");while(i&&(i=0,a[0]&&(o=0)),o)try{if(n=1,u&&(r=a[0]&2?u["return"]:a[0]?u["throw"]||((r=u["return"])&&r.call(u),0):u.next)&&!(r=r.call(u,a[1])).done)return r;if(u=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:o.label++;return{value:a[1],done:false};case 5:o.label++;u=a[1];a=[0];continue;case 7:a=o.ops.pop();o.trys.pop();continue;default:if(!(r=o.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){o=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(a[0]===6&&o.label<r[1]){o.label=r[1];r=a;break}if(r&&o.label<r[2]){o.label=r[2];o.ops.push(a);break}if(r[2])o.ops.pop();o.trys.pop();continue}a=e.call(t,o)}catch(t){a=[6,t];u=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-1d0b7c66.js";import{i as inheritGlobalTheme}from"./themeable-component-860041c5.js";import{D as DuetStringsExternalDefaults,b as DuetStringsLoadingDefaults}from"./common-strings-af765cad.js";import{a as getLanguage,g as getLocaleString,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-14969cef.js";import{g as getColorByName}from"./token-utils-b9ba8c5e.js";import"./string-utils-192eb3c8.js";import"./tokens.module-2d02f5ff.js";var duetButtonCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;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(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}: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;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;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;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:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, outline 300ms ease, padding 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.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:12.5px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:18px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:18px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:10px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:14px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:14px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.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){min-width:48px}.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-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:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(222, 224, 228)}.duet-button.default:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48);outline-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(222, 224, 228) !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(126, 2, 35);border-color:rgb(126, 2, 35)}.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(8, 42, 77) !important;background:transparent;border-color:rgb(8, 42, 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(212, 223, 229) !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(222, 224, 228) !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.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 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(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.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.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled]{color:rgb(98, 121, 138) !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(222, 224, 228) !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(126, 2, 35) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !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:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.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(222, 224, 228)}.duet-button.square:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.square:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !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(143, 147, 158) !important;cursor:not-allowed;background:rgb(222, 224, 228) !important;border-color:rgb(222, 224, 228) !important;outline-color:rgb(222, 224, 228) !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 DuetButtonStyle0=duetButtonCss;var DuetButton=function(){function t(t){var e=this;registerInstance(this,t);this.duetFocus=createEvent(this,"duetFocus",7);this.duetBlur=createEvent(this,"duetBlur",7);this.proxyButtonSetUp=function(){var t=e.element.querySelector("button[slot=proxybutton]");var o=t||document.createElement("button");if(e.url){if(t){t.remove()}e.proxyButton=null;return}o.setAttribute("slot","proxybutton");o.style.display="none";o.type=e.getButtonType();o.disabled=e.disabled;o.setAttribute("form",e.form);if(!e.form){o.removeAttribute("form")}if(e.name!=null){o.name=e.name}else{o.removeAttribute("name")}if(e.value!=null){o.value=e.value}else{o.removeAttribute("value")}if(!t){e.element.appendChild(o)}e.proxyButton=o};this.handleClick=function(t){if(!e.url&&(e.element.closest("form")||e.form)&&t.target===e.element){t.preventDefault();e.proxyButton.click()}};this.onFocus=function(){e.duetFocus.emit()};this.onBlur=function(){e.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.form=undefined;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=getLanguage();this.accessibleLabelExternalDefaults=DuetStringsExternalDefaults;this.accessibleLabelExternal=getLocaleString(this.accessibleLabelExternalDefaults);this.accessibleLabelLoadingDefaults=DuetStringsLoadingDefaults;this.accessibleLabelLoading=getLocaleString(this.accessibleLabelLoadingDefaults);this.icon="";this.color="";this.iconRight=false;this.iconSize="medium";this.size="medium";this.iconOnly=false;this.url=undefined}t.prototype.componentWillLoad=function(){inheritGlobalTheme(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(){connectLanguageChangeObserver(this,[{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"},{prop:"accessibleLabelLoading",defaults:"accessibleLabelLoadingDefaults"}])};t.prototype.disconnectedCallback=function(){if(this.proxyButton){this.proxyButton=null}disconnectLanguageChangeObserver(this)};t.prototype.componentDidRender=function(){if(this.disabled===false){this.element.removeAttribute("disabled")}this.proxyButtonSetUp()};t.prototype.getButtonType=function(){return this.submit?"submit":"button"};t.prototype.getButtonIconSize=function(){switch(this.iconSize){case"small":return"small";case"medium-small":return"medium-small";case"medium":return"medium";case"large":return"large";default:return"medium"}};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,o,n;var u=this;var r,i;var a=this.external&&this.url;var d=a?"action-new-window":this.icon;var s=a?true:this.iconRight;var b=h("span",{key:"5a0c6410ac691a86fc5015ab7db83c969dc3bad1",class:{"duet-button-contents":true,"icon-right":s},style:{color:getColorByName(this.color)}},d&&h("span",{key:"e40d495dc3100c27f283c4e35c5e9a27c98464c2","aria-hidden":"true",class:(t={"duet-button-icon":true,left:!s,right:s},t[this.getButtonIconSize()]=true,t)},h("duet-icon",{key:"96a0389f3704e534f2c4da39243f6f7b87038f6f",size:"auto",margin:"none",name:d,color:"currentColor"})),h("span",{key:"cbc6c347c96296ed4f4afa3963a12495fea09884",class:"duet-button-contents-slot"},h("slot",{key:"894a6a4e9f03f813a7e8918abf87ef9ceabecbc3"})));var l=this.size=="medium"||this.size=="small"||this.size=="x-small"?this.size:"medium";var p={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"},e["duet-button-size-".concat(l)]=true,e["duet-button-icon-only"]=this.iconOnly,e["duet-button-text-center"]=this.centerText,e["duet-button-negative"]=this.negative||this.variation==="negative",e[this.variation]=true,e["input-button"]=(r=this.variation)===null||r===void 0?void 0:r.startsWith("input-button"),e.disabled=this.disabled,e.icon=!!d,e["icon-right"]=s,e["icon-left"]=!!d&&!s,e[this.getButtonIconSize()]=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 h(Host,{key:"24621240c8dcf778398f04e79c780bade455090f",onClick:this.handleClick,class:(o={"duet-m-0":this.margin==="none","duet-small":this.size==="small","duet-x-small":this.size==="x-small","duet-fixed":this.fixed,"duet-expand":this.expand},o[this.variation]=true,o["input-button"]=(i=this.variation)===null||i===void 0?void 0:i.startsWith("input-button"),o)},h("span",{key:"ca827a33826b3c42662ccd5a079d8327b9b6175e",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?h("a",Object.assign({},p,{href:this.url,target:this.external?"_blank":"_self",rel:this.external?"noopener":undefined}),b,this.external&&h("duet-visually-hidden",null,", ",this.accessibleLabelExternal)):h("button",Object.assign({},p,{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}),b,this.loading&&h("duet-visually-hidden",null," ",this.accessibleLabelLoading," "),h("slot",{name:"proxybutton"})),this.loading&&h("duet-spinner",{key:"7e1e99a1cc8724ea6db15316084259e62926b82b",color:"currentColor"})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();DuetButton.style=DuetButtonStyle0;var duetSpinnerCss=':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 DuetSpinnerStyle0=duetSpinnerCss;var DuetSpinner=function(){function t(t){registerInstance(this,t);this.accessibleLabel=undefined;this.color="gray-lightest";this.size="small";this.theme=""}t.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};t.prototype.render=function(){var t;var e=this.color==="currentColor"?"currentColor":getColorByName(this.color);return h(Host,{key:"f415bd43d421b7106fdbd90bd2c187879ff17c17",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"}},h("div",{key:"34b4c350a642f331b9776f5ce12e3c7a2990b3d7",class:(t={"duet-spinner":true},t[this.size]=true,t),style:{color:e},"aria-label":this.accessibleLabel}))};return t}();DuetSpinner.style=DuetSpinnerStyle0;export{DuetButton as duet_button,DuetSpinner as duet_spinner};
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as registerInstance,h,H as Host,g as getElement}from"./index-1d0b7c66.js";import{i as inheritGlobalTheme}from"./themeable-component-860041c5.js";import{h as hasSlot,c as checkNamedSlotElement}from"./slot-utils-4e5ed4eb.js";var duetCalloutCss=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}blockquote,figure{margin:0}.duet-callout{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-callout .container{display:flex;flex-direction:column;gap:8px;align-items:center;max-width:688px;text-align:center}.duet-callout .callout-icon{width:50px;padding-bottom:8px}.duet-callout blockquote{font-size:2.7vw;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 37.037037037rem){.duet-callout blockquote{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-callout blockquote{font-size:1.25rem}}.duet-callout .author{color:rgb(8, 42, 77)}.duet-callout.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}.duet-callout.duet-theme-turva .author,.duet-callout.duet-theme-turva blockquote{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}';var DuetCalloutStyle0=duetCalloutCss;var DuetCallout=function(){function e(e){registerInstance(this,e);this.hasAuthorSlot=false;this.theme="";this.margin="auto"}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.hasAuthorSlot=hasSlot(this.element,"author");checkNamedSlotElement(this.element,"author","span")};e.prototype.render=function(){var e='<svg viewBox="0 0 22 17" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>\n </svg>\n ';return h(Host,{key:"53420cb240f39349ae66450dc91f20a4cb43f6ad"},h("div",{key:"9d1c788d25eb614f0dd7887410b62873e5b6623d",class:{"duet-callout":true,"duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none"}},h("figure",{key:"9e9ee10955241a7b2996f03d1afa66fb829785aa",class:"container"},h("duet-icon",{key:"7a39335b4292024aa8158854a0a5bffc778f4732",class:"callout-icon",shape:"brand-rotated",background:"primary-lighter","background-opacity":"0.75","background-rotation":this.theme==="turva"?"0":"7",color:"secondary",icon:e,size:"auto",margin:"none",theme:this.theme}),h("blockquote",{key:"2e1e5a9554f5d68e7c0d73a0a1ccb12a89998c67"},h("slot",{key:"272543bd9df5201872a805c824006e7af13892f2"})),this.hasAuthorSlot&&h("figcaption",{key:"a8bed17504c945ecba4103eee63602200d28b9a3",class:"author"},h("span",{key:"565ae8d03018d87763e3c4bb7ae8a551b98f256e"},"— "),h("slot",{key:"235af7e37f6b961bd784ecc87c26a2c0c82b6268",name:"author"})))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetCallout.style=DuetCalloutStyle0;export{DuetCallout as duet_callout};
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function r(t){try{s(i.next(t))}catch(t){o(t)}}function d(t){try{s(i["throw"](t))}catch(t){o(t)}}function s(t){t.done?n(t.value):a(t.value).then(r,d)}s((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function d(t){return function(e){return s([t,e])}}function s(d){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,d[0]&&(n=0)),n)try{if(i=1,a&&(o=d[0]&2?a["return"]:d[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,d[1])).done)return o;if(a=0,o)d=[d[0]&2,o.value];switch(d[0]){case 0:case 1:o=d;break;case 4:n.label++;return{value:d[1],done:false};case 5:n.label++;a=d[1];d=[0];continue;case 7:d=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!o||d[1]>o[0]&&d[1]<o[3])){n.label=d[1];break}if(d[0]===6&&n.label<o[1]){n.label=o[1];o=d;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(d);break}if(o[2])n.ops.pop();n.trys.pop();continue}d=e.call(t,n)}catch(t){d=[6,t];a=0}finally{i=o=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
- */import{r as registerInstance,h,H as Host,g as getElement,F as Fragment}from"./index-1d0b7c66.js";import{i as inheritGlobalTheme}from"./themeable-component-860041c5.js";import{s as sanitizeString}from"./string-utils-192eb3c8.js";import{g as getColorByName,a as breakpointToToken}from"./token-utils-b9ba8c5e.js";import{a as actionNewWindowSmall}from"./action-new-window-small-1945be91.js";import{D as DuetStringsExternalDefaults,c as DuetStringsDownloadLinkDefaults}from"./common-strings-af765cad.js";import{g as getAccessibleLinkLabel}from"./a11y-utils-8fc393f6.js";import{a as getLanguage,g as getLocaleString,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-14969cef.js";import{c as createID}from"./create-id-149a1b6d.js";import"./tokens.module-2d02f5ff.js";import"./slot-utils-4e5ed4eb.js";var duetCaptionCss=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(98, 121, 138);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(143, 147, 158)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}';var DuetCaptionStyle0=duetCaptionCss;var DuetCaption=function(){function t(t){registerInstance(this,t);this.theme="";this.margin="auto";this.selected=false;this.size="medium"}t.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};t.prototype.render=function(){return h(Host,{key:"3e38c62d454dfed7441c080efc8d3d836310bee6",class:{"duet-caption":true,"duet-caption-selected":this.selected,"duet-caption-small":this.size==="small","duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none"}},h("slot",{key:"a6a279b8c145c11eb9452b6b90e224a032a2232f"}))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();DuetCaption.style=DuetCaptionStyle0;var duetHeadingCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;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-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(212, 223, 229)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(98, 121, 138)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h0.fixed-size{font-size:4.5rem}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h1.fixed-size{font-size:3rem}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h2.fixed-size{font-size:2.25rem}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h3.fixed-size{font-size:1.5rem}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h4.fixed-size{font-size:1.25rem}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h5.fixed-size{font-size:1.25rem}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}';var DuetHeadingStyle0=duetHeadingCss;var DuetHeading=function(){function t(t){registerInstance(this,t);this.level="h2";this.margin="auto";this.visualLevel=undefined;this.border=false;this.weight="auto";this.color="";this.theme="";this.hyphenate=false;this.fixedSize=false}t.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};t.prototype.render=function(){var t;var e=sanitizeString(this.level);var n=getColorByName(this.color);return h(e,{key:"d6111a5efd3a6e43fc10dc2223468788376d74b1",class:(t={"duet-heading":true,"duet-heading-border":this.border!==false,"duet-heading-border-solid":this.border==="solid","duet-normal":this.weight==="normal","duet-semibold":this.weight==="semibold","duet-heading-hyphenate":this.hyphenate,"duet-m-0":this.margin==="none"},t[this.visualLevel?this.visualLevel:this.level]=true,t["duet-theme-turva"]=this.theme==="turva",t["fixed-size"]=this.fixedSize,t),style:{color:n},part:"duet-heading"},h("slot",{key:"4ee1f23ec7f6b46353e873baf5321b15de2e2933"}))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();DuetHeading.style=DuetHeadingStyle0;var actionArrowRight={title:"action-arrow-right",tags:"action arrow right caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M5.499 24a.752.752 0 0 1-.53-1.281L15.689 12 4.969 1.28c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53c.141-.142.33-.22.53-.22s.389.078.53.22l10.72 10.72a1.5 1.5 0 0 1 .001 2.119L6.029 23.78a.743.743 0 0 1-.53.22z"/></svg>'};var actionDownloadSmall={title:"action-download-small",tags:"action download arrow down small",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.193 1.7c0-.658-.542-1.2-1.2-1.2-.657 0-1.199.542-1.199 1.2v8.922l-2.778-2.6a1.2 1.2 0 0 0-1.64 1.751l4.797 4.498c.458.43 1.183.43 1.64 0l4.798-4.498c.242-.228.379-.544.379-.875a1.2 1.2 0 0 0-2.02-.876l-2.777 2.603V1.699Z"/><path d="M1.5 13.544a1.5 1.5 0 0 1 1.498 1.5v1.498a1.61 1.61 0 0 0 .418 1.096h-.003c0-.002.036.032.13.082.39.194.818.305 1.254.321H19.19a3.085 3.085 0 0 0 1.255-.32c.096-.051.13-.085.13-.085.27-.3.42-.69.414-1.096v-1.5c0-.822.677-1.498 1.5-1.498.822 0 1.499.676 1.499 1.499v1.499c0 1.16-.43 2.293-1.224 3.142-.518.557-1.235.876-1.791 1.056a5.976 5.976 0 0 1-1.783.302H4.797a6.053 6.053 0 0 1-1.782-.302c-.556-.18-1.274-.5-1.792-1.056A4.613 4.613 0 0 1 0 16.542v-1.499a1.5 1.5 0 0 1 1.5-1.499Z"/></svg>'};var actionNewWindow={title:"action-new-window",tags:"arrow open new window tab external link square box rectangle action",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M10.25 2a.75.75 0 1 1 0 1.5h-6.5A2.252 2.252 0 0 0 1.5 5.75v14.5a2.252 2.252 0 0 0 2.25 2.25h14.5a2.252 2.252 0 0 0 2.25-2.25v-6.5a.75.75 0 0 1 1.5 0v6.5A3.754 3.754 0 0 1 18.25 24H3.75A3.754 3.754 0 0 1 0 20.25V5.75A3.754 3.754 0 0 1 3.75 2zm12.985-2c.1 0 .198.02.29.058l.025.011a.726.726 0 0 1 .15.091l.066.059a.755.755 0 0 1 .109.138l.051.1c.04.092.06.192.06.293l-.001 6.363c0 .2-.078.389-.22.53a.743.743 0 0 1-.53.22.743.743 0 0 1-.53-.22.743.743 0 0 1-.22-.53V2.559L15.28 9.764a.75.75 0 0 1-1.06-1.06l7.204-7.205h-4.553a.744.744 0 0 1-.75-.75c0-.2.078-.388.22-.53A.743.743 0 0 1 16.87 0z"/></svg>'};var duetLinkCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;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;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-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(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__icon{display:flex}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.card:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.card{border-color:rgb(228, 236, 239);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}';var DuetLinkStyle0=duetLinkCss;var DuetLink=function(){function t(t){registerInstance(this,t);this.variation="default";this.accessibleLabel=undefined;this.language=getLanguage();this.accessibleLabelExternalDefaults=DuetStringsExternalDefaults;this.accessibleLabelExternal=getLocaleString(this.accessibleLabelExternalDefaults);this.accessibleLabelDownloadDefaults=DuetStringsDownloadLinkDefaults;this.accessibleLabelDownload=getLocaleString(this.accessibleLabelDownloadDefaults);this.accessibleExpanded=undefined;this.accessiblePopup="false";this.identifier=undefined;this.theme="";this.url="#";this.external=false;this.download=null;this.tabToLink=false;this.icon=undefined;this.iconColor="currentColor";this.iconBackground=null;this.iconResponsive=false;this.margin="auto";this.padding="auto";this.isSmallScreen=false;this.isMediumScreen=false}t.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.initMediaQuery();this.resolvedDownload=this.resolveDownload();if(this.variation==="button"&&this.url==="#"){this.url=undefined}};t.prototype.connectedCallback=function(){connectLanguageChangeObserver(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})};t.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this);this.destroyMediaQuery()};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.nativeLink.focus(t);return[2]}))}))};t.prototype.initMediaQuery=function(){this.screenTestBound=this.screenTest.bind(this);this.mediaQuerySmall=window.matchMedia(breakpointToToken["xx-small"]);this.mediaQueryMedium=window.matchMedia(breakpointToToken["medium"]);this.isSmallScreen=this.mediaQuerySmall.matches;this.isMediumScreen=this.mediaQueryMedium.matches;this.mediaQuerySmall.addEventListener("change",this.screenTestBound);this.mediaQueryMedium.addEventListener("change",this.screenTestBound)};t.prototype.destroyMediaQuery=function(){if(this.mediaQuerySmall){this.mediaQuerySmall.removeEventListener("change",this.screenTestBound)}if(this.mediaQueryMedium){this.mediaQueryMedium.removeEventListener("change",this.screenTestBound)}};t.prototype.screenTest=function(t){this.isSmallScreen=t.matches;this.isMediumScreen=t.matches};t.prototype.resolveDownload=function(){if(this.download===""){return this.url.split("/").pop()}return this.download};t.prototype.renderDefaultContent=function(){return h(Fragment,null,h("span",{class:"duet-link-content",part:"duet-link-content"},h("slot",null)),(this.resolvedDownload||this.external)&&this.variation==="default"&&h(Fragment,null,h("span",{class:"duet-link-icon-tail"}," ",h("duet-icon",{icon:this.resolvedDownload?actionDownloadSmall.svg:actionNewWindowSmall.svg,size:"xx-small",margin:"none",color:"currentColor"}))))};t.prototype.renderBlockContent=function(){return h(Fragment,null,this.icon&&h("span",{class:"block__icon"},h("duet-icon",{size:this.iconResponsive?this.isSmallScreen?"medium":"large":"x-small",name:this.icon,margin:"none",color:this.iconColor})),h("span",{class:"block__content"},this.renderDefaultContent()),h("span",{class:"block__chevron",part:"block-chevron"},h("duet-icon",{class:"block__chevron-icon",icon:this.external?actionNewWindow.svg:actionArrowRight.svg,size:"x-small",margin:"none",color:"primary-dark"})))};t.prototype.renderButtonCardContent=function(){var t=this;var e={"background-color":getColorByName(this.iconBackground,this.theme)};var n=function(){if(t.variation==="button"){return t.iconBackground&&t.isMediumScreen?"medium":"small"}return t.isMediumScreen?"large":"medium"};return h(Fragment,null,this.icon&&h("span",{class:"icon-wrap",style:e},h("duet-icon",{size:n(),name:this.icon,margin:"none",color:this.iconColor})),h("div",{class:"duet-link-content",part:"duet-link-content"},h("slot",null)),h("span",{class:"chevron-wrap"},h("duet-icon",{class:"block__chevron-icon",icon:this.external?actionNewWindow.svg:actionArrowRight.svg,size:"x-small",margin:"none",color:"primary-dark"})))};t.prototype.renderContent=function(){switch(this.variation){case"default":return this.renderDefaultContent();case"block":return this.renderBlockContent();case"button":case"card":return this.renderButtonCardContent()}};t.prototype.render=function(){var t,e;var n=this;var i=!this.url?"button":"a";var a=i==="button";return h(Host,{key:"4daa11135671269c348f387b30b1252c5f12b2ee",class:(t={},t["duet-link-".concat(this.variation)]=true,t["duet-m-0"]=this.margin==="none",t)},h(i,{key:"7e2c94f2a8695bd756e4efbb074f42614a342ca2",href:this.url,class:(e={"duet-link":true,"duet-link-is-external":this.external,"duet-link-is-download":!!this.download,"duet-link-has-icon":!!this.icon,"duet-link-has-icon-background":!!this.iconBackground,"duet-tab-to-link":this.tabToLink,"duet-theme-turva":this.theme==="turva","duet-p-0":this.padding==="none"},e[this.padding]=true,e[this.variation]=true,e),target:this.download||!this.url?null:this.external?"_blank":"_self",download:this.resolvedDownload,"aria-label":this.url&&getAccessibleLinkLabel(this)||this.accessibleLabel,"aria-expanded":this.accessibleExpanded!=null&&a?this.accessibleExpanded.toString():undefined,"aria-haspopup":this.accessiblePopup!=null&&a?this.accessiblePopup.toString():undefined,id:this.identifier,ref:function(t){return n.nativeLink=t},part:"duet-link",rel:this.external?"noopener":undefined},this.renderContent()))};Object.defineProperty(t,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();DuetLink.style=DuetLinkStyle0;var duetParagraphCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-paragraph{margin-bottom:16px !important;display:block;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-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}.duet-paragraph.duet-p-0{padding:0 !important}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.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-paragraph.duet-paragraph-small{font-size:0.875rem}.duet-paragraph.duet-paragraph-semi-bold{font-weight:600}.duet-paragraph.duet-paragraph-bold{font-weight:700}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.intro{font-size:2.7vw;margin-bottom:28px !important;-webkit-hyphens:inherit;hyphens:inherit}@media (max-width: 37.037037037rem){.duet-paragraph.intro{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-paragraph.intro{font-size:1.25rem}}.duet-paragraph.intro.duet-m-0{margin:0 !important}::slotted(a){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;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;transition:300ms ease}::slotted(a).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(198, 12, 48)}::slotted(a):hover{color:rgb(0, 75, 129);text-decoration:none}::slotted(a):hover.duet-theme-turva{color:rgb(126, 2, 35)}::slotted(a):active{opacity:0.75;transition:none}';var DuetParagraphStyle0=duetParagraphCss;var DuetParagraph=function(){function t(t){registerInstance(this,t);this.id=createID("duet-paragraph");this.theme="";this.margin="auto";this.size="medium";this.weight=undefined;this.variation="default";this.color=""}t.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};t.prototype.render=function(){var t;var e=getColorByName(this.color);return h(Host,{key:"4cdc1e2db953dc363eb77f14bf5c8473cd22c7ca","aria-describedby":this.id},h("p",{key:"6fc77faf20566dc0442bb36f20079aeca48ea41f",id:this.id,class:(t={"duet-paragraph":true,"duet-paragraph-small":this.size==="small","duet-paragraph-semi-bold":this.weight==="semi-bold","duet-paragraph-bold":this.weight==="bold","duet-m-0":this.margin==="none"},t[this.variation]=true,t["duet-theme-turva"]=this.theme==="turva",t),style:{color:e},part:"duet-paragraph"},h("slot",{key:"df2a9f9c672fe560e62f97addbef69d72b13fefe"})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();DuetParagraph.style=DuetParagraphStyle0;export{DuetCaption as duet_caption,DuetHeading as duet_heading,DuetLink as duet_link,DuetParagraph as duet_paragraph};
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(a,e,t,i){function d(a){return a instanceof t?a:new t((function(e){e(a)}))}return new(t||(t=Promise))((function(t,r){function n(a){try{p(i.next(a))}catch(a){r(a)}}function o(a){try{p(i["throw"](a))}catch(a){r(a)}}function p(a){a.done?t(a.value):d(a.value).then(n,o)}p((i=i.apply(a,e||[])).next())}))};var __generator=this&&this.__generator||function(a,e){var t={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,d,r,n;return n={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function o(a){return function(e){return p([a,e])}}function p(o){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,o[0]&&(t=0)),t)try{if(i=1,d&&(r=o[0]&2?d["return"]:o[0]?d["throw"]||((r=d["return"])&&r.call(d),0):d.next)&&!(r=r.call(d,o[1])).done)return r;if(d=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;d=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(r=t.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){t.label=o[1];break}if(o[0]===6&&t.label<r[1]){t.label=r[1];r=o;break}if(r&&t.label<r[2]){t.label=r[2];t.ops.push(o);break}if(r[2])t.ops.pop();t.trys.pop();continue}o=e.call(a,t)}catch(a){o=[6,a];d=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(a,e,t){if(t||arguments.length===2)for(var i=0,d=e.length,r;i<d;i++){if(r||!(i in e)){if(!r)r=Array.prototype.slice.call(e,0,i);r[i]=e[i]}}return a.concat(r||Array.prototype.slice.call(e))};
2
- /*!
3
- * Built with Duet Design System
4
- */import{r as registerInstance,c as createEvent,h,F as Fragment,H as Host,g as getElement}from"./index-1d0b7c66.js";import{i as inheritGlobalTheme}from"./themeable-component-860041c5.js";import{c as createID}from"./create-id-149a1b6d.js";import{i as isKeyboardClick,s as subscribeTabbingChange,u as unsubscribeTabbingChange}from"./keyboard-utils-439bcc8b.js";import{s as sanitizeString}from"./string-utils-192eb3c8.js";import{g as getColorByName}from"./token-utils-b9ba8c5e.js";import"./tokens.module-2d02f5ff.js";var duetHeadingLevels=["h1","h2","h3","h4","h5","h6"];var duetBlock="div";var actionArrowUp={title:"action-arrow-up",tags:"action arrow up caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 17.939a.752.752 0 0 1-.53-1.281L10.94 5.94c.283-.284.659-.44 1.059-.44.401 0 .777.156 1.06.438l10.721 10.72a.752.752 0 0 1-.53 1.281.743.743 0 0 1-.53-.22L12 7 1.28 17.719a.743.743 0 0 1-.53.22z"/></svg>'};var duetCardCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:flex;width:100%;vertical-align:top}:host(.duet-card-info){margin-bottom:16px !important}:host(.duet-m-0){margin:0 !important}.duet-card{padding:20px !important;position:relative;display:flex;flex-direction:column;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-style:normal;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-decoration:none;border-radius:4px;box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-card.duet-p-0{padding:0 !important}.duet-card.duet-m-0{margin:0 !important}.duet-card:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-card:focus,.duet-card:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}@media (max-width: 20.5em){.duet-card.shadow-xxx-small{box-shadow:none}}@media (max-width: 22.5em){.duet-card.shadow-xx-small{box-shadow:none}}@media (max-width: 35.9375em){.duet-card.shadow-x-small{box-shadow:none}}@media (min-width: 36em){.duet-card.shadow-small{box-shadow:none}}@media (min-width: 48em){.duet-card.shadow-medium{box-shadow:none}}@media (min-width: 62em){.duet-card.shadow-large{box-shadow:none}}@media (min-width: 64.0625em){.duet-card.shadow-x-large{box-shadow:none}}@media (min-width: 76.25em){.duet-card.shadow-xx-large{box-shadow:none}}@media (min-width: 106.25em){.duet-card.shadow-xxx-large{box-shadow:none}}@media (min-width: 36em){.duet-card{padding:28px !important}}.duet-card.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);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}@media (min-width: 36em){.duet-card.xx-small{padding:12px !important}}@media (min-width: 36em){.duet-card.x-small{padding:20px !important}}@media (min-width: 36em){.duet-card.medium{padding:28px !important}}@media (min-width: 48em){.duet-card.medium{padding:36px !important}}@media (min-width: 36em){.duet-card.large{padding:36px !important}}@media (min-width: 48em){.duet-card.large{padding:48px !important}}@media (min-width: 36em){.duet-card.x-large{padding:48px !important}}@media (min-width: 48em){.duet-card.x-large{padding:72px !important}}.duet-card.duet-card-collapsed{padding-bottom:0 !important}@media (min-width: 36em){.duet-card.duet-card-collapsed{padding-bottom:0 !important}}.duet-card.info{background:rgba(4, 81, 128, 0.04) !important;box-shadow:none}.duet-card.info.duet-theme-turva{background:rgba(23, 28, 58, 0.035) !important}.duet-card.plain{box-shadow:none}.duet-card.plain:not(.duet-card-has-bg){background:transparent !important}.duet-card-heading-grid{display:flex;flex-direction:row}.duet-card-icon{align-self:center}.duet-card-heading-text{flex:1;word-break:break-word}.duet-card-secondary-heading{font-size:1rem;font-weight:600;word-break:break-word}.duet-card-secondary-heading--inline{display:block;flex:1;align-self:flex-start;line-height:1.875;text-align:right}@media (max-width: 22.5em){.duet-card-secondary-heading--inline{display:none}}.duet-card-secondary-heading--new-line{display:none}@media (max-width: 22.5em){.duet-card-secondary-heading--new-line{display:block}}.duet-card-heading{position:relative;display:block;padding:16px 20px;margin:-20px -20px 20px;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:1.25rem;font-weight:800;color:rgb(8, 42, 77);border-bottom:1px solid rgb(212, 223, 229);border-radius:4px 4px 0 0}@media (min-width: 36em){.duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}.none .duet-card-heading{padding:0 !important;margin:0}}.duet-card-image-mask+.duet-card-heading{border-radius:0}.duet-card-heading.duet-card-heading--collapsible{cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button{width:100%;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer}.duet-card-heading.duet-card-heading--collapsible button:focus{outline:0}:host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-card-heading.duet-card-heading--collapsible button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-card-collapsed .duet-card-heading{margin-bottom:0 !important;border-bottom:0 !important}.duet-theme-turva .duet-card-heading{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(222, 224, 228)}@media (min-width: 36em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 48em){.xx-small .duet-card-heading{padding:6px 12px 7px !important;margin:-12px -12px 12px}}@media (min-width: 36em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}@media (min-width: 48em){.x-small .duet-card-heading{padding:10px 20px 11px !important;margin:-20px -20px 20px}}.medium .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.medium .duet-card-heading{padding:15px 28px 16px !important;margin:-28px -28px 20px}}@media (min-width: 48em){.medium .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}.large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.large .duet-card-heading{padding:19px 36px 20px !important;margin:-36px -36px 28px}}@media (min-width: 48em){.large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}.x-large .duet-card-heading{margin:-20px -20px 20px}@media (min-width: 36em){.x-large .duet-card-heading{padding:26px 48px 27px !important;margin:-48px -48px 36px}}@media (min-width: 48em){.x-large .duet-card-heading{padding:39px 72px 40px !important;margin:-72px -72px 48px}}.none .duet-card-heading{padding:0;margin:0}.duet-card-footer{padding:20px;margin:20px -20px -20px;font-size:0.875rem;line-height:1.25;background:rgb(245, 248, 250);border-bottom-right-radius:4px;border-bottom-left-radius:4px}.duet-theme-turva .duet-card-footer{background:rgb(245, 247, 250)}@media (min-width: 36em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 36em){.xx-small .duet-card-footer{padding:10px 20px 11px !important;padding-left:12px !important;margin:12px -12px -12px}}@media (min-width: 36em){.x-small .duet-card-footer{padding:15px 28px 16px !important;padding-left:20px !important;margin:20px -20px -20px}}@media (min-width: 36em){.medium .duet-card-footer{padding:15px 28px 16px !important;margin:20px -28px -28px}}@media (min-width: 48em){.medium .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 36em){.large .duet-card-footer{padding:19px 36px 20px !important;margin:28px -36px -36px}}@media (min-width: 48em){.large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 36em){.x-large .duet-card-footer{padding:26px 48px 27px !important;margin:36px -48px -48px}}@media (min-width: 48em){.x-large .duet-card-footer{padding:39px 72px 40px !important;margin:48px -72px -72px}}.none .duet-card-footer{padding:0;margin:0}.duet-card-content{flex:1 1 auto;width:100%}.duet-card-collapsed .duet-card-content{display:none}.duet-card-caret{position:relative;top:6px;align-self:flex-start;transition:300ms ease}[aria-expanded=false] .duet-card-caret{transform:rotate(-180deg)}.duet-card-image-mask{position:relative;width:calc(100% + 40px);margin:-20px 0 20px -20px;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.small .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 36em){.medium .duet-card-image-mask{width:calc(100% + 56px);margin:-28px 0 28px -28px}}@media (min-width: 48em){.medium .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 28px -36px}}@media (min-width: 36em){.large .duet-card-image-mask{width:calc(100% + 72px);margin:-36px 0 36px -36px}}@media (min-width: 48em){.large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 36em){.x-large .duet-card-image-mask{width:calc(100% + 96px);margin:-48px 0 36px -48px}}@media (min-width: 48em){.x-large .duet-card-image-mask{width:calc(100% + 144px);margin:-72px 0 36px -72px}}.none .duet-card-image-mask{width:100%;padding:0;margin:0}.duet-card-image{display:block;width:102%;min-width:1px;max-width:102%;height:auto;min-height:1px;margin-left:-1%;transition:transform 300ms ease;transform:scale(1.0001)}a.duet-card{transition:box-shadow 300ms ease, background-position 300ms ease}a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}a.duet-card:hover .duet-card-image{transform:scale(1.024)}.duet-theme-turva a.duet-card:hover{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}a.duet-card:active{transition:none;transform:translateY(1px)}';var DuetCardStyle0=duetCardCss;var DuetCard=function(){function a(a){var e=this;registerInstance(this,a);this.duetToggle=createEvent(this,"duetToggle",7);this.cardId=createID("DuetCard");this.togglePanel=function(a){a.preventDefault();e.open=!e.open;e.duetToggle.emit({component:"duet-card",originalEvent:a})};this.handleKeyDown=function(a){if(isKeyboardClick(a)){e.togglePanel(a)}};this.accessibleLabel=undefined;this.heading="";this.secondaryHeading="";this.variation="default";this.collapsible=false;this.open=true;this.headingLevel="h2";this.headingBackground=undefined;this.icon=undefined;this.image=undefined;this.background="gray-lightest";this.padding="small";this.margin="auto";this.theme="";this.url=undefined;this.shadowBreakpoint=undefined}a.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.hasHeadingSlot=!!this.element.querySelector(":scope > [slot='heading']");this.hasFooter=!!this.element.querySelector("[slot='footer']")};a.prototype.connectedCallback=function(){subscribeTabbingChange(this)};a.prototype.disconnectedCallback=function(){unsubscribeTabbingChange(this)};a.prototype.renderHeading=function(){var a=sanitizeString(this.headingLevel);var e=__spreadArray(__spreadArray([],duetHeadingLevels,true),[duetBlock],false).some((function(e){return e===a}))?a:"h2";var t={backgroundColor:getColorByName(this.headingBackground)};var i=h(Fragment,null,h("div",{class:"duet-card-heading-grid"},this.icon&&h(Fragment,null,h("duet-icon",{class:"duet-card-icon",name:this.icon,size:"medium",margin:"none",color:"currentColor"}),h("duet-spacer",{direction:"horizontal",size:"small"})),h("div",{class:"duet-card-heading-text"},this.heading?this.heading:h("slot",{name:"heading"})),this.secondaryHeading&&h(Fragment,null,h("duet-spacer",{direction:"horizontal",size:"small"}),h("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--inline"},this.secondaryHeading)),this.collapsible&&h(Fragment,null,h("duet-spacer",{direction:"horizontal",size:"small"}),h("duet-icon",{class:"duet-card-caret",icon:actionArrowUp.svg,size:"small",margin:"none",color:"currentColor"}))),this.secondaryHeading&&h("div",{class:"duet-card-secondary-heading duet-card-secondary-heading--new-line"},this.secondaryHeading),h("slot",{name:"below-heading"}));if(this.collapsible){return h(e,{style:t,class:"duet-card-heading duet-card-heading--collapsible",onClick:this.togglePanel,onKeyDown:this.handleKeyDown},h("button",{"aria-controls":this.cardId,"aria-expanded":this.open?"true":"false"},i))}else{return h(e,{style:t,class:"duet-card-heading"},i)}};a.prototype.setFocus=function(a){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeCard){this.nativeCard.focus(a)}return[2]}))}))};a.prototype.render=function(){var a;var e=this;var t=this.url?"a":"div";var i={backgroundColor:getColorByName(this.background)};return h(Host,{key:"e2a8edb2493ebbebc92b63967e157beddacdbd4a",class:{"duet-m-0":this.margin==="none","duet-card-info":this.variation==="info"}},h(t,{key:"dc8a552ac6e2f01149a0c2c114f36e2e66a3df2e",href:this.url,style:i,ref:function(a){return e.nativeCard=a},"aria-label":this.accessibleLabel,class:(a={"duet-card":true},a[this.padding]=true,a[this.variation]=true,a["shadow-".concat(this.shadowBreakpoint)]=!!this.shadowBreakpoint,a["duet-p-0"]=this.padding==="none",a["duet-theme-turva"]=this.theme==="turva",a["duet-card-has-bg"]=this.background!=="gray-lightest",a["duet-card-has-icon"]=!!this.icon,a["duet-card-collapsed"]=this.collapsible&&!this.open,a)},this.image&&h("div",{key:"d7ad8920cacfa8bcd8fa5c1fc306ea11c69f2c42",class:"duet-card-image-mask"},h("img",{key:"83a4bf89bf9601a7d8924ab6a94d3bf37001bcf5",src:this.image,class:"duet-card-image",loading:"lazy",alt:"","aria-hidden":"true"})),(this.heading||this.hasHeadingSlot)&&this.renderHeading(),h("div",{key:"1b43496f9e042da0c35ad3c090553acb0ac661ac",class:"duet-card-content",id:this.cardId},h("slot",{key:"48e8abbabd5cd625b3faecd232e4a80cd0b58d44"}),this.hasFooter&&h("div",{key:"8fd234bb6cdfa1bc53f487b9051944e5c3c43439",class:"duet-card-footer"},h("slot",{key:"664c4d55d042166647682eb00eb61e2d8f3fbd6c",name:"footer"})))))};Object.defineProperty(a.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return a}();DuetCard.style=DuetCardStyle0;export{DuetCard as duet_card};
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,o){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function n(e){try{s(o.next(e))}catch(e){a(e)}}function c(e){try{s(o["throw"](e))}catch(e){a(e)}}function s(e){e.done?i(e.value):r(e.value).then(n,c)}s((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,r,a,n;return n={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function c(e){return function(t){return s([e,t])}}function s(c){if(o)throw new TypeError("Generator is already executing.");while(n&&(n=0,c[0]&&(i=0)),i)try{if(o=1,r&&(a=c[0]&2?r["return"]:c[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,c[1])).done)return a;if(r=0,a)c=[c[0]&2,a.value];switch(c[0]){case 0:case 1:a=c;break;case 4:i.label++;return{value:c[1],done:false};case 5:i.label++;r=c[1];c=[0];continue;case 7:c=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){i.label=c[1];break}if(c[0]===6&&i.label<a[1]){i.label=a[1];a=c;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(c);break}if(a[2])i.ops.pop();i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e];r=0}finally{o=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-1d0b7c66.js";import{i as inheritGlobalTheme}from"./themeable-component-860041c5.js";import{c as createID}from"./create-id-149a1b6d.js";var duetCheckboxCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{margin-right:8px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host(:last-child:not(:only-child)){margin-bottom:0 !important}:host(.duet-m-0){margin:0 !important}.duet-label{position:relative;z-index:100;display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva .duet-label{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-label span{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container{position:relative;width:100%;height:100%}.duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox+label::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:"";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:4px}.duet-theme-turva .duet-checkbox+label::before{border-color:rgb(23, 28, 58)}.duet-checkbox:checked+label::before{background:rgb(0, 119, 179);border:1px solid rgb(0, 119, 179)}.duet-theme-turva .duet-checkbox:checked+label::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-checkbox+label{position:static}.duet-checkbox:checked+label::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:"";background:transparent url("data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled]{cursor:default}.duet-checkbox[disabled]+label{color:rgb(98, 121, 138)}.duet-theme-turva .duet-checkbox[disabled]+label{color:rgb(143, 147, 158)}.duet-checkbox[disabled]+label::before{border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-checkbox[disabled]+label::before{border-color:rgb(199, 202, 207)}.duet-checkbox[disabled]:checked+label::before{background:rgb(127, 150, 165);border:1px solid rgb(127, 150, 165)}.duet-theme-turva .duet-checkbox[disabled]:checked+label::before{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}.duet-checkbox-error{margin-left:31px;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(214, 28, 82);border-radius:4px}.duet-theme-turva .duet-checkbox-error{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(214, 28, 82)}.duet-label-hidden .duet-label span,.duet-label-hidden .duet-checkbox-error span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}';var DuetCheckboxStyle0=duetCheckboxCss;var DuetCheckbox=function(){function e(e){var t=this;registerInstance(this,e);this.duetChange=createEvent(this,"duetChange",3);this.duetFocus=createEvent(this,"duetFocus",7);this.duetBlur=createEvent(this,"duetBlur",7);this.checkboxId=createID("DuetCheckbox");this.errorId=createID("DuetError");this.onChange=function(e){t.checked=!t.checked;t.duetChange.emit({originalEvent:e,checked:t.checked,value:t.value,component:"duet-checkbox"})};this.onBlur=function(e){t.duetBlur.emit({originalEvent:e,checked:t.checked,value:t.value,component:"duet-checkbox"})};this.onFocus=function(e){t.duetFocus.emit({originalEvent:e,checked:t.checked,value:t.value,component:"duet-checkbox"})};this.getDescribedBy=function(){var e=[];if(t.accessibleDescribedBy){e.push(t.accessibleDescribedBy)}if(t.error){e.push(t.errorId)}return e.length>0?e.join(" "):null};this.accessibleActiveDescendant=undefined;this.margin="auto";this.accessibleControls=undefined;this.accessibleIndex=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleSelected=undefined;this.accessibleLiveError="polite";this.required=false;this.error="";this.theme="";this.disabled=false;this.identifier=undefined;this.label="label";this.labelHidden=false;this.name=undefined;this.role=undefined;this.checked=false;this.value=undefined}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);if(this.value===undefined){this.value=this.identifier}};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeInput.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.identifier||this.checkboxId;return h(Host,{key:"384b2451cc9f332a9b8ac970d3b8ca514cef04ac",class:{"duet-m-0":this.margin==="none"}},h("div",{key:"7054f176fd64937eb3e3593a4c250d3b859bc513",class:{"duet-checkbox-container":true,"duet-label-hidden":this.labelHidden,"duet-theme-turva":this.theme==="turva"}},h("input",{key:"065d7c5a7572d7b35eae0a737b4e8893c95eb973",ref:function(t){return e.nativeInput=t},type:"checkbox",onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,value:this.value,class:{"duet-checkbox":true,disabled:this.disabled},checked:this.checked,disabled:this.disabled,tabindex:this.accessibleIndex,"aria-invalid":this.error?"true":"false","aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-selected":this.accessibleSelected,required:this.required,role:this.role,name:this.name,id:t}),h("label",{key:"230c32312aebf8539e4c8082bb30062f09db2bc7",class:"duet-label",htmlFor:t},h("span",{key:"fc1c8a054c43f487513405bb0e592c114a7969bf"},this.label)),h("div",{key:"ff34862455f6c81370d7860c8c45b7f64b792fbc",class:"duet-checkbox-error",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&h("span",{key:"c0ae8d05ca74b8955f1ee2f312a515d020ef997e"},this.error))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetCheckbox.style=DuetCheckboxStyle0;export{DuetCheckbox as duet_checkbox};
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as registerInstance,h,H as Host}from"./index-1d0b7c66.js";import{i as inheritGlobalTheme}from"./themeable-component-860041c5.js";var duetCheckmarkCss=".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(143, 147, 158)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(181, 198, 208) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(199, 202, 207) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(181, 198, 208) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(199, 202, 207) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}";var DuetCheckmarkStyle0=duetCheckmarkCss;var DuetCheckmark=function(){function e(e){registerInstance(this,e);this.theme="";this.checked=false;this.presentationOnly=false;this.center=false;this.type="checkbox"}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.render=function(){return h(Host,{key:"3335002173407bc53f41ea2f00546e1bd2d7409a",class:{"duet-theme-turva":this.theme==="turva"}},h("div",{key:"425322a3f86e075e76d6d3bcd17580954b4e0b32",role:this.presentationOnly?"presentation":null,class:{checked:this.checked}},h("div",{key:"d4fe569278f4c88e090bbbafd65e5422027a0551",class:{"duet-checkmark-container":true,center:this.center,"duet-checkmark-radio":this.type==="radio"}},this.checked&&h("div",{key:"ad4abd3130942074b35869850cc3b386a8ae5dde",class:"duet-checkmark"}))))};return e}();DuetCheckmark.style=DuetCheckmarkStyle0;export{DuetCheckmark as duet_checkmark};
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function c(e){try{u(n["throw"](e))}catch(e){o(e)}}function u(e){e.done?i(e.value):r(e.value).then(a,c)}u((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(e){return function(t){return u([e,t])}}function u(c){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,c[0]&&(i=0)),i)try{if(n=1,r&&(o=c[0]&2?r["return"]:c[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;if(r=0,o)c=[c[0]&2,o.value];switch(c[0]){case 0:case 1:o=c;break;case 4:i.label++;return{value:c[1],done:false};case 5:i.label++;r=c[1];c=[0];continue;case 7:c=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(c[0]===6&&i.label<o[1]){i.label=o[1];o=c;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(c);break}if(o[2])i.ops.pop();i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e];r=0}finally{n=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-1d0b7c66.js";import{i as inheritGlobalTheme}from"./themeable-component-860041c5.js";import{c as createID}from"./create-id-149a1b6d.js";import{s as subscribeTabbingChange,u as unsubscribeTabbingChange,f as isEscapeKey,c as isArrowDownKey,b as isArrowUpKey,o as isTabKey}from"./keyboard-utils-439bcc8b.js";import{g as getLocaleString}from"./language-utils-14969cef.js";import{I as spaceXSmall}from"./tokens.module-2d02f5ff.js";import{o as offset,f as flip,s as shift,c as computePosition,b as autoUpdate}from"./floating-ui.dom.esm-ebc91b33.js";import{f as focusElement}from"./focus-utils-adcd9463.js";import{T as Teleport}from"./teleport-546f382d.js";import{a as actionNewWindowSmall}from"./action-new-window-small-1945be91.js";import"./string-utils-192eb3c8.js";var duetChipCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;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;line-height:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(222, 224, 228)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 22px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;cursor:pointer;border-width:2px;border-radius:8px;opacity:0;appearance:none}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}';var DuetChipStyle0=duetChipCss;var DuetChip=function(){function e(e){var t=this;registerInstance(this,e);this.duetChange=createEvent(this,"duetChange",3);this.duetRemove=createEvent(this,"duetRemove",3);this.duetFocus=createEvent(this,"duetFocus",7);this.duetBlur=createEvent(this,"duetBlur",7);this.chipId=createID("DuetChip");this.deleteLabels={fi:"Poista",en:"Remove",sv:"Ta bort"};this.selectedForDeletionLabels={fi:"Valittu, poista askelpalautinnäppäimellä",en:"Selected, remove with backspace",sv:"Valt, ta bort med backsteg"};this.enforceNoDisabledSelected=function(){if(t.disabled&&t.checked){console.error("Duet error: pre-selected chip may not be disabled");t.disabled=false}};this.radioInputListenersRemove=function(e){e.removeEventListener("change",t.onRadioChange);e.removeEventListener("click",t.onRadioClick);e.removeEventListener("focus",t.onFocus);e.removeEventListener("blur",t.onBlur)};this.radioInputListenersAdd=function(e){e.addEventListener("change",t.onRadioChange);e.addEventListener("click",t.onRadioClick);e.addEventListener("focus",t.onFocus);e.addEventListener("blur",t.onBlur)};this.radioInputSetUp=function(){var e=t.element.querySelector("input[slot=input]");var i=e||document.createElement("input");i.slot="input";i.ariaDisabled=t.disabled?"true":undefined;i.id=t.identifier||t.chipId;i.type="radio";i.name=t.name;i.value=t.value;i.checked=t.checked;if(e){t.radioInputListenersRemove(i)}else{t.element.appendChild(i)}t.radioInputListenersAdd(i);t.focusableElement=i};this.popupSetUp=function(){var e=document.querySelector("duet-popup-menu#".concat(t.popup));if(e){t.popupElement=e;e.controller=t.element;var i=t.element.textContent;var n=t.value;if(!e.id){e.id="popup-menu"}e.addEventListener("duetToggle",(function(e){t.popupOpen=e.detail.open}));var r=function(){e.querySelectorAll("duet-popup-menu-item").forEach((function(e){e.active=false}))};e.querySelectorAll("duet-popup-menu-item").forEach((function(e){e.addEventListener("click",(function(o){var a;var c=(a=e.value)!==null&&a!==void 0?a:e.innerText;if(!e.active){r();e.active=true;t.element.textContent=e.innerText;t.value=c;t.checked=true}else{r();t.element.textContent=i;t.value=n;t.checked=false}t.emitChange(o);setTimeout((function(){if(t.popupElement.isOpen()){t.popupElement.hide()}}))}))}))}};this.onFocus=function(e){t.focus=true;t.duetFocus.emit({originalEvent:e,checked:t.checked,value:t.value,component:"duet-chip"})};this.onBlur=function(e){t.focus=false;t.duetBlur.emit({originalEvent:e,checked:t.checked,value:t.value,component:"duet-chip"})};this.emitChange=function(e){t.duetChange.emit({originalEvent:e,checked:t.checked,value:t.value,component:"duet-chip"})};this.onFilterChange=function(e){t.checked=!t.checked;t.emitChange(e)};this.onRadioChange=function(e){var i=t.focusableElement;var n=i.checked;t.checked=n;t.emitChange(e)};this.onRadioClick=function(e){if(t.disabled){e.preventDefault()}};this.onFilterClick=function(e){if(t.disabled){e.stopPropagation();e.preventDefault();return}if(t.popupElement){e.stopPropagation();e.preventDefault();t.popupElement.toggle()}};this.onRemoveClick=function(e){e===null||e===void 0?void 0:e.stopPropagation();e===null||e===void 0?void 0:e.preventDefault();t.duetRemove.emit({originalEvent:e,checked:t.checked,value:t.value,component:"duet-chip"});t.element.remove()};this.focus=false;this.popupElement=undefined;this.popupOpen=undefined;this.inputChipHover=false;this.inputChipDeleteFocus=false;this.accessibleLabel=undefined;this.variation="button";this.size="medium";this.popup=undefined;this.icon="";this.theme="";this.identifier=undefined;this.value=undefined;this.name=undefined;this.selected=false;this.checked=false;this.disabled=false;this.accessibleExpanded=undefined;this.accessiblePopup="false"}e.prototype.clearOtherRadioButtons=function(){var e=this;if(this.variation==="radio"&&this.checked){var t=document.querySelectorAll('duet-chip[variation="radio"][name="'.concat(this.name,'"]'));t.forEach((function(t){if(t!==e.element){t.checked=false}}))}};e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.popupSetUp();this.enforceNoDisabledSelected()};e.prototype.connectedCallback=function(){subscribeTabbingChange(this)};e.prototype.disconnectedCallback=function(){unsubscribeTabbingChange(this)};e.prototype.componentDidRender=function(){if(this.variation==="radio"){this.radioInputSetUp()}};e.prototype.getAccessibleExpanded=function(){if(this.accessibleExpanded!=null){return(!!this.accessibleExpanded).toString()}if(this.popupElement){return this.popupOpen?"true":"false"}return undefined};e.prototype.getAccessiblePopup=function(){if(this.popupElement){return"true"}else{return this.accessiblePopup!=null?this.accessiblePopup.toString():undefined}};e.prototype.getAccessibleDeleteLabel=function(){return"".concat(getLocaleString(this.deleteLabels)," ").concat(this.element.textContent)};e.prototype.getAccessibleInputChipLabel=function(){return"".concat(this.element.textContent).concat(this.selected?" (".concat(getLocaleString(this.selectedForDeletionLabels),") "):"",",")};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){setTimeout((function(){return t.focusableElement.focus(e)}),200);return[2]}))}))};e.prototype.setDeleteFocus=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(t){setTimeout((function(){return e.deleteButtonElement.focus()}),200);return[2]}))}))};e.prototype.removeChip=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.onRemoveClick();return[2]}))}))};e.prototype.render=function(){var e,t;var i=this;var n;var r=this.identifier||this.chipId;var o=(e={"duet-chip-container":true},e["duet-chip-".concat(this.variation)]=true,e["duet-chip-focus"]=this.focus,e["duet-chip-selected"]=this.selected,e["duet-chip-hover"]=this.inputChipHover,e["duet-chip-delete-focus"]=this.inputChipDeleteFocus,e["duet-chip-has-icon"]=!!this.icon,e["duet-chip-has-popup"]=this.variation==="filter"&&!!this.popupElement,e["duet-theme-turva"]=this.theme==="turva",e["duet-chip-filter-checked"]=this.variation==="filter"&&this.checked,e["duet-chip-radio-checked"]=this.variation==="radio"&&this.checked,e["duet-chip-filter-popup-open"]=this.popupOpen,e["duet-chip-disabled"]=this.disabled,e[this.size]=true,e);var a={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(e){return i.focusableElement=e}};return h(Host,{key:"c807c6a1d6acd3d0962de84a928a38cf53236a5a",class:(t={},t[this.variation]=true,t)},this.variation==="button"&&h("span",{key:"654486c3496a0967a02987d40d8b8bd03c8d1670",class:o},h("button",Object.assign({key:"819d1fadbf81a1e7deea06efc7c8ad55544f77bb",id:r,"aria-label":this.accessibleLabel,"aria-haspopup":this.getAccessiblePopup(),"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":undefined,name:this.name,value:this.value,onClick:this.disabled?function(e){return e.stopPropagation()}:undefined},a),h("span",{key:"043b8a685b69fd201c8a081902f6197c87201d95",class:"duet-chip-icon-container"},this.icon&&h("duet-icon",{key:"7ca324221a0d9408218d525187d3dcda8e006946",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),h("slot",{key:"0cda4e568fc73c0e51053068649a1d1fb4fc1177"}))),this.variation==="input"&&h("span",{key:"4bdfa14a7478fe54a31d6d3519fe7a38a28e8a64",class:o,"aria-label":this.getAccessibleInputChipLabel()},h("button",Object.assign({key:"60f136d595f23bec8a342b725826b824f72be70d",id:r,class:"duet-chip-input-button",value:this.value,"aria-label":this.accessibleLabel,onMouseOver:function(){return i.inputChipHover=true},onMouseOut:function(){return i.inputChipHover=false},onClick:function(){return i.selected=!i.selected}},a),h("span",{key:"8e9e702baeb8b2fe5fdc3767e679dbe938adf2c8",class:"duet-chip-icon-container"},this.icon&&h("duet-icon",{key:"799c6adbd554313f3500698037c0441bd784ec14",name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),h("slot",{key:"b1b7649a3beff52e78f0d2007446b4284c13301d"})),h("button",{key:"b28b696e73ece749bc5c3ac0a731eb12a74da0fb",class:"duet-chip-remove-button","aria-label":this.getAccessibleDeleteLabel(),onClick:this.onRemoveClick,onFocus:function(){return i.inputChipDeleteFocus=true},onBlur:function(){return i.inputChipDeleteFocus=false},ref:function(e){return i.deleteButtonElement=e}},h("duet-icon",{key:"77be3ad13c9f382af3f937ed5b1310b966e51a9f",name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),this.variation==="filter"&&h("span",{key:"93b90e998c5a818f72f0d6d93d236ca292027a2f",class:o},h("input",Object.assign({key:"fbc7ce95bc52c216fa093d8f8626953ffb813329","aria-haspopup":this.getAccessiblePopup(),"aria-controls":(n=this.popupElement)===null||n===void 0?void 0:n.id,"aria-expanded":this.getAccessibleExpanded(),"aria-disabled":this.disabled?"true":undefined,id:r,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},a)),h("label",{key:"820f38348fd3237fa736c42db58592aceecbc6d8",htmlFor:r},this.icon&&h("span",{key:"8053c7905e2d4b3e307122ed0019abf487f33ddb",class:"duet-chip-icon-container"},h("duet-icon",{key:"62b6b611984e54ec22ac7f893e913a13ed79f183",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),h("duet-icon",{key:"bc6cc9a473b6e2ff0579bf2ed90bb9b93676217c",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),h("slot",{key:"6acef4f05a0f83c4678687dd3ca78cdaf1b85047"}),this.popupElement&&h("span",{key:"04fd8374230c5f07247d141543e6ed469d5a2f3e",class:"duet-chip-popup-disclosure"},h("duet-icon",{key:"2bda624c98b44339a4107b9619873ce1cc3257b6",name:"action-arrow-down-small",size:"xxx-small",margin:"none",color:"currentColor"})))),this.variation==="radio"&&h("span",{key:"fb27bb6b3d1d4bbb71a2f5f3da20fdce13e1f3dc",class:o},h("slot",{key:"a1a2b8eabfae06bcbbab88b3578598cceac14be7",name:"input"}),h("label",{key:"e81d7abd6774b9980454d70548c8c23ffb62a083",htmlFor:r},this.icon&&h("span",{key:"ef056f08b0f3aa56ec9403066f9c49c106405d42",class:"duet-chip-icon-container"},h("duet-icon",{key:"1e7dc968a93057da85bfad2d9311f9cb1345671e",name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),h("duet-icon",{key:"fc5ecbe16b5154635cfbb6bd4d1422eaf118b837",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),h("slot",{key:"bec129dc84a1a901d84dfd5b57bf3f0f455e1822"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["clearOtherRadioButtons"]}},enumerable:false,configurable:true});return e}();DuetChip.style=DuetChipStyle0;var duetPopupMenuCss="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(8, 42, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.scroll-visible{overflow-y:scroll;scroll-margin:20px}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}::slotted(duet-notification){max-width:360px}";var DuetPopupMenuStyle0=duetPopupMenuCss;var DuetPopupMenu=function(){function e(e){var t=this;registerInstance(this,e);this.duetToggle=createEvent(this,"duetToggle",7);this.setOpenButton=function(e){if(!e){return}try{var i=e;i.accessiblePopup="true";i.accessibleExpanded=false;if(t.controllerIcon){i.setAttribute("trailing-icon","action-arrow-down-small")}t.openButton=i}catch(e){}};this.openButtonEventListener=function(){t.toggle()};this.updatePlacement=function(){return __awaiter(t,void 0,void 0,(function(){var e,t;return __generator(this,(function(i){switch(i.label){case 0:if(!this.openButton){return[2]}e=[offset({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),this.allowVerticalFlip&&flip(),shift({padding:5})].filter(Boolean);return[4,computePosition(this.openButton,this.menuElement,{middleware:e,placement:this.placement,strategy:this.position})];case 1:t=i.sent();this.menuY=t.y;this.menuX=t.x;return[2]}}))}))};this.open=false;this.menuY=undefined;this.menuX=undefined;this.accessibleLabel=undefined;this.accessibleRole="menu";this.theme="";this.skipTeleport=undefined;this.placement="bottom-start";this.forcePlacement=false;this.allowVerticalFlip=true;this.position="absolute";this.mainAxisOffset=0;this.crossAxisOffset=0;this.controllerIcon="action-arrow-down-small";this.scrollLimit=undefined}Object.defineProperty(e.prototype,"controller",{get:function(){return this._controller},set:function(e){if(this._controller===e){return}this._controller=e;if(typeof e==="string"){this.setOpenButton(document.getElementById(e));if(this.openButton){this.openButton.addEventListener("click",this.openButtonEventListener)}}else{this.setOpenButton(e)}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"opener",{get:function(){return this._controller},set:function(e){this.controller=e},enumerable:false,configurable:true});e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.componentDidLoad=function(){{this.updatePlacement()}};e.prototype.connectedCallback=function(){if(!this.teleport){this.teleport=new Teleport(this.element)}if(this.teleport){this.teleport.activate()}};e.prototype.disconnectedCallback=function(){if(this.autoUpdateCleanup){this.autoUpdateCleanup()}if(this.openButton){this.openButton.removeEventListener("click",this.openButtonEventListener);if(this.controllerIcon){this.openButton.removeAttribute("trailing-icon")}}};e.prototype.handleKeyUp=function(e){if(this.open){if(isEscapeKey(e)){this.hide()}}};e.prototype.handleKeyDown=function(e){return __awaiter(this,void 0,void 0,(function(){var t,t;return __generator(this,(function(i){switch(i.label){case 0:if(!this.open)return[3,5];if(!isArrowDownKey(e))return[3,2];e.preventDefault();return[4,this.getFocusedItemIndex()];case 1:t=i.sent();if(t!==-1){if(t<this.itemElements.length-1){this.itemElements[t+1].setFocus()}else{this.itemElements[0].setFocus()}}i.label=2;case 2:if(!isArrowUpKey(e))return[3,4];e.preventDefault();return[4,this.getFocusedItemIndex()];case 3:t=i.sent();if(t!==-1){if(t===0){this.itemElements[this.itemElements.length-1].setFocus()}else{this.itemElements[t-1].setFocus()}}i.label=4;case 4:if(isTabKey(e)&&this.accessibleRole==="menu"){e.preventDefault();this.hide()}i.label=5;case 5:return[2]}}))}))};e.prototype.handleClick=function(e){var t=this;var i=e.composedPath().every((function(e){return e!==t.element&&e!==t.openButton}));if(this.open&&i){this.hide()}};e.prototype.isOpen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.open]}))}))};e.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.open=true;return[2]}))}))};e.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.autoUpdateCleanup){this.autoUpdateCleanup()}this.open=false;return[2]}))}))};e.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.open){this.hide()}else{this.show()}return[2]}))}))};e.prototype.handleOpenChange=function(e,t){var i=this;if(!!e===!!t){return}if(this.open&&!t){if(this.openButton){this.openButton.accessibleExpanded=true}if(this.accessibleRole!=="listbox"){this.teleport.makeSiblingsInert()}this.updatePlacement();if(this.menuElement&&this.openButton){this.autoUpdateCleanup=autoUpdate(this.openButton,this.menuElement,this.updatePlacement)}setTimeout((function(){if(i.accessibleRole==="menu"){i.itemElements[0].setFocus()}i.duetToggle.emit({open:i.open,component:"duet-popup-menu"})}),200)}else if(!this.open&&t){if(this.openButton){this.openButton.accessibleExpanded=false}if(this.autoUpdateCleanup){this.autoUpdateCleanup()}setTimeout((function(){if(i.accessibleRole==="menu"){focusElement(i.openButton)}i.duetToggle.emit({open:i.open,component:"duet-popup-menu"});if(i.accessibleRole!=="listbox"){i.teleport.removeInertFromSiblings()}}),200)}};Object.defineProperty(e.prototype,"itemElements",{get:function(){return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"))},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"popupMenuStyleHeight",{get:function(){if(this.itemElements.length>0&&this.scrollLimit){var e=Number(spaceXSmall.replace("px",""))*2;return"".concat(this.itemElements[0].offsetHeight*this.scrollLimit+e,"px")}else{return"auto"}},enumerable:false,configurable:true});e.prototype.getFocusedItemIndex=function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(i){switch(i.label){case 0:e=this.itemElements;t=0;i.label=1;case 1:if(!(t<e.length))return[3,4];return[4,e[t].isFocused()];case 2:if(i.sent()){return[2,t]}i.label=3;case 3:t++;return[3,1];case 4:return[2,-1]}}))}))};e.prototype.render=function(){var e=this;var t={top:"".concat(this.menuY,"px"),left:"".concat(this.menuX,"px"),position:this.position,overflowY:"auto",height:this.popupMenuStyleHeight};return h(Host,{key:"28c5e0e22a1dbbf5ee9bf81e54b75ca0c7749eae"},h("div",{key:"0317bf8bda1b57bd2bf509bb54b34209d81f79da",ref:function(t){e.menuElement=t},style:t,class:{open:this.open,"duet-popup-menu-list":true,"duet-theme-turva":this.theme==="turva","scroll-visible":this.scrollLimit<this.itemElements.length},role:this.accessibleRole,"aria-label":this.accessibleLabel},h("slot",{key:"483a49bb29aac53e169c9b14432b8135c0e50b9d"})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:["handleOpenChange"]}},enumerable:false,configurable:true});return e}();DuetPopupMenu.style=DuetPopupMenuStyle0;var duetPopupMenuItemCss='*,*::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:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:12px;align-items:center;height:100%;padding:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-item.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-popup-menu-item.active{background:rgb(240, 247, 250)}.duet-popup-menu-item.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-popup-menu-item:hover{background:rgb(228, 241, 247)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(222, 224, 228)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}.duet-popup-menu-item .duet-popup-menu-item-trailing{padding-left:20px}.active-descendant{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .active-descendant,.active-descendant.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}';var DuetPopupMenuItemStyle0=duetPopupMenuItemCss;var DuetPopupMenuItem=function(){function e(e){var t=this;registerInstance(this,e);this.duetFocus=createEvent(this,"duetFocus",7);this.duetBlur=createEvent(this,"duetBlur",7);this.onFocus=function(e){t.focus=true;t.duetFocus.emit({originalEvent:e,value:t.value,component:"duet-popup-menu-item"})};this.onBlur=function(e){t.focus=false;t.duetBlur.emit({originalEvent:e,value:t.value,component:"duet-popup-menu-item"})};this.focus=false;this.accessibleLabel=undefined;this.accessibleRole="menuitem";this.theme="";this.url=undefined;this.external=false;this.targetLanguage=undefined;this.value=undefined;this.leadingIcon=undefined;this.leadingIconColor=undefined;this.trailingIcon=undefined;this.trailingText=undefined;this.active=false;this.activeDescendant=false}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){setTimeout((function(){return t.itemElement.focus(e)}),200);return[2]}))}))};e.prototype.isFocused=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.focus]}))}))};e.prototype.render=function(){var e=this;var t=this.url?"a":"button";var i={"duet-popup-menu-item":true,active:this.active,"duet-theme-turva":this.theme==="turva","active-descendant":this.activeDescendant};return h(Host,{key:"cba4450c5f4e743f1c54c4736930fd263acba1db",role:this.accessibleRole},h(t,{key:"94c16ad9906c2ea626f186a405a044f8c0fdc38b",ref:function(t){return e.itemElement=t},tabIndex:this.accessibleRole==="listitem"?0:-1,onFocus:this.onFocus,onBlur:this.onBlur,role:"".concat(t==="a"?"link":"button"),"aria-label":this.accessibleLabel,class:i,value:this.value,href:this.url,target:this.external?"_blank":undefined,rel:this.external?"noopener":undefined,lang:t==="button"?undefined:this.targetLanguage,hreflang:t==="button"?undefined:this.targetLanguage},this.leadingIcon&&h("duet-icon",{key:"bc37f155bb1a3c6e0519f1b673682840e7cc2838",name:this.leadingIcon,size:"x-small",color:this.leadingIconColor?this.leadingIconColor:"currentColor",class:"duet-popup-menu-item-leading",margin:"none"}),h("span",{key:"641cb769d15e68d2e05893737b2712cb22916084",class:"duet-popup-menu-item-label"},h("slot",{key:"c4e79af7b0a972b68a6a30ca479d3fe49ec0ac57"})),(this.trailingIcon||this.active||this.url&&this.external)&&h("duet-icon",{key:"d5ae36ac91afb6b5f9a6bfe461a10b68ee0f916e",name:this.url&&this.external?actionNewWindowSmall.title:this.active?"messaging-checked-small":this.trailingIcon,size:this.url&&this.external||this.active?"xx-small":"x-small",color:"currentColor",class:"duet-popup-menu-item-trailing",margin:"none"}),this.trailingText&&h("span",{key:"79631aaffd5c2b020ebc6f37f0770147ae8291fa",class:"duet-popup-menu-item-trailing"},this.trailingText)))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetPopupMenuItem.style=DuetPopupMenuItemStyle0;export{DuetChip as duet_chip,DuetPopupMenu as duet_popup_menu,DuetPopupMenuItem as duet_popup_menu_item};
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,o){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function c(e){try{d(o.next(e))}catch(e){r(e)}}function n(e){try{d(o["throw"](e))}catch(e){r(e)}}function d(e){e.done?i(e.value):a(e.value).then(c,n)}d((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,a,r,c;return c={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function n(e){return function(t){return d([e,t])}}function d(n){if(o)throw new TypeError("Generator is already executing.");while(c&&(c=0,n[0]&&(i=0)),i)try{if(o=1,a&&(r=n[0]&2?a["return"]:n[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,n[1])).done)return r;if(a=0,r)n=[n[0]&2,r.value];switch(n[0]){case 0:case 1:r=n;break;case 4:i.label++;return{value:n[1],done:false};case 5:i.label++;a=n[1];n=[0];continue;case 7:n=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(n[0]===6||n[0]===2)){i=0;continue}if(n[0]===3&&(!r||n[1]>r[0]&&n[1]<r[3])){i.label=n[1];break}if(n[0]===6&&i.label<r[1]){i.label=r[1];r=n;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(n);break}if(r[2])i.ops.pop();i.trys.pop();continue}n=t.call(e,i)}catch(e){n=[6,e];a=0}finally{o=r=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-1d0b7c66.js";import{i as inheritGlobalTheme}from"./themeable-component-860041c5.js";import{D as DuetStringsExternalDefaults}from"./common-strings-af765cad.js";import{c as createID}from"./create-id-149a1b6d.js";import{i as isKeyboardClick,h as isQuestionKey,s as subscribeTabbingChange,u as unsubscribeTabbingChange,f as isEscapeKey}from"./keyboard-utils-439bcc8b.js";import{g as getLocaleString,a as getLanguage,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-14969cef.js";import{h as hasSlot,g as getElementsFromNamedSlot,c as checkNamedSlotElement}from"./slot-utils-4e5ed4eb.js";import"./string-utils-192eb3c8.js";var messagingInfo={title:"messaging-info",tags:"messaging info information circle",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/><circle cx="11.625" cy="7.125" r="1.125"/><path d="M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"/></svg>'};var duetChoiceCss='*,*::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;flex-direction:column;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(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(.vertical){margin-right:0 !important}@media (min-width: 48em){:host(.horizontal){margin-bottom:0 !important}}@media (min-width: 48em){:host(.horizontal-responsive){margin-bottom:0 !important;margin-right:16px !important}:host(.horizontal-responsive):last-child,:host(.horizontal-responsive):last-of-type{margin-right:0 !important}}:host(:last-child:not(:only-child)){margin-right:0 !important}.duet-choice-card{position:relative;display:block;width:100%;min-width:8rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:1px;border-radius:8px}.duet-choice-card.duet-p-0{padding:0 !important}.duet-choice-card.duet-m-0{margin:0 !important}.duet-theme-turva .duet-choice-card{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer{display:flex}.duet-choice-label{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:1px solid rgb(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text .duet-choice-card-icon,.duet-choice-label.has-before-text .duet-choice-card-text{align-self:flex-start;margin-top:0.25rem}.duet-choice-label>div:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info .duet-choice-label{border-top-right-radius:0;border-bottom-right-radius:0}.info .duet-choice-label{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva .duet-choice-label{border-color:rgb(222, 224, 228)}.duet-theme-turva .info .duet-choice-label{border-color:rgb(222, 224, 228)}.duet-choice-label:active{opacity:0.75;transition:none !important}.checked>.duet-choice-label{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked>.duet-choice-label .duet-checkmark-container{border-color:rgb(0, 119, 179)}.duet-theme-turva .checked>.duet-choice-label{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{border-color:rgb(198, 12, 48)}.checked.collapsible>.duet-choice-label,.collapsible-force-expanded.collapsible>.duet-choice-label{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container{border-color:rgb(127, 150, 165)}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(23, 28, 58)}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container{border-color:rgb(143, 147, 158)}.duet-theme-turva .info :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(143, 147, 158)}:host(:not(.no-hover):not(.disabled):not([checked]):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){padding:1rem}input:focus{outline:0}:host(.user-is-tabbing) .checked.focus.duet-choice-label{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}:host(.user-is-tabbing) :not(.checked).focus.duet-choice-label{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .checked.focus.duet-choice-label{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}:host(.user-is-tabbing) .duet-theme-turva :not(.checked).focus.duet-choice-label{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.disabled.duet-choice-label{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.disabled.duet-choice-label .duet-choice-card-icon{color:rgb(98, 121, 138)}.duet-theme-turva .disabled.duet-choice-label .duet-choice-card-icon{color:rgb(143, 147, 158)}.disabled.duet-choice-label .duet-checkmark{border-color:rgb(98, 121, 138) !important}.disabled.duet-choice-label:hover,.disabled.duet-choice-label:active,.disabled.duet-choice-label:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva .disabled.duet-choice-label{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva .disabled.duet-choice-label .duet-checkmark{border-color:rgb(143, 147, 158) !important}.checked>.disabled.duet-choice-label{border-color:rgb(127, 150, 165) !important}.duet-theme-turva .checked>.disabled.duet-choice-label{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva .duet-checkmark-container{border-color:rgb(143, 147, 158)}.checked>.duet-choice-label .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}label.disabled .duet-checkmark-container{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva label.disabled .duet-checkmark-container{border-color:rgb(199, 202, 207) !important}.checked>label.disabled .duet-checkmark-container{background:rgb(181, 198, 208) !important}.duet-theme-turva .checked>label.disabled .duet-checkmark-container{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva .duet-choice-card-icon{color:rgb(164, 4, 40)}.duet-choice-card-icon duet-icon{display:block}.duet-choice-section-hidden{display:none}.duet-choice-card-info.duet-choice-card-collapsed,.duet-choice-card-collapsed.duet-choice-card-collapsible{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info,.duet-choice-card-collapsible{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info,.duet-choice-card-collapsible{padding:28px !important}}.duet-theme-turva .duet-choice-card-info,.duet-theme-turva .duet-choice-card-collapsible{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked>.duet-choice-card-info,.checked>.duet-choice-card-collapsible{display:block}.duet-choice-card-info-expanded,.duet-choice-card-collapsible-expanded{display:block}.duet-choice-card-collapsible{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked{border-color:rgb(222, 224, 228)}.duet-choice-card-info{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container ::slotted(*){display:none}:host(.user-is-tabbing) .duet-choice-info-container:focus{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.disabled) .duet-choice-card-collapsible{border-color:rgb(127, 150, 165)}:host(.disabled) .duet-choice-card-collapsible.duet-theme-turva{border-color:rgb(143, 147, 158)}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){border-color:rgb(143, 147, 158)}:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true]{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva .duet-choice-info-toggle[aria-expanded=true]{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled]{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled] .duet-choice-info-icon{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva .duet-choice-info-icon{color:rgb(143, 147, 158) !important}.duet-choice-info-toggle:focus{outline:none}:host(.user-is-tabbing) .duet-choice-info-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-choice-info-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked+.duet-choice-info-toggle{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle duet-icon{display:block}.duet-choice-info-toggle .duet-choice-info-icon{color:rgb(0, 119, 179)}.duet-theme-turva .duet-choice-info-toggle .duet-choice-info-icon{color:rgb(198, 12, 48)}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label .duet-choice-info-toggle{border-left-color:rgb(127, 150, 165)}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label .duet-choice-info-toggle{border-left-color:rgb(143, 147, 158)}.duet-choice-input,*::slotted([slot=choiceradioinput]){position:absolute !important;width:100%;height:100%;opacity:0}';var DuetChoiceStyle0=duetChoiceCss;var DuetChoice=function(){function e(e){var t=this;registerInstance(this,e);this.duetChoiceReady=createEvent(this,"duetChoiceReady",7);this.duetChoiceRemove=createEvent(this,"duetChoiceRemove",7);this.duetChange=createEvent(this,"duetChange",7);this.duetFocus=createEvent(this,"duetFocus",7);this.duetBlur=createEvent(this,"duetBlur",7);this.hasHeader=false;this.choiceId=createID("DuetChoice");this.expandId=createID("DuetChoiceExpand");this.headerId=createID("DuetChoiceHeader");this.infoButtonId=createID("DuetChoiceInfoButton");this.radioInputListenersRemove=function(e){e.removeEventListener("change",t.onChange);e.removeEventListener("keydown",t.handleKeyDown);e.removeEventListener("focus",t.onFocus);e.removeEventListener("blur",t.onBlur)};this.radioInputListenersAdd=function(e){e.addEventListener("change",t.onChange);e.addEventListener("keydown",t.handleKeyDown);e.addEventListener("focus",t.onFocus);e.addEventListener("blur",t.onBlur)};this.radioInputSetUp=function(){var e=t.element.querySelector("input[slot=choiceradioinput]");var i=e||document.createElement("input");i.slot="choiceradioinput";i.disabled=t.getDisabled();i.id=t.identifier||t.choiceId;i.type="radio";i.name=t.name;i.value=t.value;i.checked=t.checked;i.required=t.required;i.ariaDescription=t.accessibleDescription;if(t.accessibleControls){i.setAttribute("aria-controls",t.accessibleControls)}if(t.accessibleActiveDescendant){i.setAttribute("aria-activedescendant",t.accessibleActiveDescendant)}if(t.accessibleLabelledBy){i.setAttribute("aria-labelledby",t.accessibleLabelledBy)}if(t.accessibleDetails){i.setAttribute("aria-details",t.accessibleDetails)}if(t.accessibleOwns){i.setAttribute("aria-owns",t.accessibleOwns)}if(t.getAriaDescribedby()){i.setAttribute("aria-describedby",t.getAriaDescribedby())}i.ariaLabel=t.getLabel();if(e){t.radioInputListenersRemove(i)}else{t.element.appendChild(i)}t.radioInputListenersAdd(i);t.focusableElement=i};this.onMouseEnter=function(){t.isHovering=true};this.onMouseLeave=function(){t.isHovering=false};this.onClick=function(e){t.toggleChecked(e)};this.handleKeyDown=function(e){if(isKeyboardClick(e)){t.toggleChecked(e)}if(isQuestionKey(e)&&t.hasInfo){t.toggleInfo()}};this.onChange=function(){var e=t.focusableElement;var i=e.checked;t.checked=i;t.duetChange.emit({checked:t.checked,value:t.value,component:"duet-choice"})};this.onBlur=function(e){t.focus=false;t.duetBlur.emit({originalEvent:e,checked:t.checked,value:t.value,component:"duet-choice"})};this.onFocus=function(e){t.focus=true;t.duetFocus.emit({originalEvent:e,checked:t.checked,value:t.value,component:"duet-choice"})};this.toggleChecked=function(e){e.preventDefault();e.stopPropagation();if(t.getDisabled()){return}if(t.type==="radio"&&t.checked){return}t.checked=!t.checked;t.duetChange.emit({originalEvent:e,checked:t.checked,value:t.value,component:"duet-choice"})};this.toggleInfo=function(){t.isInfoOpen=!t.isInfoOpen;if(t.isInfoOpen){setTimeout((function(){var e;(e=t.infoContainer)===null||e===void 0?void 0:e.focus()}),150)}};this.focus=false;this.isHovering=false;this.isInfoOpen=false;this.theme="";this.label="label";this.accessibleLabelInfoButtonDefaults=DuetStringsExternalDefaults;this.accessibleLabelInfoButton=getLocaleString(this.accessibleLabelInfoButtonDefaults);this.accessibleActiveDescendant=undefined;this.accessibleControls=undefined;this.accessibleOwns=undefined;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.caption="";this.value=undefined;this.type="checkbox";this.name=undefined;this.checked=false;this.collapsible=false;this.collapsibleForceExpanded=false;this.margin="auto";this.icon="";this.expand=false;this.padding="auto";this.identifier=undefined;this.groupDirection=undefined;this.groupDisabled=undefined;this.groupResponsive=undefined;this.disabled=false;this.required=false;this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"};this.infoLabel=getLocaleString(this.infoLabelDefaults,getLanguage());this.collapsibleNotificationDefaults={fi:"Tämä valinta sisältää lisätietoja, jotka avautuivat alle",en:"This choice has additional information opened below",sv:"Det här val har mer information som öppnades nedan"};this.collapsibleNotification=getLocaleString(this.collapsibleNotificationDefaults,getLanguage())}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.hasInfo=hasSlot(this.element,"info");this.hasHeader=hasSlot(this.element,"header");this.hasAdditional=hasSlot(this.element,"additional");this.hasLabel=hasSlot(this.element,"label");this.hasBeforeText=hasSlot(this.element,"before-text");this.duetChoiceReady.emit()};e.prototype.connectedCallback=function(){connectLanguageChangeObserver(this,[{prop:"accessibleLabelInfoButton",defaults:"accessibleLabelInfoButtonDefaults"},{prop:"infoLabel",defaults:"infoLabelDefaults"},{prop:"collapsibleNotification",defaults:"collapsibleNotificationDefaults"}]);subscribeTabbingChange(this);this.duetChoiceReady.emit()};e.prototype.componentDidRender=function(){if(this.type==="radio"){this.radioInputSetUp()}};e.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this);unsubscribeTabbingChange(this);this.duetChoiceRemove.emit()};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.focusableElement.focus(e);return[2]}))}))};e.prototype.toggleInfoMethod=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.isInfoOpen=!this.isInfoOpen;return[2]}))}))};e.prototype.handleEscape=function(e){if(isEscapeKey(e)){if(this.isInfoOpen){this.isInfoOpen=false;if(this.infoButtonEl){this.infoButtonEl.focus()}}}};e.prototype.isCollapsibleAnnounceable=function(){if(!this.collapsible||!this.getExpanded()){return false}var e=Array.from(this.element.querySelectorAll("#".concat(this.choiceId,"-collapsible-content > *"))||[]);var t=["duet-paragraph","duet-heading","duet-fieldset"];return e.every((function(e){return t.includes(e.tagName.toLowerCase())}))};e.prototype.getAriaDescribedby=function(){if(this.accessibleDescribedBy){return this.accessibleDescribedBy}if(this.collapsible||this.hasInfo){if(this.hasHeader){return this.headerId}else if(this.isCollapsibleAnnounceable()){return this.expandId}else{return"".concat(this.choiceId,"-collapsible-notification")}}return null};e.prototype.getDisabled=function(){return this.disabled||this.groupDisabled};e.prototype.getExpanded=function(){return this.checked||this.collapsibleForceExpanded};e.prototype.getClassNames=function(){if(this.hasInfo&&!this.collapsible){return{checked:this.checked,"duet-choice-card-info":true,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":this.theme==="turva"}}if(!this.hasInfo&&this.collapsible){return{checked:this.checked,"duet-choice-card-collapsible":true,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":this.theme==="turva"}}return{checked:this.checked,"duet-choice-default-slot":true}};e.prototype.getLabel=function(){var e="";var t="";var i="";if(this.hasLabel){var o=getElementsFromNamedSlot(this.element,"label");e=o.length>0?o[0].textContent:""}if(this.hasBeforeText){var o=getElementsFromNamedSlot(this.element,"before-text");t=o.length>0?o[0].textContent:""}if(this.hasAdditional){var o=getElementsFromNamedSlot(this.element,"additional");i=o.length>0?o[0].textContent:""}return"".concat(t," ").concat(this.hasLabel?e:this.label," ").concat(this.caption," ").concat(i)};e.prototype.render=function(){var e=this;var t=this.identifier||this.choiceId;return h(Host,{key:"6b043ca676b0915beba8f7395ab51da5e4b5cd9b",class:{horizontal:this.groupDirection==="horizontal"&&!this.groupResponsive,"horizontal-responsive":this.groupDirection==="horizontal"&&this.groupResponsive,"duet-m-0":this.margin==="none","duet-expand":this.expand,"duet-theme-turva":this.theme==="turva","no-hover":this.isHovering,disabled:this.getDisabled()}},h("div",{key:"0891860988aae6ccb6cdaba297bb752a056511ed",class:{"duet-choice-card-flextainer":true,"duet-theme-turva":this.theme==="turva"}},h("div",{key:"bce0c0ae884e3406707a4a4c369b4459d50c0093",class:{"duet-choice-card":true,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"collapsible-force-expanded":this.collapsibleForceExpanded,"duet-p-0":this.padding==="none"}},this.type==="checkbox"&&h("input",{key:"89d5dd0ee3b36469a8dc76939682d6a9639d52a0",class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:t,name:this.name,value:this.value,checked:this.checked,"aria-label":this.getLabel(),"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedby(),onKeyDown:this.handleKeyDown,ref:function(t){return e.focusableElement=t}}),h("slot",{key:"2745b90b9febcddd1617878dc85dbdca91bed103",name:"choiceradioinput"}),h("label",{key:"60293091e7005f427af03589faa2471a20a07dbd",class:{"duet-choice-label":true,"has-before-text":this.hasBeforeText,checked:this.checked,focus:this.focus,disabled:this.getDisabled()},onClick:this.onClick},this.hasBeforeText&&h("slot",{key:"ae4be026a3b09c369840065af56652403199f386",name:"before-text"}),this.icon&&h("div",{key:"c7cb16471ff37dd3b02090dad05d7614f3d314bd",class:"duet-choice-card-icon"},h("duet-icon",{key:"addb288ef7d86b56bea8c1f332441a2c4cadb3d2",margin:"none",size:"small",name:this.icon,color:"currentColor"})),h("div",{key:"b93a83dfd99fe82813d0daa25004ad9c5f4bb58f",class:"duet-choice-card-text"},h("div",{key:"6c12ddc5fce7a4b360c8cd54f4c767cf3481af25"},this.hasLabel?h("slot",{name:"label"}):this.label),this.caption&&h("div",{key:"2375bc05cb87c6aff0e56758c9f478103e3fde4e"},h("duet-spacer",{key:"ed9c38492bbd765fe2f7c8e00be12f022b21932b",size:"xx-small"}),h("duet-caption",{key:"bd6ee17d7a87ee48ee817e3d22ae84f08ad1710c",margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&h("div",{key:"60864680b2473d89f940fa0cd8bfae6433838ae4"},h("duet-spacer",{key:"303abb939ca6951fabf2e789877ce9fdc5192e68",size:"xx-small"}),h("slot",{key:"3c0f6a723591ecf194520eef02445741986e2ede",name:"additional"}))),h("div",{key:"aab22344ed2b2b79259222456daed0c67007bd55"},h("div",{key:"8414b4650724896fe86bb5883c29f25970fd5225",class:{"duet-checkmark-container":true,"duet-checkmark-radio":this.type==="radio"}},this.checked&&h("div",{key:"0fb93a9d51f221f5338009ab93ee9ed0dd840afc",class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&h("button",{key:"dd75d55f02a8b12d8914d92ad5fd09f7b16cd0f0",ref:function(t){return e.infoButtonEl=t},id:this.infoButtonId,class:{"duet-choice-info-toggle":true,"duet-theme-turva":this.theme==="turva"},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.toggleInfo,disabled:this.getDisabled(),"aria-expanded":this.isInfoOpen?"true":"false","aria-label":"".concat(this.infoLabel," ").concat(this.label),"aria-controls":this.expandId,tabindex:this.type==="radio"&&!this.checked?"-1":"0",type:"button",onKeyUp:function(t){return e.handleEscape(t)}},h("div",{key:"acc75d0d4e81d63a1cadaf113f7a97727ec9b323",class:"duet-choice-info-icon"},h("duet-icon",{key:"dab37c8b277f1077f49ddadcd62a7b81e5590e0d",icon:messagingInfo.svg,margin:"none",size:"small",color:"currentColor"})))),this.collapsible&&h("span",{key:"2f6a4388ba251ee6e2d1125a5eed938899c730c8",id:"".concat(this.choiceId,"-collapsible-notification"),hidden:true},this.collapsibleNotification),this.collapsible||this.hasInfo?h("div",{class:this.getClassNames(),id:this.expandId},h("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},h("span",{id:this.headerId},h("slot",{name:"header"})),this.hasInfo?h("span",{ref:function(t){return e.infoContainer=t},tabindex:"0",class:"duet-choice-info-container",onKeyUp:function(t){return e.handleEscape(t)}},h("span",null,h("slot",{name:"info"})),h("slot",null)):h("span",{id:"".concat(this.choiceId,"-collapsible-content")},h("slot",null)))):null)};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetChoice.style=DuetChoiceStyle0;var duetChoiceGroupCss="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}:host(.horizontal) .duet-choice-group{display:block;margin-bottom:-12px}:host(.horizontal) .duet-choice-group.duet-no-stacking{display:flex}@media (min-width: 48em){:host(.horizontal) .duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){:host(.horizontal) .duet-choice-group{display:flex}}:host(.horizontal.duet-choice-group-breakpoint-x-small) .duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){:host(.horizontal.duet-choice-group-breakpoint-x-small) .duet-choice-group:not(.duet-no-stacking){display:block}}:host(.horizontal.duet-choice-group-breakpoint-small) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){:host(.horizontal.duet-choice-group-breakpoint-small) .duet-choice-group:not(.duet-no-stacking){display:flex}}:host(.horizontal.duet-choice-group-breakpoint-medium) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){:host(.horizontal.duet-choice-group-breakpoint-medium) .duet-choice-group:not(.duet-no-stacking){display:flex}}:host(.horizontal.duet-choice-group-breakpoint-large) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){:host(.horizontal.duet-choice-group-breakpoint-large) .duet-choice-group:not(.duet-no-stacking){display:flex}}:host(.horizontal.duet-choice-group-breakpoint-x-large) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){:host(.horizontal.duet-choice-group-breakpoint-x-large) .duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";var DuetChoiceGroupStyle0=duetChoiceGroupCss;var DuetChoiceGroup=function(){function e(e){var t=this;registerInstance(this,e);this.choiceGroupName="duet-choice-group";this.choices=new Set;this.onSelect=function(e){if(e.detail.component!=="duet-choice"){return}var i=e.target;if(i&&t.choices.has(i)){t.value=i.value}};this.onChoiceReady=function(e){var i=e.target;if(i.closest("duet-choice-group")===t.element&&!t.choices.has(i)){t.choices.add(i);t.updateChoices()}};this.onChoiceRemove=function(e){var i=e.target;t.choices.delete(i);t.updateChoices()};this.direction="vertical";this.margin="auto";this.theme="";this.error="";this.name=undefined;this.label="Label";this.labelHidden=false;this.caption=undefined;this.tooltip=undefined;this.tooltipDirection="auto";this.responsive=false;this.breakpoint="small";this.value=undefined;this.disabled=undefined;this.required=false;this.accessibleLiveError="polite"}e.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.setInitialValue();this.updateChoices();return[2]}))}))};e.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}};e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);checkNamedSlotElement(this.element,"tooltip","duet-tooltip",1,true)};e.prototype.setInitialValue=function(){if(typeof this.initialValue==="undefined"){this.initialValue=this.value}};e.prototype.getInitialValue=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.initialValue]}))}))};e.prototype.updateChoices=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i,o,a,r;return __generator(this,(function(c){t=(e=this.value)!==null&&e!==void 0?e:this.initialValue;i=false;for(o=0,a=Array.from(this.choices);o<a.length;o++){r=a[o];r.name=this.name;r.required=this.required;r.groupDisabled=this.disabled;r.groupDirection=this.direction;r.groupResponsive=this.responsive;if(!i&&r.value===t){i=true;r.checked=true;if(typeof this.value==="undefined"){this.value=t}}else{r.checked=false}}if(!i){this.value=undefined}return[2]}))}))};e.prototype.render=function(){var e;return h(Host,{key:"1a1882dc018f8084af4b98bf1c1dd42eb6b4196e",onDuetChange:this.onSelect,onDuetChoiceReady:this.onChoiceReady,onDuetChoiceRemove:this.onChoiceRemove,class:{horizontal:this.direction==="horizontal","duet-choice-group-breakpoint-x-small":this.responsive&&this.breakpoint==="x-small","duet-choice-group-breakpoint-small":this.responsive&&this.breakpoint==="small","duet-choice-group-breakpoint-medium":this.responsive&&this.breakpoint==="medium","duet-choice-group-breakpoint-large":this.responsive&&this.breakpoint==="large","duet-choice-group-breakpoint-x-large":this.responsive&&this.breakpoint==="x-large"}},h("duet-fieldset",{key:"4e16e0509b823c92997d9f22bf0b760c5bab9584",label:this.label,labelHidden:this.labelHidden,compactLabel:true,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme,"accessible-live-error":this.accessibleLiveError},this.tooltip&&h("duet-tooltip",{key:"ccca359a5153567adc4d64b1006700cd3c229230",slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),h("slot",{key:"b85ef08b02c0c4485c9051f84698b74d105ab2ed",name:"tooltip"}),h("div",{key:"76c59c3fdedd2bcbf0be91e55bffc45b1e18ae92",class:(e={},e[this.choiceGroupName]=true,e["duet-no-stacking"]=!this.responsive,e)},h("slot",{key:"e0f5a4ae522a9d2b8eec286a9e40a4c5db764310"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["setInitialValue","updateChoices"],disabled:["updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}},enumerable:false,configurable:true});return e}();DuetChoiceGroup.style=DuetChoiceGroupStyle0;export{DuetChoice as duet_choice,DuetChoiceGroup as duet_choice_group};
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,a,i){function n(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,o){function l(e){try{r(i.next(e))}catch(e){o(e)}}function s(e){try{r(i["throw"](e))}catch(e){o(e)}}function r(e){e.done?a(e.value):n(e.value).then(l,s)}r((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,n,o,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return r([e,t])}}function r(s){if(i)throw new TypeError("Generator is already executing.");while(l&&(l=0,s[0]&&(a=0)),a)try{if(i=1,n&&(o=s[0]&2?n["return"]:s[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;if(n=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;n=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(o=a.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(s[0]===6&&a.label<o[1]){a.label=o[1];o=s;break}if(o&&a.label<o[2]){a.label=o[2];a.ops.push(s);break}if(o[2])a.ops.pop();a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e];n=0}finally{i=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-1d0b7c66.js";import{a as actionArrowDownSmall}from"./action-arrow-down-small-82273dc8.js";import{f as font_size_medium,t as tokens}from"./tokens-84fb2357.js";import{i as inheritGlobalTheme}from"./themeable-component-860041c5.js";import{c as createID}from"./create-id-149a1b6d.js";import{i as isKeyboardClick,s as subscribeTabbingChange,u as unsubscribeTabbingChange}from"./keyboard-utils-439bcc8b.js";import{h as hasSlot}from"./slot-utils-4e5ed4eb.js";import{s as sanitizeString}from"./string-utils-192eb3c8.js";var duetCollapsibleCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-collapsible-heading .duet-collapsible-heading-content{min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{margin-left:16px}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div.float-right{margin-left:auto}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-collapsible-heading.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(8, 42, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}:host(.negative) .duet-collapsible-heading,:host(.negative) .duet-collapsible-content,:host(.negative) .duet-collapsible-heading-icon{color:rgb(255, 255, 255)}';var DuetCollapsibleStyle0=duetCollapsibleCss;var DuetCollapsible=function(){function e(e){var t=this;registerInstance(this,e);this.duetToggle=createEvent(this,"duetToggle",7);this.id=createID("DuetCollapsible");this.handleKeyDown=function(e){if(isKeyboardClick(e)){t.handleClick(e)}};this.getFontSizeFromTokens=function(e){if(e===void 0){e=t.headingSize}if(!e){return font_size_medium}else{var a=/-/g;var i=e.replace(a,"_");return tokens["font_size_".concat(i)]}};this.getEquivalentIconSize=function(e){if(e===void 0){e=t.headingSize}switch(e){case"x-small":return"xx-small";case"small":return"xx-small";case"medium":return"xx-small";case"large":return"x-small";case"x-large":return"small";case"xx-large":return"medium";case"xxx-large":return"x-large";case"xxxx-large":return"xxx-large";default:return"xx-small"}};this.handleClick=function(e){e.preventDefault();t.open=!t.open;t.duetToggle.emit({component:"duet-collapsible",originalEvent:e})};this.theme="";this.negative=false;this.accessibleLabel=undefined;this.heading="";this.headingFullWidth=false;this.centerHeading=false;this.headingWeight="semibold";this.headingSize=undefined;this.headingLevel=undefined;this.margin="auto";this.open=false}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.hasAfterHeading=hasSlot(this.element,"after-heading")};e.prototype.connectedCallback=function(){subscribeTabbingChange(this)};e.prototype.disconnectedCallback=function(){unsubscribeTabbingChange(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.nativeButton){this.element.classList.add("user-is-tabbing");this.nativeButton.focus(e)}return[2]}))}))};e.prototype.render=function(){var e=this;var t=this.headingLevel?sanitizeString(this.headingLevel):"div";return h(Host,{key:"41f36dde4e54009a1eb69c87caa20fe7174f54aa",class:{"duet-m-0":this.margin==="none",negative:this.negative}},h(t,{key:"2dfbc738dabf00e09f0dc410f340a2c149616e23"},h("button",{key:"9cdec6df9a1ad914a9b1f7add28b4327a40026ea",class:{"duet-collapsible-heading":true,"duet-collapsible-heading-centered":this.centerHeading,"duet-theme-turva":this.theme==="turva","duet-collapsible-normal-weight":this.headingWeight==="normal","has-after-heading":this.hasAfterHeading,"full-width":this.headingFullWidth},style:{"font-size":this.getFontSizeFromTokens()},role:"button",ref:function(t){return e.nativeButton=t},"aria-label":this.accessibleLabel,"aria-expanded":this.open?"true":"false","aria-controls":this.id,onClick:this.handleClick,onKeyDown:this.handleKeyDown},h("div",{key:"20969919d9bacce2a30a27f6b174a0d34ed2f87a",class:"duet-collapsible-heading-icon"},h("duet-icon",{key:"8b1ce16944925dcbe76add2736fb4a9c2c4d8143",margin:"none",size:this.getEquivalentIconSize(),icon:actionArrowDownSmall.svg})),h("div",{key:"ae5481e1aa50ea5752835acca560509f9e1ef31b",class:"duet-collapsible-heading-content",part:"duet-collapsible-heading-content"},this.heading),this.hasAfterHeading&&h("div",{key:"495b61f0b3f7d484f7af56bd8cde74b0fe6ae6b4",part:"duet-collapsible-after-heading"},h("slot",{key:"c95c048eba7d76b176a734ce678f9a26e124b495",name:"after-heading"})))),h("div",{key:"291f50f458f1951bb540412845f77c3034969d7d",id:this.id,class:{"duet-collapsible-content":true,"duet-theme-turva":this.theme==="turva"},part:"duet-collapsible-content"},h("slot",{key:"2b23d5343903b1fdb4e8977c1c6a1ab373928fe4"})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetCollapsible.style=DuetCollapsibleStyle0;export{DuetCollapsible as duet_collapsible};