@duetds/components 10.3.0 → 10.4.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 (507) hide show
  1. package/hydrate/index.js +782 -325
  2. package/hydrate/index.mjs +782 -325
  3. package/lib/cjs/{a11y-utils-b27OEdFX.js → a11y-utils-BXDHn_nL.js} +1 -1
  4. package/lib/cjs/{app-globals-DhPOoPl1.js → app-globals-Bs3-XKhd.js} +1 -1
  5. package/lib/cjs/duet-action-button.cjs.entry.js +5 -5
  6. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-badge.cjs.entry.js +5 -5
  8. package/lib/cjs/duet-banner.cjs.entry.js +13 -9
  9. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  10. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +7 -7
  11. package/lib/cjs/duet-button_2.cjs.entry.js +27 -12
  12. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  13. package/lib/cjs/duet-caption_4.cjs.entry.js +16 -16
  14. package/lib/cjs/duet-card.cjs.entry.js +8 -8
  15. package/lib/cjs/duet-checkbox.cjs.entry.js +5 -5
  16. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-chip.cjs.entry.js +7 -5
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +15 -13
  19. package/lib/cjs/duet-collapsible.cjs.entry.js +6 -6
  20. package/lib/cjs/duet-combobox.cjs.entry.js +27 -10
  21. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  22. package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
  23. package/lib/cjs/duet-date-picker.cjs.entry.js +30 -34
  24. package/lib/cjs/duet-divider_2.cjs.entry.js +6 -6
  25. package/lib/cjs/duet-editable-table_3.cjs.entry.js +12 -12
  26. package/lib/cjs/duet-empty-state.cjs.entry.js +33 -7
  27. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  28. package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
  29. package/lib/cjs/duet-footer.cjs.entry.js +8 -8
  30. package/lib/cjs/duet-grid_2.cjs.entry.js +14 -7
  31. package/lib/cjs/duet-header_2.cjs.entry.js +7 -7
  32. package/lib/cjs/duet-hero.cjs.entry.js +9 -9
  33. package/lib/cjs/duet-icon.cjs.entry.js +7 -7
  34. package/lib/cjs/duet-indicator.cjs.entry.js +5 -5
  35. package/lib/cjs/duet-input_2.cjs.entry.js +22 -14
  36. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  37. package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
  38. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  39. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  41. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
  42. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
  44. package/lib/cjs/duet-modal.cjs.entry.js +14 -14
  45. package/lib/cjs/duet-multiselect.cjs.entry.js +11 -11
  46. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  48. package/lib/cjs/duet-number-input.cjs.entry.js +8 -8
  49. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
  51. package/lib/cjs/duet-pagination_2.cjs.entry.js +18 -18
  52. package/lib/cjs/duet-panel.cjs.entry.js +4 -4
  53. package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +30 -18
  55. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-promo-card.cjs.entry.js +13 -9
  57. package/lib/cjs/duet-radio_2.cjs.entry.js +10 -8
  58. package/lib/cjs/duet-range-slider.cjs.entry.js +7 -7
  59. package/lib/cjs/duet-scrollable_3.cjs.entry.js +17 -17
  60. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-select.cjs.entry.js +10 -10
  62. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-share-chart.cjs.entry.js +8 -8
  65. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  66. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  67. package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
  68. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
  69. package/lib/cjs/duet-slideout-panel.cjs.entry.js +13 -13
  70. package/lib/cjs/duet-slideout.cjs.entry.js +20 -18
  71. package/lib/cjs/duet-status-icon.cjs.entry.js +8 -4
  72. package/lib/cjs/duet-step_2.cjs.entry.js +6 -6
  73. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  74. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -7
  75. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
  76. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
  78. package/lib/cjs/duet-textarea.cjs.entry.js +14 -21
  79. package/lib/cjs/duet-toggle.cjs.entry.js +8 -8
  80. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  81. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  82. package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
  83. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  84. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +9 -9
  86. package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
  87. package/lib/cjs/duet-tray.cjs.entry.js +6 -6
  88. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  89. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  90. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  91. package/lib/cjs/duet.cjs.js +3 -3
  92. package/lib/cjs/{errorcodes.utils-BlVVWFcS.js → errorcodes.utils-W6UQ3hgy.js} +1 -1
  93. package/lib/cjs/{focus-utils-DIeiBu1A.js → focus-utils-KTKpjKRi.js} +1 -1
  94. package/lib/cjs/{index-CeCDgexG.js → index-C7Yvi8y8.js} +5 -5
  95. package/lib/cjs/{label-BK_7MvDR.js → label-DZ63Z3SI.js} +1 -1
  96. package/lib/cjs/{language-utils-BmMgyx0x.js → language-utils-BsevPDrN.js} +1 -1
  97. package/lib/cjs/loader.cjs.js +3 -3
  98. package/lib/cjs/{slot-utils-PLQ1zjHe.js → slot-utils-DIDW777s.js} +2 -2
  99. package/lib/cjs/{themeable-component-DD3okLL-.js → themeable-component-hQ83w5_A.js} +1 -1
  100. package/lib/cjs/{token-utils-CaLsk40I.js → token-utils-DY3-olMV.js} +1 -1
  101. package/lib/cjs/{tokens-DWngQgYY.js → tokens-COLlUECP.js} +226 -4
  102. package/lib/cjs/{tokens.module-BMAWZwue.js → tokens.module-CTbvyezn.js} +152 -4
  103. package/lib/collection/components/duet-action-button/duet-action-button.css +1 -1
  104. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  105. package/lib/collection/components/duet-banner/duet-banner.css +7 -0
  106. package/lib/collection/components/duet-banner/duet-banner.js +8 -4
  107. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +1 -1
  108. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  109. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  110. package/lib/collection/components/duet-button/duet-button.css +14 -8
  111. package/lib/collection/components/duet-button/duet-button.js +20 -5
  112. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  113. package/lib/collection/components/duet-caption/duet-caption.js +2 -2
  114. package/lib/collection/components/duet-card/duet-card.css +2 -2
  115. package/lib/collection/components/duet-card/duet-card.js +3 -3
  116. package/lib/collection/components/duet-checkbox/duet-checkbox.css +1 -1
  117. package/lib/collection/components/duet-checkbox/duet-checkbox.js +2 -2
  118. package/lib/collection/components/duet-chip/duet-chip.css +1 -3
  119. package/lib/collection/components/duet-chip/duet-chip.js +4 -2
  120. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  121. package/lib/collection/components/duet-choice/duet-choice.css +3 -3
  122. package/lib/collection/components/duet-choice/duet-choice.js +9 -36
  123. package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
  124. package/lib/collection/components/duet-collapsible/duet-collapsible.css +1 -1
  125. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  126. package/lib/collection/components/duet-combobox/duet-combobox.js +22 -5
  127. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  128. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +2 -2
  129. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  130. package/lib/collection/components/duet-date-picker/date-utils.js +2 -1
  131. package/lib/collection/components/duet-date-picker/duet-date-picker.css +8 -9
  132. package/lib/collection/components/duet-date-picker/duet-date-picker.js +23 -29
  133. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  134. package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -2
  135. package/lib/collection/components/duet-empty-state/duet-empty-state.css +55 -2
  136. package/lib/collection/components/duet-empty-state/duet-empty-state.js +124 -6
  137. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  138. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  139. package/lib/collection/components/duet-footer/duet-footer.css +1 -1
  140. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  141. package/lib/collection/components/duet-grid/duet-grid.css +23 -0
  142. package/lib/collection/components/duet-grid/duet-grid.js +29 -2
  143. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  144. package/lib/collection/components/duet-header/duet-header.css +6 -6
  145. package/lib/collection/components/duet-heading/duet-heading.css +62 -0
  146. package/lib/collection/components/duet-heading/duet-heading.js +40 -2
  147. package/lib/collection/components/duet-hero/duet-hero.css +1 -1
  148. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  149. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  150. package/lib/collection/components/duet-indicator/duet-indicator.js +2 -2
  151. package/lib/collection/components/duet-input/duet-input.css +81 -64
  152. package/lib/collection/components/duet-input/duet-input.js +14 -6
  153. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  154. package/lib/collection/components/duet-link/duet-link.css +1 -1
  155. package/lib/collection/components/duet-link/duet-link.js +2 -2
  156. package/lib/collection/components/duet-list/duet-list.js +1 -1
  157. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  158. package/lib/collection/components/duet-logo/duet-logo.css +1 -1
  159. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  160. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  161. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +1 -1
  162. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  163. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +1 -1
  164. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  165. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +1 -1
  166. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  167. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +1 -1
  168. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  169. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +1 -1
  170. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  171. package/lib/collection/components/duet-modal/duet-modal.js +7 -7
  172. package/lib/collection/components/duet-multiselect/duet-multiselect.css +33 -48
  173. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  174. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  175. package/lib/collection/components/duet-notification/duet-notification.css +1 -1
  176. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  177. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +1 -1
  178. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
  179. package/lib/collection/components/duet-number-input/duet-number-input.css +1 -1
  180. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  181. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  182. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  183. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  184. package/lib/collection/components/duet-panel/duet-panel.js +2 -2
  185. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  186. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +21 -9
  187. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +2 -2
  188. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  189. package/lib/collection/components/duet-promo-card/duet-promo-card.css +8 -1
  190. package/lib/collection/components/duet-promo-card/duet-promo-card.js +8 -4
  191. package/lib/collection/components/duet-radio/duet-radio.css +1 -1
  192. package/lib/collection/components/duet-radio/duet-radio.js +6 -4
  193. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  194. package/lib/collection/components/duet-range-slider/duet-range-slider.css +1 -1
  195. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  196. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  197. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  198. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  199. package/lib/collection/components/duet-select/duet-select.css +29 -37
  200. package/lib/collection/components/duet-select/duet-select.js +5 -5
  201. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  202. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  203. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  204. package/lib/collection/components/duet-show-more/duet-show-more.css +1 -1
  205. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  206. package/lib/collection/components/duet-slideout/duet-slideout.css +1 -1
  207. package/lib/collection/components/duet-slideout/duet-slideout.js +12 -10
  208. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  209. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +1 -1
  210. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  211. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +2 -4
  212. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  213. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +1 -1
  214. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  215. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  216. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  217. package/lib/collection/components/duet-status-icon/duet-status-icon.css +39 -0
  218. package/lib/collection/components/duet-status-icon/duet-status-icon.js +13 -2
  219. package/lib/collection/components/duet-step/duet-step.css +1 -1
  220. package/lib/collection/components/duet-step/duet-step.js +2 -2
  221. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  222. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +1 -1
  223. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  224. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +1 -1
  225. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  226. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +1 -1
  227. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  228. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +1 -1
  229. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  230. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +1 -1
  231. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  232. package/lib/collection/components/duet-tab/duet-tab.css +1 -1
  233. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  234. package/lib/collection/components/duet-tab-group/duet-tab-group.css +3 -3
  235. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  236. package/lib/collection/components/duet-table/duet-table.js +2 -2
  237. package/lib/collection/components/duet-textarea/duet-textarea.css +41 -77
  238. package/lib/collection/components/duet-textarea/duet-textarea.js +8 -15
  239. package/lib/collection/components/duet-toggle/duet-toggle.css +1 -1
  240. package/lib/collection/components/duet-toggle/duet-toggle.js +3 -3
  241. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  242. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +1 -1
  243. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  244. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +1 -1
  245. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  246. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +1 -1
  247. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  248. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +1 -1
  249. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  250. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +1 -1
  251. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  252. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +2 -2
  253. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +3 -3
  254. package/lib/collection/components/duet-tray/duet-tray.css +2 -2
  255. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  256. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  257. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  258. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  259. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  260. package/lib/collection/utils/slot-utils.js +1 -1
  261. package/lib/duet/duet.esm.js +1 -1
  262. package/lib/duet/p--fmK3qPb.js +4 -0
  263. package/lib/duet/{p-9240c039.entry.js → p-01f3e30c.entry.js} +1 -1
  264. package/lib/duet/p-0395eb34.entry.js +4 -0
  265. package/lib/duet/{p-7609417a.entry.js → p-0453edd0.entry.js} +1 -1
  266. package/lib/duet/p-07aa40df.entry.js +4 -0
  267. package/lib/duet/{p-bc5b4e44.entry.js → p-07c4b435.entry.js} +1 -1
  268. package/lib/duet/p-0eb0e582.entry.js +4 -0
  269. package/lib/duet/p-104ddbf2.entry.js +4 -0
  270. package/lib/duet/{p-137e710f.entry.js → p-12e4e9b6.entry.js} +1 -1
  271. package/lib/duet/{p-3a4dcdbd.entry.js → p-13b7f4e0.entry.js} +1 -1
  272. package/lib/duet/{p-11847d3e.entry.js → p-14d4a45a.entry.js} +1 -1
  273. package/lib/duet/{p-f31a6b2e.entry.js → p-1666aeaf.entry.js} +1 -1
  274. package/lib/duet/{p-d9963958.entry.js → p-1705b6cf.entry.js} +1 -1
  275. package/lib/duet/{p-6ff3fc39.entry.js → p-184d53a7.entry.js} +1 -1
  276. package/lib/duet/{p-6ca30a68.entry.js → p-1bdef0e0.entry.js} +1 -1
  277. package/lib/duet/p-1dcbbd67.entry.js +4 -0
  278. package/lib/duet/{p-c0785349.entry.js → p-1ed82a27.entry.js} +1 -1
  279. package/lib/duet/{p-a5b9e098.entry.js → p-1ee400e7.entry.js} +1 -1
  280. package/lib/duet/p-2168e431.entry.js +4 -0
  281. package/lib/duet/p-2HU78SJ-.js +4 -0
  282. package/lib/duet/{p-408ace89.entry.js → p-2d43de54.entry.js} +1 -1
  283. package/lib/duet/{p-20aefca2.entry.js → p-2e413951.entry.js} +1 -1
  284. package/lib/duet/{p-32c7c0c1.entry.js → p-3361387d.entry.js} +1 -1
  285. package/lib/duet/p-3648404d.entry.js +4 -0
  286. package/lib/duet/{p-1da05915.entry.js → p-376f9d06.entry.js} +1 -1
  287. package/lib/duet/p-3bd45b5b.entry.js +4 -0
  288. package/lib/duet/{p-9da7ffc9.entry.js → p-3c26d300.entry.js} +1 -1
  289. package/lib/duet/{p-6f08e639.entry.js → p-428db44b.entry.js} +1 -1
  290. package/lib/duet/p-4420973e.entry.js +4 -0
  291. package/lib/duet/{p-90ab8a57.entry.js → p-455e8ebe.entry.js} +1 -1
  292. package/lib/duet/{p-565bcf84.entry.js → p-46300680.entry.js} +1 -1
  293. package/lib/duet/{p-f9f25386.entry.js → p-494755d0.entry.js} +1 -1
  294. package/lib/duet/{p-70d7a04d.entry.js → p-4c5a8ed3.entry.js} +1 -1
  295. package/lib/duet/{p-c504dc42.entry.js → p-4d39941c.entry.js} +1 -1
  296. package/lib/duet/p-4f7b0699.entry.js +4 -0
  297. package/lib/duet/p-526fa31c.entry.js +4 -0
  298. package/lib/duet/p-58496fb1.entry.js +4 -0
  299. package/lib/duet/{p-62954ecf.entry.js → p-58a70b3d.entry.js} +1 -1
  300. package/lib/duet/{p-9f941e06.entry.js → p-592a6542.entry.js} +1 -1
  301. package/lib/duet/p-5c8c691b.entry.js +4 -0
  302. package/lib/duet/{p-ab939713.entry.js → p-5dde8fbb.entry.js} +1 -1
  303. package/lib/duet/{p-73263349.entry.js → p-5ffc4081.entry.js} +1 -1
  304. package/lib/duet/{p-5a576bae.entry.js → p-61b6962a.entry.js} +1 -1
  305. package/lib/duet/{p-faf6d461.entry.js → p-6988c81c.entry.js} +1 -1
  306. package/lib/duet/p-73ed0008.entry.js +4 -0
  307. package/lib/duet/p-7a2ca711.entry.js +4 -0
  308. package/lib/duet/{p-43723ce5.entry.js → p-7a5066b8.entry.js} +1 -1
  309. package/lib/duet/{p-d36dabf1.entry.js → p-7a668cee.entry.js} +1 -1
  310. package/lib/duet/p-7e640c8e.entry.js +4 -0
  311. package/lib/duet/{p-00e0f919.entry.js → p-7eaa1fb5.entry.js} +1 -1
  312. package/lib/duet/{p-93bfe3dd.entry.js → p-81332db1.entry.js} +1 -1
  313. package/lib/duet/{p-caf9df46.entry.js → p-816caa58.entry.js} +1 -1
  314. package/lib/duet/{p-098d7665.entry.js → p-84420fbf.entry.js} +1 -1
  315. package/lib/duet/p-870dc953.entry.js +4 -0
  316. package/lib/duet/{p-22143e3e.entry.js → p-87bb797c.entry.js} +1 -1
  317. package/lib/duet/p-9d8027aa.entry.js +4 -0
  318. package/lib/duet/p-BW3SZS4F.js +4 -0
  319. package/lib/duet/p-Ce9HQd35.js +4 -0
  320. package/lib/duet/{p-DNW9B4-w.js → p-Chf7ZRmW.js} +1 -1
  321. package/lib/duet/p-CtBx3Trd.js +4 -0
  322. package/lib/duet/{p-FlJJ5tdo.js → p-Cwhi6_oZ.js} +1 -1
  323. package/lib/duet/{p-BEzfNXw0.js → p-D2EBd3cT.js} +1 -1
  324. package/lib/duet/{p-D8k4CqJb.js → p-D2ly4TZR.js} +1 -1
  325. package/lib/duet/p-DCDM41Ef.js +4 -0
  326. package/lib/duet/p-DEzE2U5T.js +4 -0
  327. package/lib/duet/{p-Bo0igXOs.js → p-DWIjWGAD.js} +1 -1
  328. package/lib/duet/{p-713cc11f.entry.js → p-a4a1b8e3.entry.js} +1 -1
  329. package/lib/duet/p-a4db8c29.entry.js +4 -0
  330. package/lib/duet/p-a63327c3.entry.js +4 -0
  331. package/lib/duet/{p-1eb20304.entry.js → p-a690a165.entry.js} +1 -1
  332. package/lib/duet/{p-c8f8acf7.entry.js → p-a7bb038a.entry.js} +1 -1
  333. package/lib/duet/{p-2736a400.entry.js → p-adecab91.entry.js} +1 -1
  334. package/lib/duet/p-af9c8169.entry.js +4 -0
  335. package/lib/duet/{p-e19d51b1.entry.js → p-afd7d87a.entry.js} +1 -1
  336. package/lib/duet/{p-b7865974.entry.js → p-b3ec9b98.entry.js} +1 -1
  337. package/lib/duet/{p-42105616.entry.js → p-b64b3e2f.entry.js} +1 -1
  338. package/lib/duet/{p-4de84b4d.entry.js → p-bcced6eb.entry.js} +1 -1
  339. package/lib/duet/{p-91370277.entry.js → p-c1d4542d.entry.js} +1 -1
  340. package/lib/duet/{p-6e98887f.entry.js → p-c71f6942.entry.js} +1 -1
  341. package/lib/duet/p-c7851c15.entry.js +4 -0
  342. package/lib/duet/p-cbd1069e.entry.js +4 -0
  343. package/lib/duet/p-cd4f52a9.entry.js +4 -0
  344. package/lib/duet/{p-a745eb10.entry.js → p-d0a54e6d.entry.js} +1 -1
  345. package/lib/duet/p-d181c624.entry.js +4 -0
  346. package/lib/duet/{p-c23accaf.entry.js → p-d2c04a7e.entry.js} +1 -1
  347. package/lib/duet/{p-014c965f.entry.js → p-d2c91ed0.entry.js} +1 -1
  348. package/lib/duet/p-d3dac8af.entry.js +4 -0
  349. package/lib/duet/{p-9ceede7a.entry.js → p-dc87f3f4.entry.js} +1 -1
  350. package/lib/duet/{p-bb0567b4.entry.js → p-dfd55180.entry.js} +1 -1
  351. package/lib/duet/{p-b0622412.entry.js → p-e8bd6dab.entry.js} +1 -1
  352. package/lib/duet/p-e9ed96cf.entry.js +4 -0
  353. package/lib/duet/p-eab349f2.entry.js +4 -0
  354. package/lib/duet/{p-2d9e573a.entry.js → p-eebf150c.entry.js} +1 -1
  355. package/lib/duet/{p-ed252dd9.entry.js → p-f210e405.entry.js} +1 -1
  356. package/lib/duet/{p-2981f32d.entry.js → p-f600e215.entry.js} +1 -1
  357. package/lib/duet/p-f652a9c7.entry.js +4 -0
  358. package/lib/duet/{p-ae714f68.entry.js → p-fbce84d5.entry.js} +1 -1
  359. package/lib/duet/{p-6db9ac4d.entry.js → p-fea479fd.entry.js} +1 -1
  360. package/lib/esm/{a11y-utils-DAo2lcPY.js → a11y-utils-sgAajRY0.js} +1 -1
  361. package/lib/esm/{app-globals-CzrvWXbM.js → app-globals-NNQmI_gc.js} +1 -1
  362. package/lib/esm/duet-action-button.entry.js +5 -5
  363. package/lib/esm/duet-alert.entry.js +4 -4
  364. package/lib/esm/duet-badge.entry.js +5 -5
  365. package/lib/esm/duet-banner.entry.js +13 -9
  366. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  367. package/lib/esm/duet-breadcrumbs.entry.js +7 -7
  368. package/lib/esm/duet-button_2.entry.js +27 -12
  369. package/lib/esm/duet-callout.entry.js +5 -5
  370. package/lib/esm/duet-caption_4.entry.js +16 -16
  371. package/lib/esm/duet-card.entry.js +8 -8
  372. package/lib/esm/duet-checkbox.entry.js +5 -5
  373. package/lib/esm/duet-checkmark.entry.js +4 -4
  374. package/lib/esm/duet-chip.entry.js +7 -5
  375. package/lib/esm/duet-choice_2.entry.js +15 -13
  376. package/lib/esm/duet-collapsible.entry.js +6 -6
  377. package/lib/esm/duet-combobox.entry.js +27 -10
  378. package/lib/esm/duet-contact-card.entry.js +5 -5
  379. package/lib/esm/duet-cookie-consent.entry.js +3 -3
  380. package/lib/esm/duet-date-picker.entry.js +30 -34
  381. package/lib/esm/duet-divider_2.entry.js +6 -6
  382. package/lib/esm/duet-editable-table_3.entry.js +12 -12
  383. package/lib/esm/duet-empty-state.entry.js +33 -7
  384. package/lib/esm/duet-fieldset.entry.js +6 -6
  385. package/lib/esm/duet-file-chooser.entry.js +3 -3
  386. package/lib/esm/duet-footer.entry.js +8 -8
  387. package/lib/esm/duet-grid_2.entry.js +14 -7
  388. package/lib/esm/duet-header_2.entry.js +7 -7
  389. package/lib/esm/duet-hero.entry.js +9 -9
  390. package/lib/esm/duet-icon.entry.js +7 -7
  391. package/lib/esm/duet-indicator.entry.js +5 -5
  392. package/lib/esm/duet-input_2.entry.js +22 -14
  393. package/lib/esm/duet-layout.entry.js +7 -7
  394. package/lib/esm/duet-list_2.entry.js +5 -5
  395. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  396. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  397. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  398. package/lib/esm/duet-menu-bar-item.entry.js +7 -7
  399. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  400. package/lib/esm/duet-menu-bar.entry.js +6 -6
  401. package/lib/esm/duet-modal.entry.js +14 -14
  402. package/lib/esm/duet-multiselect.entry.js +11 -11
  403. package/lib/esm/duet-nav.entry.js +3 -3
  404. package/lib/esm/duet-notification_2.entry.js +9 -9
  405. package/lib/esm/duet-number-input.entry.js +8 -8
  406. package/lib/esm/duet-overlay.entry.js +3 -3
  407. package/lib/esm/duet-page-heading.entry.js +4 -4
  408. package/lib/esm/duet-pagination_2.entry.js +18 -18
  409. package/lib/esm/duet-panel.entry.js +4 -4
  410. package/lib/esm/duet-phone-input.entry.js +4 -4
  411. package/lib/esm/duet-popup-menu_2.entry.js +30 -18
  412. package/lib/esm/duet-progress.entry.js +3 -3
  413. package/lib/esm/duet-promo-card.entry.js +13 -9
  414. package/lib/esm/duet-radio_2.entry.js +10 -8
  415. package/lib/esm/duet-range-slider.entry.js +7 -7
  416. package/lib/esm/duet-scrollable_3.entry.js +17 -17
  417. package/lib/esm/duet-section-layout.entry.js +4 -4
  418. package/lib/esm/duet-select.entry.js +10 -10
  419. package/lib/esm/duet-shaped-image.entry.js +4 -4
  420. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  421. package/lib/esm/duet-share-chart.entry.js +8 -8
  422. package/lib/esm/duet-show-more.entry.js +5 -5
  423. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  424. package/lib/esm/duet-slideout-link.entry.js +7 -7
  425. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  426. package/lib/esm/duet-slideout-panel.entry.js +13 -13
  427. package/lib/esm/duet-slideout.entry.js +20 -18
  428. package/lib/esm/duet-status-icon.entry.js +8 -4
  429. package/lib/esm/duet-step_2.entry.js +6 -6
  430. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  431. package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
  432. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  433. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  434. package/lib/esm/duet-submenu-bar.entry.js +8 -8
  435. package/lib/esm/duet-textarea.entry.js +14 -21
  436. package/lib/esm/duet-toggle.entry.js +8 -8
  437. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  438. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  439. package/lib/esm/duet-toolbar-item.entry.js +8 -8
  440. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  441. package/lib/esm/duet-toolbar.entry.js +4 -4
  442. package/lib/esm/duet-tooltip-button_2.entry.js +9 -9
  443. package/lib/esm/duet-tooltip.entry.js +5 -5
  444. package/lib/esm/duet-tray.entry.js +6 -6
  445. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  446. package/lib/esm/duet-upload-item.entry.js +6 -6
  447. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  448. package/lib/esm/duet.js +4 -4
  449. package/lib/esm/{errorcodes.utils-DFNtyigo.js → errorcodes.utils-CqW0-HM8.js} +1 -1
  450. package/lib/esm/{focus-utils-BMaSpIw7.js → focus-utils-Dokkd7xz.js} +1 -1
  451. package/lib/esm/{index-FlJJ5tdo.js → index-Cwhi6_oZ.js} +5 -5
  452. package/lib/esm/{label-B8qZstXv.js → label-CyQlly6Z.js} +1 -1
  453. package/lib/esm/{language-utils-D6DmVtHY.js → language-utils-LZh-sc2s.js} +1 -1
  454. package/lib/esm/loader.js +4 -4
  455. package/lib/esm/{slot-utils-CNDJ1X0N.js → slot-utils-CEZnAp61.js} +2 -2
  456. package/lib/esm/{themeable-component-r_Tw1vqr.js → themeable-component-D_FVcjsD.js} +1 -1
  457. package/lib/esm/{token-utils-D46K_pN4.js → token-utils-B0KAgyj_.js} +1 -1
  458. package/lib/esm/{tokens-vvm7i9oY.js → tokens-Ce9HQd35.js} +226 -4
  459. package/lib/esm/{tokens.module-D84A7Xf6.js → tokens.module-DEzE2U5T.js} +152 -4
  460. package/lib/types/common-types.d.ts +11 -28
  461. package/lib/types/components/duet-banner/duet-banner.d.ts +1 -0
  462. package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -0
  463. package/lib/types/components/duet-date-picker/date-utils.d.ts +1 -1
  464. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +1 -2
  465. package/lib/types/components/duet-empty-state/duet-empty-state.d.ts +24 -4
  466. package/lib/types/components/duet-grid/duet-grid.d.ts +5 -0
  467. package/lib/types/components/duet-heading/duet-heading.d.ts +10 -0
  468. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +1 -0
  469. package/lib/types/components/duet-textarea/duet-textarea.d.ts +0 -5
  470. package/lib/types/components.d.ts +72 -6
  471. package/package.json +5 -5
  472. package/lib/duet/p-0c653c09.entry.js +0 -4
  473. package/lib/duet/p-0ef804e4.entry.js +0 -4
  474. package/lib/duet/p-1a28bbe1.entry.js +0 -4
  475. package/lib/duet/p-1d81fcf9.entry.js +0 -4
  476. package/lib/duet/p-1f2469d6.entry.js +0 -4
  477. package/lib/duet/p-2b489051.entry.js +0 -4
  478. package/lib/duet/p-2e967dc9.entry.js +0 -4
  479. package/lib/duet/p-30190152.entry.js +0 -4
  480. package/lib/duet/p-44d1fafb.entry.js +0 -4
  481. package/lib/duet/p-47070cce.entry.js +0 -4
  482. package/lib/duet/p-554d9373.entry.js +0 -4
  483. package/lib/duet/p-59553aa5.entry.js +0 -4
  484. package/lib/duet/p-5dc3f346.entry.js +0 -4
  485. package/lib/duet/p-5dc8a394.entry.js +0 -4
  486. package/lib/duet/p-6359eb27.entry.js +0 -4
  487. package/lib/duet/p-831e210d.entry.js +0 -4
  488. package/lib/duet/p-846b040f.entry.js +0 -4
  489. package/lib/duet/p-8ff66f04.entry.js +0 -4
  490. package/lib/duet/p-9fd00141.entry.js +0 -4
  491. package/lib/duet/p-BZkhQa5F.js +0 -4
  492. package/lib/duet/p-BsJux4JM.js +0 -4
  493. package/lib/duet/p-Bv3O2yFB.js +0 -4
  494. package/lib/duet/p-D84A7Xf6.js +0 -4
  495. package/lib/duet/p-Dd0j805V.js +0 -4
  496. package/lib/duet/p-a4b62f2f.entry.js +0 -4
  497. package/lib/duet/p-b8648d7a.entry.js +0 -4
  498. package/lib/duet/p-c18726af.entry.js +0 -4
  499. package/lib/duet/p-c2572d80.entry.js +0 -4
  500. package/lib/duet/p-d3b4339e.entry.js +0 -4
  501. package/lib/duet/p-dZaxsCbb.js +0 -4
  502. package/lib/duet/p-dfab71df.entry.js +0 -4
  503. package/lib/duet/p-e655dd7d.entry.js +0 -4
  504. package/lib/duet/p-f0eda0e2.entry.js +0 -4
  505. package/lib/duet/p-f58c0527.entry.js +0 -4
  506. package/lib/duet/p-fc0cb6fb.entry.js +0 -4
  507. package/lib/duet/p-vvm7i9oY.js +0 -4
