@duetds/components 10.0.0-alpha.9 → 10.0.0

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 (1236) hide show
  1. package/hydrate/index.d.ts +38 -7
  2. package/hydrate/index.js +9485 -4052
  3. package/hydrate/index.mjs +46153 -0
  4. package/lib/cjs/_commonjsHelpers-4N64IRaP.js +10 -0
  5. package/lib/cjs/a11y-utils-DmZK4TTO.js +46 -0
  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-2b7fff72.js → app-globals-C35yvbFy.js} +2 -2
  9. package/lib/cjs/{common-strings-2984301e.js → common-strings-CC6Xpjb8.js} +30 -0
  10. package/lib/cjs/duet-action-button.cjs.entry.js +84 -29
  11. package/lib/cjs/duet-alert.cjs.entry.js +106 -49
  12. package/lib/cjs/duet-badge.cjs.entry.js +31 -9
  13. package/lib/cjs/duet-banner.cjs.entry.js +71 -28
  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 +152 -72
  17. package/lib/cjs/duet-callout.cjs.entry.js +13 -10
  18. package/lib/cjs/duet-caption_4.cjs.entry.js +212 -47
  19. package/lib/cjs/duet-card.cjs.entry.js +93 -35
  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 +60 -33
  23. package/lib/cjs/duet-choice_2.cjs.entry.js +279 -130
  24. package/lib/cjs/duet-collapsible.cjs.entry.js +92 -33
  25. package/lib/cjs/duet-combobox.cjs.entry.js +99 -58
  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 +158 -57
  29. package/lib/cjs/duet-divider_2.cjs.entry.js +30 -14
  30. package/lib/cjs/duet-editable-table_3.cjs.entry.js +556 -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 +165 -64
  36. package/lib/cjs/duet-header_2.cjs.entry.js +302 -91
  37. package/lib/cjs/duet-hero.cjs.entry.js +159 -35
  38. package/lib/cjs/duet-icon.cjs.entry.js +64 -20
  39. package/lib/cjs/duet-indicator.cjs.entry.js +61 -0
  40. package/lib/cjs/duet-input_2.cjs.entry.js +225 -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 -59
  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 +98 -32
  53. package/lib/cjs/duet-number-input.cjs.entry.js +191 -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 +52 -0
  58. package/lib/cjs/duet-phone-input.cjs.entry.js +115 -45
  59. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +226 -102
  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 +233 -88
  65. package/lib/cjs/duet-section-layout.cjs.entry.js +17 -10
  66. package/lib/cjs/duet-select.cjs.entry.js +89 -46
  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 +49 -16
  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 +85 -52
  76. package/lib/cjs/duet-status-icon.cjs.entry.js +28 -15
  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 +146 -71
  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-e3a0f607.js → errorcodes.utils-lNwivqkj.js} +2 -2
  98. package/lib/cjs/floating-ui.dom.browser.min-Cj0r5YDz.js +709 -0
  99. package/lib/cjs/{focus-utils-47d23c45.js → focus-utils-DFa0zwT7.js} +1 -1
  100. package/lib/cjs/form-search-CzPfHB80.js +21 -0
  101. package/lib/cjs/{index-7b1d76ef.js → index-C0kw3uAi.js} +1853 -1361
  102. package/lib/cjs/{label-874fd84f.js → label-BJ7gT5C1.js} +1 -1
  103. package/lib/cjs/{language-utils-a6a152b8.js → language-utils-v37OZJFe.js} +10 -2
  104. package/lib/cjs/loader.cjs.js +3 -5
  105. package/lib/cjs/{slot-utils-7e6aa48b.js → slot-utils-DFmRJ2pY.js} +6 -1
  106. package/lib/cjs/{teleport-c6f8391a.js → teleport-D5NDbuu0.js} +22 -7
  107. package/lib/cjs/themeable-component-BEm0vuJc.js +74 -0
  108. package/lib/cjs/{token-utils-5000595c.js → token-utils-BJtlJxnJ.js} +80 -9
  109. package/lib/cjs/{tokens-57e06fe4.js → tokens-BxWzRxOl.js} +150 -8
  110. package/lib/cjs/{tokens.module-7c947029.js → tokens.module-DJt2h4FX.js} +99 -3
  111. package/lib/cjs/{watch-options-30a12622.js → watch-options-D4JNsU3B.js} +0 -20
  112. package/lib/collection/collection-manifest.json +5 -1
  113. package/lib/collection/common/themeable-component.js +61 -3
  114. package/lib/collection/common-strings.js +28 -0
  115. package/lib/collection/components/duet-action-button/duet-action-button.css +29 -12
  116. package/lib/collection/components/duet-action-button/duet-action-button.js +92 -33
  117. package/lib/collection/components/duet-alert/duet-alert.css +96 -58
  118. package/lib/collection/components/duet-alert/duet-alert.js +145 -58
  119. package/lib/collection/components/duet-badge/duet-badge.css +24 -9
  120. package/lib/collection/components/duet-badge/duet-badge.js +30 -6
  121. package/lib/collection/components/duet-banner/duet-banner.css +51 -24
  122. package/lib/collection/components/duet-banner/duet-banner.js +94 -29
  123. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +10 -8
  124. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +26 -28
  125. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +18 -7
  126. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +15 -6
  127. package/lib/collection/components/duet-button/duet-button.css +140 -32
  128. package/lib/collection/components/duet-button/duet-button.js +169 -88
  129. package/lib/collection/components/duet-callout/duet-callout.css +7 -2
  130. package/lib/collection/components/duet-callout/duet-callout.js +10 -4
  131. package/lib/collection/components/duet-caption/duet-caption.css +7 -3
  132. package/lib/collection/components/duet-caption/duet-caption.js +18 -6
  133. package/lib/collection/components/duet-card/duet-card.css +48 -16
  134. package/lib/collection/components/duet-card/duet-card.js +131 -37
  135. package/lib/collection/components/duet-checkbox/duet-checkbox.css +30 -8
  136. package/lib/collection/components/duet-checkbox/duet-checkbox.js +86 -47
  137. package/lib/collection/components/duet-chip/duet-chip.css +66 -25
  138. package/lib/collection/components/duet-chip/duet-chip.js +67 -35
  139. package/lib/collection/components/duet-choice/duet-checkmark.css +4 -0
  140. package/lib/collection/components/duet-choice/duet-checkmark.js +22 -7
  141. package/lib/collection/components/duet-choice/duet-choice.css +160 -40
  142. package/lib/collection/components/duet-choice/duet-choice.js +241 -139
  143. package/lib/collection/components/duet-choice-group/duet-choice-group.css +4 -4
  144. package/lib/collection/components/duet-choice-group/duet-choice-group.js +109 -48
  145. package/lib/collection/components/duet-collapsible/duet-collapsible.css +36 -13
  146. package/lib/collection/components/duet-collapsible/duet-collapsible.js +97 -35
  147. package/lib/collection/components/duet-combobox/duet-combobox.css +9 -2
  148. package/lib/collection/components/duet-combobox/duet-combobox.js +103 -56
  149. package/lib/collection/components/duet-contact-card/duet-contact-card.css +8 -4
  150. package/lib/collection/components/duet-contact-card/duet-contact-card.js +21 -19
  151. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +23 -14
  152. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +11 -5
  153. package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
  154. package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
  155. package/lib/collection/components/duet-date-picker/duet-date-picker.css +102 -45
  156. package/lib/collection/components/duet-date-picker/duet-date-picker.js +172 -69
  157. package/lib/collection/components/duet-divider/duet-divider.css +12 -6
  158. package/lib/collection/components/duet-divider/duet-divider.js +14 -4
  159. package/lib/collection/components/duet-editable-table/duet-editable-table.css +2 -2
  160. package/lib/collection/components/duet-editable-table/duet-editable-table.js +83 -26
  161. package/lib/collection/components/duet-empty-state/duet-empty-state.css +11 -6
  162. package/lib/collection/components/duet-empty-state/duet-empty-state.js +14 -5
  163. package/lib/collection/components/duet-fieldset/duet-fieldset.css +13 -6
  164. package/lib/collection/components/duet-fieldset/duet-fieldset.js +58 -20
  165. package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +2 -2
  166. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +17 -7
  167. package/lib/collection/components/duet-footer/duet-footer.css +43 -14
  168. package/lib/collection/components/duet-footer/duet-footer.js +55 -27
  169. package/lib/collection/components/duet-grid/duet-grid.css +2 -6
  170. package/lib/collection/components/duet-grid/duet-grid.js +144 -67
  171. package/lib/collection/components/duet-grid-item/duet-grid-item.css +6 -2
  172. package/lib/collection/components/duet-grid-item/duet-grid-item.js +40 -13
  173. package/lib/collection/components/duet-header/duet-header.css +165 -65
  174. package/lib/collection/components/duet-header/duet-header.js +165 -76
  175. package/lib/collection/components/duet-heading/duet-heading.css +11 -6
  176. package/lib/collection/components/duet-heading/duet-heading.js +38 -14
  177. package/lib/collection/components/duet-hero/duet-hero.css +326 -18
  178. package/lib/collection/components/duet-hero/duet-hero.js +197 -51
  179. package/lib/collection/components/duet-icon/duet-icon.css +17 -5
  180. package/lib/collection/components/duet-icon/duet-icon.js +71 -24
  181. package/lib/collection/components/duet-indicator/duet-indicator.css +50 -0
  182. package/lib/collection/components/duet-indicator/duet-indicator.js +138 -0
  183. package/lib/collection/components/duet-input/duet-input.css +142 -67
  184. package/lib/collection/components/duet-input/duet-input.js +312 -138
  185. package/lib/collection/components/duet-label/duet-label.css +8 -4
  186. package/lib/collection/components/duet-label/duet-label.js +23 -8
  187. package/lib/collection/components/duet-layout/duet-layout.css +4 -4
  188. package/lib/collection/components/duet-layout/duet-layout.js +35 -12
  189. package/lib/collection/components/duet-link/duet-link.css +144 -25
  190. package/lib/collection/components/duet-link/duet-link.js +120 -32
  191. package/lib/collection/components/duet-list/duet-list.css +4 -4
  192. package/lib/collection/components/duet-list/duet-list.js +38 -9
  193. package/lib/collection/components/duet-list-item/duet-list-item.css +29 -9
  194. package/lib/collection/components/duet-list-item/duet-list-item.js +50 -4
  195. package/lib/collection/components/duet-logo/duet-logo.css +36 -8
  196. package/lib/collection/components/duet-logo/duet-logo.js +111 -11
  197. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +108 -6
  198. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +59 -58
  199. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +17 -8
  200. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +33 -22
  201. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +28 -12
  202. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +20 -12
  203. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +19 -9
  204. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +18 -10
  205. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +28 -10
  206. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +39 -16
  207. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +25 -10
  208. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +19 -8
  209. package/lib/collection/components/duet-modal/duet-modal.css +23 -25
  210. package/lib/collection/components/duet-modal/duet-modal.js +193 -39
  211. package/lib/collection/components/duet-multiselect/duet-multiselect.css +70 -29
  212. package/lib/collection/components/duet-multiselect/duet-multiselect.js +98 -48
  213. package/lib/collection/components/duet-nav/duet-nav.css +8 -4
  214. package/lib/collection/components/duet-nav/duet-nav.js +10 -3
  215. package/lib/collection/components/duet-notification/duet-notification.css +33 -26
  216. package/lib/collection/components/duet-notification/duet-notification.js +46 -9
  217. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +38 -36
  218. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +57 -24
  219. package/lib/collection/components/duet-number-input/duet-number-input.css +29 -14
  220. package/lib/collection/components/duet-number-input/duet-number-input.js +204 -103
  221. package/lib/collection/components/duet-overlay/duet-overlay.css +5 -1
  222. package/lib/collection/components/duet-overlay/duet-overlay.js +40 -15
  223. package/lib/collection/components/duet-page-heading/duet-page-heading.css +44 -16
  224. package/lib/collection/components/duet-page-heading/duet-page-heading.js +17 -9
  225. package/lib/collection/components/duet-pagination/duet-pagination.css +8 -4
  226. package/lib/collection/components/duet-pagination/duet-pagination.js +130 -76
  227. package/lib/collection/components/duet-panel/duet-panel.css +99 -0
  228. package/lib/collection/components/duet-panel/duet-panel.js +233 -0
  229. package/lib/collection/components/duet-paragraph/duet-paragraph.css +19 -6
  230. package/lib/collection/components/duet-paragraph/duet-paragraph.js +29 -8
  231. package/lib/collection/components/duet-phone-input/duet-phone-input.css +46 -2
  232. package/lib/collection/components/duet-phone-input/duet-phone-input.js +207 -54
  233. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +14 -6
  234. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +183 -89
  235. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +30 -12
  236. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +64 -29
  237. package/lib/collection/components/duet-progress/duet-progress.css +27 -8
  238. package/lib/collection/components/duet-progress/duet-progress.js +36 -14
  239. package/lib/collection/components/duet-promo-card/duet-promo-card.css +18 -12
  240. package/lib/collection/components/duet-promo-card/duet-promo-card.js +47 -11
  241. package/lib/collection/components/duet-radio/duet-radio.css +41 -8
  242. package/lib/collection/components/duet-radio/duet-radio.js +67 -49
  243. package/lib/collection/components/duet-radio-group/duet-radio-group.css +4 -4
  244. package/lib/collection/components/duet-radio-group/duet-radio-group.js +78 -30
  245. package/lib/collection/components/duet-range-slider/duet-range-slider.css +63 -18
  246. package/lib/collection/components/duet-range-slider/duet-range-slider.js +85 -46
  247. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +8 -4
  248. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +43 -14
  249. package/lib/collection/components/duet-scrollable/duet-scrollable.css +29 -19
  250. package/lib/collection/components/duet-scrollable/duet-scrollable.js +170 -29
  251. package/lib/collection/components/duet-section-layout/duet-section-layout.css +4 -4
  252. package/lib/collection/components/duet-section-layout/duet-section-layout.js +16 -6
  253. package/lib/collection/components/duet-select/duet-select.css +54 -23
  254. package/lib/collection/components/duet-select/duet-select.js +109 -63
  255. package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +6 -6
  256. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +17 -9
  257. package/lib/collection/components/duet-share-chart/duet-share-chart.css +82 -0
  258. package/lib/collection/components/duet-share-chart/duet-share-chart.js +141 -0
  259. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +67 -0
  260. package/lib/collection/components/duet-show-more/duet-show-more.css +15 -8
  261. package/lib/collection/components/duet-show-more/duet-show-more.js +87 -37
  262. package/lib/collection/components/duet-slideout/duet-slideout.css +72 -40
  263. package/lib/collection/components/duet-slideout/duet-slideout.js +88 -50
  264. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +10 -6
  265. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +5 -2
  266. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +24 -11
  267. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +50 -15
  268. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +63 -40
  269. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +47 -30
  270. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +29 -16
  271. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +25 -11
  272. package/lib/collection/components/duet-spacer/duet-spacer.css +2 -2
  273. package/lib/collection/components/duet-spacer/duet-spacer.js +14 -4
  274. package/lib/collection/components/duet-spinner/duet-spinner.css +10 -16
  275. package/lib/collection/components/duet-spinner/duet-spinner.js +21 -23
  276. package/lib/collection/components/duet-status-icon/duet-status-icon.js +30 -15
  277. package/lib/collection/components/duet-step/duet-step.css +28 -13
  278. package/lib/collection/components/duet-step/duet-step.js +25 -16
  279. package/lib/collection/components/duet-stepper/duet-stepper.css +4 -4
  280. package/lib/collection/components/duet-stepper/duet-stepper.js +45 -10
  281. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +34 -16
  282. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +25 -16
  283. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +49 -15
  284. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +25 -13
  285. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +29 -8
  286. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +26 -8
  287. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +33 -10
  288. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +38 -15
  289. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +34 -9
  290. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +17 -5
  291. package/lib/collection/components/duet-tab/duet-tab.css +15 -11
  292. package/lib/collection/components/duet-tab/duet-tab.js +88 -24
  293. package/lib/collection/components/duet-tab-group/duet-tab-group.css +131 -85
  294. package/lib/collection/components/duet-tab-group/duet-tab-group.js +168 -51
  295. package/lib/collection/components/duet-table/duet-table-styles.js +68 -4
  296. package/lib/collection/components/duet-table/duet-table.js +43 -14
  297. package/lib/collection/components/duet-textarea/duet-textarea.css +67 -22
  298. package/lib/collection/components/duet-textarea/duet-textarea.js +227 -99
  299. package/lib/collection/components/duet-toggle/duet-toggle.css +26 -10
  300. package/lib/collection/components/duet-toggle/duet-toggle.js +62 -38
  301. package/lib/collection/components/duet-toolbar/duet-toolbar.css +11 -4
  302. package/lib/collection/components/duet-toolbar/duet-toolbar.js +11 -6
  303. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +42 -12
  304. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +28 -14
  305. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +21 -8
  306. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +23 -9
  307. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +52 -30
  308. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +48 -19
  309. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +60 -10
  310. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +23 -9
  311. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +24 -14
  312. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +9 -11
  313. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +48 -16
  314. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +18 -14
  315. package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -4
  316. package/lib/collection/components/duet-tooltip/duet-tooltip.js +100 -45
  317. package/lib/collection/components/duet-tray/duet-tray.css +43 -27
  318. package/lib/collection/components/duet-tray/duet-tray.js +63 -21
  319. package/lib/collection/components/duet-upload/duet-upload.css +6 -6
  320. package/lib/collection/components/duet-upload/duet-upload.js +419 -213
  321. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +35 -13
  322. package/lib/collection/components/duet-upload-item/duet-upload-item.js +17 -18
  323. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.css +3 -3
  324. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  325. package/lib/collection/index.js +1 -0
  326. package/lib/collection/utils/a11y-utils.js +20 -0
  327. package/lib/collection/utils/language-utils.js +7 -0
  328. package/lib/collection/utils/slot-utils.js +4 -0
  329. package/lib/collection/utils/teleport.js +22 -7
  330. package/lib/collection/utils/test-utils.js +2 -2
  331. package/lib/collection/utils/token-utils.js +59 -7
  332. package/lib/collection/utils/turva2-color-tokens.js +42 -0
  333. package/lib/duet/duet.esm.js +1 -1
  334. package/lib/duet/p-0393a2ca.entry.js +4 -0
  335. package/lib/duet/p-0b8da007.entry.js +4 -0
  336. package/lib/duet/p-0d2652f7.entry.js +4 -0
  337. package/lib/duet/p-0f746b98.entry.js +4 -0
  338. package/lib/duet/p-1061ece7.entry.js +4 -0
  339. package/lib/duet/p-10b89587.entry.js +4 -0
  340. package/lib/duet/p-155804fc.entry.js +4 -0
  341. package/lib/duet/p-1695a1dd.entry.js +4 -0
  342. package/lib/duet/p-1c122e53.entry.js +4 -0
  343. package/lib/duet/{p-8cbd3dfd.entry.js → p-1ede805a.entry.js} +1 -1
  344. package/lib/duet/p-1fc5668c.entry.js +4 -0
  345. package/lib/duet/p-203c2af3.entry.js +4 -0
  346. package/lib/duet/p-2170d5a6.entry.js +4 -0
  347. package/lib/duet/{p-597e4a0d.entry.js → p-2292ac97.entry.js} +1 -1
  348. package/lib/duet/p-23719bbb.entry.js +4 -0
  349. package/lib/duet/p-25a8b510.entry.js +4 -0
  350. package/lib/duet/p-267d0b7d.entry.js +4 -0
  351. package/lib/duet/{p-7d5c5b60.entry.js → p-333694e4.entry.js} +1 -1
  352. package/lib/duet/p-36e58097.entry.js +4 -0
  353. package/lib/duet/p-38159827.entry.js +4 -0
  354. package/lib/duet/p-3968d0e9.entry.js +4 -0
  355. package/lib/duet/p-39775eb6.entry.js +4 -0
  356. package/lib/duet/p-3f940846.entry.js +4 -0
  357. package/lib/duet/p-3fbe4a4b.entry.js +4 -0
  358. package/lib/duet/p-3hcgvjwC.js +4 -0
  359. package/lib/duet/p-40dc43ed.entry.js +4 -0
  360. package/lib/duet/p-4203ad81.entry.js +4 -0
  361. package/lib/duet/p-42c15472.entry.js +4 -0
  362. package/lib/duet/p-43129496.entry.js +4 -0
  363. package/lib/duet/p-44e37a84.entry.js +4 -0
  364. package/lib/duet/p-451c55fb.entry.js +4 -0
  365. package/lib/duet/p-475cc911.entry.js +4 -0
  366. package/lib/duet/p-47d446f9.entry.js +4 -0
  367. package/lib/duet/p-4966dc81.entry.js +4 -0
  368. package/lib/duet/{p-e5229df1.entry.js → p-4a86aee3.entry.js} +1 -1
  369. package/lib/duet/p-4cc6fbda.entry.js +4 -0
  370. package/lib/duet/p-4d49d2ad.entry.js +4 -0
  371. package/lib/duet/p-529c4873.entry.js +4 -0
  372. package/lib/duet/p-53cb5ddf.entry.js +4 -0
  373. package/lib/duet/p-55243d88.entry.js +4 -0
  374. package/lib/duet/p-581d7bf3.entry.js +4 -0
  375. package/lib/duet/p-58ab58da.entry.js +4 -0
  376. package/lib/duet/p-58f95bf2.entry.js +4 -0
  377. package/lib/duet/p-5c89aaf2.entry.js +4 -0
  378. package/lib/duet/p-5e15625d.entry.js +4 -0
  379. package/lib/duet/p-5iZMFvpJ.js +4 -0
  380. package/lib/duet/p-6be3d1ac.entry.js +4 -0
  381. package/lib/duet/p-6cb3031c.entry.js +4 -0
  382. package/lib/duet/p-7a4f44c2.entry.js +4 -0
  383. package/lib/duet/p-7b820413.entry.js +4 -0
  384. package/lib/duet/p-7be47e32.entry.js +4 -0
  385. package/lib/duet/{p-546cf344.entry.js → p-7d3681f4.entry.js} +1 -1
  386. package/lib/duet/p-80fd305f.entry.js +4 -0
  387. package/lib/duet/p-85074a3f.entry.js +4 -0
  388. package/lib/duet/p-871323e5.entry.js +4 -0
  389. package/lib/duet/p-88682993.entry.js +4 -0
  390. package/lib/duet/p-8885f050.entry.js +4 -0
  391. package/lib/duet/p-89c4434a.entry.js +4 -0
  392. package/lib/duet/p-8a5a900e.entry.js +4 -0
  393. package/lib/duet/p-96725230.entry.js +4 -0
  394. package/lib/duet/p-9c2ad6b1.entry.js +4 -0
  395. package/lib/duet/p-BDAqOMlM.js +4 -0
  396. package/lib/duet/p-BVgBUIYF.js +4 -0
  397. package/lib/duet/{p-81287261.js → p-B_NkY9T0.js} +1 -1
  398. package/lib/duet/p-BdCvOZ0R.js +4 -0
  399. package/lib/duet/p-Bg75Vqqq.js +4 -0
  400. package/lib/duet/p-BmMFVM-y.js +4 -0
  401. package/lib/duet/{p-b3d6e031.js → p-CDjWio68.js} +1 -1
  402. package/lib/duet/p-CVPfl9fc.js +4 -0
  403. package/lib/duet/p-CXz8FCgk.js +4 -0
  404. package/lib/duet/p-CooAqTCj.js +4 -0
  405. package/lib/duet/{p-083bbc28.js → p-DEoH9jLj.js} +1 -1
  406. package/lib/duet/p-DOuLHrH5.js +4 -0
  407. package/lib/duet/p-DXnMp1Z1.js +4 -0
  408. package/lib/duet/p-DYyVxyo8.js +4 -0
  409. package/lib/duet/{p-a45e3f8b.js → p-Db8rvjPI.js} +1 -1
  410. package/lib/duet/p-DvwKrUS6.js +4 -0
  411. package/lib/duet/p-EZOAO_vc.js +5 -0
  412. package/lib/duet/p-Tof9ag29.js +4 -0
  413. package/lib/duet/p-a05d9667.entry.js +4 -0
  414. package/lib/duet/p-a109719f.entry.js +4 -0
  415. package/lib/duet/p-a2c4fa32.entry.js +4 -0
  416. package/lib/duet/p-a3a61c66.entry.js +4 -0
  417. package/lib/duet/p-ac2a957c.entry.js +4 -0
  418. package/lib/duet/p-b4541648.entry.js +4 -0
  419. package/lib/duet/p-b4bf40a5.entry.js +4 -0
  420. package/lib/duet/p-b7d0d9fa.entry.js +4 -0
  421. package/lib/duet/p-baa33e33.entry.js +4 -0
  422. package/lib/duet/p-bd1c363d.entry.js +4 -0
  423. package/lib/duet/p-bda426ce.entry.js +4 -0
  424. package/lib/duet/p-c010c504.entry.js +4 -0
  425. package/lib/duet/p-c14ad166.entry.js +4 -0
  426. package/lib/duet/p-c3a79627.entry.js +4 -0
  427. package/lib/duet/p-d06af257.entry.js +4 -0
  428. package/lib/duet/p-d70babeb.entry.js +4 -0
  429. package/lib/duet/p-dc3f731a.entry.js +4 -0
  430. package/lib/duet/p-dc50ce9f.entry.js +4 -0
  431. package/lib/duet/p-dc53f89d.entry.js +4 -0
  432. package/lib/duet/p-e0054c71.entry.js +4 -0
  433. package/lib/duet/p-e26fee5b.entry.js +4 -0
  434. package/lib/duet/p-e528ba03.entry.js +4 -0
  435. package/lib/duet/p-e80de2cb.entry.js +4 -0
  436. package/lib/duet/p-eb6c0729.entry.js +4 -0
  437. package/lib/duet/p-ef206ef5.entry.js +4 -0
  438. package/lib/duet/p-f2fadb27.entry.js +4 -0
  439. package/lib/duet/p-fcbdf07c.entry.js +4 -0
  440. package/lib/duet/p-vVCYtBMj.js +4 -0
  441. package/lib/esm/_commonjsHelpers-DvwKrUS6.js +8 -0
  442. package/lib/esm/a11y-utils-By9FOQXs.js +43 -0
  443. package/lib/esm/action-arrow-down-small-Bk3GShyI.js +19 -0
  444. package/lib/esm/action-new-window-small-EH8_HdAm.js +19 -0
  445. package/lib/esm/{app-globals-e00fbe9c.js → app-globals-xm_WC7uO.js} +2 -2
  446. package/lib/esm/common-strings-CVPfl9fc.js +53 -0
  447. package/lib/esm/duet-action-button.entry.js +84 -27
  448. package/lib/esm/duet-alert.entry.js +106 -47
  449. package/lib/esm/duet-badge.entry.js +31 -7
  450. package/lib/esm/duet-banner.entry.js +71 -26
  451. package/lib/esm/duet-breadcrumb.entry.js +38 -25
  452. package/lib/esm/duet-breadcrumbs.entry.js +20 -12
  453. package/lib/esm/duet-button_2.entry.js +152 -70
  454. package/lib/esm/duet-callout.entry.js +13 -8
  455. package/lib/esm/duet-caption_4.entry.js +212 -45
  456. package/lib/esm/duet-card.entry.js +93 -33
  457. package/lib/esm/duet-checkbox.entry.js +68 -30
  458. package/lib/esm/duet-checkmark.entry.js +21 -7
  459. package/lib/esm/duet-chip.entry.js +60 -31
  460. package/lib/esm/duet-choice_2.entry.js +280 -129
  461. package/lib/esm/duet-collapsible.entry.js +92 -31
  462. package/lib/esm/duet-combobox.entry.js +99 -56
  463. package/lib/esm/duet-contact-card.entry.js +17 -16
  464. package/lib/esm/duet-cookie-consent.entry.js +14 -9
  465. package/lib/esm/duet-date-picker.entry.js +158 -55
  466. package/lib/esm/duet-divider_2.entry.js +30 -12
  467. package/lib/esm/duet-editable-table_3.entry.js +556 -208
  468. package/lib/esm/duet-empty-state.entry.js +15 -7
  469. package/lib/esm/duet-fieldset.entry.js +51 -16
  470. package/lib/esm/duet-file-chooser.entry.js +18 -9
  471. package/lib/esm/duet-footer.entry.js +56 -28
  472. package/lib/esm/duet-grid_2.entry.js +165 -62
  473. package/lib/esm/duet-header_2.entry.js +303 -90
  474. package/lib/esm/duet-hero.entry.js +159 -33
  475. package/lib/esm/duet-icon.entry.js +64 -18
  476. package/lib/esm/duet-indicator.entry.js +59 -0
  477. package/lib/esm/duet-input_2.entry.js +226 -85
  478. package/lib/esm/duet-layout.entry.js +33 -11
  479. package/lib/esm/duet-list_2.entry.js +58 -12
  480. package/lib/esm/duet-menu-bar-button.entry.js +24 -14
  481. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +19 -12
  482. package/lib/esm/duet-menu-bar-dropdown.entry.js +21 -14
  483. package/lib/esm/duet-menu-bar-item.entry.js +40 -17
  484. package/lib/esm/duet-menu-bar-link.entry.js +18 -8
  485. package/lib/esm/duet-menu-bar.entry.js +37 -57
  486. package/lib/esm/duet-modal.entry.js +122 -33
  487. package/lib/esm/duet-multiselect.entry.js +88 -40
  488. package/lib/esm/duet-nav.entry.js +12 -6
  489. package/lib/esm/duet-notification_2.entry.js +98 -30
  490. package/lib/esm/duet-number-input.entry.js +192 -69
  491. package/lib/esm/duet-overlay.entry.js +36 -12
  492. package/lib/esm/duet-page-heading.entry.js +16 -9
  493. package/lib/esm/duet-pagination_2.entry.js +162 -85
  494. package/lib/esm/duet-panel.entry.js +50 -0
  495. package/lib/esm/duet-phone-input.entry.js +115 -43
  496. package/lib/esm/duet-popup-menu_2.entry.js +223 -97
  497. package/lib/esm/duet-progress.entry.js +32 -11
  498. package/lib/esm/duet-promo-card.entry.js +27 -11
  499. package/lib/esm/duet-radio_2.entry.js +114 -53
  500. package/lib/esm/duet-range-slider.entry.js +73 -35
  501. package/lib/esm/duet-scrollable_3.entry.js +233 -86
  502. package/lib/esm/duet-section-layout.entry.js +17 -8
  503. package/lib/esm/duet-select.entry.js +89 -44
  504. package/lib/esm/duet-shaped-image.entry.js +16 -9
  505. package/lib/esm/duet-share-chart-item.entry.js +20 -0
  506. package/lib/esm/duet-share-chart.entry.js +83 -0
  507. package/lib/esm/duet-show-more.entry.js +81 -36
  508. package/lib/esm/duet-slideout-lang.entry.js +10 -8
  509. package/lib/esm/duet-slideout-link.entry.js +49 -14
  510. package/lib/esm/duet-slideout-panel-dropdown.entry.js +25 -12
  511. package/lib/esm/duet-slideout-panel.entry.js +50 -34
  512. package/lib/esm/duet-slideout.entry.js +85 -50
  513. package/lib/esm/duet-status-icon.entry.js +28 -13
  514. package/lib/esm/duet-step_2.entry.js +73 -23
  515. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +25 -8
  516. package/lib/esm/duet-submenu-bar-dropdown.entry.js +27 -16
  517. package/lib/esm/duet-submenu-bar-item.entry.js +40 -17
  518. package/lib/esm/duet-submenu-bar-link.entry.js +18 -7
  519. package/lib/esm/duet-submenu-bar.entry.js +27 -19
  520. package/lib/esm/duet-textarea.entry.js +146 -69
  521. package/lib/esm/duet-toggle.entry.js +50 -27
  522. package/lib/esm/duet-toolbar-dropdown-link.entry.js +22 -9
  523. package/lib/esm/duet-toolbar-dropdown.entry.js +27 -14
  524. package/lib/esm/duet-toolbar-item.entry.js +46 -17
  525. package/lib/esm/duet-toolbar-link.entry.js +21 -8
  526. package/lib/esm/duet-toolbar.entry.js +12 -8
  527. package/lib/esm/duet-tooltip-button_2.entry.js +24 -25
  528. package/lib/esm/duet-tooltip.entry.js +97 -43
  529. package/lib/esm/duet-tray.entry.js +63 -22
  530. package/lib/esm/duet-upload-aria-status.entry.js +30 -9
  531. package/lib/esm/duet-upload-item.entry.js +12 -20
  532. package/lib/esm/duet-visually-hidden.entry.js +4 -5
  533. package/lib/esm/duet.js +7 -6
  534. package/lib/esm/{errorcodes.utils-416994cc.js → errorcodes.utils-By8gaKwQ.js} +3 -3
  535. package/lib/esm/floating-ui.dom.browser.min-B_NkY9T0.js +702 -0
  536. package/lib/{dist-custom-elements/p-e30dc66d.js → esm/focus-utils-BVqqQKeY.js} +1 -1
  537. package/lib/esm/form-search-CevX33LA.js +19 -0
  538. package/lib/esm/{index-1a6cee61.js → index-EZOAO_vc.js} +1851 -1357
  539. package/lib/{dist-custom-elements/p-8db11326.js → esm/keyboard-utils-Db8rvjPI.js} +1 -1
  540. package/lib/{dist-custom-elements/p-42619f94.js → esm/label-Dji6BDQC.js} +1 -1
  541. package/lib/esm/{language-utils-8a9d5323.js → language-utils-COd-eoxb.js} +10 -3
  542. package/lib/esm/loader.js +4 -4
  543. package/lib/esm/{slot-utils-bf214ae5.js → slot-utils-BSu3Mnho.js} +6 -2
  544. package/lib/esm/{teleport-546f382d.js → teleport-CooAqTCj.js} +22 -7
  545. package/lib/esm/themeable-component-spmVa3d3.js +72 -0
  546. package/lib/{dist-custom-elements/p-0562173d.js → esm/token-utils-Dks4GBDa.js} +80 -10
  547. package/lib/esm/{tokens-84fb2357.js → tokens-DOuLHrH5.js} +151 -7
  548. package/lib/esm/{tokens.module-2d02f5ff.js → tokens.module-BDAqOMlM.js} +100 -4
  549. package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-BmMFVM-y.js} +1 -20
  550. package/lib/index.js +1 -1
  551. package/lib/loader/cdn.js +1 -2
  552. package/lib/loader/index.cjs.js +1 -2
  553. package/lib/loader/index.es2017.js +0 -1
  554. package/lib/loader/index.js +1 -2
  555. package/lib/types/common-strings.d.ts +3 -0
  556. package/lib/types/common-types.d.ts +1 -1
  557. package/lib/types/components/duet-alert/duet-alert.d.ts +20 -10
  558. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
  559. package/lib/types/components/duet-banner/duet-banner.d.ts +6 -0
  560. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
  561. package/lib/types/components/duet-card/duet-card.d.ts +10 -0
  562. package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
  563. package/lib/types/components/duet-choice/duet-choice.d.ts +4 -8
  564. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +3 -2
  565. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +4 -1
  566. package/lib/types/components/duet-combobox/duet-combobox.d.ts +2 -0
  567. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +4 -0
  568. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +3 -0
  569. package/lib/types/components/duet-grid/duet-grid.d.ts +9 -7
  570. package/lib/types/components/duet-hero/duet-hero.d.ts +9 -0
  571. package/lib/types/components/duet-indicator/duet-indicator.d.ts +24 -0
  572. package/lib/types/components/duet-input/duet-input.d.ts +21 -13
  573. package/lib/types/components/duet-link/duet-link.d.ts +3 -0
  574. package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
  575. package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
  576. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
  577. package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
  578. package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
  579. package/lib/types/components/duet-number-input/duet-number-input.d.ts +13 -8
  580. package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
  581. package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
  582. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
  583. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +23 -1
  584. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +10 -6
  585. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
  586. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +4 -0
  587. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
  588. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +18 -0
  589. package/lib/types/components/duet-select/duet-select.d.ts +2 -1
  590. package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +34 -0
  591. package/lib/types/components/duet-share-chart-item/duet-share-chart-item.d.ts +13 -0
  592. package/lib/types/components/duet-show-more/duet-show-more.d.ts +1 -0
  593. package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -5
  594. package/lib/types/components/duet-spinner/duet-spinner.d.ts +6 -3
  595. package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +1 -0
  596. package/lib/types/components/duet-stepper/duet-stepper.d.ts +5 -2
  597. package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
  598. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +9 -0
  599. package/lib/types/components/duet-textarea/duet-textarea.d.ts +21 -9
  600. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
  601. package/lib/types/components.d.ts +2126 -73
  602. package/lib/types/index.d.ts +1 -0
  603. package/lib/types/stencil-public-runtime.d.ts +35 -6
  604. package/lib/types/utils/a11y-utils.d.ts +11 -0
  605. package/lib/types/utils/language-utils.d.ts +1 -0
  606. package/lib/types/utils/slot-utils.d.ts +1 -0
  607. package/lib/types/utils/teleport.d.ts +4 -1
  608. package/lib/types/utils/token-utils.d.ts +4 -0
  609. package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
  610. package/package.json +37 -17
  611. package/lib/cjs/a11y-utils-be617c0c.js +0 -25
  612. package/lib/cjs/action-arrow-down-small-ef77a2d1.js +0 -8
  613. package/lib/cjs/action-new-window-small-fa51dfb9.js +0 -8
  614. package/lib/cjs/floating-ui.dom.esm-806e7c53.js +0 -1355
  615. package/lib/cjs/form-search-d61b2843.js +0 -8
  616. package/lib/cjs/themeable-component-996b489c.js +0 -15
  617. package/lib/dist-custom-elements/duet-action-button.d.ts +0 -11
  618. package/lib/dist-custom-elements/duet-action-button.js +0 -9
  619. package/lib/dist-custom-elements/duet-alert.d.ts +0 -11
  620. package/lib/dist-custom-elements/duet-alert.js +0 -9
  621. package/lib/dist-custom-elements/duet-badge.d.ts +0 -11
  622. package/lib/dist-custom-elements/duet-badge.js +0 -9
  623. package/lib/dist-custom-elements/duet-banner.d.ts +0 -11
  624. package/lib/dist-custom-elements/duet-banner.js +0 -157
  625. package/lib/dist-custom-elements/duet-breadcrumb.d.ts +0 -11
  626. package/lib/dist-custom-elements/duet-breadcrumb.js +0 -101
  627. package/lib/dist-custom-elements/duet-breadcrumbs.d.ts +0 -11
  628. package/lib/dist-custom-elements/duet-breadcrumbs.js +0 -88
  629. package/lib/dist-custom-elements/duet-button.d.ts +0 -11
  630. package/lib/dist-custom-elements/duet-button.js +0 -9
  631. package/lib/dist-custom-elements/duet-callout.d.ts +0 -11
  632. package/lib/dist-custom-elements/duet-callout.js +0 -72
  633. package/lib/dist-custom-elements/duet-caption.d.ts +0 -11
  634. package/lib/dist-custom-elements/duet-caption.js +0 -9
  635. package/lib/dist-custom-elements/duet-card.d.ts +0 -11
  636. package/lib/dist-custom-elements/duet-card.js +0 -174
  637. package/lib/dist-custom-elements/duet-checkbox.d.ts +0 -11
  638. package/lib/dist-custom-elements/duet-checkbox.js +0 -9
  639. package/lib/dist-custom-elements/duet-checkmark.d.ts +0 -11
  640. package/lib/dist-custom-elements/duet-checkmark.js +0 -9
  641. package/lib/dist-custom-elements/duet-chip.d.ts +0 -11
  642. package/lib/dist-custom-elements/duet-chip.js +0 -9
  643. package/lib/dist-custom-elements/duet-choice-group.d.ts +0 -11
  644. package/lib/dist-custom-elements/duet-choice-group.js +0 -228
  645. package/lib/dist-custom-elements/duet-choice.d.ts +0 -11
  646. package/lib/dist-custom-elements/duet-choice.js +0 -454
  647. package/lib/dist-custom-elements/duet-collapsible.d.ts +0 -11
  648. package/lib/dist-custom-elements/duet-collapsible.js +0 -176
  649. package/lib/dist-custom-elements/duet-combobox.d.ts +0 -11
  650. package/lib/dist-custom-elements/duet-combobox.js +0 -702
  651. package/lib/dist-custom-elements/duet-contact-card.d.ts +0 -11
  652. package/lib/dist-custom-elements/duet-contact-card.js +0 -134
  653. package/lib/dist-custom-elements/duet-cookie-consent.d.ts +0 -11
  654. package/lib/dist-custom-elements/duet-cookie-consent.js +0 -106
  655. package/lib/dist-custom-elements/duet-date-picker.d.ts +0 -11
  656. package/lib/dist-custom-elements/duet-date-picker.js +0 -937
  657. package/lib/dist-custom-elements/duet-divider.d.ts +0 -11
  658. package/lib/dist-custom-elements/duet-divider.js +0 -9
  659. package/lib/dist-custom-elements/duet-editable-table.d.ts +0 -11
  660. package/lib/dist-custom-elements/duet-editable-table.js +0 -258
  661. package/lib/dist-custom-elements/duet-empty-state.d.ts +0 -11
  662. package/lib/dist-custom-elements/duet-empty-state.js +0 -9
  663. package/lib/dist-custom-elements/duet-fieldset.d.ts +0 -11
  664. package/lib/dist-custom-elements/duet-fieldset.js +0 -9
  665. package/lib/dist-custom-elements/duet-file-chooser.d.ts +0 -11
  666. package/lib/dist-custom-elements/duet-file-chooser.js +0 -86
  667. package/lib/dist-custom-elements/duet-footer.d.ts +0 -11
  668. package/lib/dist-custom-elements/duet-footer.js +0 -223
  669. package/lib/dist-custom-elements/duet-grid-item.d.ts +0 -11
  670. package/lib/dist-custom-elements/duet-grid-item.js +0 -9
  671. package/lib/dist-custom-elements/duet-grid.d.ts +0 -11
  672. package/lib/dist-custom-elements/duet-grid.js +0 -9
  673. package/lib/dist-custom-elements/duet-header.d.ts +0 -11
  674. package/lib/dist-custom-elements/duet-header.js +0 -698
  675. package/lib/dist-custom-elements/duet-heading.d.ts +0 -11
  676. package/lib/dist-custom-elements/duet-heading.js +0 -9
  677. package/lib/dist-custom-elements/duet-hero.d.ts +0 -11
  678. package/lib/dist-custom-elements/duet-hero.js +0 -299
  679. package/lib/dist-custom-elements/duet-icon.d.ts +0 -11
  680. package/lib/dist-custom-elements/duet-icon.js +0 -9
  681. package/lib/dist-custom-elements/duet-input.d.ts +0 -11
  682. package/lib/dist-custom-elements/duet-input.js +0 -9
  683. package/lib/dist-custom-elements/duet-label.d.ts +0 -11
  684. package/lib/dist-custom-elements/duet-label.js +0 -70
  685. package/lib/dist-custom-elements/duet-layout.d.ts +0 -11
  686. package/lib/dist-custom-elements/duet-layout.js +0 -94
  687. package/lib/dist-custom-elements/duet-link.d.ts +0 -11
  688. package/lib/dist-custom-elements/duet-link.js +0 -9
  689. package/lib/dist-custom-elements/duet-list-item.d.ts +0 -11
  690. package/lib/dist-custom-elements/duet-list-item.js +0 -9
  691. package/lib/dist-custom-elements/duet-list.d.ts +0 -11
  692. package/lib/dist-custom-elements/duet-list.js +0 -9
  693. package/lib/dist-custom-elements/duet-logo.d.ts +0 -11
  694. package/lib/dist-custom-elements/duet-logo.js +0 -9
  695. package/lib/dist-custom-elements/duet-menu-bar-button.d.ts +0 -11
  696. package/lib/dist-custom-elements/duet-menu-bar-button.js +0 -94
  697. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.d.ts +0 -11
  698. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +0 -87
  699. package/lib/dist-custom-elements/duet-menu-bar-dropdown.d.ts +0 -11
  700. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +0 -108
  701. package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +0 -11
  702. package/lib/dist-custom-elements/duet-menu-bar-item.js +0 -108
  703. package/lib/dist-custom-elements/duet-menu-bar-link.d.ts +0 -11
  704. package/lib/dist-custom-elements/duet-menu-bar-link.js +0 -70
  705. package/lib/dist-custom-elements/duet-menu-bar.d.ts +0 -11
  706. package/lib/dist-custom-elements/duet-menu-bar.js +0 -207
  707. package/lib/dist-custom-elements/duet-modal.d.ts +0 -11
  708. package/lib/dist-custom-elements/duet-modal.js +0 -382
  709. package/lib/dist-custom-elements/duet-multiselect.d.ts +0 -11
  710. package/lib/dist-custom-elements/duet-multiselect.js +0 -346
  711. package/lib/dist-custom-elements/duet-nav.d.ts +0 -11
  712. package/lib/dist-custom-elements/duet-nav.js +0 -54
  713. package/lib/dist-custom-elements/duet-notification-drawer.d.ts +0 -11
  714. package/lib/dist-custom-elements/duet-notification-drawer.js +0 -168
  715. package/lib/dist-custom-elements/duet-notification.d.ts +0 -11
  716. package/lib/dist-custom-elements/duet-notification.js +0 -95
  717. package/lib/dist-custom-elements/duet-number-input.d.ts +0 -11
  718. package/lib/dist-custom-elements/duet-number-input.js +0 -484
  719. package/lib/dist-custom-elements/duet-overlay.d.ts +0 -11
  720. package/lib/dist-custom-elements/duet-overlay.js +0 -9
  721. package/lib/dist-custom-elements/duet-page-heading.d.ts +0 -11
  722. package/lib/dist-custom-elements/duet-page-heading.js +0 -87
  723. package/lib/dist-custom-elements/duet-pagination.d.ts +0 -11
  724. package/lib/dist-custom-elements/duet-pagination.js +0 -493
  725. package/lib/dist-custom-elements/duet-paragraph.d.ts +0 -11
  726. package/lib/dist-custom-elements/duet-paragraph.js +0 -9
  727. package/lib/dist-custom-elements/duet-phone-input.d.ts +0 -11
  728. package/lib/dist-custom-elements/duet-phone-input.js +0 -2122
  729. package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +0 -11
  730. package/lib/dist-custom-elements/duet-popup-menu-item.js +0 -9
  731. package/lib/dist-custom-elements/duet-popup-menu.d.ts +0 -11
  732. package/lib/dist-custom-elements/duet-popup-menu.js +0 -9
  733. package/lib/dist-custom-elements/duet-progress.d.ts +0 -11
  734. package/lib/dist-custom-elements/duet-progress.js +0 -9
  735. package/lib/dist-custom-elements/duet-promo-card.d.ts +0 -11
  736. package/lib/dist-custom-elements/duet-promo-card.js +0 -105
  737. package/lib/dist-custom-elements/duet-radio-group.d.ts +0 -11
  738. package/lib/dist-custom-elements/duet-radio-group.js +0 -213
  739. package/lib/dist-custom-elements/duet-radio.d.ts +0 -11
  740. package/lib/dist-custom-elements/duet-radio.js +0 -230
  741. package/lib/dist-custom-elements/duet-range-slider.d.ts +0 -11
  742. package/lib/dist-custom-elements/duet-range-slider.js +0 -181
  743. package/lib/dist-custom-elements/duet-range-stepper.d.ts +0 -11
  744. package/lib/dist-custom-elements/duet-range-stepper.js +0 -234
  745. package/lib/dist-custom-elements/duet-scrollable.d.ts +0 -11
  746. package/lib/dist-custom-elements/duet-scrollable.js +0 -9
  747. package/lib/dist-custom-elements/duet-section-layout.d.ts +0 -11
  748. package/lib/dist-custom-elements/duet-section-layout.js +0 -56
  749. package/lib/dist-custom-elements/duet-select.d.ts +0 -11
  750. package/lib/dist-custom-elements/duet-select.js +0 -9
  751. package/lib/dist-custom-elements/duet-shaped-image.d.ts +0 -11
  752. package/lib/dist-custom-elements/duet-shaped-image.js +0 -64
  753. package/lib/dist-custom-elements/duet-show-more.d.ts +0 -11
  754. package/lib/dist-custom-elements/duet-show-more.js +0 -9
  755. package/lib/dist-custom-elements/duet-slideout-lang.d.ts +0 -11
  756. package/lib/dist-custom-elements/duet-slideout-lang.js +0 -76
  757. package/lib/dist-custom-elements/duet-slideout-link.d.ts +0 -11
  758. package/lib/dist-custom-elements/duet-slideout-link.js +0 -98
  759. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.d.ts +0 -11
  760. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +0 -93
  761. package/lib/dist-custom-elements/duet-slideout-panel.d.ts +0 -11
  762. package/lib/dist-custom-elements/duet-slideout-panel.js +0 -224
  763. package/lib/dist-custom-elements/duet-slideout.d.ts +0 -11
  764. package/lib/dist-custom-elements/duet-slideout.js +0 -328
  765. package/lib/dist-custom-elements/duet-spacer.d.ts +0 -11
  766. package/lib/dist-custom-elements/duet-spacer.js +0 -9
  767. package/lib/dist-custom-elements/duet-spinner.d.ts +0 -11
  768. package/lib/dist-custom-elements/duet-spinner.js +0 -9
  769. package/lib/dist-custom-elements/duet-status-icon.d.ts +0 -11
  770. package/lib/dist-custom-elements/duet-status-icon.js +0 -111
  771. package/lib/dist-custom-elements/duet-step.d.ts +0 -11
  772. package/lib/dist-custom-elements/duet-step.js +0 -147
  773. package/lib/dist-custom-elements/duet-stepper.d.ts +0 -11
  774. package/lib/dist-custom-elements/duet-stepper.js +0 -151
  775. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.d.ts +0 -11
  776. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +0 -81
  777. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +0 -11
  778. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +0 -152
  779. package/lib/dist-custom-elements/duet-submenu-bar-item.d.ts +0 -11
  780. package/lib/dist-custom-elements/duet-submenu-bar-item.js +0 -113
  781. package/lib/dist-custom-elements/duet-submenu-bar-link.d.ts +0 -11
  782. package/lib/dist-custom-elements/duet-submenu-bar-link.js +0 -72
  783. package/lib/dist-custom-elements/duet-submenu-bar.d.ts +0 -11
  784. package/lib/dist-custom-elements/duet-submenu-bar.js +0 -192
  785. package/lib/dist-custom-elements/duet-tab-group.d.ts +0 -11
  786. package/lib/dist-custom-elements/duet-tab-group.js +0 -312
  787. package/lib/dist-custom-elements/duet-tab.d.ts +0 -11
  788. package/lib/dist-custom-elements/duet-tab.js +0 -150
  789. package/lib/dist-custom-elements/duet-table.d.ts +0 -11
  790. package/lib/dist-custom-elements/duet-table.js +0 -9
  791. package/lib/dist-custom-elements/duet-textarea.d.ts +0 -11
  792. package/lib/dist-custom-elements/duet-textarea.js +0 -301
  793. package/lib/dist-custom-elements/duet-toggle.d.ts +0 -11
  794. package/lib/dist-custom-elements/duet-toggle.js +0 -146
  795. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.d.ts +0 -11
  796. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +0 -80
  797. package/lib/dist-custom-elements/duet-toolbar-dropdown.d.ts +0 -11
  798. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +0 -107
  799. package/lib/dist-custom-elements/duet-toolbar-item.d.ts +0 -11
  800. package/lib/dist-custom-elements/duet-toolbar-item.js +0 -120
  801. package/lib/dist-custom-elements/duet-toolbar-link.d.ts +0 -11
  802. package/lib/dist-custom-elements/duet-toolbar-link.js +0 -74
  803. package/lib/dist-custom-elements/duet-toolbar.d.ts +0 -11
  804. package/lib/dist-custom-elements/duet-toolbar.js +0 -67
  805. package/lib/dist-custom-elements/duet-tooltip-button.d.ts +0 -11
  806. package/lib/dist-custom-elements/duet-tooltip-button.js +0 -9
  807. package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +0 -11
  808. package/lib/dist-custom-elements/duet-tooltip-popup.js +0 -9
  809. package/lib/dist-custom-elements/duet-tooltip.d.ts +0 -11
  810. package/lib/dist-custom-elements/duet-tooltip.js +0 -9
  811. package/lib/dist-custom-elements/duet-tray.d.ts +0 -11
  812. package/lib/dist-custom-elements/duet-tray.js +0 -146
  813. package/lib/dist-custom-elements/duet-upload-aria-status.d.ts +0 -11
  814. package/lib/dist-custom-elements/duet-upload-aria-status.js +0 -9
  815. package/lib/dist-custom-elements/duet-upload-item.d.ts +0 -11
  816. package/lib/dist-custom-elements/duet-upload-item.js +0 -9
  817. package/lib/dist-custom-elements/duet-upload.d.ts +0 -11
  818. package/lib/dist-custom-elements/duet-upload.js +0 -1444
  819. package/lib/dist-custom-elements/duet-visually-hidden.d.ts +0 -11
  820. package/lib/dist-custom-elements/duet-visually-hidden.js +0 -9
  821. package/lib/dist-custom-elements/index.d.ts +0 -33
  822. package/lib/dist-custom-elements/index.js +0 -29
  823. package/lib/dist-custom-elements/p-081025d8.js +0 -82
  824. package/lib/dist-custom-elements/p-0871ccd4.js +0 -56
  825. package/lib/dist-custom-elements/p-115c79b6.js +0 -6
  826. package/lib/dist-custom-elements/p-18248c41.js +0 -81
  827. package/lib/dist-custom-elements/p-196352e6.js +0 -39
  828. package/lib/dist-custom-elements/p-2768f969.js +0 -268
  829. package/lib/dist-custom-elements/p-30810e37.js +0 -60
  830. package/lib/dist-custom-elements/p-35375593.js +0 -161
  831. package/lib/dist-custom-elements/p-3c70317f.js +0 -63
  832. package/lib/dist-custom-elements/p-4150399b.js +0 -205
  833. package/lib/dist-custom-elements/p-548610a6.js +0 -2130
  834. package/lib/dist-custom-elements/p-592cf939.js +0 -102
  835. package/lib/dist-custom-elements/p-59782228.js +0 -61
  836. package/lib/dist-custom-elements/p-5d871374.js +0 -316
  837. package/lib/dist-custom-elements/p-5e91471a.js +0 -63
  838. package/lib/dist-custom-elements/p-60316b82.js +0 -642
  839. package/lib/dist-custom-elements/p-63963e6b.js +0 -124
  840. package/lib/dist-custom-elements/p-6620a58c.js +0 -607
  841. package/lib/dist-custom-elements/p-77667998.js +0 -232
  842. package/lib/dist-custom-elements/p-77d42564.js +0 -124
  843. package/lib/dist-custom-elements/p-8258c05e.js +0 -100
  844. package/lib/dist-custom-elements/p-8a840972.js +0 -194
  845. package/lib/dist-custom-elements/p-8d263ac9.js +0 -94
  846. package/lib/dist-custom-elements/p-91cdfcdd.js +0 -73
  847. package/lib/dist-custom-elements/p-940f9ee8.js +0 -1630
  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-9e31e365.js +0 -214
  851. package/lib/dist-custom-elements/p-9ee4d52e.js +0 -321
  852. package/lib/dist-custom-elements/p-a9b78a2b.js +0 -441
  853. package/lib/dist-custom-elements/p-aaa7a7bd.js +0 -13
  854. package/lib/dist-custom-elements/p-aaa95dbc.js +0 -370
  855. package/lib/dist-custom-elements/p-ad615991.js +0 -115
  856. package/lib/dist-custom-elements/p-afb6f7fb.js +0 -23
  857. package/lib/dist-custom-elements/p-b322feac.js +0 -206
  858. package/lib/dist-custom-elements/p-b632bf7b.js +0 -178
  859. package/lib/dist-custom-elements/p-ca3cb21e.js +0 -116
  860. package/lib/dist-custom-elements/p-ccee2b7f.js +0 -127
  861. package/lib/dist-custom-elements/p-cea716f7.js +0 -503
  862. package/lib/dist-custom-elements/p-d004da5f.js +0 -6
  863. package/lib/dist-custom-elements/p-df2458b1.js +0 -80
  864. package/lib/dist-custom-elements/p-e58296e6.js +0 -110
  865. package/lib/dist-custom-elements/p-ed1ef4c3.js +0 -55
  866. package/lib/dist-custom-elements/p-ed6a907e.js +0 -61
  867. package/lib/dist-custom-elements/p-ed6f3abc.js +0 -165
  868. package/lib/dist-custom-elements/p-ee0c73c3.js +0 -50
  869. package/lib/dist-custom-elements/p-f11208c3.js +0 -6
  870. package/lib/dist-custom-elements/p-f4067b03.js +0 -154
  871. package/lib/dist-custom-elements/p-f6000a03.js +0 -753
  872. package/lib/dist-custom-elements/p-f6270dca.js +0 -83
  873. package/lib/duet/duet.js +0 -127
  874. package/lib/duet/p-00556ef0.entry.js +0 -4
  875. package/lib/duet/p-00e58acf.system.entry.js +0 -4
  876. package/lib/duet/p-02d914b6.system.js +0 -4
  877. package/lib/duet/p-03dfd146.system.entry.js +0 -4
  878. package/lib/duet/p-043d8cac.entry.js +0 -4
  879. package/lib/duet/p-053b71e6.system.js +0 -4
  880. package/lib/duet/p-078dc32d.system.js +0 -4
  881. package/lib/duet/p-097593e0.system.entry.js +0 -4
  882. package/lib/duet/p-0c4bbd65.system.js +0 -4
  883. package/lib/duet/p-0d7da85a.js +0 -4
  884. package/lib/duet/p-0dc9089b.system.js +0 -4
  885. package/lib/duet/p-115c79b6.js +0 -4
  886. package/lib/duet/p-12739ce5.entry.js +0 -4
  887. package/lib/duet/p-154681bc.system.entry.js +0 -4
  888. package/lib/duet/p-16bc0f6a.system.entry.js +0 -4
  889. package/lib/duet/p-20a9379e.entry.js +0 -4
  890. package/lib/duet/p-21124f63.system.entry.js +0 -4
  891. package/lib/duet/p-222fb4e2.entry.js +0 -4
  892. package/lib/duet/p-2306d206.entry.js +0 -4
  893. package/lib/duet/p-232405fe.system.entry.js +0 -4
  894. package/lib/duet/p-280babbe.entry.js +0 -4
  895. package/lib/duet/p-29cfae19.system.entry.js +0 -4
  896. package/lib/duet/p-2acb5228.system.entry.js +0 -4
  897. package/lib/duet/p-2bb44297.system.js +0 -4
  898. package/lib/duet/p-2d3cfed7.entry.js +0 -4
  899. package/lib/duet/p-2ea79237.entry.js +0 -4
  900. package/lib/duet/p-2f4a1c87.system.entry.js +0 -4
  901. package/lib/duet/p-30424dea.entry.js +0 -4
  902. package/lib/duet/p-32f2bb6f.system.entry.js +0 -4
  903. package/lib/duet/p-36d473db.entry.js +0 -4
  904. package/lib/duet/p-36e38e72.entry.js +0 -4
  905. package/lib/duet/p-380e506a.system.entry.js +0 -4
  906. package/lib/duet/p-3931d796.system.entry.js +0 -4
  907. package/lib/duet/p-396397f0.entry.js +0 -4
  908. package/lib/duet/p-39c8d5f4.entry.js +0 -4
  909. package/lib/duet/p-3c43bf45.system.entry.js +0 -4
  910. package/lib/duet/p-3c548017.entry.js +0 -4
  911. package/lib/duet/p-3edeecdd.system.entry.js +0 -4
  912. package/lib/duet/p-41982d26.system.js +0 -4
  913. package/lib/duet/p-422bf802.system.entry.js +0 -4
  914. package/lib/duet/p-42789990.system.entry.js +0 -4
  915. package/lib/duet/p-44ac35f1.entry.js +0 -4
  916. package/lib/duet/p-49957220.system.js +0 -4
  917. package/lib/duet/p-49cbde53.entry.js +0 -4
  918. package/lib/duet/p-49d89759.system.entry.js +0 -4
  919. package/lib/duet/p-4af1174c.entry.js +0 -4
  920. package/lib/duet/p-4bbc1e3f.system.entry.js +0 -4
  921. package/lib/duet/p-4cff3036.system.js +0 -4
  922. package/lib/duet/p-4d228791.entry.js +0 -4
  923. package/lib/duet/p-4e095335.entry.js +0 -4
  924. package/lib/duet/p-4f872b2e.system.entry.js +0 -4
  925. package/lib/duet/p-4f945200.system.js +0 -4
  926. package/lib/duet/p-4ffcbae2.entry.js +0 -4
  927. package/lib/duet/p-534baf68.system.entry.js +0 -4
  928. package/lib/duet/p-55b6ebd2.system.entry.js +0 -4
  929. package/lib/duet/p-565c967d.system.entry.js +0 -4
  930. package/lib/duet/p-56d5d3bd.system.entry.js +0 -4
  931. package/lib/duet/p-570fd695.system.entry.js +0 -4
  932. package/lib/duet/p-5a148896.entry.js +0 -4
  933. package/lib/duet/p-5a47d2bb.entry.js +0 -4
  934. package/lib/duet/p-5acfa4bf.entry.js +0 -4
  935. package/lib/duet/p-5b5a4a8f.entry.js +0 -4
  936. package/lib/duet/p-5cbadb53.system.entry.js +0 -4
  937. package/lib/duet/p-5cc339cf.entry.js +0 -4
  938. package/lib/duet/p-5d1a4238.entry.js +0 -4
  939. package/lib/duet/p-5e01a303.system.entry.js +0 -4
  940. package/lib/duet/p-5f668b4a.system.entry.js +0 -4
  941. package/lib/duet/p-5ffa7838.entry.js +0 -4
  942. package/lib/duet/p-61173f11.system.js +0 -5
  943. package/lib/duet/p-622e1ffc.js +0 -4
  944. package/lib/duet/p-64f2d5cf.system.entry.js +0 -4
  945. package/lib/duet/p-650c6251.system.entry.js +0 -4
  946. package/lib/duet/p-69e55527.system.entry.js +0 -4
  947. package/lib/duet/p-6ac3b242.entry.js +0 -4
  948. package/lib/duet/p-6ac7d70c.entry.js +0 -4
  949. package/lib/duet/p-6c8f09c8.system.entry.js +0 -4
  950. package/lib/duet/p-6eec1445.system.entry.js +0 -4
  951. package/lib/duet/p-6fc78573.entry.js +0 -4
  952. package/lib/duet/p-705dbeac.system.entry.js +0 -4
  953. package/lib/duet/p-71a37f03.entry.js +0 -4
  954. package/lib/duet/p-752fa0fc.system.js +0 -4
  955. package/lib/duet/p-760919c7.system.entry.js +0 -4
  956. package/lib/duet/p-7be5b9a7.js +0 -4
  957. package/lib/duet/p-7c119b9b.system.entry.js +0 -4
  958. package/lib/duet/p-7cd899ca.system.entry.js +0 -4
  959. package/lib/duet/p-7d8a2628.js +0 -4
  960. package/lib/duet/p-7ea9d8e4.system.entry.js +0 -4
  961. package/lib/duet/p-7fc6af46.system.entry.js +0 -4
  962. package/lib/duet/p-7fe5e652.entry.js +0 -4
  963. package/lib/duet/p-86038989.entry.js +0 -4
  964. package/lib/duet/p-872b746e.entry.js +0 -4
  965. package/lib/duet/p-875d3971.entry.js +0 -4
  966. package/lib/duet/p-88daf9bb.system.entry.js +0 -4
  967. package/lib/duet/p-89ac2008.system.entry.js +0 -4
  968. package/lib/duet/p-89cf1a91.system.js +0 -4
  969. package/lib/duet/p-8d43c8cf.entry.js +0 -4
  970. package/lib/duet/p-8f450e25.entry.js +0 -4
  971. package/lib/duet/p-8f477bd6.system.js +0 -4
  972. package/lib/duet/p-8faaaf5f.system.js +0 -4
  973. package/lib/duet/p-907b42ae.system.entry.js +0 -4
  974. package/lib/duet/p-9183c04b.system.entry.js +0 -4
  975. package/lib/duet/p-91b68d54.entry.js +0 -4
  976. package/lib/duet/p-92d47024.system.entry.js +0 -4
  977. package/lib/duet/p-939f268d.entry.js +0 -4
  978. package/lib/duet/p-93c115a9.system.entry.js +0 -4
  979. package/lib/duet/p-943bf2b1.system.entry.js +0 -4
  980. package/lib/duet/p-9592f6ba.entry.js +0 -4
  981. package/lib/duet/p-96d76a4b.entry.js +0 -4
  982. package/lib/duet/p-98636086.system.js +0 -4
  983. package/lib/duet/p-9a57fac7.entry.js +0 -4
  984. package/lib/duet/p-9b16ba14.system.entry.js +0 -4
  985. package/lib/duet/p-9b61d7b9.system.entry.js +0 -4
  986. package/lib/duet/p-9d429df0.system.entry.js +0 -4
  987. package/lib/duet/p-9e5b11f7.entry.js +0 -4
  988. package/lib/duet/p-9ee0f850.entry.js +0 -4
  989. package/lib/duet/p-a083b91a.js +0 -5
  990. package/lib/duet/p-a11e1a80.system.entry.js +0 -4
  991. package/lib/duet/p-a1e5f0d4.entry.js +0 -4
  992. package/lib/duet/p-a4b80c74.entry.js +0 -4
  993. package/lib/duet/p-a7b0d8ce.entry.js +0 -4
  994. package/lib/duet/p-aaa7a7bd.js +0 -4
  995. package/lib/duet/p-abc0c9c6.system.js +0 -4
  996. package/lib/duet/p-ad07b21e.system.entry.js +0 -4
  997. package/lib/duet/p-ad0d289a.system.entry.js +0 -4
  998. package/lib/duet/p-ad2b37b0.entry.js +0 -4
  999. package/lib/duet/p-adc2d7ce.system.entry.js +0 -4
  1000. package/lib/duet/p-aef92a68.entry.js +0 -4
  1001. package/lib/duet/p-afad5fd3.system.js +0 -4
  1002. package/lib/duet/p-b15523c2.entry.js +0 -4
  1003. package/lib/duet/p-b17984d6.system.entry.js +0 -4
  1004. package/lib/duet/p-b2df3729.entry.js +0 -4
  1005. package/lib/duet/p-b327a269.entry.js +0 -4
  1006. package/lib/duet/p-b33512d6.js +0 -4
  1007. package/lib/duet/p-b48b58e1.entry.js +0 -4
  1008. package/lib/duet/p-b864159a.system.js +0 -4
  1009. package/lib/duet/p-b8775dc1.system.entry.js +0 -4
  1010. package/lib/duet/p-ba03d034.system.js +0 -4
  1011. package/lib/duet/p-bbb92080.entry.js +0 -4
  1012. package/lib/duet/p-bd5b0381.entry.js +0 -4
  1013. package/lib/duet/p-bdb001df.entry.js +0 -4
  1014. package/lib/duet/p-be097905.entry.js +0 -4
  1015. package/lib/duet/p-beeb12f1.js +0 -4
  1016. package/lib/duet/p-c118fad4.js +0 -4
  1017. package/lib/duet/p-c1483141.entry.js +0 -4
  1018. package/lib/duet/p-c2e74c89.system.entry.js +0 -4
  1019. package/lib/duet/p-c40ee5d3.entry.js +0 -4
  1020. package/lib/duet/p-c480533b.entry.js +0 -4
  1021. package/lib/duet/p-c487869c.entry.js +0 -4
  1022. package/lib/duet/p-c507caa0.entry.js +0 -4
  1023. package/lib/duet/p-c58f3932.entry.js +0 -4
  1024. package/lib/duet/p-c5d88a34.system.entry.js +0 -4
  1025. package/lib/duet/p-c6bf2cc4.system.entry.js +0 -4
  1026. package/lib/duet/p-c6f29010.system.entry.js +0 -4
  1027. package/lib/duet/p-ca29569e.system.js +0 -4
  1028. package/lib/duet/p-ca3cb21e.js +0 -4
  1029. package/lib/duet/p-ca901ab9.entry.js +0 -4
  1030. package/lib/duet/p-cc5e6288.system.js +0 -4
  1031. package/lib/duet/p-cc67e773.js +0 -4
  1032. package/lib/duet/p-cdba12cc.system.js +0 -4
  1033. package/lib/duet/p-ce282523.entry.js +0 -4
  1034. package/lib/duet/p-cebffd48.system.entry.js +0 -4
  1035. package/lib/duet/p-cf2d66a9.system.entry.js +0 -4
  1036. package/lib/duet/p-cf511280.system.entry.js +0 -4
  1037. package/lib/duet/p-d004da5f.js +0 -4
  1038. package/lib/duet/p-d2875f04.system.entry.js +0 -4
  1039. package/lib/duet/p-d40b4a20.entry.js +0 -4
  1040. package/lib/duet/p-d4554cf2.entry.js +0 -4
  1041. package/lib/duet/p-d4ddd4d1.entry.js +0 -4
  1042. package/lib/duet/p-d5317013.system.entry.js +0 -4
  1043. package/lib/duet/p-d68e93e4.system.entry.js +0 -4
  1044. package/lib/duet/p-d6a321fd.system.entry.js +0 -4
  1045. package/lib/duet/p-d835a292.entry.js +0 -4
  1046. package/lib/duet/p-d840dcdc.system.entry.js +0 -4
  1047. package/lib/duet/p-dac4bc08.system.entry.js +0 -4
  1048. package/lib/duet/p-db2ccb9d.system.js +0 -4
  1049. package/lib/duet/p-e0b83f6c.system.entry.js +0 -4
  1050. package/lib/duet/p-e12066c8.system.js +0 -4
  1051. package/lib/duet/p-e216bea4.system.js +0 -4
  1052. package/lib/duet/p-e29d9d5b.system.entry.js +0 -4
  1053. package/lib/duet/p-e3857119.js +0 -4
  1054. package/lib/duet/p-e45d4dc4.system.entry.js +0 -4
  1055. package/lib/duet/p-e4c8559c.system.js +0 -4
  1056. package/lib/duet/p-e50214f5.system.entry.js +0 -4
  1057. package/lib/duet/p-e6b5a1c7.system.js +0 -4
  1058. package/lib/duet/p-e7c3186e.system.entry.js +0 -4
  1059. package/lib/duet/p-e89a92a9.entry.js +0 -4
  1060. package/lib/duet/p-eb02c981.system.entry.js +0 -4
  1061. package/lib/duet/p-ed086770.system.entry.js +0 -4
  1062. package/lib/duet/p-eebfe28d.system.entry.js +0 -4
  1063. package/lib/duet/p-ef520403.entry.js +0 -4
  1064. package/lib/duet/p-f0260e4c.entry.js +0 -4
  1065. package/lib/duet/p-f07eace6.system.entry.js +0 -4
  1066. package/lib/duet/p-f1083d8c.system.entry.js +0 -4
  1067. package/lib/duet/p-f10d7817.entry.js +0 -4
  1068. package/lib/duet/p-f11208c3.js +0 -4
  1069. package/lib/duet/p-f18245aa.system.entry.js +0 -4
  1070. package/lib/duet/p-f4063bd4.entry.js +0 -4
  1071. package/lib/duet/p-f56098f1.system.entry.js +0 -4
  1072. package/lib/duet/p-f6000a03.js +0 -4
  1073. package/lib/duet/p-f67921d2.system.entry.js +0 -4
  1074. package/lib/duet/p-f6b21d17.system.js +0 -4
  1075. package/lib/duet/p-f7fe4161.system.entry.js +0 -4
  1076. package/lib/duet/p-f97dd407.entry.js +0 -4
  1077. package/lib/duet/p-fcfae4d6.entry.js +0 -4
  1078. package/lib/esm/a11y-utils-c3a7fd7e.js +0 -23
  1079. package/lib/esm/action-arrow-down-small-82273dc8.js +0 -6
  1080. package/lib/esm/action-new-window-small-1945be91.js +0 -6
  1081. package/lib/esm/body-scroll-46854769.js +0 -234
  1082. package/lib/esm/bodyScrollLock.es6-ecbf187e.js +0 -184
  1083. package/lib/esm/common-strings-af765cad.js +0 -25
  1084. package/lib/esm/create-id-149a1b6d.js +0 -11
  1085. package/lib/esm/floating-ui.dom.esm-ebc91b33.js +0 -1348
  1086. package/lib/esm/focus-utils-7bc146cd.js +0 -18
  1087. package/lib/esm/form-search-ea8e19ae.js +0 -6
  1088. package/lib/esm/input-utils-85681162.js +0 -53
  1089. package/lib/esm/is-internet-explorer-2c48f686.js +0 -9
  1090. package/lib/esm/js-utils-9b9e0039.js +0 -47
  1091. package/lib/esm/keyboard-utils-daf80d44.js +0 -58
  1092. package/lib/esm/label-de5c8cbd.js +0 -20
  1093. package/lib/esm/polyfills/core-js.js +0 -11
  1094. package/lib/esm/polyfills/dom.js +0 -79
  1095. package/lib/esm/polyfills/es5-html-element.js +0 -1
  1096. package/lib/esm/polyfills/index.js +0 -34
  1097. package/lib/esm/polyfills/system.js +0 -6
  1098. package/lib/esm/string-utils-192eb3c8.js +0 -61
  1099. package/lib/esm/themeable-component-860041c5.js +0 -13
  1100. package/lib/esm/token-utils-b9ba8c5e.js +0 -138
  1101. package/lib/esm/watch-options-e96ecd92.js +0 -57
  1102. package/lib/esm-es5/a11y-utils-c3a7fd7e.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-e00fbe9c.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.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-grid_2.entry.js +0 -4
  1136. package/lib/esm-es5/duet-header_2.entry.js +0 -4
  1137. package/lib/esm-es5/duet-hero.entry.js +0 -4
  1138. package/lib/esm-es5/duet-icon.entry.js +0 -4
  1139. package/lib/esm-es5/duet-input_2.entry.js +0 -4
  1140. package/lib/esm-es5/duet-layout.entry.js +0 -4
  1141. package/lib/esm-es5/duet-list_2.entry.js +0 -4
  1142. package/lib/esm-es5/duet-menu-bar-button.entry.js +0 -4
  1143. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +0 -4
  1144. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +0 -4
  1145. package/lib/esm-es5/duet-menu-bar-item.entry.js +0 -4
  1146. package/lib/esm-es5/duet-menu-bar-link.entry.js +0 -4
  1147. package/lib/esm-es5/duet-menu-bar.entry.js +0 -4
  1148. package/lib/esm-es5/duet-modal.entry.js +0 -4
  1149. package/lib/esm-es5/duet-multiselect.entry.js +0 -4
  1150. package/lib/esm-es5/duet-nav.entry.js +0 -4
  1151. package/lib/esm-es5/duet-notification_2.entry.js +0 -4
  1152. package/lib/esm-es5/duet-number-input.entry.js +0 -4
  1153. package/lib/esm-es5/duet-overlay.entry.js +0 -4
  1154. package/lib/esm-es5/duet-page-heading.entry.js +0 -4
  1155. package/lib/esm-es5/duet-pagination_2.entry.js +0 -4
  1156. package/lib/esm-es5/duet-phone-input.entry.js +0 -4
  1157. package/lib/esm-es5/duet-popup-menu_2.entry.js +0 -4
  1158. package/lib/esm-es5/duet-progress.entry.js +0 -4
  1159. package/lib/esm-es5/duet-promo-card.entry.js +0 -4
  1160. package/lib/esm-es5/duet-radio_2.entry.js +0 -4
  1161. package/lib/esm-es5/duet-range-slider.entry.js +0 -4
  1162. package/lib/esm-es5/duet-scrollable_3.entry.js +0 -4
  1163. package/lib/esm-es5/duet-section-layout.entry.js +0 -4
  1164. package/lib/esm-es5/duet-select.entry.js +0 -4
  1165. package/lib/esm-es5/duet-shaped-image.entry.js +0 -4
  1166. package/lib/esm-es5/duet-show-more.entry.js +0 -4
  1167. package/lib/esm-es5/duet-slideout-lang.entry.js +0 -4
  1168. package/lib/esm-es5/duet-slideout-link.entry.js +0 -4
  1169. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +0 -4
  1170. package/lib/esm-es5/duet-slideout-panel.entry.js +0 -4
  1171. package/lib/esm-es5/duet-slideout.entry.js +0 -4
  1172. package/lib/esm-es5/duet-status-icon.entry.js +0 -4
  1173. package/lib/esm-es5/duet-step_2.entry.js +0 -4
  1174. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +0 -4
  1175. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +0 -4
  1176. package/lib/esm-es5/duet-submenu-bar-item.entry.js +0 -4
  1177. package/lib/esm-es5/duet-submenu-bar-link.entry.js +0 -4
  1178. package/lib/esm-es5/duet-submenu-bar.entry.js +0 -4
  1179. package/lib/esm-es5/duet-textarea.entry.js +0 -4
  1180. package/lib/esm-es5/duet-toggle.entry.js +0 -4
  1181. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +0 -4
  1182. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +0 -4
  1183. package/lib/esm-es5/duet-toolbar-item.entry.js +0 -4
  1184. package/lib/esm-es5/duet-toolbar-link.entry.js +0 -4
  1185. package/lib/esm-es5/duet-toolbar.entry.js +0 -4
  1186. package/lib/esm-es5/duet-tooltip-button_2.entry.js +0 -4
  1187. package/lib/esm-es5/duet-tooltip.entry.js +0 -4
  1188. package/lib/esm-es5/duet-tray.entry.js +0 -4
  1189. package/lib/esm-es5/duet-upload-aria-status.entry.js +0 -4
  1190. package/lib/esm-es5/duet-upload-item.entry.js +0 -4
  1191. package/lib/esm-es5/duet-visually-hidden.entry.js +0 -4
  1192. package/lib/esm-es5/duet.js +0 -4
  1193. package/lib/esm-es5/errorcodes.utils-416994cc.js +0 -4
  1194. package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
  1195. package/lib/esm-es5/focus-utils-7bc146cd.js +0 -4
  1196. package/lib/esm-es5/form-search-ea8e19ae.js +0 -4
  1197. package/lib/esm-es5/index-1a6cee61.js +0 -4
  1198. package/lib/esm-es5/index.js +0 -3
  1199. package/lib/esm-es5/input-utils-85681162.js +0 -4
  1200. package/lib/esm-es5/is-internet-explorer-2c48f686.js +0 -4
  1201. package/lib/esm-es5/js-utils-9b9e0039.js +0 -4
  1202. package/lib/esm-es5/keyboard-utils-daf80d44.js +0 -4
  1203. package/lib/esm-es5/label-de5c8cbd.js +0 -4
  1204. package/lib/esm-es5/language-utils-8a9d5323.js +0 -4
  1205. package/lib/esm-es5/loader.js +0 -4
  1206. package/lib/esm-es5/slot-utils-bf214ae5.js +0 -4
  1207. package/lib/esm-es5/string-utils-192eb3c8.js +0 -4
  1208. package/lib/esm-es5/teleport-546f382d.js +0 -4
  1209. package/lib/esm-es5/themeable-component-860041c5.js +0 -4
  1210. package/lib/esm-es5/token-utils-b9ba8c5e.js +0 -4
  1211. package/lib/esm-es5/tokens-84fb2357.js +0 -4
  1212. package/lib/esm-es5/tokens.module-2d02f5ff.js +0 -4
  1213. package/lib/esm-es5/watch-options-e96ecd92.js +0 -4
  1214. package/lib/loader/package.json +0 -11
  1215. /package/lib/cjs/{body-scroll-dba42314.js → body-scroll-FWPe3_T_.js} +0 -0
  1216. /package/lib/cjs/{bodyScrollLock.es6-dd2d7d91.js → bodyScrollLock.es6-B2sCDud5.js} +0 -0
  1217. /package/lib/cjs/{create-id-1f8c438f.js → create-id-DtslnIOq.js} +0 -0
  1218. /package/lib/cjs/{input-utils-1096a2c5.js → input-utils-DUKdslOM.js} +0 -0
  1219. /package/lib/cjs/{is-internet-explorer-e7f58ebc.js → is-internet-explorer-BTLb_loH.js} +0 -0
  1220. /package/lib/cjs/{js-utils-92e24ba1.js → js-utils-hJ4A2edy.js} +0 -0
  1221. /package/lib/cjs/{keyboard-utils-f7c9f980.js → keyboard-utils-D9UlHbik.js} +0 -0
  1222. /package/lib/cjs/{string-utils-7b13c16e.js → string-utils-B35hEUBv.js} +0 -0
  1223. /package/lib/duet/{p-8354d1f1.js → p-B1B-PPrh.js} +0 -0
  1224. /package/lib/duet/{p-9e371678.js → p-BlUsLmbQ.js} +0 -0
  1225. /package/lib/duet/{p-fc09c464.js → p-C6CAT054.js} +0 -0
  1226. /package/lib/duet/{p-9c3c64b9.js → p-C6E9F6QT.js} +0 -0
  1227. /package/lib/duet/{p-df7874f9.js → p-CLDy7YaM.js} +0 -0
  1228. /package/lib/duet/{p-5e59e970.js → p-Cfr_DJqU.js} +0 -0
  1229. /package/lib/duet/{p-43b89e38.js → p-DxESMgwA.js} +0 -0
  1230. /package/lib/{dist-custom-elements/p-fc09c464.js → esm/body-scroll-C6CAT054.js} +0 -0
  1231. /package/lib/{dist-custom-elements/p-8354d1f1.js → esm/bodyScrollLock.es6-B1B-PPrh.js} +0 -0
  1232. /package/lib/{dist-custom-elements/p-5e59e970.js → esm/create-id-Cfr_DJqU.js} +0 -0
  1233. /package/lib/{dist-custom-elements/p-df7874f9.js → esm/input-utils-CLDy7YaM.js} +0 -0
  1234. /package/lib/{dist-custom-elements/p-43b89e38.js → esm/is-internet-explorer-DxESMgwA.js} +0 -0
  1235. /package/lib/{dist-custom-elements/p-9e371678.js → esm/js-utils-BlUsLmbQ.js} +0 -0
  1236. /package/lib/{dist-custom-elements/p-9c3c64b9.js → esm/string-utils-C6E9F6QT.js} +0 -0
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,c as e,h as i,H as o,g as a}from"./p-EZOAO_vc.js";import{i as s}from"./p-DYyVxyo8.js";import{c as r}from"./p-Cfr_DJqU.js";import{a as d,h,c as n}from"./p-BdCvOZ0R.js";import{f as l,w as b}from"./p-BmMFVM-y.js";const u=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",7),this.duetFocus=e(this,"duetFocus",7),this.duetBlur=e(this,"duetBlur",7),this.focus=!1,this.radioId=r("DuetRadio"),this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.margin="auto",this.theme="",this.disabled=!1,this.required=!1,this.blockEvents=!1,this.label="label",this.radioInputListenersRemove=t=>{t.removeEventListener("change",this.onChange),t.removeEventListener("focus",this.onFocus),t.removeEventListener("blur",this.onBlur)},this.radioInputListenersAdd=t=>{t.addEventListener("change",this.onChange),t.addEventListener("focus",this.onFocus),t.addEventListener("blur",this.onBlur)},this.radioInputSetUp=()=>{const t=this.element.querySelector("input"),e=t||document.createElement("input");if(e.slot="input",e.disabled=!(!this.disabled&&!this.groupDisabled)||void 0,e.id=this.identifier||this.radioId,e.type="radio",e.name=this.name,e.value=this.value,e.checked=this.checked,this.accessibleIndex&&(e.tabIndex=Number(this.accessibleIndex)),e.required=this.required,e.role=this.role,this.accessibleControls&&e.setAttribute("aria-controls",this.accessibleControls),this.accessibleActiveDescendant&&e.setAttribute("aria-activedescendant",this.accessibleActiveDescendant),this.accessibleOwns&&e.setAttribute("aria-owns",this.accessibleOwns),this.accessibleDescribedBy&&e.setAttribute("aria-describedby",this.accessibleDescribedBy),this.accessibleLabelledBy&&e.setAttribute("aria-labelledby",this.accessibleLabelledBy),this.accessibleDetails&&e.setAttribute("aria-details",this.accessibleDetails),this.accessibleDescription&&e.setAttribute("aria-description",this.accessibleDescription),this.hasLabel){const t=d(this.element,"label");e.ariaLabel=t.length>0?t[0].textContent:this.labelElement.textContent}else e.ariaLabel=this.labelElement.textContent;t?this.radioInputListenersRemove(e):this.element.appendChild(e),this.radioInputListenersAdd(e),this.focusableElement=e},this.onClick=t=>{t.stopPropagation()},this.onChange=t=>{this.checked=this.focusableElement.checked,this.checked&&!this.blockEvents&&this.duetChange.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-radio"})},this.onBlur=t=>{this.focus=!1,this.duetBlur.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-radio"})},this.onFocus=t=>{this.focus=!0,this.duetFocus.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-radio"})}}componentWillLoad(){s(this),this.hasLabel=h(this.element,"label"),void 0===this.value&&(this.value=this.identifier)}componentDidRender(){this.radioInputSetUp()}async setFocus(t){this.focusableElement.focus(t)}render(){return i(o,{key:"5b1a38835b8478e9e31e2893f654d4a7da0de880",onClick:this.onClick,class:{horizontal:"horizontal"===this.groupDirection&&!this.groupResponsive,"horizontal-responsive":"horizontal"===this.groupDirection&&this.groupResponsive,"duet-m-0":"none"===this.margin}},i("div",{key:"7397b43b1104dbdc870ec0ad65793bd372062eaf",class:{"duet-radio-container":!0,"duet-theme-turva":"turva"===this.theme}},i("slot",{key:"8daf569056a859f5362236e546a61e958ba4bcaf",name:"input"}),i("label",{key:"3acd012b17207cf38a15085d2cc868b3e4cc8c1c",inert:!0,ref:t=>this.labelElement=t,class:{"duet-label":!0,checked:this.checked,focus:this.focus,disabled:this.disabled||this.groupDisabled}},i("div",{key:"5fb433fd2fe57f3e560fdefcabff68999301596a",class:"duet-label-content"},this.hasLabel?i("slot",{name:"label"}):this.label))))}get element(){return a(this)}};u.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:28px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:28px !important}:host(.vertical){margin-right:0 !important}:host(.horizontal){margin-bottom:0 !important;width:auto}:host(.horizontal) .duet-label .duet-label-content{max-width:100%}@media (min-width: 48em){:host(.horizontal-responsive){margin-right:28px !important;margin-bottom:0 !important;width:auto}:host(.horizontal-responsive):last-child,:host(.horizontal-responsive):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.horizontal-responsive):last-of-type:not(:last-child){margin-right:28px !important}:host(.horizontal-responsive) .duet-label .duet-label-content{max-width:100%}}:host(.duet-m-0){margin:0 !important}:host(:last-child:not(:only-child)){margin-right:0 !important;margin-bottom:0 !important}.duet-label{position:relative;z-index:100;display:flex;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(8, 42, 77);hyphens:auto;word-break:break-word;overflow-wrap:break-word;cursor:pointer;background:transparent}.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 .duet-label-content{flex-grow:1;font-size:1rem}.duet-label-hidden .duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}.duet-radio-container{position:relative;width:100%;height:100%}.duet-label::before{z-index:100;flex-shrink:0;width:20px;height:20px;margin:2px 10px 1px 1px;content:"";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:50%}.duet-theme-turva .duet-label::before{border-color:rgb(23, 28, 58)}.duet-label.focus::before{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-label.focus::before,.duet-label.focus::before.duet-theme-turva,.duet-theme-turva2 .duet-label.focus::before,.duet-label.focus::before.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-theme-turva .duet-label.focus::before{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-label.checked::after{position:absolute;top:6px;left:5px;z-index:200;flex-shrink:0;width:12px;height:12px;content:"";background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva .duet-label.checked::after{background:rgb(23, 28, 58)}.duet-label.disabled{color:rgb(98, 121, 138)}.duet-theme-turva .duet-label.disabled{color:rgb(143, 147, 158)}.duet-label.disabled::before{border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-label.disabled::before{border-color:rgb(143, 147, 158)}.duet-label.disabled.checked::before{border:1px solid rgb(127, 150, 165)}.duet-label.disabled.checked::after{background:rgb(127, 150, 165)}.duet-theme-turva .duet-label.disabled.checked::after{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}*::slotted([slot=input]){padding:14px !important;position:absolute;top:0;left:0;z-index:200;width:100%;height:100%;cursor:pointer;opacity:0}*::slotted([slot=input][disabled]){cursor:default}:host(.duet-theme-turva2) .duet-theme-turva .duet-label{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-radio+label::before{border-color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-radio:checked+label::after{background:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-radio[disabled]+label{color:rgb(120, 145, 164)}:host(.duet-theme-turva2) .duet-theme-turva .duet-radio[disabled]+label::before{border-color:rgb(120, 145, 164)}:host(.duet-theme-turva2) .duet-theme-turva .duet-radio[disabled]:checked+label::after{background:rgb(120, 145, 164);border-color:rgb(120, 145, 164)}';const c=class{constructor(e){t(this,e),this.direction="vertical",this.margin="auto",this.theme="",this.error="",this.tooltip="",this.tooltipDirection="auto",this.label="Label",this.labelHidden=!1,this.caption="",this.responsive=!1,this.required=!1,this.accessibleLiveError="polite",this.onSelect=t=>{const e=t.target;e&&(this.value=e.value),t.cancelBubble=!0}}removeDisabledAttributeWhenFalse(){this.disabled||this.element.removeAttribute("disabled")}async connectedCallback(){const t=this.element;if(void 0===this.value){const e=l(t,"duet-radio");void 0!==e&&(await e.componentOnReady(),void 0===this.value&&(this.value=e.value))}this.mutationO=b(t,"duet-radio",(t=>{void 0!==t?t.componentOnReady().then((()=>{this.value=t.value})):this.updateRadios()})),this.updateRadios()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentWillLoad(){s(this),this.removeDisabledAttributeWhenFalse(),n(this.element,"tooltip","duet-tooltip",1,!0)}async updateRadios(){const t=Array.from(this.element.querySelectorAll("duet-radio")),{value:e}=this;let i=!1;for(const o of t)o.name=this.name,o.required=this.required,o.groupDisabled=this.disabled,o.groupDirection=this.direction,o.groupResponsive=this.responsive,i||o.value!==e?o.checked=!1:(i=!0,o.checked=!0);i||(this.value=void 0)}render(){return i(o,{key:"c9c42e3d578a64ec328ad0b1aad6e9c3906dcc2b",onDuetChange:this.onSelect,class:{horizontal:"horizontal"===this.direction}},i("duet-fieldset",{key:"6a38b0a95734aea6320ec9bb63cebc7a11279990",label:this.label,labelHidden:this.labelHidden,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme,"accessible-live-error":this.accessibleLiveError},this.tooltip&&i("duet-tooltip",{key:"3f9d7aa7e79c08a743cd575d5a22542e3f89b26f",slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),i("slot",{key:"2a3125a48b3ebd4bc37cf127719ca0be1604e911",name:"tooltip"}),i("div",{key:"c81542f71fe22646f761dab6fb2864c7fa269f48",class:{"duet-radio-group":!0,"duet-no-stacking":!this.responsive}},i("slot",{key:"5ff585a7895db4ad56916a1a7bc06bdc6915dc0e"}))))}get element(){return a(this)}static get watchers(){return{disabled:["removeDisabledAttributeWhenFalse","updateRadios"],name:["updateRadios"],value:["updateRadios"],direction:["updateRadios"],responsive:["updateRadios"]}}};c.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%}:host(.horizontal) .duet-radio-group{display:block}@media (min-width: 48em){:host(.horizontal) .duet-radio-group{display:flex}}:host(.horizontal) .duet-radio-group.duet-no-stacking{display:flex}.deut-radio-group{width:100%}";export{u as duet_radio,c as duet_radio_group}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{h as e,r as n,H as t,g as a}from"./p-EZOAO_vc.js";import{i}from"./p-DYyVxyo8.js";import{h as s,c as r}from"./p-BdCvOZ0R.js";import{p as d}from"./p-C6E9F6QT.js";import{g as o,p as l}from"./p-Bg75Vqqq.js";import"./p-BDAqOMlM.js";const u=({img:n,sources:t})=>e("picture",null,t&&t.map((n=>e("source",{srcSet:n.srcset,media:n.media,type:n.type,sizes:n.sizes}))),e("img",Object.assign({},n))),m=class{constructor(e){n(this,e),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.icon="",this.headingLevel="h2",this.checkCurrentSize=()=>{const e=this.element.clientWidth;this.currentSize=e<500||"small"===this.size?"small":e<900||"medium"===this.size?"medium":"large",this.setButtonSize()},this.setButtonSize=()=>{if(this.hasActionSlot&&this.currentSize){const e=this.element.querySelectorAll("[slot='action'] duet-button, duet-button[slot='action']");for(const n of e)n&&null===n.getAttribute("size")&&"large"!==this.currentSize?n.size="small":n&&null===n.getAttribute("size")&&"large"===this.currentSize&&(n.size="medium")}},this.isTurva2=()=>{var e;return null===(e=document.documentElement.attributes.getNamedItem("class"))||void 0===e?void 0:e.value.includes("duet-theme-turva2")},this.getBackgroundColor=()=>"turva"===this.theme&&"primary-lighter"===this.backgroundColor?this.isTurva2()?o("turva-nude-50",this.theme):o("gray-lighter",this.theme):o(this.backgroundColor,this.theme)}componentWillLoad(){i(this),this.hasHeadingSlot=s(this.element,"heading"),this.hasDescriptionSlot=s(this.element,"description"),this.hasActionSlot=s(this.element,"action"),r(this.element,"heading","span"),this.setButtonSize()}connectedCallback(){window.addEventListener("resize",this.checkCurrentSize)}disconnectedCallback(){window.removeEventListener("resize",this.checkCurrentSize)}componentDidRender(){this.checkCurrentSize()}render(){const n=this.getBackgroundColor(),a=o(this.textColor,this.theme),i={backgroundColor:n},s={img:{src:this.image,alt:this.imageAlt||"",loading:"lazy",class:"image",role:this.imageAlt?void 0:"presentation"},sources:d(this.sources)};return e(t,{key:"38f57d004daf85f022fb1e8289a00d63dbe78a31",class:{"duet-m-0":"none"===this.margin}},e("aside",{key:"0667b2510bdf502f24178e226897239cc0905843",class:{"duet-banner":!0,"duet-theme-turva":"turva"===this.theme,[this.currentSize]:!0,"size-medium":"medium"===this.size||"large"===this.size,"size-large":"large"===this.size,"no-image":!this.image},style:i},e("div",{key:"b7266d2d9986afecfc9fa233950090500ac811b4",class:"visual"},e("div",{key:"a3b71e01ad58dd30a19413c2daad81fc0e5f617d",class:"image-container"},this.image&&e(u,Object.assign({key:"8f687c33222c1f483c4354506729bd508c784f0f"},s))),!1,e("div",{key:"cab35290e96c82eaee8605e89646a239de7396b0",style:i,class:"brand-shape"})),e("div",{key:"b05d73b8fa653e30db6e5310c017b2890ba0d572",class:"content"},this.hasHeadingSlot&&e("div",{key:"b5cb84dbabf050477d224f323b18b25d26e65a42",class:"heading"},e("duet-heading",{key:"581d34f383f4679e06407583eadeacc0e2f651b4",theme:this.theme,level:this.headingLevel,"visual-level":"large"===this.currentSize?"h2":"h3","fixed-size":!0,margin:"none",color:l(this.textColor,this.theme)},e("span",{key:"285c1d82691487108eb3e52c8df65eb495b803dc"},e("slot",{key:"ba3c94dfe9dfc6900d41fe31ecd716e4c08bbaaa",name:"heading"})))),this.hasDescriptionSlot&&e("div",{key:"f9d06d854f0dab9e11c1945436eca5757696818d",class:"description",style:{color:a}},e("slot",{key:"72d05e038ee1a75f3c2ff6d353c0cc7891f00e06",name:"description"})),this.hasActionSlot&&e("div",{key:"6f27c979244fd9093fbe55d3fb375f7b6c18711c",class:"action"},e("slot",{key:"82532736b2e53a5020afc769526a0b824716cd66",name:"action"})))))}get element(){return a(this)}};m.style='*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n border: 0;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n border: 0;\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[alignment=form-distribute] > :host:last-of-type:not(:last-child) {\n margin-right: 36px !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}\n@container duet-banner-container (min-width: 0) {\n .duet-banner .visual {\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 transform: scale(101%);\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-grow: 1;\n flex-direction: column;\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@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\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 .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\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@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n padding: 48px;\n }\n}\n\n:host(.duet-theme-turva2) .duet-banner {\n border-radius: 12px;\n}\n:host(.duet-theme-turva2) .duet-banner .visual .brand-shape {\n right: 0;\n bottom: 0;\n left: 0;\n display: block;\n mask-image: url("data:image/svg+xml,%3Csvg%20width%3D%22540%22%20height%3D%2258%22%20viewBox%3D%220%200%20540%2058%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M540%2018.0729L540%2057.6749H0L0.000139455%2011.2563C0.000139455%202.85822%208.31858%20-2.59156%2015.3307%201.26796C33.6821%2011.3367%2055.6983%2020.0831%2080.3633%2027.3465C134.438%2043.276%20201.239%2052.0939%20270%2052.0939C338.761%2052.0939%20405.572%2043.276%20459.637%2027.3465C484.302%2020.0742%20506.318%2011.3277%20524.669%201.25902C531.682%20-2.59156%20540%202.85822%20540%2011.2563V18.0729Z%22%20fill%3D%22%23FBEBE1%22%2F%3E%0A%3C%2Fsvg%3E%0A");\n mask-repeat: no-repeat;\n mask-position: bottom;\n mask-size: contain;\n scale: 101%;\n}\n:host(.duet-theme-turva2) .duet-banner.size-medium .visual, :host(.duet-theme-turva2) .duet-banner.size-large .visual {\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n}\n@container duet-banner-container (min-width: 486px) {\n :host(.duet-theme-turva2) .duet-banner.size-medium, :host(.duet-theme-turva2) .duet-banner.size-large {\n grid-template-columns: 1fr 1fr;\n gap: 28px;\n border-radius: 12px;\n }\n :host(.duet-theme-turva2) .duet-banner.size-medium .visual, :host(.duet-theme-turva2) .duet-banner.size-large .visual {\n border-top-left-radius: 12px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 12px;\n }\n :host(.duet-theme-turva2) .duet-banner.size-medium .visual .image-container, :host(.duet-theme-turva2) .duet-banner.size-large .visual .image-container {\n padding: 20px;\n padding-right: 0;\n }\n :host(.duet-theme-turva2) .duet-banner.size-medium .visual .image, :host(.duet-theme-turva2) .duet-banner.size-large .visual .image {\n border-radius: 12px;\n }\n :host(.duet-theme-turva2) .duet-banner.size-medium .visual .brand-shape, :host(.duet-theme-turva2) .duet-banner.size-large .visual .brand-shape {\n display: none;\n }\n}';export{m as duet_banner}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,h as s,H as e}from"./p-EZOAO_vc.js";import{t as r}from"./p-DOuLHrH5.js";const i=class{constructor(s){t(this,s),this.bg={default:{default:"color_lt_blue_200",success:"color_success_200",warning:"color_warning_200",danger:"color_danger_200"},strong:{default:"color_lt_blue_700",success:"color_success_700",warning:"color_warning_500",danger:"color_danger_600"}},this.color={default:{default:"color_lt_blue_800",success:"color_success_800",warning:"color_warning_800",danger:"color_danger_800"},strong:{default:"color_lt_blue_100",success:"color_gray_lightest",warning:"color_warning_900",danger:"color_gray_lightest"}},this.variation="default",this.size="medium",this.margin="auto",this.strong=!1}getVariation(){return["default","success","danger","warning"].includes(this.variation)?this.variation:"default"}getBg(){return r[this.bg[this.strong?"strong":"default"][this.getVariation()]]}getColor(){return r[this.color[this.strong?"strong":"default"][this.getVariation()]]}getIcon(){switch(this.getVariation()){case"default":return`\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <rect width="24" height="24" rx="12" fill="${this.getBg()}"/>\n <path fill="${this.getColor()}" 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"/>\n <circle fill="${this.getColor()}" cx="11.625" cy="7.125" r="1.125"/>\n </svg>`;case"success":return`\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <rect width="24" height="24" rx="12" fill="${this.getBg()}"/>\n <path fill="${this.getColor()}" d="M9.325 17.916a1.79 1.79 0 0 1-1.498-.799l-2.44-3.462a.75.75 0 0 1 1.227-.864l2.45 3.477a.306.306 0 0 0 .261.148.294.294 0 0 0 .236-.119l7.852-9.935a.75.75 0 1 1 1.175.93l-7.843 9.923a1.781 1.781 0 0 1-.423.396 1.78 1.78 0 0 1-.997.305z"/>\n </svg>`;case"warning":case"danger":return`\n <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">\n <path fill="${this.getBg()}" d="M1.27,23.767C1.58,23.919 1.926,24 2.273,24L21.73,24C22.336,24 22.906,23.764 23.334,23.336C23.764,22.908 24.001,22.337 24.001,21.73C24.001,21.383 23.92,21.037 23.768,20.727L14.295,1.429C13.862,0.547 12.981,0 11.997,0C11.605,0 11.227,0.088 10.873,0.262C10.369,0.51 9.954,0.924 9.706,1.429L0.234,20.728C-0.034,21.271 -0.073,21.888 0.123,22.462C0.319,23.036 0.727,23.5 1.27,23.767Z"/>\n <rect fill="${this.getColor()}" x="11.1" y="7.2" width="1.8" height="8.4" rx="0.9"/>\n <rect fill="${this.getColor()}" x="10.8" y="18" width="2.4" height="2.4" rx="1.2"/>\n </svg>`}}render(){return s(e,{key:"7f80e70111b54c6828f96f9b4701ed969e592e0e",class:{[`duet-status-icon-${this.getVariation()}`]:!0,"duet-strong-bg":this.strong}},s("duet-icon",{key:"8a5d1ee9135d47f515b8e74bbbaea58d7e6815b6",icon:this.getIcon(),size:this.size,margin:this.margin}))}};export{i as duet_status_icon}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as i,g as a}from"./p-EZOAO_vc.js";import{n as o}from"./p-vVCYtBMj.js";import{a as s}from"./p-CVPfl9fc.js";import{i as n}from"./p-DYyVxyo8.js";import{g as l}from"./p-DXnMp1Z1.js";import{g as r,c as d,d as c}from"./p-CXz8FCgk.js";import"./p-DvwKrUS6.js";import"./p-BdCvOZ0R.js";import"./p-C6E9F6QT.js";const u=class{constructor(t){e(this,t),this.theme="",this.targetLanguage=void 0,this.active=!1,this.href="#",this.icon=void 0,this.size="inherit",this.caret=!1,this.menuItem=!1,this.accessibleLabelExternalDefaults=s,this.accessibleLabelExternal=r(this.accessibleLabelExternalDefaults),this.external=!1}componentWillLoad(){n(this)}connectedCallback(){d(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})}disconnectedCallback(){c(this)}render(){return t(i,{key:"eca2104ff848dfd3c52bab08c4377d19e374d13d"},t("a",{key:"9915adbb807d80081d2d791f36926a5b8a6b2a3e",target:this.href?this.external?"_blank":"_self":null,class:{"duet-slideout-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active,[this.size]:!0},href:this.href,"aria-current":this.active?"true":"false",lang:this.targetLanguage,hreflang:this.targetLanguage,"aria-label":this.href&&l(this)||this.accessibleLabel,rel:this.external?"noopener":void 0},this.icon&&t("duet-icon",{key:"eabe8fda17546094fafc6fa4a253e05c63fc1938",name:this.icon,color:"secondary",size:this.menuItem?"x-small":"small",margin:"none"}),t("div",{key:"98d30980e7ac325c36be8bb86b788d60cd36831d",class:"label"},t("span",{key:"7f96584e0ee24069a7cc9afc2649d3a0a7fe8758"},t("span",{key:"2b844eb1ae6ff0f7215e7979776c673e6f1accfb",class:"label-container"},t("span",{key:"d6de09afc6dbb0cfd6855f98e34c6b7b0b2c6421",class:"label-content"},t("slot",{key:"ef0c11c80556e88596d115ef534f86cc044362f8"})),this.external&&t("duet-icon",{key:"ffe4c9d8a90105199e4a79702847705f958adf00",class:"external-icon",theme:this.theme,name:o.title,margin:"none",size:"auto",color:"currentColor"})),t("slot",{key:"d329594665a0964175ea0872747342f4e070227d",name:"description"})),this.caret&&t("duet-icon",{key:"aafabb173724e1a6b736f289a7d76582f03f78c4",name:"action-arrow-right",color:"secondary",size:"x-small",margin:"none"}))))}get element(){return a(this)}};u.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}.duet-slideout-link{position:relative;display:flex;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:inherit;font-weight:inherit;line-height:1.25;color:inherit;text-align:left;text-decoration:none}.duet-slideout-link:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-slideout-link:focus,.duet-slideout-link:focus.duet-theme-turva,.duet-theme-turva2 .duet-slideout-link:focus,.duet-slideout-link:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-slideout-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"}.duet-slideout-link.active span{position:relative}.duet-slideout-link.active .label-content::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:var(--active-height, 2px);content:"";background:rgb(0, 119, 179);transform:var(--active-translate-y, translateY(2px))}.duet-slideout-link.active.duet-theme-turva span::after{background:rgb(198, 12, 48)}.duet-slideout-link.small{font-size:1rem;font-weight:600}.duet-slideout-link.small span::after{--active-height:1px;--active-translate-y:1px}.duet-slideout-link.medium{font-size:1rem;font-weight:600}.duet-slideout-link.large{font-size:1.25rem;font-weight:800}.duet-slideout-link .label{display:flex;gap:8px;align-items:center;justify-content:space-between;width:100%}.duet-slideout-link .label-container{display:flex;gap:8px;align-items:center;justify-content:flex-start;width:100%}.duet-slideout-link .external-icon{width:10px;height:10px}.duet-slideout-link.medium .external-icon,.duet-slideout-link.large .external-icon{width:12px;height:12px}slot[name=description]::slotted(*){display:block;padding:8px 0 0;font-size:1rem;font-size:1.25;font-weight:400;color:rgb(98, 121, 138)}.duet-theme-turva slot[name=description]::slotted(*){color:rgb(113, 118, 132)}:host(.duet-theme-turva2) .duet-slideout-link.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-slideout-link.duet-theme-turva.active .label-content::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) slot[name=description]::slotted(*){color:rgb(23, 42, 59)}';export{u as duet_slideout_link}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as i,g as a}from"./p-EZOAO_vc.js";import{i as o}from"./p-DYyVxyo8.js";import{e as s,d as l}from"./p-C6CAT054.js";import{F as n}from"./p-DEoH9jLj.js";import{a as d,c as r,d as u,g as c}from"./p-CXz8FCgk.js";import{h as p}from"./p-BdCvOZ0R.js";import{g as h}from"./p-Bg75Vqqq.js";import"./p-C6E9F6QT.js";import"./p-BDAqOMlM.js";const b=class{constructor(t){e(this,t),this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"},this.backLangObject={en:"Back to main menu",fi:"Takaisin päävalikkoon",sv:"Tillbaka till huvudmenyn"},this.hasStickyHeaderSlot=!1,this.language=d(),this.bodyScrollLocked=!1,this.theme="",this.active=!1,this.open=!1,this.icon=void 0,this.labelSize="medium",this.backgroundColor="gray-lightest",this.badge=!1,this.updateLabel=()=>{const e=this.element.querySelector("[slot='label']");this.label=e},this.toggleMenu=()=>{this.open=!this.open},this.onClick=()=>{this.toggleMenu()},this.onCloseClick=e=>{if(e.stopPropagation(),"DUET-SLIDEOUT"===this.element.parentElement.tagName){const e=this.element.parentElement;s(this.dialog),this.bodyScrollLocked=!1,e.toggle()}}}componentWillLoad(){o(this),this.updateLabel(),this.hasStickyHeaderSlot=p(this.element,"sticky-header")}connectedCallback(){r(this),this.mutationObserver=new MutationObserver((()=>{if("DUET-SLIDEOUT"===this.element.parentElement.tagName){const e=this.element.parentElement;e.open&&this.open&&!this.bodyScrollLocked?(this.bodyScrollLocked=!0,l(this.dialog,{reserveScrollBarGap:!0})):!e.open&&this.bodyScrollLocked&&(this.bodyScrollLocked=!1,s(this.dialog))}})),this.mutationObserver.observe(this.element.parentElement,{childList:!1,attributeFilter:["open"],subtree:!1})}disconnectedCallback(){u(this),this.dialog&&(s(this.dialog),this.bodyScrollLocked=!1),this.mutationObserver&&this.mutationObserver.disconnect()}handleOpenChange(e,t){!!e!=!!t&&(this.open&&!t?setTimeout((()=>{Array.from(this.element.parentElement.children).forEach((e=>{e!==this.element&&(e.inert=!0)})),this.bodyScrollLocked||(l(this.dialog,{reserveScrollBarGap:!0}),this.bodyScrollLocked=!0),this.closeButton.focus()}),200):!this.open&&t&&setTimeout((()=>{Array.from(this.element.parentElement.children).forEach((e=>{e.inert=!1})),this.openButton.focus(),s(this.dialog),this.bodyScrollLocked=!1}),200))}async setFocus(e){this.open?setTimeout((()=>{this.closeButton.focus(e)}),200):setTimeout((()=>{this.openButton.focus(e)}),200)}render(){const e={background:h(this.backgroundColor,this.theme)},a=c(this.exitLangObject),o=c(this.backLangObject);return t(i,{key:"91e1bfb50346e6f0b7d7b93f6d9cb16e84df9297"},t("div",{key:"80891454e08a69f87d42ca5879c85a7e1eab6d5c",class:{"duet-slideout-panel":!0,"duet-theme-turva":"turva"===this.theme,active:this.open}},this.badge&&t("duet-indicator",{key:"2dc9f2f3b5eebbc44158f9c7795ee2e9dadbfeef",variation:"change"}),t("button",{key:"86db5918e585201320c57a8770ab850356bda06b",ref:e=>this.openButton=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{link:!0,active:this.active,"duet-theme-turva":"turva"===this.theme},onClick:this.onClick,inert:this.open},this.icon&&t("div",{key:"635addd38144863b546edd4d8792a26d4e8dd3c4",class:"duet-slideout-icon"},t("duet-icon",{key:"3610a7e6ebcdf22fe198e4428538d559599c79c0",name:this.icon,size:"small",margin:"none",color:"secondary"})),t("span",{key:"9b4d70cc570113c1e667ced944bccae1e4613398",class:"label"},t("span",{key:"6f16630f451ef9ebd920462cd81df2cf92ab5312",class:{"label-text":!0,[this.labelSize]:!0}},t("slot",{key:"80688a824da754215dcbfcd668ff8144880147d1",name:"label"})),t("duet-icon",{key:"205d74fef784d3db602fcccf61ba49dfb5995317",class:"caret",name:"action-arrow-right",margin:"none",size:"x-small",color:"secondary"}))),t("div",{key:"5be9dab7afdb48916100c5bfb8242eb061ba6c96",ref:e=>this.dialog=e,class:{dialog:!0,hidden:!this.open},style:e},t(n,{key:"ad7c4a34db3120b40ed51061125f05d69017b342",moveFocusTo:this.closeButton}),t("div",{key:"af56281cf6a0a4c7355f48d17b66c5495e7982f9",class:{"top-container":!0,"has-sticky-header-slot":this.hasStickyHeaderSlot}},t("div",{key:"676eca91428ce8439e68da74b59a0bc8d393f5a5",class:"top"},t("button",{key:"2d8f3d984de8ca1efccc191115b7657a455c5ef9",ref:e=>this.closeButton=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-label":`${o}`,type:"button",class:{back:!0,"duet-theme-turva":"turva"===this.theme},onClick:this.onClick},t("duet-icon",{key:"f4d1be2b1157d12fff10e9f84eb7905d93091e79",class:"caret",name:"action-arrow-left",margin:"none",size:"small",color:"secondary"})),t("span",{key:"2e0426bee359ed9f3ccf9f044e9c751924003a5c"},this.label.innerHTML),t("button",{key:"f4edf9a9df667475a3c00b214e134bce7d9d7ae9",class:{close:!0,"duet-theme-turva":"turva"===this.theme},type:"button",onClick:this.onCloseClick,"aria-label":`${a}`},t("duet-icon",{key:"548ed5fadb9216137fcdc0762b35454ceb21c8d4",name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),t("div",{key:"923603a20dbab28d51a376a9c252c35e33803880",class:"sticky-header"},t("slot",{key:"07e15709effbee9950d36f03dd91e73b7e9ab336",name:"sticky-header"}))),t("div",{key:"7e63e1cd014106736bb712c20023f62245e43486",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0}},t("slot",{key:"fa18b91a1114433c57ecd566934f505e9fc62cf5"})),t(n,{key:"7251452b17bbdfd8978f302bfde0e33991b39465",moveFocusTo:this.closeButton}))))}get element(){return a(this)}static get watchers(){return{open:["handleOpenChange"]}}};b.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel{position:relative;height:100%}.duet-slideout-panel .link{position:relative;display:flex;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.5rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-slideout-panel .link:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-slideout-panel .link:focus,.duet-slideout-panel .link:focus.duet-theme-turva,.duet-theme-turva2 .duet-slideout-panel .link:focus,.duet-slideout-panel .link:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-slideout-panel .link .duet-slideout-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-slideout-panel .link .duet-slideout-icon{margin-right:8px}}.duet-slideout-panel .link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}.duet-slideout-panel .link .label-text.small{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.medium{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.large{font-size:1.25rem;font-weight:800}.duet-slideout-panel .link.active .label-text{position:relative}.duet-slideout-panel .link.active .label-text.small::after{height:1px;transform:translateY(1px)}.duet-slideout-panel .link.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transform:translateY(2px)}.duet-slideout-panel .dialog{position:fixed;top:0;right:0;z-index:600;visibility:visible;width:min(450px, 100%);height:100%;overflow-y:auto}.duet-slideout-panel .dialog.hidden{visibility:hidden}.duet-slideout-panel .dialog.hidden .top .back,.duet-slideout-panel .dialog.hidden .top span{opacity:0}.duet-slideout-panel .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout-panel .top-container.has-sticky-header-slot .top{background:rgb(240, 247, 250)}.duet-slideout-panel .top-container.has-sticky-header-slot .sticky-header{display:block;padding:0 16px}.duet-slideout-panel .top{display:flex;align-items:center;justify-content:space-between;padding:4px}.duet-slideout-panel .top .back{opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .close:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .back:focus.duet-theme-turva,.duet-theme-turva2 .duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .back:focus.duet-theme-turva2,.duet-theme-turva .duet-slideout-panel .top .close:focus,.duet-slideout-panel .top .close:focus.duet-theme-turva,.duet-theme-turva2 .duet-slideout-panel .top .close:focus,.duet-slideout-panel .top .close:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-slideout-panel .top duet-icon{padding:16px}.duet-slideout-panel .top span{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.1rem;font-weight:700;line-height:1.5;color:rgb(8, 42, 77);opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229)}.duet-slideout-panel .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:12px 20px;overflow-y:auto;color:rgb(8, 42, 77)}@media (min-width: 36em){.duet-slideout-panel .items{padding:16px 28px}}.duet-slideout-panel duet-indicator{top:4px}.duet-slideout-panel.duet-theme-turva .link{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-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(198, 12, 48)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 247, 250)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-slideout-panel.duet-theme-turva .top span{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)}slot:not([name=label]){--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:600;color:rgb(8, 42, 77)}.duet-theme-turva slot:not([name=label]){color:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .link{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(253, 247, 242);border-bottom-color:rgb(251, 225, 209)}:host(.duet-theme-turva2) .duet-slideout-panel.duet-theme-turva .top span{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) slot:not([name=label]){color:rgb(23, 42, 59)}';export{b as duet_slideout_panel}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,h as s,H as i,g as r}from"./p-EZOAO_vc.js";const h=class{constructor(s){t(this,s),this.statusMessage=null,this.statusMessageLabel=null,this.accessibleAriaLive="polite",this.valid=void 0,this.total=void 0,this.invalid=void 0,this.inprogress=void 0,this.replacePlaceHolders=t=>{const s=t=>t>1?`${t} ${this.statusMessageLabel.files}`:`${t} ${this.statusMessageLabel.file}`;return t.replace("{filesUploaded}",s(this.valid)).replace("{filesInProgress}",s(this.inprogress)).replace("{filesTotal}",s(this.total)).replace("{filesWithErrors}",s(this.invalid))},this.getStatusMessage=()=>{const{done:t,inProgress:s,doneWithErrors:i,inProgressWithErrors:r}=this.statusMessageLabel,h=this.invalid>0,e=this.inprogress>0,a=this.valid+this.invalid===this.total&&!e;this.valid!==this.total||e||h?this.inprogress>0&&h?this.statusMessage=this.replacePlaceHolders(r):e?this.statusMessage=this.replacePlaceHolders(s):a&&(this.statusMessage=this.replacePlaceHolders(i)):this.statusMessage=this.replacePlaceHolders(t)}}watchHandler(t,s){t!==s&&this.getStatusMessage()}render(){return s(i,{key:"dfba0ccef69bd34b3c4f8980caa95375ed480f83",role:"status","aria-live":"assertive","aria-atomic":"true","aria-relevant":"all"},s("duet-visually-hidden",{key:"20bd47d50fbc2097aae0656ffb367299284ff441"},this.statusMessage))}get element(){return r(this)}static get watchers(){return{valid:["watchHandler"],invalid:["watchHandler"],inprogress:["watchHandler"],total:["watchHandler"]}}};export{h as duet_upload_aria_status}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as i,g as a}from"./p-EZOAO_vc.js";import{n as r}from"./p-vVCYtBMj.js";import{a as o}from"./p-CVPfl9fc.js";import{i as n}from"./p-DYyVxyo8.js";import{g as s}from"./p-DXnMp1Z1.js";import{g as m,c as u,d}from"./p-CXz8FCgk.js";import"./p-DvwKrUS6.js";import"./p-BdCvOZ0R.js";import"./p-C6E9F6QT.js";const c=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.leadingIcon=void 0,this.trailingIcon=void 0,this.accessiblePopup="false",this.accessibleLabelExternalDefaults=o,this.accessibleLabelExternal=m(this.accessibleLabelExternalDefaults),this.external=!1}componentWillLoad(){n(this)}connectedCallback(){u(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})}disconnectedCallback(){d(this)}async setFocus(e){setTimeout((()=>this.itemElement.focus(e)),200)}render(){const e=this.url?"a":"button";return t(i,{key:"c8f1492389226bb51cdfb54ab5262d21292a19cb",role:"listitem"},t(e,{key:"251da0ca6cb28157cb26ba5f90c770123cebc5c1",target:this.url?this.external?"_blank":"_self":null,ref:e=>this.itemElement=e,class:{"duet-menu-bar-item":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.url,role:"a"===e?"link":"button","aria-current":this.active?"true":"false","aria-label":this.url&&s(this)||this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,rel:this.external?"noopener":void 0},this.leadingIcon&&t("duet-icon",{key:"bc34c4cc34cd814ec124013da71d619f32986bd7",class:"leading-icon",size:"auto",name:this.leadingIcon,margin:"none",theme:this.theme,color:"currentColor"}),t("slot",{key:"a913f29ab5fd5e0f3a9aeb2115bae74b83c51a7e"}),(this.trailingIcon||this.external)&&t("duet-icon",{key:"efb44346bf1cc026263a16f0982981b6420ad298",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":"action-arrow-down-small"===this.trailingIcon,"external-icon":!!this.external,rotate:"action-arrow-down-small"===this.trailingIcon&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.external?r.title:"",margin:"none",size:"auto",color:"currentColor"})))}get element(){return a(this)}};c.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;height:100%}.duet-menu-bar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:inherit;font-weight:inherit;color:inherit;text-align:center;white-space:nowrap;text-decoration:none;cursor:pointer}.duet-menu-bar-item:focus{outline:2px solid;outline-offset:-4px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-menu-bar-item:focus,.duet-menu-bar-item:focus.duet-theme-turva,.duet-theme-turva2 .duet-menu-bar-item:focus,.duet-menu-bar-item:focus.duet-theme-turva2{outline:2px solid;outline-offset:-4px;outline-color:rgba(53, 79, 101, 0.8)}.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:16px;height:16px}}.duet-menu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-menu-bar-item .external-icon{width:10px;height:10px}.duet-menu-bar-item[aria-expanded=true]{color:rgb(0, 119, 179)}.duet-menu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-menu-bar-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"}.duet-menu-bar-item.duet-theme-turva[aria-expanded=true]{color:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-item{padding:0 28px}}.duet-menu-bar-item.active{color:rgb(0, 119, 179)}.duet-menu-bar-item.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(2px);transition:300ms ease}@media (min-width: 62em){.duet-menu-bar-item.active::after{z-index:auto;height:2px}}.duet-menu-bar-item.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item:hover{color:rgb(0, 119, 179)}.duet-menu-bar-item:hover.duet-theme-turva{color:rgb(198, 12, 48)}}:host(.duet-theme-turva2) .duet-menu-bar-item.duet-theme-turva[aria-expanded=true]{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva::after{background:rgb(230, 23, 64)}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-menu-bar-item.duet-theme-turva:hover{color:rgb(230, 23, 64)}}';export{c as duet_menu_bar_item}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,h as i,H as e,g as n}from"./p-EZOAO_vc.js";import{i as d}from"./p-DYyVxyo8.js";const r=class{constructor(i){t(this,i),this.responsive=!1,this.breakpoint="small",this.direction="horizontal",this.rowReverse=!1,this.alignment="top",this.distribution="default",this.mobile="",this.gridTemplate=null}validateAlignment(){"form_distribute"===this.alignment&&(console.warn('DuetGrid alignment value "form_distribute" is deprecated, replace with "form-distribute"'),this.alignment="form-distribute")}outerHeight(t){const i=t.offsetHeight,e=window.getComputedStyle(t);return parseInt(e.marginTop)+i+parseInt(e.marginBottom)}debounceWindowResizeHandler(){}async connectedCallback(){this.childObserver=new MutationObserver(this.updateGridItems.bind(this)),this.childObserver.observe(this.element,{childList:!0}),this.validateAlignment(),"form-distribute"===this.alignment&&(this.formDistributeObserver=new MutationObserver(this.updateGridItemsWithInputFields.bind(this)),this.formDistributeObserver.observe(this.element,{subtree:!0,childList:!0,characterData:!0,attributeFilter:["error"]}),window.addEventListener("resize",this.debounceWindowResizeHandler),this.updateGridItemsWithInputFields()),this.updateGridItems()}disconnectedCallback(){this.childObserver&&(this.childObserver.disconnect(),this.childObserver=void 0),this.formDistributeObserver&&(this.formDistributeObserver.disconnect(),this.formDistributeObserver=void 0),window.removeEventListener("resize",this.debounceWindowResizeHandler)}getDirectChildren(){return Array.from(this.element.querySelectorAll(":scope > *"))}async updateGridItems(){this.getDirectChildren().filter((t=>"duet-grid-item"===t.tagName.toLowerCase())).forEach((t=>{t.responsive=this.responsive,t.breakpoint=this.breakpoint,t.direction=this.direction,t.rowReverse=this.rowReverse}))}async updateGridItemsWithInputFields(){const t=["duet-button","duet-checkbox","duet-choice","duet-choice-group","duet-combobox","duet-date-picker","duet-fieldset","duet-grid-item","duet-input","duet-multiselect","duet-number-input","duet-phone-input","duet-radio","duet-radio-group","duet-range-slider","duet-select","duet-textarea","duet-toggle"],i=[".duet-checkbox-error",".duet-fieldset-error",".duet-input-error",".duet-multiselect-error",".duet-select-error",".duet-textarea-error"],e=this.getDirectChildren().filter((i=>!!i.querySelector(t.join(","))||t.includes(i.tagName.toLowerCase()))),n=!!window&&"column"===window.getComputedStyle(this.element).flexDirection,d=t=>{var e;return(null==t?void 0:t.querySelector(i.join(",")))||(null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.querySelector(i.join(",")))},r=t=>d(t.find(d)),a=i=>{var e;const n=d(i);return n||(r(Array.from(i.querySelectorAll(t.join(","))||[]))||r(Array.from((null===(e=i.shadowRoot)||void 0===e?void 0:e.querySelectorAll(t.join(",")))||[])))};let o=0;const m=[];e.forEach((t=>{const i=a(t),e=i?this.outerHeight(i):0;m.push(e)})),o=Math.max(...m),e.forEach((t=>{const i=a(t),e=i?this.outerHeight(i):0;e<o&&!n?t.setAttribute("style",`padding-bottom: ${o-e}px;`):(e===o||n)&&t.setAttribute("style","padding-bottom: 0px;")}))}render(){return i(e,{key:"bc25c7c22f88bade50b1241086cbc3fccd94db28",class:{"duet-grid":!0,"duet-no-stacking":!this.responsive,"duet-grid-align-top":"top"===this.alignment,"duet-grid-align-bottom":"bottom"===this.alignment||"form-distribute"===this.alignment,"duet-grid-align-center":"center"===this.alignment,"duet-grid-align-stretch":"stretch"===this.alignment,"duet-grid-align-baseline":"baseline"===this.alignment,"duet-grid-distribution-left":"left"===this.distribution,"duet-grid-distribution-right":"right"===this.distribution,"duet-grid-distribution-center":"center"===this.distribution,"duet-grid-distribution-between":"space-between"===this.distribution,"duet-grid-distribution-around":"space-around"===this.distribution,"duet-grid-distribution-evenly":"space-evenly"===this.distribution,"duet-grid-mobile-left":"left"===this.mobile,"duet-grid-mobile-center":"center"===this.mobile,"duet-grid-mobile-right":"right"===this.mobile,"duet-grid-direction-horizontal":"horizontal"===this.direction,"duet-grid-direction-vertical":"vertical"===this.direction,"duet-grid-breakpoint-x-small":"x-small"===this.breakpoint,"duet-grid-breakpoint-small":"small"===this.breakpoint,"duet-grid-breakpoint-medium":"medium"===this.breakpoint,"duet-grid-breakpoint-large":"large"===this.breakpoint,"duet-grid-breakpoint-x-large":"x-large"===this.breakpoint,"duet-grid-row-reverse":this.rowReverse,["duet-grid-variation-"+(this.gridTemplate?"grid":"flex")]:!0,[`duet-grid-template-${this.gridTemplate}`]:!0}},i("slot",{key:"de127117a8189fccfa81ff58be25f057afb45729"}))}get element(){return n(this)}static get watchers(){return{alignment:["validateAlignment"],responsive:["updateGridItems"],breakpoint:["updateGridItems"],direction:["updateGridItems"]}}};r.style=":host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n border: 0;\n}\n\n:host(.duet-grid-variation-flex) {\n display: flex !important;\n flex-direction: column !important;\n align-items: flex-start !important;\n justify-content: flex-start !important;\n width: 100%;\n max-width: 100%;\n height: auto;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-breakpoint-x-small) {\n flex-direction: row !important;\n}\n@media (max-width: 22.5em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-x-small) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-breakpoint-x-small.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-small) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-small.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-medium) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-medium.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-large) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-large.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-x-large) {\n flex-direction: row !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-breakpoint-x-large.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-wrap) {\n flex-wrap: wrap !important;\n}\n\n:host(.duet-grid-variation-flex.duet-no-stacking) {\n flex-direction: row !important;\n}\n\n:host(.duet-grid-variation-flex.duet-no-stacking.duet-grid-row-reverse) {\n flex-direction: row-reverse !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small) {\n flex-direction: column !important;\n}\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-small) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small) {\n flex-direction: column !important;\n}\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-small) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium) {\n flex-direction: column !important;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-medium) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large) {\n flex-direction: column !important;\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-large) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large) {\n flex-direction: column !important;\n}\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-direction-vertical.duet-grid-breakpoint-x-large) {\n flex-direction: column !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-top.duet-no-stacking) {\n align-items: flex-start !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-no-stacking) {\n align-items: flex-end !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-center.duet-no-stacking) {\n align-items: center !important;\n}\n\n.duet-grid-align-stretch.duet-no-stacking {\n align-items: stretch !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-no-stacking) {\n align-items: baseline !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-small) {\n align-items: flex-start !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-small) {\n align-items: flex-end !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-small) {\n align-items: center !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-small) {\n align-items: stretch !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-small) {\n align-items: baseline !important;\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-small) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-small) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-small) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-small) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 36em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-small) {\n align-items: baseline !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-medium) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-medium) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-medium) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-medium) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 48em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-medium) {\n align-items: baseline !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-large) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-large) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-large) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-large) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 62em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-large) {\n align-items: baseline !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-top.duet-grid-breakpoint-x-large) {\n align-items: flex-start !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-bottom.duet-grid-breakpoint-x-large) {\n align-items: flex-end !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-center.duet-grid-breakpoint-x-large) {\n align-items: center !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-stretch.duet-grid-breakpoint-x-large) {\n align-items: stretch !important;\n }\n}\n\n@media (min-width: 64.0625em) {\n :host(.duet-grid-variation-flex.duet-grid-align-baseline.duet-grid-breakpoint-x-large) {\n align-items: baseline !important;\n }\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-left) {\n justify-content: flex-start !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-right) {\n justify-content: flex-end !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-center) {\n justify-content: center !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-between) {\n justify-content: space-between !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-around) {\n justify-content: space-around !important;\n}\n\n:host(.duet-grid-variation-flex.duet-grid-distribution-evenly) {\n justify-content: space-evenly !important;\n}\n\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-mobile-left) {\n align-items: flex-start !important;\n justify-content: flex-start !important;\n text-align: left !important;\n }\n}\n\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-mobile-center) {\n align-items: center !important;\n justify-content: center !important;\n text-align: center !important;\n }\n :host(.duet-grid-variation-flex.duet-grid-mobile-center) * {\n text-align: center !important;\n }\n}\n\n@media (max-width: 35.9375em) {\n :host(.duet-grid-variation-flex.duet-grid-mobile-right) {\n align-items: flex-end !important;\n justify-content: flex-end !important;\n text-align: right !important;\n }\n :host(.duet-grid-variation-flex.duet-grid-mobile-right) * {\n text-align: right !important;\n }\n}\n\n:host(.duet-grid-variation-grid) {\n display: grid;\n grid-template-rows: repeat(1, 1fr);\n grid-template-columns: repeat(4, minmax(0, 1fr));\n gap: 16px;\n align-items: flex-start;\n justify-content: center;\n padding: 0 20px;\n container-type: inline-size;\n overflow-x: clip;\n}\n@media (min-width: 36em) {\n :host(.duet-grid-variation-grid) {\n gap: 24px;\n padding: 0 40px;\n }\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid) {\n grid-template-columns: repeat(8, 55px);\n gap: 24px 32px;\n padding: 0;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid) {\n grid-template-columns: repeat(12, minmax(0, 1fr));\n padding: 0 64px;\n }\n}\n@media (min-width: 76.25em) {\n :host(.duet-grid-variation-grid) {\n grid-template-columns: repeat(12, 55px);\n gap: 40px;\n padding: 0;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-small) ::slotted(*) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-small) ::slotted(*) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-small) ::slotted(*) {\n grid-column: 3/span 8;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-medium) ::slotted(*) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-medium) ::slotted(*) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-medium) ::slotted(*) {\n grid-column: 2/span 10;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-large) ::slotted(*) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-large) ::slotted(*) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-large) ::slotted(*) {\n grid-column: 1/span 12;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 8;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(even)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(even)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-right) ::slotted(:nth-child(even)) {\n grid-column: 9/span 4;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(even)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(even)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-sidebar-left) ::slotted(:nth-child(even)) {\n grid-column: 5/span 8;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 4;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(odd)) {\n grid-column: 1/span 6;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(even)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(even)) {\n grid-column: 5/span 4;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-two-columns) ::slotted(:nth-child(even)) {\n grid-column: 7/span 6;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+1)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+1)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+1)) {\n grid-column: 1/span 4;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+2)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+2)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+2)) {\n grid-column: 5/span 4;\n }\n}\n:host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+3)) {\n grid-column: 1/span 4;\n}\n@media (min-width: 48em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+3)) {\n grid-column: 1/span 8;\n }\n}\n@media (min-width: 62em) {\n :host(.duet-grid-variation-grid.duet-grid-template-three-columns) ::slotted(:nth-child(3n+3)) {\n grid-column: 9/span 4;\n }\n}\n\n:host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n grid-template-columns: minmax(0, 1fr);\n gap: 12px;\n padding: 0;\n}\n@media (min-width: 36em) {\n :host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n gap: 16px;\n }\n}\n@container (min-width: 664px) {\n :host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n}\n@container (min-width: 1100px) {\n :host(.duet-grid-variation-grid.duet-grid-template-button-grid) {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n}";const a=class{constructor(i){t(this,i),this.fill=!1,this.theme="",this.margin="auto",this.responsive=!1,this.direction="horizontal",this.breakpoint="small",this.rowReverse=!1}componentWillLoad(){d(this)}render(){return i(e,{key:"cd699b121a356a4998001457a43186fcc2c75f29",style:{"min-width":this.minWidth,"max-width":this.maxWidth},class:{"duet-m-0":"none"===this.margin,"duet-theme-turva":"turva"===this.theme,"duet-grid-item":!0,"duet-grid-item-fill":this.fill,"duet-grid-item-responsive":this.responsive,"duet-grid-item-row-reverse":this.rowReverse,"duet-grid-direction-horizontal":"horizontal"===this.direction,"duet-grid-direction-vertical":"vertical"===this.direction,"duet-grid-item-br-x-small":"x-small"===this.breakpoint,"duet-grid-item-br-small":"small"===this.breakpoint,"duet-grid-item-br-medium":"medium"===this.breakpoint,"duet-grid-item-br-large":"large"===this.breakpoint,"duet-grid-item-br-x-large":"x-large"===this.breakpoint}},i("slot",{key:"c5bf503f54cdf776eb9ee3f975d09925f61e0922"}))}};a.style=':host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:16px !important;min-width:0;max-width:100%;flex:0 0 auto;padding-right:8px;padding-left:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;line-height:1.5;color:rgb(8, 42, 77)}:host(.duet-grid-direction-horizontal:not(.duet-grid-item-row-reverse):first-child){padding-left:0}:host(.duet-grid-direction-horizontal:not(.duet-grid-item-row-reverse):first-of-type){padding-left:0}:host(.duet-grid-direction-horizontal:not(.duet-grid-item-row-reverse):last-child){padding-right:0}:host(.duet-grid-direction-horizontal:not(.duet-grid-item-row-reverse):last-of-type){padding-right:0}:host(.duet-grid-direction-horizontal.duet-grid-item-row-reverse:first-child){padding-right:0}:host(.duet-grid-direction-horizontal.duet-grid-item-row-reverse:first-of-type){padding-right:0}:host(.duet-grid-direction-horizontal.duet-grid-item-row-reverse:last-child){padding-left:0}:host(.duet-grid-direction-horizontal.duet-grid-item-row-reverse:last-of-type){padding-left:0}@media (max-width: 35.9375em){:host(.duet-grid-item-responsive){width:100% !important;min-width:0 !important;max-width:100% !important;padding-right:0;padding-left:0}}@media screen and (max-width: 47.9375em){:host(.duet-grid-item-br-medium){width:100% !important;min-width:0 !important;max-width:100% !important}}@media screen and (max-width: 47.9375em){:host(.duet-grid-item-responsive.duet-grid-item-br-medium){padding-right:0;padding-left:0}}@media screen and (max-width: 64em){:host(.duet-grid-item-br-x-large){width:100% !important;min-width:0 !important;max-width:100% !important}}@media screen and (max-width: 64em){:host(.duet-grid-item-responsive.duet-grid-item-br-x-large){padding-right:0;padding-left:0}}:host(.duet-grid-item-fill){flex:1 1 auto;width:100%}: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){padding:0 !important;margin:0 !important}:host(.duet-theme-turva2.duet-theme-turva){color:rgb(23, 42, 59)}';export{r as duet_grid,a as duet_grid_item}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as o,g as a}from"./p-EZOAO_vc.js";import{i as r}from"./p-DYyVxyo8.js";const i=class{constructor(t){e(this,t),this.theme="",this.variation="default",this.active=!1,this.href="#",this.icon=void 0}componentWillLoad(){r(this)}render(){const e="negative"===this.variation?"negative":"white";return t(o,{key:"37bc6a6543039418aa1450349f23f7eba45adadb",role:"listitem"},t("a",{key:"55cc4a44d00c2d228ab14686063417d471beec5d",class:{"duet-toolbar-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active,[e]:!0},href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&t("duet-icon",{key:"363fec506c3668d762b5a706b720f4ab8efb0bb5",size:"x-small",name:this.icon,margin:"none",theme:this.theme,color:"currentColor"}),t("slot",{key:"086cbb4a926a01fcee0ce4d7ca417ad031c60110"})))}get element(){return a(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;height:100%}.duet-toolbar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;white-space:nowrap;text-decoration:none}.duet-toolbar-link:focus{outline:2px solid;outline-offset:-4px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-toolbar-link:focus,.duet-toolbar-link:focus.duet-theme-turva,.duet-theme-turva2 .duet-toolbar-link:focus,.duet-toolbar-link:focus.duet-theme-turva2{outline:2px solid;outline-offset:-4px;outline-color:rgba(53, 79, 101, 0.8)}.duet-toolbar-link.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.negative:focus{outline:2px solid;outline-offset:-4px;outline-color:rgb(255, 255, 255)}.duet-toolbar-link.negative duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-link.duet-theme-turva.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.duet-theme-turva.negative duet-icon{color:rgb(255, 185, 190)}.duet-toolbar-link:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-link:hover.negative{color:rgb(255, 255, 255);background:rgba(8, 42, 77, 0.2)}.duet-toolbar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-link:hover.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active{color:rgb(8, 42, 77)}.duet-toolbar-link.active.negative{font-weight:600;color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active.negative::after{display:none}.duet-toolbar-link.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}.duet-toolbar-link.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva{color:rgb(23, 42, 59);background:transparent}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva.negative{color:rgb(255, 255, 255)}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva.negative duet-icon{color:rgb(255, 229, 230)}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva:hover{color:rgb(23, 42, 59);background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva:hover.negative{color:rgb(255, 255, 255)}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva:hover.negative duet-icon{color:rgb(255, 229, 230)}:host(.duet-theme-turva2) .duet-toolbar-link.duet-theme-turva:hover.negative{background:rgba(23, 42, 59, 0.2)}:host(.duet-theme-turva2) .duet-toolbar-link.active.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-toolbar-link.active.duet-theme-turva.negative{color:rgb(255, 255, 255)}:host(.duet-theme-turva2) .duet-toolbar-link.active.duet-theme-turva.negative duet-icon{color:rgb(255, 229, 230)}:host(.duet-theme-turva2) .duet-toolbar-link.active.duet-theme-turva::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-toolbar-link.active.negative{background:rgba(23, 42, 59, 0.2)}:host(.duet-theme-turva2) .duet-toolbar-link.active.duet-theme-turva.negative{background:rgba(23, 42, 59, 0.2)}';export{i as duet_toolbar_link}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,c as t,h as i,H as a,g as o}from"./p-EZOAO_vc.js";import{i as r}from"./p-DYyVxyo8.js";import{D as d}from"./p-CDjWio68.js";import{c as s}from"./p-Cfr_DJqU.js";import{s as n,u as l}from"./p-Db8rvjPI.js";import{p as u}from"./p-BdCvOZ0R.js";const h=class{constructor(i){e(this,i),this.duetChange=t(this,"duetChange",3),this.toggleId=s("DuetToggle"),this.proxyId=s("DuetToggle"),this.theme="",this.margin="auto",this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.label="label",this.labelPosition="top",this.required=!1,this.disabled=!1,this.checked=!1,this.onClick=e=>{e.preventDefault(),this.setFocus(),this.checked=!this.checked}}checkedChanged(e){this.duetChange.emit({checked:e,value:this.value,component:"duet-toggle"})}componentWillLoad(){r(this),void 0===this.value&&(this.value=this.identifier)}connectedCallback(){n(this)}disconnectedCallback(){l(this)}componentDidRender(){u(this.element,this.proxyId,this.name,this.value,this.required,this.checked)}async setFocus(e){this.nativeInput.focus(e)}render(){const e=this.identifier||this.toggleId;return i(a,{key:"5dd02994122156506b124c5fc5b34369770653ee",onClick:this.disabled?void 0:this.onClick,class:{"duet-m-0":"none"===this.margin}},i("div",{key:"d9ecee8e94677b861f8bdd075a116e4e294ea197",class:{"duet-toggle":!0,"duet-theme-turva":"turva"===this.theme,"duet-side-label":"top"!==this.labelPosition,"duet-reverse-label":"right"===this.labelPosition}},i(d,{key:"5c5a5ee2c5ac9e772c2bb8f2aaa822503af728dd",theme:this.theme,color:this.labelColor,weight:this.labelWeight,for:e,margin:"top"===this.labelPosition?"auto":"none"},this.label),i("label",{key:"811421a233717397e31a4f3242c92197be133ed3",class:"duet-switch"},i("input",{key:"1e2fce505e70caf118d61d53d08b0aaff69f3ac3",type:"checkbox",value:this.value,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,id:e,role:this.role,name:this.name,checked:this.checked,required:this.required,disabled:this.disabled,ref:e=>this.nativeInput=e}),i("div",{key:"ca394aa66c3b8be2ad8b5c056ec7c737fcb93c44",class:"duet-slider"}))))}get element(){return o(this)}static get watchers(){return{checked:["checkedChanged"]}}};h.style='.duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.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)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:8px !important;margin-bottom:12px !important;-webkit-user-select:none;user-select:none;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:8px !important}:host(.duet-m-0){margin:0 !important}duet-label{display:block !important;width:100% !important}.duet-side-label{display:flex;gap:12px;align-items:center}.duet-side-label duet-label{width:auto !important}.duet-reverse-label{flex-direction:row-reverse}.duet-switch{position:relative;display:block;width:48px;height:28px}.duet-switch input{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;border:0 !important;clip:rect(1px, 1px, 1px, 1px) !important}.duet-switch input:checked+.duet-slider{background-color:rgb(0, 119, 179);box-shadow:none}.duet-theme-turva .duet-switch input:checked+.duet-slider{background-color:rgb(198, 12, 48)}.duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #004467;transform:translateX(20px)}.duet-theme-turva .duet-switch input:checked+.duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:-1px 0 2px #660619}.duet-switch input:disabled+.duet-slider{cursor:default}.duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-theme-turva .duet-switch input:disabled+.duet-slider::before{box-shadow:none}.duet-switch input:disabled:not(:checked)+.duet-slider{background:#bfcbd2}.duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255);box-shadow:none}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider{background:#c7c9cf}.duet-theme-turva .duet-switch input:disabled:not(:checked)+.duet-slider::before{background:rgb(255, 255, 255)}.duet-switch input:disabled:checked+.duet-slider{background:#80bbd9}.duet-theme-turva .duet-switch input:disabled:checked+.duet-slider{background:#e38698}:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-switch input:focus+.duet-slider,:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-switch input:focus+.duet-slider,:host(.user-is-tabbing) .duet-switch input:focus+.duet-slider.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-slider{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer;background-color:rgb(127, 150, 165);border-radius:24px;transition:background-color 300ms ease}.duet-slider::before{position:absolute;bottom:2px;left:2px;width:24px;height:24px;content:"";background-color:rgb(255, 255, 255);border-radius:50%;box-shadow:1px 0 2px 0 #5d6266;transition:300ms ease}.duet-theme-turva .duet-slider{background-color:rgb(143, 147, 158)}.duet-theme-turva .duet-slider::before{background-color:rgb(255, 255, 255);box-shadow:1px 0 2px 0 #00334d}:host(.duet-theme-turva2) .duet-switch input:checked+.duet-slider{background-color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-switch input:checked+.duet-slider::before{box-shadow:-1px 0 2px #890e26;transform:translateX(20px)}:host(.duet-theme-turva2) .duet-switch input:disabled:checked+.duet-slider{background:#f38ba0}';export{h as duet_toggle}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,c as e,h as s,H as i,g as n}from"./p-EZOAO_vc.js";import{g as u}from"./p-DvwKrUS6.js";import{i as a}from"./p-DYyVxyo8.js";import{c as r}from"./p-Cfr_DJqU.js";import{f as o,e as h,g as b,d as l,o as d,s as c,u as m}from"./p-Db8rvjPI.js";import{a as p,b as f,g,c as v,d as x}from"./p-CXz8FCgk.js";import{c as y,p as w}from"./p-BdCvOZ0R.js";import"./p-C6E9F6QT.js";var k,A,D,C,N=u(A?k:(A=1,k={title:"action-add",tags:"action add plus",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z"/></svg>'})),S=u(C?D:(C=1,D={title:"action-subtract",tags:"action subtract minus remove delete cancel",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 12.788a.75.75 0 0 1 0-1.5h22.5a.75.75 0 0 1 0 1.5z"/></svg>'}));function E(t,e){let s;if("string"==typeof t){if(""===t)return null;let i=t.replace("−","-").replace("‐","-").replace("−","-").replace("–","-").replace("—","-");e&&(i=function(t,e,s=!1){let i;const n=new Intl.NumberFormat(e).format(.5).replace(/[0-9]/g,""),u=new Intl.NumberFormat("en-US").format(.5).replace(/[0-9]/g,""),a=new Intl.NumberFormat(e).format(1e3).replace(/[0-9]/g,""),r=new Intl.NumberFormat("en-US").format(1e3).replace(/[0-9]/g,"");return i=t.replace(n,"DECIMALSEPARATOR"),i=i.replace(a,s?"THOUSANDSEPARATOR":""),i=i.replace("DECIMALSEPARATOR",u),i=i.replace("THOUSANDSEPARATOR",r),i}(i,e,!1)),i=i.replace(/\s+/g,""),s=parseFloat(i)}if("number"==typeof t&&(s=parseFloat(String(t))),!isNaN(Number(s)))return Number(s);if(null==t)return null;throw new Error("Invalid value passed to SafeParseFloat")}const $=(t,e,s)=>Math.min(Math.max(t,e),s),z=class{constructor(s){t(this,s),this.duetChange=e(this,"duetChange",3),this.duetInput=e(this,"duetInput",3),this.duetBlur=e(this,"duetBlur",7),this.duetFocus=e(this,"duetFocus",7),this.inputId=r("DuetInput"),this.proxyId=r("DuetInput"),this.language=p(),this.locale=f(this.language).locale,this.unit=f(this.language).money,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLiveDefaults={fi:"{current} euroa valittuna",en:"{current} euros selected",sv:"{current} euro valt"},this.accessibleLive=g(this.accessibleLiveDefaults,this.language),this.accessibleLiveEnabled=!0,this.accessibleAddDefaults={fi:"Lisää {step} {unit}",en:"Add {step} {unit}",sv:"Lägg till {step} {unit}"},this.accessibleAdd=g(this.accessibleAddDefaults,this.language),this.accessibleSubtractDefaults={fi:"Vähennä {step} {unit}",en:"Subtract {step} {unit}",sv:"Subtrahera {step} {unit}"},this.accessibleSubtract=g(this.accessibleSubtractDefaults,this.language),this.theme="",this.margin="auto",this.expand=!1,this.min=0,this.labelDefaults={fi:"Nimilappu",en:"Label",sv:"Etikett"},this.label=g(this.labelDefaults,this.language),this.labelHidden=!1,this.max=1e6,this.error="",this.tooltip="",this.step=5e3,this.rounding=!0,this.disabled=!1,this.required=!1,this.handleFocus=()=>{this.focusedValue=this.value},this.handleKeyDown=t=>{o(t)||h(t)?this.add(t):b(t)||l(t)?this.subtract(t):d(t)&&this.clearValue(t)},this.handleChange=t=>{t.stopPropagation();const e=t.target;if(e&&e.value)try{let s=E(e.value,this.locale);(isNaN(s)||null==s)&&(s=this.min||0),this.setValue(s),this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:E(this.value,this.locale).toString(),valueAsNumber:s})}catch(s){"-"!==e.value&&this.clearValue(t),this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})}else this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})},this.handleBlur=t=>{const e=t.target;var s;if(e)if(e.value)try{let i=E(e.value,this.locale);this.rounding&&(s=this.step,i=Math.round(i/s)*s),i=$(i,this.min,this.max),i===E(this.value,this.locale)&&i===E(this.focusedValue,this.locale)||(this.setValue(i),this.emitChange(t))}catch(e){this.emitNull(t)}else this.emitNull(t)},this.emitChange=t=>{const e=E(this.value,this.locale);this.duetChange.emit({originalEvent:t,value:e.toString(),valueAsNumber:e,component:"duet-number-input"})},this.emitNull=t=>{this.duetChange.emit({originalEvent:t,value:null,valueAsNumber:null,component:"duet-number-input"})},this.localizeValue=t=>t.toLocaleString(this.locale,{useGrouping:!1}),this.setValue=t=>{this.value=this.localizeValue(t),this.duetInputElement.value=`${this.value}${this.getUnitString()}`},this.add=t=>{t&&t.preventDefault();const e=E(this.value,this.locale);if(e===this.max)return;let s=null==e?this.min:e+this.step;s%this.step!=0&&(s-=s%this.step);const i=$(s,this.min,this.max);this.value=this.localizeValue(i),this.emitChange(t)},this.subtract=t=>{t&&t.preventDefault();const e=E(this.value,this.locale);if(e===this.min)return;let s=e-this.step;s%this.step!=0&&(s+=this.step-s%this.step),s=$(s,this.min,this.max),this.value=this.localizeValue(s),this.emitChange(t)}}componentWillLoad(){a(this),this.value&&(this.value=this.localizeValue(E(this.value,this.locale))),y(this.element,"tooltip","duet-tooltip",1,!0)}connectedCallback(){v(this,[{prop:"accessibleLive",defaults:"accessibleLiveDefaults"},{prop:"accessibleAdd",defaults:"accessibleAddDefaults"},{prop:"accessibleSubtract",defaults:"accessibleSubtractDefaults"},{prop:"label",defaults:"labelDefaults"}]),c(this)}disconnectedCallback(){x(this),m(this)}componentDidRender(){w(this.element,this.proxyId,this.name,this.value?`${this.value} ${this.unit}`:"",this.required)}async setFocus(t){this.duetInputElement.setFocus(t)}async getValueAsNumber(){const t=E(this.value,this.locale);return null==this.value||isNaN(t)?null:t}clearValue(t){this.duetInputElement.value="",null!==this.value&&(this.value=null,this.emitNull(t))}getUnitString(){return this.unit?` ${this.unit}`:""}formatAnnouncement(){const t=this.value?E(this.value,this.locale):null;return null==t?"":this.accessibleLive.replace("{current}",t.toString(10))}render(){const t=this.identifier||this.inputId,e=`${this.localizeValue(this.max)}${this.getUnitString()}`.length,n=this.value?E(this.value,this.locale):null;return s(i,{key:"3b711259b966bd9c4f78db30f9f2b4e1b4816832",class:{"duet-theme-turva":"turva"===this.theme,"duet-expand":this.expand,"duet-m-0":"none"===this.margin}},s("div",{key:"9e79360b29f5054cbae48be9a4e5198bfb5c81cd",class:"duet-number-container"},s("duet-input",{key:"1996707bc4c516d3d3f3efe23396fa27d452a3a7",ref:t=>this.duetInputElement=t,onDuetChange:t=>this.handleChange(t),onDuetFocus:this.handleFocus,onDuetBlur:t=>this.handleBlur(t),onKeyDown:t=>this.handleKeyDown(t),label:this.label,value:this.value?`${this.value}${this.getUnitString()}`:"",error:this.error,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":null!=n?n:"",maxlength:e,name:this.name,component:"number",required:this.required,disabled:this.disabled,role:this.role,labelHidden:this.labelHidden,tooltip:this.tooltip,identifier:t,theme:this.theme,margin:"none",expand:!0,numericKeyboard:!0,autoComplete:"off",type:"text",accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleLabelledBy:this.accessibleLabelledBy,accessibleDescription:this.accessibleDescription,accessibleDetails:this.accessibleDetails,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy},s("slot",{key:"f64cad6069469eccbaed50411f17420f678b8a93",name:"tooltip"}),s("div",{key:"aafe9613adb58f91c80b054d31ed53dcdbec57ac",class:{"duet-number-buttons":!0,"duet-no-label":this.labelHidden}},s("button",{key:"29124495bafec265a9de316918028cf987bf23d1",disabled:this.disabled,"aria-disabled":null==n||n===this.min?"true":"false",class:"duet-number-button duet-number-button-subtract",onClick:this.subtract,type:"button"},s("duet-visually-hidden",{key:"64561d65940b243b7f0d8c3b61f617b38be4a0d9"},this.accessibleSubtract.replace(/\{\s*step\s*\}/,`${this.step}`).replace(/\{\s*unit\s*\}/,`${this.unit}`)),s("duet-icon",{key:"203aacaee51eb1198b4e9027c5cce9370e83601f",icon:S.svg,size:"small",margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary"})),s("button",{key:"c62e7ddd60b4528ffa9bc82e7979aa76b12abd19",disabled:this.disabled,"aria-disabled":n===this.max?"true":"false",class:"duet-number-button duet-number-button-add",onClick:this.add,type:"button"},s("duet-visually-hidden",{key:"b37e14966167bc6b4c58ed0e4d6a56e2b488bb04"},this.accessibleAdd.replace(/\{\s*step\s*\}/,`${this.step}`).replace(/\{\s*unit\s*\}/,`${this.unit}`)),s("duet-icon",{key:"e24cec3dfa21d4598270d8034ccbc43a59b84dd6",icon:N.svg,size:"small",margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary"})))),this.accessibleLiveEnabled&&s("duet-visually-hidden",{key:"a9b4c6ee1ac26700b83f3a23fafc0b85ed68dba8","aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement())))}get element(){return n(this)}};z.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;line-height:1.25;vertical-align:bottom;text-align:left}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:16px !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}.duet-number-container{position:relative;width:100%}.duet-number-buttons{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;width:96px;height:calc(100% - 2px)}.duet-number-buttons .duet-number-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:50%;height:100%;text-align:center;-webkit-appearance:none;appearance:none;cursor:pointer;background:transparent}.duet-number-buttons .duet-number-button:focus{outline:0}:host(.user-is-tabbing) .duet-number-buttons .duet-number-button:focus{outline:2px solid;outline-offset:0;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-number-buttons .duet-number-button:focus,:host(.user-is-tabbing) .duet-number-buttons .duet-number-button:focus.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-number-buttons .duet-number-button:focus,:host(.user-is-tabbing) .duet-number-buttons .duet-number-button:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-number-buttons .duet-number-button[aria-disabled=true],.duet-number-buttons .duet-number-button:disabled{pointer-events:none}.duet-number-buttons .duet-number-button[aria-disabled=true] duet-icon,.duet-number-buttons .duet-number-button:disabled duet-icon{opacity:0.4}.duet-number-buttons .duet-number-button:active duet-icon{transform:translateY(1px)}:host(.user-is-tabbing) .duet-number-buttons .duet-number-button:focus{z-index:2}.duet-number-buttons .duet-number-button:first-of-type{border-left:1px solid rgb(181, 198, 208)}.duet-number-buttons .duet-number-button:first-of-type::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:"";background:linear-gradient(to left, rgba(181, 198, 208, 0.2) 0%, rgba(181, 198, 208, 0.2) 1px, rgba(181, 198, 208, 0.1) 1px, rgba(181, 198, 208, 0) 100%)}.duet-number-buttons .duet-number-button:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.duet-number-buttons .duet-number-button:last-of-type::before{position:absolute;top:20%;left:0;z-index:-1;width:1px;height:60%;content:"";background:rgb(212, 223, 229)}:host(.duet-theme-turva) .duet-number-buttons .duet-number-button:first-of-type::before{background:linear-gradient(to left, rgba(199, 202, 207, 0.2) 0%, rgba(199, 202, 207, 0.2) 1px, rgba(199, 202, 207, 0.1) 1px, rgba(199, 202, 207, 0) 100%)}:host(.duet-theme-turva) .duet-number-buttons .duet-number-button:last-of-type::before{background:rgb(222, 224, 228)}:host(.duet-theme-turva2) .duet-theme-turva .duet-number-buttons .duet-number-button:first-of-type::before{background:linear-gradient(to left, rgba(178, 194, 205, 0.2) 0%, rgba(178, 194, 205, 0.2) 1px, rgba(178, 194, 205, 0.1) 1px, rgba(178, 194, 205, 0) 100%)}:host(.duet-theme-turva2) .duet-theme-turva .duet-number-buttons .duet-number-button:last-of-type::before{background:rgb(212, 221, 226)}';export{z as duet_number_input}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as o,g as n}from"./p-EZOAO_vc.js";import{a as r}from"./p-DOuLHrH5.js";import{i as a}from"./p-DYyVxyo8.js";import{a as u}from"./p-Db8rvjPI.js";const d=class{constructor(t){e(this,t),this.mql=[window.matchMedia(r.replace(/'/g,""))],this.boundMqlFunctions=[],this.isDesktop=!1,this.theme="",this.active=!1,this.open=!1,this.icon=void 0,this.checkIsDesktop=()=>{this.isDesktop=!!this.mql[0].matches},this.onClick=()=>{const e=this.open;if(!this.isDesktop){const e=Array.from(this.element.parentElement.querySelectorAll("duet-submenu-bar-dropdown"));for(const t of e)t.open=!1}this.open=!e}}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&this.isDesktop&&(this.open=!1)}componentWillLoad(){a(this)}connectedCallback(){this.checkIsDesktop();for(let e=0;e<this.mql.length;e++)if(this.mql[e].addEventListener){const t=this.checkIsDesktop.bind(this);this.mql[e].addEventListener("change",t),this.boundMqlFunctions[e]=t}}disconnectedCallback(){for(let e=0;e<this.mql.length;e++)this.mql[e].removeEventListener&&this.mql[e].removeEventListener("change",this.boundMqlFunctions[e]);this.boundMqlFunctions=[]}handleEscape(e){if(u(e))if(this.open)this.open=!1;else{const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}async setFocus(e){this.button.focus(e)}render(){return t(o,{key:"b08d71c303bbbb5dc488ccb9df3a6606cbcee45f",role:"listitem"},t("div",{key:"f27808ba704701f0857e90d8c4474f11f2bd284d",class:{"duet-submenu-bar-dropdown":!0,"duet-theme-turva":"turva"===this.theme,open:this.open,active:this.active}},t("button",{key:"da50cea3b3daea0da483dc01649345a9fcc27d55",ref:e=>this.button=e,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false","aria-current":this.active?"true":"false",id:"button",type:"button",class:{open:this.open,active:this.active},onClick:this.onClick,onKeyUp:e=>this.handleEscape(e)},this.icon&&t("duet-icon",{key:"41562541f2cf4bbe9e8d6ccb3214b8fc5b44079f",class:"submenu-bar-dropdown-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),t("div",{key:"8b2782607b3478bc491ce2fa423257d4233968fa",class:"label"},t("span",{key:"5b22aff9852f284416e15d60b1a262e963ff228e",class:"label-text"},t("slot",{key:"aec50191a12adf0fbd6f9e388c2dc09954d21f83",name:"label"})),t("duet-icon",{key:"154795bda221d38ca73b47a86c97da4c6e4d573b",class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),t("div",{key:"574669c2280fa1e7e4d14666f95fbe912a068119",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",{key:"9a69e63aae77e184049ed7d8f7f511d47eca642e"}))))}get element(){return n(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-dropdown{position:relative;height:100%}.duet-submenu-bar-dropdown button{position:relative;display:flex;flex-direction:row;gap:16px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:12px 1.5rem;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;text-decoration:none;cursor:pointer}.duet-submenu-bar-dropdown button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-submenu-bar-dropdown button:focus,.duet-submenu-bar-dropdown button:focus.duet-theme-turva,.duet-theme-turva2 .duet-submenu-bar-dropdown button:focus,.duet-submenu-bar-dropdown button:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}@media (min-width: 62em){.duet-submenu-bar-dropdown button{flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;font-size:0.875rem;color:rgb(0, 75, 129)}}.duet-submenu-bar-dropdown button .label{display:flex;gap:5px;align-items:center;justify-content:center}@media (min-width: 62em){.duet-submenu-bar-dropdown button.open{background:rgb(228, 241, 247)}}.duet-submenu-bar-dropdown button.open .caret{transform:rotate(180deg)}.duet-submenu-bar-dropdown button.active .label-text{position:relative}.duet-submenu-bar-dropdown button.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:1px}@media (min-width: 62em){.duet-submenu-bar-dropdown button.active .label-text::after{display:none}}@media (min-width: 62em){.duet-submenu-bar-dropdown button .caret{position:absolute;right:12px}.duet-submenu-bar-dropdown button:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-dropdown button:hover.active{color:rgb(8, 42, 77)}.duet-theme-turva .duet-submenu-bar-dropdown button:hover.active{color:rgb(23, 28, 58)}.duet-submenu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-theme-turva .duet-submenu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-submenu-bar-dropdown button.active::after,.duet-submenu-bar-dropdown button.open::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}.duet-theme-turva .duet-submenu-bar-dropdown button.active::after,.duet-theme-turva .duet-submenu-bar-dropdown button.open::after{background:rgb(198, 12, 48)}}.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-dropdown .submenu-bar-dropdown-icon{width:16px;height:16px}}.duet-submenu-bar-dropdown .items{display:flex;visibility:visible;flex-direction:column;align-items:center;justify-content:center;max-height:1000px;padding:4px 0 16px;overflow-y:auto;color:rgb(8, 42, 77);scrollbar-width:none;transition:max-height 0.3s ease-in, padding 0.3s ease-in;-ms-overflow-style:none}.duet-submenu-bar-dropdown .items::-webkit-scrollbar{display:none}@media (min-width: 62em){.duet-submenu-bar-dropdown .items{position:absolute;top:93%;z-index:600;min-width:320px;padding:8px;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);transition:none}}.duet-submenu-bar-dropdown .items.hidden{visibility:hidden;max-height:0;padding:0;overflow:hidden;transition:max-height 0.3s ease-in, padding 0.3s ease-in}.duet-submenu-bar-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button:hover{background:rgb(222, 224, 228)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active .label-text::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open .label-text::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.active,.duet-submenu-bar-dropdown.duet-theme-turva button.open{color:rgb(126, 2, 35)}}.duet-submenu-bar-dropdown.duet-theme-turva button.active::after,.duet-submenu-bar-dropdown.duet-theme-turva button.open::after{background:rgb(126, 2, 35)}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva button.open{background:rgb(222, 224, 228)}}@media (min-width: 62em){.duet-submenu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button{color:rgb(23, 42, 59)}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button:hover{background:rgb(251, 225, 209)}}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.active .label-text::after,:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.open .label-text::after{background:rgb(230, 23, 64)}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.active,:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.open{color:rgb(140, 0, 30)}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.active::after,:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.open::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva button.open{background:rgb(251, 225, 209)}}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-submenu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}}';export{d as duet_submenu_bar_dropdown}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,c as t,h as i,H as a,g as o}from"./p-EZOAO_vc.js";import{a as s}from"./p-BVgBUIYF.js";import{f as l,t as n}from"./p-DOuLHrH5.js";import{i as r}from"./p-DYyVxyo8.js";import{c as d}from"./p-Cfr_DJqU.js";import{i as h,s as c,u as p}from"./p-Db8rvjPI.js";import{d as u,h as g,c as b,a as m}from"./p-BdCvOZ0R.js";import"./p-DvwKrUS6.js";const f=class{constructor(i){e(this,i),this.duetToggle=t(this,"duetToggle",7),this.id=d("DuetCollapsible"),this.headingTags=["h1","h2","h3","h4","h5","h6"],this.theme="",this.negative=!1,this.heading="",this.caption="",this.headingFullWidth=!1,this.centerHeading=!1,this.headingWeight="semibold",this.headingSize=void 0,this.headingLevel=void 0,this.margin="auto",this.open=!1,this.handleKeyDown=e=>{h(e)&&this.handleClick(e)},this.getFontSizeFromTokens=(e=this.headingSize)=>{if(e){const t=e.replace(/-/g,"_");return n[`font_size_${t}`]}return l},this.getEquivalentIconSize=(e=this.headingSize)=>{switch(e){case"x-small":case"small":case"medium":default: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"}},this.getAccessibleLabel=()=>{if(this.accessibleLabel)return this.accessibleLabel;const e=[];return this.heading?e.push(this.heading):this.hasHeadingSlot&&e.push(u(this.element,"heading")),this.hasAfterHeadingSlot&&e.push(u(this.element,"after-heading")),this.caption&&e.push(this.caption),e.join(". ")},this.handleClick=e=>{e.preventDefault(),this.open=!this.open,this.duetToggle.emit({component:"duet-collapsible",originalEvent:e})}}componentWillLoad(){r(this),this.hasAfterHeadingSlot=g(this.element,"after-heading"),this.hasHeadingSlot=g(this.element,"heading"),b(this.element,"heading",this.headingTags.join(",")),this.hasHeadingSlot&&(this.headingLevel=m(this.element,"heading")[0].tagName.toLowerCase())}connectedCallback(){c(this)}disconnectedCallback(){p(this)}async setFocus(e){this.nativeButton&&(this.element.classList.add("user-is-tabbing"),this.nativeButton.focus(e))}render(){const e=this.headingTags.includes(this.headingLevel)?this.headingLevel:"div";return i(a,{key:"33d42aa6613b1c4c8d7789ad32a4bc0e02cab4ad",class:{"duet-m-0":"none"===this.margin,negative:this.negative}},i(e,{key:"091f0117124e76f5f87b226fe216b69f587d706f"},i("button",{key:"efec916eea29062394e6e3938c1d26bf2efc1620",class:{"duet-collapsible-heading":!0,"duet-collapsible-heading-centered":this.centerHeading,"duet-theme-turva":"turva"===this.theme,"duet-collapsible-normal-weight":"normal"===this.headingWeight,"has-after-heading":this.hasAfterHeadingSlot,"full-width":this.headingFullWidth,"has-caption":!!this.caption},style:{"font-size":this.getFontSizeFromTokens()},role:"button",ref:e=>this.nativeButton=e,"aria-label":this.getAccessibleLabel(),"aria-expanded":this.open?"true":"false","aria-controls":this.id,onClick:this.handleClick,onKeyDown:this.handleKeyDown},i("div",{key:"933b0f2222b12e28df931954684fee098ce514e1",class:"duet-collapsible-heading-wrapper"},i("div",{key:"11e4a5a8651be923cd1504af680534ed0ce74814",class:"duet-collapsible-heading-icon"},i("duet-icon",{key:"01d74d252e5642f53f549a6bafe82dc709186355",margin:"none",size:this.getEquivalentIconSize(),icon:s.svg})),i("div",{key:"4f61ec6445ea77d863d9fd61c670a981a88ca99a",class:"duet-collapsible-heading-content",part:"duet-collapsible-heading-content"},this.heading?this.heading:i("slot",{name:"heading"})),this.hasAfterHeadingSlot&&i("div",{key:"0a73d177f1fa62144044b314f07461b20a830d2b",part:"duet-collapsible-after-heading"},i("slot",{key:"0a38479abd24db8891c488e7fdf19787ed9e9a55",name:"after-heading"}))),this.caption&&i("div",{key:"b31a6d8a198093d28fa0fd0a552c0806ce86a986",class:"duet-collapsible-heading-caption"},i("duet-caption",{key:"b13eeb284c4e904f8782660acdf72201269288a2",size:"small",margin:"none"},this.caption)))),i("div",{key:"7529c3164f4b457b85430f62e61d05648f1a5db4",id:this.id,class:{"duet-collapsible-content":!0,"duet-theme-turva":"turva"===this.theme},part:"duet-collapsible-content"},i("slot",{key:"0124d76ffc82a087323436e7629a0bcbe535fc83"})))}get element(){return o(this)}};f.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;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;line-height:1.5;color:rgb(8, 42, 77);-webkit-hyphens:auto;hyphens:auto}@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;flex-direction:column;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:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-collapsible-heading:focus,:host(.user-is-tabbing) .duet-collapsible-heading:focus.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-collapsible-heading:focus,:host(.user-is-tabbing) .duet-collapsible-heading:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-heading-centered .duet-collapsible-heading-caption{margin-inline: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 .duet-collapsible-heading-content ::slotted(*){padding:0;margin:0;font-family:inherit !important;font-size:inherit !important;font-weight:inherit !important;color:inherit !important}.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.has-caption{gap:4px}.duet-collapsible-heading.has-caption .duet-collapsible-heading-caption{margin-left:18px;font-weight:inherit}.duet-collapsible-heading .duet-collapsible-heading-wrapper{display:flex;align-items:center;width:inherit;margin:inherit}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px}.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}[alignment=form-distribute]>.duet-collapsible-heading-icon:last-of-type:not(:last-child){margin-right:8px !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)}:host(.duet-theme-turva2){color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-collapsible-content.duet-theme-turva,:host(.duet-theme-turva2) .duet-collapsible-heading.duet-theme-turva{color:rgb(23, 28, 58)}';export{f as duet_collapsible}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as a,g as i}from"./p-EZOAO_vc.js";import{n as r}from"./p-vVCYtBMj.js";import{a as o}from"./p-CVPfl9fc.js";import{i as u}from"./p-DYyVxyo8.js";import{g as n}from"./p-DXnMp1Z1.js";import{a as s}from"./p-Db8rvjPI.js";import{g as b,c as m,d}from"./p-CXz8FCgk.js";import"./p-DvwKrUS6.js";import"./p-BdCvOZ0R.js";import"./p-C6E9F6QT.js";const c=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.leadingIcon=void 0,this.trailingIcon=void 0,this.accessiblePopup="false",this.accessibleLabelExternalDefaults=o,this.accessibleLabelExternal=b(this.accessibleLabelExternalDefaults),this.external=!1}componentWillLoad(){u(this)}connectedCallback(){m(this,{prop:"accessibleLabelExternal",defaults:"accessibleLabelExternalDefaults"})}disconnectedCallback(){d(this)}handleEscape(e){if(s(e)){const e=this.element.closest("duet-submenu-bar");e.open=!1,e.setFocus()}}async setFocus(e){setTimeout((()=>this.itemElement.focus(e)),200)}render(){const e=this.url?"link":"button";return t(a,{key:"35be20639e3574ca775aa4b697485c84a1512045",role:"listitem"},t(this.url?"a":"button",{key:"10e74fbfad350fa687d2ed5c6d5bfa6c3c3b7a08",target:this.url?this.external?"_blank":"_self":null,ref:e=>this.itemElement=e,class:{"duet-submenu-bar-item":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.url,onKeyUp:e=>this.handleEscape(e),"aria-current":this.active?"true":"false","aria-label":this.url&&n(this)||this.accessibleLabel,"aria-expanded":null!=this.accessibleExpanded?this.accessibleExpanded.toString():void 0,"aria-haspopup":null!=this.accessiblePopup?this.accessiblePopup.toString():void 0,role:e,rel:this.external?"noopener":void 0},this.leadingIcon&&t("duet-icon",{key:"e4de062ea87077cdf5ab2f80a72cb746d10b32e9",class:"leading-icon",theme:this.theme,name:this.leadingIcon,size:"auto",margin:"none",color:"currentColor"}),t("div",{key:"1829e95b6db1e8970ca53e5f8332b0aa97df310a",class:"label"},t("span",{key:"815b45070604d6a9fc3f875677119480812c448d",class:"label-text"},t("slot",{key:"195a9798c946491c1ec6318a99b5738e92d68f58"})),(this.trailingIcon||this.external)&&t("duet-icon",{key:"8718695a96ec8294833a18791aeefbe51526308f",class:{"trailing-icon":!!this.trailingIcon,"trailing-icon-arrow":"action-arrow-down-small"===this.trailingIcon,"external-icon":!!this.external,rotate:"action-arrow-down-small"===this.trailingIcon&&this.accessibleExpanded},theme:this.theme,name:this.trailingIcon?this.trailingIcon:this.external?r.title:"",margin:"none",size:"auto",color:"currentColor"}))))}get element(){return i(this)}};c.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}@media (min-width: 62em){:host{width:auto}}.duet-submenu-bar-item{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;width:auto;height:100%;padding:12px 1.5rem;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:1.25;color:rgb(0, 75, 129);text-align:center;white-space:nowrap;text-decoration:none;cursor:pointer}.duet-submenu-bar-item:focus{outline:2px solid;outline-offset:-4px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva,.duet-theme-turva2 .duet-submenu-bar-item:focus,.duet-submenu-bar-item:focus.duet-theme-turva2{outline:2px solid;outline-offset:-4px;outline-color:rgba(53, 79, 101, 0.8)}.duet-submenu-bar-item .label{display:flex;gap:5px;align-items:center;justify-content:center}.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-submenu-bar-item .leading-icon,.duet-submenu-bar-item .trailing-icon{width:16px;height:16px}}.duet-submenu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-submenu-bar-item .external-icon{width:10px;height:10px}.duet-submenu-bar-item .trailing-icon{position:absolute;right:12px}.duet-submenu-bar-item[aria-expanded=true]{background:rgb(228, 241, 247)}.duet-submenu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-submenu-bar-item.active{color:rgb(0, 119, 179)}.duet-submenu-bar-item.active.duet-theme-turva{color:rgb(126, 2, 35)}.duet-submenu-bar-item.active::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(1px);transition:300ms ease}.duet-submenu-bar-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-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(126, 2, 35)}.duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(126, 2, 35)}.duet-submenu-bar-item:hover{color:rgb(8, 42, 77);background:rgb(228, 241, 247)}.duet-submenu-bar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(222, 224, 228)}.duet-submenu-bar-item:hover.duet-theme-turva.active{color:rgb(126, 2, 35)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-submenu-bar-item.active.duet-theme-turva{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva.active .label::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva.active::after{background:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva:hover{color:rgb(23, 42, 59);background:rgb(251, 225, 209)}:host(.duet-theme-turva2) .duet-submenu-bar-item.duet-theme-turva:hover.active{color:rgb(230, 23, 64)}';export{c as duet_submenu_bar_item}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as o,H as t,g as r}from"./p-EZOAO_vc.js";import{i as a}from"./p-DYyVxyo8.js";import{a as n}from"./p-Db8rvjPI.js";const d=class{constructor(o){e(this,o),this.theme="",this.targetLanguage=void 0,this.href="#",this.icon=void 0,this.active=!1}componentWillLoad(){a(this)}handleEscape(e){if(n(e)){const e=this.element.closest("duet-toolbar-dropdown");e.open=!1,e.setFocus()}}render(){return o(t,{key:"34a5369d2806e4474bbb32400d5563fddcc3590a"},o("a",{key:"b16d10c8be40329d90136c486d568fb9511524d7",class:{"duet-toolbar-dropdown-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,lang:this.targetLanguage,hreflang:this.targetLanguage,role:"link menuitem","aria-label":this.accessibleLabel,"aria-current":this.active?"true":"false",onKeyUp:e=>this.handleEscape(e)},this.icon&&o("duet-icon",{key:"cce54b8721ad1d017e32ac331ebcc54d53fbd88c",name:this.icon,size:"x-small",margin:"none"}),o("span",{key:"515f4c68a3917e3403e59f938fc2a2ba296e1f63",class:"label"},o("slot",{key:"43e7eddd00dc07766e9842a4070f09e908021551"})),this.active&&o("duet-icon",{key:"e69da314290045e523944a6d3554158627151d48",name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor"})))}get element(){return r(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}.duet-toolbar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 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:center;text-decoration:none}.duet-toolbar-dropdown-link:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-toolbar-dropdown-link:focus,.duet-toolbar-dropdown-link:focus.duet-theme-turva,.duet-theme-turva2 .duet-toolbar-dropdown-link:focus,.duet-toolbar-dropdown-link:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-toolbar-dropdown-link .label{flex:1;text-align:left}.duet-toolbar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-toolbar-dropdown-link.active{background:rgb(240, 247, 250)}.duet-toolbar-dropdown-link.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-toolbar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-toolbar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}:host(.duet-theme-turva2) .duet-toolbar-dropdown-link.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-toolbar-dropdown-link.duet-theme-turva.active{background:rgb(253, 247, 242)}:host(.duet-theme-turva2) .duet-toolbar-dropdown-link.duet-theme-turva:hover{background:rgb(251, 225, 209)}';export{d as duet_toolbar_dropdown_link}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as a,g as r}from"./p-EZOAO_vc.js";import{i as s}from"./p-DYyVxyo8.js";import{f as i}from"./p-CXz8FCgk.js";import{g as o}from"./p-BdCvOZ0R.js";import{g as h}from"./p-Bg75Vqqq.js";import"./p-C6E9F6QT.js";import"./p-BDAqOMlM.js";const l=class{constructor(t){e(this,t),this.defaultColors=["lt-blue-800","lt-blue-600","success-600","success-800","warning-600","danger-600","danger-800"],this.theme="",this.unit="%"}componentWillLoad(){s(this)}connectedCallback(){this.childObserver=new MutationObserver(this.updateChartItems.bind(this)),this.childObserver.observe(this.element,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),this.updateChartItems()}disconnectedCallback(){this.childObserver&&(this.childObserver.disconnect(),this.childObserver=void 0)}updateChartItems(){const e=o(this.element).filter((e=>"duet-share-chart-item"===e.tagName.toLocaleLowerCase()));this.items=e.map(((e,t)=>({text:e.textContent,value:e.value,color:e.color||this.defaultColors[t%this.defaultColors.length]}))),this.itemsTotalValue=this.items.reduce(((e,{value:t})=>e+t),0)}render(){return t(a,{key:"c22523d7e91ce5ef59f5553ed847309cc45c9499"},t("div",{key:"9aa4f2e4c117c5f7c30bce27585c7abc4d5568ea",class:"duet-share-chart-horizontal-bar",role:"presentation"},this.items.filter((e=>!!e.value)).map((e=>t("span",{class:"duet-share-chart-share",style:{width:e.value/this.itemsTotalValue*100+"%",backgroundColor:h(e.color,this.theme)}})))),t("ul",{key:"428d17dde9185b071455325d5d2195618f4a0267",class:"duet-share-chart-item-list"},this.items.map((e=>t("li",{class:{"duet-theme-turva":"turva"===this.theme}},t("span",{class:"duet-share-chart-item-color",style:{background:h(e.color,this.theme)}}),t("span",{class:"duet-share-chart-item-text"},e.text,":"),t("span",{class:"duet-share-chart-item-value"}," ",i(e.value)," ",this.unit),"%"!==this.unit&&t("duet-visually-hidden",null,`${i(e.value/this.itemsTotalValue*100,0)} %`))))),t("slot",{key:"2f394e013dfe0a533524bef6f0649f57d1c2d957"}))}get element(){return r(this)}};l.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.duet-share-chart-horizontal-bar{height:16px;margin-bottom:20px;border-radius:4px}.duet-share-chart-horizontal-bar .duet-share-chart-share{box-sizing:border-box;display:inline-block;height:16px;border-color:rgb(255, 255, 255);border-style:solid;border-width:0 1px}.duet-share-chart-horizontal-bar .duet-share-chart-share:first-child{border-left-width:0;border-radius:4px 0 0 4px}.duet-share-chart-horizontal-bar .duet-share-chart-share:last-child{border-right-width:0;border-radius:0 4px 4px 0}.duet-share-chart-item-list{padding:0 4px;margin:0;list-style:none}.duet-share-chart-item-list li{display:flex;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;color:rgb(8, 42, 77)}.duet-share-chart-item-list li.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-share-chart-item-list span{display:inline-block}.duet-share-chart-item-list .duet-share-chart-item-color{flex-shrink:0;width:12px;height:12px;margin-top:calc((1.5rem - 12px) / 2);margin-right:12px;border-radius:4px}.duet-share-chart-item-list .duet-share-chart-item-value{font-weight:600}:host(.duet-theme-turva2) .duet-share-chart-item-list li.duet-theme-turva{color:rgb(23, 42, 59)}';export{l as duet_share_chart}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as o,H as t,g as r}from"./p-EZOAO_vc.js";import{i as n}from"./p-DYyVxyo8.js";import{a}from"./p-Db8rvjPI.js";const i=class{constructor(o){e(this,o),this.theme="",this.href="#",this.icon=void 0,this.getVariant=()=>(this.element.parentElement.parentElement.getAttribute("slot"),"right")}componentWillLoad(){n(this)}handleEscape(e){if(a(e)){const e=this.element.closest("duet-menu-bar-dropdown");e.open=!1,e.setFocus()}}render(){return o(t,{key:"4f66b37f78e3221d96cc0189a2a8592e6b6f8fc6"},o("a",{key:"d6ad6af753be198a1601d09e82478a0e1d9ee172",class:{"duet-menu-bar-dropdown-link":!0,[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]:!0,"duet-theme-turva":"turva"===this.theme},href:this.href,role:"menuitem",onKeyUp:e=>this.handleEscape(e),"aria-label":this.accessibleLabel},this.icon&&o("duet-icon",{key:"4834a4159934c0525ed9e7b7d6ac28132ba2cf03",theme:this.theme,name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),o("slot",{key:"e3f4ac467c7e84ec2c9f0d8ac7f36800a299540f"})))}get element(){return r(this)}};i.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}.duet-menu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 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}.duet-menu-bar-dropdown-link:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-menu-bar-dropdown-link:focus,.duet-menu-bar-dropdown-link:focus.duet-theme-turva,.duet-theme-turva2 .duet-menu-bar-dropdown-link:focus,.duet-menu-bar-dropdown-link:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-menu-bar-dropdown-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-menu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-menu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}:host(.duet-theme-turva2) .duet-menu-bar-dropdown-link.duet-theme-turva{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-menu-bar-dropdown-link.duet-theme-turva:hover{background:rgb(251, 235, 225)}';export{i as duet_menu_bar_dropdown_link}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{E as t,r as e,h as i,H as s,g as a}from"./p-EZOAO_vc.js";import{i as o}from"./p-DYyVxyo8.js";import{g as n,r as d}from"./p-Bg75Vqqq.js";import"./p-BDAqOMlM.js";const h=t=>{if("script"===t.nodeName.toLowerCase())return!1;for(let e=0;e<t.attributes.length;e++)if(0===t.attributes[e].name.toLowerCase().indexOf("on"))return!1;if(t.children)for(let e=0;e<t.children.length;e++)if(!h(t.children[e]))return!1;return!0},r={};const u=class{constructor(t){e(this,t),this.theme="",this.name="action-add",this.margin="auto",this.responsive=!0,this.color="",this.background="",this.backgroundOpacity=1,this.backgroundRotation=0,this.size="medium",this.outline="",this.shape="circle"}async componentWillLoad(){o(this),this.src&&this.icon&&console.warn("[DUET COMPONENTS]: <duet-icon> should have either have src or icon attributes, but not both. icon attribute will take precedence","icon:",this.icon,"src:",this.src),await this.loadIcon(null,null)}async loadIcon(e,i){if(this.icon)return void(this.svgContent=this.icon);if(this.element.shadowRoot.querySelector("svg")&&!this.svgContent){if(null===i&&null===e)return;if(this.element.shadowRoot.querySelector(`.duet-icon-svg[data-name="${e}"]`))return}const s=this.src?this.src:this.name?(e=>{const i=window.duetcdnuri?window.duetcdnuri:t.cdnURIProd;return i.includes("localhost")?`${i}/icons/lib/assets/${e}.svg`:`${i}/icons/${t.duetIconVersion}/lib/assets/${e}.svg`})(this.name):"";if(s)try{this.svgContent=await function(t){if(r[t])return r[t];const e=async function(){const e=await fetch(t);if(!e.ok)throw new Error(`SVG request failed: ${e.status} ${e.statusText}`);const i=(t=>{if("undefined"==typeof document||!t)return;const e=document.createElement("div");e.innerHTML=t;for(let t=e.childNodes.length-1;t>=0;t--)"svg"!==e.childNodes[t].nodeName.toLowerCase()&&e.removeChild(e.childNodes[t]);return e.firstElementChild})(await e.text());if(!h(i))throw new Error("SVG validation failed");const s=document.createElement("div");return s.appendChild(i),s.innerHTML}();return r[t]=e}(s)}catch(t){console.warn(`[DUET COMPONENTS]: <duet-icon> could not load SVG from URL: ${s}.`,t)}else this.svgContent=""}render(){const t="currentColor"===this.color?"currentColor":n(this.color,this.theme)||n(this.outline,this.theme),e=this.backgroundRotation?{transform:`rotate(${this.backgroundRotation}deg)`,"transform-origin":"center center"}:{},a=Object.assign({color:t,background:d(n(this.background,this.theme),this.backgroundOpacity),"border-color":n(this.outline,this.theme)},e),o=Object.assign({},this.backgroundRotation?{transform:`rotate(-${this.backgroundRotation}deg)`,"transform-origin":"center center"}:{}),h="brand-rotated"===this.shape?"duet-icon-shape-brand":`duet-icon-shape-${this.shape}`;return i(s,{key:"2a800d3292964b5a1dd5fd454662f690ce9e6b5a",class:{"duet-m-0":"none"===this.margin,"duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background}},i("span",{key:"4d5d3fc155d6d2e4f677d8753c116c82eb865a2c","aria-hidden":"true",style:a,class:{"duet-icon":!0,"duet-theme-turva":"turva"===this.theme,"duet-theme-default":"default"===this.theme,"duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background,[h]:!0,rotated:"brand-rotated"===this.shape&&"turva"!==this.theme,"duet-icon-not-responsive":!this.responsive}},i("span",{key:"6c79866426237ff75ff36401a9117dca1a68cf19","aria-hidden":"true",class:{"duet-icon-svg":!0,rotated:"brand-rotated"===this.shape&&"turva"!==this.theme},"data-name":this.name,innerHTML:this.svgContent,style:o})))}get element(){return a(this)}static get watchers(){return{src:["loadIcon"],icon:["loadIcon"],name:["loadIcon"]}}};u.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:16px !important;display:inline-block;width:auto;max-width:100%;color:inherit;-webkit-tap-highlight-color:transparent}@media (max-width: 35.9375em){:host(.duet-icon-has-outline){margin-bottom:0 !important}}@media (max-width: 35.9375em){:host(.duet-icon-has-background){margin-bottom:0 !important}}:host(.duet-m-0){margin:0 !important}@media (max-width: 35.9375em){:host(.duet-m-0){margin:0 !important}}.duet-icon{-webkit-user-select:none;user-select:none;display:block;width:100%;height:100%;transform-origin:top center}.duet-icon.duet-icon-has-outline{padding:12px;border-style:solid;border-width:1px}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-outline{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background{padding:16px;color:rgb(255, 255, 255)}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-background{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background.duet-theme-turva,.duet-icon.duet-icon-has-background.duet-theme-default{color:rgb(255, 255, 255)}.duet-icon.duet-icon-shape-circle{border-radius:50%}.duet-icon.duet-icon-shape-brand{border-radius:25%}@media (max-width: 35.9375em){.duet-icon.duet-icon-not-responsive{transform:scale(1) !important}}.duet-icon.duet-theme-default{color:rgb(0, 119, 179)}.duet-icon.duet-theme-turva{color:rgb(198, 12, 48)}.duet-icon.duet-icon-shape-brand.rotated{transform:rotate(7deg) scale(0.875);transform-origin:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva{display:flex;align-items:center;justify-content:center;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;mask-position:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg{min-width:auto}.duet-icon .duet-icon-svg{display:block;width:24px;min-width:100%;height:24px;font-size:0}.duet-icon .duet-icon-svg.rotated{transform:rotate(-7deg) scale(1.14)}.duet-icon svg{width:100%;min-width:100%;overflow:clip;fill:currentColor;overflow-clip-margin:1px}:host([size=auto]) .duet-icon-svg{width:100%;height:100%}:host([size=xxx-small]) .duet-icon-svg{width:7px;height:7px}:host([size=xxx-small]) .duet-icon-has-background{padding:6px}:host([size=xxx-small]) .duet-icon-has-outline{padding:4px}:host([size=xxx-small]) .duet-icon-has-background .duet-icon-svg,:host([size=xxx-small]) .duet-icon-has-outline .duet-icon-svg{width:10px;height:10px}:host([size=xxx-small]) .duet-icon-shape-brand{padding:0}:host([size=xxx-small]) .duet-icon-shape-brand .duet-icon-svg{width:0;height:0}:host([size=xx-small]) .duet-icon-svg{width:10px;height:10px}:host([size=xx-small]) .duet-icon-has-background{padding:8px}:host([size=xx-small]) .duet-icon-has-outline{padding:7px}:host([size=xx-small]) .duet-icon-has-background .duet-icon-svg,:host([size=xx-small]) .duet-icon-has-outline .duet-icon-svg{width:16px;height:16px}:host([size=xx-small]) .duet-icon-shape-brand{padding:4px}:host([size=xx-small]) .duet-icon-shape-brand .duet-icon-svg{width:10px;height:10px}:host([size=xx-small]) .duet-theme-turva .duet-icon-shape-brand{width:18px;height:15px;padding:0}:host([size=x-small]) .duet-icon-svg{width:16px;height:16px}:host([size=x-small]) .duet-icon-has-outline{padding:10px}:host([size=x-small]) .duet-icon-has-background{padding:12px}:host([size=x-small]) .duet-icon-shape-brand{padding:8px}:host([size=x-small]) .duet-icon-shape-brand .duet-icon-svg{width:16px;height:16px}:host([size=x-small]) .duet-theme-turva .duet-icon-shape-brand{width:32px;height:30px;padding:0}:host([size=small]) .duet-icon-svg{width:20px;height:20px}:host([size=small]) .duet-icon-has-background{padding:14px}:host([size=small]) .duet-icon-shape-brand{padding:8px}:host([size=small]) .duet-icon-shape-brand .duet-icon-svg{width:20px;height:20px}:host([size=small]) .duet-theme-turva .duet-icon-shape-brand{width:36px;height:34px;padding:0}:host([size=medium]) .duet-icon-shape-brand{padding:12px}:host([size=medium]) .duet-icon-shape-brand .duet-icon-svg{width:24px;height:24px}:host([size=medium]) .duet-theme-turva .duet-icon-shape-brand{width:48px;height:44px;padding:0}:host([size=large]) .duet-icon-svg{width:30px;height:30px}:host([size=large]) .duet-icon-shape-brand{padding:16px}:host([size=large]) .duet-icon-shape-brand .duet-icon-svg{width:30px;height:30px}:host([size=large]) .duet-theme-turva .duet-icon-shape-brand{width:62px;height:56px;padding:0}:host([size=x-large]) .duet-icon-svg{width:36px;height:36px}:host([size=x-large]) .duet-icon-shape-brand{padding:20px}:host([size=x-large]) .duet-icon-shape-brand .duet-icon-svg{width:36px;height:36px}:host([size=x-large]) .duet-theme-turva .duet-icon-shape-brand{width:76px;height:68px;padding:0}:host([size=xx-large]) .duet-icon-svg{width:48px;height:48px}:host([size=xx-large]) .duet-icon-shape-brand{padding:24px}:host([size=xx-large]) .duet-icon-shape-brand .duet-icon-svg{width:48px;height:48px}:host([size=xx-large]) .duet-theme-turva .duet-icon-shape-brand{width:95px;height:86px;padding:0}:host([size=xxx-large]) .duet-icon-svg{width:48px;height:48px}@media (min-width: 48em){:host([size=xxx-large]) .duet-icon-svg{width:72px;height:72px}}:host([size=xxx-large]) .duet-icon-shape-brand{padding:36px}:host([size=xxx-large]) .duet-icon-shape-brand .duet-icon-svg{width:72px;height:72px}:host([size=xxx-large]) .duet-theme-turva .duet-icon-shape-brand{width:144px;height:130px;padding:0}:host(.duet-theme-turva2) .duet-icon.duet-theme-turva{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-icon.duet-theme-turva.duet-icon-has-background{color:rgb(255, 255, 255)}:host(.duet-theme-turva2) .duet-icon.duet-theme-turva.duet-icon-shape-brand{border-radius:16%;-webkit-mask-image:none;mask-image:none}";export{u as duet_icon}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,c as t,h as o,H as i,g as a}from"./p-EZOAO_vc.js";import{i as r}from"./p-DYyVxyo8.js";import{c as l}from"./p-Cfr_DJqU.js";const s=class{constructor(o){e(this,o),this.duetChange=t(this,"duetChange",3),this.duetFocus=t(this,"duetFocus",7),this.duetBlur=t(this,"duetBlur",7),this.checkboxId=l("DuetCheckbox"),this.errorId=l("DuetError"),this.margin="auto",this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleSelected=void 0,this.accessibleLiveError="polite",this.required=!1,this.error="",this.theme="",this.disabled=!1,this.label="label",this.labelHidden=!1,this.checked=!1,this.onChange=e=>{this.checked=!this.checked,this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-checkbox"})},this.getDescribedBy=()=>{const e=[];return this.accessibleDescribedBy&&e.push(this.accessibleDescribedBy),this.error&&e.push(this.errorId),e.length>0?e.join(" "):null}}componentWillLoad(){r(this),void 0===this.value&&(this.value=this.identifier)}async setFocus(e){this.nativeInput.focus(e)}render(){const e=this.identifier||this.checkboxId;return o(i,{key:"6b86df6df409dddb234482222ed98aa1856f36a9",class:{"duet-m-0":"none"===this.margin}},o("div",{key:"84c3d4918deb9b887a13156b0437760a25b6808a",class:{"duet-checkbox-container":!0,"duet-label-hidden":this.labelHidden,"duet-theme-turva":"turva"===this.theme}},o("input",{key:"b1ed311c0d079e07e83a5a27ff963d79b3e2dc76",ref:e=>this.nativeInput=e,type:"checkbox",onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,value:this.value,class:{"duet-checkbox":!0,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:e}),o("label",{key:"9950f2962f0c64ef59616f9968ecaf0f01c12c44",class:"duet-label",htmlFor:e},o("span",{key:"9030e64b2d5364eff9c0e7c693aa43ed1637b205"},this.label)),o("div",{key:"38ed5e4c0de52f6118818acc06424024c5333195",class:"duet-checkbox-error",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&o("span",{key:"70f692619ec92896fc2c287a1c39f9aa5d5eebd0"},this.error))))}get element(){return a(this)}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{margin-right:8px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}[alignment=form-distribute]>:host(:last-of-type:not(:last-child)){margin-right:8px !important}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;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;vertical-align:top;color:rgb(8, 42, 77);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{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-checkbox:focus+label::before,.duet-checkbox:focus+label::before.duet-theme-turva,.duet-theme-turva2 .duet-checkbox:focus+label::before,.duet-checkbox:focus+label::before.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-theme-turva .duet-checkbox:focus+label::before{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.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;border:0;clip:rect(0 0 0 0)}:host(.duet-theme-turva2) .duet-theme-turva .duet-label{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-checkbox+label::before{border-color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-checkbox:checked+label::before{background:rgb(23, 42, 59);border-color:rgb(23, 42, 59)}';export{s as duet_checkbox}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,h as t,H as a,g as n}from"./p-EZOAO_vc.js";import{i}from"./p-DYyVxyo8.js";const r=class{constructor(t){e(this,t),this.theme="",this.active=!1,this.href="#",this.icon=void 0}componentWillLoad(){i(this)}render(){return t(a,{key:"997031f3159b6da185e25915d7241ba645b2b9d0",role:"listitem"},t("a",{key:"8ef71373a7c481ca8dc93506eb8957c470489c2b",class:{"duet-menu-bar-link":!0,"duet-theme-turva":"turva"===this.theme,active:this.active},href:this.href,"aria-current":this.active?"true":"false","aria-label":this.accessibleLabel},this.icon&&t("duet-icon",{key:"f0439bbfecdf854d05fa818663e7e7e93fffa404",class:"menu-bar-link-icon",theme:this.theme,size:"auto",name:this.icon,margin:"none",color:"currentColor"}),t("slot",{key:"426c1a3de2829a37aba8d4f30169d71425d81301"})))}get element(){return n(this)}};r.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;height:100%}.duet-menu-bar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:inherit;text-align:center;white-space:nowrap;text-decoration:none}.duet-menu-bar-link:focus{outline:2px solid;outline-offset:-4px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-menu-bar-link:focus,.duet-menu-bar-link:focus.duet-theme-turva,.duet-theme-turva2 .duet-menu-bar-link:focus,.duet-menu-bar-link:focus.duet-theme-turva2{outline:2px solid;outline-offset:-4px;outline-color:rgba(53, 79, 101, 0.8)}.duet-menu-bar-link .menu-bar-link-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-link .menu-bar-link-icon{width:16px;height:16px}}.duet-menu-bar-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"}@media (min-width: 62em){.duet-menu-bar-link{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-link{padding:0 28px}}.duet-menu-bar-link.active{color:rgb(0, 119, 179)}.duet-menu-bar-link.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:"";background:rgb(0, 119, 179);transform:translateY(2px);transition:300ms ease}@media (min-width: 62em){.duet-menu-bar-link.active::after{z-index:auto;height:2px}}.duet-menu-bar-link.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-link:hover{color:rgb(0, 119, 179)}.duet-menu-bar-link:hover.duet-theme-turva{color:rgb(198, 12, 48)}}:host(.duet-theme-turva2) .duet-menu-bar-link.active.duet-theme-turva{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-menu-bar-link.active.duet-theme-turva::after{background:rgb(230, 23, 64)}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-menu-bar-link.duet-theme-turva:hover{color:rgb(230, 23, 64)}}';export{r as duet_menu_bar_link}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,c as t,h as s,H as o,g as i}from"./p-EZOAO_vc.js";import{i as a}from"./p-DYyVxyo8.js";import{c as r}from"./p-Cfr_DJqU.js";import{i as n}from"./p-Db8rvjPI.js";import{a as h,g as l,c as d,d as c}from"./p-CXz8FCgk.js";import"./p-C6E9F6QT.js";const m=class{constructor(s){e(this,s),this.duetToggle=t(this,"duetToggle",7),this.contentId=r("DuetShowMore"),this.buttonId=r("DuetShowMoreButton"),this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(null===navigator||void 0===navigator?void 0:navigator.userAgent),this.buttonAriaOpen=!1,this.theme="",this.language=h(),this.showMoreLabelDefaults={fi:"Näytä lisää",sv:"Visa mer",en:"Show more"},this.showMoreLabel=l(this.showMoreLabelDefaults),this.showLessLabelDefaults={fi:"Näytä vähemmän",sv:"Visa mindre",en:"Show less"},this.showLessLabel=l(this.showLessLabelDefaults),this.showMoreAccessibleLabelDefaults={fi:"Näytä lisää tästä aiheesta",sv:"Visa mer om detta ämne",en:"Show more about this subject"},this.showMoreAccessibleLabel=l(this.showMoreAccessibleLabelDefaults),this.showLessAccessibleLabelDefaults={fi:"Näytä vähemmän tästä aiheesta",sv:"Visa mindre om detta ämne",en:"Show less about this subject"},this.showLessAccessibleLabel=l(this.showLessAccessibleLabelDefaults),this.margin="auto",this.buttonMargin="auto",this.buttonPadding="auto",this.open=!1,this.handleKeyDown=e=>{n(e)&&this.handleClick(e)},this.handleClick=e=>{e.preventDefault();const t=!this.open;this.open=t,t?(setTimeout((()=>{this.contentElement.focus()}),100),setTimeout((()=>{this.buttonAriaOpen=t}),500)):this.buttonAriaOpen=t,this.duetToggle.emit({component:"duet-show-more",originalEvent:e})}}componentWillLoad(){a(this),this.buttonAriaOpen=this.open}connectedCallback(){d(this,[{prop:"showMoreLabel",defaults:"showMoreLabelDefaults"},{prop:"showLessLabel",defaults:"showLessLabelDefaults"},{prop:"showMoreAccessibleLabel",defaults:"showMoreAccessibleLabelDefaults"},{prop:"showLessAccessibleLabel",defaults:"showLessAccessibleLabelDefaults"}])}disconnectedCallback(){c(this)}render(){return s(o,{key:"5a2691671f8db729580e5e163f0a4172065b60a1"},s("div",{key:"d00e9ad7eec18c34b53f35be55000cc238e96d41",class:{"duet-show-more":!0,"duet-theme-turva":"turva"===this.theme,"duet-m-0":"none"===this.margin,open:this.open}},s("div",{key:"5e4edfe4b958662c6d8a0bb0a5a2ad941d3f7bd7",ref:e=>this.contentElement=e,class:{content:!0,"duet-theme-turva":"turva"===this.theme},id:this.contentId,tabindex:this.open?"-1":""},s("div",{key:"474e8ecec72e945e59954844d55e2a7d09e53362",class:{"slotted-content":!0}},s("slot",{key:"553fee6703e708bb2a283b75033a7250017fa00c"}))),s("duet-button",{key:"d4e86de6ba82e7d997ef4af2a2a45fb8b6f26a78",id:this.buttonId,variation:"plain","accessible-label":this.buttonAriaOpen?this.showLessAccessibleLabel:this.showMoreAccessibleLabel,"accessible-expanded":this.buttonAriaOpen?"true":"false","accessible-controls":this.contentId,accessiblePressed:this.isSafariBrowser?this.open:null,onClick:this.handleClick,onKeyDown:this.handleKeyDown,"icon-right":!0,icon:this.open?"action-arrow-up-small":"action-arrow-down-small","icon-size":"medium-small",size:"small",margin:this.buttonMargin,padding:this.buttonPadding,theme:"turva"===this.theme?"turva":"default"},s("span",{key:"5e1363182df7d60a43688b5ff4c6a91d6602eb19"},this.open?this.showLessLabel:this.showMoreLabel))))}get element(){return i(this)}};m.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block}.duet-show-more{margin-bottom:16px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more .content:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-show-more .content:focus,.duet-show-more .content:focus.duet-theme-turva,.duet-theme-turva2 .duet-show-more .content:focus,.duet-show-more .content:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-show-more.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-theme-turva2) .duet-show-more.duet-theme-turva{color:rgb(23, 42, 59)}';export{m as duet_show_more}