@duetds/components 10.0.0-alpha.9 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1236) hide show
  1. package/hydrate/index.d.ts +38 -7
  2. package/hydrate/index.js +9485 -4052
  3. package/hydrate/index.mjs +46153 -0
  4. package/lib/cjs/_commonjsHelpers-4N64IRaP.js +10 -0
  5. package/lib/cjs/a11y-utils-DmZK4TTO.js +46 -0
  6. package/lib/cjs/action-arrow-down-small-CDsSJFvZ.js +21 -0
  7. package/lib/cjs/action-new-window-small-BWlVx6YN.js +21 -0
  8. package/lib/cjs/{app-globals-2b7fff72.js → app-globals-C35yvbFy.js} +2 -2
  9. package/lib/cjs/{common-strings-2984301e.js → common-strings-CC6Xpjb8.js} +30 -0
  10. package/lib/cjs/duet-action-button.cjs.entry.js +84 -29
  11. package/lib/cjs/duet-alert.cjs.entry.js +106 -49
  12. package/lib/cjs/duet-badge.cjs.entry.js +31 -9
  13. package/lib/cjs/duet-banner.cjs.entry.js +71 -28
  14. package/lib/cjs/duet-breadcrumb.cjs.entry.js +37 -26
  15. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +20 -14
  16. package/lib/cjs/duet-button_2.cjs.entry.js +152 -72
  17. package/lib/cjs/duet-callout.cjs.entry.js +13 -10
  18. package/lib/cjs/duet-caption_4.cjs.entry.js +212 -47
  19. package/lib/cjs/duet-card.cjs.entry.js +93 -35
  20. package/lib/cjs/duet-checkbox.cjs.entry.js +68 -32
  21. package/lib/cjs/duet-checkmark.cjs.entry.js +21 -9
  22. package/lib/cjs/duet-chip.cjs.entry.js +60 -33
  23. package/lib/cjs/duet-choice_2.cjs.entry.js +279 -130
  24. package/lib/cjs/duet-collapsible.cjs.entry.js +92 -33
  25. package/lib/cjs/duet-combobox.cjs.entry.js +99 -58
  26. package/lib/cjs/duet-contact-card.cjs.entry.js +17 -18
  27. package/lib/cjs/duet-cookie-consent.cjs.entry.js +14 -11
  28. package/lib/cjs/duet-date-picker.cjs.entry.js +158 -57
  29. package/lib/cjs/duet-divider_2.cjs.entry.js +30 -14
  30. package/lib/cjs/duet-editable-table_3.cjs.entry.js +556 -210
  31. package/lib/cjs/duet-empty-state.cjs.entry.js +15 -9
  32. package/lib/cjs/duet-fieldset.cjs.entry.js +51 -18
  33. package/lib/cjs/duet-file-chooser.cjs.entry.js +18 -11
  34. package/lib/cjs/duet-footer.cjs.entry.js +56 -30
  35. package/lib/cjs/duet-grid_2.cjs.entry.js +165 -64
  36. package/lib/cjs/duet-header_2.cjs.entry.js +302 -91
  37. package/lib/cjs/duet-hero.cjs.entry.js +159 -35
  38. package/lib/cjs/duet-icon.cjs.entry.js +64 -20
  39. package/lib/cjs/duet-indicator.cjs.entry.js +61 -0
  40. package/lib/cjs/duet-input_2.cjs.entry.js +225 -86
  41. package/lib/cjs/duet-layout.cjs.entry.js +33 -13
  42. package/lib/cjs/duet-list_2.cjs.entry.js +58 -14
  43. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +24 -16
  44. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +19 -14
  45. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +21 -16
  46. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +40 -19
  47. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +18 -10
  48. package/lib/cjs/duet-menu-bar.cjs.entry.js +37 -59
  49. package/lib/cjs/duet-modal.cjs.entry.js +122 -35
  50. package/lib/cjs/duet-multiselect.cjs.entry.js +88 -42
  51. package/lib/cjs/duet-nav.cjs.entry.js +12 -8
  52. package/lib/cjs/duet-notification_2.cjs.entry.js +98 -32
  53. package/lib/cjs/duet-number-input.cjs.entry.js +191 -70
  54. package/lib/cjs/duet-overlay.cjs.entry.js +36 -14
  55. package/lib/cjs/duet-page-heading.cjs.entry.js +16 -11
  56. package/lib/cjs/duet-pagination_2.cjs.entry.js +162 -87
  57. package/lib/cjs/duet-panel.cjs.entry.js +52 -0
  58. package/lib/cjs/duet-phone-input.cjs.entry.js +115 -45
  59. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +226 -102
  60. package/lib/cjs/duet-progress.cjs.entry.js +32 -13
  61. package/lib/cjs/duet-promo-card.cjs.entry.js +27 -13
  62. package/lib/cjs/duet-radio_2.cjs.entry.js +114 -55
  63. package/lib/cjs/duet-range-slider.cjs.entry.js +73 -37
  64. package/lib/cjs/duet-scrollable_3.cjs.entry.js +233 -88
  65. package/lib/cjs/duet-section-layout.cjs.entry.js +17 -10
  66. package/lib/cjs/duet-select.cjs.entry.js +89 -46
  67. package/lib/cjs/duet-shaped-image.cjs.entry.js +16 -11
  68. package/lib/cjs/duet-share-chart-item.cjs.entry.js +22 -0
  69. package/lib/cjs/duet-share-chart.cjs.entry.js +85 -0
  70. package/lib/cjs/duet-show-more.cjs.entry.js +81 -38
  71. package/lib/cjs/duet-slideout-lang.cjs.entry.js +10 -10
  72. package/lib/cjs/duet-slideout-link.cjs.entry.js +49 -16
  73. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +25 -14
  74. package/lib/cjs/duet-slideout-panel.cjs.entry.js +50 -36
  75. package/lib/cjs/duet-slideout.cjs.entry.js +85 -52
  76. package/lib/cjs/duet-status-icon.cjs.entry.js +28 -15
  77. package/lib/cjs/duet-step_2.cjs.entry.js +72 -24
  78. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +25 -10
  79. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +27 -18
  80. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +40 -19
  81. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +18 -9
  82. package/lib/cjs/duet-submenu-bar.cjs.entry.js +27 -21
  83. package/lib/cjs/duet-textarea.cjs.entry.js +146 -71
  84. package/lib/cjs/duet-toggle.cjs.entry.js +50 -29
  85. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +22 -11
  86. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +27 -16
  87. package/lib/cjs/duet-toolbar-item.cjs.entry.js +46 -19
  88. package/lib/cjs/duet-toolbar-link.cjs.entry.js +21 -10
  89. package/lib/cjs/duet-toolbar.cjs.entry.js +12 -10
  90. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +24 -27
  91. package/lib/cjs/duet-tooltip.cjs.entry.js +98 -46
  92. package/lib/cjs/duet-tray.cjs.entry.js +63 -24
  93. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +30 -11
  94. package/lib/cjs/duet-upload-item.cjs.entry.js +12 -22
  95. package/lib/cjs/duet-visually-hidden.cjs.entry.js +4 -7
  96. package/lib/cjs/duet.cjs.js +8 -8
  97. package/lib/cjs/{errorcodes.utils-e3a0f607.js → errorcodes.utils-lNwivqkj.js} +2 -2
  98. package/lib/cjs/floating-ui.dom.browser.min-Cj0r5YDz.js +709 -0
  99. package/lib/cjs/{focus-utils-47d23c45.js → focus-utils-DFa0zwT7.js} +1 -1
  100. package/lib/cjs/form-search-CzPfHB80.js +21 -0
  101. package/lib/cjs/{index-7b1d76ef.js → index-C0kw3uAi.js} +1853 -1361
  102. package/lib/cjs/{label-874fd84f.js → label-BJ7gT5C1.js} +1 -1
  103. package/lib/cjs/{language-utils-a6a152b8.js → language-utils-v37OZJFe.js} +10 -2
  104. package/lib/cjs/loader.cjs.js +3 -5
  105. package/lib/cjs/{slot-utils-7e6aa48b.js → slot-utils-DFmRJ2pY.js} +6 -1
  106. package/lib/cjs/{teleport-c6f8391a.js → teleport-D5NDbuu0.js} +22 -7
  107. package/lib/cjs/themeable-component-BEm0vuJc.js +74 -0
  108. package/lib/cjs/{token-utils-5000595c.js → token-utils-BJtlJxnJ.js} +80 -9
  109. package/lib/cjs/{tokens-57e06fe4.js → tokens-BxWzRxOl.js} +150 -8
  110. package/lib/cjs/{tokens.module-7c947029.js → tokens.module-DJt2h4FX.js} +99 -3
  111. package/lib/cjs/{watch-options-30a12622.js → watch-options-D4JNsU3B.js} +0 -20
  112. package/lib/collection/collection-manifest.json +5 -1
  113. package/lib/collection/common/themeable-component.js +61 -3
  114. package/lib/collection/common-strings.js +28 -0
  115. package/lib/collection/components/duet-action-button/duet-action-button.css +29 -12
  116. package/lib/collection/components/duet-action-button/duet-action-button.js +92 -33
  117. package/lib/collection/components/duet-alert/duet-alert.css +96 -58
  118. package/lib/collection/components/duet-alert/duet-alert.js +145 -58
  119. package/lib/collection/components/duet-badge/duet-badge.css +24 -9
  120. package/lib/collection/components/duet-badge/duet-badge.js +30 -6
  121. package/lib/collection/components/duet-banner/duet-banner.css +51 -24
  122. package/lib/collection/components/duet-banner/duet-banner.js +94 -29
  123. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +10 -8
  124. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +26 -28
  125. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +18 -7
  126. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +15 -6
  127. package/lib/collection/components/duet-button/duet-button.css +140 -32
  128. package/lib/collection/components/duet-button/duet-button.js +169 -88
  129. package/lib/collection/components/duet-callout/duet-callout.css +7 -2
  130. package/lib/collection/components/duet-callout/duet-callout.js +10 -4
  131. package/lib/collection/components/duet-caption/duet-caption.css +7 -3
  132. package/lib/collection/components/duet-caption/duet-caption.js +18 -6
  133. package/lib/collection/components/duet-card/duet-card.css +48 -16
  134. package/lib/collection/components/duet-card/duet-card.js +131 -37
  135. package/lib/collection/components/duet-checkbox/duet-checkbox.css +30 -8
  136. package/lib/collection/components/duet-checkbox/duet-checkbox.js +86 -47
  137. package/lib/collection/components/duet-chip/duet-chip.css +66 -25
  138. package/lib/collection/components/duet-chip/duet-chip.js +67 -35
  139. package/lib/collection/components/duet-choice/duet-checkmark.css +4 -0
  140. package/lib/collection/components/duet-choice/duet-checkmark.js +22 -7
  141. package/lib/collection/components/duet-choice/duet-choice.css +160 -40
  142. package/lib/collection/components/duet-choice/duet-choice.js +241 -139
  143. package/lib/collection/components/duet-choice-group/duet-choice-group.css +4 -4
  144. package/lib/collection/components/duet-choice-group/duet-choice-group.js +109 -48
  145. package/lib/collection/components/duet-collapsible/duet-collapsible.css +36 -13
  146. package/lib/collection/components/duet-collapsible/duet-collapsible.js +97 -35
  147. package/lib/collection/components/duet-combobox/duet-combobox.css +9 -2
  148. package/lib/collection/components/duet-combobox/duet-combobox.js +103 -56
  149. package/lib/collection/components/duet-contact-card/duet-contact-card.css +8 -4
  150. package/lib/collection/components/duet-contact-card/duet-contact-card.js +21 -19
  151. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +23 -14
  152. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +11 -5
  153. package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
  154. package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
  155. package/lib/collection/components/duet-date-picker/duet-date-picker.css +102 -45
  156. package/lib/collection/components/duet-date-picker/duet-date-picker.js +172 -69
  157. package/lib/collection/components/duet-divider/duet-divider.css +12 -6
  158. package/lib/collection/components/duet-divider/duet-divider.js +14 -4
  159. package/lib/collection/components/duet-editable-table/duet-editable-table.css +2 -2
  160. package/lib/collection/components/duet-editable-table/duet-editable-table.js +83 -26
  161. package/lib/collection/components/duet-empty-state/duet-empty-state.css +11 -6
  162. package/lib/collection/components/duet-empty-state/duet-empty-state.js +14 -5
  163. package/lib/collection/components/duet-fieldset/duet-fieldset.css +13 -6
  164. package/lib/collection/components/duet-fieldset/duet-fieldset.js +58 -20
  165. package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +2 -2
  166. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +17 -7
  167. package/lib/collection/components/duet-footer/duet-footer.css +43 -14
  168. package/lib/collection/components/duet-footer/duet-footer.js +55 -27
  169. package/lib/collection/components/duet-grid/duet-grid.css +2 -6
  170. package/lib/collection/components/duet-grid/duet-grid.js +144 -67
  171. package/lib/collection/components/duet-grid-item/duet-grid-item.css +6 -2
  172. package/lib/collection/components/duet-grid-item/duet-grid-item.js +40 -13
  173. package/lib/collection/components/duet-header/duet-header.css +165 -65
  174. package/lib/collection/components/duet-header/duet-header.js +165 -76
  175. package/lib/collection/components/duet-heading/duet-heading.css +11 -6
  176. package/lib/collection/components/duet-heading/duet-heading.js +38 -14
  177. package/lib/collection/components/duet-hero/duet-hero.css +326 -18
  178. package/lib/collection/components/duet-hero/duet-hero.js +197 -51
  179. package/lib/collection/components/duet-icon/duet-icon.css +17 -5
  180. package/lib/collection/components/duet-icon/duet-icon.js +71 -24
  181. package/lib/collection/components/duet-indicator/duet-indicator.css +50 -0
  182. package/lib/collection/components/duet-indicator/duet-indicator.js +138 -0
  183. package/lib/collection/components/duet-input/duet-input.css +142 -67
  184. package/lib/collection/components/duet-input/duet-input.js +312 -138
  185. package/lib/collection/components/duet-label/duet-label.css +8 -4
  186. package/lib/collection/components/duet-label/duet-label.js +23 -8
  187. package/lib/collection/components/duet-layout/duet-layout.css +4 -4
  188. package/lib/collection/components/duet-layout/duet-layout.js +35 -12
  189. package/lib/collection/components/duet-link/duet-link.css +144 -25
  190. package/lib/collection/components/duet-link/duet-link.js +120 -32
  191. package/lib/collection/components/duet-list/duet-list.css +4 -4
  192. package/lib/collection/components/duet-list/duet-list.js +38 -9
  193. package/lib/collection/components/duet-list-item/duet-list-item.css +29 -9
  194. package/lib/collection/components/duet-list-item/duet-list-item.js +50 -4
  195. package/lib/collection/components/duet-logo/duet-logo.css +36 -8
  196. package/lib/collection/components/duet-logo/duet-logo.js +111 -11
  197. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +108 -6
  198. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +59 -58
  199. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +17 -8
  200. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +33 -22
  201. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +28 -12
  202. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +20 -12
  203. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +19 -9
  204. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +18 -10
  205. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +28 -10
  206. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +39 -16
  207. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +25 -10
  208. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +19 -8
  209. package/lib/collection/components/duet-modal/duet-modal.css +23 -25
  210. package/lib/collection/components/duet-modal/duet-modal.js +193 -39
  211. package/lib/collection/components/duet-multiselect/duet-multiselect.css +70 -29
  212. package/lib/collection/components/duet-multiselect/duet-multiselect.js +98 -48
  213. package/lib/collection/components/duet-nav/duet-nav.css +8 -4
  214. package/lib/collection/components/duet-nav/duet-nav.js +10 -3
  215. package/lib/collection/components/duet-notification/duet-notification.css +33 -26
  216. package/lib/collection/components/duet-notification/duet-notification.js +46 -9
  217. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +38 -36
  218. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +57 -24
  219. package/lib/collection/components/duet-number-input/duet-number-input.css +29 -14
  220. package/lib/collection/components/duet-number-input/duet-number-input.js +204 -103
  221. package/lib/collection/components/duet-overlay/duet-overlay.css +5 -1
  222. package/lib/collection/components/duet-overlay/duet-overlay.js +40 -15
  223. package/lib/collection/components/duet-page-heading/duet-page-heading.css +44 -16
  224. package/lib/collection/components/duet-page-heading/duet-page-heading.js +17 -9
  225. package/lib/collection/components/duet-pagination/duet-pagination.css +8 -4
  226. package/lib/collection/components/duet-pagination/duet-pagination.js +130 -76
  227. package/lib/collection/components/duet-panel/duet-panel.css +99 -0
  228. package/lib/collection/components/duet-panel/duet-panel.js +233 -0
  229. package/lib/collection/components/duet-paragraph/duet-paragraph.css +19 -6
  230. package/lib/collection/components/duet-paragraph/duet-paragraph.js +29 -8
  231. package/lib/collection/components/duet-phone-input/duet-phone-input.css +46 -2
  232. package/lib/collection/components/duet-phone-input/duet-phone-input.js +207 -54
  233. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +14 -6
  234. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +183 -89
  235. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +30 -12
  236. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +64 -29
  237. package/lib/collection/components/duet-progress/duet-progress.css +27 -8
  238. package/lib/collection/components/duet-progress/duet-progress.js +36 -14
  239. package/lib/collection/components/duet-promo-card/duet-promo-card.css +18 -12
  240. package/lib/collection/components/duet-promo-card/duet-promo-card.js +47 -11
  241. package/lib/collection/components/duet-radio/duet-radio.css +41 -8
  242. package/lib/collection/components/duet-radio/duet-radio.js +67 -49
  243. package/lib/collection/components/duet-radio-group/duet-radio-group.css +4 -4
  244. package/lib/collection/components/duet-radio-group/duet-radio-group.js +78 -30
  245. package/lib/collection/components/duet-range-slider/duet-range-slider.css +63 -18
  246. package/lib/collection/components/duet-range-slider/duet-range-slider.js +85 -46
  247. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +8 -4
  248. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +43 -14
  249. package/lib/collection/components/duet-scrollable/duet-scrollable.css +29 -19
  250. package/lib/collection/components/duet-scrollable/duet-scrollable.js +170 -29
  251. package/lib/collection/components/duet-section-layout/duet-section-layout.css +4 -4
  252. package/lib/collection/components/duet-section-layout/duet-section-layout.js +16 -6
  253. package/lib/collection/components/duet-select/duet-select.css +54 -23
  254. package/lib/collection/components/duet-select/duet-select.js +109 -63
  255. package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +6 -6
  256. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +17 -9
  257. package/lib/collection/components/duet-share-chart/duet-share-chart.css +82 -0
  258. package/lib/collection/components/duet-share-chart/duet-share-chart.js +141 -0
  259. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +67 -0
  260. package/lib/collection/components/duet-show-more/duet-show-more.css +15 -8
  261. package/lib/collection/components/duet-show-more/duet-show-more.js +87 -37
  262. package/lib/collection/components/duet-slideout/duet-slideout.css +72 -40
  263. package/lib/collection/components/duet-slideout/duet-slideout.js +88 -50
  264. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +10 -6
  265. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +5 -2
  266. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +24 -11
  267. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +50 -15
  268. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +63 -40
  269. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +47 -30
  270. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +29 -16
  271. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +25 -11
  272. package/lib/collection/components/duet-spacer/duet-spacer.css +2 -2
  273. package/lib/collection/components/duet-spacer/duet-spacer.js +14 -4
  274. package/lib/collection/components/duet-spinner/duet-spinner.css +10 -16
  275. package/lib/collection/components/duet-spinner/duet-spinner.js +21 -23
  276. package/lib/collection/components/duet-status-icon/duet-status-icon.js +30 -15
  277. package/lib/collection/components/duet-step/duet-step.css +28 -13
  278. package/lib/collection/components/duet-step/duet-step.js +25 -16
  279. package/lib/collection/components/duet-stepper/duet-stepper.css +4 -4
  280. package/lib/collection/components/duet-stepper/duet-stepper.js +45 -10
  281. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +34 -16
  282. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +25 -16
  283. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +49 -15
  284. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +25 -13
  285. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +29 -8
  286. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +26 -8
  287. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +33 -10
  288. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +38 -15
  289. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +34 -9
  290. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +17 -5
  291. package/lib/collection/components/duet-tab/duet-tab.css +15 -11
  292. package/lib/collection/components/duet-tab/duet-tab.js +88 -24
  293. package/lib/collection/components/duet-tab-group/duet-tab-group.css +131 -85
  294. package/lib/collection/components/duet-tab-group/duet-tab-group.js +168 -51
  295. package/lib/collection/components/duet-table/duet-table-styles.js +68 -4
  296. package/lib/collection/components/duet-table/duet-table.js +43 -14
  297. package/lib/collection/components/duet-textarea/duet-textarea.css +67 -22
  298. package/lib/collection/components/duet-textarea/duet-textarea.js +227 -99
  299. package/lib/collection/components/duet-toggle/duet-toggle.css +26 -10
  300. package/lib/collection/components/duet-toggle/duet-toggle.js +62 -38
  301. package/lib/collection/components/duet-toolbar/duet-toolbar.css +11 -4
  302. package/lib/collection/components/duet-toolbar/duet-toolbar.js +11 -6
  303. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +42 -12
  304. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +28 -14
  305. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +21 -8
  306. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +23 -9
  307. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +52 -30
  308. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +48 -19
  309. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +60 -10
  310. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +23 -9
  311. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +24 -14
  312. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +9 -11
  313. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +48 -16
  314. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +18 -14
  315. package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -4
  316. package/lib/collection/components/duet-tooltip/duet-tooltip.js +100 -45
  317. package/lib/collection/components/duet-tray/duet-tray.css +43 -27
  318. package/lib/collection/components/duet-tray/duet-tray.js +63 -21
  319. package/lib/collection/components/duet-upload/duet-upload.css +6 -6
  320. package/lib/collection/components/duet-upload/duet-upload.js +419 -213
  321. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +35 -13
  322. package/lib/collection/components/duet-upload-item/duet-upload-item.js +17 -18
  323. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.css +3 -3
  324. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  325. package/lib/collection/index.js +1 -0
  326. package/lib/collection/utils/a11y-utils.js +20 -0
  327. package/lib/collection/utils/language-utils.js +7 -0
  328. package/lib/collection/utils/slot-utils.js +4 -0
  329. package/lib/collection/utils/teleport.js +22 -7
  330. package/lib/collection/utils/test-utils.js +2 -2
  331. package/lib/collection/utils/token-utils.js +59 -7
  332. package/lib/collection/utils/turva2-color-tokens.js +42 -0
  333. package/lib/duet/duet.esm.js +1 -1
  334. package/lib/duet/p-0393a2ca.entry.js +4 -0
  335. package/lib/duet/p-0b8da007.entry.js +4 -0
  336. package/lib/duet/p-0d2652f7.entry.js +4 -0
  337. package/lib/duet/p-0f746b98.entry.js +4 -0
  338. package/lib/duet/p-1061ece7.entry.js +4 -0
  339. package/lib/duet/p-10b89587.entry.js +4 -0
  340. package/lib/duet/p-155804fc.entry.js +4 -0
  341. package/lib/duet/p-1695a1dd.entry.js +4 -0
  342. package/lib/duet/p-1c122e53.entry.js +4 -0
  343. package/lib/duet/{p-8cbd3dfd.entry.js → p-1ede805a.entry.js} +1 -1
  344. package/lib/duet/p-1fc5668c.entry.js +4 -0
  345. package/lib/duet/p-203c2af3.entry.js +4 -0
  346. package/lib/duet/p-2170d5a6.entry.js +4 -0
  347. package/lib/duet/{p-597e4a0d.entry.js → p-2292ac97.entry.js} +1 -1
  348. package/lib/duet/p-23719bbb.entry.js +4 -0
  349. package/lib/duet/p-25a8b510.entry.js +4 -0
  350. package/lib/duet/p-267d0b7d.entry.js +4 -0
  351. package/lib/duet/{p-7d5c5b60.entry.js → p-333694e4.entry.js} +1 -1
  352. package/lib/duet/p-36e58097.entry.js +4 -0
  353. package/lib/duet/p-38159827.entry.js +4 -0
  354. package/lib/duet/p-3968d0e9.entry.js +4 -0
  355. package/lib/duet/p-39775eb6.entry.js +4 -0
  356. package/lib/duet/p-3f940846.entry.js +4 -0
  357. package/lib/duet/p-3fbe4a4b.entry.js +4 -0
  358. package/lib/duet/p-3hcgvjwC.js +4 -0
  359. package/lib/duet/p-40dc43ed.entry.js +4 -0
  360. package/lib/duet/p-4203ad81.entry.js +4 -0
  361. package/lib/duet/p-42c15472.entry.js +4 -0
  362. package/lib/duet/p-43129496.entry.js +4 -0
  363. package/lib/duet/p-44e37a84.entry.js +4 -0
  364. package/lib/duet/p-451c55fb.entry.js +4 -0
  365. package/lib/duet/p-475cc911.entry.js +4 -0
  366. package/lib/duet/p-47d446f9.entry.js +4 -0
  367. package/lib/duet/p-4966dc81.entry.js +4 -0
  368. package/lib/duet/{p-e5229df1.entry.js → p-4a86aee3.entry.js} +1 -1
  369. package/lib/duet/p-4cc6fbda.entry.js +4 -0
  370. package/lib/duet/p-4d49d2ad.entry.js +4 -0
  371. package/lib/duet/p-529c4873.entry.js +4 -0
  372. package/lib/duet/p-53cb5ddf.entry.js +4 -0
  373. package/lib/duet/p-55243d88.entry.js +4 -0
  374. package/lib/duet/p-581d7bf3.entry.js +4 -0
  375. package/lib/duet/p-58ab58da.entry.js +4 -0
  376. package/lib/duet/p-58f95bf2.entry.js +4 -0
  377. package/lib/duet/p-5c89aaf2.entry.js +4 -0
  378. package/lib/duet/p-5e15625d.entry.js +4 -0
  379. package/lib/duet/p-5iZMFvpJ.js +4 -0
  380. package/lib/duet/p-6be3d1ac.entry.js +4 -0
  381. package/lib/duet/p-6cb3031c.entry.js +4 -0
  382. package/lib/duet/p-7a4f44c2.entry.js +4 -0
  383. package/lib/duet/p-7b820413.entry.js +4 -0
  384. package/lib/duet/p-7be47e32.entry.js +4 -0
  385. package/lib/duet/{p-546cf344.entry.js → p-7d3681f4.entry.js} +1 -1
  386. package/lib/duet/p-80fd305f.entry.js +4 -0
  387. package/lib/duet/p-85074a3f.entry.js +4 -0
  388. package/lib/duet/p-871323e5.entry.js +4 -0
  389. package/lib/duet/p-88682993.entry.js +4 -0
  390. package/lib/duet/p-8885f050.entry.js +4 -0
  391. package/lib/duet/p-89c4434a.entry.js +4 -0
  392. package/lib/duet/p-8a5a900e.entry.js +4 -0
  393. package/lib/duet/p-96725230.entry.js +4 -0
  394. package/lib/duet/p-9c2ad6b1.entry.js +4 -0
  395. package/lib/duet/p-BDAqOMlM.js +4 -0
  396. package/lib/duet/p-BVgBUIYF.js +4 -0
  397. package/lib/duet/{p-81287261.js → p-B_NkY9T0.js} +1 -1
  398. package/lib/duet/p-BdCvOZ0R.js +4 -0
  399. package/lib/duet/p-Bg75Vqqq.js +4 -0
  400. package/lib/duet/p-BmMFVM-y.js +4 -0
  401. package/lib/duet/{p-b3d6e031.js → p-CDjWio68.js} +1 -1
  402. package/lib/duet/p-CVPfl9fc.js +4 -0
  403. package/lib/duet/p-CXz8FCgk.js +4 -0
  404. package/lib/duet/p-CooAqTCj.js +4 -0
  405. package/lib/duet/{p-083bbc28.js → p-DEoH9jLj.js} +1 -1
  406. package/lib/duet/p-DOuLHrH5.js +4 -0
  407. package/lib/duet/p-DXnMp1Z1.js +4 -0
  408. package/lib/duet/p-DYyVxyo8.js +4 -0
  409. package/lib/duet/{p-a45e3f8b.js → p-Db8rvjPI.js} +1 -1
  410. package/lib/duet/p-DvwKrUS6.js +4 -0
  411. package/lib/duet/p-EZOAO_vc.js +5 -0
  412. package/lib/duet/p-Tof9ag29.js +4 -0
  413. package/lib/duet/p-a05d9667.entry.js +4 -0
  414. package/lib/duet/p-a109719f.entry.js +4 -0
  415. package/lib/duet/p-a2c4fa32.entry.js +4 -0
  416. package/lib/duet/p-a3a61c66.entry.js +4 -0
  417. package/lib/duet/p-ac2a957c.entry.js +4 -0
  418. package/lib/duet/p-b4541648.entry.js +4 -0
  419. package/lib/duet/p-b4bf40a5.entry.js +4 -0
  420. package/lib/duet/p-b7d0d9fa.entry.js +4 -0
  421. package/lib/duet/p-baa33e33.entry.js +4 -0
  422. package/lib/duet/p-bd1c363d.entry.js +4 -0
  423. package/lib/duet/p-bda426ce.entry.js +4 -0
  424. package/lib/duet/p-c010c504.entry.js +4 -0
  425. package/lib/duet/p-c14ad166.entry.js +4 -0
  426. package/lib/duet/p-c3a79627.entry.js +4 -0
  427. package/lib/duet/p-d06af257.entry.js +4 -0
  428. package/lib/duet/p-d70babeb.entry.js +4 -0
  429. package/lib/duet/p-dc3f731a.entry.js +4 -0
  430. package/lib/duet/p-dc50ce9f.entry.js +4 -0
  431. package/lib/duet/p-dc53f89d.entry.js +4 -0
  432. package/lib/duet/p-e0054c71.entry.js +4 -0
  433. package/lib/duet/p-e26fee5b.entry.js +4 -0
  434. package/lib/duet/p-e528ba03.entry.js +4 -0
  435. package/lib/duet/p-e80de2cb.entry.js +4 -0
  436. package/lib/duet/p-eb6c0729.entry.js +4 -0
  437. package/lib/duet/p-ef206ef5.entry.js +4 -0
  438. package/lib/duet/p-f2fadb27.entry.js +4 -0
  439. package/lib/duet/p-fcbdf07c.entry.js +4 -0
  440. package/lib/duet/p-vVCYtBMj.js +4 -0
  441. package/lib/esm/_commonjsHelpers-DvwKrUS6.js +8 -0
  442. package/lib/esm/a11y-utils-By9FOQXs.js +43 -0
  443. package/lib/esm/action-arrow-down-small-Bk3GShyI.js +19 -0
  444. package/lib/esm/action-new-window-small-EH8_HdAm.js +19 -0
  445. package/lib/esm/{app-globals-e00fbe9c.js → app-globals-xm_WC7uO.js} +2 -2
  446. package/lib/esm/common-strings-CVPfl9fc.js +53 -0
  447. package/lib/esm/duet-action-button.entry.js +84 -27
  448. package/lib/esm/duet-alert.entry.js +106 -47
  449. package/lib/esm/duet-badge.entry.js +31 -7
  450. package/lib/esm/duet-banner.entry.js +71 -26
  451. package/lib/esm/duet-breadcrumb.entry.js +38 -25
  452. package/lib/esm/duet-breadcrumbs.entry.js +20 -12
  453. package/lib/esm/duet-button_2.entry.js +152 -70
  454. package/lib/esm/duet-callout.entry.js +13 -8
  455. package/lib/esm/duet-caption_4.entry.js +212 -45
  456. package/lib/esm/duet-card.entry.js +93 -33
  457. package/lib/esm/duet-checkbox.entry.js +68 -30
  458. package/lib/esm/duet-checkmark.entry.js +21 -7
  459. package/lib/esm/duet-chip.entry.js +60 -31
  460. package/lib/esm/duet-choice_2.entry.js +280 -129
  461. package/lib/esm/duet-collapsible.entry.js +92 -31
  462. package/lib/esm/duet-combobox.entry.js +99 -56
  463. package/lib/esm/duet-contact-card.entry.js +17 -16
  464. package/lib/esm/duet-cookie-consent.entry.js +14 -9
  465. package/lib/esm/duet-date-picker.entry.js +158 -55
  466. package/lib/esm/duet-divider_2.entry.js +30 -12
  467. package/lib/esm/duet-editable-table_3.entry.js +556 -208
  468. package/lib/esm/duet-empty-state.entry.js +15 -7
  469. package/lib/esm/duet-fieldset.entry.js +51 -16
  470. package/lib/esm/duet-file-chooser.entry.js +18 -9
  471. package/lib/esm/duet-footer.entry.js +56 -28
  472. package/lib/esm/duet-grid_2.entry.js +165 -62
  473. package/lib/esm/duet-header_2.entry.js +303 -90
  474. package/lib/esm/duet-hero.entry.js +159 -33
  475. package/lib/esm/duet-icon.entry.js +64 -18
  476. package/lib/esm/duet-indicator.entry.js +59 -0
  477. package/lib/esm/duet-input_2.entry.js +226 -85
  478. package/lib/esm/duet-layout.entry.js +33 -11
  479. package/lib/esm/duet-list_2.entry.js +58 -12
  480. package/lib/esm/duet-menu-bar-button.entry.js +24 -14
  481. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +19 -12
  482. package/lib/esm/duet-menu-bar-dropdown.entry.js +21 -14
  483. package/lib/esm/duet-menu-bar-item.entry.js +40 -17
  484. package/lib/esm/duet-menu-bar-link.entry.js +18 -8
  485. package/lib/esm/duet-menu-bar.entry.js +37 -57
  486. package/lib/esm/duet-modal.entry.js +122 -33
  487. package/lib/esm/duet-multiselect.entry.js +88 -40
  488. package/lib/esm/duet-nav.entry.js +12 -6
  489. package/lib/esm/duet-notification_2.entry.js +98 -30
  490. package/lib/esm/duet-number-input.entry.js +192 -69
  491. package/lib/esm/duet-overlay.entry.js +36 -12
  492. package/lib/esm/duet-page-heading.entry.js +16 -9
  493. package/lib/esm/duet-pagination_2.entry.js +162 -85
  494. package/lib/esm/duet-panel.entry.js +50 -0
  495. package/lib/esm/duet-phone-input.entry.js +115 -43
  496. package/lib/esm/duet-popup-menu_2.entry.js +223 -97
  497. package/lib/esm/duet-progress.entry.js +32 -11
  498. package/lib/esm/duet-promo-card.entry.js +27 -11
  499. package/lib/esm/duet-radio_2.entry.js +114 -53
  500. package/lib/esm/duet-range-slider.entry.js +73 -35
  501. package/lib/esm/duet-scrollable_3.entry.js +233 -86
  502. package/lib/esm/duet-section-layout.entry.js +17 -8
  503. package/lib/esm/duet-select.entry.js +89 -44
  504. package/lib/esm/duet-shaped-image.entry.js +16 -9
  505. package/lib/esm/duet-share-chart-item.entry.js +20 -0
  506. package/lib/esm/duet-share-chart.entry.js +83 -0
  507. package/lib/esm/duet-show-more.entry.js +81 -36
  508. package/lib/esm/duet-slideout-lang.entry.js +10 -8
  509. package/lib/esm/duet-slideout-link.entry.js +49 -14
  510. package/lib/esm/duet-slideout-panel-dropdown.entry.js +25 -12
  511. package/lib/esm/duet-slideout-panel.entry.js +50 -34
  512. package/lib/esm/duet-slideout.entry.js +85 -50
  513. package/lib/esm/duet-status-icon.entry.js +28 -13
  514. package/lib/esm/duet-step_2.entry.js +73 -23
  515. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +25 -8
  516. package/lib/esm/duet-submenu-bar-dropdown.entry.js +27 -16
  517. package/lib/esm/duet-submenu-bar-item.entry.js +40 -17
  518. package/lib/esm/duet-submenu-bar-link.entry.js +18 -7
  519. package/lib/esm/duet-submenu-bar.entry.js +27 -19
  520. package/lib/esm/duet-textarea.entry.js +146 -69
  521. package/lib/esm/duet-toggle.entry.js +50 -27
  522. package/lib/esm/duet-toolbar-dropdown-link.entry.js +22 -9
  523. package/lib/esm/duet-toolbar-dropdown.entry.js +27 -14
  524. package/lib/esm/duet-toolbar-item.entry.js +46 -17
  525. package/lib/esm/duet-toolbar-link.entry.js +21 -8
  526. package/lib/esm/duet-toolbar.entry.js +12 -8
  527. package/lib/esm/duet-tooltip-button_2.entry.js +24 -25
  528. package/lib/esm/duet-tooltip.entry.js +97 -43
  529. package/lib/esm/duet-tray.entry.js +63 -22
  530. package/lib/esm/duet-upload-aria-status.entry.js +30 -9
  531. package/lib/esm/duet-upload-item.entry.js +12 -20
  532. package/lib/esm/duet-visually-hidden.entry.js +4 -5
  533. package/lib/esm/duet.js +7 -6
  534. package/lib/esm/{errorcodes.utils-416994cc.js → errorcodes.utils-By8gaKwQ.js} +3 -3
  535. package/lib/esm/floating-ui.dom.browser.min-B_NkY9T0.js +702 -0
  536. package/lib/{dist-custom-elements/p-e30dc66d.js → esm/focus-utils-BVqqQKeY.js} +1 -1
  537. package/lib/esm/form-search-CevX33LA.js +19 -0
  538. package/lib/esm/{index-1a6cee61.js → index-EZOAO_vc.js} +1851 -1357
  539. package/lib/{dist-custom-elements/p-8db11326.js → esm/keyboard-utils-Db8rvjPI.js} +1 -1
  540. package/lib/{dist-custom-elements/p-42619f94.js → esm/label-Dji6BDQC.js} +1 -1
  541. package/lib/esm/{language-utils-8a9d5323.js → language-utils-COd-eoxb.js} +10 -3
  542. package/lib/esm/loader.js +4 -4
  543. package/lib/esm/{slot-utils-bf214ae5.js → slot-utils-BSu3Mnho.js} +6 -2
  544. package/lib/esm/{teleport-546f382d.js → teleport-CooAqTCj.js} +22 -7
  545. package/lib/esm/themeable-component-spmVa3d3.js +72 -0
  546. package/lib/{dist-custom-elements/p-0562173d.js → esm/token-utils-Dks4GBDa.js} +80 -10
  547. package/lib/esm/{tokens-84fb2357.js → tokens-DOuLHrH5.js} +151 -7
  548. package/lib/esm/{tokens.module-2d02f5ff.js → tokens.module-BDAqOMlM.js} +100 -4
  549. package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-BmMFVM-y.js} +1 -20
  550. package/lib/index.js +1 -1
  551. package/lib/loader/cdn.js +1 -2
  552. package/lib/loader/index.cjs.js +1 -2
  553. package/lib/loader/index.es2017.js +0 -1
  554. package/lib/loader/index.js +1 -2
  555. package/lib/types/common-strings.d.ts +3 -0
  556. package/lib/types/common-types.d.ts +1 -1
  557. package/lib/types/components/duet-alert/duet-alert.d.ts +20 -10
  558. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
  559. package/lib/types/components/duet-banner/duet-banner.d.ts +6 -0
  560. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
  561. package/lib/types/components/duet-card/duet-card.d.ts +10 -0
  562. package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
  563. package/lib/types/components/duet-choice/duet-choice.d.ts +4 -8
  564. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +3 -2
  565. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +4 -1
  566. package/lib/types/components/duet-combobox/duet-combobox.d.ts +2 -0
  567. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +4 -0
  568. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +3 -0
  569. package/lib/types/components/duet-grid/duet-grid.d.ts +9 -7
  570. package/lib/types/components/duet-hero/duet-hero.d.ts +9 -0
  571. package/lib/types/components/duet-indicator/duet-indicator.d.ts +24 -0
  572. package/lib/types/components/duet-input/duet-input.d.ts +21 -13
  573. package/lib/types/components/duet-link/duet-link.d.ts +3 -0
  574. package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
  575. package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
  576. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
  577. package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
  578. package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
  579. package/lib/types/components/duet-number-input/duet-number-input.d.ts +13 -8
  580. package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
  581. package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
  582. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
  583. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +23 -1
  584. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +10 -6
  585. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
  586. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +4 -0
  587. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
  588. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +18 -0
  589. package/lib/types/components/duet-select/duet-select.d.ts +2 -1
  590. package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +34 -0
  591. package/lib/types/components/duet-share-chart-item/duet-share-chart-item.d.ts +13 -0
  592. package/lib/types/components/duet-show-more/duet-show-more.d.ts +1 -0
  593. package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -5
  594. package/lib/types/components/duet-spinner/duet-spinner.d.ts +6 -3
  595. package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +1 -0
  596. package/lib/types/components/duet-stepper/duet-stepper.d.ts +5 -2
  597. package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
  598. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +9 -0
  599. package/lib/types/components/duet-textarea/duet-textarea.d.ts +21 -9
  600. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
  601. package/lib/types/components.d.ts +2126 -73
  602. package/lib/types/index.d.ts +1 -0
  603. package/lib/types/stencil-public-runtime.d.ts +35 -6
  604. package/lib/types/utils/a11y-utils.d.ts +11 -0
  605. package/lib/types/utils/language-utils.d.ts +1 -0
  606. package/lib/types/utils/slot-utils.d.ts +1 -0
  607. package/lib/types/utils/teleport.d.ts +4 -1
  608. package/lib/types/utils/token-utils.d.ts +4 -0
  609. package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
  610. package/package.json +37 -17
  611. package/lib/cjs/a11y-utils-be617c0c.js +0 -25
  612. package/lib/cjs/action-arrow-down-small-ef77a2d1.js +0 -8
  613. package/lib/cjs/action-new-window-small-fa51dfb9.js +0 -8
  614. package/lib/cjs/floating-ui.dom.esm-806e7c53.js +0 -1355
  615. package/lib/cjs/form-search-d61b2843.js +0 -8
  616. package/lib/cjs/themeable-component-996b489c.js +0 -15
  617. package/lib/dist-custom-elements/duet-action-button.d.ts +0 -11
  618. package/lib/dist-custom-elements/duet-action-button.js +0 -9
  619. package/lib/dist-custom-elements/duet-alert.d.ts +0 -11
  620. package/lib/dist-custom-elements/duet-alert.js +0 -9
  621. package/lib/dist-custom-elements/duet-badge.d.ts +0 -11
  622. package/lib/dist-custom-elements/duet-badge.js +0 -9
  623. package/lib/dist-custom-elements/duet-banner.d.ts +0 -11
  624. package/lib/dist-custom-elements/duet-banner.js +0 -157
  625. package/lib/dist-custom-elements/duet-breadcrumb.d.ts +0 -11
  626. package/lib/dist-custom-elements/duet-breadcrumb.js +0 -101
  627. package/lib/dist-custom-elements/duet-breadcrumbs.d.ts +0 -11
  628. package/lib/dist-custom-elements/duet-breadcrumbs.js +0 -88
  629. package/lib/dist-custom-elements/duet-button.d.ts +0 -11
  630. package/lib/dist-custom-elements/duet-button.js +0 -9
  631. package/lib/dist-custom-elements/duet-callout.d.ts +0 -11
  632. package/lib/dist-custom-elements/duet-callout.js +0 -72
  633. package/lib/dist-custom-elements/duet-caption.d.ts +0 -11
  634. package/lib/dist-custom-elements/duet-caption.js +0 -9
  635. package/lib/dist-custom-elements/duet-card.d.ts +0 -11
  636. package/lib/dist-custom-elements/duet-card.js +0 -174
  637. package/lib/dist-custom-elements/duet-checkbox.d.ts +0 -11
  638. package/lib/dist-custom-elements/duet-checkbox.js +0 -9
  639. package/lib/dist-custom-elements/duet-checkmark.d.ts +0 -11
  640. package/lib/dist-custom-elements/duet-checkmark.js +0 -9
  641. package/lib/dist-custom-elements/duet-chip.d.ts +0 -11
  642. package/lib/dist-custom-elements/duet-chip.js +0 -9
  643. package/lib/dist-custom-elements/duet-choice-group.d.ts +0 -11
  644. package/lib/dist-custom-elements/duet-choice-group.js +0 -228
  645. package/lib/dist-custom-elements/duet-choice.d.ts +0 -11
  646. package/lib/dist-custom-elements/duet-choice.js +0 -454
  647. package/lib/dist-custom-elements/duet-collapsible.d.ts +0 -11
  648. package/lib/dist-custom-elements/duet-collapsible.js +0 -176
  649. package/lib/dist-custom-elements/duet-combobox.d.ts +0 -11
  650. package/lib/dist-custom-elements/duet-combobox.js +0 -702
  651. package/lib/dist-custom-elements/duet-contact-card.d.ts +0 -11
  652. package/lib/dist-custom-elements/duet-contact-card.js +0 -134
  653. package/lib/dist-custom-elements/duet-cookie-consent.d.ts +0 -11
  654. package/lib/dist-custom-elements/duet-cookie-consent.js +0 -106
  655. package/lib/dist-custom-elements/duet-date-picker.d.ts +0 -11
  656. package/lib/dist-custom-elements/duet-date-picker.js +0 -937
  657. package/lib/dist-custom-elements/duet-divider.d.ts +0 -11
  658. package/lib/dist-custom-elements/duet-divider.js +0 -9
  659. package/lib/dist-custom-elements/duet-editable-table.d.ts +0 -11
  660. package/lib/dist-custom-elements/duet-editable-table.js +0 -258
  661. package/lib/dist-custom-elements/duet-empty-state.d.ts +0 -11
  662. package/lib/dist-custom-elements/duet-empty-state.js +0 -9
  663. package/lib/dist-custom-elements/duet-fieldset.d.ts +0 -11
  664. package/lib/dist-custom-elements/duet-fieldset.js +0 -9
  665. package/lib/dist-custom-elements/duet-file-chooser.d.ts +0 -11
  666. package/lib/dist-custom-elements/duet-file-chooser.js +0 -86
  667. package/lib/dist-custom-elements/duet-footer.d.ts +0 -11
  668. package/lib/dist-custom-elements/duet-footer.js +0 -223
  669. package/lib/dist-custom-elements/duet-grid-item.d.ts +0 -11
  670. package/lib/dist-custom-elements/duet-grid-item.js +0 -9
  671. package/lib/dist-custom-elements/duet-grid.d.ts +0 -11
  672. package/lib/dist-custom-elements/duet-grid.js +0 -9
  673. package/lib/dist-custom-elements/duet-header.d.ts +0 -11
  674. package/lib/dist-custom-elements/duet-header.js +0 -698
  675. package/lib/dist-custom-elements/duet-heading.d.ts +0 -11
  676. package/lib/dist-custom-elements/duet-heading.js +0 -9
  677. package/lib/dist-custom-elements/duet-hero.d.ts +0 -11
  678. package/lib/dist-custom-elements/duet-hero.js +0 -299
  679. package/lib/dist-custom-elements/duet-icon.d.ts +0 -11
  680. package/lib/dist-custom-elements/duet-icon.js +0 -9
  681. package/lib/dist-custom-elements/duet-input.d.ts +0 -11
  682. package/lib/dist-custom-elements/duet-input.js +0 -9
  683. package/lib/dist-custom-elements/duet-label.d.ts +0 -11
  684. package/lib/dist-custom-elements/duet-label.js +0 -70
  685. package/lib/dist-custom-elements/duet-layout.d.ts +0 -11
  686. package/lib/dist-custom-elements/duet-layout.js +0 -94
  687. package/lib/dist-custom-elements/duet-link.d.ts +0 -11
  688. package/lib/dist-custom-elements/duet-link.js +0 -9
  689. package/lib/dist-custom-elements/duet-list-item.d.ts +0 -11
  690. package/lib/dist-custom-elements/duet-list-item.js +0 -9
  691. package/lib/dist-custom-elements/duet-list.d.ts +0 -11
  692. package/lib/dist-custom-elements/duet-list.js +0 -9
  693. package/lib/dist-custom-elements/duet-logo.d.ts +0 -11
  694. package/lib/dist-custom-elements/duet-logo.js +0 -9
  695. package/lib/dist-custom-elements/duet-menu-bar-button.d.ts +0 -11
  696. package/lib/dist-custom-elements/duet-menu-bar-button.js +0 -94
  697. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.d.ts +0 -11
  698. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +0 -87
  699. package/lib/dist-custom-elements/duet-menu-bar-dropdown.d.ts +0 -11
  700. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +0 -108
  701. package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +0 -11
  702. package/lib/dist-custom-elements/duet-menu-bar-item.js +0 -108
  703. package/lib/dist-custom-elements/duet-menu-bar-link.d.ts +0 -11
  704. package/lib/dist-custom-elements/duet-menu-bar-link.js +0 -70
  705. package/lib/dist-custom-elements/duet-menu-bar.d.ts +0 -11
  706. package/lib/dist-custom-elements/duet-menu-bar.js +0 -207
  707. package/lib/dist-custom-elements/duet-modal.d.ts +0 -11
  708. package/lib/dist-custom-elements/duet-modal.js +0 -382
  709. package/lib/dist-custom-elements/duet-multiselect.d.ts +0 -11
  710. package/lib/dist-custom-elements/duet-multiselect.js +0 -346
  711. package/lib/dist-custom-elements/duet-nav.d.ts +0 -11
  712. package/lib/dist-custom-elements/duet-nav.js +0 -54
  713. package/lib/dist-custom-elements/duet-notification-drawer.d.ts +0 -11
  714. package/lib/dist-custom-elements/duet-notification-drawer.js +0 -168
  715. package/lib/dist-custom-elements/duet-notification.d.ts +0 -11
  716. package/lib/dist-custom-elements/duet-notification.js +0 -95
  717. package/lib/dist-custom-elements/duet-number-input.d.ts +0 -11
  718. package/lib/dist-custom-elements/duet-number-input.js +0 -484
  719. package/lib/dist-custom-elements/duet-overlay.d.ts +0 -11
  720. package/lib/dist-custom-elements/duet-overlay.js +0 -9
  721. package/lib/dist-custom-elements/duet-page-heading.d.ts +0 -11
  722. package/lib/dist-custom-elements/duet-page-heading.js +0 -87
  723. package/lib/dist-custom-elements/duet-pagination.d.ts +0 -11
  724. package/lib/dist-custom-elements/duet-pagination.js +0 -493
  725. package/lib/dist-custom-elements/duet-paragraph.d.ts +0 -11
  726. package/lib/dist-custom-elements/duet-paragraph.js +0 -9
  727. package/lib/dist-custom-elements/duet-phone-input.d.ts +0 -11
  728. package/lib/dist-custom-elements/duet-phone-input.js +0 -2122
  729. package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +0 -11
  730. package/lib/dist-custom-elements/duet-popup-menu-item.js +0 -9
  731. package/lib/dist-custom-elements/duet-popup-menu.d.ts +0 -11
  732. package/lib/dist-custom-elements/duet-popup-menu.js +0 -9
  733. package/lib/dist-custom-elements/duet-progress.d.ts +0 -11
  734. package/lib/dist-custom-elements/duet-progress.js +0 -9
  735. package/lib/dist-custom-elements/duet-promo-card.d.ts +0 -11
  736. package/lib/dist-custom-elements/duet-promo-card.js +0 -105
  737. package/lib/dist-custom-elements/duet-radio-group.d.ts +0 -11
  738. package/lib/dist-custom-elements/duet-radio-group.js +0 -213
  739. package/lib/dist-custom-elements/duet-radio.d.ts +0 -11
  740. package/lib/dist-custom-elements/duet-radio.js +0 -230
  741. package/lib/dist-custom-elements/duet-range-slider.d.ts +0 -11
  742. package/lib/dist-custom-elements/duet-range-slider.js +0 -181
  743. package/lib/dist-custom-elements/duet-range-stepper.d.ts +0 -11
  744. package/lib/dist-custom-elements/duet-range-stepper.js +0 -234
  745. package/lib/dist-custom-elements/duet-scrollable.d.ts +0 -11
  746. package/lib/dist-custom-elements/duet-scrollable.js +0 -9
  747. package/lib/dist-custom-elements/duet-section-layout.d.ts +0 -11
  748. package/lib/dist-custom-elements/duet-section-layout.js +0 -56
  749. package/lib/dist-custom-elements/duet-select.d.ts +0 -11
  750. package/lib/dist-custom-elements/duet-select.js +0 -9
  751. package/lib/dist-custom-elements/duet-shaped-image.d.ts +0 -11
  752. package/lib/dist-custom-elements/duet-shaped-image.js +0 -64
  753. package/lib/dist-custom-elements/duet-show-more.d.ts +0 -11
  754. package/lib/dist-custom-elements/duet-show-more.js +0 -9
  755. package/lib/dist-custom-elements/duet-slideout-lang.d.ts +0 -11
  756. package/lib/dist-custom-elements/duet-slideout-lang.js +0 -76
  757. package/lib/dist-custom-elements/duet-slideout-link.d.ts +0 -11
  758. package/lib/dist-custom-elements/duet-slideout-link.js +0 -98
  759. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.d.ts +0 -11
  760. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +0 -93
  761. package/lib/dist-custom-elements/duet-slideout-panel.d.ts +0 -11
  762. package/lib/dist-custom-elements/duet-slideout-panel.js +0 -224
  763. package/lib/dist-custom-elements/duet-slideout.d.ts +0 -11
  764. package/lib/dist-custom-elements/duet-slideout.js +0 -328
  765. package/lib/dist-custom-elements/duet-spacer.d.ts +0 -11
  766. package/lib/dist-custom-elements/duet-spacer.js +0 -9
  767. package/lib/dist-custom-elements/duet-spinner.d.ts +0 -11
  768. package/lib/dist-custom-elements/duet-spinner.js +0 -9
  769. package/lib/dist-custom-elements/duet-status-icon.d.ts +0 -11
  770. package/lib/dist-custom-elements/duet-status-icon.js +0 -111
  771. package/lib/dist-custom-elements/duet-step.d.ts +0 -11
  772. package/lib/dist-custom-elements/duet-step.js +0 -147
  773. package/lib/dist-custom-elements/duet-stepper.d.ts +0 -11
  774. package/lib/dist-custom-elements/duet-stepper.js +0 -151
  775. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.d.ts +0 -11
  776. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +0 -81
  777. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +0 -11
  778. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +0 -152
  779. package/lib/dist-custom-elements/duet-submenu-bar-item.d.ts +0 -11
  780. package/lib/dist-custom-elements/duet-submenu-bar-item.js +0 -113
  781. package/lib/dist-custom-elements/duet-submenu-bar-link.d.ts +0 -11
  782. package/lib/dist-custom-elements/duet-submenu-bar-link.js +0 -72
  783. package/lib/dist-custom-elements/duet-submenu-bar.d.ts +0 -11
  784. package/lib/dist-custom-elements/duet-submenu-bar.js +0 -192
  785. package/lib/dist-custom-elements/duet-tab-group.d.ts +0 -11
  786. package/lib/dist-custom-elements/duet-tab-group.js +0 -312
  787. package/lib/dist-custom-elements/duet-tab.d.ts +0 -11
  788. package/lib/dist-custom-elements/duet-tab.js +0 -150
  789. package/lib/dist-custom-elements/duet-table.d.ts +0 -11
  790. package/lib/dist-custom-elements/duet-table.js +0 -9
  791. package/lib/dist-custom-elements/duet-textarea.d.ts +0 -11
  792. package/lib/dist-custom-elements/duet-textarea.js +0 -301
  793. package/lib/dist-custom-elements/duet-toggle.d.ts +0 -11
  794. package/lib/dist-custom-elements/duet-toggle.js +0 -146
  795. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.d.ts +0 -11
  796. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +0 -80
  797. package/lib/dist-custom-elements/duet-toolbar-dropdown.d.ts +0 -11
  798. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +0 -107
  799. package/lib/dist-custom-elements/duet-toolbar-item.d.ts +0 -11
  800. package/lib/dist-custom-elements/duet-toolbar-item.js +0 -120
  801. package/lib/dist-custom-elements/duet-toolbar-link.d.ts +0 -11
  802. package/lib/dist-custom-elements/duet-toolbar-link.js +0 -74
  803. package/lib/dist-custom-elements/duet-toolbar.d.ts +0 -11
  804. package/lib/dist-custom-elements/duet-toolbar.js +0 -67
  805. package/lib/dist-custom-elements/duet-tooltip-button.d.ts +0 -11
  806. package/lib/dist-custom-elements/duet-tooltip-button.js +0 -9
  807. package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +0 -11
  808. package/lib/dist-custom-elements/duet-tooltip-popup.js +0 -9
  809. package/lib/dist-custom-elements/duet-tooltip.d.ts +0 -11
  810. package/lib/dist-custom-elements/duet-tooltip.js +0 -9
  811. package/lib/dist-custom-elements/duet-tray.d.ts +0 -11
  812. package/lib/dist-custom-elements/duet-tray.js +0 -146
  813. package/lib/dist-custom-elements/duet-upload-aria-status.d.ts +0 -11
  814. package/lib/dist-custom-elements/duet-upload-aria-status.js +0 -9
  815. package/lib/dist-custom-elements/duet-upload-item.d.ts +0 -11
  816. package/lib/dist-custom-elements/duet-upload-item.js +0 -9
  817. package/lib/dist-custom-elements/duet-upload.d.ts +0 -11
  818. package/lib/dist-custom-elements/duet-upload.js +0 -1444
  819. package/lib/dist-custom-elements/duet-visually-hidden.d.ts +0 -11
  820. package/lib/dist-custom-elements/duet-visually-hidden.js +0 -9
  821. package/lib/dist-custom-elements/index.d.ts +0 -33
  822. package/lib/dist-custom-elements/index.js +0 -29
  823. package/lib/dist-custom-elements/p-081025d8.js +0 -82
  824. package/lib/dist-custom-elements/p-0871ccd4.js +0 -56
  825. package/lib/dist-custom-elements/p-115c79b6.js +0 -6
  826. package/lib/dist-custom-elements/p-18248c41.js +0 -81
  827. package/lib/dist-custom-elements/p-196352e6.js +0 -39
  828. package/lib/dist-custom-elements/p-2768f969.js +0 -268
  829. package/lib/dist-custom-elements/p-30810e37.js +0 -60
  830. package/lib/dist-custom-elements/p-35375593.js +0 -161
  831. package/lib/dist-custom-elements/p-3c70317f.js +0 -63
  832. package/lib/dist-custom-elements/p-4150399b.js +0 -205
  833. package/lib/dist-custom-elements/p-548610a6.js +0 -2130
  834. package/lib/dist-custom-elements/p-592cf939.js +0 -102
  835. package/lib/dist-custom-elements/p-59782228.js +0 -61
  836. package/lib/dist-custom-elements/p-5d871374.js +0 -316
  837. package/lib/dist-custom-elements/p-5e91471a.js +0 -63
  838. package/lib/dist-custom-elements/p-60316b82.js +0 -642
  839. package/lib/dist-custom-elements/p-63963e6b.js +0 -124
  840. package/lib/dist-custom-elements/p-6620a58c.js +0 -607
  841. package/lib/dist-custom-elements/p-77667998.js +0 -232
  842. package/lib/dist-custom-elements/p-77d42564.js +0 -124
  843. package/lib/dist-custom-elements/p-8258c05e.js +0 -100
  844. package/lib/dist-custom-elements/p-8a840972.js +0 -194
  845. package/lib/dist-custom-elements/p-8d263ac9.js +0 -94
  846. package/lib/dist-custom-elements/p-91cdfcdd.js +0 -73
  847. package/lib/dist-custom-elements/p-940f9ee8.js +0 -1630
  848. package/lib/dist-custom-elements/p-993aea39.js +0 -175
  849. package/lib/dist-custom-elements/p-9df4cfa4.js +0 -25
  850. package/lib/dist-custom-elements/p-9e31e365.js +0 -214
  851. package/lib/dist-custom-elements/p-9ee4d52e.js +0 -321
  852. package/lib/dist-custom-elements/p-a9b78a2b.js +0 -441
  853. package/lib/dist-custom-elements/p-aaa7a7bd.js +0 -13
  854. package/lib/dist-custom-elements/p-aaa95dbc.js +0 -370
  855. package/lib/dist-custom-elements/p-ad615991.js +0 -115
  856. package/lib/dist-custom-elements/p-afb6f7fb.js +0 -23
  857. package/lib/dist-custom-elements/p-b322feac.js +0 -206
  858. package/lib/dist-custom-elements/p-b632bf7b.js +0 -178
  859. package/lib/dist-custom-elements/p-ca3cb21e.js +0 -116
  860. package/lib/dist-custom-elements/p-ccee2b7f.js +0 -127
  861. package/lib/dist-custom-elements/p-cea716f7.js +0 -503
  862. package/lib/dist-custom-elements/p-d004da5f.js +0 -6
  863. package/lib/dist-custom-elements/p-df2458b1.js +0 -80
  864. package/lib/dist-custom-elements/p-e58296e6.js +0 -110
  865. package/lib/dist-custom-elements/p-ed1ef4c3.js +0 -55
  866. package/lib/dist-custom-elements/p-ed6a907e.js +0 -61
  867. package/lib/dist-custom-elements/p-ed6f3abc.js +0 -165
  868. package/lib/dist-custom-elements/p-ee0c73c3.js +0 -50
  869. package/lib/dist-custom-elements/p-f11208c3.js +0 -6
  870. package/lib/dist-custom-elements/p-f4067b03.js +0 -154
  871. package/lib/dist-custom-elements/p-f6000a03.js +0 -753
  872. package/lib/dist-custom-elements/p-f6270dca.js +0 -83
  873. package/lib/duet/duet.js +0 -127
  874. package/lib/duet/p-00556ef0.entry.js +0 -4
  875. package/lib/duet/p-00e58acf.system.entry.js +0 -4
  876. package/lib/duet/p-02d914b6.system.js +0 -4
  877. package/lib/duet/p-03dfd146.system.entry.js +0 -4
  878. package/lib/duet/p-043d8cac.entry.js +0 -4
  879. package/lib/duet/p-053b71e6.system.js +0 -4
  880. package/lib/duet/p-078dc32d.system.js +0 -4
  881. package/lib/duet/p-097593e0.system.entry.js +0 -4
  882. package/lib/duet/p-0c4bbd65.system.js +0 -4
  883. package/lib/duet/p-0d7da85a.js +0 -4
  884. package/lib/duet/p-0dc9089b.system.js +0 -4
  885. package/lib/duet/p-115c79b6.js +0 -4
  886. package/lib/duet/p-12739ce5.entry.js +0 -4
  887. package/lib/duet/p-154681bc.system.entry.js +0 -4
  888. package/lib/duet/p-16bc0f6a.system.entry.js +0 -4
  889. package/lib/duet/p-20a9379e.entry.js +0 -4
  890. package/lib/duet/p-21124f63.system.entry.js +0 -4
  891. package/lib/duet/p-222fb4e2.entry.js +0 -4
  892. package/lib/duet/p-2306d206.entry.js +0 -4
  893. package/lib/duet/p-232405fe.system.entry.js +0 -4
  894. package/lib/duet/p-280babbe.entry.js +0 -4
  895. package/lib/duet/p-29cfae19.system.entry.js +0 -4
  896. package/lib/duet/p-2acb5228.system.entry.js +0 -4
  897. package/lib/duet/p-2bb44297.system.js +0 -4
  898. package/lib/duet/p-2d3cfed7.entry.js +0 -4
  899. package/lib/duet/p-2ea79237.entry.js +0 -4
  900. package/lib/duet/p-2f4a1c87.system.entry.js +0 -4
  901. package/lib/duet/p-30424dea.entry.js +0 -4
  902. package/lib/duet/p-32f2bb6f.system.entry.js +0 -4
  903. package/lib/duet/p-36d473db.entry.js +0 -4
  904. package/lib/duet/p-36e38e72.entry.js +0 -4
  905. package/lib/duet/p-380e506a.system.entry.js +0 -4
  906. package/lib/duet/p-3931d796.system.entry.js +0 -4
  907. package/lib/duet/p-396397f0.entry.js +0 -4
  908. package/lib/duet/p-39c8d5f4.entry.js +0 -4
  909. package/lib/duet/p-3c43bf45.system.entry.js +0 -4
  910. package/lib/duet/p-3c548017.entry.js +0 -4
  911. package/lib/duet/p-3edeecdd.system.entry.js +0 -4
  912. package/lib/duet/p-41982d26.system.js +0 -4
  913. package/lib/duet/p-422bf802.system.entry.js +0 -4
  914. package/lib/duet/p-42789990.system.entry.js +0 -4
  915. package/lib/duet/p-44ac35f1.entry.js +0 -4
  916. package/lib/duet/p-49957220.system.js +0 -4
  917. package/lib/duet/p-49cbde53.entry.js +0 -4
  918. package/lib/duet/p-49d89759.system.entry.js +0 -4
  919. package/lib/duet/p-4af1174c.entry.js +0 -4
  920. package/lib/duet/p-4bbc1e3f.system.entry.js +0 -4
  921. package/lib/duet/p-4cff3036.system.js +0 -4
  922. package/lib/duet/p-4d228791.entry.js +0 -4
  923. package/lib/duet/p-4e095335.entry.js +0 -4
  924. package/lib/duet/p-4f872b2e.system.entry.js +0 -4
  925. package/lib/duet/p-4f945200.system.js +0 -4
  926. package/lib/duet/p-4ffcbae2.entry.js +0 -4
  927. package/lib/duet/p-534baf68.system.entry.js +0 -4
  928. package/lib/duet/p-55b6ebd2.system.entry.js +0 -4
  929. package/lib/duet/p-565c967d.system.entry.js +0 -4
  930. package/lib/duet/p-56d5d3bd.system.entry.js +0 -4
  931. package/lib/duet/p-570fd695.system.entry.js +0 -4
  932. package/lib/duet/p-5a148896.entry.js +0 -4
  933. package/lib/duet/p-5a47d2bb.entry.js +0 -4
  934. package/lib/duet/p-5acfa4bf.entry.js +0 -4
  935. package/lib/duet/p-5b5a4a8f.entry.js +0 -4
  936. package/lib/duet/p-5cbadb53.system.entry.js +0 -4
  937. package/lib/duet/p-5cc339cf.entry.js +0 -4
  938. package/lib/duet/p-5d1a4238.entry.js +0 -4
  939. package/lib/duet/p-5e01a303.system.entry.js +0 -4
  940. package/lib/duet/p-5f668b4a.system.entry.js +0 -4
  941. package/lib/duet/p-5ffa7838.entry.js +0 -4
  942. package/lib/duet/p-61173f11.system.js +0 -5
  943. package/lib/duet/p-622e1ffc.js +0 -4
  944. package/lib/duet/p-64f2d5cf.system.entry.js +0 -4
  945. package/lib/duet/p-650c6251.system.entry.js +0 -4
  946. package/lib/duet/p-69e55527.system.entry.js +0 -4
  947. package/lib/duet/p-6ac3b242.entry.js +0 -4
  948. package/lib/duet/p-6ac7d70c.entry.js +0 -4
  949. package/lib/duet/p-6c8f09c8.system.entry.js +0 -4
  950. package/lib/duet/p-6eec1445.system.entry.js +0 -4
  951. package/lib/duet/p-6fc78573.entry.js +0 -4
  952. package/lib/duet/p-705dbeac.system.entry.js +0 -4
  953. package/lib/duet/p-71a37f03.entry.js +0 -4
  954. package/lib/duet/p-752fa0fc.system.js +0 -4
  955. package/lib/duet/p-760919c7.system.entry.js +0 -4
  956. package/lib/duet/p-7be5b9a7.js +0 -4
  957. package/lib/duet/p-7c119b9b.system.entry.js +0 -4
  958. package/lib/duet/p-7cd899ca.system.entry.js +0 -4
  959. package/lib/duet/p-7d8a2628.js +0 -4
  960. package/lib/duet/p-7ea9d8e4.system.entry.js +0 -4
  961. package/lib/duet/p-7fc6af46.system.entry.js +0 -4
  962. package/lib/duet/p-7fe5e652.entry.js +0 -4
  963. package/lib/duet/p-86038989.entry.js +0 -4
  964. package/lib/duet/p-872b746e.entry.js +0 -4
  965. package/lib/duet/p-875d3971.entry.js +0 -4
  966. package/lib/duet/p-88daf9bb.system.entry.js +0 -4
  967. package/lib/duet/p-89ac2008.system.entry.js +0 -4
  968. package/lib/duet/p-89cf1a91.system.js +0 -4
  969. package/lib/duet/p-8d43c8cf.entry.js +0 -4
  970. package/lib/duet/p-8f450e25.entry.js +0 -4
  971. package/lib/duet/p-8f477bd6.system.js +0 -4
  972. package/lib/duet/p-8faaaf5f.system.js +0 -4
  973. package/lib/duet/p-907b42ae.system.entry.js +0 -4
  974. package/lib/duet/p-9183c04b.system.entry.js +0 -4
  975. package/lib/duet/p-91b68d54.entry.js +0 -4
  976. package/lib/duet/p-92d47024.system.entry.js +0 -4
  977. package/lib/duet/p-939f268d.entry.js +0 -4
  978. package/lib/duet/p-93c115a9.system.entry.js +0 -4
  979. package/lib/duet/p-943bf2b1.system.entry.js +0 -4
  980. package/lib/duet/p-9592f6ba.entry.js +0 -4
  981. package/lib/duet/p-96d76a4b.entry.js +0 -4
  982. package/lib/duet/p-98636086.system.js +0 -4
  983. package/lib/duet/p-9a57fac7.entry.js +0 -4
  984. package/lib/duet/p-9b16ba14.system.entry.js +0 -4
  985. package/lib/duet/p-9b61d7b9.system.entry.js +0 -4
  986. package/lib/duet/p-9d429df0.system.entry.js +0 -4
  987. package/lib/duet/p-9e5b11f7.entry.js +0 -4
  988. package/lib/duet/p-9ee0f850.entry.js +0 -4
  989. package/lib/duet/p-a083b91a.js +0 -5
  990. package/lib/duet/p-a11e1a80.system.entry.js +0 -4
  991. package/lib/duet/p-a1e5f0d4.entry.js +0 -4
  992. package/lib/duet/p-a4b80c74.entry.js +0 -4
  993. package/lib/duet/p-a7b0d8ce.entry.js +0 -4
  994. package/lib/duet/p-aaa7a7bd.js +0 -4
  995. package/lib/duet/p-abc0c9c6.system.js +0 -4
  996. package/lib/duet/p-ad07b21e.system.entry.js +0 -4
  997. package/lib/duet/p-ad0d289a.system.entry.js +0 -4
  998. package/lib/duet/p-ad2b37b0.entry.js +0 -4
  999. package/lib/duet/p-adc2d7ce.system.entry.js +0 -4
  1000. package/lib/duet/p-aef92a68.entry.js +0 -4
  1001. package/lib/duet/p-afad5fd3.system.js +0 -4
  1002. package/lib/duet/p-b15523c2.entry.js +0 -4
  1003. package/lib/duet/p-b17984d6.system.entry.js +0 -4
  1004. package/lib/duet/p-b2df3729.entry.js +0 -4
  1005. package/lib/duet/p-b327a269.entry.js +0 -4
  1006. package/lib/duet/p-b33512d6.js +0 -4
  1007. package/lib/duet/p-b48b58e1.entry.js +0 -4
  1008. package/lib/duet/p-b864159a.system.js +0 -4
  1009. package/lib/duet/p-b8775dc1.system.entry.js +0 -4
  1010. package/lib/duet/p-ba03d034.system.js +0 -4
  1011. package/lib/duet/p-bbb92080.entry.js +0 -4
  1012. package/lib/duet/p-bd5b0381.entry.js +0 -4
  1013. package/lib/duet/p-bdb001df.entry.js +0 -4
  1014. package/lib/duet/p-be097905.entry.js +0 -4
  1015. package/lib/duet/p-beeb12f1.js +0 -4
  1016. package/lib/duet/p-c118fad4.js +0 -4
  1017. package/lib/duet/p-c1483141.entry.js +0 -4
  1018. package/lib/duet/p-c2e74c89.system.entry.js +0 -4
  1019. package/lib/duet/p-c40ee5d3.entry.js +0 -4
  1020. package/lib/duet/p-c480533b.entry.js +0 -4
  1021. package/lib/duet/p-c487869c.entry.js +0 -4
  1022. package/lib/duet/p-c507caa0.entry.js +0 -4
  1023. package/lib/duet/p-c58f3932.entry.js +0 -4
  1024. package/lib/duet/p-c5d88a34.system.entry.js +0 -4
  1025. package/lib/duet/p-c6bf2cc4.system.entry.js +0 -4
  1026. package/lib/duet/p-c6f29010.system.entry.js +0 -4
  1027. package/lib/duet/p-ca29569e.system.js +0 -4
  1028. package/lib/duet/p-ca3cb21e.js +0 -4
  1029. package/lib/duet/p-ca901ab9.entry.js +0 -4
  1030. package/lib/duet/p-cc5e6288.system.js +0 -4
  1031. package/lib/duet/p-cc67e773.js +0 -4
  1032. package/lib/duet/p-cdba12cc.system.js +0 -4
  1033. package/lib/duet/p-ce282523.entry.js +0 -4
  1034. package/lib/duet/p-cebffd48.system.entry.js +0 -4
  1035. package/lib/duet/p-cf2d66a9.system.entry.js +0 -4
  1036. package/lib/duet/p-cf511280.system.entry.js +0 -4
  1037. package/lib/duet/p-d004da5f.js +0 -4
  1038. package/lib/duet/p-d2875f04.system.entry.js +0 -4
  1039. package/lib/duet/p-d40b4a20.entry.js +0 -4
  1040. package/lib/duet/p-d4554cf2.entry.js +0 -4
  1041. package/lib/duet/p-d4ddd4d1.entry.js +0 -4
  1042. package/lib/duet/p-d5317013.system.entry.js +0 -4
  1043. package/lib/duet/p-d68e93e4.system.entry.js +0 -4
  1044. package/lib/duet/p-d6a321fd.system.entry.js +0 -4
  1045. package/lib/duet/p-d835a292.entry.js +0 -4
  1046. package/lib/duet/p-d840dcdc.system.entry.js +0 -4
  1047. package/lib/duet/p-dac4bc08.system.entry.js +0 -4
  1048. package/lib/duet/p-db2ccb9d.system.js +0 -4
  1049. package/lib/duet/p-e0b83f6c.system.entry.js +0 -4
  1050. package/lib/duet/p-e12066c8.system.js +0 -4
  1051. package/lib/duet/p-e216bea4.system.js +0 -4
  1052. package/lib/duet/p-e29d9d5b.system.entry.js +0 -4
  1053. package/lib/duet/p-e3857119.js +0 -4
  1054. package/lib/duet/p-e45d4dc4.system.entry.js +0 -4
  1055. package/lib/duet/p-e4c8559c.system.js +0 -4
  1056. package/lib/duet/p-e50214f5.system.entry.js +0 -4
  1057. package/lib/duet/p-e6b5a1c7.system.js +0 -4
  1058. package/lib/duet/p-e7c3186e.system.entry.js +0 -4
  1059. package/lib/duet/p-e89a92a9.entry.js +0 -4
  1060. package/lib/duet/p-eb02c981.system.entry.js +0 -4
  1061. package/lib/duet/p-ed086770.system.entry.js +0 -4
  1062. package/lib/duet/p-eebfe28d.system.entry.js +0 -4
  1063. package/lib/duet/p-ef520403.entry.js +0 -4
  1064. package/lib/duet/p-f0260e4c.entry.js +0 -4
  1065. package/lib/duet/p-f07eace6.system.entry.js +0 -4
  1066. package/lib/duet/p-f1083d8c.system.entry.js +0 -4
  1067. package/lib/duet/p-f10d7817.entry.js +0 -4
  1068. package/lib/duet/p-f11208c3.js +0 -4
  1069. package/lib/duet/p-f18245aa.system.entry.js +0 -4
  1070. package/lib/duet/p-f4063bd4.entry.js +0 -4
  1071. package/lib/duet/p-f56098f1.system.entry.js +0 -4
  1072. package/lib/duet/p-f6000a03.js +0 -4
  1073. package/lib/duet/p-f67921d2.system.entry.js +0 -4
  1074. package/lib/duet/p-f6b21d17.system.js +0 -4
  1075. package/lib/duet/p-f7fe4161.system.entry.js +0 -4
  1076. package/lib/duet/p-f97dd407.entry.js +0 -4
  1077. package/lib/duet/p-fcfae4d6.entry.js +0 -4
  1078. package/lib/esm/a11y-utils-c3a7fd7e.js +0 -23
  1079. package/lib/esm/action-arrow-down-small-82273dc8.js +0 -6
  1080. package/lib/esm/action-new-window-small-1945be91.js +0 -6
  1081. package/lib/esm/body-scroll-46854769.js +0 -234
  1082. package/lib/esm/bodyScrollLock.es6-ecbf187e.js +0 -184
  1083. package/lib/esm/common-strings-af765cad.js +0 -25
  1084. package/lib/esm/create-id-149a1b6d.js +0 -11
  1085. package/lib/esm/floating-ui.dom.esm-ebc91b33.js +0 -1348
  1086. package/lib/esm/focus-utils-7bc146cd.js +0 -18
  1087. package/lib/esm/form-search-ea8e19ae.js +0 -6
  1088. package/lib/esm/input-utils-85681162.js +0 -53
  1089. package/lib/esm/is-internet-explorer-2c48f686.js +0 -9
  1090. package/lib/esm/js-utils-9b9e0039.js +0 -47
  1091. package/lib/esm/keyboard-utils-daf80d44.js +0 -58
  1092. package/lib/esm/label-de5c8cbd.js +0 -20
  1093. package/lib/esm/polyfills/core-js.js +0 -11
  1094. package/lib/esm/polyfills/dom.js +0 -79
  1095. package/lib/esm/polyfills/es5-html-element.js +0 -1
  1096. package/lib/esm/polyfills/index.js +0 -34
  1097. package/lib/esm/polyfills/system.js +0 -6
  1098. package/lib/esm/string-utils-192eb3c8.js +0 -61
  1099. package/lib/esm/themeable-component-860041c5.js +0 -13
  1100. package/lib/esm/token-utils-b9ba8c5e.js +0 -138
  1101. package/lib/esm/watch-options-e96ecd92.js +0 -57
  1102. package/lib/esm-es5/a11y-utils-c3a7fd7e.js +0 -4
  1103. package/lib/esm-es5/action-arrow-down-small-82273dc8.js +0 -4
  1104. package/lib/esm-es5/action-new-window-small-1945be91.js +0 -4
  1105. package/lib/esm-es5/app-globals-e00fbe9c.js +0 -4
  1106. package/lib/esm-es5/body-scroll-46854769.js +0 -4
  1107. package/lib/esm-es5/bodyScrollLock.es6-ecbf187e.js +0 -4
  1108. package/lib/esm-es5/common-strings-af765cad.js +0 -4
  1109. package/lib/esm-es5/create-id-149a1b6d.js +0 -4
  1110. package/lib/esm-es5/duet-action-button.entry.js +0 -4
  1111. package/lib/esm-es5/duet-alert.entry.js +0 -4
  1112. package/lib/esm-es5/duet-badge.entry.js +0 -4
  1113. package/lib/esm-es5/duet-banner.entry.js +0 -4
  1114. package/lib/esm-es5/duet-breadcrumb.entry.js +0 -4
  1115. package/lib/esm-es5/duet-breadcrumbs.entry.js +0 -4
  1116. package/lib/esm-es5/duet-button_2.entry.js +0 -4
  1117. package/lib/esm-es5/duet-callout.entry.js +0 -4
  1118. package/lib/esm-es5/duet-caption_4.entry.js +0 -4
  1119. package/lib/esm-es5/duet-card.entry.js +0 -4
  1120. package/lib/esm-es5/duet-checkbox.entry.js +0 -4
  1121. package/lib/esm-es5/duet-checkmark.entry.js +0 -4
  1122. package/lib/esm-es5/duet-chip.entry.js +0 -4
  1123. package/lib/esm-es5/duet-choice_2.entry.js +0 -4
  1124. package/lib/esm-es5/duet-collapsible.entry.js +0 -4
  1125. package/lib/esm-es5/duet-combobox.entry.js +0 -4
  1126. package/lib/esm-es5/duet-contact-card.entry.js +0 -4
  1127. package/lib/esm-es5/duet-cookie-consent.entry.js +0 -4
  1128. package/lib/esm-es5/duet-date-picker.entry.js +0 -4
  1129. package/lib/esm-es5/duet-divider_2.entry.js +0 -4
  1130. package/lib/esm-es5/duet-editable-table_3.entry.js +0 -4
  1131. package/lib/esm-es5/duet-empty-state.entry.js +0 -4
  1132. package/lib/esm-es5/duet-fieldset.entry.js +0 -4
  1133. package/lib/esm-es5/duet-file-chooser.entry.js +0 -4
  1134. package/lib/esm-es5/duet-footer.entry.js +0 -4
  1135. package/lib/esm-es5/duet-grid_2.entry.js +0 -4
  1136. package/lib/esm-es5/duet-header_2.entry.js +0 -4
  1137. package/lib/esm-es5/duet-hero.entry.js +0 -4
  1138. package/lib/esm-es5/duet-icon.entry.js +0 -4
  1139. package/lib/esm-es5/duet-input_2.entry.js +0 -4
  1140. package/lib/esm-es5/duet-layout.entry.js +0 -4
  1141. package/lib/esm-es5/duet-list_2.entry.js +0 -4
  1142. package/lib/esm-es5/duet-menu-bar-button.entry.js +0 -4
  1143. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +0 -4
  1144. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +0 -4
  1145. package/lib/esm-es5/duet-menu-bar-item.entry.js +0 -4
  1146. package/lib/esm-es5/duet-menu-bar-link.entry.js +0 -4
  1147. package/lib/esm-es5/duet-menu-bar.entry.js +0 -4
  1148. package/lib/esm-es5/duet-modal.entry.js +0 -4
  1149. package/lib/esm-es5/duet-multiselect.entry.js +0 -4
  1150. package/lib/esm-es5/duet-nav.entry.js +0 -4
  1151. package/lib/esm-es5/duet-notification_2.entry.js +0 -4
  1152. package/lib/esm-es5/duet-number-input.entry.js +0 -4
  1153. package/lib/esm-es5/duet-overlay.entry.js +0 -4
  1154. package/lib/esm-es5/duet-page-heading.entry.js +0 -4
  1155. package/lib/esm-es5/duet-pagination_2.entry.js +0 -4
  1156. package/lib/esm-es5/duet-phone-input.entry.js +0 -4
  1157. package/lib/esm-es5/duet-popup-menu_2.entry.js +0 -4
  1158. package/lib/esm-es5/duet-progress.entry.js +0 -4
  1159. package/lib/esm-es5/duet-promo-card.entry.js +0 -4
  1160. package/lib/esm-es5/duet-radio_2.entry.js +0 -4
  1161. package/lib/esm-es5/duet-range-slider.entry.js +0 -4
  1162. package/lib/esm-es5/duet-scrollable_3.entry.js +0 -4
  1163. package/lib/esm-es5/duet-section-layout.entry.js +0 -4
  1164. package/lib/esm-es5/duet-select.entry.js +0 -4
  1165. package/lib/esm-es5/duet-shaped-image.entry.js +0 -4
  1166. package/lib/esm-es5/duet-show-more.entry.js +0 -4
  1167. package/lib/esm-es5/duet-slideout-lang.entry.js +0 -4
  1168. package/lib/esm-es5/duet-slideout-link.entry.js +0 -4
  1169. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +0 -4
  1170. package/lib/esm-es5/duet-slideout-panel.entry.js +0 -4
  1171. package/lib/esm-es5/duet-slideout.entry.js +0 -4
  1172. package/lib/esm-es5/duet-status-icon.entry.js +0 -4
  1173. package/lib/esm-es5/duet-step_2.entry.js +0 -4
  1174. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +0 -4
  1175. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +0 -4
  1176. package/lib/esm-es5/duet-submenu-bar-item.entry.js +0 -4
  1177. package/lib/esm-es5/duet-submenu-bar-link.entry.js +0 -4
  1178. package/lib/esm-es5/duet-submenu-bar.entry.js +0 -4
  1179. package/lib/esm-es5/duet-textarea.entry.js +0 -4
  1180. package/lib/esm-es5/duet-toggle.entry.js +0 -4
  1181. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +0 -4
  1182. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +0 -4
  1183. package/lib/esm-es5/duet-toolbar-item.entry.js +0 -4
  1184. package/lib/esm-es5/duet-toolbar-link.entry.js +0 -4
  1185. package/lib/esm-es5/duet-toolbar.entry.js +0 -4
  1186. package/lib/esm-es5/duet-tooltip-button_2.entry.js +0 -4
  1187. package/lib/esm-es5/duet-tooltip.entry.js +0 -4
  1188. package/lib/esm-es5/duet-tray.entry.js +0 -4
  1189. package/lib/esm-es5/duet-upload-aria-status.entry.js +0 -4
  1190. package/lib/esm-es5/duet-upload-item.entry.js +0 -4
  1191. package/lib/esm-es5/duet-visually-hidden.entry.js +0 -4
  1192. package/lib/esm-es5/duet.js +0 -4
  1193. package/lib/esm-es5/errorcodes.utils-416994cc.js +0 -4
  1194. package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
  1195. package/lib/esm-es5/focus-utils-7bc146cd.js +0 -4
  1196. package/lib/esm-es5/form-search-ea8e19ae.js +0 -4
  1197. package/lib/esm-es5/index-1a6cee61.js +0 -4
  1198. package/lib/esm-es5/index.js +0 -3
  1199. package/lib/esm-es5/input-utils-85681162.js +0 -4
  1200. package/lib/esm-es5/is-internet-explorer-2c48f686.js +0 -4
  1201. package/lib/esm-es5/js-utils-9b9e0039.js +0 -4
  1202. package/lib/esm-es5/keyboard-utils-daf80d44.js +0 -4
  1203. package/lib/esm-es5/label-de5c8cbd.js +0 -4
  1204. package/lib/esm-es5/language-utils-8a9d5323.js +0 -4
  1205. package/lib/esm-es5/loader.js +0 -4
  1206. package/lib/esm-es5/slot-utils-bf214ae5.js +0 -4
  1207. package/lib/esm-es5/string-utils-192eb3c8.js +0 -4
  1208. package/lib/esm-es5/teleport-546f382d.js +0 -4
  1209. package/lib/esm-es5/themeable-component-860041c5.js +0 -4
  1210. package/lib/esm-es5/token-utils-b9ba8c5e.js +0 -4
  1211. package/lib/esm-es5/tokens-84fb2357.js +0 -4
  1212. package/lib/esm-es5/tokens.module-2d02f5ff.js +0 -4
  1213. package/lib/esm-es5/watch-options-e96ecd92.js +0 -4
  1214. package/lib/loader/package.json +0 -11
  1215. /package/lib/cjs/{body-scroll-dba42314.js → body-scroll-FWPe3_T_.js} +0 -0
  1216. /package/lib/cjs/{bodyScrollLock.es6-dd2d7d91.js → bodyScrollLock.es6-B2sCDud5.js} +0 -0
  1217. /package/lib/cjs/{create-id-1f8c438f.js → create-id-DtslnIOq.js} +0 -0
  1218. /package/lib/cjs/{input-utils-1096a2c5.js → input-utils-DUKdslOM.js} +0 -0
  1219. /package/lib/cjs/{is-internet-explorer-e7f58ebc.js → is-internet-explorer-BTLb_loH.js} +0 -0
  1220. /package/lib/cjs/{js-utils-92e24ba1.js → js-utils-hJ4A2edy.js} +0 -0
  1221. /package/lib/cjs/{keyboard-utils-f7c9f980.js → keyboard-utils-D9UlHbik.js} +0 -0
  1222. /package/lib/cjs/{string-utils-7b13c16e.js → string-utils-B35hEUBv.js} +0 -0
  1223. /package/lib/duet/{p-8354d1f1.js → p-B1B-PPrh.js} +0 -0
  1224. /package/lib/duet/{p-9e371678.js → p-BlUsLmbQ.js} +0 -0
  1225. /package/lib/duet/{p-fc09c464.js → p-C6CAT054.js} +0 -0
  1226. /package/lib/duet/{p-9c3c64b9.js → p-C6E9F6QT.js} +0 -0
  1227. /package/lib/duet/{p-df7874f9.js → p-CLDy7YaM.js} +0 -0
  1228. /package/lib/duet/{p-5e59e970.js → p-Cfr_DJqU.js} +0 -0
  1229. /package/lib/duet/{p-43b89e38.js → p-DxESMgwA.js} +0 -0
  1230. /package/lib/{dist-custom-elements/p-fc09c464.js → esm/body-scroll-C6CAT054.js} +0 -0
  1231. /package/lib/{dist-custom-elements/p-8354d1f1.js → esm/bodyScrollLock.es6-B1B-PPrh.js} +0 -0
  1232. /package/lib/{dist-custom-elements/p-5e59e970.js → esm/create-id-Cfr_DJqU.js} +0 -0
  1233. /package/lib/{dist-custom-elements/p-df7874f9.js → esm/input-utils-CLDy7YaM.js} +0 -0
  1234. /package/lib/{dist-custom-elements/p-43b89e38.js → esm/is-internet-explorer-DxESMgwA.js} +0 -0
  1235. /package/lib/{dist-custom-elements/p-9e371678.js → esm/js-utils-BlUsLmbQ.js} +0 -0
  1236. /package/lib/{dist-custom-elements/p-9c3c64b9.js → esm/string-utils-C6E9F6QT.js} +0 -0
