@duetds/components 10.0.0-alpha.8 → 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 (1238) hide show
  1. package/hydrate/index.d.ts +38 -7
  2. package/hydrate/index.js +11723 -4211
  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-99f2f39f.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 -46
  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 +356 -0
  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 +2072 -0
  59. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +550 -0
  60. package/lib/cjs/duet-progress.cjs.entry.js +32 -13
  61. package/lib/cjs/duet-promo-card.cjs.entry.js +27 -13
  62. package/lib/cjs/duet-radio_2.cjs.entry.js +114 -55
  63. package/lib/cjs/duet-range-slider.cjs.entry.js +73 -37
  64. package/lib/cjs/duet-scrollable_3.cjs.entry.js +245 -91
  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 +61 -10
  73. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +25 -14
  74. package/lib/cjs/duet-slideout-panel.cjs.entry.js +50 -36
  75. package/lib/cjs/duet-slideout.cjs.entry.js +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-2db03da6.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-5578a0a5.js → focus-utils-DFa0zwT7.js} +1 -1
  100. package/lib/cjs/form-search-CzPfHB80.js +21 -0
  101. package/lib/cjs/{index-9c3aea30.js → index-C0kw3uAi.js} +1863 -1363
  102. package/lib/cjs/{label-a742a2d5.js → label-BJ7gT5C1.js} +1 -1
  103. package/lib/cjs/{language-utils-9499975c.js → language-utils-v37OZJFe.js} +10 -2
  104. package/lib/cjs/loader.cjs.js +3 -5
  105. package/lib/cjs/{slot-utils-799906b5.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 +6 -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 +170 -48
  128. package/lib/collection/components/duet-button/duet-button.js +170 -89
  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 +56 -12
  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 +159 -53
  184. package/lib/collection/components/duet-input/duet-input.js +315 -141
  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 +64 -0
  232. package/lib/collection/components/duet-phone-input/duet-phone-input.js +930 -0
  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 +245 -91
  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 +36 -25
  250. package/lib/collection/components/duet-scrollable/duet-scrollable.js +175 -31
  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 +41 -13
  267. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +135 -12
  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 +175 -52
  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/data/countries.js +1762 -0
  326. package/lib/collection/index.js +1 -0
  327. package/lib/collection/utils/a11y-utils.js +20 -0
  328. package/lib/collection/utils/language-utils.js +7 -0
  329. package/lib/collection/utils/slot-utils.js +4 -0
  330. package/lib/collection/utils/teleport.js +22 -7
  331. package/lib/collection/utils/test-utils.js +2 -2
  332. package/lib/collection/utils/token-utils.js +59 -7
  333. package/lib/collection/utils/turva2-color-tokens.js +42 -0
  334. package/lib/duet/duet.esm.js +1 -1
  335. package/lib/duet/p-0393a2ca.entry.js +4 -0
  336. package/lib/duet/p-0b8da007.entry.js +4 -0
  337. package/lib/duet/p-0d2652f7.entry.js +4 -0
  338. package/lib/duet/p-0f746b98.entry.js +4 -0
  339. package/lib/duet/p-1061ece7.entry.js +4 -0
  340. package/lib/duet/p-10b89587.entry.js +4 -0
  341. package/lib/duet/p-155804fc.entry.js +4 -0
  342. package/lib/duet/p-1695a1dd.entry.js +4 -0
  343. package/lib/duet/p-1c122e53.entry.js +4 -0
  344. package/lib/duet/p-1ede805a.entry.js +4 -0
  345. package/lib/duet/p-1fc5668c.entry.js +4 -0
  346. package/lib/duet/p-203c2af3.entry.js +4 -0
  347. package/lib/duet/p-2170d5a6.entry.js +4 -0
  348. package/lib/duet/{p-98c15b83.entry.js → p-2292ac97.entry.js} +1 -1
  349. package/lib/duet/p-23719bbb.entry.js +4 -0
  350. package/lib/duet/p-25a8b510.entry.js +4 -0
  351. package/lib/duet/p-267d0b7d.entry.js +4 -0
  352. package/lib/duet/{p-bfafaac4.entry.js → p-333694e4.entry.js} +1 -1
  353. package/lib/duet/p-36e58097.entry.js +4 -0
  354. package/lib/duet/p-38159827.entry.js +4 -0
  355. package/lib/duet/p-3968d0e9.entry.js +4 -0
  356. package/lib/duet/p-39775eb6.entry.js +4 -0
  357. package/lib/duet/p-3f940846.entry.js +4 -0
  358. package/lib/duet/p-3fbe4a4b.entry.js +4 -0
  359. package/lib/duet/p-3hcgvjwC.js +4 -0
  360. package/lib/duet/p-40dc43ed.entry.js +4 -0
  361. package/lib/duet/p-4203ad81.entry.js +4 -0
  362. package/lib/duet/p-42c15472.entry.js +4 -0
  363. package/lib/duet/p-43129496.entry.js +4 -0
  364. package/lib/duet/p-44e37a84.entry.js +4 -0
  365. package/lib/duet/p-451c55fb.entry.js +4 -0
  366. package/lib/duet/p-475cc911.entry.js +4 -0
  367. package/lib/duet/p-47d446f9.entry.js +4 -0
  368. package/lib/duet/p-4966dc81.entry.js +4 -0
  369. package/lib/duet/{p-15ecb8d0.entry.js → p-4a86aee3.entry.js} +1 -1
  370. package/lib/duet/p-4cc6fbda.entry.js +4 -0
  371. package/lib/duet/p-4d49d2ad.entry.js +4 -0
  372. package/lib/duet/p-529c4873.entry.js +4 -0
  373. package/lib/duet/p-53cb5ddf.entry.js +4 -0
  374. package/lib/duet/p-55243d88.entry.js +4 -0
  375. package/lib/duet/p-581d7bf3.entry.js +4 -0
  376. package/lib/duet/p-58ab58da.entry.js +4 -0
  377. package/lib/duet/p-58f95bf2.entry.js +4 -0
  378. package/lib/duet/p-5c89aaf2.entry.js +4 -0
  379. package/lib/duet/p-5e15625d.entry.js +4 -0
  380. package/lib/duet/p-5iZMFvpJ.js +4 -0
  381. package/lib/duet/p-6be3d1ac.entry.js +4 -0
  382. package/lib/duet/p-6cb3031c.entry.js +4 -0
  383. package/lib/duet/p-7a4f44c2.entry.js +4 -0
  384. package/lib/duet/p-7b820413.entry.js +4 -0
  385. package/lib/duet/p-7be47e32.entry.js +4 -0
  386. package/lib/duet/{p-6138ae4f.entry.js → p-7d3681f4.entry.js} +1 -1
  387. package/lib/duet/p-80fd305f.entry.js +4 -0
  388. package/lib/duet/p-85074a3f.entry.js +4 -0
  389. package/lib/duet/p-871323e5.entry.js +4 -0
  390. package/lib/duet/p-88682993.entry.js +4 -0
  391. package/lib/duet/p-8885f050.entry.js +4 -0
  392. package/lib/duet/p-89c4434a.entry.js +4 -0
  393. package/lib/duet/p-8a5a900e.entry.js +4 -0
  394. package/lib/duet/p-96725230.entry.js +4 -0
  395. package/lib/duet/p-9c2ad6b1.entry.js +4 -0
  396. package/lib/duet/p-BDAqOMlM.js +4 -0
  397. package/lib/duet/p-BVgBUIYF.js +4 -0
  398. package/lib/duet/{p-81287261.js → p-B_NkY9T0.js} +1 -1
  399. package/lib/duet/p-BdCvOZ0R.js +4 -0
  400. package/lib/duet/p-Bg75Vqqq.js +4 -0
  401. package/lib/duet/p-BmMFVM-y.js +4 -0
  402. package/lib/duet/{p-5e9210a0.js → p-CDjWio68.js} +1 -1
  403. package/lib/duet/p-CVPfl9fc.js +4 -0
  404. package/lib/duet/p-CXz8FCgk.js +4 -0
  405. package/lib/duet/p-CooAqTCj.js +4 -0
  406. package/lib/duet/p-DEoH9jLj.js +4 -0
  407. package/lib/duet/p-DOuLHrH5.js +4 -0
  408. package/lib/duet/p-DXnMp1Z1.js +4 -0
  409. package/lib/duet/p-DYyVxyo8.js +4 -0
  410. package/lib/duet/{p-a45e3f8b.js → p-Db8rvjPI.js} +1 -1
  411. package/lib/duet/p-DvwKrUS6.js +4 -0
  412. package/lib/duet/p-EZOAO_vc.js +5 -0
  413. package/lib/duet/p-Tof9ag29.js +4 -0
  414. package/lib/duet/p-a05d9667.entry.js +4 -0
  415. package/lib/duet/p-a109719f.entry.js +4 -0
  416. package/lib/duet/p-a2c4fa32.entry.js +4 -0
  417. package/lib/duet/p-a3a61c66.entry.js +4 -0
  418. package/lib/duet/p-ac2a957c.entry.js +4 -0
  419. package/lib/duet/p-b4541648.entry.js +4 -0
  420. package/lib/duet/p-b4bf40a5.entry.js +4 -0
  421. package/lib/duet/p-b7d0d9fa.entry.js +4 -0
  422. package/lib/duet/p-baa33e33.entry.js +4 -0
  423. package/lib/duet/p-bd1c363d.entry.js +4 -0
  424. package/lib/duet/p-bda426ce.entry.js +4 -0
  425. package/lib/duet/p-c010c504.entry.js +4 -0
  426. package/lib/duet/p-c14ad166.entry.js +4 -0
  427. package/lib/duet/p-c3a79627.entry.js +4 -0
  428. package/lib/duet/p-d06af257.entry.js +4 -0
  429. package/lib/duet/p-d70babeb.entry.js +4 -0
  430. package/lib/duet/p-dc3f731a.entry.js +4 -0
  431. package/lib/duet/p-dc50ce9f.entry.js +4 -0
  432. package/lib/duet/p-dc53f89d.entry.js +4 -0
  433. package/lib/duet/p-e0054c71.entry.js +4 -0
  434. package/lib/duet/p-e26fee5b.entry.js +4 -0
  435. package/lib/duet/p-e528ba03.entry.js +4 -0
  436. package/lib/duet/p-e80de2cb.entry.js +4 -0
  437. package/lib/duet/p-eb6c0729.entry.js +4 -0
  438. package/lib/duet/p-ef206ef5.entry.js +4 -0
  439. package/lib/duet/p-f2fadb27.entry.js +4 -0
  440. package/lib/duet/p-fcbdf07c.entry.js +4 -0
  441. package/lib/duet/p-vVCYtBMj.js +4 -0
  442. package/lib/esm/_commonjsHelpers-DvwKrUS6.js +8 -0
  443. package/lib/esm/a11y-utils-By9FOQXs.js +43 -0
  444. package/lib/esm/action-arrow-down-small-Bk3GShyI.js +19 -0
  445. package/lib/esm/action-new-window-small-EH8_HdAm.js +19 -0
  446. package/lib/esm/{app-globals-f12e0500.js → app-globals-xm_WC7uO.js} +2 -2
  447. package/lib/esm/common-strings-CVPfl9fc.js +53 -0
  448. package/lib/esm/duet-action-button.entry.js +84 -27
  449. package/lib/esm/duet-alert.entry.js +106 -47
  450. package/lib/esm/duet-badge.entry.js +31 -7
  451. package/lib/esm/duet-banner.entry.js +71 -26
  452. package/lib/esm/duet-breadcrumb.entry.js +38 -25
  453. package/lib/esm/duet-breadcrumbs.entry.js +20 -12
  454. package/lib/esm/duet-button_2.entry.js +152 -70
  455. package/lib/esm/duet-callout.entry.js +13 -8
  456. package/lib/esm/duet-caption_4.entry.js +212 -44
  457. package/lib/esm/duet-card.entry.js +93 -33
  458. package/lib/esm/duet-checkbox.entry.js +68 -30
  459. package/lib/esm/duet-checkmark.entry.js +21 -7
  460. package/lib/esm/duet-chip.entry.js +354 -0
  461. package/lib/esm/duet-choice_2.entry.js +280 -129
  462. package/lib/esm/duet-collapsible.entry.js +92 -31
  463. package/lib/esm/duet-combobox.entry.js +99 -56
  464. package/lib/esm/duet-contact-card.entry.js +17 -16
  465. package/lib/esm/duet-cookie-consent.entry.js +14 -9
  466. package/lib/esm/duet-date-picker.entry.js +158 -55
  467. package/lib/esm/duet-divider_2.entry.js +30 -12
  468. package/lib/esm/duet-editable-table_3.entry.js +556 -208
  469. package/lib/esm/duet-empty-state.entry.js +15 -7
  470. package/lib/esm/duet-fieldset.entry.js +51 -16
  471. package/lib/esm/duet-file-chooser.entry.js +18 -9
  472. package/lib/esm/duet-footer.entry.js +56 -28
  473. package/lib/esm/duet-grid_2.entry.js +165 -62
  474. package/lib/esm/duet-header_2.entry.js +303 -90
  475. package/lib/esm/duet-hero.entry.js +159 -33
  476. package/lib/esm/duet-icon.entry.js +64 -18
  477. package/lib/esm/duet-indicator.entry.js +59 -0
  478. package/lib/esm/duet-input_2.entry.js +226 -85
  479. package/lib/esm/duet-layout.entry.js +33 -11
  480. package/lib/esm/duet-list_2.entry.js +58 -12
  481. package/lib/esm/duet-menu-bar-button.entry.js +24 -14
  482. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +19 -12
  483. package/lib/esm/duet-menu-bar-dropdown.entry.js +21 -14
  484. package/lib/esm/duet-menu-bar-item.entry.js +40 -17
  485. package/lib/esm/duet-menu-bar-link.entry.js +18 -8
  486. package/lib/esm/duet-menu-bar.entry.js +37 -57
  487. package/lib/esm/duet-modal.entry.js +122 -33
  488. package/lib/esm/duet-multiselect.entry.js +88 -40
  489. package/lib/esm/duet-nav.entry.js +12 -6
  490. package/lib/esm/duet-notification_2.entry.js +98 -30
  491. package/lib/esm/duet-number-input.entry.js +192 -69
  492. package/lib/esm/duet-overlay.entry.js +36 -12
  493. package/lib/esm/duet-page-heading.entry.js +16 -9
  494. package/lib/esm/duet-pagination_2.entry.js +162 -85
  495. package/lib/esm/duet-panel.entry.js +50 -0
  496. package/lib/esm/duet-phone-input.entry.js +2070 -0
  497. package/lib/esm/duet-popup-menu_2.entry.js +547 -0
  498. package/lib/esm/duet-progress.entry.js +32 -11
  499. package/lib/esm/duet-promo-card.entry.js +27 -11
  500. package/lib/esm/duet-radio_2.entry.js +114 -53
  501. package/lib/esm/duet-range-slider.entry.js +73 -35
  502. package/lib/esm/duet-scrollable_3.entry.js +245 -89
  503. package/lib/esm/duet-section-layout.entry.js +17 -8
  504. package/lib/esm/duet-select.entry.js +89 -44
  505. package/lib/esm/duet-shaped-image.entry.js +16 -9
  506. package/lib/esm/duet-share-chart-item.entry.js +20 -0
  507. package/lib/esm/duet-share-chart.entry.js +83 -0
  508. package/lib/esm/duet-show-more.entry.js +81 -36
  509. package/lib/esm/duet-slideout-lang.entry.js +10 -8
  510. package/lib/esm/duet-slideout-link.entry.js +61 -8
  511. package/lib/esm/duet-slideout-panel-dropdown.entry.js +25 -12
  512. package/lib/esm/duet-slideout-panel.entry.js +50 -34
  513. package/lib/esm/duet-slideout.entry.js +85 -50
  514. package/lib/esm/duet-status-icon.entry.js +28 -13
  515. package/lib/esm/duet-step_2.entry.js +73 -23
  516. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +25 -8
  517. package/lib/esm/duet-submenu-bar-dropdown.entry.js +27 -16
  518. package/lib/esm/duet-submenu-bar-item.entry.js +40 -17
  519. package/lib/esm/duet-submenu-bar-link.entry.js +18 -7
  520. package/lib/esm/duet-submenu-bar.entry.js +27 -19
  521. package/lib/esm/duet-textarea.entry.js +146 -69
  522. package/lib/esm/duet-toggle.entry.js +50 -27
  523. package/lib/esm/duet-toolbar-dropdown-link.entry.js +22 -9
  524. package/lib/esm/duet-toolbar-dropdown.entry.js +27 -14
  525. package/lib/esm/duet-toolbar-item.entry.js +46 -17
  526. package/lib/esm/duet-toolbar-link.entry.js +21 -8
  527. package/lib/esm/duet-toolbar.entry.js +12 -8
  528. package/lib/esm/duet-tooltip-button_2.entry.js +24 -25
  529. package/lib/esm/duet-tooltip.entry.js +97 -43
  530. package/lib/esm/duet-tray.entry.js +63 -22
  531. package/lib/esm/duet-upload-aria-status.entry.js +30 -9
  532. package/lib/esm/duet-upload-item.entry.js +12 -20
  533. package/lib/esm/duet-visually-hidden.entry.js +4 -5
  534. package/lib/esm/duet.js +7 -6
  535. package/lib/esm/{errorcodes.utils-d594aed8.js → errorcodes.utils-By8gaKwQ.js} +3 -3
  536. package/lib/esm/floating-ui.dom.browser.min-B_NkY9T0.js +702 -0
  537. package/lib/{dist-custom-elements/p-e30dc66d.js → esm/focus-utils-BVqqQKeY.js} +1 -1
  538. package/lib/esm/form-search-CevX33LA.js +19 -0
  539. package/lib/esm/{index-fa810c91.js → index-EZOAO_vc.js} +1861 -1359
  540. package/lib/{dist-custom-elements/p-8db11326.js → esm/keyboard-utils-Db8rvjPI.js} +1 -1
  541. package/lib/{dist-custom-elements/p-42619f94.js → esm/label-Dji6BDQC.js} +1 -1
  542. package/lib/esm/{language-utils-35eb1c9f.js → language-utils-COd-eoxb.js} +10 -3
  543. package/lib/esm/loader.js +4 -4
  544. package/lib/esm/{slot-utils-b2101c56.js → slot-utils-BSu3Mnho.js} +6 -2
  545. package/lib/{dist-custom-elements/p-ca3cb21e.js → esm/teleport-CooAqTCj.js} +22 -7
  546. package/lib/esm/themeable-component-spmVa3d3.js +72 -0
  547. package/lib/{dist-custom-elements/p-0562173d.js → esm/token-utils-Dks4GBDa.js} +80 -10
  548. package/lib/esm/{tokens-84fb2357.js → tokens-DOuLHrH5.js} +151 -7
  549. package/lib/esm/{tokens.module-2d02f5ff.js → tokens.module-BDAqOMlM.js} +100 -4
  550. package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-BmMFVM-y.js} +1 -20
  551. package/lib/index.js +1 -1
  552. package/lib/loader/cdn.js +1 -2
  553. package/lib/loader/index.cjs.js +1 -2
  554. package/lib/loader/index.es2017.js +0 -1
  555. package/lib/loader/index.js +1 -2
  556. package/lib/types/common-strings.d.ts +3 -0
  557. package/lib/types/common-types.d.ts +1 -1
  558. package/lib/types/components/duet-alert/duet-alert.d.ts +20 -10
  559. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
  560. package/lib/types/components/duet-banner/duet-banner.d.ts +6 -0
  561. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
  562. package/lib/types/components/duet-button/duet-button.d.ts +1 -1
  563. package/lib/types/components/duet-card/duet-card.d.ts +10 -0
  564. package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
  565. package/lib/types/components/duet-choice/duet-choice.d.ts +4 -8
  566. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +3 -2
  567. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +4 -1
  568. package/lib/types/components/duet-combobox/duet-combobox.d.ts +2 -0
  569. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +4 -0
  570. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +3 -0
  571. package/lib/types/components/duet-grid/duet-grid.d.ts +9 -7
  572. package/lib/types/components/duet-heading/duet-heading.d.ts +6 -0
  573. package/lib/types/components/duet-hero/duet-hero.d.ts +9 -0
  574. package/lib/types/components/duet-indicator/duet-indicator.d.ts +24 -0
  575. package/lib/types/components/duet-input/duet-input.d.ts +25 -16
  576. package/lib/types/components/duet-link/duet-link.d.ts +3 -0
  577. package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
  578. package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
  579. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
  580. package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
  581. package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
  582. package/lib/types/components/duet-number-input/duet-number-input.d.ts +13 -8
  583. package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
  584. package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
  585. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
  586. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +178 -0
  587. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +21 -7
  588. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
  589. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +4 -0
  590. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
  591. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +19 -0
  592. package/lib/types/components/duet-select/duet-select.d.ts +2 -1
  593. package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +34 -0
  594. package/lib/types/components/duet-share-chart-item/duet-share-chart-item.d.ts +13 -0
  595. package/lib/types/components/duet-show-more/duet-show-more.d.ts +1 -0
  596. package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -5
  597. package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +17 -0
  598. package/lib/types/components/duet-spinner/duet-spinner.d.ts +6 -3
  599. package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +1 -0
  600. package/lib/types/components/duet-stepper/duet-stepper.d.ts +5 -2
  601. package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
  602. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +10 -0
  603. package/lib/types/components/duet-textarea/duet-textarea.d.ts +21 -9
  604. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
  605. package/lib/types/components.d.ts +2440 -130
  606. package/lib/types/data/countries.d.ts +22 -0
  607. package/lib/types/index.d.ts +1 -0
  608. package/lib/types/stencil-public-runtime.d.ts +35 -6
  609. package/lib/types/utils/a11y-utils.d.ts +11 -0
  610. package/lib/types/utils/language-utils.d.ts +1 -0
  611. package/lib/types/utils/slot-utils.d.ts +1 -0
  612. package/lib/types/utils/teleport.d.ts +4 -1
  613. package/lib/types/utils/token-utils.d.ts +4 -0
  614. package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
  615. package/package.json +37 -17
  616. package/lib/cjs/a11y-utils-e921b85d.js +0 -25
  617. package/lib/cjs/action-arrow-down-small-ef77a2d1.js +0 -8
  618. package/lib/cjs/action-new-window-small-fa51dfb9.js +0 -8
  619. package/lib/cjs/duet-chip_3.cjs.entry.js +0 -703
  620. package/lib/cjs/floating-ui.dom.esm-806e7c53.js +0 -1355
  621. package/lib/cjs/form-search-d61b2843.js +0 -8
  622. package/lib/cjs/themeable-component-996b489c.js +0 -15
  623. package/lib/dist-custom-elements/duet-action-button.d.ts +0 -11
  624. package/lib/dist-custom-elements/duet-action-button.js +0 -9
  625. package/lib/dist-custom-elements/duet-alert.d.ts +0 -11
  626. package/lib/dist-custom-elements/duet-alert.js +0 -9
  627. package/lib/dist-custom-elements/duet-badge.d.ts +0 -11
  628. package/lib/dist-custom-elements/duet-badge.js +0 -9
  629. package/lib/dist-custom-elements/duet-banner.d.ts +0 -11
  630. package/lib/dist-custom-elements/duet-banner.js +0 -157
  631. package/lib/dist-custom-elements/duet-breadcrumb.d.ts +0 -11
  632. package/lib/dist-custom-elements/duet-breadcrumb.js +0 -101
  633. package/lib/dist-custom-elements/duet-breadcrumbs.d.ts +0 -11
  634. package/lib/dist-custom-elements/duet-breadcrumbs.js +0 -88
  635. package/lib/dist-custom-elements/duet-button.d.ts +0 -11
  636. package/lib/dist-custom-elements/duet-button.js +0 -9
  637. package/lib/dist-custom-elements/duet-callout.d.ts +0 -11
  638. package/lib/dist-custom-elements/duet-callout.js +0 -72
  639. package/lib/dist-custom-elements/duet-caption.d.ts +0 -11
  640. package/lib/dist-custom-elements/duet-caption.js +0 -9
  641. package/lib/dist-custom-elements/duet-card.d.ts +0 -11
  642. package/lib/dist-custom-elements/duet-card.js +0 -174
  643. package/lib/dist-custom-elements/duet-checkbox.d.ts +0 -11
  644. package/lib/dist-custom-elements/duet-checkbox.js +0 -9
  645. package/lib/dist-custom-elements/duet-checkmark.d.ts +0 -11
  646. package/lib/dist-custom-elements/duet-checkmark.js +0 -9
  647. package/lib/dist-custom-elements/duet-chip.d.ts +0 -11
  648. package/lib/dist-custom-elements/duet-chip.js +0 -9
  649. package/lib/dist-custom-elements/duet-choice-group.d.ts +0 -11
  650. package/lib/dist-custom-elements/duet-choice-group.js +0 -228
  651. package/lib/dist-custom-elements/duet-choice.d.ts +0 -11
  652. package/lib/dist-custom-elements/duet-choice.js +0 -454
  653. package/lib/dist-custom-elements/duet-collapsible.d.ts +0 -11
  654. package/lib/dist-custom-elements/duet-collapsible.js +0 -176
  655. package/lib/dist-custom-elements/duet-combobox.d.ts +0 -11
  656. package/lib/dist-custom-elements/duet-combobox.js +0 -702
  657. package/lib/dist-custom-elements/duet-contact-card.d.ts +0 -11
  658. package/lib/dist-custom-elements/duet-contact-card.js +0 -134
  659. package/lib/dist-custom-elements/duet-cookie-consent.d.ts +0 -11
  660. package/lib/dist-custom-elements/duet-cookie-consent.js +0 -106
  661. package/lib/dist-custom-elements/duet-date-picker.d.ts +0 -11
  662. package/lib/dist-custom-elements/duet-date-picker.js +0 -937
  663. package/lib/dist-custom-elements/duet-divider.d.ts +0 -11
  664. package/lib/dist-custom-elements/duet-divider.js +0 -9
  665. package/lib/dist-custom-elements/duet-editable-table.d.ts +0 -11
  666. package/lib/dist-custom-elements/duet-editable-table.js +0 -258
  667. package/lib/dist-custom-elements/duet-empty-state.d.ts +0 -11
  668. package/lib/dist-custom-elements/duet-empty-state.js +0 -9
  669. package/lib/dist-custom-elements/duet-fieldset.d.ts +0 -11
  670. package/lib/dist-custom-elements/duet-fieldset.js +0 -9
  671. package/lib/dist-custom-elements/duet-file-chooser.d.ts +0 -11
  672. package/lib/dist-custom-elements/duet-file-chooser.js +0 -86
  673. package/lib/dist-custom-elements/duet-footer.d.ts +0 -11
  674. package/lib/dist-custom-elements/duet-footer.js +0 -223
  675. package/lib/dist-custom-elements/duet-grid-item.d.ts +0 -11
  676. package/lib/dist-custom-elements/duet-grid-item.js +0 -9
  677. package/lib/dist-custom-elements/duet-grid.d.ts +0 -11
  678. package/lib/dist-custom-elements/duet-grid.js +0 -9
  679. package/lib/dist-custom-elements/duet-header.d.ts +0 -11
  680. package/lib/dist-custom-elements/duet-header.js +0 -698
  681. package/lib/dist-custom-elements/duet-heading.d.ts +0 -11
  682. package/lib/dist-custom-elements/duet-heading.js +0 -9
  683. package/lib/dist-custom-elements/duet-hero.d.ts +0 -11
  684. package/lib/dist-custom-elements/duet-hero.js +0 -299
  685. package/lib/dist-custom-elements/duet-icon.d.ts +0 -11
  686. package/lib/dist-custom-elements/duet-icon.js +0 -9
  687. package/lib/dist-custom-elements/duet-input.d.ts +0 -11
  688. package/lib/dist-custom-elements/duet-input.js +0 -9
  689. package/lib/dist-custom-elements/duet-label.d.ts +0 -11
  690. package/lib/dist-custom-elements/duet-label.js +0 -70
  691. package/lib/dist-custom-elements/duet-layout.d.ts +0 -11
  692. package/lib/dist-custom-elements/duet-layout.js +0 -94
  693. package/lib/dist-custom-elements/duet-link.d.ts +0 -11
  694. package/lib/dist-custom-elements/duet-link.js +0 -9
  695. package/lib/dist-custom-elements/duet-list-item.d.ts +0 -11
  696. package/lib/dist-custom-elements/duet-list-item.js +0 -9
  697. package/lib/dist-custom-elements/duet-list.d.ts +0 -11
  698. package/lib/dist-custom-elements/duet-list.js +0 -9
  699. package/lib/dist-custom-elements/duet-logo.d.ts +0 -11
  700. package/lib/dist-custom-elements/duet-logo.js +0 -9
  701. package/lib/dist-custom-elements/duet-menu-bar-button.d.ts +0 -11
  702. package/lib/dist-custom-elements/duet-menu-bar-button.js +0 -94
  703. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.d.ts +0 -11
  704. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +0 -87
  705. package/lib/dist-custom-elements/duet-menu-bar-dropdown.d.ts +0 -11
  706. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +0 -108
  707. package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +0 -11
  708. package/lib/dist-custom-elements/duet-menu-bar-item.js +0 -108
  709. package/lib/dist-custom-elements/duet-menu-bar-link.d.ts +0 -11
  710. package/lib/dist-custom-elements/duet-menu-bar-link.js +0 -70
  711. package/lib/dist-custom-elements/duet-menu-bar.d.ts +0 -11
  712. package/lib/dist-custom-elements/duet-menu-bar.js +0 -207
  713. package/lib/dist-custom-elements/duet-modal.d.ts +0 -11
  714. package/lib/dist-custom-elements/duet-modal.js +0 -382
  715. package/lib/dist-custom-elements/duet-multiselect.d.ts +0 -11
  716. package/lib/dist-custom-elements/duet-multiselect.js +0 -346
  717. package/lib/dist-custom-elements/duet-nav.d.ts +0 -11
  718. package/lib/dist-custom-elements/duet-nav.js +0 -54
  719. package/lib/dist-custom-elements/duet-notification-drawer.d.ts +0 -11
  720. package/lib/dist-custom-elements/duet-notification-drawer.js +0 -168
  721. package/lib/dist-custom-elements/duet-notification.d.ts +0 -11
  722. package/lib/dist-custom-elements/duet-notification.js +0 -95
  723. package/lib/dist-custom-elements/duet-number-input.d.ts +0 -11
  724. package/lib/dist-custom-elements/duet-number-input.js +0 -484
  725. package/lib/dist-custom-elements/duet-overlay.d.ts +0 -11
  726. package/lib/dist-custom-elements/duet-overlay.js +0 -9
  727. package/lib/dist-custom-elements/duet-page-heading.d.ts +0 -11
  728. package/lib/dist-custom-elements/duet-page-heading.js +0 -87
  729. package/lib/dist-custom-elements/duet-pagination.d.ts +0 -11
  730. package/lib/dist-custom-elements/duet-pagination.js +0 -493
  731. package/lib/dist-custom-elements/duet-paragraph.d.ts +0 -11
  732. package/lib/dist-custom-elements/duet-paragraph.js +0 -9
  733. package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +0 -11
  734. package/lib/dist-custom-elements/duet-popup-menu-item.js +0 -9
  735. package/lib/dist-custom-elements/duet-popup-menu.d.ts +0 -11
  736. package/lib/dist-custom-elements/duet-popup-menu.js +0 -9
  737. package/lib/dist-custom-elements/duet-progress.d.ts +0 -11
  738. package/lib/dist-custom-elements/duet-progress.js +0 -9
  739. package/lib/dist-custom-elements/duet-promo-card.d.ts +0 -11
  740. package/lib/dist-custom-elements/duet-promo-card.js +0 -105
  741. package/lib/dist-custom-elements/duet-radio-group.d.ts +0 -11
  742. package/lib/dist-custom-elements/duet-radio-group.js +0 -213
  743. package/lib/dist-custom-elements/duet-radio.d.ts +0 -11
  744. package/lib/dist-custom-elements/duet-radio.js +0 -230
  745. package/lib/dist-custom-elements/duet-range-slider.d.ts +0 -11
  746. package/lib/dist-custom-elements/duet-range-slider.js +0 -181
  747. package/lib/dist-custom-elements/duet-range-stepper.d.ts +0 -11
  748. package/lib/dist-custom-elements/duet-range-stepper.js +0 -234
  749. package/lib/dist-custom-elements/duet-scrollable.d.ts +0 -11
  750. package/lib/dist-custom-elements/duet-scrollable.js +0 -9
  751. package/lib/dist-custom-elements/duet-section-layout.d.ts +0 -11
  752. package/lib/dist-custom-elements/duet-section-layout.js +0 -56
  753. package/lib/dist-custom-elements/duet-select.d.ts +0 -11
  754. package/lib/dist-custom-elements/duet-select.js +0 -9
  755. package/lib/dist-custom-elements/duet-shaped-image.d.ts +0 -11
  756. package/lib/dist-custom-elements/duet-shaped-image.js +0 -64
  757. package/lib/dist-custom-elements/duet-show-more.d.ts +0 -11
  758. package/lib/dist-custom-elements/duet-show-more.js +0 -9
  759. package/lib/dist-custom-elements/duet-slideout-lang.d.ts +0 -11
  760. package/lib/dist-custom-elements/duet-slideout-lang.js +0 -76
  761. package/lib/dist-custom-elements/duet-slideout-link.d.ts +0 -11
  762. package/lib/dist-custom-elements/duet-slideout-link.js +0 -79
  763. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.d.ts +0 -11
  764. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +0 -93
  765. package/lib/dist-custom-elements/duet-slideout-panel.d.ts +0 -11
  766. package/lib/dist-custom-elements/duet-slideout-panel.js +0 -224
  767. package/lib/dist-custom-elements/duet-slideout.d.ts +0 -11
  768. package/lib/dist-custom-elements/duet-slideout.js +0 -328
  769. package/lib/dist-custom-elements/duet-spacer.d.ts +0 -11
  770. package/lib/dist-custom-elements/duet-spacer.js +0 -9
  771. package/lib/dist-custom-elements/duet-spinner.d.ts +0 -11
  772. package/lib/dist-custom-elements/duet-spinner.js +0 -9
  773. package/lib/dist-custom-elements/duet-status-icon.d.ts +0 -11
  774. package/lib/dist-custom-elements/duet-status-icon.js +0 -111
  775. package/lib/dist-custom-elements/duet-step.d.ts +0 -11
  776. package/lib/dist-custom-elements/duet-step.js +0 -147
  777. package/lib/dist-custom-elements/duet-stepper.d.ts +0 -11
  778. package/lib/dist-custom-elements/duet-stepper.js +0 -151
  779. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.d.ts +0 -11
  780. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +0 -81
  781. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +0 -11
  782. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +0 -152
  783. package/lib/dist-custom-elements/duet-submenu-bar-item.d.ts +0 -11
  784. package/lib/dist-custom-elements/duet-submenu-bar-item.js +0 -113
  785. package/lib/dist-custom-elements/duet-submenu-bar-link.d.ts +0 -11
  786. package/lib/dist-custom-elements/duet-submenu-bar-link.js +0 -72
  787. package/lib/dist-custom-elements/duet-submenu-bar.d.ts +0 -11
  788. package/lib/dist-custom-elements/duet-submenu-bar.js +0 -192
  789. package/lib/dist-custom-elements/duet-tab-group.d.ts +0 -11
  790. package/lib/dist-custom-elements/duet-tab-group.js +0 -306
  791. package/lib/dist-custom-elements/duet-tab.d.ts +0 -11
  792. package/lib/dist-custom-elements/duet-tab.js +0 -150
  793. package/lib/dist-custom-elements/duet-table.d.ts +0 -11
  794. package/lib/dist-custom-elements/duet-table.js +0 -9
  795. package/lib/dist-custom-elements/duet-textarea.d.ts +0 -11
  796. package/lib/dist-custom-elements/duet-textarea.js +0 -301
  797. package/lib/dist-custom-elements/duet-toggle.d.ts +0 -11
  798. package/lib/dist-custom-elements/duet-toggle.js +0 -146
  799. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.d.ts +0 -11
  800. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +0 -80
  801. package/lib/dist-custom-elements/duet-toolbar-dropdown.d.ts +0 -11
  802. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +0 -107
  803. package/lib/dist-custom-elements/duet-toolbar-item.d.ts +0 -11
  804. package/lib/dist-custom-elements/duet-toolbar-item.js +0 -120
  805. package/lib/dist-custom-elements/duet-toolbar-link.d.ts +0 -11
  806. package/lib/dist-custom-elements/duet-toolbar-link.js +0 -74
  807. package/lib/dist-custom-elements/duet-toolbar.d.ts +0 -11
  808. package/lib/dist-custom-elements/duet-toolbar.js +0 -67
  809. package/lib/dist-custom-elements/duet-tooltip-button.d.ts +0 -11
  810. package/lib/dist-custom-elements/duet-tooltip-button.js +0 -9
  811. package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +0 -11
  812. package/lib/dist-custom-elements/duet-tooltip-popup.js +0 -9
  813. package/lib/dist-custom-elements/duet-tooltip.d.ts +0 -11
  814. package/lib/dist-custom-elements/duet-tooltip.js +0 -9
  815. package/lib/dist-custom-elements/duet-tray.d.ts +0 -11
  816. package/lib/dist-custom-elements/duet-tray.js +0 -146
  817. package/lib/dist-custom-elements/duet-upload-aria-status.d.ts +0 -11
  818. package/lib/dist-custom-elements/duet-upload-aria-status.js +0 -9
  819. package/lib/dist-custom-elements/duet-upload-item.d.ts +0 -11
  820. package/lib/dist-custom-elements/duet-upload-item.js +0 -9
  821. package/lib/dist-custom-elements/duet-upload.d.ts +0 -11
  822. package/lib/dist-custom-elements/duet-upload.js +0 -1444
  823. package/lib/dist-custom-elements/duet-visually-hidden.d.ts +0 -11
  824. package/lib/dist-custom-elements/duet-visually-hidden.js +0 -9
  825. package/lib/dist-custom-elements/index.d.ts +0 -33
  826. package/lib/dist-custom-elements/index.js +0 -29
  827. package/lib/dist-custom-elements/p-0ccb587d.js +0 -124
  828. package/lib/dist-custom-elements/p-1080a6c7.js +0 -2130
  829. package/lib/dist-custom-elements/p-10cd2c68.js +0 -214
  830. package/lib/dist-custom-elements/p-115c79b6.js +0 -6
  831. package/lib/dist-custom-elements/p-1892dc7c.js +0 -80
  832. package/lib/dist-custom-elements/p-1a58f15b.js +0 -63
  833. package/lib/dist-custom-elements/p-297845c1.js +0 -206
  834. package/lib/dist-custom-elements/p-2d798e15.js +0 -80
  835. package/lib/dist-custom-elements/p-34a901da.js +0 -124
  836. package/lib/dist-custom-elements/p-35375593.js +0 -161
  837. package/lib/dist-custom-elements/p-3bea94c3.js +0 -313
  838. package/lib/dist-custom-elements/p-4c3d0ee5.js +0 -127
  839. package/lib/dist-custom-elements/p-530451fd.js +0 -55
  840. package/lib/dist-custom-elements/p-5ad0aa2d.js +0 -56
  841. package/lib/dist-custom-elements/p-6e12d8f9.js +0 -73
  842. package/lib/dist-custom-elements/p-77fe0881.js +0 -165
  843. package/lib/dist-custom-elements/p-7ef7ecb2.js +0 -607
  844. package/lib/dist-custom-elements/p-81287261.js +0 -1348
  845. package/lib/dist-custom-elements/p-846239a5.js +0 -340
  846. package/lib/dist-custom-elements/p-88a11eef.js +0 -81
  847. package/lib/dist-custom-elements/p-993aea39.js +0 -175
  848. package/lib/dist-custom-elements/p-9df4cfa4.js +0 -25
  849. package/lib/dist-custom-elements/p-9f10e30c.js +0 -642
  850. package/lib/dist-custom-elements/p-a2d287b0.js +0 -321
  851. package/lib/dist-custom-elements/p-aaa7a7bd.js +0 -13
  852. package/lib/dist-custom-elements/p-ad615991.js +0 -115
  853. package/lib/dist-custom-elements/p-afb6f7fb.js +0 -23
  854. package/lib/dist-custom-elements/p-b2db5fb1.js +0 -287
  855. package/lib/dist-custom-elements/p-b662900e.js +0 -178
  856. package/lib/dist-custom-elements/p-bae3d92e.js +0 -61
  857. package/lib/dist-custom-elements/p-bf91603e.js +0 -154
  858. package/lib/dist-custom-elements/p-c84c39d8.js +0 -60
  859. package/lib/dist-custom-elements/p-cea716f7.js +0 -503
  860. package/lib/dist-custom-elements/p-d004da5f.js +0 -6
  861. package/lib/dist-custom-elements/p-d07ce35f.js +0 -232
  862. package/lib/dist-custom-elements/p-d1aca1bf.js +0 -268
  863. package/lib/dist-custom-elements/p-d4202ee8.js +0 -110
  864. package/lib/dist-custom-elements/p-d74ee462.js +0 -61
  865. package/lib/dist-custom-elements/p-d8e88497.js +0 -194
  866. package/lib/dist-custom-elements/p-db1a07f5.js +0 -94
  867. package/lib/dist-custom-elements/p-df9299e6.js +0 -39
  868. package/lib/dist-custom-elements/p-e96839f2.js +0 -63
  869. package/lib/dist-custom-elements/p-ed2d40fe.js +0 -50
  870. package/lib/dist-custom-elements/p-f0d82988.js +0 -205
  871. package/lib/dist-custom-elements/p-f11208c3.js +0 -6
  872. package/lib/dist-custom-elements/p-f4e71ced.js +0 -102
  873. package/lib/dist-custom-elements/p-f6000a03.js +0 -753
  874. package/lib/dist-custom-elements/p-f611b32e.js +0 -83
  875. package/lib/dist-custom-elements/p-f86f4403.js +0 -100
  876. package/lib/dist-custom-elements/p-faa49d55.js +0 -370
  877. package/lib/duet/duet.js +0 -127
  878. package/lib/duet/p-038bb299.entry.js +0 -4
  879. package/lib/duet/p-03bfd386.system.js +0 -4
  880. package/lib/duet/p-050923e5.entry.js +0 -4
  881. package/lib/duet/p-053b71e6.system.js +0 -4
  882. package/lib/duet/p-054f5ec6.system.js +0 -4
  883. package/lib/duet/p-05aec682.entry.js +0 -4
  884. package/lib/duet/p-06995c4e.system.entry.js +0 -4
  885. package/lib/duet/p-08344bda.system.entry.js +0 -4
  886. package/lib/duet/p-0846f883.entry.js +0 -4
  887. package/lib/duet/p-08f3a77e.system.entry.js +0 -4
  888. package/lib/duet/p-091ce42a.entry.js +0 -4
  889. package/lib/duet/p-0998026d.system.entry.js +0 -4
  890. package/lib/duet/p-0a4b0639.entry.js +0 -4
  891. package/lib/duet/p-0a675075.js +0 -4
  892. package/lib/duet/p-0b818355.entry.js +0 -4
  893. package/lib/duet/p-0bcc93b7.entry.js +0 -4
  894. package/lib/duet/p-0c4708c0.system.entry.js +0 -4
  895. package/lib/duet/p-0c4bbd65.system.js +0 -4
  896. package/lib/duet/p-0cbec7c8.entry.js +0 -4
  897. package/lib/duet/p-0d334c84.system.entry.js +0 -4
  898. package/lib/duet/p-0d7369ef.system.entry.js +0 -4
  899. package/lib/duet/p-0d7da85a.js +0 -4
  900. package/lib/duet/p-0dc9089b.system.js +0 -4
  901. package/lib/duet/p-10b1f772.entry.js +0 -4
  902. package/lib/duet/p-115c79b6.js +0 -4
  903. package/lib/duet/p-12b25cdd.system.entry.js +0 -4
  904. package/lib/duet/p-145d2c10.entry.js +0 -4
  905. package/lib/duet/p-15d66914.system.entry.js +0 -4
  906. package/lib/duet/p-166d19ac.entry.js +0 -4
  907. package/lib/duet/p-178b8a47.system.entry.js +0 -4
  908. package/lib/duet/p-17bfda66.entry.js +0 -4
  909. package/lib/duet/p-18463379.system.entry.js +0 -4
  910. package/lib/duet/p-1a65974d.system.entry.js +0 -4
  911. package/lib/duet/p-1cc7a137.entry.js +0 -4
  912. package/lib/duet/p-1d1198dd.system.entry.js +0 -4
  913. package/lib/duet/p-1dff1118.system.entry.js +0 -4
  914. package/lib/duet/p-1ed2ef65.entry.js +0 -4
  915. package/lib/duet/p-20a1c9ac.entry.js +0 -4
  916. package/lib/duet/p-21dd3dba.system.entry.js +0 -4
  917. package/lib/duet/p-22d16f94.entry.js +0 -4
  918. package/lib/duet/p-2667d9dc.entry.js +0 -4
  919. package/lib/duet/p-2aa130a2.entry.js +0 -4
  920. package/lib/duet/p-2ae03409.entry.js +0 -4
  921. package/lib/duet/p-2afb5bf3.system.entry.js +0 -4
  922. package/lib/duet/p-2d6171e9.system.entry.js +0 -4
  923. package/lib/duet/p-2dcc7b0c.entry.js +0 -4
  924. package/lib/duet/p-31e19362.system.entry.js +0 -4
  925. package/lib/duet/p-330a4b1f.system.entry.js +0 -4
  926. package/lib/duet/p-374599c9.entry.js +0 -4
  927. package/lib/duet/p-38b22704.system.entry.js +0 -4
  928. package/lib/duet/p-3948c738.system.entry.js +0 -4
  929. package/lib/duet/p-3b15bdda.system.entry.js +0 -4
  930. package/lib/duet/p-3c2b3349.entry.js +0 -4
  931. package/lib/duet/p-3ca8e462.entry.js +0 -4
  932. package/lib/duet/p-41982d26.system.js +0 -4
  933. package/lib/duet/p-41d03609.system.entry.js +0 -4
  934. package/lib/duet/p-4289c19b.system.js +0 -5
  935. package/lib/duet/p-45c37e01.system.entry.js +0 -4
  936. package/lib/duet/p-473b8661.entry.js +0 -4
  937. package/lib/duet/p-485832e7.entry.js +0 -4
  938. package/lib/duet/p-49957220.system.js +0 -4
  939. package/lib/duet/p-4a2af66f.entry.js +0 -4
  940. package/lib/duet/p-4cff3036.system.js +0 -4
  941. package/lib/duet/p-4d06fd44.js +0 -4
  942. package/lib/duet/p-4d496fbd.entry.js +0 -4
  943. package/lib/duet/p-4d8a5d37.entry.js +0 -4
  944. package/lib/duet/p-4dc15982.system.entry.js +0 -4
  945. package/lib/duet/p-53604f23.entry.js +0 -4
  946. package/lib/duet/p-53c2006e.system.entry.js +0 -4
  947. package/lib/duet/p-53fc94a0.system.entry.js +0 -4
  948. package/lib/duet/p-54704ee1.system.entry.js +0 -4
  949. package/lib/duet/p-56f40850.system.entry.js +0 -4
  950. package/lib/duet/p-59f0bbf0.entry.js +0 -4
  951. package/lib/duet/p-5a0482d3.entry.js +0 -4
  952. package/lib/duet/p-5a72f8b5.system.entry.js +0 -4
  953. package/lib/duet/p-5c026823.entry.js +0 -4
  954. package/lib/duet/p-5ff95850.entry.js +0 -4
  955. package/lib/duet/p-60734222.system.entry.js +0 -4
  956. package/lib/duet/p-62a7d1e0.system.entry.js +0 -4
  957. package/lib/duet/p-652ef5c4.system.entry.js +0 -4
  958. package/lib/duet/p-65d9b543.entry.js +0 -4
  959. package/lib/duet/p-66dfb534.system.entry.js +0 -4
  960. package/lib/duet/p-6880e7e4.system.entry.js +0 -4
  961. package/lib/duet/p-69dda5cf.entry.js +0 -4
  962. package/lib/duet/p-6e5dbf3f.system.entry.js +0 -4
  963. package/lib/duet/p-6f878638.system.entry.js +0 -4
  964. package/lib/duet/p-70a6edcd.system.entry.js +0 -4
  965. package/lib/duet/p-70ea5a26.system.entry.js +0 -4
  966. package/lib/duet/p-72767ad2.entry.js +0 -4
  967. package/lib/duet/p-739ffce8.entry.js +0 -4
  968. package/lib/duet/p-74aa0f9d.system.js +0 -4
  969. package/lib/duet/p-752fa0fc.system.js +0 -4
  970. package/lib/duet/p-7648f559.system.js +0 -4
  971. package/lib/duet/p-77bbd147.entry.js +0 -4
  972. package/lib/duet/p-77f01407.entry.js +0 -4
  973. package/lib/duet/p-7931d6b8.entry.js +0 -4
  974. package/lib/duet/p-798942ab.entry.js +0 -4
  975. package/lib/duet/p-7b2d2e4d.system.entry.js +0 -4
  976. package/lib/duet/p-7bbf3a3b.system.entry.js +0 -4
  977. package/lib/duet/p-7d8a2628.js +0 -4
  978. package/lib/duet/p-7dfee16a.entry.js +0 -4
  979. package/lib/duet/p-7f16d0df.entry.js +0 -4
  980. package/lib/duet/p-7f22291f.entry.js +0 -4
  981. package/lib/duet/p-81cde516.system.entry.js +0 -4
  982. package/lib/duet/p-8228f180.system.entry.js +0 -4
  983. package/lib/duet/p-84835d40.entry.js +0 -4
  984. package/lib/duet/p-874f4064.system.entry.js +0 -4
  985. package/lib/duet/p-897e6941.entry.js +0 -4
  986. package/lib/duet/p-8a970f0a.system.entry.js +0 -4
  987. package/lib/duet/p-8b1c69f9.system.entry.js +0 -4
  988. package/lib/duet/p-8baeb065.entry.js +0 -4
  989. package/lib/duet/p-8eea942e.entry.js +0 -4
  990. package/lib/duet/p-8f477bd6.system.js +0 -4
  991. package/lib/duet/p-8f871c29.entry.js +0 -4
  992. package/lib/duet/p-8faaaf5f.system.js +0 -4
  993. package/lib/duet/p-90999186.entry.js +0 -4
  994. package/lib/duet/p-979fb2cf.entry.js +0 -4
  995. package/lib/duet/p-97b3fb78.system.entry.js +0 -4
  996. package/lib/duet/p-97eb9b2e.entry.js +0 -4
  997. package/lib/duet/p-97fe4968.js +0 -5
  998. package/lib/duet/p-98636086.system.js +0 -4
  999. package/lib/duet/p-9fab0a1d.system.entry.js +0 -4
  1000. package/lib/duet/p-a0a59034.system.entry.js +0 -4
  1001. package/lib/duet/p-a1a0370a.system.entry.js +0 -4
  1002. package/lib/duet/p-a20ed47c.js +0 -4
  1003. package/lib/duet/p-a4dbef0b.system.entry.js +0 -4
  1004. package/lib/duet/p-a54c3c58.system.entry.js +0 -4
  1005. package/lib/duet/p-a6bb7eb0.entry.js +0 -4
  1006. package/lib/duet/p-aaa7a7bd.js +0 -4
  1007. package/lib/duet/p-ac21f1dc.system.entry.js +0 -4
  1008. package/lib/duet/p-ac7ef7e2.js +0 -4
  1009. package/lib/duet/p-aca1538e.entry.js +0 -4
  1010. package/lib/duet/p-ae19da09.entry.js +0 -4
  1011. package/lib/duet/p-afad5fd3.system.js +0 -4
  1012. package/lib/duet/p-b2d5f07c.system.js +0 -4
  1013. package/lib/duet/p-b2f3287a.system.entry.js +0 -4
  1014. package/lib/duet/p-b5b8973c.js +0 -4
  1015. package/lib/duet/p-b6366830.system.entry.js +0 -4
  1016. package/lib/duet/p-b864159a.system.js +0 -4
  1017. package/lib/duet/p-b8d342d1.system.entry.js +0 -4
  1018. package/lib/duet/p-ba03d034.system.js +0 -4
  1019. package/lib/duet/p-bd3c7c60.system.entry.js +0 -4
  1020. package/lib/duet/p-be8044cb.system.entry.js +0 -4
  1021. package/lib/duet/p-beeb12f1.js +0 -4
  1022. package/lib/duet/p-bf85a8c6.entry.js +0 -4
  1023. package/lib/duet/p-bfe1d1d1.system.entry.js +0 -4
  1024. package/lib/duet/p-c2308ebd.entry.js +0 -4
  1025. package/lib/duet/p-c47bc68e.entry.js +0 -4
  1026. package/lib/duet/p-c5b6d9ed.entry.js +0 -4
  1027. package/lib/duet/p-c93daa4f.entry.js +0 -4
  1028. package/lib/duet/p-ca3cb21e.js +0 -4
  1029. package/lib/duet/p-cc5e6288.system.js +0 -4
  1030. package/lib/duet/p-cc67e773.js +0 -4
  1031. package/lib/duet/p-cc6e2037.system.entry.js +0 -4
  1032. package/lib/duet/p-cd4cd328.entry.js +0 -4
  1033. package/lib/duet/p-cf3dbdbe.entry.js +0 -4
  1034. package/lib/duet/p-cf6a502f.system.entry.js +0 -4
  1035. package/lib/duet/p-cfb501bd.entry.js +0 -4
  1036. package/lib/duet/p-d004da5f.js +0 -4
  1037. package/lib/duet/p-d080e1b9.system.js +0 -4
  1038. package/lib/duet/p-d159daa2.entry.js +0 -4
  1039. package/lib/duet/p-d3960f14.system.js +0 -4
  1040. package/lib/duet/p-d4f2abe8.entry.js +0 -4
  1041. package/lib/duet/p-d5a87e9a.js +0 -4
  1042. package/lib/duet/p-d6b00137.entry.js +0 -4
  1043. package/lib/duet/p-d7b8ea98.system.entry.js +0 -4
  1044. package/lib/duet/p-db2ccb9d.system.js +0 -4
  1045. package/lib/duet/p-dc68fee2.entry.js +0 -4
  1046. package/lib/duet/p-e05cecd0.system.entry.js +0 -4
  1047. package/lib/duet/p-e0b5d41a.system.entry.js +0 -4
  1048. package/lib/duet/p-e12066c8.system.js +0 -4
  1049. package/lib/duet/p-e1c5ef00.entry.js +0 -4
  1050. package/lib/duet/p-e21018b3.entry.js +0 -4
  1051. package/lib/duet/p-e216bea4.system.js +0 -4
  1052. package/lib/duet/p-e263283f.entry.js +0 -4
  1053. package/lib/duet/p-e4a0a1b3.entry.js +0 -4
  1054. package/lib/duet/p-e4c8559c.system.js +0 -4
  1055. package/lib/duet/p-e513c4ca.system.entry.js +0 -4
  1056. package/lib/duet/p-e6b5a1c7.system.js +0 -4
  1057. package/lib/duet/p-e6f7a7fd.system.entry.js +0 -4
  1058. package/lib/duet/p-e8f8aae8.system.js +0 -4
  1059. package/lib/duet/p-e93169b0.system.entry.js +0 -4
  1060. package/lib/duet/p-eb425c47.entry.js +0 -4
  1061. package/lib/duet/p-edcdd3e6.system.entry.js +0 -4
  1062. package/lib/duet/p-efa05a47.system.entry.js +0 -4
  1063. package/lib/duet/p-efe71c0a.system.entry.js +0 -4
  1064. package/lib/duet/p-f065f062.system.entry.js +0 -4
  1065. package/lib/duet/p-f11208c3.js +0 -4
  1066. package/lib/duet/p-f23de827.system.entry.js +0 -4
  1067. package/lib/duet/p-f4df9001.system.entry.js +0 -4
  1068. package/lib/duet/p-f5a0878c.entry.js +0 -4
  1069. package/lib/duet/p-f5b6fd8e.system.entry.js +0 -4
  1070. package/lib/duet/p-f6000a03.js +0 -4
  1071. package/lib/duet/p-f6b21d17.system.js +0 -4
  1072. package/lib/duet/p-f785408c.system.entry.js +0 -4
  1073. package/lib/duet/p-f892350a.entry.js +0 -4
  1074. package/lib/duet/p-f966e96a.system.entry.js +0 -4
  1075. package/lib/duet/p-fc06b1eb.system.entry.js +0 -4
  1076. package/lib/duet/p-fcc0e0bf.system.entry.js +0 -4
  1077. package/lib/duet/p-fd376e7c.entry.js +0 -4
  1078. package/lib/duet/p-fe13effe.system.entry.js +0 -4
  1079. package/lib/duet/p-ffb9535d.system.entry.js +0 -4
  1080. package/lib/esm/a11y-utils-9f6bee96.js +0 -23
  1081. package/lib/esm/action-arrow-down-small-82273dc8.js +0 -6
  1082. package/lib/esm/action-new-window-small-1945be91.js +0 -6
  1083. package/lib/esm/body-scroll-46854769.js +0 -234
  1084. package/lib/esm/bodyScrollLock.es6-ecbf187e.js +0 -184
  1085. package/lib/esm/common-strings-af765cad.js +0 -25
  1086. package/lib/esm/create-id-149a1b6d.js +0 -11
  1087. package/lib/esm/duet-chip_3.entry.js +0 -697
  1088. package/lib/esm/floating-ui.dom.esm-ebc91b33.js +0 -1348
  1089. package/lib/esm/focus-utils-fc101536.js +0 -18
  1090. package/lib/esm/form-search-ea8e19ae.js +0 -6
  1091. package/lib/esm/input-utils-85681162.js +0 -53
  1092. package/lib/esm/is-internet-explorer-2c48f686.js +0 -9
  1093. package/lib/esm/js-utils-9b9e0039.js +0 -47
  1094. package/lib/esm/keyboard-utils-daf80d44.js +0 -58
  1095. package/lib/esm/label-b3694b48.js +0 -20
  1096. package/lib/esm/polyfills/core-js.js +0 -11
  1097. package/lib/esm/polyfills/dom.js +0 -79
  1098. package/lib/esm/polyfills/es5-html-element.js +0 -1
  1099. package/lib/esm/polyfills/index.js +0 -34
  1100. package/lib/esm/polyfills/system.js +0 -6
  1101. package/lib/esm/string-utils-192eb3c8.js +0 -61
  1102. package/lib/esm/teleport-546f382d.js +0 -116
  1103. package/lib/esm/themeable-component-860041c5.js +0 -13
  1104. package/lib/esm/token-utils-b9ba8c5e.js +0 -138
  1105. package/lib/esm/watch-options-e96ecd92.js +0 -57
  1106. package/lib/esm-es5/a11y-utils-9f6bee96.js +0 -4
  1107. package/lib/esm-es5/action-arrow-down-small-82273dc8.js +0 -4
  1108. package/lib/esm-es5/action-new-window-small-1945be91.js +0 -4
  1109. package/lib/esm-es5/app-globals-f12e0500.js +0 -4
  1110. package/lib/esm-es5/body-scroll-46854769.js +0 -4
  1111. package/lib/esm-es5/bodyScrollLock.es6-ecbf187e.js +0 -4
  1112. package/lib/esm-es5/common-strings-af765cad.js +0 -4
  1113. package/lib/esm-es5/create-id-149a1b6d.js +0 -4
  1114. package/lib/esm-es5/duet-action-button.entry.js +0 -4
  1115. package/lib/esm-es5/duet-alert.entry.js +0 -4
  1116. package/lib/esm-es5/duet-badge.entry.js +0 -4
  1117. package/lib/esm-es5/duet-banner.entry.js +0 -4
  1118. package/lib/esm-es5/duet-breadcrumb.entry.js +0 -4
  1119. package/lib/esm-es5/duet-breadcrumbs.entry.js +0 -4
  1120. package/lib/esm-es5/duet-button_2.entry.js +0 -4
  1121. package/lib/esm-es5/duet-callout.entry.js +0 -4
  1122. package/lib/esm-es5/duet-caption_4.entry.js +0 -4
  1123. package/lib/esm-es5/duet-card.entry.js +0 -4
  1124. package/lib/esm-es5/duet-checkbox.entry.js +0 -4
  1125. package/lib/esm-es5/duet-checkmark.entry.js +0 -4
  1126. package/lib/esm-es5/duet-chip_3.entry.js +0 -4
  1127. package/lib/esm-es5/duet-choice_2.entry.js +0 -4
  1128. package/lib/esm-es5/duet-collapsible.entry.js +0 -4
  1129. package/lib/esm-es5/duet-combobox.entry.js +0 -4
  1130. package/lib/esm-es5/duet-contact-card.entry.js +0 -4
  1131. package/lib/esm-es5/duet-cookie-consent.entry.js +0 -4
  1132. package/lib/esm-es5/duet-date-picker.entry.js +0 -4
  1133. package/lib/esm-es5/duet-divider_2.entry.js +0 -4
  1134. package/lib/esm-es5/duet-editable-table_3.entry.js +0 -4
  1135. package/lib/esm-es5/duet-empty-state.entry.js +0 -4
  1136. package/lib/esm-es5/duet-fieldset.entry.js +0 -4
  1137. package/lib/esm-es5/duet-file-chooser.entry.js +0 -4
  1138. package/lib/esm-es5/duet-footer.entry.js +0 -4
  1139. package/lib/esm-es5/duet-grid_2.entry.js +0 -4
  1140. package/lib/esm-es5/duet-header_2.entry.js +0 -4
  1141. package/lib/esm-es5/duet-hero.entry.js +0 -4
  1142. package/lib/esm-es5/duet-icon.entry.js +0 -4
  1143. package/lib/esm-es5/duet-input_2.entry.js +0 -4
  1144. package/lib/esm-es5/duet-layout.entry.js +0 -4
  1145. package/lib/esm-es5/duet-list_2.entry.js +0 -4
  1146. package/lib/esm-es5/duet-menu-bar-button.entry.js +0 -4
  1147. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +0 -4
  1148. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +0 -4
  1149. package/lib/esm-es5/duet-menu-bar-item.entry.js +0 -4
  1150. package/lib/esm-es5/duet-menu-bar-link.entry.js +0 -4
  1151. package/lib/esm-es5/duet-menu-bar.entry.js +0 -4
  1152. package/lib/esm-es5/duet-modal.entry.js +0 -4
  1153. package/lib/esm-es5/duet-multiselect.entry.js +0 -4
  1154. package/lib/esm-es5/duet-nav.entry.js +0 -4
  1155. package/lib/esm-es5/duet-notification_2.entry.js +0 -4
  1156. package/lib/esm-es5/duet-number-input.entry.js +0 -4
  1157. package/lib/esm-es5/duet-overlay.entry.js +0 -4
  1158. package/lib/esm-es5/duet-page-heading.entry.js +0 -4
  1159. package/lib/esm-es5/duet-pagination_2.entry.js +0 -4
  1160. package/lib/esm-es5/duet-progress.entry.js +0 -4
  1161. package/lib/esm-es5/duet-promo-card.entry.js +0 -4
  1162. package/lib/esm-es5/duet-radio_2.entry.js +0 -4
  1163. package/lib/esm-es5/duet-range-slider.entry.js +0 -4
  1164. package/lib/esm-es5/duet-scrollable_3.entry.js +0 -4
  1165. package/lib/esm-es5/duet-section-layout.entry.js +0 -4
  1166. package/lib/esm-es5/duet-select.entry.js +0 -4
  1167. package/lib/esm-es5/duet-shaped-image.entry.js +0 -4
  1168. package/lib/esm-es5/duet-show-more.entry.js +0 -4
  1169. package/lib/esm-es5/duet-slideout-lang.entry.js +0 -4
  1170. package/lib/esm-es5/duet-slideout-link.entry.js +0 -4
  1171. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +0 -4
  1172. package/lib/esm-es5/duet-slideout-panel.entry.js +0 -4
  1173. package/lib/esm-es5/duet-slideout.entry.js +0 -4
  1174. package/lib/esm-es5/duet-status-icon.entry.js +0 -4
  1175. package/lib/esm-es5/duet-step_2.entry.js +0 -4
  1176. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +0 -4
  1177. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +0 -4
  1178. package/lib/esm-es5/duet-submenu-bar-item.entry.js +0 -4
  1179. package/lib/esm-es5/duet-submenu-bar-link.entry.js +0 -4
  1180. package/lib/esm-es5/duet-submenu-bar.entry.js +0 -4
  1181. package/lib/esm-es5/duet-textarea.entry.js +0 -4
  1182. package/lib/esm-es5/duet-toggle.entry.js +0 -4
  1183. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +0 -4
  1184. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +0 -4
  1185. package/lib/esm-es5/duet-toolbar-item.entry.js +0 -4
  1186. package/lib/esm-es5/duet-toolbar-link.entry.js +0 -4
  1187. package/lib/esm-es5/duet-toolbar.entry.js +0 -4
  1188. package/lib/esm-es5/duet-tooltip-button_2.entry.js +0 -4
  1189. package/lib/esm-es5/duet-tooltip.entry.js +0 -4
  1190. package/lib/esm-es5/duet-tray.entry.js +0 -4
  1191. package/lib/esm-es5/duet-upload-aria-status.entry.js +0 -4
  1192. package/lib/esm-es5/duet-upload-item.entry.js +0 -4
  1193. package/lib/esm-es5/duet-visually-hidden.entry.js +0 -4
  1194. package/lib/esm-es5/duet.js +0 -4
  1195. package/lib/esm-es5/errorcodes.utils-d594aed8.js +0 -4
  1196. package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
  1197. package/lib/esm-es5/focus-utils-fc101536.js +0 -4
  1198. package/lib/esm-es5/form-search-ea8e19ae.js +0 -4
  1199. package/lib/esm-es5/index-fa810c91.js +0 -4
  1200. package/lib/esm-es5/index.js +0 -3
  1201. package/lib/esm-es5/input-utils-85681162.js +0 -4
  1202. package/lib/esm-es5/is-internet-explorer-2c48f686.js +0 -4
  1203. package/lib/esm-es5/js-utils-9b9e0039.js +0 -4
  1204. package/lib/esm-es5/keyboard-utils-daf80d44.js +0 -4
  1205. package/lib/esm-es5/label-b3694b48.js +0 -4
  1206. package/lib/esm-es5/language-utils-35eb1c9f.js +0 -4
  1207. package/lib/esm-es5/loader.js +0 -4
  1208. package/lib/esm-es5/slot-utils-b2101c56.js +0 -4
  1209. package/lib/esm-es5/string-utils-192eb3c8.js +0 -4
  1210. package/lib/esm-es5/teleport-546f382d.js +0 -4
  1211. package/lib/esm-es5/themeable-component-860041c5.js +0 -4
  1212. package/lib/esm-es5/token-utils-b9ba8c5e.js +0 -4
  1213. package/lib/esm-es5/tokens-84fb2357.js +0 -4
  1214. package/lib/esm-es5/tokens.module-2d02f5ff.js +0 -4
  1215. package/lib/esm-es5/watch-options-e96ecd92.js +0 -4
  1216. package/lib/loader/package.json +0 -11
  1217. /package/lib/cjs/{body-scroll-dba42314.js → body-scroll-FWPe3_T_.js} +0 -0
  1218. /package/lib/cjs/{bodyScrollLock.es6-dd2d7d91.js → bodyScrollLock.es6-B2sCDud5.js} +0 -0
  1219. /package/lib/cjs/{create-id-1f8c438f.js → create-id-DtslnIOq.js} +0 -0
  1220. /package/lib/cjs/{input-utils-1096a2c5.js → input-utils-DUKdslOM.js} +0 -0
  1221. /package/lib/cjs/{is-internet-explorer-e7f58ebc.js → is-internet-explorer-BTLb_loH.js} +0 -0
  1222. /package/lib/cjs/{js-utils-92e24ba1.js → js-utils-hJ4A2edy.js} +0 -0
  1223. /package/lib/cjs/{keyboard-utils-f7c9f980.js → keyboard-utils-D9UlHbik.js} +0 -0
  1224. /package/lib/cjs/{string-utils-7b13c16e.js → string-utils-B35hEUBv.js} +0 -0
  1225. /package/lib/duet/{p-8354d1f1.js → p-B1B-PPrh.js} +0 -0
  1226. /package/lib/duet/{p-9e371678.js → p-BlUsLmbQ.js} +0 -0
  1227. /package/lib/duet/{p-fc09c464.js → p-C6CAT054.js} +0 -0
  1228. /package/lib/duet/{p-9c3c64b9.js → p-C6E9F6QT.js} +0 -0
  1229. /package/lib/duet/{p-df7874f9.js → p-CLDy7YaM.js} +0 -0
  1230. /package/lib/duet/{p-5e59e970.js → p-Cfr_DJqU.js} +0 -0
  1231. /package/lib/duet/{p-43b89e38.js → p-DxESMgwA.js} +0 -0
  1232. /package/lib/{dist-custom-elements/p-fc09c464.js → esm/body-scroll-C6CAT054.js} +0 -0
  1233. /package/lib/{dist-custom-elements/p-8354d1f1.js → esm/bodyScrollLock.es6-B1B-PPrh.js} +0 -0
  1234. /package/lib/{dist-custom-elements/p-5e59e970.js → esm/create-id-Cfr_DJqU.js} +0 -0
  1235. /package/lib/{dist-custom-elements/p-df7874f9.js → esm/input-utils-CLDy7YaM.js} +0 -0
  1236. /package/lib/{dist-custom-elements/p-43b89e38.js → esm/is-internet-explorer-DxESMgwA.js} +0 -0
  1237. /package/lib/{dist-custom-elements/p-9e371678.js → esm/js-utils-BlUsLmbQ.js} +0 -0
  1238. /package/lib/{dist-custom-elements/p-9c3c64b9.js → esm/string-utils-C6E9F6QT.js} +0 -0