@@ -1,11 +1,11 @@
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-FlJJ5tdo.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-r_Tw1vqr.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-Cwhi6_oZ.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-D_FVcjsD.js';
6
6
  import { c as createID } from './create-id-Cfr_DJqU.js';
7
7
  import { s as subscribeTabbingChange, u as unsubscribeTabbingChange, h as enableUserIsTabbing } from './keyboard-utils-Db8rvjPI.js';
8
- import { g as getLocaleString } from './language-utils-D6DmVtHY.js';
8
+ import { g as getLocaleString } from './language-utils-LZh-sc2s.js';
9
9
  import './string-utils-C6E9F6QT.js';
10
10
 
11
11
  const duetChipCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:8px !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;hyphens:none;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:600;line-height:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:8px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:12px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:12px}.duet-chip-container duet-icon:not(.check-mark){visibility:visible;width:auto;transform:scaleX(1);transition:width 300ms ease, transform 300ms ease}.duet-chip-container duet-icon.check-mark{visibility:hidden;width:0;overflow:hidden;transform:scaleX(0);transition:width 300ms ease, transform 300ms ease}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){visibility:hidden;width:0;overflow:hidden;transform:scaleX(0);transition:width 300ms ease, transform 300ms ease}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{visibility:visible;width:auto;transform:scaleX(1);transition:width 300ms ease, transform 300ms ease}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 18px}.duet-chip-container.large.duet-chip-has-icon .duet-chip-icon-container{width:30px;padding-right:10px}.duet-chip-container.large .duet-chip-popup-disclosure{padding-right:6.5px;padding-left:14.5px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,.duet-theme-turva :host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva{outline-color:rgba(53, 79, 101, 0.8)}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;appearance:none;cursor:pointer;border-width:2px;border-radius:8px;opacity:0}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}.duet-chip-container.duet-theme-turva{color:rgb(23, 42, 59) !important;background:rgb(255, 255, 255);border-color:rgb(178, 194, 205)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(230, 23, 64)}.duet-chip-container.duet-theme-turva.duet-chip-disabled{color:rgb(120, 145, 164) !important;background:rgb(245, 246, 247);border-color:rgb(245, 246, 247)}.duet-chip-container.duet-theme-turva.duet-chip-disabled:hover{background:rgb(245, 246, 247);border-color:rgb(245, 246, 247)}.duet-chip-container.duet-theme-turva.duet-chip-filter-checked,.duet-chip-container.duet-theme-turva.duet-chip-radio-checked{background:rgb(253, 247, 242);border-color:rgb(230, 23, 64)}.duet-chip-container.duet-theme-turva.duet-chip-filter-checked:hover,.duet-chip-container.duet-theme-turva.duet-chip-radio-checked:hover{background:rgb(251, 225, 209)}.duet-chip-container.duet-theme-turva.duet-chip-filter-popup-open{background:rgb(253, 247, 242);border-color:rgb(178, 194, 205)}.duet-chip-container.duet-theme-turva.duet-chip-input .duet-chip-remove-button:hover{background:rgb(255, 242, 242)}.duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-selected{background:rgb(255, 242, 242)}.duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(255, 229, 230);background-clip:padding-box}.duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 201, 204);background-clip:padding-box}.duet-chip-container.duet-theme-turva.duet-chip-input:hover{border-color:rgb(178, 194, 205)}.duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-theme-turva.duet-chip-input.duet-chip-selected{border-color:rgb(230, 23, 64)}";