@@ -1,33 +1,173 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-1a6cee61.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
6
- import { D as DuetStringsExternalDefaults } from './common-strings-af765cad.js';
7
- import { c as createID } from './create-id-149a1b6d.js';
8
- import { i as isKeyboardClick, h as isQuestionKey, s as subscribeTabbingChange, u as unsubscribeTabbingChange, f as isEscapeKey } from './keyboard-utils-daf80d44.js';
9
- import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-8a9d5323.js';
10
- import { h as hasSlot, g as getElementsFromNamedSlot, c as checkNamedSlotElement } from './slot-utils-bf214ae5.js';
11
- import './string-utils-192eb3c8.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-EZOAO_vc.js';
5
+ import { g as getDefaultExportFromCjs } from './_commonjsHelpers-DvwKrUS6.js';
6
+ import { i as inheritGlobalTheme } from './themeable-component-spmVa3d3.js';
7
+ import { a as DuetStringsExternalDefaults } from './common-strings-CVPfl9fc.js';
8
+ import { c as createID } from './create-id-Cfr_DJqU.js';
9
+ import { i as isKeyboardClick, n as isQuestionKey, s as subscribeTabbingChange, u as unsubscribeTabbingChange, a as isEscapeKey } from './keyboard-utils-Db8rvjPI.js';
10
+ import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-COd-eoxb.js';
11
+ import { h as hasSlot, a as getElementsFromNamedSlot, c as checkNamedSlotElement } from './slot-utils-BSu3Mnho.js';
12
+ import './string-utils-C6E9F6QT.js';
12
13
 
