@duetds/components 9.2.8 → 10.0.0-alpha.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 (749) hide show
  1. package/hydrate/index.js +950 -273
  2. package/lib/cjs/a11y-utils-76311b95.js +20 -0
  3. package/lib/cjs/{app-globals-718a3704.js → app-globals-a1431483.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
  5. package/lib/cjs/duet-alert.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-badge.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-banner.cjs.entry.js +2 -2
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
  10. package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
  11. package/lib/cjs/duet-callout.cjs.entry.js +4 -4
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +10 -11
  13. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-chip_3.cjs.entry.js +6 -6
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +100 -14
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
  19. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +14 -11
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +7 -7
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-footer.cjs.entry.js +7 -7
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +5 -5
  30. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  31. package/lib/cjs/duet-hero.cjs.entry.js +8 -8
  32. package/lib/cjs/duet-icon.cjs.entry.js +4 -4
  33. package/lib/cjs/duet-input_2.cjs.entry.js +16 -12
  34. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  35. package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -6
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -5
  42. package/lib/cjs/duet-modal.cjs.entry.js +10 -10
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +8 -8
  44. package/lib/cjs/duet-nav.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
  46. package/lib/cjs/duet-number-input.cjs.entry.js +11 -6
  47. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +15 -15
  50. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  51. package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
  52. package/lib/cjs/duet-radio_2.cjs.entry.js +87 -11
  53. package/lib/cjs/duet-range-slider.cjs.entry.js +9 -4
  54. package/lib/cjs/duet-scrollable_3.cjs.entry.js +16 -16
  55. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  56. package/lib/cjs/duet-select.cjs.entry.js +8 -8
  57. package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
  58. package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
  59. package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
  60. package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
  61. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
  62. package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -10
  63. package/lib/cjs/duet-slideout.cjs.entry.js +8 -8
  64. package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
  65. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  66. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +4 -5
  68. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  69. package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
  70. package/lib/cjs/duet-textarea.cjs.entry.js +11 -7
  71. package/lib/cjs/duet-toggle.cjs.entry.js +9 -4
  72. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
  74. package/lib/cjs/duet-toolbar-item.cjs.entry.js +6 -7
  75. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +6 -6
  78. package/lib/cjs/duet-tooltip.cjs.entry.js +21 -3
  79. package/lib/cjs/duet-tray.cjs.entry.js +4 -4
  80. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  81. package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
  82. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  83. package/lib/cjs/duet.cjs.js +3 -3
  84. package/lib/cjs/{errorcodes.utils-4e8a9de4.js → errorcodes.utils-b4cf3ce2.js} +1 -1
  85. package/lib/cjs/{focus-utils-2a0030aa.js → focus-utils-68fa1c8f.js} +1 -1
  86. package/lib/cjs/{index-21e67ab3.js → index-7e38df71.js} +1 -1
  87. package/lib/cjs/{language-utils-b5940c7b.js → language-utils-beee36ce.js} +1 -1
  88. package/lib/cjs/loader.cjs.js +3 -3
  89. package/lib/cjs/{slot-utils-b5c4d888.js → slot-utils-31c0ed00.js} +52 -1
  90. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  91. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  92. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  93. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  94. package/lib/collection/components/duet-checkbox/duet-checkbox.js +1 -1
  95. package/lib/collection/components/duet-chip/duet-chip.js +1 -1
  96. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  97. package/lib/collection/components/duet-choice/duet-choice.css +19 -18
  98. package/lib/collection/components/duet-choice/duet-choice.js +97 -13
  99. package/lib/collection/components/duet-choice-group/duet-choice-group.js +3 -6
  100. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  101. package/lib/collection/components/duet-combobox/duet-combobox.js +1 -1
  102. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  103. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  104. package/lib/collection/components/duet-date-picker/date-picker-input.js +2 -2
  105. package/lib/collection/components/duet-date-picker/duet-date-picker.js +9 -8
  106. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  107. package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
  108. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  109. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  110. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  111. package/lib/collection/components/duet-grid/duet-grid.js +3 -6
  112. package/lib/collection/components/duet-grid-item/duet-grid-item.js +3 -6
  113. package/lib/collection/components/duet-heading/duet-heading.js +2 -2
  114. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  115. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  116. package/lib/collection/components/duet-input/duet-input.js +15 -14
  117. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  118. package/lib/collection/components/duet-link/duet-link.css +2 -2
  119. package/lib/collection/components/duet-link/duet-link.js +2 -2
  120. package/lib/collection/components/duet-list/duet-list.js +1 -1
  121. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  122. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  123. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -3
  124. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  125. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  126. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  127. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  128. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  129. package/lib/collection/components/duet-modal/duet-modal.js +6 -6
  130. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  131. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  132. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  133. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  134. package/lib/collection/components/duet-number-input/duet-number-input.js +10 -8
  135. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  136. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  137. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  138. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  139. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  140. package/lib/collection/components/duet-progress/duet-progress.js +1 -0
  141. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  142. package/lib/collection/components/duet-radio/duet-radio.css +29 -27
  143. package/lib/collection/components/duet-radio/duet-radio.js +90 -13
  144. package/lib/collection/components/duet-radio-group/duet-radio-group.js +3 -6
  145. package/lib/collection/components/duet-range-slider/duet-range-slider.js +9 -7
  146. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  147. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  148. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  149. package/lib/collection/components/duet-select/duet-select.js +7 -10
  150. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  151. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  152. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  153. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  154. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  155. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  156. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  157. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  158. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  159. package/lib/collection/components/duet-step/duet-step.js +3 -6
  160. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  161. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  162. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  163. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  164. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  165. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  166. package/lib/collection/components/duet-tab/duet-tab.js +4 -7
  167. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
  168. package/lib/collection/components/duet-table/duet-table.js +2 -2
  169. package/lib/collection/components/duet-textarea/duet-textarea.js +10 -9
  170. package/lib/collection/components/duet-toggle/duet-toggle.js +9 -7
  171. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  172. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  173. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  174. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  175. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  176. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
  177. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  178. package/lib/collection/components/duet-tooltip/duet-tooltip.js +19 -1
  179. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  180. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  181. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  182. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  183. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  184. package/lib/collection/utils/a11y-utils.js +5 -9
  185. package/lib/collection/utils/slot-utils.js +51 -0
  186. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  187. package/lib/dist-custom-elements/duet-alert.js +1 -1
  188. package/lib/dist-custom-elements/duet-badge.js +1 -1
  189. package/lib/dist-custom-elements/duet-banner.js +4 -4
  190. package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
  191. package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
  192. package/lib/dist-custom-elements/duet-button.js +1 -1
  193. package/lib/dist-custom-elements/duet-callout.js +5 -5
  194. package/lib/dist-custom-elements/duet-caption.js +1 -1
  195. package/lib/dist-custom-elements/duet-card.js +3 -3
  196. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  197. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  198. package/lib/dist-custom-elements/duet-chip.js +1 -1
  199. package/lib/dist-custom-elements/duet-choice-group.js +14 -13
  200. package/lib/dist-custom-elements/duet-choice.js +102 -14
  201. package/lib/dist-custom-elements/duet-collapsible.js +5 -5
  202. package/lib/dist-custom-elements/duet-combobox.js +19 -18
  203. package/lib/dist-custom-elements/duet-contact-card.js +10 -10
  204. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  205. package/lib/dist-custom-elements/duet-date-picker.js +26 -22
  206. package/lib/dist-custom-elements/duet-divider.js +1 -1
  207. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  208. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  209. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  210. package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
  211. package/lib/dist-custom-elements/duet-footer.js +12 -12
  212. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  213. package/lib/dist-custom-elements/duet-grid.js +1 -1
  214. package/lib/dist-custom-elements/duet-header.js +8 -8
  215. package/lib/dist-custom-elements/duet-heading.js +1 -1
  216. package/lib/dist-custom-elements/duet-hero.js +15 -15
  217. package/lib/dist-custom-elements/duet-icon.js +1 -1
  218. package/lib/dist-custom-elements/duet-input.js +1 -1
  219. package/lib/dist-custom-elements/duet-label.js +1 -1
  220. package/lib/dist-custom-elements/duet-layout.js +7 -7
  221. package/lib/dist-custom-elements/duet-link.js +1 -1
  222. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  223. package/lib/dist-custom-elements/duet-list.js +1 -1
  224. package/lib/dist-custom-elements/duet-logo.js +1 -1
  225. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  226. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
  227. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
  228. package/lib/dist-custom-elements/duet-menu-bar-item.js +5 -5
  229. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  230. package/lib/dist-custom-elements/duet-menu-bar.js +4 -5
  231. package/lib/dist-custom-elements/duet-modal.js +15 -15
  232. package/lib/dist-custom-elements/duet-multiselect.js +15 -15
  233. package/lib/dist-custom-elements/duet-nav.js +2 -2
  234. package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
  235. package/lib/dist-custom-elements/duet-notification.js +4 -4
  236. package/lib/dist-custom-elements/duet-number-input.js +22 -16
  237. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  238. package/lib/dist-custom-elements/duet-page-heading.js +5 -5
  239. package/lib/dist-custom-elements/duet-pagination.js +24 -24
  240. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  241. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  242. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  243. package/lib/dist-custom-elements/duet-progress.js +1 -1
  244. package/lib/dist-custom-elements/duet-promo-card.js +6 -6
  245. package/lib/dist-custom-elements/duet-radio-group.js +13 -12
  246. package/lib/dist-custom-elements/duet-radio.js +88 -9
  247. package/lib/dist-custom-elements/duet-range-slider.js +12 -6
  248. package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
  249. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  250. package/lib/dist-custom-elements/duet-section-layout.js +4 -4
  251. package/lib/dist-custom-elements/duet-select.js +1 -1
  252. package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
  253. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  254. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  255. package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
  256. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
  257. package/lib/dist-custom-elements/duet-slideout-panel.js +9 -9
  258. package/lib/dist-custom-elements/duet-slideout.js +8 -8
  259. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  260. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  261. package/lib/dist-custom-elements/duet-step.js +6 -6
  262. package/lib/dist-custom-elements/duet-stepper.js +3 -3
  263. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
  264. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
  265. package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
  266. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  267. package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
  268. package/lib/dist-custom-elements/duet-tab-group.js +18 -18
  269. package/lib/dist-custom-elements/duet-tab.js +6 -5
  270. package/lib/dist-custom-elements/duet-table.js +1 -1
  271. package/lib/dist-custom-elements/duet-textarea.js +21 -16
  272. package/lib/dist-custom-elements/duet-toggle.js +12 -6
  273. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  274. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
  275. package/lib/dist-custom-elements/duet-toolbar-item.js +6 -6
  276. package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
  277. package/lib/dist-custom-elements/duet-toolbar.js +3 -3
  278. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  279. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  280. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  281. package/lib/dist-custom-elements/duet-tray.js +5 -5
  282. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  283. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  284. package/lib/dist-custom-elements/duet-upload.js +21 -21
  285. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  286. package/lib/dist-custom-elements/index.js +1 -1
  287. package/lib/dist-custom-elements/{p-e536b916.js → p-01846eb6.js} +11 -11
  288. package/lib/dist-custom-elements/{p-5f8dc639.js → p-0ac72fc8.js} +4 -3
  289. package/lib/dist-custom-elements/p-145c94a8.js +273 -0
  290. package/lib/dist-custom-elements/{p-899ca0bf.js → p-18c3a72b.js} +2 -2
  291. package/lib/dist-custom-elements/{p-b5aa78c4.js → p-266569ef.js} +2 -2
  292. package/lib/dist-custom-elements/{p-e0de8502.js → p-2a6a71e4.js} +3 -3
  293. package/lib/dist-custom-elements/{p-034f07f8.js → p-36804cd7.js} +4 -3
  294. package/lib/dist-custom-elements/{p-96652f7b.js → p-38a3168a.js} +4 -4
  295. package/lib/dist-custom-elements/{p-38e65e8c.js → p-39b63c58.js} +3 -3
  296. package/lib/dist-custom-elements/{p-6ec31ae0.js → p-4d4c66b0.js} +3 -3
  297. package/lib/dist-custom-elements/{p-96949bb3.js → p-4f5a1d66.js} +2 -2
  298. package/lib/dist-custom-elements/{p-3667436c.js → p-5270ad3d.js} +4 -4
  299. package/lib/dist-custom-elements/{p-29782b53.js → p-5448ad53.js} +1 -1
  300. package/lib/dist-custom-elements/{p-0fbbaee9.js → p-61282ed8.js} +4 -4
  301. package/lib/dist-custom-elements/{p-a21a8e5e.js → p-644b52bb.js} +3 -3
  302. package/lib/dist-custom-elements/{p-5fc9921c.js → p-649a8c3e.js} +3 -3
  303. package/lib/dist-custom-elements/{p-2e2c1d87.js → p-7ff1b14d.js} +3 -3
  304. package/lib/dist-custom-elements/{p-94a7d4af.js → p-824a3b0b.js} +6 -6
  305. package/lib/dist-custom-elements/{p-23f0b101.js → p-8342a3e5.js} +4 -4
  306. package/lib/dist-custom-elements/{p-276aeab7.js → p-8c993e48.js} +2 -2
  307. package/lib/dist-custom-elements/{p-8ac247f4.js → p-92f36210.js} +12 -12
  308. package/lib/dist-custom-elements/{p-c67a668c.js → p-98b1d4c1.js} +26 -7
  309. package/lib/dist-custom-elements/{p-c0b022c4.js → p-a5c06963.js} +3 -3
  310. package/lib/dist-custom-elements/{p-d2a5148f.js → p-a6b39855.js} +1 -1
  311. package/lib/dist-custom-elements/{p-50f145f2.js → p-aa62c36f.js} +2 -2
  312. package/lib/dist-custom-elements/{p-7d56d012.js → p-acacce04.js} +7 -7
  313. package/lib/dist-custom-elements/{p-6008fcdd.js → p-b33a176e.js} +3 -3
  314. package/lib/dist-custom-elements/{p-8b3decf2.js → p-b5ea877d.js} +49 -1
  315. package/lib/dist-custom-elements/{p-992a5de8.js → p-b9488320.js} +26 -21
  316. package/lib/dist-custom-elements/{p-79375342.js → p-c57a67d3.js} +6 -6
  317. package/lib/dist-custom-elements/{p-e6dc15da.js → p-c9a14c7b.js} +5 -5
  318. package/lib/dist-custom-elements/{p-47d4e647.js → p-cb5df864.js} +3 -3
  319. package/lib/dist-custom-elements/{p-33e3a1a9.js → p-d0a4a69f.js} +3 -3
  320. package/lib/dist-custom-elements/{p-9e61a1b8.js → p-d0aaf2cd.js} +1 -1
  321. package/lib/dist-custom-elements/{p-56bc455d.js → p-e5962501.js} +3 -3
  322. package/lib/dist-custom-elements/{p-e1efb203.js → p-ed8b17fe.js} +7 -7
  323. package/lib/dist-custom-elements/{p-be9acce7.js → p-ee079d76.js} +4 -4
  324. package/lib/dist-custom-elements/p-f0cc5629.js +18 -0
  325. package/lib/dist-custom-elements/{p-d77db171.js → p-f66602b0.js} +1 -1
  326. package/lib/dist-custom-elements/{p-386b0af9.js → p-fb63021d.js} +2 -2
  327. package/lib/dist-custom-elements/{p-c58d2abe.js → p-fc92fc89.js} +3 -3
  328. package/lib/duet/duet.esm.js +1 -1
  329. package/lib/duet/duet.js +1 -1
  330. package/lib/duet/{p-3608cf6e.system.entry.js → p-00c7bd0a.system.entry.js} +2 -2
  331. package/lib/duet/p-0245b6df.system.entry.js +4 -0
  332. package/lib/duet/p-03ad2cf3.system.entry.js +4 -0
  333. package/lib/duet/p-0c527115.entry.js +4 -0
  334. package/lib/duet/{p-22fd3cfc.entry.js → p-0cb1aedd.entry.js} +1 -1
  335. package/lib/duet/{p-e2daf94c.entry.js → p-0cb6800d.entry.js} +1 -1
  336. package/lib/duet/{p-c210a9f3.system.entry.js → p-0cde41e1.system.entry.js} +1 -1
  337. package/lib/duet/p-0d730e50.system.entry.js +4 -0
  338. package/lib/duet/{p-11db4aac.system.entry.js → p-0d79ddc1.system.entry.js} +1 -1
  339. package/lib/duet/{p-446ed731.system.entry.js → p-0f3fbf65.system.entry.js} +1 -1
  340. package/lib/duet/{p-2c3a1d5b.system.entry.js → p-12abe4eb.system.entry.js} +1 -1
  341. package/lib/duet/p-130939b4.entry.js +4 -0
  342. package/lib/duet/p-1411cba2.entry.js +4 -0
  343. package/lib/duet/{p-eaf1640f.entry.js → p-146a6092.entry.js} +1 -1
  344. package/lib/duet/p-14b4ee4d.entry.js +4 -0
  345. package/lib/duet/{p-eb8799b0.system.entry.js → p-14c1e05f.system.entry.js} +1 -1
  346. package/lib/duet/p-19096d3f.system.entry.js +4 -0
  347. package/lib/duet/p-194e89c3.system.entry.js +4 -0
  348. package/lib/duet/{p-a2c6d500.system.entry.js → p-19519c35.system.entry.js} +1 -1
  349. package/lib/duet/{p-47523d35.entry.js → p-19baff31.entry.js} +1 -1
  350. package/lib/duet/p-1aaa8887.entry.js +4 -0
  351. package/lib/duet/{p-ba2dea2c.entry.js → p-1ac5803b.entry.js} +1 -1
  352. package/lib/duet/p-1b6e33e3.system.entry.js +4 -0
  353. package/lib/duet/p-1bdd845b.system.js +4 -0
  354. package/lib/duet/p-1ce82dfa.system.js +4 -0
  355. package/lib/duet/{p-2823bfcc.system.entry.js → p-1ec66cb0.system.entry.js} +1 -1
  356. package/lib/duet/{p-8e1e8d62.system.entry.js → p-210045f4.system.entry.js} +1 -1
  357. package/lib/duet/{p-2eae4a0b.js → p-214444f4.js} +1 -1
  358. package/lib/duet/{p-216fbdc6.system.entry.js → p-21785af3.system.entry.js} +2 -2
  359. package/lib/duet/{p-3fef9e7b.entry.js → p-252df607.entry.js} +1 -1
  360. package/lib/duet/p-265b2d3f.system.entry.js +4 -0
  361. package/lib/duet/p-293cb37c.entry.js +4 -0
  362. package/lib/duet/p-296eb384.entry.js +4 -0
  363. package/lib/duet/{p-bc0290cc.system.entry.js → p-2de11c55.system.entry.js} +1 -1
  364. package/lib/duet/{p-1e17463d.system.js → p-3300a0a4.system.js} +1 -1
  365. package/lib/duet/{p-3c286a31.entry.js → p-343c72ca.entry.js} +1 -1
  366. package/lib/duet/{p-87a3db45.system.entry.js → p-351076bc.system.entry.js} +1 -1
  367. package/lib/duet/{p-2a0b04d0.system.entry.js → p-35196930.system.entry.js} +1 -1
  368. package/lib/duet/{p-82ed064b.entry.js → p-3662ad90.entry.js} +1 -1
  369. package/lib/duet/p-3693a39c.entry.js +4 -0
  370. package/lib/duet/p-39733fa6.system.entry.js +4 -0
  371. package/lib/duet/{p-877b2e4b.system.entry.js → p-3a1f45d1.system.entry.js} +1 -1
  372. package/lib/duet/{p-8570bdcb.system.entry.js → p-3b77a305.system.entry.js} +1 -1
  373. package/lib/duet/{p-ecc9994d.system.entry.js → p-3f690e05.system.entry.js} +1 -1
  374. package/lib/duet/{p-c4bfa2ff.system.entry.js → p-3fce7ef4.system.entry.js} +1 -1
  375. package/lib/duet/{p-95f9824f.entry.js → p-405ba8bb.entry.js} +1 -1
  376. package/lib/duet/{p-605e69c8.system.js → p-406af1f3.system.js} +1 -1
  377. package/lib/duet/{p-d940168e.entry.js → p-413ee44a.entry.js} +1 -1
  378. package/lib/duet/{p-2ea8dd6c.system.entry.js → p-425e3794.system.entry.js} +1 -1
  379. package/lib/duet/{p-76d69a18.system.js → p-42d0aeb0.system.js} +1 -1
  380. package/lib/duet/{p-24c50312.system.entry.js → p-4afd1e0f.system.entry.js} +1 -1
  381. package/lib/duet/{p-b8607e71.entry.js → p-4bdae83b.entry.js} +1 -1
  382. package/lib/duet/p-4e261200.js +4 -0
  383. package/lib/duet/{p-04cb4f0a.entry.js → p-4f913952.entry.js} +1 -1
  384. package/lib/duet/{p-cfa09268.system.entry.js → p-50754042.system.entry.js} +2 -2
  385. package/lib/duet/p-5222dec4.system.entry.js +4 -0
  386. package/lib/duet/{p-00340ba9.system.entry.js → p-5269e599.system.entry.js} +1 -1
  387. package/lib/duet/{p-fa1ea9bd.entry.js → p-530144b7.entry.js} +1 -1
  388. package/lib/duet/p-56c887fb.js +4 -0
  389. package/lib/duet/{p-3dc61c8e.system.entry.js → p-58497877.system.entry.js} +1 -1
  390. package/lib/duet/p-5c17c2ad.entry.js +4 -0
  391. package/lib/duet/{p-ff6c9c23.system.entry.js → p-5e62f1da.system.entry.js} +1 -1
  392. package/lib/duet/{p-bde7e1d8.system.entry.js → p-603f6dd4.system.entry.js} +1 -1
  393. package/lib/duet/p-62e046bf.system.entry.js +4 -0
  394. package/lib/duet/p-639fd3db.entry.js +4 -0
  395. package/lib/duet/{p-a07d21e7.system.entry.js → p-65a3b7a2.system.entry.js} +1 -1
  396. package/lib/duet/p-6727fc0e.entry.js +4 -0
  397. package/lib/duet/{p-4cb02d4c.system.entry.js → p-6858f043.system.entry.js} +1 -1
  398. package/lib/duet/{p-bc12ff8f.system.entry.js → p-69d6bbfe.system.entry.js} +1 -1
  399. package/lib/duet/{p-2b06592d.system.entry.js → p-6c501d0a.system.entry.js} +1 -1
  400. package/lib/duet/{p-e95e650d.system.entry.js → p-6e9ec04c.system.entry.js} +1 -1
  401. package/lib/duet/{p-25c23189.system.entry.js → p-702dc745.system.entry.js} +1 -1
  402. package/lib/duet/{p-f43ebf88.entry.js → p-706c3914.entry.js} +1 -1
  403. package/lib/duet/{p-824d882f.entry.js → p-70adc2c4.entry.js} +1 -1
  404. package/lib/duet/{p-e559149e.system.entry.js → p-70fd8af5.system.entry.js} +1 -1
  405. package/lib/duet/{p-1f74f3cd.entry.js → p-71d12412.entry.js} +1 -1
  406. package/lib/duet/{p-8e4ffb74.entry.js → p-72508bb9.entry.js} +1 -1
  407. package/lib/duet/{p-6c25b6a4.system.entry.js → p-778e26b4.system.entry.js} +1 -1
  408. package/lib/duet/p-778e721c.entry.js +4 -0
  409. package/lib/duet/p-779cfa4a.system.entry.js +4 -0
  410. package/lib/duet/{p-53455bd1.system.entry.js → p-77eb9c59.system.entry.js} +1 -1
  411. package/lib/duet/p-783e8788.system.entry.js +4 -0
  412. package/lib/duet/{p-f3c1ae71.system.entry.js → p-79bd8c35.system.entry.js} +1 -1
  413. package/lib/duet/p-7a3ae8a9.system.js +4 -0
  414. package/lib/duet/{p-a3306993.system.entry.js → p-7ba55da2.system.entry.js} +2 -2
  415. package/lib/duet/{p-a19244e5.system.js → p-7d32c253.system.js} +1 -1
  416. package/lib/duet/{p-046b98cf.entry.js → p-7f519ad1.entry.js} +1 -1
  417. package/lib/duet/p-83d125ee.system.entry.js +4 -0
  418. package/lib/duet/{p-3e02acba.entry.js → p-849cdc4a.entry.js} +1 -1
  419. package/lib/duet/{p-c7b44ed6.system.entry.js → p-8911e1f0.system.entry.js} +1 -1
  420. package/lib/duet/p-898a81ab.system.entry.js +4 -0
  421. package/lib/duet/{p-909ae316.entry.js → p-8a9a7082.entry.js} +1 -1
  422. package/lib/duet/{p-9d9713da.entry.js → p-8bc4d112.entry.js} +1 -1
  423. package/lib/duet/{p-b8dd07d6.system.entry.js → p-907ef071.system.entry.js} +1 -1
  424. package/lib/duet/{p-3a2e39e9.entry.js → p-93bc8bc7.entry.js} +1 -1
  425. package/lib/duet/{p-ae215ca8.system.entry.js → p-989ecf2e.system.entry.js} +1 -1
  426. package/lib/duet/{p-b1ab6641.entry.js → p-99443d70.entry.js} +1 -1
  427. package/lib/duet/p-99f873a0.entry.js +4 -0
  428. package/lib/duet/p-9a219c40.entry.js +4 -0
  429. package/lib/duet/p-9c45ed44.entry.js +4 -0
  430. package/lib/duet/{p-c5bacc6d.system.entry.js → p-9e27e0a8.system.entry.js} +1 -1
  431. package/lib/duet/p-9e9599ce.system.entry.js +4 -0
  432. package/lib/duet/p-9f30783d.system.entry.js +4 -0
  433. package/lib/duet/{p-21a9fa67.system.entry.js → p-9f466e90.system.entry.js} +1 -1
  434. package/lib/duet/{p-222fc546.entry.js → p-9ff1b619.entry.js} +1 -1
  435. package/lib/duet/{p-4982cc6b.entry.js → p-a023bf22.entry.js} +1 -1
  436. package/lib/duet/{p-e13854bd.entry.js → p-a1dbb6ae.entry.js} +1 -1
  437. package/lib/duet/{p-d5870c1f.system.entry.js → p-a236f333.system.entry.js} +1 -1
  438. package/lib/duet/{p-072798e6.system.entry.js → p-a42c1c73.system.entry.js} +2 -2
  439. package/lib/duet/{p-e5f269b7.entry.js → p-a5406a98.entry.js} +1 -1
  440. package/lib/duet/{p-2d950c77.system.entry.js → p-a6ee1072.system.entry.js} +1 -1
  441. package/lib/duet/{p-f43e134e.system.entry.js → p-a7c7e6a4.system.entry.js} +1 -1
  442. package/lib/duet/p-aa436035.system.entry.js +4 -0
  443. package/lib/duet/{p-d9186e07.entry.js → p-aabf13cc.entry.js} +1 -1
  444. package/lib/duet/p-aad77751.system.js +4 -0
  445. package/lib/duet/{p-b5846de1.system.entry.js → p-abe63ae2.system.entry.js} +1 -1
  446. package/lib/duet/p-ac1125e2.entry.js +4 -0
  447. package/lib/duet/{p-b10ace99.entry.js → p-ad0b50f0.entry.js} +1 -1
  448. package/lib/duet/{p-4913f02c.entry.js → p-ad3fc579.entry.js} +1 -1
  449. package/lib/duet/{p-dfef2cbe.entry.js → p-b11c1b81.entry.js} +1 -1
  450. package/lib/duet/{p-6541a645.system.entry.js → p-b1c78160.system.entry.js} +2 -2
  451. package/lib/duet/{p-32c7c509.entry.js → p-b1f3e71c.entry.js} +1 -1
  452. package/lib/duet/{p-37181efc.entry.js → p-b55e935f.entry.js} +1 -1
  453. package/lib/duet/{p-9fa72371.entry.js → p-b5b5040f.entry.js} +1 -1
  454. package/lib/duet/{p-3aad3baf.system.entry.js → p-b5eec241.system.entry.js} +1 -1
  455. package/lib/duet/{p-6e7ef80c.system.entry.js → p-b5ef2959.system.entry.js} +1 -1
  456. package/lib/duet/{p-ec975bab.entry.js → p-b6214d5a.entry.js} +1 -1
  457. package/lib/duet/{p-8abb0984.js → p-b899b000.js} +1 -1
  458. package/lib/duet/p-bbc168d3.entry.js +4 -0
  459. package/lib/duet/{p-62bd233d.entry.js → p-bf2016fd.entry.js} +1 -1
  460. package/lib/duet/{p-ed532434.system.entry.js → p-c00beb34.system.entry.js} +1 -1
  461. package/lib/duet/p-c032689a.entry.js +4 -0
  462. package/lib/duet/p-c055a0a5.entry.js +4 -0
  463. package/lib/duet/p-c0f0ba52.entry.js +4 -0
  464. package/lib/duet/{p-295e34bd.entry.js → p-c20c2ae0.entry.js} +1 -1
  465. package/lib/duet/{p-72fde124.entry.js → p-c20e0bcd.entry.js} +1 -1
  466. package/lib/duet/{p-193fbc0f.entry.js → p-c2ece51b.entry.js} +1 -1
  467. package/lib/duet/{p-845b092d.system.entry.js → p-c5efbb76.system.entry.js} +1 -1
  468. package/lib/duet/p-c6915c43.system.entry.js +4 -0
  469. package/lib/duet/{p-3c6c1ee0.system.entry.js → p-c7f38ac3.system.entry.js} +1 -1
  470. package/lib/duet/{p-6e00b714.system.entry.js → p-c8437ddb.system.entry.js} +2 -2
  471. package/lib/duet/{p-0c243b6f.entry.js → p-cab2979b.entry.js} +1 -1
  472. package/lib/duet/p-cdccf8e6.system.entry.js +4 -0
  473. package/lib/duet/{p-b4c0dc4c.entry.js → p-cfee6451.entry.js} +1 -1
  474. package/lib/duet/{p-d7d86092.js → p-d048f25c.js} +1 -1
  475. package/lib/duet/{p-acf39158.entry.js → p-d1e5ab5e.entry.js} +1 -1
  476. package/lib/duet/{p-d1266569.system.entry.js → p-d2ded72c.system.entry.js} +2 -2
  477. package/lib/duet/{p-d0cd60a6.entry.js → p-d3a5400e.entry.js} +1 -1
  478. package/lib/duet/{p-3be0272c.entry.js → p-d452cbb7.entry.js} +1 -1
  479. package/lib/duet/{p-328685e9.entry.js → p-d554e96b.entry.js} +1 -1
  480. package/lib/duet/{p-0aed733f.entry.js → p-d6b53d40.entry.js} +1 -1
  481. package/lib/duet/p-d709d282.entry.js +4 -0
  482. package/lib/duet/{p-36a317f6.entry.js → p-d7c1c492.entry.js} +1 -1
  483. package/lib/duet/{p-0f7eec22.system.entry.js → p-d803a966.system.entry.js} +1 -1
  484. package/lib/duet/p-da7ce3da.entry.js +4 -0
  485. package/lib/duet/p-dc74c7c2.system.entry.js +4 -0
  486. package/lib/duet/p-dd1ec0ef.entry.js +4 -0
  487. package/lib/duet/{p-72053364.system.entry.js → p-dea69e25.system.entry.js} +1 -1
  488. package/lib/duet/{p-b4680142.entry.js → p-e062a11a.entry.js} +1 -1
  489. package/lib/duet/p-e1d33d05.entry.js +4 -0
  490. package/lib/duet/{p-62e7624c.entry.js → p-e33c42ff.entry.js} +1 -1
  491. package/lib/duet/{p-2437b4cb.js → p-e4d4cc92.js} +1 -1
  492. package/lib/duet/p-e8465166.entry.js +4 -0
  493. package/lib/duet/{p-388cd5aa.entry.js → p-eb35e521.entry.js} +1 -1
  494. package/lib/duet/p-f0cc5629.js +4 -0
  495. package/lib/duet/{p-bfbe3a6d.system.entry.js → p-f210b371.system.entry.js} +1 -1
  496. package/lib/duet/{p-cb612283.system.entry.js → p-f29c480a.system.entry.js} +1 -1
  497. package/lib/duet/{p-c8cbf8d3.entry.js → p-f35be908.entry.js} +1 -1
  498. package/lib/duet/{p-e21744ad.system.entry.js → p-f380d364.system.entry.js} +1 -1
  499. package/lib/duet/p-f417c864.entry.js +4 -0
  500. package/lib/duet/{p-c013a413.entry.js → p-f6900a3e.entry.js} +1 -1
  501. package/lib/duet/{p-6ce40239.system.entry.js → p-f933ada6.system.entry.js} +1 -1
  502. package/lib/duet/{p-998b929a.entry.js → p-f9a64d11.entry.js} +1 -1
  503. package/lib/esm/a11y-utils-92930863.js +18 -0
  504. package/lib/esm/{app-globals-00959ca9.js → app-globals-386e1feb.js} +1 -1
  505. package/lib/esm/duet-action-button.entry.js +2 -2
  506. package/lib/esm/duet-alert.entry.js +3 -3
  507. package/lib/esm/duet-badge.entry.js +3 -3
  508. package/lib/esm/duet-banner.entry.js +2 -2
  509. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  510. package/lib/esm/duet-breadcrumbs.entry.js +4 -4
  511. package/lib/esm/duet-button_2.entry.js +4 -4
  512. package/lib/esm/duet-callout.entry.js +4 -4
  513. package/lib/esm/duet-caption_4.entry.js +10 -11
  514. package/lib/esm/duet-card.entry.js +1 -1
  515. package/lib/esm/duet-checkbox.entry.js +2 -2
  516. package/lib/esm/duet-checkmark.entry.js +3 -3
  517. package/lib/esm/duet-chip_3.entry.js +6 -6
  518. package/lib/esm/duet-choice_2.entry.js +100 -14
  519. package/lib/esm/duet-collapsible.entry.js +4 -4
  520. package/lib/esm/duet-combobox.entry.js +4 -4
  521. package/lib/esm/duet-contact-card.entry.js +4 -4
  522. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  523. package/lib/esm/duet-date-picker.entry.js +14 -11
  524. package/lib/esm/duet-divider_2.entry.js +3 -3
  525. package/lib/esm/duet-editable-table_3.entry.js +7 -7
  526. package/lib/esm/duet-empty-state.entry.js +3 -3
  527. package/lib/esm/duet-fieldset.entry.js +5 -5
  528. package/lib/esm/duet-file-chooser.entry.js +2 -2
  529. package/lib/esm/duet-footer.entry.js +7 -7
  530. package/lib/esm/duet-grid_2.entry.js +5 -5
  531. package/lib/esm/duet-header_2.entry.js +3 -3
  532. package/lib/esm/duet-hero.entry.js +8 -8
  533. package/lib/esm/duet-icon.entry.js +4 -4
  534. package/lib/esm/duet-input_2.entry.js +16 -12
  535. package/lib/esm/duet-layout.entry.js +7 -7
  536. package/lib/esm/duet-list_2.entry.js +4 -4
  537. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  538. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
  539. package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
  540. package/lib/esm/duet-menu-bar-item.entry.js +5 -6
  541. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  542. package/lib/esm/duet-menu-bar.entry.js +4 -5
  543. package/lib/esm/duet-modal.entry.js +10 -10
  544. package/lib/esm/duet-multiselect.entry.js +8 -8
  545. package/lib/esm/duet-nav.entry.js +2 -2
  546. package/lib/esm/duet-notification_2.entry.js +6 -6
  547. package/lib/esm/duet-number-input.entry.js +11 -6
  548. package/lib/esm/duet-overlay.entry.js +2 -2
  549. package/lib/esm/duet-page-heading.entry.js +3 -3
  550. package/lib/esm/duet-pagination_2.entry.js +15 -15
  551. package/lib/esm/duet-progress.entry.js +2 -2
  552. package/lib/esm/duet-promo-card.entry.js +4 -4
  553. package/lib/esm/duet-radio_2.entry.js +87 -11
  554. package/lib/esm/duet-range-slider.entry.js +9 -4
  555. package/lib/esm/duet-scrollable_3.entry.js +16 -16
  556. package/lib/esm/duet-section-layout.entry.js +4 -4
  557. package/lib/esm/duet-select.entry.js +8 -8
  558. package/lib/esm/duet-shaped-image.entry.js +3 -3
  559. package/lib/esm/duet-show-more.entry.js +4 -4
  560. package/lib/esm/duet-slideout-lang.entry.js +3 -3
  561. package/lib/esm/duet-slideout-link.entry.js +3 -3
  562. package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
  563. package/lib/esm/duet-slideout-panel.entry.js +10 -10
  564. package/lib/esm/duet-slideout.entry.js +8 -8
  565. package/lib/esm/duet-step_2.entry.js +4 -4
  566. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  567. package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
  568. package/lib/esm/duet-submenu-bar-item.entry.js +4 -5
  569. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  570. package/lib/esm/duet-submenu-bar.entry.js +6 -6
  571. package/lib/esm/duet-textarea.entry.js +11 -7
  572. package/lib/esm/duet-toggle.entry.js +9 -4
  573. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  574. package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
  575. package/lib/esm/duet-toolbar-item.entry.js +6 -7
  576. package/lib/esm/duet-toolbar-link.entry.js +3 -3
  577. package/lib/esm/duet-toolbar.entry.js +3 -3
  578. package/lib/esm/duet-tooltip-button_2.entry.js +6 -6
  579. package/lib/esm/duet-tooltip.entry.js +21 -3
  580. package/lib/esm/duet-tray.entry.js +4 -4
  581. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  582. package/lib/esm/duet-upload-item.entry.js +5 -5
  583. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  584. package/lib/esm/duet.js +4 -4
  585. package/lib/esm/{errorcodes.utils-d9431251.js → errorcodes.utils-f2529568.js} +1 -1
  586. package/lib/esm/{focus-utils-adcd9463.js → focus-utils-fb393f52.js} +1 -1
  587. package/lib/esm/{index-1d0b7c66.js → index-4e3ad237.js} +1 -1
  588. package/lib/esm/{language-utils-14969cef.js → language-utils-95643489.js} +1 -1
  589. package/lib/esm/loader.js +4 -4
  590. package/lib/esm/{slot-utils-c62f2d7c.js → slot-utils-23c88903.js} +50 -2
  591. package/lib/esm-es5/a11y-utils-92930863.js +4 -0
  592. package/lib/esm-es5/{app-globals-00959ca9.js → app-globals-386e1feb.js} +1 -1
  593. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  594. package/lib/esm-es5/duet-alert.entry.js +1 -1
  595. package/lib/esm-es5/duet-badge.entry.js +1 -1
  596. package/lib/esm-es5/duet-banner.entry.js +1 -1
  597. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  598. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  599. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  600. package/lib/esm-es5/duet-callout.entry.js +1 -1
  601. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  602. package/lib/esm-es5/duet-card.entry.js +1 -1
  603. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  604. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  605. package/lib/esm-es5/duet-chip_3.entry.js +1 -1
  606. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  607. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  608. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  609. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  610. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  611. package/lib/esm-es5/duet-date-picker.entry.js +2 -2
  612. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  613. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  614. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  615. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  616. package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
  617. package/lib/esm-es5/duet-footer.entry.js +1 -1
  618. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  619. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  620. package/lib/esm-es5/duet-hero.entry.js +1 -1
  621. package/lib/esm-es5/duet-icon.entry.js +1 -1
  622. package/lib/esm-es5/duet-input_2.entry.js +2 -2
  623. package/lib/esm-es5/duet-layout.entry.js +1 -1
  624. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  625. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  626. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  627. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  628. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  629. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  630. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  631. package/lib/esm-es5/duet-modal.entry.js +1 -1
  632. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  633. package/lib/esm-es5/duet-nav.entry.js +1 -1
  634. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  635. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  636. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  637. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  638. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  639. package/lib/esm-es5/duet-progress.entry.js +1 -1
  640. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  641. package/lib/esm-es5/duet-radio_2.entry.js +2 -2
  642. package/lib/esm-es5/duet-range-slider.entry.js +2 -2
  643. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  644. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  645. package/lib/esm-es5/duet-select.entry.js +2 -2
  646. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  647. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  648. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  649. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  650. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  651. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  652. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  653. package/lib/esm-es5/duet-step_2.entry.js +2 -2
  654. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  655. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  656. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  657. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  658. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  659. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  660. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  661. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  662. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  663. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  664. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  665. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  666. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  667. package/lib/esm-es5/duet-tooltip.entry.js +2 -2
  668. package/lib/esm-es5/duet-tray.entry.js +1 -1
  669. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  670. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  671. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  672. package/lib/esm-es5/duet.js +1 -1
  673. package/lib/esm-es5/{errorcodes.utils-d9431251.js → errorcodes.utils-f2529568.js} +1 -1
  674. package/lib/esm-es5/focus-utils-fb393f52.js +4 -0
  675. package/lib/esm-es5/{index-1d0b7c66.js → index-4e3ad237.js} +1 -1
  676. package/lib/esm-es5/{language-utils-14969cef.js → language-utils-95643489.js} +1 -1
  677. package/lib/esm-es5/loader.js +1 -1
  678. package/lib/esm-es5/{slot-utils-c62f2d7c.js → slot-utils-23c88903.js} +1 -1
  679. package/lib/types/components/duet-choice/duet-choice.d.ts +7 -1
  680. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +2 -0
  681. package/lib/types/components/duet-input/duet-input.d.ts +2 -0
  682. package/lib/types/components/duet-number-input/duet-number-input.d.ts +2 -0
  683. package/lib/types/components/duet-progress/duet-progress.d.ts +0 -6
  684. package/lib/types/components/duet-radio/duet-radio.d.ts +7 -1
  685. package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +2 -0
  686. package/lib/types/components/duet-textarea/duet-textarea.d.ts +2 -0
  687. package/lib/types/components/duet-toggle/duet-toggle.d.ts +2 -0
  688. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +3 -0
  689. package/lib/types/utils/slot-utils.d.ts +17 -0
  690. package/package.json +4 -4
  691. package/lib/cjs/a11y-utils-a0a1c591.js +0 -25
  692. package/lib/dist-custom-elements/p-33ef7275.js +0 -23
  693. package/lib/dist-custom-elements/p-e3c6562a.js +0 -272
  694. package/lib/duet/p-0acaeef1.system.entry.js +0 -4
  695. package/lib/duet/p-0bf7b3c5.entry.js +0 -4
  696. package/lib/duet/p-115db258.entry.js +0 -4
  697. package/lib/duet/p-15553b15.system.entry.js +0 -4
  698. package/lib/duet/p-1d988a7d.entry.js +0 -4
  699. package/lib/duet/p-1fa1ce4b.entry.js +0 -4
  700. package/lib/duet/p-216bc706.system.entry.js +0 -4
  701. package/lib/duet/p-22e54537.system.entry.js +0 -4
  702. package/lib/duet/p-2bc9a07a.system.entry.js +0 -4
  703. package/lib/duet/p-3149beee.system.entry.js +0 -4
  704. package/lib/duet/p-3b25391c.entry.js +0 -4
  705. package/lib/duet/p-3b838a83.system.js +0 -4
  706. package/lib/duet/p-3ed182b5.entry.js +0 -4
  707. package/lib/duet/p-40354594.entry.js +0 -4
  708. package/lib/duet/p-41f2f90c.entry.js +0 -4
  709. package/lib/duet/p-5b378d7e.entry.js +0 -4
  710. package/lib/duet/p-5d6463a4.entry.js +0 -4
  711. package/lib/duet/p-5e8d9c74.system.entry.js +0 -4
  712. package/lib/duet/p-5f9da024.system.entry.js +0 -4
  713. package/lib/duet/p-67f593af.entry.js +0 -4
  714. package/lib/duet/p-720a5baf.system.entry.js +0 -4
  715. package/lib/duet/p-73a912a8.system.entry.js +0 -4
  716. package/lib/duet/p-76f8cf1e.entry.js +0 -4
  717. package/lib/duet/p-79e8dc10.entry.js +0 -4
  718. package/lib/duet/p-876398dc.entry.js +0 -4
  719. package/lib/duet/p-88592630.js +0 -4
  720. package/lib/duet/p-965e597c.system.js +0 -4
  721. package/lib/duet/p-99bddf65.system.js +0 -4
  722. package/lib/duet/p-9cc4e4a1.entry.js +0 -4
  723. package/lib/duet/p-9dddb2a6.system.entry.js +0 -4
  724. package/lib/duet/p-9ed7087f.entry.js +0 -4
  725. package/lib/duet/p-a3a959a4.entry.js +0 -4
  726. package/lib/duet/p-abcf33aa.entry.js +0 -4
  727. package/lib/duet/p-ac975c3d.js +0 -4
  728. package/lib/duet/p-bffcb6cc.system.entry.js +0 -4
  729. package/lib/duet/p-cda56872.entry.js +0 -4
  730. package/lib/duet/p-ce60e510.entry.js +0 -4
  731. package/lib/duet/p-da114a78.entry.js +0 -4
  732. package/lib/duet/p-e1c881da.system.js +0 -4
  733. package/lib/duet/p-e263da06.entry.js +0 -4
  734. package/lib/duet/p-e5810f77.entry.js +0 -4
  735. package/lib/duet/p-e6ac5022.system.entry.js +0 -4
  736. package/lib/duet/p-e96a159d.system.entry.js +0 -4
  737. package/lib/duet/p-ed803e3f.entry.js +0 -4
  738. package/lib/duet/p-ee1c534c.system.entry.js +0 -4
  739. package/lib/duet/p-f2bc16bb.system.entry.js +0 -4
  740. package/lib/duet/p-f3b6b75d.system.entry.js +0 -4
  741. package/lib/duet/p-f5f81926.system.entry.js +0 -4
  742. package/lib/duet/p-faf02cb3.entry.js +0 -4
  743. package/lib/duet/p-fb0c0f16.entry.js +0 -4
  744. package/lib/duet/p-fd78f61a.js +0 -4
  745. package/lib/duet/p-fe4a2e84.system.entry.js +0 -4
  746. package/lib/duet/p-fe56aeca.system.entry.js +0 -4
  747. package/lib/esm/a11y-utils-02741d98.js +0 -23
  748. package/lib/esm-es5/a11y-utils-02741d98.js +0 -4
  749. package/lib/esm-es5/focus-utils-adcd9463.js +0 -4
@@ -1,9 +1,10 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { Build, h, Host } from "@stencil/core";
4
+ import { h, Host } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common";
6
6
  import { createID } from "../../utils/create-id";
7
+ import { getElementsFromNamedSlot, hasSlot } from "../../utils/slot-utils";
7
8
  /**
8
9
  * @slot label - Label content.
9
10
  */
@@ -13,6 +14,70 @@ export class DuetRadio {
13
14
  * Own Properties.
14
15
  */
15
16
  this.radioId = createID("DuetRadio");
17
+ this.radioInputListenersRemove = radioInput => {
18
+ radioInput.removeEventListener("change", this.onChange);
19
+ //radioInput.removeEventListener("click", this.onRadioClick)
20
+ radioInput.removeEventListener("focus", this.onFocus);
21
+ radioInput.removeEventListener("blur", this.onBlur);
22
+ };
23
+ this.radioInputListenersAdd = radioInput => {
24
+ radioInput.addEventListener("change", this.onChange);
25
+ //radioInput.addEventListener("click", this.onRadioClick)
26
+ radioInput.addEventListener("focus", this.onFocus);
27
+ radioInput.addEventListener("blur", this.onBlur);
28
+ };
29
+ this.radioInputSetUp = () => {
30
+ const slotInput = this.element.querySelector("input[slot=input]");
31
+ const radioInput = slotInput || document.createElement("input");
32
+ radioInput.slot = "input";
33
+ radioInput.disabled = this.disabled || this.groupDisabled ? true : undefined;
34
+ radioInput.id = this.identifier || this.radioId;
35
+ radioInput.type = "radio";
36
+ radioInput.name = this.name;
37
+ radioInput.value = this.value;
38
+ radioInput.checked = this.checked;
39
+ if (this.accessibleIndex) {
40
+ radioInput.tabIndex = Number(this.accessibleIndex);
41
+ }
42
+ radioInput.required = this.required;
43
+ radioInput.role = this.role;
44
+ if (this.accessibleControls) {
45
+ radioInput.setAttribute("aria-controls", this.accessibleControls);
46
+ }
47
+ if (this.accessibleActiveDescendant) {
48
+ radioInput.setAttribute("aria-activedescendant", this.accessibleActiveDescendant);
49
+ }
50
+ if (this.accessibleOwns) {
51
+ radioInput.setAttribute("aria-owns", this.accessibleOwns);
52
+ }
53
+ if (this.accessibleDescribedBy) {
54
+ radioInput.setAttribute("aria-describedby", this.accessibleDescribedBy);
55
+ }
56
+ if (this.accessibleLabelledBy) {
57
+ radioInput.setAttribute("aria-labelledby", this.accessibleLabelledBy);
58
+ }
59
+ if (this.accessibleDetails) {
60
+ radioInput.setAttribute("aria-details", this.accessibleDetails);
61
+ }
62
+ if (this.accessibleDescription) {
63
+ radioInput.setAttribute("aria-description", this.accessibleDescription);
64
+ }
65
+ if (this.hasLabel) {
66
+ const slotContent = getElementsFromNamedSlot(this.element, "label");
67
+ radioInput.ariaLabel = slotContent.length > 0 ? slotContent[0].textContent : this.labelElement.textContent;
68
+ }
69
+ else {
70
+ radioInput.ariaLabel = this.labelElement.textContent;
71
+ }
72
+ if (slotInput) {
73
+ this.radioInputListenersRemove(radioInput);
74
+ }
75
+ else {
76
+ this.element.appendChild(radioInput);
77
+ }
78
+ this.radioInputListenersAdd(radioInput);
79
+ this.focusableElement = radioInput;
80
+ };
16
81
  /**
17
82
  * Component event handling.
18
83
  */
@@ -20,7 +85,9 @@ export class DuetRadio {
20
85
  ev.stopPropagation();
21
86
  };
22
87
  this.onChange = (ev) => {
23
- this.checked = this.nativeInput.checked || false;
88
+ const input = this.focusableElement;
89
+ const inputChecked = input.checked;
90
+ this.checked = inputChecked;
24
91
  if (this.checked && !this.blockEvents) {
25
92
  this.duetChange.emit({
26
93
  originalEvent: ev,
@@ -31,6 +98,7 @@ export class DuetRadio {
31
98
  }
32
99
  };
33
100
  this.onBlur = (ev) => {
101
+ this.focus = false;
34
102
  this.duetBlur.emit({
35
103
  originalEvent: ev,
36
104
  checked: this.checked,
@@ -39,6 +107,7 @@ export class DuetRadio {
39
107
  });
40
108
  };
41
109
  this.onFocus = (ev) => {
110
+ this.focus = true;
42
111
  this.duetFocus.emit({
43
112
  originalEvent: ev,
44
113
  checked: this.checked,
@@ -46,6 +115,7 @@ export class DuetRadio {
46
115
  component: "duet-radio",
47
116
  });
48
117
  };
118
+ this.focus = false;
49
119
  this.accessibleActiveDescendant = undefined;
50
120
  this.accessibleDetails = undefined;
51
121
  this.accessibleLabelledBy = undefined;
@@ -74,37 +144,39 @@ export class DuetRadio {
74
144
  */
75
145
  componentWillLoad() {
76
146
  inheritGlobalTheme(this);
77
- this.hasLabel = Build.isServer
78
- ? Array.from(this.element.children).filter(el => el.matches("[slot='label']")).length > 0
79
- : !!this.element.querySelector(":scope > [slot='label']");
147
+ this.hasLabel = hasSlot(this.element, "label");
80
148
  if (this.value === undefined) {
81
149
  this.value = this.identifier;
82
150
  }
83
151
  }
152
+ componentDidRender() {
153
+ this.radioInputSetUp();
154
+ }
84
155
  /**
85
156
  * Sets focus on the specified `duet-radio`. Use this method instead of the global
86
157
  * `input.focus()`.
87
158
  */
88
159
  async setFocus(options) {
89
- this.nativeInput.focus(options);
160
+ this.focusableElement.focus(options);
90
161
  }
91
162
  /**
92
163
  * render() function
93
164
  * Always the last one in the class.
94
165
  */
95
166
  render() {
96
- if (Build.isServer) {
97
- return;
98
- }
99
- const identifier = this.identifier || this.radioId;
100
- return (h(Host, { onClick: this.onClick, class: {
167
+ return (h(Host, { key: '45b1545ee1fba45f0e798ecc8d00e3a1008626f8', onClick: this.onClick, class: {
101
168
  horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
102
169
  "horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
103
170
  "duet-m-0": this.margin === "none",
104
- } }, h("div", { class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } }, h("input", { type: "radio", onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, value: this.value, tabindex: this.accessibleIndex, class: { "duet-radio": true, disabled: this.disabled || this.groupDisabled }, checked: this.checked, disabled: this.disabled || this.groupDisabled, required: this.required, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, role: this.role, name: this.name, id: identifier, ref: input => (this.nativeInput = input) }), h("label", { class: "duet-label", htmlFor: identifier }, h("div", { class: "duet-label-content" }, this.hasLabel ? h("slot", { name: "label" }) : this.label)))));
171
+ } }, h("div", { key: '08a710d7eba8d2d525f28914ee1a607772193aad', class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } }, h("slot", { key: '0ae4454c2bbca3802ff1e39a9a8cc9fa8e5a0f55', name: "input" }), h("label", { key: '135a95b34307d57a9af5fe5768da8df2a74e7803', inert: true, ref: element => (this.labelElement = element), class: {
172
+ "duet-label": true,
173
+ checked: this.checked,
174
+ focus: this.focus,
175
+ disabled: this.disabled || this.groupDisabled,
176
+ } }, h("div", { key: '908ecfc2809c9ff575ded9cc37c034921d7c4966', class: "duet-label-content" }, this.hasLabel ? h("slot", { name: "label" }) : this.label)))));
105
177
  }
106
178
  static get is() { return "duet-radio"; }
107
- static get encapsulation() { return "scoped"; }
179
+ static get encapsulation() { return "shadow"; }
108
180
  static get originalStyleUrls() {
109
181
  return {
110
182
  "$": ["duet-radio.scss"]
@@ -573,6 +645,11 @@ export class DuetRadio {
573
645
  }
574
646
  };
575
647
  }
648
+ static get states() {
649
+ return {
650
+ "focus": {}
651
+ };
652
+ }
576
653
  static get events() {
577
654
  return [{
578
655
  "method": "duetChange",
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { Build, h, Host } from "@stencil/core";
4
+ import { h, Host } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common/themeable-component";
6
6
  import { checkNamedSlotElement } from "../../utils/slot-utils";
7
7
  import { findCheckedOption, watchForOptions } from "../../utils/watch-options";
@@ -113,13 +113,10 @@ export class DuetRadioGroup {
113
113
  * Always the last one in the class.
114
114
  */
115
115
  render() {
116
- if (Build.isServer) {
117
- return;
118
- }
119
- return (h(Host, { onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, h("duet-fieldset", { label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { name: "tooltip" }), h("div", { class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, h("slot", null)))));
116
+ return (h(Host, { key: 'e516156e7c44831a8e14c4025a5533d4b2a4b7c9', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, h("duet-fieldset", { key: 'dec5b7cb93bc57ea111b05a52dc0a3c2bf34cd79', label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: 'e26e641c572e513574e148f6fb7132a6456a5692', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '27b29b5694912bcbac44b04c4842eaf18acfb941', name: "tooltip" }), h("div", { key: '6ddeead79d117c688fcb68166a7eecbd51f5b7df', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '3b8f61ca49010d8ebd8aed718c514a5e51f9feaf' })))));
120
117
  }
121
118
  static get is() { return "duet-radio-group"; }
122
- static get encapsulation() { return "scoped"; }
119
+ static get encapsulation() { return "shadow"; }
123
120
  static get originalStyleUrls() {
124
121
  return {
125
122
  "$": ["duet-radio-group.scss"]
@@ -2,11 +2,12 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { colorGray, colorGrayTurva, colorPrimary, colorPrimaryTurva } from "@duetds/tokens";
5
- import { Build, h, Host } from "@stencil/core";
5
+ import { h, Host } from "@stencil/core";
6
6
  import { inheritGlobalTheme } from "../../common/themeable-component";
7
7
  import { createID } from "../../utils/create-id";
8
8
  import isInternetExplorer from "../../utils/is-internet-explorer";
9
9
  import { subscribeTabbingChange, unsubscribeTabbingChange } from "../../utils/keyboard-utils";
10
+ import { proxyInputToSlot } from "../../utils/slot-utils";
10
11
  const colors = {
11
12
  turva: {
12
13
  active: colorPrimaryTurva,
@@ -23,6 +24,7 @@ export class DuetRangeSlider {
23
24
  * Own Properties
24
25
  */
25
26
  this.rangeId = createID("DuetRange");
27
+ this.proxyId = createID("DuetRange");
26
28
  /**
27
29
  * Component event handling.
28
30
  */
@@ -86,6 +88,9 @@ export class DuetRangeSlider {
86
88
  disconnectedCallback() {
87
89
  unsubscribeTabbingChange(this);
88
90
  }
91
+ componentDidRender() {
92
+ proxyInputToSlot(this.element, this.proxyId, this.name, this.value, this.required);
93
+ }
89
94
  /**
90
95
  * Sets focus on the specified `duet-range-slider`. Use this method instead of the global
91
96
  * `input.focus()`.
@@ -104,9 +109,6 @@ export class DuetRangeSlider {
104
109
  * Always the last one in the class.
105
110
  */
106
111
  render() {
107
- if (Build.isServer) {
108
- return;
109
- }
110
112
  const identifier = this.identifier || this.rangeId;
111
113
  const theme = this.theme === "turva" ? "turva" : "default";
112
114
  const { inactive, active } = colors[theme];
@@ -114,16 +116,16 @@ export class DuetRangeSlider {
114
116
  const rangeStyles = {
115
117
  background: `-webkit-linear-gradient(left,${active} 0%,${active} ${percentage}%,${inactive} ${percentage}%)`,
116
118
  };
117
- return (h(Host, { class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, h("div", { class: {
119
+ return (h(Host, { key: '88829030a8bbb0f4f4029de9ec16b04e3e476798', class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, h("div", { key: 'be11c8a8f243506acbd30ee4676104dbcea9a1ba', class: {
118
120
  "duet-range-container": true,
119
121
  "duet-label-hidden": this.labelHidden,
120
122
  "duet-theme-turva": this.theme === "turva",
121
123
  "duet-ie": isInternetExplorer(),
122
124
  "duet-range-disabled": this.disabled,
123
- } }, h("duet-label", { theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small", for: identifier }, this.label), h("output", { "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), h("input", { onInput: this.onInput, onChange: this.onChange, ref: input => (this.nativeInput = input), type: "range", min: this.min, max: this.max, step: this.step, value: this.value, style: rangeStyles, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} ${this.unit}`, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, name: this.name, disabled: this.disabled, required: this.required, class: "duet-range" }))));
125
+ } }, h("duet-label", { key: 'c732b5fee1e4bfdb9873dfea49c26fdc34d6b03d', theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small" }, this.label), h("output", { key: '43e6503a9b071299e557c6e39b64679e32f8f483', "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), h("input", { key: '2cc4a064e002ac2c4ae45d6fd13f0bdc3401f5de', onInput: this.onInput, onChange: this.onChange, ref: input => (this.nativeInput = input), type: "range", min: this.min, max: this.max, step: this.step, value: this.value, style: rangeStyles, "aria-label": this.label, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} ${this.unit}`, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, name: this.name, disabled: this.disabled, required: this.required, class: "duet-range" }))));
124
126
  }
125
127
  static get is() { return "duet-range-slider"; }
126
- static get encapsulation() { return "scoped"; }
128
+ static get encapsulation() { return "shadow"; }
127
129
  static get originalStyleUrls() {
128
130
  return {
129
131
  "$": ["duet-range-slider.scss"]
@@ -169,10 +169,10 @@ export class DuetRangeStepper {
169
169
  * Always the last one in the class.
170
170
  */
171
171
  render() {
172
- return (h("div", { key: '43d93bf62ed3c3b091933da841d015662b158e50', class: {
172
+ return (h("div", { key: 'e398ec0cf2d35150c78f4e3475fd7e4c95d646ad', class: {
173
173
  "duet-range-stepper": true,
174
174
  "duet-theme-turva": this.theme === "turva",
175
- }, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, h("span", { key: '0eb7fa8f8e1f5853a16c85f8d9670c70d531f13a', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), h("duet-action-button", { key: 'b89f2b93dfe5a510bf6acbdf30ce694ff1ac59dc', disabled: this.disabled || this.buttonLeftDisabled, class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small", title: "" }), h("duet-action-button", { key: 'a9d84ec5096ae382828ee82ba75bd558b08d49ea', disabled: this.disabled || this.buttonRightDisabled, class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small", title: "" })));
175
+ }, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, h("span", { key: '24a874579791e03416eb316216ea44c6d35d7e0b', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), h("duet-action-button", { key: '13d2b13c96b44797b61192a0e99c63ec0098e7a6', disabled: this.disabled || this.buttonLeftDisabled, class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small", title: "" }), h("duet-action-button", { key: 'd8b25262e3f9549252640e5479b83dd2c7ea4930', disabled: this.disabled || this.buttonRightDisabled, class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small", title: "" })));
176
176
  }
177
177
  static get is() { return "duet-range-stepper"; }
178
178
  static get encapsulation() { return "shadow"; }
@@ -222,21 +222,21 @@ export class DuetScrollable {
222
222
  * Always the last one in the class.
223
223
  */
224
224
  render() {
225
- return (h(Host, { key: 'ba1e4f4c2221fec32507a3ba66829f2f34dcb225', class: {
225
+ return (h(Host, { key: 'b4198b556c21a0b793694cfc88c23d2ae01d50bf', class: {
226
226
  "duet-theme-turva": this.theme === "turva",
227
227
  "duet-theme-default": this.theme === "default",
228
- } }, this.hasCollapseButtonLabelSlot && (h("div", { key: '5d9131e9e7be00a46d1f919d04127586cc9a6d91', class: {
228
+ } }, this.hasCollapseButtonLabelSlot && (h("div", { key: 'c15a9e37829ff7f41eb5c90156f78086777a44d7', class: {
229
229
  collapse: true,
230
230
  hide: !this.needsScrolling && !this.collapsed,
231
- } }, h("duet-button", { key: 'af675db06e61bd24d608ba0395ca54bd8feac172', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, h("slot", { key: '686ee5f4804f2a3ffd059778eee189633615bf37', name: "collapse-button-label" })))), h("div", { key: '074caf18d31c3b9a019cebf7ca2e8ac6b7ca61e4', class: {
231
+ } }, h("duet-button", { key: '69ac59727a4efdf372e05a241e53f3f465278782', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, h("slot", { key: '9ae0e03e390f546425e0c4a36ba4e1b14e9df548', name: "collapse-button-label" })))), h("div", { key: '693aa91ad582ae80b569a3d1c1cdcd6a2fd5b4fc', class: {
232
232
  "duet-scrollable-items": true,
233
233
  buttons: this.buttons,
234
234
  center: this.center,
235
- } }, this.buttons && this.renderButton("left"), this.renderFadeOverlay("left"), h("div", { key: '64cd0312d4a7b8db126efb7c153519d8c99f61a5', class: {
235
+ } }, this.buttons && this.renderButton("left"), this.renderFadeOverlay("left"), h("div", { key: 'f24739dbd27c222602e2aaf283e1ebdbc9a4af0b', class: {
236
236
  "duet-scrollable-list": true,
237
237
  collapsed: this.collapsed,
238
238
  [`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
239
- }, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: '380081180cef409cb8b9e6cd4e572e0699678137' })), this.renderFadeOverlay("right"), this.buttons && this.renderButton("right"))));
239
+ }, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: 'a27f4a34f1c196b441eebf291c9cfd9e2a632299' })), this.renderFadeOverlay("right"), this.buttons && this.renderButton("right"))));
240
240
  }
241
241
  static get is() { return "duet-scrollable"; }
242
242
  static get encapsulation() { return "shadow"; }
@@ -14,13 +14,13 @@ export class DuetSectionLayout {
14
14
  * Always the last one in the class.
15
15
  */
16
16
  render() {
17
- return (h(Host, { key: '5a0fe7bda2f99a571bb9a91389d22bb429b92176', class: {
17
+ return (h(Host, { key: '7f434babace607653e64faabeddb9c27bb616862', class: {
18
18
  "duet-middle": this.middle,
19
19
  "duet-ie": isInternetExplorer(),
20
- } }, h("div", { key: 'fa8ce66fb4314c7b613db9d9c8a41a6184998e6f', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, h("div", { key: 'eec70679e3914498d52cf5fabc0b6f107afcb263', class: {
20
+ } }, h("div", { key: '9fbdea587d94910e97eb9ecbea464c1778fc1ff8', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, h("div", { key: 'f4c957ebabd014d3ebf626d7539f3542314ce0a1', class: {
21
21
  "duet-layout": true,
22
22
  [`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
23
- } }, h("section", { key: 'a6816d9b522355e91cd3e226d5501b50b27ca0cc', class: "duet-main" }, h("slot", { key: 'be71578ddc8566d81734e0e036416767b0c42899' }))))));
23
+ } }, h("section", { key: 'd803f587fb3f7f481d22d2a3e3566bcd85c7f98b', class: "duet-main" }, h("slot", { key: 'fb1c82948b2d25d0437c41743abf0f9ed666b4d5' }))))));
24
24
  }
25
25
  static get is() { return "duet-section-layout"; }
26
26
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { Build, h, Host } from "@stencil/core";
4
+ import { h, Host } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common/themeable-component";
6
6
  import { createID } from "../../utils/create-id";
7
7
  import { checkNamedSlotElement } from "../../utils/slot-utils";
@@ -149,30 +149,27 @@ export class DuetSelect {
149
149
  * Always the last one in the class.
150
150
  */
151
151
  render() {
152
- if (Build.isServer) {
153
- return;
154
- }
155
152
  const identifier = this.identifier || this.selectId;
156
- return (h(Host, { onClick: this.onClick, class: {
153
+ return (h(Host, { key: '28f5db49f64ea0115fa20745df6d535fac98ca08', onClick: this.onClick, class: {
157
154
  "duet-m-0": this.margin === "none",
158
155
  "duet-expand": this.expand,
159
156
  [`duet-select-variation-${this.variation}`]: true,
160
- } }, h("div", { class: {
157
+ } }, h("div", { key: '73e7a3937df41f97d6501cb393b05a1e11e07b97', class: {
161
158
  "duet-select-container": true,
162
159
  "duet-label-hidden": this.labelHidden,
163
160
  "duet-theme-turva": this.theme === "turva",
164
161
  [`duet-select-variation-${this.variation}`]: true,
165
162
  "duet-input-top-caption-shown": this.isCaptionVisible,
166
163
  "has-error": !!this.error,
167
- } }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { name: "tooltip" }), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), h("select", { ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (h("option", { disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (h("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
164
+ } }, h("duet-label", { key: '1b908d4ce2db347aea7654f7d150c3536023be7e', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: 'f4ae4625f3844a0a4ff41ceeb5b09cc73f2c3139', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '56432a29cd588587216dcb91b1d7fa29ae80c12d', name: "tooltip" }), this.caption && (h("duet-caption", { key: '2664591e6e79d7786ecd95e2136b7eb6ac46eb43', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '17a7d144eb109640535302879dc8e46622f7542a', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '2777dafee5e8f98ca467b83cfa672aeb2bd51d26', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), h("select", { key: '2d00bf64843b3d4402d75b50660baaa701e776bd', ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (h("option", { key: '9f4a48986073692a67a221d489c3bc9402324828', disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (h("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
168
165
  return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
169
- }))), h("div", { class: {
166
+ }))), h("div", { key: '00870092e20d5e30222ad0afa3072d1dfba03dce', class: {
170
167
  "duet-select": true,
171
168
  [`duet-select-variation-${this.variation}`]: true,
172
- }, "aria-hidden": "true" }, h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (h("svg", { role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" })))) || (h("duet-icon", { theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), h("span", { class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), h("span", { class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span", null, this.error)))));
169
+ }, "aria-hidden": "true" }, h("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (h("svg", { key: 'e1e57dfb22ba2d97a460c34b18a49355e8fa41a7', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '5fedaf97f4a4293f318512cc312d4c1d6ac9fce2', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" })))) || (h("duet-icon", { key: '52b2404b48602331e322f5ccf6f338cf5dba46e4', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), h("span", { key: 'c647fdcfac98bfd444789464f4e89f905a3db068', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), h("span", { key: '2f8730fa473524bdc6fbfe52f295215fe023b984', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && h("span", { key: '438e8329537edfc708bb57ce8de8d91abb7aaae8' }, this.error)))));
173
170
  }
174
171
  static get is() { return "duet-select"; }
175
- static get encapsulation() { return "scoped"; }
172
+ static get encapsulation() { return "shadow"; }
176
173
  static get originalStyleUrls() {
177
174
  return {
178
175
  "$": ["duet-select.scss"]
@@ -25,9 +25,9 @@ export class DuetShapedImage {
25
25
  const style = {
26
26
  "--rotation": `${this.rotation}deg`,
27
27
  };
28
- return (h(Host, { key: 'cb4154853051eec78a10658344407c1653d737b3', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, h("span", { key: '5cab0035d46b9e020cf7e4a18105a999646ad437', class: {
28
+ return (h(Host, { key: '555cbcb9c76cbda51c3c4cede13d764de7334c4e', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, h("span", { key: '11704c842ec39f85048625cc78eb3dac55c18508', class: {
29
29
  "shaped-image": true,
30
- }, role: "img", "aria-label": this.accessibleLabel, style: style }, h("span", { key: '8c2d2bb60ac9042377402dea4453e4ec17885aac', class: "shaped-image-mask", role: "presentation" }, h("span", { key: '765b32769035c6746c0412be9fe3b70bf8c75039', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
30
+ }, role: "img", "aria-label": this.accessibleLabel, style: style }, h("span", { key: 'f4ebb6576b8d69bc929ccae1662a87bc7c2481c7', class: "shaped-image-mask", role: "presentation" }, h("span", { key: 'd7d83206a5d52dd0ec81ea25256ace0b0f68df6c', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
31
31
  }
32
32
  static get is() { return "duet-shaped-image"; }
33
33
  static get encapsulation() { return "shadow"; }
@@ -90,12 +90,12 @@ export class DuetShowMore {
90
90
  * Always the last one of the class.
91
91
  */
92
92
  render() {
93
- return (h(Host, { key: 'f2ae77fcd733d57404b733d43ffb049d3503ecd0' }, h("div", { key: 'a0a01d9f4ef3065ced4d4de652969744e6e1e227', class: {
93
+ return (h(Host, { key: 'e795502d610ccc4d9fb5e2820c6e50a58b1f1d9d' }, h("div", { key: '7f3dc284c84c60fea4742b85c080e43e4529b6f8', class: {
94
94
  "duet-show-more": true,
95
95
  "duet-theme-turva": this.theme === "turva",
96
96
  "duet-m-0": this.margin === "none",
97
97
  open: this.open,
98
- } }, h("div", { key: '8b799e3b59a456e4873357daa72313f0d29bffcf', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, h("div", { key: 'e5e04fa045ab43f00086e8799f87ab2b57f0a13b', class: { "slotted-content": true } }, h("slot", { key: 'ca94e5187354a6debb373955df2d046a9c9271a4' }))), h("duet-button", { key: 'fc11f79ebc689843332bc829f108d62180fa62fe', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.open, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, h("span", { key: '63e4d04789225b2ff7938e8e1156345b14b6633f' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
98
+ } }, h("div", { key: '7f2d9de11a429a5d9e219cdeb5835e2ea8be2c2b', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, h("div", { key: 'f10b510dd9a1369178d5bc4259d2ef55fc569e10', class: { "slotted-content": true } }, h("slot", { key: '21169537ec721827e96bd24710de3f5d6d81fa8f' }))), h("duet-button", { key: 'fd0aae5f657aeab52c5a9a49003e0d70c3644a10', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.open, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, h("span", { key: 'e4996c3f3a786b12ef395679e892ccce7d84399d' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
99
99
  }
100
100
  static get is() { return "duet-show-more"; }
101
101
  static get encapsulation() { return "shadow"; }
@@ -243,16 +243,16 @@ export class DuetSlideout {
243
243
  };
244
244
  const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
245
245
  const exitTranslation = getLocaleString(this.exitLangObject);
246
- return (h(Host, { key: '14fdba7fda5928417732464bfb4fd9b16f7b2064' }, h("div", { key: 'ad888076253b6aadf02beac7fd057ac3fb4fdf3d', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && h("duet-overlay", { key: '402885b296bd543ddbe8cf83908e90a181b9da10', visible: this.open, "display-device": "large", zIndex: "600" }), h("div", { key: 'e93a803cbfbe0be22ec7fd6f70c890bf1b652532', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
246
+ return (h(Host, { key: '7e5384e7a8da21a6bfcd4e6f84f8c0cb60d3250a' }, h("div", { key: 'a0ddecf72e05002132592afbea9ab503e8929698', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && h("duet-overlay", { key: 'bd9eb4bb301549c79486fbec4ec9cc3306001152', visible: this.open, "display-device": "large", zIndex: "600" }), h("div", { key: '8bcb933d1862b16a784105144cbb830b085b7a37', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
247
247
  dialog: true,
248
248
  hidden: !this.open,
249
249
  modal: this.modal,
250
- }, style: styles }, h(FocusGuard, { key: '0e6e26357b438fb966c72cf164a4c39ce8b235bd', moveFocusTo: this.closeButton }), h("div", { key: 'c65959274e1c3191495c03d01adb69c76d23e3e4', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: 'd03362b067baf916076e9992e63933b309e84e44', class: "top" }, h("button", { key: '893421c3ed8c0224031b2db5c2db1f1eb7f1791a', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
250
+ }, style: styles }, h(FocusGuard, { key: '4f32ae824a9963b9324a6a75aec30a1ec3b9da34', moveFocusTo: this.closeButton }), h("div", { key: 'b3a2d23360f0080c3345925ab2dd3ba71726102e', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: '346320e78d1b3b31cd27505873e27d9de14e7105', class: "top" }, h("button", { key: '70bd3ca676c250d31bf67ffc0cd4900c73d2e093', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
251
251
  "slideout-close": true,
252
252
  active: this.open,
253
- }, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { key: '354bcaf0344522712c12904991ade60e97924b88', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: 'a55711bc7b1ad408dc4720372cedc676a303fe84', class: "sticky-header" }, h("slot", { key: '15ef13899e66f98dd681b8105528d8f55fd2f2a2', name: "sticky-header" }))), h("div", { key: '698ce98219d2c6d387e92b96a71967bc632dee00', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
253
+ }, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { key: '1aa814b1f9015483a3b4bc7f473b5aede84f3cd0', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: 'f11c81c8efcdca2ddb6cdc987e2e1f220d467398', class: "sticky-header" }, h("slot", { key: 'e0bf8ba236ee29c1f1b497df27b337ab1f96628a', name: "sticky-header" }))), h("div", { key: 'dbf227d18aed0d6d3db65db6522ffda1b69d8dba', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
254
254
  items: true,
255
- } }, h("slot", { key: '75862e49d89cdd2e20ecaa574b1c76da95f3c1c6' })), h(FocusGuard, { key: 'e74750f4e595532c2fb7185a40f57efa7e032122', moveFocusTo: this.closeButton })))));
255
+ } }, h("slot", { key: 'facef4d207e8df7c34a8aeca8595d832fd6de5e6' })), h(FocusGuard, { key: '5733820870caa0acd80b157d88b03ae1797360b8', moveFocusTo: this.closeButton })))));
256
256
  }
257
257
  static get is() { return "duet-slideout"; }
258
258
  static get encapsulation() { return "shadow"; }
@@ -35,7 +35,7 @@ export class DuetSlideoutLang {
35
35
  */
36
36
  render() {
37
37
  const langTranslation = getLocaleString(this.chooseLangObject);
38
- return (h(Host, { key: 'a3f0902bcc3942cfdd9bd39d753bfcfeeebf8bd4' }, h("div", { key: 'e4b2d5245b065602e7b74bab03d2ad9a6390d5ab', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, h("duet-icon", { key: '10f383d1179787ca4dda410b10ac2785bcbbcc36', name: "navigation-language", margin: "none", color: "secondary" }), h("slot", { key: '3a3f899dd72eb996f48ac588474810a95fa6fc19' }))));
38
+ return (h(Host, { key: 'd163f56230650efc540cf21892239905271a775e' }, h("div", { key: '7b1d95d36da23db34a90055407a7f307ab0d4ffa', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, h("duet-icon", { key: '07ed0679705221e14ba5e20d0db83a5b3073a7cf', name: "navigation-language", margin: "none", color: "secondary" }), h("slot", { key: 'e847d0a2bf84e7099988d6bc9f6e59dfa0ba99d7' }))));
39
39
  }
40
40
  static get is() { return "duet-slideout-lang"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -26,12 +26,12 @@ export class DuetSlideoutLink {
26
26
  * Always the last one in the class.
27
27
  */
28
28
  render() {
29
- return (h(Host, { key: '756d30871c5f34ca3520a5bdecf5269c6a0b4afb' }, h("a", { key: '16dfc8d2bcae2379ab25ce353eda255e79d6ad6b', class: {
29
+ return (h(Host, { key: 'dbcb8bf6b8c65743fb716cbdda625cf4ea5162f8' }, h("a", { key: '542c9910bad183af64eff3b965ef1cec19b4ac7b', class: {
30
30
  "duet-slideout-link": true,
31
31
  "duet-theme-turva": this.theme === "turva",
32
32
  active: this.active,
33
33
  [this.size]: true,
34
- }, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '6551aa92fee9498b1fc2b4ebb18a89ff1c72e607', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), h("div", { key: 'f841f0d234ffca0d1dbaaae18e9de9f1de02de55', class: "label" }, h("span", { key: '452f28fecf67c0da43ea807dd572d1db83e10ae6' }, h("slot", { key: '896258d4f5fbcc5efa21d49cd867e0578302dbef' }), h("slot", { key: '6de4aa964201a5ffe68d7f894a499289db302527', name: "description" })), this.caret && (h("duet-icon", { key: '3b7c9337d8d76eb9bcc71fe7277e84599692bce4', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
34
+ }, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'c192e191c1323e742022c48651a75c16017b4837', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), h("div", { key: 'b0e214e358e524f13a884c78e1d78118b171e3ed', class: "label" }, h("span", { key: 'af8697663031dc729bc98cf7c15cd2d58a03f861' }, h("slot", { key: '84b1b365ac8fabcbf3c6451a8aa51caa18010aa9' }), h("slot", { key: '82b78e911b41cfd441fb9eab798093f6b726c993', name: "description" })), this.caret && (h("duet-icon", { key: 'ee835e2bd7427531239041e03b19ed4335b8ad74', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
35
35
  }
36
36
  static get is() { return "duet-slideout-link"; }
37
37
  static get encapsulation() { return "shadow"; }
@@ -159,23 +159,23 @@ export class DuetSlideoutPanel {
159
159
  };
160
160
  const exitTranslation = getLocaleString(this.exitLangObject);
161
161
  const backTranslation = getLocaleString(this.backLangObject);
162
- return (h(Host, { key: '10b414a1d813be3e7f5ef8070b2c1d984c25ac44' }, h("div", { key: '50ee38592ea290018fefaf87e3c8625579636ed9', class: {
162
+ return (h(Host, { key: '0318776fab9cea36b44efcbd8a066fc7a71aa59e' }, h("div", { key: '1d95822243d5c86ec5b5173e4e681b4146e4476f', class: {
163
163
  "duet-slideout-panel": true,
164
164
  "duet-theme-turva": this.theme === "turva",
165
165
  active: this.open,
166
- } }, h("button", { key: '4222c80ec11e0f6acb4eeaebf216968e42537c70', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
166
+ } }, h("button", { key: 'a45e36b09686a148c2ba62e9984627920710ecb7', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
167
167
  link: true,
168
168
  active: this.active,
169
- }, onClick: this.onClick, inert: this.open }, this.icon && (h("div", { key: 'ef87af453a36ae15d81ed98b882798092522610c', class: "duet-slideout-icon" }, h("duet-icon", { key: '540a8e1f36285104c675438d0a053ce5a8aeaa38', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && h("div", { key: 'a90b2189e9b0fe8325b12db27faa55955a5aaa0b', class: "duet-slideout-badge" }))), h("span", { key: '9f266762f46f74d6c627098e57315df106bf9dfe', class: "label" }, h("span", { key: '60a41c1094f9ba9b51cd6e29666af8f601b8a8d2', class: { "label-text": true, [this.labelSize]: true } }, h("slot", { key: '4160b184173ed8e9e3e93cee11cb8b797911c350', name: "label" })), h("duet-icon", { key: '1572389c79f37ff516d2462ec7dfc9e6e740c6c8', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), h("div", { key: 'fc738196e7f3d69ca2cc01db8fcbf5a7be3c39f1', ref: element => (this.dialog = element), class: {
169
+ }, onClick: this.onClick, inert: this.open }, this.icon && (h("div", { key: '6f2dee22c324bf4ead87048ebff2a20c47ca896a', class: "duet-slideout-icon" }, h("duet-icon", { key: '44e1cac15f61dab325132fcc3514c8e0354cc43a', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && h("div", { key: '024312ec408282554844e751ab4b49d05b96b548', class: "duet-slideout-badge" }))), h("span", { key: '283051aa5c3b14ee17ca9da70c094a57235e749e', class: "label" }, h("span", { key: '81b5642422add92e13dbf34d95a26c0588858de7', class: { "label-text": true, [this.labelSize]: true } }, h("slot", { key: 'd44a3600f9a66a1768a530317ee8e97d61d7d5a4', name: "label" })), h("duet-icon", { key: '4e27c46508e15f8a57b08025121d7a30386fd7e1', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), h("div", { key: '0e7fce1743db4fe772c3165ea76ddd2b5215e3c3', ref: element => (this.dialog = element), class: {
170
170
  dialog: true,
171
171
  hidden: !this.open,
172
- }, style: styles }, h(FocusGuard, { key: '00a3795728a3374280aaa5f2b6b97f67bac388c6', moveFocusTo: this.closeButton }), h("div", { key: '84e8cf7f05aedd1fd6df3f08cd06b66abbd1ef17', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: 'a462d45d835fe35e6ce1e64e9527aeae033c192f', class: "top" }, h("button", { key: '5b4eb5d8985437d6701987273dbe10d55185c0cf', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
172
+ }, style: styles }, h(FocusGuard, { key: '40a3ed99c1bf1bceb7378326804d3f5e76a2caf0', moveFocusTo: this.closeButton }), h("div", { key: '513ce8191e12b73aa0ec22360499905c9a120aca', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: 'f6d518848785f147415050e356dcfe42e00e64af', class: "top" }, h("button", { key: '6c6d3320016eeabed6b06b5d997bf0fe871b7d5b', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
173
173
  back: true,
174
- }, onClick: this.onClick }, h("duet-icon", { key: 'b17a49853ca91e459db693d0c1dcbe861f9ee663', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), h("span", { key: '033f64eb9236b0a1cc28214b0393f3c7e62d62f2' }, this.label.innerHTML), h("button", { key: '005c6e62887ae4effd15bc19266a4b72d45f11bc', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, h("duet-icon", { key: '0934dfbccb73be3827e684b1414f2a76c080b0fb', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '984c15369f3cd4a09dfd02efe5aa65effb2f453c', class: "sticky-header" }, h("slot", { key: '28aea810fee655e0039f9412a5a0e979d4e0991e', name: "sticky-header" }))), h("div", { key: 'd0fed891a8cd1320d5edd35d4461d1df9f1bec7d', tabindex: "-1", role: "menu",
174
+ }, onClick: this.onClick }, h("duet-icon", { key: 'e68686b85946c9e54babfb2aa7012e37048b6a23', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), h("span", { key: 'b2082182002d6fc1687fdbe1a75c30a62061a083' }, this.label.innerHTML), h("button", { key: 'b6cfea3156d9398f6ff290c6abbdbdff55a16edd', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, h("duet-icon", { key: '4f973e329f5254a4d6fbb230bb2e1c815d07fab5', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: 'b2f3ca3d5bd5e4881cfbe6acd61b8ff209408f35', class: "sticky-header" }, h("slot", { key: '9a1594cd89ffce28613a575b53219736fcf02bae', name: "sticky-header" }))), h("div", { key: '74a5a1eefa940a78f4904f118fbb22da52177d83', tabindex: "-1", role: "menu",
175
175
  //TODO: slideout menu fades out, needs to be instant
176
176
  id: "menu", "aria-labelledby": "button", class: {
177
177
  items: true,
178
- } }, h("slot", { key: '859c0b8b029620561483192901482f2d7ac69fd8' })), h(FocusGuard, { key: '5676e24c74f3223c83eaa6cf67d05cc93c8ea339', moveFocusTo: this.closeButton })))));
178
+ } }, h("slot", { key: '59168289af3be6afbf35af828da4800c1209809c' })), h(FocusGuard, { key: '688c55a2b0881c10204aa353123bc524c88a23b9', moveFocusTo: this.closeButton })))));
179
179
  }
180
180
  static get is() { return "duet-slideout-panel"; }
181
181
  static get encapsulation() { return "shadow"; }
@@ -40,16 +40,16 @@ export class DuetSlideoutPanelDropdown {
40
40
  * Always the last one in the class.
41
41
  */
42
42
  render() {
43
- return (h(Host, { key: '79b5b5d923940bc3b0ab0515ccab7d498b327d5e' }, h("div", { key: 'b66ac749e1950d6c70c1c465479604cd91c03cfd', class: {
43
+ return (h(Host, { key: 'f7a1b3521e799c7792945551a66c1c295dd5ffdc' }, h("div", { key: 'd63da6a1f3650e633c97795042a7b34b8ad48302', class: {
44
44
  "duet-slideout-panel-dropdown": true,
45
45
  "duet-theme-turva": this.theme === "turva",
46
46
  active: this.open,
47
- } }, h("button", { key: '7155b74267a0786267237b0170e30a4c20d8d180', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
47
+ } }, h("button", { key: 'ed40e8b4d2a431e4f578ea26583a70b8977d951c', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
48
48
  active: this.active,
49
- }, onClick: this.onClick }, this.icon && h("duet-icon", { key: '014c5790e8eb52f02d10ecf398271b233b88f7b0', name: this.icon, size: "medium", margin: "none", color: "secondary" }), h("span", { key: 'be3875ea25d4f094220b3599aa15bf7e014e81bd', class: "label" }, h("slot", { key: '36b0112f4b2aa6ed192c19da3397beca24b8b29c', name: "label" }), h("duet-icon", { key: '2d4c1df9d41e97d1c7bb031252d31baa865a587c', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), h("div", { key: 'a9729a27afa76ccee3c7d3b14e7d48dab1dcb7a3', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
49
+ }, onClick: this.onClick }, this.icon && h("duet-icon", { key: '44a4510103738db121e37e1d18f3a5f2484e7683', name: this.icon, size: "medium", margin: "none", color: "secondary" }), h("span", { key: 'b2ce145800f498a7382885190458bb49205b7ada', class: "label" }, h("slot", { key: '6ce00dfcd2d2ef3ac62143b9150b80f1ecc9a69d', name: "label" }), h("duet-icon", { key: 'e6890351789e07002b0b9fc85d79baf6862bd239', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), h("div", { key: '81a201018140f6519e9ed18baec3855790ef4cb4', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
50
50
  items: true,
51
51
  hidden: !this.open,
52
- } }, h("slot", { key: '63761e3a8bbea310fbc531dd63eae808be5cf3e4' })))));
52
+ } }, h("slot", { key: '473c54c7f46f6cb77f5656ff8c7d60106836aa73' })))));
53
53
  }
54
54
  static get is() { return "duet-slideout-panel-dropdown"; }
55
55
  static get encapsulation() { return "shadow"; }
@@ -13,7 +13,7 @@ export class DuetSpacer {
13
13
  * Always the last one in the class.
14
14
  */
15
15
  render() {
16
- return (h(Host, { key: '2c46d1a310dd476d040392ebcda6643f1981d624', class: {
16
+ return (h(Host, { key: '9983782e43b5323f7af87b3b18656794fa851208', class: {
17
17
  "duet-spacer": true,
18
18
  "duet-spacer-xx-small": this.breakpoint === "xx-small",
19
19
  "duet-spacer-x-small": this.breakpoint === "x-small",
@@ -23,11 +23,11 @@ export class DuetSpinner {
23
23
  */
24
24
  render() {
25
25
  const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
26
- return (h(Host, { key: '16af92c8d2b1991913980843b6d2a8dcb8646d67', class: {
26
+ return (h(Host, { key: 'dee78f5cd0044c327f345f8fc6f36a79eb92552e', class: {
27
27
  "duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
28
28
  "duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
29
29
  "duet-theme-default": this.theme === "default" && this.color !== "currentColor",
30
- } }, h("div", { key: 'e381215186c28e547272b8692f541cea84e0679f', class: {
30
+ } }, h("div", { key: 'e896d825e335fa91c0b583b17fce6b5012fee1ca', class: {
31
31
  "duet-spinner": true,
32
32
  [this.size]: true,
33
33
  }, style: { color }, "aria-label": this.accessibleLabel })));