@@ -98,7 +98,9 @@ const DuetChip = class {
98
98
  radioInput.ariaDisabled = this.disabled ? "true" : undefined;
99
99
  radioInput.id = this.identifier || this.chipId;
100
100
  radioInput.type = "radio";
101
- radioInput.name = this.name;
101
+ if (radioInput.name !== this.name) {
102
+ radioInput.name = this.name;
103
+ }
102
104
  radioInput.value = this.value;
103
105
  radioInput.checked = this.checked;
104
106
  radioInput.ariaLabel = this.element.textContent;
@@ -341,7 +343,7 @@ const DuetChip = class {
341
343
  onBlur: this.onBlur,
342
344
  ref: el => (this.focusableElement = el),
343
345
  };
344
- return (h(Host, { key: 'e26aa34e15b03e670a0f3f0e0d4cc24a237434bd', class: { [this.variation]: true } }, this.variation === "button" && (h("span", { key: '9f57e595caa81d8d4b84394b3a4a49fbdf19da48', class: classes }, h("button", Object.assign({ key: 'd68d62140116bf1fbb975b9b6b0453ff209e02c1', id: identifier, "aria-label": this.accessibleLabel, "aria-haspopup": this.getAccessiblePopup(), "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, name: this.name, value: this.value, onClick: this.disabled ? evt => evt.stopPropagation() : undefined }, focusHandlers), h("span", { key: 'ddf0a95c86a07ebed9110017d6a0bd77e47a3e95', class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { key: 'd6adb6765da92cb43ed0c408ecd8bea4221047a8', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", { key: 'ce3208e6913557213ca536866493c7765bc2cb77' })))), this.variation === "input" && (h("span", { key: '75ec4e277b428b7e34bd5366b9a487c16c886ae9', class: classes, "aria-label": this.getAccessibleInputChipLabel() }, h("button", Object.assign({ key: '92de738c0bd52efb610ecc97056827f0af9a1252', id: identifier, class: "duet-chip-input-button", value: this.value, "aria-label": this.accessibleLabel, onMouseOver: () => (this.inputChipHover = true), onMouseOut: () => (this.inputChipHover = false), onClick: () => (this.selected = !this.selected) }, focusHandlers), h("span", { key: 'ff2ae73783f77320559096261e367a6d5496c9fb', class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { key: 'f8ac9cb89ed8e949a37944938652b62008fc19c7', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", { key: 'aaf69ef9eb8e5b3f48a68e4a01a70b2272d469ae' })), h("button", { key: 'fe3a6dcce274c4f812c58da61c30f97707ef5767', class: "duet-chip-remove-button", "aria-label": this.getAccessibleDeleteLabel(), onClick: this.onRemoveClick, onFocus: () => (this.inputChipDeleteFocus = true), onBlur: () => (this.inputChipDeleteFocus = false), ref: el => (this.deleteButtonElement = el) }, h("duet-icon", { key: 'e548beece645e839b0b43bfcd131764db993bf9f', name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (h("span", { key: 'e5fd9ed10732bda6ab5ce6a44297a923c251badb', class: classes }, h("input", Object.assign({ key: '86e4c71d067982fef1537d4ab02e9c28d20696b3', "aria-haspopup": this.getAccessiblePopup(), "aria-controls": (_a = this.popupElement) === null || _a === void 0 ? void 0 : _a.id, "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, id: identifier, type: "checkbox", name: this.name, value: this.value, checked: this.checked, onClick: this.onFilterClick, onChange: this.onFilterChange }, focusHandlers)), h("label", { key: 'd7f775b63603946790ea8e4412cde73865c49683', htmlFor: identifier }, this.icon && (h("span", { key: '274d90f5406d6dd2d7d7386b1b4bdec927781a5c', class: "duet-chip-icon-container" }, h("duet-icon", { key: '5425392636f14e79e52edb733baec19b330be1b4', name: this.icon, size: this.size === "large" ? "small" : "x-small", margin: "none", color: "currentColor" }), h("duet-icon", { key: '34eadef6cfac6361f4069f673efd04df0c6de0cc', name: "messaging-checked-small", size: this.size === "large" ? "x-small" : "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), h("slot", { key: '6f33a83d88ab32af90c49a61aa55459c1c6a4e27' }), this.popupElement && (h("span", { key: 'efccfca32d5aefd8c0f6d8da8c39941f93fafa73', class: "duet-chip-popup-disclosure" }, h("duet-icon", { key: '49d87cd5a7e0b1249c9b484ab6ffb949b32a9d0a', name: "action-arrow-down-small", size: this.size === "large" ? "xx-small" : "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (h("span", { key: '34755198707218679008f8d3f1345f378a9f1be8', class: classes }, h("slot", { key: 'c2fec1770e3e9916e9a456519bdb73461d00e32c', name: "input" }), h("label", { key: '34286b6515f0c2f96d8ebb84f8c99a9ecdca76c2', htmlFor: identifier }, this.icon && (h("span", { key: '5fbfe0a0c184a04844eccc440c042fae5f5321be', class: "duet-chip-icon-container" }, h("duet-icon", { key: 'c0ada34d07c59029ef1961d0d60f9e801e8e38cc', name: this.icon, size: this.size === "large" ? "small" : "x-small", margin: "none", color: "currentColor" }), h("duet-icon", { key: '4b2626e45a9078b5ea6993183f57c5a0bfdc38c8', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), h("slot", { key: 'a4b9352bda8b5f9e9ce1912d07159c77844a4580' }))))));
346
+ return (h(Host, { key: 'a02dfd14dbc6adb2b4603f1032071f973ed2ccde', class: { [this.variation]: true } }, this.variation === "button" && (h("span", { key: 'f6f837561846f06857082a732a01dc00be276bab', class: classes }, h("button", Object.assign({ key: '614901de9dce1a3613e710f2144dd9cd8f3e635a', id: identifier, "aria-label": this.accessibleLabel, "aria-haspopup": this.getAccessiblePopup(), "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, name: this.name, value: this.value, onClick: this.disabled ? evt => evt.stopPropagation() : undefined }, focusHandlers), h("span", { key: 'f0bbf7f4631fb86dc23a381c25c03cabe947cc3e', class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { key: '6a7c79b76c0fd5d06b4b4d3f6640459cd6d6298d', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", { key: '397dbf6b64587f75b1fc3f3d3f0bf12a0e4df881' })))), this.variation === "input" && (h("span", { key: '5ee6a9d0856e2879420676696e360c78205041cc', class: classes, "aria-label": this.getAccessibleInputChipLabel() }, h("button", Object.assign({ key: '4bbbbdece24e710ce9933ff9f91a9c800b3e58fe', id: identifier, class: "duet-chip-input-button", value: this.value, "aria-label": this.accessibleLabel, onMouseOver: () => (this.inputChipHover = true), onMouseOut: () => (this.inputChipHover = false), onClick: () => (this.selected = !this.selected) }, focusHandlers), h("span", { key: 'd1aef801dcf90532b29fc97c01b7456d8487f44a', class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { key: 'a63f98e142a1a3b23fc95d5fc1da841d377e10ce', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", { key: '11f084e182d0c9d6aa3662bcce61235e8ec76fcf' })), h("button", { key: '777701d86d7a3c4dc31e94d11e3e127ed7d2e1fd', class: "duet-chip-remove-button", "aria-label": this.getAccessibleDeleteLabel(), onClick: this.onRemoveClick, onFocus: () => (this.inputChipDeleteFocus = true), onBlur: () => (this.inputChipDeleteFocus = false), ref: el => (this.deleteButtonElement = el) }, h("duet-icon", { key: '856fed5273e55797d4824c153cf2cb3278e9a2b4', name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (h("span", { key: '679cda39bb299541877fe34081bc414119d49455', class: classes }, h("input", Object.assign({ key: '7ccb0cad55edef64e3d261416384871b5474908e', "aria-haspopup": this.getAccessiblePopup(), "aria-controls": (_a = this.popupElement) === null || _a === void 0 ? void 0 : _a.id, "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, id: identifier, type: "checkbox", name: this.name, value: this.value, checked: this.checked, onClick: this.onFilterClick, onChange: this.onFilterChange }, focusHandlers)), h("label", { key: 'c0bc9afaac898ec41d39ae2fd4908389b3ac065a', htmlFor: identifier }, this.icon && (h("span", { key: '15038fc3a98b2486a950d1b64d2b54ee6e479393', class: "duet-chip-icon-container" }, h("duet-icon", { key: '592062e0add70bea207fef298935a3c2d0a6fdb4', name: this.icon, size: this.size === "large" ? "small" : "x-small", margin: "none", color: "currentColor" }), h("duet-icon", { key: 'e55ffd29e3d14b71be6c15f59bc36395d5868269', name: "messaging-checked-small", size: this.size === "large" ? "x-small" : "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), h("slot", { key: '5aab1d1c1dfae62c0801d8b726cd78ce24fb8c2d' }), this.popupElement && (h("span", { key: '8ce9e5d7685346af76deb8d9561e149033b723c5', class: "duet-chip-popup-disclosure" }, h("duet-icon", { key: 'a6a23f49aa4b6a182edd3b135b695a42089b8c5a', name: "action-arrow-down-small", size: this.size === "large" ? "xx-small" : "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (h("span", { key: '6d61938382d8ff58e4a817cce31928d191cf5abb', class: classes }, h("slot", { key: '72b0c769e2bee8de5fc6f834232aae55555e7835', name: "input" }), h("label", { key: '3ad924385c4d43e905cc42efaa016fd90e3854b5', htmlFor: identifier }, this.icon && (h("span", { key: 'e5d698e18b0bf9e37db7b13fc4a96124736be144', class: "duet-chip-icon-container" }, h("duet-icon", { key: '3101dbabb443a5b23cc7c94ad5bbdb0fbbcc930b', name: this.icon, size: this.size === "large" ? "small" : "x-small", margin: "none", color: "currentColor" }), h("duet-icon", { key: '0084200969cb3a17c048869ba10fdefd28dbc7ed', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), h("slot", { key: 'e43b1bdf08e27bf2dcc164a45bf088451b742e88' }))))));
345
347
  }
346
348
  get element() { return getElement(this); }
347
349
  static get watchers() { return {
@@ -1,14 +1,14 @@
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-FlJJ5tdo.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-Cwhi6_oZ.js';
5
5
  import { g as getDefaultExportFromCjs } from './_commonjsHelpers-DvwKrUS6.js';
6
- import { i as inheritGlobalTheme } from './themeable-component-r_Tw1vqr.js';
6
+ import { i as inheritGlobalTheme } from './themeable-component-D_FVcjsD.js';
7
7
  import { a as DuetStringsExternalDefaults } from './common-strings-8RjiAqaE.js';
8
8
  import { c as createID } from './create-id-Cfr_DJqU.js';
9
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-D6DmVtHY.js';
11
- import { h as hasSlot, a as getElementsFromNamedSlot, c as checkNamedSlotElement } from './slot-utils-CNDJ1X0N.js';
10
+ import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-LZh-sc2s.js';
11
+ import { h as hasSlot, a as getElementsFromNamedSlot, c as checkNamedSlotElement } from './slot-utils-CEZnAp61.js';
12
12
  import './string-utils-C6E9F6QT.js';
13
13
 
14
14
  var messagingInfo;
@@ -187,7 +187,9 @@ const DuetChoice = class {
187
187
  input.disabled = this.getDisabled();
188
188
  input.id = this.identifier || this.choiceId;
189
189
  input.type = this.type;
190
- input.name = this.name;
190
+ if (input.name !== this.name) {
191
+ input.name = this.name;
192
+ }
191
193
  input.value = this.value;
192
194
  input.checked = this.checked;
193
195
  input.required = this.required;
@@ -433,7 +435,7 @@ const DuetChoice = class {
433
435
  * Always the last one in the class.
434
436
  */
435
437
  render() {
436
- return (h(Host, { key: '583ef635169af9972811ec71576988fa12c1ad9a', class: {
438
+ return (h(Host, { key: 'c4b3a5c501d38245acc5af3e2b9f544bd0bf7072', class: {
437
439
  horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
438
440
  [`horizontal-responsive-${this.groupResponsive}`]: this.groupDirection === "horizontal" && !!this.groupResponsive,
439
441
  "vertical-stretch": this.groupDirection === "horizontal",
@@ -442,10 +444,10 @@ const DuetChoice = class {
442
444
  "duet-theme-turva": this.theme === "turva",
443
445
  "no-hover": this.isHovering,
444
446
  disabled: this.getDisabled(),
445
- } }, h("div", { key: 'ca64fbe3bb8291ad36305267c7e1ea02355ebc5c', class: {
447
+ } }, h("div", { key: '795598769dac455ce019fafc78a0da012fab367e', class: {
446
448
  "duet-choice-card-flextainer": true,
447
449
  "duet-theme-turva": this.theme === "turva",
448
- } }, h("div", { key: 'cad7111f70511cf2f1dbe0e9db6c00c0f2e038ad', class: {
450
+ } }, h("div", { key: '7c2d292a71e2c29410fe1b25b23f21d2331a2441', class: {
449
451
  "duet-choice-card": true,
450
452
  "has-icon": !!this.icon,
451
453
  "has-info": this.hasInfo,
@@ -454,16 +456,16 @@ const DuetChoice = class {
454
456
  collapsible: this.collapsible,
455
457
  "collapsible-force-expanded": this.collapsibleForceExpanded,
456
458
  "duet-p-0": this.padding === "none",
457
- } }, h("slot", { key: 'bb7405107756f726503cf0e17278761d9f68386e', name: "choiceinput" }), h("label", { key: '0ae8fc10a14a1b68cf78e7fe65164cc4ac4471f4', class: {
459
+ } }, h("slot", { key: '7c8737f5f56691e6d91b1ef6aa88d4d429a91853', name: "choiceinput" }), h("label", { key: '956d1a8a3e617e20822cb45e16510552377c689a', class: {
458
460
  "duet-choice-label": true,
459
461
  "has-before-text": this.hasBeforeText,
460
462
  checked: this.checked,
461
463
  focus: this.focus,
462
464
  disabled: this.getDisabled(),
463
- }, onClick: this.onClick }, this.hasBeforeText && h("slot", { key: '174aa0372dd6cce4bc695425fc0f4f9b9ef51e89', name: "before-text" }), this.icon && (h("div", { key: '1d8c96fbbb225864342228a15026d56c2288ba7c', class: "duet-choice-card-icon" }, h("duet-icon", { key: '737fc607c29c5178a62c6981571c1624e3a7d993', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { key: 'e97966ca1b32ac47460f193997509eda09904469', class: "duet-choice-card-text" }, h("div", { key: 'df684a3bf298011052b12e8a8a781f537403a1a0' }, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", { key: 'eb703567d8b2d2a3d940af79c3e36e339b16358e' }, h("duet-spacer", { key: '2a260bd1fa121622e21c8e64952c14a8fdf7e40f', size: "xx-small" }), h("duet-caption", { key: 'ca97833b65e235dc4316249086e099f33cbea465', margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", { key: 'bce4fd584082e0a2d2b6e72ba5ffb32487c55564' }, h("duet-spacer", { key: '40efa3cc50c5636c85cfab0e4ba9e96aafad8f79', size: "xx-small" }), h("slot", { key: 'db4d24e43aa875de213391981ed2b841137337aa', name: "additional" })))), h("div", { key: '496255f50229c21cf645b9b2a0a3c10db73cee12' }, h("div", { key: '90180fd834fc6a1f39cc6dcea6a61133961cbdaf', class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { key: '1d6455f6915d00399fdb586aca6b0ee2a622d2da', class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { key: '8897ce9328e49c68fef9b9901e8e6f271cd484d9', ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
465
+ }, onClick: this.onClick }, this.hasBeforeText && h("slot", { key: '8e06e00faf592c2217bcdf4125de0a3fbe688226', name: "before-text" }), this.icon && (h("div", { key: 'a03eb510213a5dacea0ea1a8fba5c59e3f7b5adf', class: "duet-choice-card-icon" }, h("duet-icon", { key: '6f1da454489ebc91e044c73bcaa72e4dc0cbc434', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { key: '7ae5d20c3621b1ea86a08e01752a1501f4c6141f', class: "duet-choice-card-text" }, h("div", { key: '48924d49aa8990d06b898d5e859d3259340424f3' }, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", { key: '159e947250b2e752ede4b9e1cc239a17beb56e4a' }, h("duet-spacer", { key: '841d4ceb579eafb87c381f78c4a62d6943480702', size: "xx-small" }), h("duet-caption", { key: 'da80efff2d5db1ac58bcba1074d2acd8ebe49fc4', margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", { key: '990e772b8ed9d22a20f5a6718d5884d49135b6b1' }, h("duet-spacer", { key: '691495c8aeb63a55951a36c28f15bcb049c9d36e', size: "xx-small" }), h("slot", { key: 'ba5ca5f8c750aa685ae9560f482401e315e1700b', name: "additional" })))), h("div", { key: 'a5a27faf19b806f0cbe5d78c751acbc05cd70a4e' }, h("div", { key: '5191f1bc54972485f2850139cf7dedb0c66e0f69', class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { key: 'abe835c0eb8f2917a1e1e87b883d9a43c8883ae6', class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { key: '232418bd6f978e77039ebea2bdea0388efeae571', ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
464
466
  "duet-choice-info-toggle": true,
465
467
  "duet-theme-turva": this.theme === "turva",
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: 'cd0cc7ea1a4d1f7dfaf0a0cc0f2296c71d3b5d43', class: "duet-choice-info-icon" }, h("duet-icon", { key: '62c25ce3534a78c7f7b5cf5c7cdc53caaf42435a', icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (h("span", { key: 'efa969656f43120c9b8670160671c1c0c9630714', id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
468
+ }, 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: 'cd5726ddd6b87acb1c4a8b0661906c4555c8371a', class: "duet-choice-info-icon" }, h("duet-icon", { key: 'd2d3d9bc3e7862c2f01ba3b2ad27dd7662c0a8a4', icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (h("span", { key: 'eab4a0209ba1f4fe2bb7a4be8971f843a67b77e6', id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
467
469
  "duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
468
470
  "duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
469
471
  } }, 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));
@@ -645,14 +647,14 @@ const DuetChoiceGroup = class {
645
647
  * Always the last one in the class.
646
648
  */
647
649
  render() {
648
- return (h(Host, { key: '91ad25e9ae34e334eb8c94c39477915350324fe4', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, class: {
650
+ return (h(Host, { key: '39267534dcf19f7f942ef44d869d302552ad8463', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, class: {
649
651
  horizontal: this.direction === "horizontal",
650
652
  "duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
651
653
  "duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
652
654
  "duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
653
655
  "duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
654
656
  "duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
655
- } }, h("duet-fieldset", { key: '8be987ee15a23906a771c28b844ae283ca5df13c', 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: 'fb25c9c926cc1e47bf9147112634d1c2f792dfb5', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '9236736c2872c5ab10bccad8c12ee2819bf41270', name: "tooltip" }), h("div", { key: '5cb0b64392398f6535d947c142ae27a794820dec', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, h("slot", { key: 'eddef456160e825d9a44fcade7482e854de79824' })))));
657
+ } }, 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: '390312b35af123116ec5919b31f61d9499559813', name: "tooltip", slot: "tooltip" }), h("div", { key: 'fb68426f6c7feac6c767511bcaccfb6585515e3e', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '5b26fd1d7d1239fdcdcb6d736445a6366995c3bc' })))));
656
658
  }
657
659
  get element() { return getElement(this); }
658
660
  static get watchers() { return {
@@ -1,13 +1,13 @@
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-FlJJ5tdo.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-Cwhi6_oZ.js';
5
5
  import { a as arrowDownIcon } from './action-arrow-down-small-Bk3GShyI.js';
6
- import { f as font_size_medium, t as tokens } from './tokens-vvm7i9oY.js';
7
- import { i as inheritGlobalTheme } from './themeable-component-r_Tw1vqr.js';
6
+ import { f as font_size_medium, t as tokens } from './tokens-Ce9HQd35.js';
7
+ import { i as inheritGlobalTheme } from './themeable-component-D_FVcjsD.js';
8
8
  import { c as createID } from './create-id-Cfr_DJqU.js';
9
9
  import { i as isKeyboardClick, s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-Db8rvjPI.js';
10
- import { d as getSlotTextContent, h as hasSlot, c as checkNamedSlotElement, a as getElementsFromNamedSlot } from './slot-utils-CNDJ1X0N.js';
10
+ import { d as getSlotTextContent, h as hasSlot, c as checkNamedSlotElement, a as getElementsFromNamedSlot } from './slot-utils-CEZnAp61.js';
11
11
  import './_commonjsHelpers-DvwKrUS6.js';
12
12
 
13
13
  const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:16px !important;display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);-webkit-hyphens:auto;hyphens:auto}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;flex-direction:column;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-collapsible-heading:focus,:host(.user-is-tabbing) .duet-collapsible-heading:focus.duet-theme-turva{outline-color:rgba(53, 79, 101, 0.8)}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-heading-centered .duet-collapsible-heading-caption{margin-inline:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading .duet-collapsible-heading-content{min-width:0}.duet-collapsible-heading .duet-collapsible-heading-content ::slotted(*){padding:0;margin:0;font-family:inherit !important;font-size:inherit !important;font-weight:inherit !important;color:inherit !important}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{margin-left:16px}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div.float-right{margin-left:auto}.duet-collapsible-heading.has-caption{gap:4px}.duet-collapsible-heading.has-caption .duet-collapsible-heading-caption{margin-left:18px;font-weight:inherit}.duet-collapsible-heading .duet-collapsible-heading-wrapper{display:flex;align-items:center;width:inherit;margin:inherit}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(8, 42, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[alignment=form-distribute]>.duet-collapsible-heading-icon:last-of-type:not(:last-child){margin-right:8px !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}:host(.negative) .duet-collapsible-heading,:host(.negative) .duet-collapsible-content,:host(.negative) .duet-collapsible-heading-icon{color:rgb(255, 255, 255)}.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}.duet-theme-turva .duet-collapsible-content.duet-theme-turva,.duet-theme-turva .duet-collapsible-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}";
@@ -176,7 +176,7 @@ const DuetCollapsible = class {
176
176
  */
177
177
  render() {
178
178
  const HeadingTagName = this.headingTags.includes(this.headingLevel) ? this.headingLevel : "div";
179
- return (h(Host, { key: 'fd4435676c3862734ae74dc5a3f87b8eab2f70f4', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, h(HeadingTagName, { key: 'a8cebd440d7d71ec114617e5fb99929f577c4519' }, h("button", { key: '20835d6fa2e0dd36cc25d5400f31d29f00123c08', class: {
179
+ return (h(Host, { key: 'b19b694f6710f4338d26580dea95463eefaa30d4', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, h(HeadingTagName, { key: '47062fe8e280b4c2489ebe9ba784e6211ecac9e3' }, h("button", { key: '5e635b36739a5ab604c5d523435522b83bddcd56', class: {
180
180
  "duet-collapsible-heading": true,
181
181
  "duet-collapsible-heading-centered": this.centerHeading,
182
182
  "duet-theme-turva": this.theme === "turva",
@@ -184,7 +184,7 @@ const DuetCollapsible = class {
184
184
  "has-after-heading": this.hasAfterHeadingSlot,
185
185
  "full-width": this.headingFullWidth,
186
186
  "has-caption": !!this.caption,
187
- }, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.getAccessibleLabel(), "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '5efe212565a40b4805d565c6856ef080f3b0b696', class: "duet-collapsible-heading-wrapper" }, h("div", { key: '09dde2b49aa4b3aee5ae10e6cd6ffee6bdd75faa', class: "duet-collapsible-heading-icon" }, h("duet-icon", { key: '6bc4d5b4d62dcd39c6b03a37f0879d19d9b56f14', margin: "none", size: this.getEquivalentIconSize(), icon: arrowDownIcon.svg })), h("div", { key: 'cc07686af44301b10a541149bffc8df833a294f3', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading ? this.heading : h("slot", { name: "heading" })), this.hasAfterHeadingSlot && (h("div", { key: '83f79853695547594c25a1b017c0653d4e4edc7d', part: "duet-collapsible-after-heading" }, h("slot", { key: '47dd2ce6d896f75c6814594899604aa15e9a98cd', name: "after-heading" })))), this.caption && (h("div", { key: 'ebd4561054092f312999f98f8e859bd193cb9613', class: "duet-collapsible-heading-caption" }, h("duet-caption", { key: 'f620061ec26eed524ee27e417d6fb1e828fc04e8', size: "small", margin: "none" }, this.caption))))), h("div", { key: '4a2de882c742fbd31fb4c1ce959e9c081cf1a15d', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, h("slot", { key: '7efd617c6d79dba957e02d3a7ea4677629c64ef7' }))));
187
+ }, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.getAccessibleLabel(), "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '9d49b16d4375ea5c4700c3142b920e3e76924443', class: "duet-collapsible-heading-wrapper" }, h("div", { key: '6b45ae151d90d269a466c782eed5c7ed29ecdbee', class: "duet-collapsible-heading-icon" }, h("duet-icon", { key: '99eac9e54f5bbf71068e9b5dc3557ee347d2cd5b', margin: "none", size: this.getEquivalentIconSize(), icon: arrowDownIcon.svg })), h("div", { key: '732d6cf225d17864487046efc9c3cb26e19b9dc8', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading ? this.heading : h("slot", { name: "heading" })), this.hasAfterHeadingSlot && (h("div", { key: 'ecb0414b87ff8340967c2a65d5715986b8c11c01', part: "duet-collapsible-after-heading" }, h("slot", { key: '85b150c18dd43fbe21041bd4a8258d6412a350f0', name: "after-heading" })))), this.caption && (h("div", { key: '6d3aa5e7917e2db228251eab60ee888ec51d3944', class: "duet-collapsible-heading-caption" }, h("duet-caption", { key: '52aa682a75aa4a7bfef36ad34cbf900b41fb46ba', size: "small", margin: "none" }, this.caption))))), h("div", { key: '815c138b748356c749954d2a99564edd608e8b41', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, h("slot", { key: '5f5ccef4fa9e4cba89278e034ae23a68c29add51' }))));
188
188
  }
189
189
  get element() { return getElement(this); }
190
190
  };
@@ -1,15 +1,15 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-FlJJ5tdo.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-r_Tw1vqr.js';
4
+ import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-Cwhi6_oZ.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-D_FVcjsD.js';
6
6
  import { c as createID } from './create-id-Cfr_DJqU.js';
7
7
  import { d as debounce } from './js-utils-BlUsLmbQ.js';
8
8
  import { c as isEnterKey, a as isEscapeKey, b as isTabKey, g as isArrowDownKey, e as isArrowUpKey } from './keyboard-utils-Db8rvjPI.js';
9
- import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-D6DmVtHY.js';
10
- import { g as getElementsFromDefaultSlot } from './slot-utils-CNDJ1X0N.js';
9
+ import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-LZh-sc2s.js';
10
+ import { g as getElementsFromDefaultSlot } from './slot-utils-CEZnAp61.js';
11
11
  import { r as regexEscape, p as parsePossibleJSON } from './string-utils-C6E9F6QT.js';
12
- import { n as lineHeightMedium, o as spaceXSmall, p as fontSizeMedium } from './tokens.module-D84A7Xf6.js';
12
+ import { n as lineHeightMedium, o as spaceXSmall, p as fontSizeMedium } from './tokens.module-DEzE2U5T.js';
13
13
 
14
14
  const DuetComboBoxSelect = ({ item, activeDescendant, selected, label = undefined, clickHandler = e => {
15
15
  e.preventDefault();
@@ -41,6 +41,7 @@ const DuetCombobox = class {
41
41
  this.activeDescendantId = createID("duet-combobox-active-descendant");
42
42
  this.isAndroidDevice = ((_b = (_a = navigator === null || navigator === void 0 ? void 0 : navigator.userAgent) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === null || _b === void 0 ? void 0 : _b.indexOf("android")) > -1 || null;
43
43
  this.isInsideModal = false;
44
+ this.labelClick = false;
44
45
  this.resizeObserver = new ResizeObserver(debounce(entries => {
45
46
  var _a, _b, _c;
46
47
  // otherwise, something is wrong, expecting 1 element only
@@ -125,8 +126,18 @@ const DuetCombobox = class {
125
126
  const newValue = e.detail.value;
126
127
  this.inputValue = newValue;
127
128
  };
128
- this.onInputClick = () => {
129
- this.popupMenuController = this.input.nativeInputElement;
129
+ this.onInputClick = e => {
130
+ const composedPath = e.composedPath();
131
+ if (composedPath && composedPath[1].nodeName === "LABEL") {
132
+ this.labelClick = true;
133
+ this.listOpen = false;
134
+ return;
135
+ }
136
+ if (this.labelClick || (composedPath && composedPath[0].nodeName !== "INPUT")) {
137
+ this.labelClick = false;
138
+ this.listOpen = false;
139
+ return;
140
+ }
130
141
  // change listOpen on next tick so popup controller is set when open changes
131
142
  setTimeout(() => {
132
143
  var _a, _b;
@@ -204,7 +215,6 @@ const DuetCombobox = class {
204
215
  return;
205
216
  }
206
217
  nextActiveItem = this.listOpen ? this.activeItem + 1 : this.activeItem;
207
- this.popupMenuController = this.input.nativeInputElement;
208
218
  // change listOpen on next tick so popup controller is set when open changes
209
219
  setTimeout(() => {
210
220
  this.listOpen = true;
@@ -374,7 +384,7 @@ const DuetCombobox = class {
374
384
  this.input.chips = this.multiple;
375
385
  this.input.addEventListener("duetChange", this.onInputChange);
376
386
  this.input.addEventListener("duetInput", this.onInputTyping);
377
- this.input.addEventListener("click", this.onInputClick);
387
+ this.element.addEventListener("click", this.onInputClick);
378
388
  //add correct aria attributes to the input element
379
389
  this.input.role = "combobox";
380
390
  this.input.accessibleExpanded = this.listOpen ? "true" : "false";
@@ -384,10 +394,17 @@ const DuetCombobox = class {
384
394
  this.element.addEventListener("keydown", this.onKeyDown);
385
395
  connectLanguageChangeObserver(this, { prop: "accessibleLabels", defaults: "accessibleLabelDefaults" });
386
396
  this.processListOpenChange();
397
+ setTimeout(() => {
398
+ var _a;
399
+ const nativeInputElement = (_a = this.input) === null || _a === void 0 ? void 0 : _a.nativeInputElement;
400
+ if (nativeInputElement && this.popupMenuController !== nativeInputElement) {
401
+ this.popupMenuController = nativeInputElement;
402
+ }
403
+ }, 100);
387
404
  }
388
405
  disconnectedCallback() {
389
406
  this.input.removeEventListener("duetChange", this.onInputChange);
390
- this.input.removeEventListener("click", this.onInputClick);
407
+ this.element.removeEventListener("click", this.onInputClick);
391
408
  this.element.removeEventListener("keydown", this.onKeyDown);
392
409
  this.resizeObserver.disconnect();
393
410
  disconnectLanguageChangeObserver(this);
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement } from './index-FlJJ5tdo.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-r_Tw1vqr.js';
6
- import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-D6DmVtHY.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-Cwhi6_oZ.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-D_FVcjsD.js';
6
+ import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-LZh-sc2s.js';
7
7
  import './string-utils-C6E9F6QT.js';
8
8
 
9
9
  const duetContactCardCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;overflow-wrap:break-word}.duet-contact-card.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}";
@@ -52,10 +52,10 @@ const DuetContactCard = class {
52
52
  render() {
53
53
  const isTurva = this.theme === "turva";
54
54
  const theme = isTurva ? "turva" : "default";
55
- return (h(Host, { key: '6cf20cb225b22fbb826b136c3909234684d30e3d', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '24e57cbe34b4d01ff024fe8128d3168b61e61af6', class: {
55
+ return (h(Host, { key: 'a29a3dab2ac7fb3079f2c1a159af7f4e7b5c226b', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '14753b1f4fc3901aa2285d438c612e66619fabb5', class: {
56
56
  "duet-contact-card": true,
57
57
  "duet-theme-turva": this.theme === "turva",
58
- }, role: "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", { key: 'f3c40c440d2d9dd97e3c1e24817d60e62f6347f0' }, this.name && (h("duet-heading", { key: 'cde7a70f10cfdd45e801c9ef923e116b2ee12e42', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { key: '1c855114d2101701a8b39f75fe8b2ae76d5ffe57', class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { key: 'b552b0f0de5e16059e77ee518e2087d24a2171c4', class: "email" }, h("duet-icon", { key: '2048a5cb8e29d7d664c984c72031cdfd1894e0a6', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '6e2a9b632e0fb1df3efd51dc66d6df1891eaa3a1', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { key: '1a263f67d1844f9c2ba334ba24ebc32d9faf4b86', class: "phone" }, h("duet-icon", { key: 'dab3c18ed7f4c092aa8644ef6d9a915854c9e33d', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '68c6b2ff4480300f563b7d8d65fb4d47160fcd8b', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { key: '70288a25480b39a333831a129def567c99f202b7', class: "call-to-action" }, h("duet-button", { key: 'c5fccd74b8b2b6b4917b464c5e723c657e326bb0', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", { key: '9fd8e574534d15aa89eaac786c257586a6f9f845' }), h("slot", { key: 'ab0fa1cc3232c70441d441e4c673b8b562ffbe92' }))));
58
+ }, role: "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", { key: 'dc77c6904966d2b6438391dd2c827832ffe86325' }, this.name && (h("duet-heading", { key: 'a10e331782d05726446653615ba8effbb1de3257', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { key: '3f49dc9a8933eb5551f259e2dcca7f434f8e5082', class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { key: '99ad9df72533f48e298153aeadf18cb50e37d1e9', class: "email" }, h("duet-icon", { key: 'cbe804f4877e52df6f678ace315efe098b3ef914', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: 'e909d9bc1096700ef5fb6d7a1e87c499d585d4dd', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { key: 'fe217c26608f2f461999844a3a00fe335c1e4509', class: "phone" }, h("duet-icon", { key: '1194445745ecb176f6fcc39a18c3e233921524d9', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: 'b83e145b7909c3ef697932ff1cf95d223d4a4b14', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { key: 'fdb27957cd0b60be23e8b4df7f062da5cc3eafc1', class: "call-to-action" }, h("duet-button", { key: 'f7cd81b4f2712057ee507a9f0f01e59121e7960e', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", { key: 'b3a716a438e7793ef194ae0b1067d926b75e0925' }), h("slot", { key: '3d4bea81e03b40457deb9fd0731c14a9b80d465e' }))));
59
59
  }
60
60
  get element() { return getElement(this); }
61
61
  };
@@ -1,8 +1,8 @@
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-FlJJ5tdo.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-r_Tw1vqr.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-Cwhi6_oZ.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-D_FVcjsD.js';
6
6
  import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-Db8rvjPI.js';
7
7
 
8
8
  const duetCookieConsentCss = "*,*::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;position:fixed;right:0;bottom:0;left:0;z-index:950;display:block;width:100%;box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 48em){:host{right:28px;bottom:28px;left:auto;width:25rem}}:host(:focus){outline:0}:host(.user-is-tabbing:not(.descendant-focused):focus){outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8);border-radius:4px}.duet-theme-turva :host(.user-is-tabbing:not(.descendant-focused):focus),:host(.user-is-tabbing:not(.descendant-focused):focus).duet-theme-turva{outline-color:rgba(53, 79, 101, 0.8)}.duet-cookie-consent{padding:20px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;color:rgb(255, 255, 255) !important;background-color:rgba(4, 21, 39, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent{background:rgba(4, 21, 39, 0.8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}@media (min-width: 48em){.duet-cookie-consent{padding:20px;border-radius:4px}}.duet-cookie-consent-content{display:flex;align-items:center;max-width:1110px;margin:0 auto}.duet-cookie-consent-content .expand{flex:1}::slotted(a){font-weight:600;color:rgb(255, 255, 255) !important;white-space:nowrap;text-decoration:underline}::slotted(a[target=_blank]){padding-right:16px;background:url(\"data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjUgMmExLjUgMS41IDAgMDEuMTQgM0gzLjc1Yy0uMzggMC0uNy4yOC0uNzQuNjVsLS4wMS4xdjE0LjVjMCAuMzguMjguNy42NS43NGwuMS4wMWgxNC41Yy4zOCAwIC43LS4yOC43NC0uNjVsLjAxLS4xdi02Ljg5YTEuNSAxLjUgMCAwMTMgMHY2Ljg5QTMuNzUgMy43NSAwIDAxMTguMjUgMjRIMy43NUEzLjc1IDMuNzUgMCAwMTAgMjAuMjVWNS43NUEzLjc1IDMuNzUgMCAwMTMuNzUgMnptMTItMmMuNzggMCAxLjQyLjYgMS41IDEuMzZWNy41YTEuNSAxLjUgMCAwMS0zIC4xNFY1LjEybC01LjQ0IDUuNDRhMS41IDEuNSAwIDAxLTIuMjItMmwuMS0uMTJMMTguODggM0gxNi41QTEuNSAxLjUgMCAwMTE1IDEuNjRWMS41YzAtLjc4LjYtMS40MiAxLjM2LTEuNWguMTR6Ii8+PC9zdmc+\") no-repeat right 50%;background-size:12px 10px}::slotted(a:focus){outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva ::slotted(a:focus),::slotted(a:focus).duet-theme-turva{outline-color:rgba(53, 79, 101, 0.8)}.duet-cookie-consent.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";background-color:rgba(12, 21, 30, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent.duet-theme-turva{background:rgba(12, 21, 30, 0.8)}}";
@@ -51,7 +51,7 @@ const DuetCookieConsent = class {
51
51
  * Always the last one in the class.
52
52
  */
53
53
  render() {
54
- return (h(Host, { key: 'a0945b87dc3ca428ebb77b5bafc937d26fe77b58', tabindex: "-1", class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: 'e4870573df557f7b4d7a6075afbd04fc23f54ff1', class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, h("div", { key: 'd0f1b43a014ccc35c9845c8c4117a8552eee8209', class: "duet-cookie-consent-content" }, h("div", { key: '98d8e55937ee5afda2a8d975ebb0d4e5aefc0014', class: "expand" }, h("slot", { key: '5529c9819da700b849bbf3e0f4b4c93cf4da6015' })), h("duet-spacer", { key: '82e710ce0de7d91f931cbb2177d6470f77701ec4', size: "large", direction: "horizontal" }), h("div", { key: '9cbf5dd3a7d82025a0912ca016b67e1b0f0022fc' }, h("duet-button", { key: '50a246e22443b54c881d40063c0405f07d7190dc', variation: "negative", size: "small", onClick: this.handleClick, margin: "none", "aria-label": this.accessibleLabel, theme: this.theme }, "OK"))))));
54
+ return (h(Host, { key: 'e79333a51d76cf03ac4fdaee8e2795e98d79319d', tabindex: "-1", class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: 'befef096fcaaf1b57daa84ff54cbe665e84f3a86', class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, h("div", { key: '78b54949afed67ada604c2ce9dea9c2fcb87a39f', class: "duet-cookie-consent-content" }, h("div", { key: '84a2a875986036aad4ba0b68fa2f902cf1148b01', class: "expand" }, h("slot", { key: 'd6402515233aaa20e4c1a3ff9b59647c674fe03d' })), h("duet-spacer", { key: 'aa7b8ad14f32db64dd72219593c7217567920556', size: "large", direction: "horizontal" }), h("div", { key: '9e7c71566df83cc4e3b6224b2fcf623e81a80db2' }, h("duet-button", { key: '5dc91aa2ae5b05394f1dce473b831d490d62eeae', variation: "negative", size: "small", onClick: this.handleClick, margin: "none", "aria-label": this.accessibleLabel, theme: this.theme }, "OK"))))));
55
55
  }
56
56
  get element() { return getElement(this); }
57
57
  };