13
- var messagingInfo={"title":"messaging-info","tags":"messaging info information circle","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z\"/><circle cx=\"11.625\" cy=\"7.125\" r=\"1.125\"/><path d=\"M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z\"/></svg>"};
14
+ var messagingInfo;
15
+ var hasRequiredMessagingInfo;
14
16
 
15
- const duetChoiceCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(.vertical){margin-right:0 !important}@media (min-width: 48em){:host(.horizontal){margin-bottom:0 !important}}@media (min-width: 48em){:host(.horizontal-responsive){margin-bottom:0 !important;margin-right:16px !important}:host(.horizontal-responsive):last-child,:host(.horizontal-responsive):last-of-type{margin-right:0 !important}}:host(:last-child:not(:only-child)){margin-right:0 !important}.duet-choice-card{position:relative;display:block;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:1px;border-radius:8px}.duet-choice-card.duet-p-0{padding:0 !important}.duet-choice-card.duet-m-0{margin:0 !important}.duet-theme-turva .duet-choice-card{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer{display:flex}.duet-choice-label{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:1px solid rgb(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text .duet-choice-card-icon,.duet-choice-label.has-before-text .duet-choice-card-text{align-self:flex-start;margin-top:0.25rem}.duet-choice-label>div:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info .duet-choice-label{border-top-right-radius:0;border-bottom-right-radius:0}.info .duet-choice-label{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva .duet-choice-label{border-color:rgb(222, 224, 228)}.duet-theme-turva .info .duet-choice-label{border-color:rgb(222, 224, 228)}.duet-choice-label:active{opacity:0.75;transition:none !important}.checked>.duet-choice-label{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked>.duet-choice-label .duet-checkmark-container{border-color:rgb(0, 119, 179)}.duet-theme-turva .checked>.duet-choice-label{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{border-color:rgb(198, 12, 48)}.checked.collapsible>.duet-choice-label,.collapsible-force-expanded.collapsible>.duet-choice-label{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container{border-color:rgb(127, 150, 165)}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(23, 28, 58)}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container{border-color:rgb(143, 147, 158)}.duet-theme-turva .info :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(143, 147, 158)}:host(:not(.no-hover):not(.disabled):not([checked]):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){padding:1rem}input:focus{outline:0}:host(.user-is-tabbing) .checked.focus.duet-choice-label{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}:host(.user-is-tabbing) :not(.checked).focus.duet-choice-label{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .checked.focus.duet-choice-label{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}:host(.user-is-tabbing) .duet-theme-turva :not(.checked).focus.duet-choice-label{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.disabled.duet-choice-label{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.disabled.duet-choice-label .duet-choice-card-icon{color:rgb(98, 121, 138)}.duet-theme-turva .disabled.duet-choice-label .duet-choice-card-icon{color:rgb(143, 147, 158)}.disabled.duet-choice-label .duet-checkmark{border-color:rgb(98, 121, 138) !important}.disabled.duet-choice-label:hover,.disabled.duet-choice-label:active,.disabled.duet-choice-label:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva .disabled.duet-choice-label{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva .disabled.duet-choice-label .duet-checkmark{border-color:rgb(143, 147, 158) !important}.checked>.disabled.duet-choice-label{border-color:rgb(127, 150, 165) !important}.duet-theme-turva .checked>.disabled.duet-choice-label{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva .duet-checkmark-container{border-color:rgb(143, 147, 158)}.checked>.duet-choice-label .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}label.disabled .duet-checkmark-container{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva label.disabled .duet-checkmark-container{border-color:rgb(199, 202, 207) !important}.checked>label.disabled .duet-checkmark-container{background:rgb(181, 198, 208) !important}.duet-theme-turva .checked>label.disabled .duet-checkmark-container{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva .duet-choice-card-icon{color:rgb(164, 4, 40)}.duet-choice-card-icon duet-icon{display:block}.duet-choice-section-hidden{display:none}.duet-choice-card-info.duet-choice-card-collapsed,.duet-choice-card-collapsed.duet-choice-card-collapsible{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info,.duet-choice-card-collapsible{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info,.duet-choice-card-collapsible{padding:28px !important}}.duet-theme-turva .duet-choice-card-info,.duet-theme-turva .duet-choice-card-collapsible{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked>.duet-choice-card-info,.checked>.duet-choice-card-collapsible{display:block}.duet-choice-card-info-expanded,.duet-choice-card-collapsible-expanded{display:block}.duet-choice-card-collapsible{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked{border-color:rgb(222, 224, 228)}.duet-choice-card-info{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container ::slotted(*){display:none}:host(.user-is-tabbing) .duet-choice-info-container:focus{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.disabled) .duet-choice-card-collapsible{border-color:rgb(127, 150, 165)}:host(.disabled) .duet-choice-card-collapsible.duet-theme-turva{border-color:rgb(143, 147, 158)}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){border-color:rgb(143, 147, 158)}:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true]{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva .duet-choice-info-toggle[aria-expanded=true]{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled]{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled] .duet-choice-info-icon{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva .duet-choice-info-icon{color:rgb(143, 147, 158) !important}.duet-choice-info-toggle:focus{outline:none}:host(.user-is-tabbing) .duet-choice-info-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-choice-info-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked+.duet-choice-info-toggle{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle duet-icon{display:block}.duet-choice-info-toggle .duet-choice-info-icon{color:rgb(0, 119, 179)}.duet-theme-turva .duet-choice-info-toggle .duet-choice-info-icon{color:rgb(198, 12, 48)}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label .duet-choice-info-toggle{border-left-color:rgb(127, 150, 165)}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label .duet-choice-info-toggle{border-left-color:rgb(143, 147, 158)}.duet-choice-input,*::slotted([slot=choiceradioinput]){position:absolute !important;width:100%;height:100%;opacity:0}";
16
- const DuetChoiceStyle0 = duetChoiceCss;
17
+ function requireMessagingInfo () {
18
+ if (hasRequiredMessagingInfo) return messagingInfo;
19
+ hasRequiredMessagingInfo = 1;
20
+ messagingInfo={"title":"messaging-info","tags":"messaging info information circle","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z\"/><circle cx=\"11.625\" cy=\"7.125\" r=\"1.125\"/><path d=\"M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z\"/></svg>"};
21
+ return messagingInfo;
22
+ }
23
+
24
+ var messagingInfoExports = requireMessagingInfo();
25
+ var infoIcon = /*@__PURE__*/getDefaultExportFromCjs(messagingInfoExports);
26
+
27
+ const duetChoiceCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:16px !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(.vertical){margin-right:0 !important}@media (min-width: 48em){:host(.horizontal){margin-bottom:0 !important}}@media (min-width: 22.5em){:host(.horizontal-responsive-x-small){margin-bottom:0 !important;margin-right:16px !important}:host(.horizontal-responsive-x-small):last-child,:host(.horizontal-responsive-x-small):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.horizontal-responsive-x-small):last-of-type:not(:last-child){margin-right:16px !important}}@media (min-width: 36em){:host(.horizontal-responsive-small){margin-bottom:0 !important;margin-right:16px !important}:host(.horizontal-responsive-small):last-child,:host(.horizontal-responsive-small):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.horizontal-responsive-small):last-of-type:not(:last-child){margin-right:16px !important}}@media (min-width: 48em){:host(.horizontal-responsive-medium){margin-bottom:0 !important;margin-right:16px !important}:host(.horizontal-responsive-medium):last-child,:host(.horizontal-responsive-medium):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.horizontal-responsive-medium):last-of-type:not(:last-child){margin-right:16px !important}}@media (min-width: 62em){:host(.horizontal-responsive-large){margin-bottom:0 !important;margin-right:16px !important}:host(.horizontal-responsive-large):last-child,:host(.horizontal-responsive-large):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.horizontal-responsive-large):last-of-type:not(:last-child){margin-right:16px !important}}@media (min-width: 64.0625em){:host(.horizontal-responsive-x-large){margin-bottom:0 !important;margin-right:16px !important}:host(.horizontal-responsive-x-large):last-child,:host(.horizontal-responsive-x-large):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.horizontal-responsive-x-large):last-of-type:not(:last-child){margin-right:16px !important}}:host(:last-child:not(:only-child)){margin-right:0 !important}:host(.vertical-stretch) .duet-choice-card-flextainer{height:100%}:host(.vertical-stretch) .duet-choice-card-flextainer .duet-choice-label{align-items:flex-start}:host(.vertical-stretch) .duet-choice-card-flextainer .duet-choice-label>div{margin-top:0.25rem}.duet-choice-card{position:relative;display:block;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:left;-webkit-hyphens:auto;hyphens:auto;background:rgb(255, 255, 255);border-width:1px;border-radius:8px}.duet-choice-card.duet-p-0{padding:0 !important}.duet-choice-card.duet-m-0{margin:0 !important}.duet-theme-turva .duet-choice-card{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer{display:flex}.duet-choice-label{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;word-break:break-word;text-decoration:none;cursor:pointer;border:1px solid rgb(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text .duet-choice-card-icon,.duet-choice-label.has-before-text .duet-choice-card-text{align-self:flex-start;margin-top:0.25rem}.duet-choice-label>div:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info .duet-choice-label{border-top-right-radius:0;border-bottom-right-radius:0}.info .duet-choice-label{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva .duet-choice-label{border-color:rgb(222, 224, 228)}.duet-theme-turva .info .duet-choice-label{border-color:rgb(222, 224, 228)}.duet-choice-label:active{opacity:0.75;transition:none !important}.checked>.duet-choice-label{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked>.duet-choice-label .duet-checkmark-container{border-color:rgb(0, 119, 179)}.duet-theme-turva .checked>.duet-choice-label{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{border-color:rgb(198, 12, 48)}.checked.collapsible>.duet-choice-label,.collapsible-force-expanded.collapsible>.duet-choice-label{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container{border-color:rgb(127, 150, 165)}:host(.duet-theme-turva:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(23, 28, 58)}:host(.duet-theme-turva:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container{border-color:rgb(143, 147, 158)}.info :host(.duet-theme-turva:not(.no-hover):not(.disabled):hover){border-color:rgb(143, 147, 158)}:host(:not(.no-hover):not(.disabled):not([checked]):hover)>.duet-choice-card-flextainer .duet-choice-label:not(.checked){padding:1rem}input:focus{outline:0}.checked.focus.duet-choice-label{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .checked.focus.duet-choice-label,.checked.focus.duet-choice-label.duet-theme-turva,.duet-theme-turva2 .checked.focus.duet-choice-label,.checked.focus.duet-choice-label.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.disabled.duet-choice-label{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.disabled.duet-choice-label .duet-choice-card-icon{color:rgb(98, 121, 138)}.duet-theme-turva .disabled.duet-choice-label .duet-choice-card-icon{color:rgb(143, 147, 158)}.disabled.duet-choice-label .duet-checkmark{border-color:rgb(98, 121, 138) !important}.disabled.duet-choice-label:hover,.disabled.duet-choice-label:active,.disabled.duet-choice-label:focus{outline:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva .disabled.duet-choice-label{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva .disabled.duet-choice-label .duet-checkmark{border-color:rgb(143, 147, 158) !important}.checked>.disabled.duet-choice-label{border-color:rgb(127, 150, 165) !important}.duet-theme-turva .checked>.disabled.duet-choice-label{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva .duet-checkmark-container{border-color:rgb(143, 147, 158)}.checked>.duet-choice-label .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}label.disabled .duet-checkmark-container{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva label.disabled .duet-checkmark-container{border-color:rgb(199, 202, 207) !important}.checked>label.disabled .duet-checkmark-container{background:rgb(181, 198, 208) !important}.duet-theme-turva .checked>label.disabled .duet-checkmark-container{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva .duet-choice-card-icon{color:rgb(164, 4, 40)}.duet-choice-card-icon duet-icon{display:block}.duet-choice-section-hidden{display:none}.duet-choice-card-info.duet-choice-card-collapsed,.duet-choice-card-collapsed.duet-choice-card-collapsible{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info,.duet-choice-card-collapsible{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info,.duet-choice-card-collapsible{padding:28px !important}}.duet-theme-turva .duet-choice-card-info,.duet-theme-turva .duet-choice-card-collapsible{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked>.duet-choice-card-info,.checked>.duet-choice-card-collapsible{display:block}.duet-choice-card-info-expanded,.duet-choice-card-collapsible-expanded{display:block}.duet-choice-card-collapsible{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked{border-color:rgb(222, 224, 228)}.duet-choice-card-info{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container ::slotted(*){display:none}:host(.user-is-tabbing) .duet-choice-info-container:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8);display:block}.duet-theme-turva :host(.user-is-tabbing) .duet-choice-info-container:focus,:host(.user-is-tabbing) .duet-choice-info-container:focus.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-choice-info-container:focus,:host(.user-is-tabbing) .duet-choice-info-container:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}:host(.disabled) .duet-choice-card-collapsible{border-color:rgb(127, 150, 165)}:host(.disabled) .duet-choice-card-collapsible.duet-theme-turva{border-color:rgb(143, 147, 158)}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){border-color:rgb(143, 147, 158)}:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover)>.duet-choice-card-collapsible:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;-webkit-appearance:none;appearance:none;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px}.duet-choice-info-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-choice-info-toggle:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-choice-info-toggle:focus,:host(.user-is-tabbing) .duet-choice-info-toggle:focus.duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing) .duet-choice-info-toggle:focus,:host(.user-is-tabbing) .duet-choice-info-toggle:focus.duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-choice-info-toggle[aria-expanded=true]{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva .duet-choice-info-toggle[aria-expanded=true]{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled]{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled] .duet-choice-info-icon{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva .duet-choice-info-icon{color:rgb(143, 147, 158) !important}.checked+.duet-choice-info-toggle{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle duet-icon{display:block}.duet-choice-info-toggle .duet-choice-info-icon{color:rgb(0, 119, 179)}.duet-theme-turva .duet-choice-info-toggle .duet-choice-info-icon{color:rgb(198, 12, 48)}:host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label .duet-choice-info-toggle{border-left-color:rgb(127, 150, 165)}.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover)>.duet-choice-card-flextainer .duet-choice-label .duet-choice-info-toggle{border-left-color:rgb(143, 147, 158)}.duet-choice-input,*::slotted([slot=choiceinput]){position:absolute !important;width:100%;height:100%;opacity:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-choice-card{color:rgb(23, 42, 59) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-choice-label{border-color:rgb(178, 194, 205)}.info :host(.duet-theme-turva2) .duet-theme-turva .duet-choice-label{border-color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-theme-turva .checked>.duet-choice-label{background:rgb(245, 246, 247);border-color:rgb(23, 42, 59) !important}:host(.duet-theme-turva2) .duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{border-color:rgb(230, 23, 64)}.duet-choice-label :host(.duet-theme-turva2) .duet-theme-turva .checked>.duet-choice-label .duet-checkmark-container{background:rgb(23, 42, 59);border-color:rgb(23, 42, 59) !important}:host(.duet-theme-turva2) .duet-theme-turva.duet-choice-card-info,:host(.duet-theme-turva2) .duet-theme-turva.duet-choice-card-collapsible{color:rgb(23, 42, 59);border-color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva.duet-choice-card-collapsible{border-color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-theme-turva.duet-choice-card-collapsible.checked{border-color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva.duet-choice-card-info{background:rgb(245, 246, 247);border-color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-theme-turva .duet-checkmark-container{border-color:rgb(120, 145, 164)}:host(.duet-theme-turva2) .duet-theme-turva.duet-choice-info-toggle{border-color:rgb(178, 194, 205)}:host(.duet-theme-turva2) .duet-theme-turva.duet-choice-info-toggle[aria-expanded=true]{background:rgb(245, 246, 247);border-bottom-color:transparent}:host(.duet-theme-turva2:not(.no-hover):not(.disabled):hover)>.duet-theme-turva.duet-choice-card-flextainer .duet-choice-label:not(.checked){border-color:rgb(23, 42, 59)}:host(.duet-theme-turva2:not(.no-hover):not(.disabled):hover)>.duet-theme-turva.duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container{border-color:rgb(120, 145, 164)}";
17
28
 
18
29
  const DuetChoice = class {
19
30
  constructor(hostRef) {
20
31
  registerInstance(this, hostRef);
21
32
  this.duetChoiceReady = createEvent(this, "duetChoiceReady", 7);
22
- this.duetChoiceRemove = createEvent(this, "duetChoiceRemove", 7);
23
33
  this.duetChange = createEvent(this, "duetChange", 7);
24
34
  this.duetFocus = createEvent(this, "duetFocus", 7);
25
35
  this.duetBlur = createEvent(this, "duetBlur", 7);
36
+ this.focus = false;
26
37
  this.hasHeader = false;
27
38
  this.choiceId = createID("DuetChoice");
28
39
  this.expandId = createID("DuetChoiceExpand");
29
40
  this.headerId = createID("DuetChoiceHeader");
30
41
  this.infoButtonId = createID("DuetChoiceInfoButton");
42
+ /**
43
+ * State() variables
44
+ * Inlined decorator, alphabetical order.
45
+ */
46
+ this.isHovering = false;
47
+ this.isInfoOpen = false;
48
+ /**
49
+ * Theme of the choice.
50
+ */
51
+ this.theme = "";
52
+ /**
53
+ * Label for the choice button.
54
+ */
55
+ this.label = "label";
56
+ /**
57
+ * Property to change accessibleLabelInfoButton defaults on the component.
58
+ * normally you would handle these strings on an application level and override accessibleLabelInfoButton when needed
59
+ */
60
+ this.accessibleLabelInfoButtonDefaults = DuetStringsExternalDefaults;
61
+ /**
62
+ * Accessible label that is read for screen reader users in the info toggle trigger button.
63
+ * Not visible for normal users.
64
+ * @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
65
+ */
66
+ this.accessibleLabelInfoButton = getLocaleString(this.accessibleLabelInfoButtonDefaults);
67
+ /**
68
+ * Aria Details of the component
69
+ */
70
+ this.accessibleDetails = undefined;
71
+ /**
72
+ * String of id's that indicate alternative labels elements
73
+ */
74
+ this.accessibleLabelledBy = undefined;
75
+ /**
76
+ * Aria description the button
77
+ */
78
+ this.accessibleDescription = undefined;
79
+ /**
80
+ * Additional caption to show inside the label of the choice button.
81
+ */
82
+ this.caption = "";
83
+ /**
84
+ * Type of the choice button. You can set the type of the choice to be either
85
+ * “radio” or “checkbox”. Depending on this selection we convey the selection
86
+ * type to assistive technologies as well. When type “radio” is chosen it is
87
+ * required to place the choices inside Choice Group component.
88
+ */
89
+ this.type = "checkbox";
90
+ /**
91
+ * Checked state of the choice button.
92
+ */
93
+ this.checked = false;
94
+ /**
95
+ * Makes the choice button open a new section underneath it when clicked or
96
+ * tapped. This new section can be used to show more options related to this
97
+ * choice. Please note that this feature can’t be used together with the "info"
98
+ * functionality and that it only accepts plain dom nodes (no shadow dom elements
99
+ * such as duet-paragraph can be used as this will break accessibility)
100
+ */
101
+ this.collapsible = false;
102
+ /**
103
+ * This attribute works only when the 'collapsible' attribute is set to true.
104
+ * It maintains the visibility of the additional content section, regardless of whether the input is checked or not.
105
+ */
106
+ this.collapsibleForceExpanded = false;
107
+ /**
108
+ * Controls the margin of the component.
109
+ */
110
+ this.margin = "auto";
111
+ /**
112
+ * Icon to display to the left of the choice button label.
113
+ */
114
+ this.icon = "";
115
+ /**
116
+ * Expands the choice button to fill 100% of the container width.
117
+ */
118
+ this.expand = false;
119
+ /**
120
+ * Controls the padding of the component.
121
+ */
122
+ this.padding = "auto";
123
+ /**
124
+ * Makes the choice component disabled. This prevents users from being able to
125
+ * interact with the choice, and conveys its inactive state to assistive technologies.
126
+ */
127
+ this.disabled = false;
128
+ /**
129
+ * Set whether the input is required or not. Please note that this is necessary for
130
+ * accessible inputs when the user is required to fill them. When using this property
131
+ * you need to also set “novalidate” attribute to your form element to prevent
132
+ * browser from displaying its own validation errors.
133
+ */
134
+ this.required = false;
135
+ /**
136
+ * Accessible info label defaults
137
+ */
138
+ this.infoLabelDefaults = {
139
+ fi: "Lisätietoja vaihtoehdosta",
140
+ en: "More information about",
141
+ sv: "Mera information om",
142
+ };
143
+ /**
144
+ * Accessible info label
145
+ * @default {
146
+ * fi: "Lisätietoja vaihtoehdosta",
147
+ * en: "More information about",
148
+ * sv: "Mera information om",
149
+ * }
150
+ */
151
+ this.infoLabel = getLocaleString(this.infoLabelDefaults, getLanguage());
152
+ /**
153
+ * Accessible collapsible notification defaults
154
+ */
155
+ this.collapsibleNotificationDefaults = {
156
+ fi: "Tämä valinta sisältää lisätietoja, jotka avautuivat alle",
157
+ en: "This choice has additional information opened below",
158
+ sv: "Det här val har mer information som öppnades nedan",
159
+ };
160
+ /**
161
+ * Accessible collapsible notification. If a collapsible choice has no header, and contains other
162
+ * elements than duet-paragraph, duet-heading or duet-fieldset, this is used as the accessible
163
+ * notification of opening the collapsible content (added to aria-describedby).
164
+ * @default {
165
+ * fi: "Tämä valinta sisältää lisätietoja, jotka avautuivat alle",
166
+ * en: "This choice has additional information opened below",
167
+ * sv: "Det här val har mer information som öppnades nedan",
168
+ * }
169
+ */
170
+ this.collapsibleNotification = getLocaleString(this.collapsibleNotificationDefaults, getLanguage());
31
171
  this.radioInputListenersRemove = radioInput => {
32
172
  radioInput.removeEventListener("change", this.onChange);
33
173
  radioInput.removeEventListener("keydown", this.handleKeyDown);
@@ -40,45 +180,45 @@ const DuetChoice = class {
40
180
  radioInput.addEventListener("focus", this.onFocus);
41
181
  radioInput.addEventListener("blur", this.onBlur);
42
182
  };
43
- this.radioInputSetUp = () => {
44
- const slotInput = this.element.querySelector("input[slot=choiceradioinput]");
45
- const radioInput = slotInput || document.createElement("input");
46
- radioInput.slot = "choiceradioinput";
47
- radioInput.disabled = this.getDisabled();
48
- radioInput.id = this.identifier || this.choiceId;
49
- radioInput.type = "radio";
50
- radioInput.name = this.name;
51
- radioInput.value = this.value;
52
- radioInput.checked = this.checked;
53
- radioInput.required = this.required;
54
- radioInput.ariaDescription = this.accessibleDescription;
183
+ this.inputSetUp = () => {
184
+ const slotInput = this.element.querySelectorAll(":scope > input");
185
+ const input = slotInput[slotInput.length - 1] || document.createElement("input");
186
+ input.slot = "choiceinput";
187
+ input.disabled = this.getDisabled();
188
+ input.id = this.identifier || this.choiceId;
189
+ input.type = this.type;
190
+ input.name = this.name;
191
+ input.value = this.value;
192
+ input.checked = this.checked;
193
+ input.required = this.required;
194
+ input.ariaDescription = this.accessibleDescription;
55
195
  if (this.accessibleControls) {
56
- radioInput.setAttribute("aria-controls", this.accessibleControls);
196
+ input.setAttribute("aria-controls", this.accessibleControls);
57
197
  }
58
198
  if (this.accessibleActiveDescendant) {
59
- radioInput.setAttribute("aria-activedescendant", this.accessibleActiveDescendant);
199
+ input.setAttribute("aria-activedescendant", this.accessibleActiveDescendant);
60
200
  }
61
201
  if (this.accessibleLabelledBy) {
62
- radioInput.setAttribute("aria-labelledby", this.accessibleLabelledBy);
202
+ input.setAttribute("aria-labelledby", this.accessibleLabelledBy);
63
203
  }
64
204
  if (this.accessibleDetails) {
65
- radioInput.setAttribute("aria-details", this.accessibleDetails);
205
+ input.setAttribute("aria-details", this.accessibleDetails);
66
206
  }
67
207
  if (this.accessibleOwns) {
68
- radioInput.setAttribute("aria-owns", this.accessibleOwns);
208
+ input.setAttribute("aria-owns", this.accessibleOwns);
69
209
  }
70
210
  if (this.getAriaDescribedby()) {
71
- radioInput.setAttribute("aria-describedby", this.getAriaDescribedby());
211
+ input.setAttribute("aria-describedby", this.getAriaDescribedby());
72
212
  }
73
- radioInput.ariaLabel = this.getLabel();
74
- if (slotInput) {
75
- this.radioInputListenersRemove(radioInput);
213
+ input.ariaLabel = this.getLabel();
214
+ if (slotInput.length > 0) {
215
+ this.radioInputListenersRemove(input);
76
216
  }
77
217
  else {
78
- this.element.appendChild(radioInput);
218
+ this.element.appendChild(input);
79
219
  }
80
- this.radioInputListenersAdd(radioInput);
81
- this.focusableElement = radioInput;
220
+ this.radioInputListenersAdd(input);
221
+ this.focusableElement = input;
82
222
  };
83
223
  /**
84
224
  * Component event handling.
@@ -159,49 +299,6 @@ const DuetChoice = class {
159
299
  }, 150);
160
300
  }
161
301
  };
162
- this.focus = false;
163
- this.isHovering = false;
164
- this.isInfoOpen = false;
165
- this.theme = "";
166
- this.label = "label";
167
- this.accessibleLabelInfoButtonDefaults = DuetStringsExternalDefaults;
168
- this.accessibleLabelInfoButton = getLocaleString(this.accessibleLabelInfoButtonDefaults);
169
- this.accessibleActiveDescendant = undefined;
170
- this.accessibleControls = undefined;
171
- this.accessibleOwns = undefined;
172
- this.accessibleDescribedBy = undefined;
173
- this.accessibleDetails = undefined;
174
- this.accessibleLabelledBy = undefined;
175
- this.accessibleDescription = undefined;
176
- this.caption = "";
177
- this.value = undefined;
178
- this.type = "checkbox";
179
- this.name = undefined;
180
- this.checked = false;
181
- this.collapsible = false;
182
- this.collapsibleForceExpanded = false;
183
- this.margin = "auto";
184
- this.icon = "";
185
- this.expand = false;
186
- this.padding = "auto";
187
- this.identifier = undefined;
188
- this.groupDirection = undefined;
189
- this.groupDisabled = undefined;
190
- this.groupResponsive = undefined;
191
- this.disabled = false;
192
- this.required = false;
193
- this.infoLabelDefaults = {
194
- fi: "Lisätietoja vaihtoehdosta",
195
- en: "More information about",
196
- sv: "Mera information om",
197
- };
198
- this.infoLabel = getLocaleString(this.infoLabelDefaults, getLanguage());
199
- this.collapsibleNotificationDefaults = {
200
- fi: "Tämä valinta sisältää lisätietoja, jotka avautuivat alle",
201
- en: "This choice has additional information opened below",
202
- sv: "Det här val har mer information som öppnades nedan",
203
- };
204
- this.collapsibleNotification = getLocaleString(this.collapsibleNotificationDefaults, getLanguage());
205
302
  }
206
303
  /**
207
304
  * Component lifecycle events.
@@ -225,14 +322,11 @@ const DuetChoice = class {
225
322
  this.duetChoiceReady.emit();
226
323
  }
227
324
  componentDidRender() {
228
- if (this.type === "radio") {
229
- this.radioInputSetUp();
230
- }
325
+ this.inputSetUp();
231
326
  }
232
327
  disconnectedCallback() {
233
328
  disconnectLanguageChangeObserver(this);
234
329
  unsubscribeTabbingChange(this);
235
- this.duetChoiceRemove.emit();
236
330
  }
237
331
  /**
238
332
  * Sets focus on the specified `duet-choice`. Use this method instead of the global
@@ -272,7 +366,7 @@ const DuetChoice = class {
272
366
  if (this.accessibleDescribedBy) {
273
367
  return this.accessibleDescribedBy;
274
368
  }
275
- if (this.collapsible || this.hasInfo) {
369
+ if ((this.collapsible || this.hasInfo) && this.getExpanded()) {
276
370
  if (this.hasHeader) {
277
371
  return this.headerId;
278
372
  }
@@ -339,19 +433,19 @@ const DuetChoice = class {
339
433
  * Always the last one in the class.
340
434
  */
341
435
  render() {
342
- const identifier = this.identifier || this.choiceId;
343
- return (h(Host, { key: '95c3bf3494b8d33d7f30cd09b46a5542371c9252', class: {
436
+ return (h(Host, { key: '74c4b0c1afd04d78513d2f428df66aea0c755a30', class: {
344
437
  horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
345
- "horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
438
+ [`horizontal-responsive-${this.groupResponsive}`]: this.groupDirection === "horizontal" && !!this.groupResponsive,
439
+ "vertical-stretch": this.groupDirection === "horizontal",
346
440
  "duet-m-0": this.margin === "none",
347
441
  "duet-expand": this.expand,
348
442
  "duet-theme-turva": this.theme === "turva",
349
443
  "no-hover": this.isHovering,
350
444
  disabled: this.getDisabled(),
351
- } }, h("div", { key: '087bfe11a824d0dbe53285fddc1666b9b078fea7', class: {
445
+ } }, h("div", { key: '40f23ef0315551c972d13462c800fbc08170bb60', class: {
352
446
  "duet-choice-card-flextainer": true,
353
447
  "duet-theme-turva": this.theme === "turva",
354
- } }, h("div", { key: 'd0c3f8b55c14582927183cc12046d1bcf005031b', class: {
448
+ } }, h("div", { key: '0cc5f080734a81eb10bc8810c3416f8cc16a0d25', class: {
355
449
  "duet-choice-card": true,
356
450
  "has-icon": !!this.icon,
357
451
  "has-info": this.hasInfo,
@@ -360,26 +454,25 @@ const DuetChoice = class {
360
454
  collapsible: this.collapsible,
361
455
  "collapsible-force-expanded": this.collapsibleForceExpanded,
362
456
  "duet-p-0": this.padding === "none",
363
- } }, this.type === "checkbox" && (h("input", { key: '2fcbc3765e11d789344ce8350afe6c0406d51a3e', class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.getDisabled(), required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-label": this.getLabel(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.focusableElement = input) })), h("slot", { key: '055e6d1ffd084a07626bace527c86fa830239818', name: "choiceradioinput" }), h("label", { key: '99586309cadfcf173411bb0533e78185835f4554', class: {
457
+ } }, h("slot", { key: '65d5bb2cd8c8c0b4f5ed9811b38b48b7335c0df4', name: "choiceinput" }), h("label", { key: '98b47986d36a16dc5349cd465c5273dc463aab1b', class: {
364
458
  "duet-choice-label": true,
365
459
  "has-before-text": this.hasBeforeText,
366
460
  checked: this.checked,
367
461
  focus: this.focus,
368
462
  disabled: this.getDisabled(),
369
- }, onClick: this.onClick }, this.hasBeforeText && h("slot", { key: 'c4cd8c27fe9d8b11e3db64e8964f8559dbd66130', name: "before-text" }), this.icon && (h("div", { key: '685779ca31a7d1f6827d0d7fe4bed7044aa0f2af', class: "duet-choice-card-icon" }, h("duet-icon", { key: '98804614219f404137fb630983a81bf08abc773a', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { key: '6e5b7a8b3e5dbfa5d3f0a77104f2f2b1d332f6cc', class: "duet-choice-card-text" }, h("div", { key: '23e244b266355d1ea70ad12e9847903c59bb34e6' }, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", { key: 'ddefb454ac0a3505a520dbb9484cd60b1a26827c' }, h("duet-spacer", { key: 'ae3957e6c8147bc379db21059f8584e44a55fd14', size: "xx-small" }), h("duet-caption", { key: 'f0a653783164ebc5b6d2bdd2acc537a9afd0b515', margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", { key: '1665619173760a73a28ba685d950f737418d1ee5' }, h("duet-spacer", { key: '593fe55534da49906cc3a14ea4b13e8ff6903c0d', size: "xx-small" }), h("slot", { key: '8ea22bb8657c210bbddc57f03ce88fa5c23791e7', name: "additional" })))), h("div", { key: '4a5a62991e5e107bfe56e31e10509bb7bd5860ce' }, h("div", { key: 'ffd299c11348780fd2908d37cba9633a3946274a', class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { key: 'b70b4052ee1b8479bbc98bcc4b55491b00fd1c94', class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { key: '0f7091a28c9ee79e5de07e72bb96d652f7dfed7c', ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
463
+ }, onClick: this.onClick }, this.hasBeforeText && h("slot", { key: 'b29fd679de70ab070b1b821dc4a2c8e091914073', name: "before-text" }), this.icon && (h("div", { key: '1881e659c9c7c4fbdb0935e54850f4f70c28975f', class: "duet-choice-card-icon" }, h("duet-icon", { key: '91d0be349f26a8c0f0bfae30ce809d6c98fdf833', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { key: 'e38af0b72bbd56517fc3cd08db6bd0e35d1941a0', class: "duet-choice-card-text" }, h("div", { key: 'afe1e13db8d21c88042eb740b03920c60ca3f0b8' }, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", { key: 'db42771f819ba0b951458505be33fa27d96c626e' }, h("duet-spacer", { key: 'ece32f47f5c075f949156ae62ea4d53f2bc9a75a', size: "xx-small" }), h("duet-caption", { key: 'eb570008d5b29058acbe690a92e93cfaa66810e7', margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", { key: 'ddd0d7cf3e349528ae6ec6c013df72449aae340a' }, h("duet-spacer", { key: 'b8b542af5b875cb32591d12125726441bfc71927', size: "xx-small" }), h("slot", { key: '40409b224b5b2acdd0689cadc4332b8bff4750d9', name: "additional" })))), h("div", { key: 'ad56ee344580c7cb2a9abca5651375dd9d725e24' }, h("div", { key: '2c5bdf19e1001fd6bb57bfe3b2cdc44c217c64f7', class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { key: 'cfea1353992716f4d965ce0db1869d9914db7bc6', class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { key: 'c3073fdf9da1c74366e9fd43a07321587db86374', ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
370
464
  "duet-choice-info-toggle": true,
371
465
  "duet-theme-turva": this.theme === "turva",
372
- }, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, h("div", { key: 'a6ce7e8b62192855cccf8989cf3f01abe95e32ef', class: "duet-choice-info-icon" }, h("duet-icon", { key: '62b112f3050dab7811bd7a0fb7354a88b60f702f', icon: messagingInfo.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (h("span", { key: '4ffef77c7f061ecc78412b274b5974d37df32cd6', id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
466
+ }, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, h("div", { key: '6fa70b3e97c81f44e8d4bdce9d1511680a19d674', class: "duet-choice-info-icon" }, h("duet-icon", { key: '2129ca97e0d1e45ca69cd17ad0dd5de7fd4dfafb', icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (h("span", { key: '4990fa0e4b60b0e87076113b5e302b06d55d566f', id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
373
467
  "duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
374
468
  "duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
375
- } }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container", onKeyUp: e => this.handleEscape(e) }, h("span", null, h("slot", { name: "info" })), h("slot", null))) : (h("span", { id: `${this.choiceId}-collapsible-content` }, h("slot", null)))))) : null));
469
+ } }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", { ref: span => (this.infoContainer = span), tabindex: "-1", class: "duet-choice-info-container", onKeyUp: e => this.handleEscape(e) }, h("span", null, h("slot", { name: "info" })), h("slot", null))) : (h("span", { id: `${this.choiceId}-collapsible-content` }, h("slot", null)))))) : null));
376
470
  }
377
471
  get element() { return getElement(this); }
378
472
  };
379
- DuetChoice.style = DuetChoiceStyle0;
473
+ DuetChoice.style = duetChoiceCss;
380
474
 
381
- const duetChoiceGroupCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}:host(.horizontal) .duet-choice-group{display:block;margin-bottom:-12px}:host(.horizontal) .duet-choice-group.duet-no-stacking{display:flex}@media (min-width: 48em){:host(.horizontal) .duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){:host(.horizontal) .duet-choice-group{display:flex}}:host(.horizontal.duet-choice-group-breakpoint-x-small) .duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){:host(.horizontal.duet-choice-group-breakpoint-x-small) .duet-choice-group:not(.duet-no-stacking){display:block}}:host(.horizontal.duet-choice-group-breakpoint-small) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){:host(.horizontal.duet-choice-group-breakpoint-small) .duet-choice-group:not(.duet-no-stacking){display:flex}}:host(.horizontal.duet-choice-group-breakpoint-medium) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){:host(.horizontal.duet-choice-group-breakpoint-medium) .duet-choice-group:not(.duet-no-stacking){display:flex}}:host(.horizontal.duet-choice-group-breakpoint-large) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){:host(.horizontal.duet-choice-group-breakpoint-large) .duet-choice-group:not(.duet-no-stacking){display:flex}}:host(.horizontal.duet-choice-group-breakpoint-x-large) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){:host(.horizontal.duet-choice-group-breakpoint-x-large) .duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";
382
- const DuetChoiceGroupStyle0 = duetChoiceGroupCss;
475
+ const duetChoiceGroupCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%}:host(.horizontal) .duet-choice-group{display:block;margin-bottom:-12px}:host(.horizontal) .duet-choice-group.duet-no-stacking{display:flex}@media (min-width: 48em){:host(.horizontal) .duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){:host(.horizontal) .duet-choice-group{display:flex}}:host(.horizontal.duet-choice-group-breakpoint-x-small) .duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){:host(.horizontal.duet-choice-group-breakpoint-x-small) .duet-choice-group:not(.duet-no-stacking){display:block}}:host(.horizontal.duet-choice-group-breakpoint-small) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){:host(.horizontal.duet-choice-group-breakpoint-small) .duet-choice-group:not(.duet-no-stacking){display:flex}}:host(.horizontal.duet-choice-group-breakpoint-medium) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){:host(.horizontal.duet-choice-group-breakpoint-medium) .duet-choice-group:not(.duet-no-stacking){display:flex}}:host(.horizontal.duet-choice-group-breakpoint-large) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){:host(.horizontal.duet-choice-group-breakpoint-large) .duet-choice-group:not(.duet-no-stacking){display:flex}}:host(.horizontal.duet-choice-group-breakpoint-x-large) .duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){:host(.horizontal.duet-choice-group-breakpoint-x-large) .duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";
383
476
 
384
477
  const DuetChoiceGroup = class {
385
478
  constructor(hostRef) {
@@ -387,61 +480,113 @@ const DuetChoiceGroup = class {
387
480
  this.choiceGroupName = "duet-choice-group";
388
481
  this.choices = new Set();
389
482
  /**
390
- * Component event handling.
483
+ * Direction of the choice group.
391
484
  */
392
- this.onSelect = (ev) => {
393
- if (ev.detail.component !== "duet-choice") {
394
- return;
395
- }
396
- const selectedChoice = ev.target;
397
- if (selectedChoice && this.choices.has(selectedChoice)) {
398
- this.value = selectedChoice.value;
399
- }
400
- };
401
- this.onChoiceReady = (ev) => {
402
- const choice = ev.target;
403
- if (choice.closest("duet-choice-group") === this.element && !this.choices.has(choice)) {
404
- this.choices.add(choice);
405
- this.updateChoices();
406
- }
407
- };
408
- this.onChoiceRemove = (ev) => {
409
- const choice = ev.target;
410
- this.choices.delete(choice);
411
- this.updateChoices();
412
- };
413
485
  this.direction = "vertical";
486
+ /**
487
+ * Controls the margin of the component.
488
+ */
414
489
  this.margin = "auto";
490
+ /**
491
+ * Theme of the choice group.
492
+ */
415
493
  this.theme = "";
494
+ /**
495
+ * Display choice group in error state along with an error message.
496
+ */
416
497
  this.error = "";
417
- this.name = undefined;
498
+ /**
499
+ * Legend displayed for the choice buttons in this group.
500
+ */
418
501
  this.label = "Label";
502
+ /**
503
+ * Visually hide the label, but still show it to screen readers.
504
+ */
419
505
  this.labelHidden = false;
506
+ /**
507
+ * Additional caption to show inside the label of the choice group.
508
+ */
420
509
  this.caption = undefined;
510
+ /**
511
+ * Tooltip to display next to the label of the choice group.
512
+ */
421
513
  this.tooltip = undefined;
514
+ /**
515
+ * With direction setting you can force the tooltip to always open towards left
516
+ * or right instead of automatically determining the direction.
517
+ */
422
518
  this.tooltipDirection = "auto";
519
+ /**
520
+ * Enable or disable the automatic responsive behaviour of the choice group
521
+ * component when horizontal setting is used. Setting this option to "true"
522
+ * makes sure that contents are stacked vertically on mobile.
523
+ */
423
524
  this.responsive = false;
525
+ /**
526
+ * Switch the breakpoint used to trigger the content stacking. These match to
527
+ * similar media query tokens eg.: $media-query-small, $media-query-medium.
528
+ */
424
529
  this.breakpoint = "small";
425
- this.value = undefined;
426
- this.disabled = undefined;
530
+ /**
531
+ * Sets whether making a choice is required or optional. Will set contained choices to required as well.
532
+ */
427
533
  this.required = false;
534
+ /**
535
+ * The aria-live attribute for the error message. When the input is validated on blur, use "off", as using "polite" or "assertive"
536
+ * makes the screen reader read the error message twice. When the input is validated on submit, use "polite", as "off" would leave
537
+ * the messages unread by screen readers. Use "assertive" only in those rare cases when "polite" would leave the error message
538
+ * unread by screen readers.
539
+ */
428
540
  this.accessibleLiveError = "polite";
541
+ // Call this.updateChoices when a child choice has been removed - addtions are handled by events
542
+ this.childObserverCallback = (mutationList) => {
543
+ if (mutationList.some(r => {
544
+ var _a;
545
+ return ((_a = r.removedNodes) === null || _a === void 0 ? void 0 : _a.length) > 0 &&
546
+ Array.from(r.removedNodes.values()).some(n => n.nodeName.toLowerCase() === "duet-choice");
547
+ })) {
548
+ this.updateChoices();
549
+ }
550
+ };
551
+ /**
552
+ * Component event handling.
553
+ */
554
+ this.onSelect = (ev) => {
555
+ if (ev.detail.component !== "duet-choice") {
556
+ return;
557
+ }
558
+ const selectedChoice = ev.target;
559
+ if (selectedChoice && this.choices.has(selectedChoice)) {
560
+ this.value = selectedChoice.value;
561
+ }
562
+ };
563
+ this.onChoiceReady = () => {
564
+ this.updateChoices();
565
+ };
566
+ }
567
+ removeDisabledAttributeWhenFalse() {
568
+ if (!this.disabled) {
569
+ this.element.removeAttribute("disabled");
570
+ }
429
571
  }
430
572
  /**
431
573
  * Component lifecycle events.
432
574
  */
433
575
  async connectedCallback() {
576
+ this.childObserver = new MutationObserver(this.childObserverCallback.bind(this));
577
+ this.childObserver.observe(this.element, { childList: true, subtree: true });
434
578
  this.setInitialValue();
435
579
  this.updateChoices();
436
580
  }
437
581
  disconnectedCallback() {
438
- if (this.mutationO) {
439
- this.mutationO.disconnect();
440
- this.mutationO = undefined;
582
+ if (this.childObserver) {
583
+ this.childObserver.disconnect();
584
+ this.childObserver = undefined;
441
585
  }
442
586
  }
443
587
  componentWillLoad() {
444
588
  inheritGlobalTheme(this);
589
+ this.removeDisabledAttributeWhenFalse();
445
590
  checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
446
591
  }
447
592
  setInitialValue() {
@@ -463,13 +608,19 @@ const DuetChoiceGroup = class {
463
608
  var _a;
464
609
  const value = (_a = this.value) !== null && _a !== void 0 ? _a : this.initialValue;
465
610
  let hasChecked = false;
611
+ this.choices.clear();
612
+ this.element.querySelectorAll("duet-choice").forEach((choice) => {
613
+ if (choice.closest("duet-choice-group") === this.element) {
614
+ this.choices.add(choice);
615
+ }
616
+ });
466
617
  // Walk the DOM in reverse order, since the last selected one wins
467
618
  for (const choice of Array.from(this.choices)) {
468
619
  choice.name = this.name;
469
620
  choice.required = this.required;
470
621
  choice.groupDisabled = this.disabled;
471
622
  choice.groupDirection = this.direction;
472
- choice.groupResponsive = this.responsive;
623
+ choice.groupResponsive = this.responsive ? this.breakpoint : undefined;
473
624
  if (!hasChecked && choice.value === value) {
474
625
  // Correct value for this choice, but this choice isn't checked yet
475
626
  // and we haven't found a checked yet
@@ -494,24 +645,24 @@ const DuetChoiceGroup = class {
494
645
  * Always the last one in the class.
495
646
  */
496
647
  render() {
497
- return (h(Host, { key: '3a55040fa3a6ea1f2f82489fce7f08af2dc082bc', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
648
+ return (h(Host, { key: '39267534dcf19f7f942ef44d869d302552ad8463', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, class: {
498
649
  horizontal: this.direction === "horizontal",
499
650
  "duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
500
651
  "duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
501
652
  "duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
502
653
  "duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
503
654
  "duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
504
- } }, h("duet-fieldset", { key: 'eb4785f2a62d457620798d2f755ee95ace6a3bed', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: 'caf1a837a650da0c985a5588547b64a6fe866750', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: 'a5ab570871725a28ae2b719766fb99e2c5638b06', name: "tooltip" }), h("div", { key: 'e28cb37104f73c4ec6382c07b28131ede9630257', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, h("slot", { key: 'd0e248743373089659e296c7c4b9295ed7283944' })))));
655
+ } }, h("duet-fieldset", { key: '1e292babf2206d42d58c46f88bed02959e595dc1', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: '435735b34c7f437aba23bda2eebd7fa78aa30f3d', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '898fe0c09e0b5ba4c62d21af1c06f8c0353c0e08', name: "tooltip" }), h("div", { key: 'de8a0372a7be4adb5c97bccb01c1ef11d71a012b', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '28a116e0e58afe8867e9bd3229dc618895961301' })))));
505
656
  }
506
657
  get element() { return getElement(this); }
507
658
  static get watchers() { return {
659
+ "disabled": ["removeDisabledAttributeWhenFalse", "updateChoices"],
508
660
  "value": ["setInitialValue", "updateChoices"],
509
- "disabled": ["updateChoices"],
510
661
  "name": ["updateChoices"],
511
662
  "direction": ["updateChoices"],
512
663
  "responsive": ["updateChoices"]
513
664
  }; }
514
665
  };
515
- DuetChoiceGroup.style = DuetChoiceGroupStyle0;
666
+ DuetChoiceGroup.style = duetChoiceGroupCss;
516
667
 
517
668
  export { DuetChoice as duet_choice, DuetChoiceGroup as duet_choice_group };