@@ -1,34 +0,0 @@
1
- export function applyPolyfills() {
2
- var promises = [];
3
- if (typeof window !== 'undefined') {
4
- var win = window;
5
-
6
- if (!win.customElements ||
7
- (win.Element && (!win.Element.prototype.closest || !win.Element.prototype.matches || !win.Element.prototype.remove || !win.Element.prototype.getRootNode))) {
8
- promises.push(import(/* webpackChunkName: "polyfills-dom" */ './dom.js'));
9
- }
10
-
11
- var checkIfURLIsSupported = function() {
12
- try {
13
- var u = new URL('b', 'http://a');
14
- u.pathname = 'c%20d';
15
- return (u.href === 'http://a/c%20d') && u.searchParams;
16
- } catch (e) {
17
- return false;
18
- }
19
- };
20
-
21
- if (
22
- 'function' !== typeof Object.assign || !Object.entries ||
23
- !Array.prototype.find || !Array.prototype.includes ||
24
- !String.prototype.startsWith || !String.prototype.endsWith ||
25
- (win.NodeList && !win.NodeList.prototype.forEach) ||
26
- !win.fetch ||
27
- !checkIfURLIsSupported() ||
28
- typeof WeakMap == 'undefined'
29
- ) {
30
- promises.push(import(/* webpackChunkName: "polyfills-core-js" */ './core-js.js'));
31
- }
32
- }
33
- return Promise.all(promises);
34
- }
@@ -1,6 +0,0 @@
1
- /**
2
- * SystemJS 4.0.2
3
- * MANUAL PATCH: remove script.crossOrigin = "anonymous"
4
- * MANUAL PATCH: add conditionally apply, n.System=n.System||new u
5
- */
6
- !function(){var e="undefined"!=typeof self,n=e?self:global;var t;if("undefined"!=typeof document){var e=document.querySelector("base[href]");e&&(t=e.href)}if(!t&&"undefined"!=typeof location){var e=(t=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==e&&(t=t.slice(0,e+1))}var r=/\\/g,o="undefined"!=typeof Symbol,i=o&&Symbol.toStringTag,c=o?Symbol():"@";function u(){this[c]={}}var s=u.prototype;var l;s.import=function(e,n){var t=this;return Promise.resolve(t.resolve(e,n)).then(function(e){var n=function e(n,t,r){var o=n[c][t];if(o)return o;var u=[],s=Object.create(null);i&&Object.defineProperty(s,i,{value:"Module"});var l=Promise.resolve().then(function(){return n.instantiate(t,r)}).then(function(e){if(!e)throw Error("Module "+t+" did not instantiate");var r=e[1](function(e,n){o.h=!0;var t=!1;if("object"!=typeof e)e in s&&s[e]===n||(s[e]=n,t=!0);else for(var n in e){var r=e[n];n in s&&s[n]===r||(s[n]=r,t=!0)}if(t)for(var e=0;e<u.length;e++)u[e](s);return n},2===e[1].length?{import:function(e){return n.import(e,t)},meta:n.createContext(t)}:void 0);return o.e=r.execute||function(){},[e[0],r.setters||[]]});var f=l.then(function(r){return Promise.all(r[0].map(function(o,i){var c=r[1][i];return Promise.resolve(n.resolve(o,t)).then(function(r){var o=e(n,r,t);return Promise.resolve(o.I).then(function(){return c&&(o.i.push(c),!o.h&&o.I||c(o.n)),o})})})).then(function(e){o.d=e})});return f.catch(function(e){o.e=null,o.er=e}),o=n[c][t]={id:t,i:u,n:s,I:l,L:f,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0}}(t,e);return n.C||function(e,n){return n.C=function e(n,t,r){if(!r[t.id])return r[t.id]=!0,Promise.resolve(t.L).then(function(){return Promise.all(t.d.map(function(t){return e(n,t,r)}))})}(e,n,{}).then(function(){return function e(n,t,r){if(r[t.id])return;if(r[t.id]=!0,!t.e){if(t.er)throw t.er;return t.E?t.E:void 0}var o;return t.d.forEach(function(t){{var i=e(n,t,r);i&&(o=o||[]).push(i)}}),o?Promise.all(o).then(i):i();function i(){try{var e=t.e.call(f);if(e)return e=e.then(function(){t.C=t.n,t.E=null}),t.E=t.E||e;t.C=t.n}catch(e){throw t.er=e,e}finally{t.L=t.I=void 0,t.e=null}}}(e,n,{})}).then(function(){return n.n})}(t,n)})},s.createContext=function(e){return{url:e}},s.register=function(e,n){l=[e,n]},s.getRegister=function(){var e=l;return l=void 0,e};var f=Object.freeze(Object.create(null));n.System=n.System||new u;var d=s.register;s.register=function(e,n){d.call(this,e,n)},s.instantiate=function(e,n){var t=this;return".json"===e.substr(-5)?fetch(e).then(function(e){return e.text()}).then(function(e){return[[],function(n){return{execute:function(){n("default",JSON.parse(e))}}}]}):new Promise(function(r,o){var i;function c(n){n.filename===e&&(i=n.error)}window.addEventListener("error",c);var u=document.createElement("script");u.charset="utf-8",u.async=!0,u.addEventListener("error",function(){window.removeEventListener("error",c),o(Error("Error loading "+e+(n?" from "+n:"")))}),u.addEventListener("load",function(){window.removeEventListener("error",c),document.head.removeChild(u),i?o(i):r(t.getRegister())}),u.src=e,document.head.appendChild(u)})},e&&"function"==typeof importScripts&&(s.instantiate=function(e){var n=this;return new Promise(function(t,r){try{importScripts(e)}catch(e){r(e)}t(n.getRegister())})}),s.resolve=function(e,n){var o=function(e,n){if(-1!==e.indexOf("\\")&&(e=e.replace(r,"/")),"/"===e[0]&&"/"===e[1])return n.slice(0,n.indexOf(":")+1)+e;if("."===e[0]&&("/"===e[1]||"."===e[1]&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===e[0]){var t=n.slice(0,n.indexOf(":")+1);var r;if(r="/"===n[t.length+1]?"file:"!==t?(r=n.slice(t.length+2)).slice(r.indexOf("/")+1):n.slice(8):n.slice(t.length+("/"===n[t.length])),"/"===e[0])return n.slice(0,n.length-r.length-1)+e;var o=r.slice(0,r.lastIndexOf("/")+1)+e,i=[];var c=-1;for(var e=0;e<o.length;e++)-1!==c?"/"===o[e]&&(i.push(o.slice(c,e+1)),c=-1):"."===o[e]?"."!==o[e+1]||"/"!==o[e+2]&&e+2!==o.length?"/"===o[e+1]||e+1===o.length?e+=1:c=e:(i.pop(),e+=2):c=e;return-1!==c&&i.push(o.slice(c)),n.slice(0,n.length-r.length)+i.join("")}}(e,n||t);if(!o){if(-1!==e.indexOf(":"))return Promise.resolve(e);throw Error('Cannot resolve "'+e+(n?'" from '+n:'"'))}return Promise.resolve(o)}}();
@@ -1,61 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- function isObject(maybeObj) {
5
- return Object.prototype.toString.call(maybeObj) === "[object Object]";
6
- }
7
- const parsePossibleJSON = (maybeJSON) => {
8
- if (Array.isArray(maybeJSON) || isObject(maybeJSON)) {
9
- return maybeJSON;
10
- }
11
- if (typeof maybeJSON === "string") {
12
- try {
13
- return JSON.parse(maybeJSON);
14
- }
15
- catch (e) {
16
- console.warn(e);
17
- try {
18
- return JSON.parse(convertHtmlQuotes(maybeJSON));
19
- }
20
- catch (e) {
21
- console.warn(e);
22
- }
23
- }
24
- }
25
- // undefined is not a type in JSON,
26
- // so we use it here to signal invalid input
27
- return undefined;
28
- };
29
- /**
30
- * Format string, via simplistic sprintf equivalent
31
- * @example String.format('{0} is super, but {1} is best! {{0}}', 'Duet', 'Coffee'); -> "Duet is super, but Coffee ist best! {0}"
32
- *
33
- */
34
- // @ts-ignore
35
- if (!String.format) {
36
- // @ts-ignore
37
- String.format = function (format) {
38
- var args = Array.prototype.slice.call(arguments, 1);
39
- return format.replace(/\{\{|\}\}|\{(\d+)\}/g, function (curlyBrack, index) {
40
- return curlyBrack == "{{" ? "{" : curlyBrack == "}}" ? "}" : args[index];
41
- });
42
- };
43
- }
44
- const MATCH_DISALLOWED_CHARS = /[^a-z0-9áéíóúñüöäå \.,_-]/gim;
45
- function sanitizeString(string) {
46
- return string.replace(MATCH_DISALLOWED_CHARS, "").trim();
47
- }
48
- const convertHtmlQuotes = string => {
49
- if (typeof string === "string") {
50
- return string.replace(/&quot;/g, '"').replace(/&apos;/g, '"');
51
- }
52
- return string;
53
- };
54
- /**
55
- * Escapes characters that have special meaning in regular expressions
56
- */
57
- const regexEscape = (string) => {
58
- return string.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
59
- };
60
-
61
- export { convertHtmlQuotes as c, parsePossibleJSON as p, regexEscape as r, sanitizeString as s };
@@ -1,116 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- /**
5
- * Teleport helps resolving z-index issues of overlapping popup elements.
6
- * Initiate it in your component's connectedCallback.
7
- * Call activate() to teleport the object.
8
- * Call deactivate() to resume the object to its original place.
9
- * Call makeSiblingsInert() to add inert attribute to sibling elements.
10
- * Call removeInertFromSiblings() to remove inert attribute from sibling elements.
11
- */
12
- class Teleport {
13
- constructor(element, target) {
14
- this.skipInert = ["duet-tooltip-popup"];
15
- this.isActive = false;
16
- this.element = element;
17
- this.target = target || document.body;
18
- this.teleportId = `${Math.random()}-${Date.now()}`.substring(2);
19
- }
20
- activate() {
21
- if (this._isTeleportSkipped() || this.isActive) {
22
- return;
23
- }
24
- this.isActive = true;
25
- this._activate();
26
- }
27
- deactivate() {
28
- if (this._isTeleportSkipped() || !this.isActive) {
29
- return;
30
- }
31
- this.isActive = false;
32
- this._deactivate();
33
- }
34
- makeSiblingsInert() {
35
- if (this._isTeleportSkipped() || !this.isActive) {
36
- return;
37
- }
38
- this._makeSiblingsInert();
39
- }
40
- removeInertFromSiblings(delay = 0) {
41
- if (this._isTeleportSkipped() || !this.isActive) {
42
- return;
43
- }
44
- if (delay) {
45
- setTimeout(this._removeInertFromSiblings.bind(this), delay);
46
- }
47
- else {
48
- this._removeInertFromSiblings();
49
- }
50
- }
51
- _isTeleportSkipped() {
52
- const skipTeleport = this.element.getAttribute("skip-teleport");
53
- return skipTeleport !== null && skipTeleport !== "false";
54
- }
55
- _activate() {
56
- if (!this.element.dataset.reactPortal) {
57
- this.stub = document.createElement("template");
58
- this.element.insertAdjacentElement("afterend", this.stub);
59
- this.target.appendChild(this.element);
60
- }
61
- this.deletionObserver = new MutationObserver(this._deletionObserverCallback.bind(this));
62
- this.deletionObserver.observe(document.documentElement, { childList: true, subtree: true });
63
- }
64
- _deactivate() {
65
- if (!this.element.dataset.reactPortal) {
66
- this.stub.insertAdjacentElement("beforebegin", this.element);
67
- this.stub.remove();
68
- }
69
- this._removeInertFromSiblings();
70
- this.deletionObserver.disconnect();
71
- }
72
- _remove() {
73
- var _a, _b;
74
- if (!this.element.dataset.reactPortal) {
75
- (_a = this.element) === null || _a === void 0 ? void 0 : _a.remove();
76
- (_b = this.stub) === null || _b === void 0 ? void 0 : _b.remove();
77
- }
78
- this._removeInertFromSiblings();
79
- this.deletionObserver.disconnect();
80
- }
81
- _makeSiblingsInert() {
82
- const siblings = Array.from(this.target.children);
83
- siblings.forEach(sibling => {
84
- if (sibling !== this.element && !this.skipInert.includes(sibling.nodeName.toLowerCase())) {
85
- sibling.dataset.duetTeleportId = (sibling.dataset.duetTeleportId || "") + this.teleportId;
86
- sibling.inert = true;
87
- }
88
- });
89
- }
90
- _removeInertFromSiblings() {
91
- const siblings = Array.from(this.target.children);
92
- siblings.forEach(sibling => {
93
- var _a;
94
- if ((_a = sibling.dataset.duetTeleportId) === null || _a === void 0 ? void 0 : _a.includes(this.teleportId)) {
95
- sibling.dataset.duetTeleportId = sibling.dataset.duetTeleportId.replace(this.teleportId, "");
96
- if (sibling.dataset.duetTeleportId === "") {
97
- delete sibling.dataset.duetTeleportId;
98
- sibling.inert = false;
99
- }
100
- }
101
- });
102
- }
103
- /**
104
- * If the teleported element or its component (observed via stub) is removed from DOM, clean up the teleport.
105
- */
106
- _deletionObserverCallback(mutationList) {
107
- mutationList.forEach(mutation => {
108
- if (Array.from(mutation.removedNodes).includes(this.element) ||
109
- Array.from(mutation.removedNodes).some(n => n.contains(this.stub))) {
110
- this._remove();
111
- }
112
- });
113
- }
114
- }
115
-
116
- export { Teleport as T };
@@ -1,13 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- const inheritGlobalTheme = (component) => {
5
- // this minor change enables duet-theme-XXXXX instead of just duet-theme-turva
6
- const classList = Array.from(document.documentElement.classList).join(" ") || "";
7
- const theme = /(duet-theme-)([a-z]*)/gi.exec(classList);
8
- if (theme && theme[1] === "duet-theme-") {
9
- component.theme = theme[2] === "default" ? "" : theme[2];
10
- }
11
- };
12
-
13
- export { inheritGlobalTheme as i };
@@ -1,138 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { m as mediaQueryXxSmall, a as mediaQueryXSmall, b as mediaQuerySmall, c as mediaQueryMedium, d as mediaQueryLarge, e as mediaQueryXLarge, f as mediaQueryXxLarge, g as mediaQueryXxxLarge, h as mediaQueryXxxSmall, t as tokens } from './tokens.module-2d02f5ff.js';
5
-
6
- const allowedThemes = ["turva"];
7
- function isDashCase(str) {
8
- const dash = str.includes("-");
9
- const barredString = str.includes(" ") || str.includes("_");
10
- const barredStartingString = str.charAt(0) === "-";
11
- return dash && !barredString && !barredStartingString;
12
- }
13
- function capitalize(str = "") {
14
- return `${str.charAt(0).toUpperCase()}${str.slice(1)}`;
15
- }
16
- function lowerCaseFirst(str = "") {
17
- return `${str.charAt(0).toLowerCase()}${str.slice(1)}`;
18
- }
19
- function camelize(str = "") {
20
- const arr = str.split("-");
21
- //loop through each element of the array and capitalize the first letter.'
22
- arr.forEach((string, index) => {
23
- arr[index] = capitalize(string);
24
- });
25
- return arr.join("");
26
- }
27
- function getTheme(theme = "") {
28
- if (allowedThemes.includes(theme.toLowerCase())) {
29
- return theme.toLowerCase();
30
- }
31
- return "";
32
- }
33
- function capitalizeFirstLetter(string) {
34
- return string.charAt(0).toUpperCase() + string.slice(1);
35
- }
36
- function hasType(t, str = "") {
37
- return str.indexOf(capitalizeFirstLetter(t)) === 0 || str.indexOf(t) === 0;
38
- }
39
- function addPrefix(prefix, str = "") {
40
- if (str && !isDashCase(str) && !hasType(prefix, str)) {
41
- return `${prefix}${capitalize(str)}`;
42
- }
43
- return str;
44
- }
45
- function addTheme(str, theme) {
46
- const hasTheme = getTheme(theme).length;
47
- if (hasTheme && str.indexOf(theme) === -1) {
48
- return `${str}${capitalize(theme)}`;
49
- }
50
- return str;
51
- }
52
- function getColorByName(name, theme = "") {
53
- if (!name) {
54
- return undefined;
55
- }
56
- const defaultColor = convertToColorName(name);
57
- const themedColor = convertToColorName(name, theme);
58
- // lets just try to get the color first to save some cycles
59
- let resolvedToken = tokens[themedColor];
60
- if (!resolvedToken) {
61
- resolvedToken = tokens[defaultColor];
62
- }
63
- return resolvedToken;
64
- }
65
- function convertToColorName(name = "", theme = "") {
66
- let colorResolution = name;
67
- const dash = isDashCase(name);
68
- if (dash) {
69
- colorResolution = camelize(colorResolution);
70
- }
71
- colorResolution = addPrefix("color", colorResolution);
72
- colorResolution = addTheme(colorResolution, theme);
73
- // takes care of the case where colorPrimaryDark ends up with ColorPrimaryDark
74
- colorResolution = lowerCaseFirst(colorResolution);
75
- return colorResolution;
76
- }
77
- function getTokenByName(prefix, name) {
78
- if (!name) {
79
- return undefined;
80
- }
81
- let tokenResolution = name;
82
- const dash = isDashCase(name);
83
- if (dash) {
84
- tokenResolution = camelize(tokenResolution);
85
- }
86
- tokenResolution = addPrefix(prefix, tokenResolution);
87
- tokenResolution = lowerCaseFirst(tokenResolution);
88
- try {
89
- return tokens[tokenResolution];
90
- }
91
- catch (e) {
92
- return undefined;
93
- }
94
- }
95
- function getShadowByName(name) {
96
- return getTokenByName("shadow", name);
97
- }
98
- function rgbaColorFromRgb(color, opacity) {
99
- if (!color || (opacity !== 0 && !opacity)) {
100
- return undefined;
101
- }
102
- const f = color.split(",");
103
- const R = parseInt(f[0].slice(4)), G = parseInt(f[1]), B = parseInt(f[2]);
104
- return `rgba(${R},${G},${B},${opacity})`;
105
- }
106
- function shadeRGBColor(color, percent) {
107
- const f = color.split(","), t = percent < 0 ? 0 : 255, p = percent < 0 ? percent * -1 : percent;
108
- let R = parseInt(f[0].slice(4)), G = parseInt(f[1]), B = parseInt(f[2]);
109
- R = Math.round((t - R) * p) + R;
110
- G = Math.round((t - G) * p) + G;
111
- B = Math.round((t - B) * p) + B;
112
- R = R < 0 ? 0 : R;
113
- R = R > 255 ? 255 : R;
114
- G = G < 0 ? 0 : G;
115
- G = G > 255 ? 255 : G;
116
- B = B < 0 ? 0 : B;
117
- B = B > 255 ? 255 : B;
118
- return `rgb(${R},${G},${B})`;
119
- }
120
- // remove wrapping speech marks.
121
- // media query tokens are wrapped in speech marks,
122
- // which need to be removed before use with matchMedia.
123
- const unwrap = (str) => str.substring(1, str.length - 1);
124
- const breakpointToToken = {
125
- "xxx-small": unwrap(mediaQueryXxxSmall),
126
- "xx-small": unwrap(mediaQueryXxSmall),
127
- "x-small": unwrap(mediaQueryXSmall),
128
- small: unwrap(mediaQuerySmall),
129
- medium: unwrap(mediaQueryMedium),
130
- large: unwrap(mediaQueryLarge),
131
- "x-large": unwrap(mediaQueryXLarge),
132
- "xx-large": unwrap(mediaQueryXxLarge),
133
- "xxx-large": unwrap(mediaQueryXxxLarge),
134
- };
135
- const breakpointTokensUpTo = Object.keys(breakpointToToken).filter(key => key.indexOf("x-small") !== -1);
136
- Object.keys(breakpointToToken).filter(key => !breakpointTokensUpTo.includes(key));
137
-
138
- export { breakpointToToken as a, breakpointTokensUpTo as b, capitalizeFirstLetter as c, getShadowByName as d, getColorByName as g, rgbaColorFromRgb as r, shadeRGBColor as s };
@@ -1,57 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- const watchFor = (containerEl, tagName, onChange, changeHandler, options = {
5
- childList: true,
6
- subtree: true,
7
- }) => {
8
- let mutation;
9
- if (typeof MutationObserver !== "undefined") {
10
- mutation = new MutationObserver(mutationList => {
11
- onChange(changeHandler(mutationList, tagName));
12
- });
13
- mutation.observe(containerEl, options);
14
- }
15
- return mutation;
16
- };
17
- const watchForOptions = (containerEl, tagName, onChange) => {
18
- return watchFor(containerEl, tagName, onChange, getSelectedOption);
19
- };
20
- const watchForElement = (containerEl, tagName, onChange) => {
21
- return watchFor(containerEl, tagName, onChange, getElementItem, {
22
- childList: true,
23
- subtree: true,
24
- });
25
- };
26
- const getElementItem = (mutationList) => {
27
- let addedNode = false;
28
- let removedNode = false;
29
- mutationList.forEach(mut => {
30
- if (mut.addedNodes.length) {
31
- addedNode = true;
32
- }
33
- if (mut.removedNodes.length) {
34
- removedNode = true;
35
- }
36
- });
37
- return { addedNode, removedNode, mutationList };
38
- };
39
- const getSelectedOption = (mutationList, tagName) => {
40
- let newOption;
41
- mutationList.forEach(mut => {
42
- // tslint:disable-next-line: prefer-for-of
43
- for (let i = 0; i < mut.addedNodes.length; i++) {
44
- newOption = findCheckedOption(mut.addedNodes[i], tagName) || newOption;
45
- }
46
- });
47
- return newOption;
48
- };
49
- const findCheckedOption = (el, tagName) => {
50
- if (el.nodeType !== 1) {
51
- return undefined;
52
- }
53
- const options = el.tagName === tagName.toUpperCase() ? [el] : Array.from(el.querySelectorAll(tagName));
54
- return options.find((o) => o.checked === true);
55
- };
56
-
57
- export { watchForElement as a, findCheckedOption as f, watchForOptions as w };
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{b as getElementsFromDefaultSlot}from"./slot-utils-b2101c56.js";function getAccessibleLinkLabel(e){var t=e.element.textContent;if(e.accessibleLabel){return e.accessibleLabel}if((!!e.download||e.download==="")&&t){return"".concat(t,". ").concat(e.accessibleLabelDownload,".")}if(e.external&&t){return"".concat(t,". ").concat(e.accessibleLabelExternal,".")}if(getElementsFromDefaultSlot(e.element).length){return t}return null}export{getAccessibleLinkLabel as g};
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- var actionArrowDownSmall={title:"action-arrow-down-small",tags:"action arrow down small caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 19.5a2.3 2.3 0 0 1-1.729-.78L.46 7.568a1.847 1.847 0 0 1 2.773-2.439l8.579 9.752a.25.25 0 0 0 .376 0l8.579-9.752a1.847 1.847 0 1 1 2.773 2.439l-9.808 11.148A2.31 2.31 0 0 1 12 19.5z"/></svg>'};export{actionArrowDownSmall as a};
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- var actionNewWindowSmall={title:"action-new-window-small",tags:"arrow open new window tab external linksquare box rectangle action small",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M10.5 2a1.5 1.5 0 0 1 .14 3H3.75c-.38 0-.7.28-.74.65l-.01.1v14.5c0 .38.28.7.65.74l.1.01h14.5c.38 0 .7-.28.74-.65l.01-.1v-6.89a1.5 1.5 0 0 1 3 0v6.89A3.75 3.75 0 0 1 18.25 24H3.75A3.75 3.75 0 0 1 0 20.25V5.75A3.75 3.75 0 0 1 3.75 2zm12-2c.78 0 1.42.6 1.5 1.36V7.5a1.5 1.5 0 0 1-3 .14V5.12l-5.44 5.44a1.5 1.5 0 0 1-2.22-2l.1-.12L18.88 3H16.5A1.5 1.5 0 0 1 15 1.64V1.5c0-.78.6-1.42 1.36-1.5h.14z"/></svg>'};export{actionNewWindowSmall as a};
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import"./index-fa810c91.js";var setupLoggers=function(){{globalThis.ds={log:function(){return},warn:function(){return},info:function(){return}}}};var appGlobalScript=function(){setupLoggers()};var globalScripts=appGlobalScript;export{globalScripts as g};
@@ -1,4 +0,0 @@
1
- var __spreadArray=this&&this.__spreadArray||function(e,n,o){if(o||arguments.length===2)for(var i=0,t=n.length,d;i<t;i++){if(d||!(i in n)){if(!d)d=Array.prototype.slice.call(n,0,i);d[i]=n[i]}}return e.concat(d||Array.prototype.slice.call(n))};
2
- /*!
3
- * Built with Duet Design System
4
- */var hasPassiveEvents=false;if(typeof window!=="undefined"){var passiveTestOptions={get passive(){hasPassiveEvents=true;return undefined}};window.addEventListener("testPassive",null,passiveTestOptions);window.removeEventListener("testPassive",null,passiveTestOptions)}var isIosDevice=typeof window!=="undefined"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1);var locks=[];var locksIndex=new Map;var documentListenerAdded=false;var initialClientY=-1;var previousBodyOverflowSetting;var htmlStyle;var bodyStyle;var previousBodyPaddingRight;var allowTouchMove=function(e){return locks.some((function(n){if(n.options.allowTouchMove&&n.options.allowTouchMove(e)){return true}return false}))};var preventDefault=function(e){var n=e||window.event;if(allowTouchMove(n.target)){return true}if(n.touches.length>1){return true}if(n.preventDefault){n.preventDefault()}return false};var setOverflowHidden=function(e){if(previousBodyPaddingRight===undefined){var n=!!e&&e.reserveScrollBarGap===true;var o=window.innerWidth-document.documentElement.getBoundingClientRect().width;if(n&&o>0){var i=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);previousBodyPaddingRight=document.body.style.paddingRight;document.body.style.paddingRight="".concat(i+o,"px")}}if(previousBodyOverflowSetting===undefined){previousBodyOverflowSetting=document.body.style.overflow;document.body.style.overflow="hidden"}};var restoreOverflowSetting=function(){if(previousBodyPaddingRight!==undefined){document.body.style.paddingRight=previousBodyPaddingRight;previousBodyPaddingRight=undefined}if(previousBodyOverflowSetting!==undefined){document.body.style.overflow=previousBodyOverflowSetting;previousBodyOverflowSetting=undefined}};var setPositionFixed=function(){return window.requestAnimationFrame((function(){var e=document.documentElement;var n=document.body;if(bodyStyle===undefined){htmlStyle=Object.assign({},e.style);bodyStyle=Object.assign({},n.style);var o=window.scrollY,i=window.scrollX,t=window.innerHeight;e.style.height="100%";e.style.overflow="hidden";n.style.position="fixed";n.style.top="".concat(-o,"px");n.style.left="".concat(-i,"px");n.style.width="100%";n.style.height="auto";n.style.overflow="hidden";setTimeout((function(){return window.requestAnimationFrame((function(){var e=t-window.innerHeight;if(e&&o>=t){n.style.top=-(o+e)+"px"}}))}),300)}}))};var restorePositionSetting=function(){if(bodyStyle!==undefined){var e=-parseInt(document.body.style.top,10);var n=-parseInt(document.body.style.left,10);var o=document.documentElement;var i=document.body;o.style.height=(htmlStyle===null||htmlStyle===void 0?void 0:htmlStyle.height)||"";o.style.overflow=(htmlStyle===null||htmlStyle===void 0?void 0:htmlStyle.overflow)||"";i.style.position=bodyStyle.position||"";i.style.top=bodyStyle.top||"";i.style.left=bodyStyle.left||"";i.style.width=bodyStyle.width||"";i.style.height=bodyStyle.height||"";i.style.overflow=bodyStyle.overflow||"";window.scrollTo(n,e);bodyStyle=undefined}};var isTargetElementTotallyScrolled=function(e){return e?e.scrollHeight-e.scrollTop<=e.clientHeight:false};var handleScroll=function(e,n){var o=e.targetTouches[0].clientY-initialClientY;if(allowTouchMove(e.target)){return false}if(n&&n.scrollTop===0&&o>0){return preventDefault(e)}if(isTargetElementTotallyScrolled(n)&&o<0){return preventDefault(e)}e.stopPropagation();return true};var disableBodyScroll=function(e,n){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}locksIndex.set(e,(locksIndex===null||locksIndex===void 0?void 0:locksIndex.get(e))?(locksIndex===null||locksIndex===void 0?void 0:locksIndex.get(e))+1:1);if(locks.some((function(n){return n.targetElement===e}))){return}var o={targetElement:e,options:n||{}};locks=__spreadArray(__spreadArray([],locks,true),[o],false);if(isIosDevice){setPositionFixed()}else{setOverflowHidden(n)}if(isIosDevice){e.ontouchstart=function(e){if(e.targetTouches.length===1){initialClientY=e.targetTouches[0].clientY}};e.ontouchmove=function(n){if(n.targetTouches.length===1){handleScroll(n,e)}};if(!documentListenerAdded){document.addEventListener("touchmove",preventDefault,hasPassiveEvents?{passive:false}:undefined);documentListenerAdded=true}}};var enableBodyScroll=function(e){if(!e){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}locksIndex.set(e,(locksIndex===null||locksIndex===void 0?void 0:locksIndex.get(e))?(locksIndex===null||locksIndex===void 0?void 0:locksIndex.get(e))-1:0);if((locksIndex===null||locksIndex===void 0?void 0:locksIndex.get(e))===0){locks=locks.filter((function(n){return n.targetElement!==e}));locksIndex===null||locksIndex===void 0?void 0:locksIndex.delete(e)}if(isIosDevice){e.ontouchstart=null;e.ontouchmove=null;if(documentListenerAdded&&locks.length===0){document.removeEventListener("touchmove",preventDefault,hasPassiveEvents?{passive:false}:undefined);documentListenerAdded=false}}if(locks.length===0){if(isIosDevice){restorePositionSetting()}else{restoreOverflowSetting()}}};export{disableBodyScroll as d,enableBodyScroll as e};
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- var __spreadArray=this&&this.__spreadArray||function(e,n,i){if(i||arguments.length===2)for(var t=0,o=n.length,r;t<o;t++){if(r||!(t in n)){if(!r)r=Array.prototype.slice.call(n,0,t);r[t]=n[t]}}return e.concat(r||Array.prototype.slice.call(n))};var hasPassiveEvents=false;if(typeof window!=="undefined"){var passiveTestOptions={get passive(){hasPassiveEvents=true;return undefined}};window.addEventListener("testPassive",null,passiveTestOptions);window.removeEventListener("testPassive",null,passiveTestOptions)}var isIosDevice=typeof window!=="undefined"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1);var locks=[];var documentListenerAdded=false;var initialClientY=-1;var previousBodyOverflowSetting;var previousBodyPaddingRight;var allowTouchMove=function(e){return locks.some((function(n){if(n.options.allowTouchMove&&n.options.allowTouchMove(e)){return true}return false}))};var preventDefault=function(e){var n=e||window.event;if(allowTouchMove(n.target)){return true}if(n.touches.length>1)return true;if(n.preventDefault)n.preventDefault();return false};var setOverflowHidden=function(e){if(previousBodyPaddingRight===undefined){var n=!!e&&e.reserveScrollBarGap===true;var i=window.innerWidth-document.documentElement.clientWidth;if(n&&i>0){previousBodyPaddingRight=document.body.style.paddingRight;document.body.style.paddingRight="".concat(i,"px")}}if(previousBodyOverflowSetting===undefined){previousBodyOverflowSetting=document.body.style.overflow;document.body.style.overflow="hidden"}};var restoreOverflowSetting=function(){if(previousBodyPaddingRight!==undefined){document.body.style.paddingRight=previousBodyPaddingRight;previousBodyPaddingRight=undefined}if(previousBodyOverflowSetting!==undefined){document.body.style.overflow=previousBodyOverflowSetting;previousBodyOverflowSetting=undefined}};var isTargetElementTotallyScrolled=function(e){return e?e.scrollHeight-e.scrollTop<=e.clientHeight:false};var handleScroll=function(e,n){var i=e.targetTouches[0].clientY-initialClientY;if(allowTouchMove(e.target)){return false}if(n&&n.scrollTop===0&&i>0){return preventDefault(e)}if(isTargetElementTotallyScrolled(n)&&i<0){return preventDefault(e)}e.stopPropagation();return true};var disableBodyScroll=function(e,n){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(locks.some((function(n){return n.targetElement===e}))){return}var i={targetElement:e,options:n||{}};locks=__spreadArray(__spreadArray([],locks,true),[i],false);if(isIosDevice){e.ontouchstart=function(e){if(e.targetTouches.length===1){initialClientY=e.targetTouches[0].clientY}};e.ontouchmove=function(n){if(n.targetTouches.length===1){handleScroll(n,e)}};if(!documentListenerAdded){document.addEventListener("touchmove",preventDefault,hasPassiveEvents?{passive:false}:undefined);documentListenerAdded=true}}else{setOverflowHidden(n)}};var enableBodyScroll=function(e){if(!e){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}locks=locks.filter((function(n){return n.targetElement!==e}));if(isIosDevice){e.ontouchstart=null;e.ontouchmove=null;if(documentListenerAdded&&locks.length===0){document.removeEventListener("touchmove",preventDefault,hasPassiveEvents?{passive:false}:undefined);documentListenerAdded=false}}else if(!locks.length){restoreOverflowSetting()}};export{disableBodyScroll as d,enableBodyScroll as e};
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- var DuetStringsDownloadLinkDefaults={fi:"Linkki tallennetaan laitteellesi",sv:"Nedladdningslänk",en:"Download link"};var DuetStringsExternalDefaults={fi:"Avautuu uuteen ikkunaan",sv:"Öppnas i nytt fönster",en:"Opens in a new window"};var DuetStringsLoadingDefaults={fi:"Ladataan",sv:"Laddas",en:"Loading…"};var DuetStringsPleaseWaitDefaults={fi:"Odota, ole hyvä.",sv:"Vänligen vänta.",en:"Please wait."};export{DuetStringsExternalDefaults as D,DuetStringsPleaseWaitDefaults as a,DuetStringsLoadingDefaults as b,DuetStringsDownloadLinkDefaults as c};
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- function chr4(){return Math.random().toString(16).slice(-4)}function createID(r){return"".concat(r,"-").concat(chr4()).concat(chr4(),"-").concat(chr4(),"-").concat(chr4(),"-").concat(chr4(),"-").concat(chr4()).concat(chr4()).concat(chr4())}export{createID as c};
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,i){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,r){function a(t){try{u(i.next(t))}catch(t){r(t)}}function s(t){try{u(i["throw"](t))}catch(t){r(t)}}function u(t){t.done?n(t.value):o(t.value).then(a,s)}u((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,o,r,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return u([t,e])}}function u(s){if(i)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(n=0)),n)try{if(i=1,o&&(r=s[0]&2?o["return"]:s[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,s[1])).done)return r;if(o=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){n.label=s[1];break}if(s[0]===6&&n.label<r[1]){n.label=r[1];r=s;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(s);break}if(r[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];o=0}finally{i=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-fa810c91.js";import{i as inheritGlobalTheme}from"./themeable-component-860041c5.js";import{c as createID}from"./create-id-149a1b6d.js";import{d as debounce}from"./js-utils-9b9e0039.js";import{i as isKeyboardClick}from"./keyboard-utils-daf80d44.js";import{g as getLocaleString,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-35eb1c9f.js";import{c as capitalizeFirstLetter,g as getColorByName,s as shadeRGBColor}from"./token-utils-b9ba8c5e.js";import"./string-utils-192eb3c8.js";import"./tokens.module-2d02f5ff.js";var duetActionButtonCss="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px;color:rgb(8, 42, 77);white-space:nowrap;cursor:pointer;background:rgb(245, 248, 250);border-radius:50%;transition:background-color 300ms ease !important}.duet-action-button.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){.duet-action-button{width:32px;height:32px}}.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-action-button:not(:disabled):hover.duet-theme-turva{background:#e9ebee}.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-action-button:focus.duet-theme-turva{box-shadow:0 0 0 2px #171c3a !important}.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-action-button:active:focus.duet-theme-turva{background:#dddee1 !important}.duet-action-button:disabled{color:rgb(127, 150, 165);cursor:default;background:rgb(245, 248, 250);opacity:0.75}.duet-action-button.duet-theme-turva:disabled{color:rgb(143, 147, 158);background:rgb(245, 247, 250)}";var DuetActionButtonStyle0=duetActionButtonCss;var DuetActionButton=function(){function t(t){var e=this;registerInstance(this,t);this.duetActionEvent=createEvent(this,"duetActionEvent",6);this.listId=createID("duet-action-button");this.emitPageEvent=debounce((function(t){e.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:e.actionId,name:e.actionName,meta:e.actionMeta,id:e.listId})}));this.numbersStore="";this.theme="";this.iconName="action-arrow-left-small";this.iconColor="currentColor";this.iconSize="xx-small";this.actionName=undefined;this.actionId=undefined;this.actionMeta=undefined;this.disabled=false;this.color="";this.background="";this.accessibleTitle=true;this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:"Click to activate action",fi:"Klikkaa aktivoidaksesi toiminto",sv:"Klicka för att aktivera åtgärd"};this.accessibleLabel=getLocaleString(this.accessibleLabelsDefaults);this.accessibleControls="";this.url=undefined}t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(isKeyboardClick(t)){this.emitPageEvent(t)}return[2]}))}))};t.prototype.getTitle=function(){if(typeof this.accessibleTitle==="string"){return this.accessibleTitle}if(this.accessibleTitle===true&&this.actionName){return capitalizeFirstLetter("".concat(this.actionName))}return null};t.prototype.onMouseHandler=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){t.preventDefault();this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta});return[2]}))}))};t.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};t.prototype.connectedCallback=function(){connectLanguageChangeObserver(this,{prop:"accessibleLabel",defaults:"accessibleLabelsDefaults"})};t.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this)};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.nativeButton){this.nativeButton.focus(t)}return[2]}))}))};t.prototype.render=function(){var t;var e=this;var n=this.color==="currentColor"?"currentColor":getColorByName(this.color,this.theme);var i=getColorByName(this.background,this.theme);var o=i?shadeRGBColor(i,-.1):i;var r=i?"\n button.duet-action-button {\n background: ".concat(i," !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ").concat(o," !important;\n }\n "):"";var a={color:n,"border-color":getColorByName(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"};var s={ref:function(t){return e.nativeButton=t},part:"button",style:a,disabled:this.disabled,id:this.listId,type:"button","aria-label":this.accessibleLabel,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls,title:this.getTitle(),class:(t={"duet-action-button":true,"duet-action-button--disabled":this.disabled},t["duet-action-button--".concat(this.theme)]=this.theme!=="",t["duet-theme-turva"]=this.theme==="turva",t)};return h(Host,{key:"784004122f9530676cbff39d09e3e4a4f7ccbf8f",onKeyDown:function(t){return e.onKeyboardDown(t)}},h("style",{key:"b34416cab89d2c6f2c4d67902239ab7140d74fb4",innerHTML:r}),this.url&&!this.disabled?h("a",Object.assign({},s,{href:this.url}),h("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize})):h("button",Object.assign({},s,{onClick:function(t){return e.onMouseHandler(t)}}),h("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),h("duet-visually-hidden",null,h("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();DuetActionButton.style=DuetActionButtonStyle0;export{DuetActionButton as duet_action_button};
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,a){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function s(e){try{u(a.next(e))}catch(e){n(e)}}function o(e){try{u(a["throw"](e))}catch(e){n(e)}}function u(e){e.done?r(e.value):i(e.value).then(s,o)}u((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},a,i,n,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return u([e,t])}}function u(o){if(a)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(r=0)),r)try{if(a=1,i&&(n=o[0]&2?i["return"]:o[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,o[1])).done)return n;if(i=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;i=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(o[0]===6&&r.label<n[1]){r.label=n[1];n=o;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(o);break}if(n[2])r.ops.pop();r.trys.pop();continue}o=t.call(e,r)}catch(e){o=[6,e];i=0}finally{a=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-fa810c91.js";import{i as inheritGlobalTheme}from"./themeable-component-860041c5.js";import{c as createID}from"./create-id-149a1b6d.js";import{s as subscribeTabbingChange,u as unsubscribeTabbingChange}from"./keyboard-utils-daf80d44.js";import{g as getLocaleString,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver}from"./language-utils-35eb1c9f.js";import{h as hasSlot}from"./slot-utils-b2101c56.js";import"./string-utils-192eb3c8.js";var duetAlertCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);background:#f2f8fb;border:1px solid rgb(0, 119, 179);border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58);background:#f3f4f5;border-color:rgb(23, 28, 58)}.duet-alert-wrapper.warning{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.warning.duet-theme-turva{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.danger{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.danger.duet-theme-turva{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.success{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.success.duet-theme-turva{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229)}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon.below-nav{align-self:flex-start}.duet-alert-icon duet-icon{width:20px;height:20px}';var DuetAlertStyle0=duetAlertCss;var DuetAlert=function(){function e(e){var t=this;registerInstance(this,e);this.duetDismiss=createEvent(this,"duetDismiss",7);this.duetCloseComplete=createEvent(this,"duetCloseComplete",7);this.descriptiveId=createID("DuetAlert");this.hasShowMoreSlot=false;this.iconVariationMap={default:"messaging-info",success:"messaging-success",warning:"messaging-alert",danger:"messaging-danger-alert"};this.handleDismiss=function(e){t.handleHide();t.duetDismiss.emit({component:"duet-alert",originalEvent:e})};this.handleShow=function(){t.isDismissed=false};this.handleHide=function(){t.isDismissed=true;t.element.addEventListener("transitionend",(function(){return t.duetCloseComplete.emit()}),{once:true})};this.theme="";this.isDismissed=false;this.timeoutID=undefined;this.accessibleLabelDefaults={fi:"Painike viestin sulkemiseen",sv:"Knapp för att stänga meddelandet",en:"Button to close the message"};this.accessibleLabel=getLocaleString(this.accessibleLabelDefaults);this.announcements=true;this.icon="";this.autoDismiss=undefined;this.margin="auto";this.padding="auto";this.variation="default";this.position="content";this.dismissible=false;this.focusable=false}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.hasShowMoreSlot=hasSlot(this.element,"show-more")};e.prototype.componentDidLoad=function(){var e=this;if(this.autoDismiss){this.timeoutID=setTimeout((function(){return e.handleDismiss()}),this.autoDismiss)}};e.prototype.connectedCallback=function(){connectLanguageChangeObserver(this,{prop:"accessibleLabel",defaults:"accessibleLabelDefaults"});subscribeTabbingChange(this)};e.prototype.disconnectedCallback=function(){if(this.timeoutID){clearTimeout(this.timeoutID)}disconnectLanguageChangeObserver(this);unsubscribeTabbingChange(this)};e.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.handleShow();return[2]}))}))};e.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.handleHide();return[2]}))}))};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.alertContainer.focus(e);return[2]}))}))};e.prototype.render=function(){var e,t;var r=this;var a=this.theme==="turva"?"secondary-turva":"secondary";return h(Host,{key:"d3c53bc46ae4d9f94d286a8ca55a1891afaec2d1",class:{"duet-theme-turva":this.theme==="turva","duet-alert-is-dismissed":this.isDismissed},role:this.announcements?"alert":undefined},h("div",{key:"9b7c2ede2a81e5459214b3262c08f5a096251f50",class:(e={"duet-alert-wrapper":true,"duet-p-0":this.padding==="none","duet-m-0":this.margin==="none"},e[this.variation]=true,e[this.position]=true,e["duet-theme-turva"]=this.theme==="turva",e)},h("div",{key:"c372501af01265a0e962d41b0aeefa1b0803dc7a",class:(t={"duet-alert":true,"duet-alert-has-icon":!!this.icon||this.position==="below-nav","duet-alert-has-show-more":this.hasShowMoreSlot,"duet-alert-is-dismissible":this.dismissible,"duet-p-0":this.padding==="none","duet-m-0":this.margin==="none"},t[this.variation]=true,t["duet-theme-turva"]=this.theme==="turva",t)},h("div",{key:"6a00f96245f482fa280c5618d1ab3e3d61ae57bf",class:"duet-alert-container",ref:function(e){r.alertContainer=e},tabindex:this.focusable?"0":undefined},this.icon&&this.position!=="below-nav"&&h("div",{key:"3993720ebce31589b986f5441c9f8f48719f6c97",class:"duet-alert-icon"},h("duet-icon",{key:"fc93bdce332702991e0dedf6eba0276c5d9c3e6d",size:"auto",name:this.icon,color:"currentColor"})),this.position==="below-nav"&&h("div",{key:"e469d1feb00ce1b223b7977a1b87228933556823",class:"duet-alert-icon below-nav"},h("duet-icon",{key:"8e3407af6309c0107a6e78107c965cf28cadbec3",size:"auto",name:this.iconVariationMap[this.variation],color:this.variation==="default"?"currentColor":this.variation})),h("span",{key:"e4e8494c19f24f7da051b98cef3c3efcdeb47031",id:this.descriptiveId},h("slot",{key:"1ce9a6e6c13e76f6fbf1317fa867d5400c79f41e"}))),this.hasShowMoreSlot&&h("duet-show-more",{key:"2106929166ce1b954dff45ed25b218ddce15f4d9",margin:"none",class:"duet-alert-show-more"},h("slot",{key:"331aa9d74f0b995b55b6b119e569411a07673c3e",name:"show-more"})),this.dismissible&&h("div",{key:"9cfd9e835660d246540ca7452de22bcd324d4682",class:"duet-alert-dismiss"},h("duet-button",{key:"fe950cf6c3d775160bd97b34e88ca71603a47d19",variation:"plain",accessibleLabel:this.accessibleLabel,accessibleDescribedBy:this.descriptiveId,color:a,iconSize:"medium",icon:"navigation-close",iconOnly:true,margin:"none",theme:this.theme,onClick:this.handleDismiss,fixed:true})))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetAlert.style=DuetAlertStyle0;export{DuetAlert as duet_alert};
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as registerInstance,h,H as Host,g as getElement}from"./index-fa810c91.js";import{i as inheritGlobalTheme}from"./themeable-component-860041c5.js";var duetBadgeCss='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{display:inline-block;width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fdecc9}.duet-badge.danger{background:#f7d2dc}.duet-badge.danger.duet-theme-turva{background:#f7d2dc}.duet-badge.success{background:#d6e6e1}.duet-badge.success.duet-theme-turva{background:#d6e6e1}.duet-badge.subtle{color:rgb(98, 121, 138);background:none;outline:1px solid rgb(212, 223, 229);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(113, 118, 132);background:none;outline-color:rgb(222, 224, 228)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#f9c153}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(214, 28, 82)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(48, 131, 105)}.duet-badge.background-strong.subtle{border-color:rgb(181, 198, 208);outline-color:rgb(8, 42, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(199, 202, 207);outline-color:rgb(23, 28, 58)}';var DuetBadgeStyle0=duetBadgeCss;var DuetBadge=function(){function e(e){registerInstance(this,e);this.theme="";this.variation="default";this.background="normal";this.margin="auto"}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.render=function(){var e;var t="background-".concat(this.background);return h(Host,{key:"2dba3e832143d9faee9ecf2c5655fbd537ed334d",class:{"duet-m-0":this.margin==="none"}},h("span",{key:"40e82bba7a8f3657ee18ac180213e7d6d30ab1c2",class:(e={"duet-badge":true},e[this.variation]=true,e[t]=true,e["duet-theme-turva"]=this.theme==="turva",e)},h("slot",{key:"2aa7fa9c5b605a9dee5c24ac62b0ac673bb75ce8"})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetBadge.style=DuetBadgeStyle0;export{DuetBadge as duet_badge};
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{h,r as registerInstance,H as Host,g as getElement}from"./index-fa810c91.js";import{i as inheritGlobalTheme}from"./themeable-component-860041c5.js";import{h as hasSlot,c as checkNamedSlotElement}from"./slot-utils-b2101c56.js";import{p as parsePossibleJSON}from"./string-utils-192eb3c8.js";import{g as getColorByName}from"./token-utils-b9ba8c5e.js";import"./tokens.module-2d02f5ff.js";var DuetPicture=function(n){var e=n.img,t=n.sources;return h("picture",null,t&&t.map((function(n){return h("source",{srcSet:n.srcset,media:n.media,type:n.type,sizes:n.sizes})})),h("img",Object.assign({},e)))};var duetBannerCss="*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 0px) {\n .duet-banner .visual {\n /* stylelint-enable */\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20344%22%20fill%3D%22none%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.72641e-07%2091.1902C0.000476976%2097.9034%200.626077%20104.726%201.92282%20111.592L42.7493%20327.771C43.8045%20333.358%2045.2667%20338.776%2047.0996%20344H160V0H51.1439C19.7799%2019.1253%200.00268143%2053.4178%202.72641e-07%2091.1749C-9.08807e-08%2091.18%20-9.08875e-08%2091.1851%202.72641e-07%2091.1902Z%22%20fill%3D%22%23E6F2F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E\");\n}\n.duet-banner .content {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 16px 20px 28px;\n}\n.duet-banner .content .description {\n hyphens: auto;\n}\n.duet-banner .action {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n align-items: flex-start;\n justify-content: flex-end;\n padding-top: 16px;\n}\n.duet-banner .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n.duet-banner .visual .image-container {\n width: 100%;\n height: auto;\n border-radius: 0;\n}\n.duet-banner .visual .icon {\n bottom: 30px;\n left: 15px;\n}\n.duet-banner.duet-theme-turva {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n.duet-banner.duet-theme-turva .visual .brand-shape {\n mask-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 160 344' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7920_3801)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.58983 142.533C0.751086 155.147 0.0746585 167.857 0.00796847 179.225C0.00263853 179.814 0 180.409 0 181.007C0 194.845 1.41172 210.806 3.58065 223.171C5.6528 234.934 8.58716 246.495 12.5981 257.779C21.2249 282.059 34.0151 304.109 50.8401 323.977C56.7824 330.993 63.0921 337.68 69.8162 344H160V0H65.0733C52.1771 10.7866 41.4339 23.4177 32.7528 37.7978C21.1154 57.0822 14.0367 77.9583 9.75424 99.7913C9.09214 103.157 8.55049 106.545 8.00901 109.933C7.75185 111.542 7.49474 113.15 7.22478 114.756C6.74308 117.618 6.24543 120.479 5.74776 123.34C4.6361 129.729 3.52432 136.12 2.58983 142.533Z' fill='%23F5F5F7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7920_3801'%3E%3Crect width='160' height='344' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A\");\n}\n.duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-disable */\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-medium .visual, .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-medium .visual .image-container, .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-medium .visual .image, .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-medium .visual .icon, .duet-banner.size-large .visual .icon {\n top: 36px;\n left: 168px;\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-medium .content, .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 28px 28px 28px 0;\n }\n .duet-banner.size-medium .action, .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n@container duet-banner-container (min-width: 586px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n.duet-banner.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-large .visual .icon {\n top: 40px;\n bottom: auto;\n left: 335px;\n }\n .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 48px 48px 48px 0;\n }\n .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n.duet-banner.no-image {\n display: flex;\n justify-content: center;\n padding: 36px 20px;\n}\n.duet-banner.no-image .visual {\n display: none;\n}\n.duet-banner.no-image .content {\n width: 100%;\n max-width: 720px;\n padding: 0;\n}\n.duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-enable */\n padding: 48px;\n }\n}";var DuetBannerStyle0=duetBannerCss;var DuetBanner=function(){function n(n){var e=this;registerInstance(this,n);this.checkCurrentSize=function(){var n=e.element.clientWidth;if(n<500||e.size==="small"){e.currentSize="small"}else if(n<900||e.size==="medium"){e.currentSize="medium"}else{e.currentSize="large"}e.setButtonSize()};this.setButtonSize=function(){if(e.hasActionSlot&&e.currentSize){var n=e.element.querySelectorAll("[slot='action'] duet-button, duet-button[slot='action']");for(var t=0,a=n;t<a.length;t++){var i=a[t];if(i&&i.getAttribute("size")===null&&e.currentSize!=="large"){i.size="small"}else if(i&&i.getAttribute("size")===null&&e.currentSize==="large"){i.size="medium"}}}};this.currentSize=undefined;this.theme="";this.margin="auto";this.backgroundColor="primary-lighter";this.iconColor="gray-lightest";this.iconBackgroundColor="primary";this.textColor="secondary";this.size="large";this.image="";this.sources=undefined;this.icon="";this.headingLevel="h2"}n.prototype.componentWillLoad=function(){inheritGlobalTheme(this);this.hasHeadingSlot=hasSlot(this.element,"heading");this.hasDescriptionSlot=hasSlot(this.element,"description");this.hasActionSlot=hasSlot(this.element,"action");checkNamedSlotElement(this.element,"heading","span");this.setButtonSize()};n.prototype.connectedCallback=function(){window.addEventListener("resize",this.checkCurrentSize)};n.prototype.disconnectedCallback=function(){window.removeEventListener("resize",this.checkCurrentSize)};n.prototype.componentDidRender=function(){this.checkCurrentSize()};n.prototype.render=function(){var n;var e=this.theme==="turva"&&this.backgroundColor==="primary-lighter"?"gray-lighter":this.backgroundColor;var t=getColorByName(e,this.theme);var a=getColorByName(this.textColor,this.theme);var i={backgroundColor:t};var r={img:{src:this.image,alt:"",loading:"lazy",class:"image",role:"presentation"},sources:parsePossibleJSON(this.sources)};return h(Host,{key:"b8716b8067524ae7e4c29e56cdc37d6219c7743a",class:{"duet-m-0":this.margin==="none"}},h("aside",{key:"7c4b420d5a203fa5066f4a71a801c9fc288e179c",class:(n={"duet-banner":true,"duet-theme-turva":this.theme==="turva"},n[this.currentSize]=true,n["size-medium"]=this.size==="medium"||this.size==="large",n["size-large"]=this.size==="large",n["no-image"]=!this.image,n),style:i},h("div",{key:"dd84b698336d0c159b692bde709c6f10bfe414bf",class:"visual"},h("div",{key:"c92d3fdabc120fa760c30ae44e90a29439817940",class:"image-container"},this.image&&h(DuetPicture,Object.assign({key:"bab1712aa5f1ab77a6c96babc607a9a9d4359dd2"},r))),1>2,h("div",{key:"411fc99b5c017a4b89f4aa375d6725e9e85314e6",style:i,class:"brand-shape"})),h("div",{key:"6ba154b92216b98f00b33d740175760049157d14",class:"content"},this.hasHeadingSlot&&h("div",{key:"ba3ab430999ab6f0823ab957b06bcc4077799c5a",class:"heading"},h("duet-heading",{key:"256ed05f27e6c6c3ec987d4039d6a7caf713458b",theme:this.theme,level:this.headingLevel,"visual-level":this.currentSize==="large"?"h2":"h3","fixed-size":true,margin:"none",color:this.textColor},h("span",{key:"197dbc447ca8910b13c8317cd00507e034e84e6f"},h("slot",{key:"cba3fcc030b0412d981e7cc94626e90aa628cb25",name:"heading"})))),this.hasDescriptionSlot&&h("div",{key:"dbcc6142fe33db74bccac1d54a1fe2a8e8ccc064",class:"description",style:{color:a}},h("slot",{key:"1806ab5f5be1ee076c3978f1fcb676cef6b62893",name:"description"})),this.hasActionSlot&&h("div",{key:"bf9fd56968048a53d15cc1849c2a3b4619851c49",class:"action"},h("slot",{key:"367d2a86cb83fe2d2bdb91ae1e133453e35ce895",name:"action"})))))};Object.defineProperty(n.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return n}();DuetBanner.style=DuetBannerStyle0;export{DuetBanner as duet_banner};
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as registerInstance,h,H as Host,g as getElement}from"./index-fa810c91.js";import{i as inheritGlobalTheme}from"./themeable-component-860041c5.js";import{s as subscribeTabbingChange,u as unsubscribeTabbingChange}from"./keyboard-utils-daf80d44.js";import{a as getLanguage,c as connectLanguageChangeObserver,d as disconnectLanguageChangeObserver,g as getLocaleString}from"./language-utils-35eb1c9f.js";import"./string-utils-192eb3c8.js";var actionArrowRightSmall={title:"action-arrow-right-small",tags:"action arrow right small caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z"/></svg>'};var duetBreadcrumbCss="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:list-item;width:auto}.container{display:flex;gap:8px;align-items:center}.hide{display:none}.duet-breadrumbs-arrow{display:block;align-items:center;justify-content:center;width:0.375rem;min-width:0.375rem;height:0.375rem;min-height:0.375rem}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;font-weight:inherit;line-height:1.25;color:inherit;text-decoration:none}.duet-breadcrumb:focus{outline:0}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";var DuetBreadcrumbStyle0=duetBreadcrumbCss;var DuetBreadcrumb=function(){function e(e){registerInstance(this,e);this.currentCrumb={fi:"disabled. Nykyinen sivu",sv:"disabled. Visa mer",en:"disabled. Nuvarande sida"};this.hasSlottedContent=false;this.theme="";this.language=getLanguage();this.href="";this.icon="arrow-right-small-icon";this.iconSize="x-small";this.accessibleLabel=undefined}e.prototype.componentWillLoad=function(){inheritGlobalTheme(this)};e.prototype.connectedCallback=function(){connectLanguageChangeObserver(this);subscribeTabbingChange(this);this.hasSlottedContent=Array.from(this.element.childNodes).length>0};e.prototype.disconnectedCallback=function(){disconnectLanguageChangeObserver(this);unsubscribeTabbingChange(this)};e.prototype.render=function(){var e;return h(Host,{key:"e3bac4d65f78839055c45f4c4b7bd3da5485f484",role:"listitem"},h("div",{key:"1feb1346cc8855bf09f723a86fb033508ea3892b",class:"container"},this.icon==="arrow-right-small-icon"&&h("duet-icon",{key:"7ee4f27fd98952d5c7f90bc22c9d57dc2d028059",class:"duet-breadrumbs-arrow",size:"auto",icon:actionArrowRightSmall.svg,margin:"none",color:"currentColor"}),h("a",{key:"41ec8a37cdfcda38d9873a44406ecf7554faa4f9",class:{"duet-breadcrumb":true,"duet-theme-turva":this.theme==="turva"},href:this.href?this.href:undefined,"aria-label":"".concat(!this.href?"".concat(getLocaleString(this.currentCrumb)," "):"").concat((e=this.accessibleLabel)!==null&&e!==void 0?e:this.element.innerHTML),role:"link"},this.icon!=="arrow-right-small-icon"&&this.icon&&[h("duet-icon",{key:"dc43a33c4e67623deb9f7ea4980f1df6ffd9f5d2",size:this.iconSize,name:this.icon,margin:"none",color:"currentColor"}),this.hasSlottedContent&&h("duet-spacer",{key:"a4f0bb0d08370e92dd2410e98f506494be21afab",size:"x-small",direction:"horizontal"})],h("slot",{key:"1f7a919751cb64f71118b681b6d8450f980c69f0"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DuetBreadcrumb.style=DuetBreadcrumbStyle0;export{DuetBreadcrumb as duet_breadcrumb};