@duetds/components 9.14.0 → 9.16.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 (796) hide show
  1. package/hydrate/index.js +407 -287
  2. package/lib/cjs/{a11y-utils-a934645c.js → a11y-utils-5a9c531a.js} +1 -1
  3. package/lib/cjs/{app-globals-6b9852f3.js → app-globals-1cf9bebc.js} +1 -1
  4. package/lib/cjs/{common-strings-a54bbf77.js → common-strings-92c2f034.js} +23 -0
  5. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-alert.cjs.entry.js +20 -32
  7. package/lib/cjs/duet-badge.cjs.entry.js +16 -4
  8. package/lib/cjs/duet-banner.cjs.entry.js +19 -8
  9. package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
  10. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
  11. package/lib/cjs/duet-button_2.cjs.entry.js +6 -6
  12. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  13. package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
  14. package/lib/cjs/duet-card.cjs.entry.js +9 -8
  15. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-chip.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +29 -22
  19. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  22. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  23. package/lib/cjs/duet-date-picker.cjs.entry.js +18 -8
  24. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  25. package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
  26. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  28. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-footer.cjs.entry.js +5 -5
  30. package/lib/cjs/duet-grid_2.cjs.entry.js +7 -6
  31. package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
  32. package/lib/cjs/duet-hero.cjs.entry.js +6 -6
  33. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  34. package/lib/cjs/duet-indicator.cjs.entry.js +53 -0
  35. package/lib/cjs/duet-input_2.cjs.entry.js +4 -4
  36. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  37. package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
  38. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  39. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  41. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +8 -8
  42. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
  44. package/lib/cjs/duet-modal.cjs.entry.js +13 -13
  45. package/lib/cjs/duet-multiselect.cjs.entry.js +9 -9
  46. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  48. package/lib/cjs/duet-number-input.cjs.entry.js +4 -4
  49. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
  51. package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
  52. package/lib/cjs/duet-panel.cjs.entry.js +4 -4
  53. package/lib/cjs/duet-phone-input.cjs.entry.js +24 -7
  54. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
  55. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
  57. package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
  58. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  59. package/lib/cjs/duet-scrollable_3.cjs.entry.js +30 -23
  60. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-select.cjs.entry.js +4 -4
  62. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-share-chart.cjs.entry.js +8 -6
  65. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  66. package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-slideout-link.cjs.entry.js +9 -9
  68. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
  69. package/lib/cjs/duet-slideout-panel.cjs.entry.js +14 -19
  70. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  71. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-step_2.cjs.entry.js +5 -5
  73. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  74. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
  75. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +7 -7
  76. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
  78. package/lib/cjs/duet-textarea.cjs.entry.js +4 -4
  79. package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
  80. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  81. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  82. package/lib/cjs/duet-toolbar-item.cjs.entry.js +10 -10
  83. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  84. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
  86. package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
  87. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  88. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  89. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  90. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  91. package/lib/cjs/duet.cjs.js +3 -3
  92. package/lib/cjs/{errorcodes.utils-9ce7ca99.js → errorcodes.utils-cd519cbd.js} +1 -1
  93. package/lib/cjs/{focus-utils-fa11f04b.js → focus-utils-241733db.js} +1 -1
  94. package/lib/cjs/{index-3d15fb5e.js → index-f3dac623.js} +5 -1
  95. package/lib/cjs/{language-utils-eaec2648.js → language-utils-cf6db76f.js} +1 -1
  96. package/lib/cjs/loader.cjs.js +3 -3
  97. package/lib/cjs/{slot-utils-61317778.js → slot-utils-872ee5f7.js} +1 -1
  98. package/lib/cjs/{themeable-component-46222401.js → themeable-component-002fbe60.js} +1 -1
  99. package/lib/collection/collection-manifest.json +1 -0
  100. package/lib/collection/common-strings.js +22 -0
  101. package/lib/collection/components/duet-alert/duet-alert.js +17 -29
  102. package/lib/collection/components/duet-badge/duet-badge.js +13 -2
  103. package/lib/collection/components/duet-banner/duet-banner.css +27 -0
  104. package/lib/collection/components/duet-banner/duet-banner.js +15 -4
  105. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  106. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  107. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  108. package/lib/collection/components/duet-card/duet-card.css +12 -3
  109. package/lib/collection/components/duet-card/duet-card.js +31 -4
  110. package/lib/collection/components/duet-chip/duet-chip.css +6 -6
  111. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  112. package/lib/collection/components/duet-choice/duet-choice.css +4 -4
  113. package/lib/collection/components/duet-choice/duet-choice.js +0 -21
  114. package/lib/collection/components/duet-choice-group/duet-choice-group.js +23 -14
  115. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  116. package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
  117. package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
  118. package/lib/collection/components/duet-date-picker/duet-date-picker.css +2 -2
  119. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  120. package/lib/collection/components/duet-grid/duet-grid.js +5 -4
  121. package/lib/collection/components/duet-heading/duet-heading.css +1 -0
  122. package/lib/collection/components/duet-hero/duet-hero.css +282 -0
  123. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  124. package/lib/collection/components/duet-indicator/duet-indicator.css +46 -0
  125. package/lib/collection/components/duet-indicator/duet-indicator.js +101 -0
  126. package/lib/collection/components/duet-input/duet-input.js +2 -2
  127. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  128. package/lib/collection/components/duet-link/duet-link.js +2 -2
  129. package/lib/collection/components/duet-list/duet-list.js +1 -1
  130. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  131. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  132. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  133. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  134. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  135. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  136. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  137. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  138. package/lib/collection/components/duet-modal/duet-modal.js +7 -7
  139. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  140. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  141. package/lib/collection/components/duet-notification/duet-notification.css +4 -15
  142. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  143. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +0 -15
  144. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  145. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  146. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  147. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  148. package/lib/collection/components/duet-panel/duet-panel.js +2 -2
  149. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  150. package/lib/collection/components/duet-phone-input/duet-phone-input.js +58 -3
  151. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  152. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  153. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  154. package/lib/collection/components/duet-scrollable/duet-scrollable.js +6 -6
  155. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  156. package/lib/collection/components/duet-select/duet-select.js +1 -1
  157. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  158. package/lib/collection/components/duet-share-chart/duet-share-chart.js +4 -2
  159. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  160. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  161. package/lib/collection/components/duet-slideout/duet-slideout.css +26 -19
  162. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  163. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +2 -2
  164. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  165. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +3 -3
  166. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  167. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +16 -22
  168. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +9 -14
  169. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +2 -2
  170. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  171. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  172. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  173. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  174. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  175. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  176. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  177. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  178. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  179. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  180. package/lib/collection/components/duet-tab/duet-tab.js +54 -2
  181. package/lib/collection/components/duet-tab-group/duet-tab-group.css +6 -61
  182. package/lib/collection/components/duet-tab-group/duet-tab-group.js +15 -13
  183. package/lib/collection/components/duet-table/duet-table.js +2 -2
  184. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  185. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  186. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  187. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +9 -14
  188. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  189. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  190. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  191. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  192. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  193. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  194. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  195. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  196. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  197. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  198. package/lib/dist-custom-elements/duet-alert.js +1 -1
  199. package/lib/dist-custom-elements/duet-badge.js +1 -1
  200. package/lib/dist-custom-elements/duet-banner.js +19 -8
  201. package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
  202. package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
  203. package/lib/dist-custom-elements/duet-button.js +1 -1
  204. package/lib/dist-custom-elements/duet-callout.js +4 -4
  205. package/lib/dist-custom-elements/duet-caption.js +1 -1
  206. package/lib/dist-custom-elements/duet-card.js +10 -8
  207. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  208. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  209. package/lib/dist-custom-elements/duet-chip.js +1 -1
  210. package/lib/dist-custom-elements/duet-choice-group.js +31 -22
  211. package/lib/dist-custom-elements/duet-choice.js +6 -8
  212. package/lib/dist-custom-elements/duet-collapsible.js +3 -3
  213. package/lib/dist-custom-elements/duet-combobox.js +15 -15
  214. package/lib/dist-custom-elements/duet-contact-card.js +10 -10
  215. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  216. package/lib/dist-custom-elements/duet-date-picker.js +26 -16
  217. package/lib/dist-custom-elements/duet-divider.js +1 -1
  218. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  219. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  220. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  221. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  222. package/lib/dist-custom-elements/duet-footer.js +8 -8
  223. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  224. package/lib/dist-custom-elements/duet-grid.js +1 -1
  225. package/lib/dist-custom-elements/duet-header.js +9 -9
  226. package/lib/dist-custom-elements/duet-heading.js +1 -1
  227. package/lib/dist-custom-elements/duet-hero.js +11 -11
  228. package/lib/dist-custom-elements/duet-icon.js +1 -1
  229. package/lib/dist-custom-elements/duet-indicator.d.ts +11 -0
  230. package/lib/dist-custom-elements/duet-indicator.js +9 -0
  231. package/lib/dist-custom-elements/duet-input.js +1 -1
  232. package/lib/dist-custom-elements/duet-label.js +1 -1
  233. package/lib/dist-custom-elements/duet-layout.js +6 -6
  234. package/lib/dist-custom-elements/duet-link.js +1 -1
  235. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  236. package/lib/dist-custom-elements/duet-list.js +1 -1
  237. package/lib/dist-custom-elements/duet-logo.js +1 -1
  238. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  239. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
  240. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
  241. package/lib/dist-custom-elements/duet-menu-bar-item.js +5 -5
  242. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  243. package/lib/dist-custom-elements/duet-menu-bar.js +5 -5
  244. package/lib/dist-custom-elements/duet-modal.js +16 -16
  245. package/lib/dist-custom-elements/duet-multiselect.js +14 -14
  246. package/lib/dist-custom-elements/duet-nav.js +2 -2
  247. package/lib/dist-custom-elements/duet-notification-drawer.js +22 -10
  248. package/lib/dist-custom-elements/duet-notification.js +12 -6
  249. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  250. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  251. package/lib/dist-custom-elements/duet-page-heading.js +5 -5
  252. package/lib/dist-custom-elements/duet-pagination.js +24 -24
  253. package/lib/dist-custom-elements/duet-panel.js +3 -3
  254. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  255. package/lib/dist-custom-elements/duet-phone-input.js +38 -19
  256. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  257. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  258. package/lib/dist-custom-elements/duet-progress.js +1 -1
  259. package/lib/dist-custom-elements/duet-promo-card.js +5 -5
  260. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  261. package/lib/dist-custom-elements/duet-radio.js +1 -1
  262. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  263. package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
  264. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  265. package/lib/dist-custom-elements/duet-section-layout.js +4 -4
  266. package/lib/dist-custom-elements/duet-select.js +1 -1
  267. package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
  268. package/lib/dist-custom-elements/duet-share-chart-item.js +2 -2
  269. package/lib/dist-custom-elements/duet-share-chart.js +6 -4
  270. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  271. package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
  272. package/lib/dist-custom-elements/duet-slideout-link.js +6 -6
  273. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +7 -7
  274. package/lib/dist-custom-elements/duet-slideout-panel.js +24 -17
  275. package/lib/dist-custom-elements/duet-slideout.js +8 -8
  276. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  277. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  278. package/lib/dist-custom-elements/duet-status-icon.js +1 -1
  279. package/lib/dist-custom-elements/duet-step.js +4 -4
  280. package/lib/dist-custom-elements/duet-stepper.js +4 -4
  281. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
  282. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
  283. package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
  284. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  285. package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
  286. package/lib/dist-custom-elements/duet-tab-group.js +32 -24
  287. package/lib/dist-custom-elements/duet-tab.js +8 -1
  288. package/lib/dist-custom-elements/duet-table.js +1 -1
  289. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  290. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  291. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  292. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
  293. package/lib/dist-custom-elements/duet-toolbar-item.js +20 -8
  294. package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
  295. package/lib/dist-custom-elements/duet-toolbar.js +3 -3
  296. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  297. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  298. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  299. package/lib/dist-custom-elements/duet-tray.js +5 -5
  300. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  301. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  302. package/lib/dist-custom-elements/duet-upload.js +22 -22
  303. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  304. package/lib/dist-custom-elements/index.js +1 -1
  305. package/lib/dist-custom-elements/{p-10893657.js → p-03c9ec22.js} +1 -1
  306. package/lib/dist-custom-elements/{p-0e0a0525.js → p-1172497f.js} +21 -4
  307. package/lib/dist-custom-elements/{p-f3b2867a.js → p-139e1daa.js} +3 -3
  308. package/lib/dist-custom-elements/{p-a4513f7a.js → p-1c66f5a0.js} +2 -2
  309. package/lib/dist-custom-elements/{p-b3835995.js → p-21d23d6c.js} +3 -3
  310. package/lib/dist-custom-elements/{p-96cabce8.js → p-21f19284.js} +23 -35
  311. package/lib/dist-custom-elements/{p-db2b09ab.js → p-24404a59.js} +2 -2
  312. package/lib/dist-custom-elements/{p-706a9a13.js → p-271a8315.js} +2 -2
  313. package/lib/dist-custom-elements/{p-65300e85.js → p-292fa964.js} +5 -5
  314. package/lib/dist-custom-elements/{p-9f715fa9.js → p-3663183a.js} +3 -3
  315. package/lib/dist-custom-elements/{p-d04e213c.js → p-38dd3c2b.js} +12 -12
  316. package/lib/dist-custom-elements/{p-85f0068e.js → p-3972dc75.js} +5 -5
  317. package/lib/dist-custom-elements/{p-3471fa90.js → p-41ce0759.js} +1 -1
  318. package/lib/dist-custom-elements/{p-92710b68.js → p-42a5e1de.js} +6 -5
  319. package/lib/dist-custom-elements/{p-9ac441e6.js → p-4f923779.js} +3 -3
  320. package/lib/dist-custom-elements/{p-d0bc3da2.js → p-52a4d93a.js} +2 -2
  321. package/lib/dist-custom-elements/{p-fddb3ec1.js → p-60ffc3cf.js} +1 -1
  322. package/lib/dist-custom-elements/{p-ee948dc8.js → p-6402ad5d.js} +4 -4
  323. package/lib/dist-custom-elements/{p-0a34fa11.js → p-6bcaf414.js} +1 -1
  324. package/lib/dist-custom-elements/{p-05fb2c81.js → p-6c16fc37.js} +4 -4
  325. package/lib/dist-custom-elements/{p-81360956.js → p-7a60242d.js} +2 -2
  326. package/lib/dist-custom-elements/{p-e9c8ad74.js → p-7d6b4a88.js} +2 -2
  327. package/lib/dist-custom-elements/{p-a69bc735.js → p-7e7dcf59.js} +1 -1
  328. package/lib/dist-custom-elements/{p-25f8ea4b.js → p-81d2c117.js} +3 -3
  329. package/lib/dist-custom-elements/p-8653283d.js +72 -0
  330. package/lib/dist-custom-elements/{p-f38adca4.js → p-867790e2.js} +7 -7
  331. package/lib/dist-custom-elements/{p-61b4aec9.js → p-886f39eb.js} +12 -12
  332. package/lib/dist-custom-elements/{p-d5c72ea3.js → p-8959f96f.js} +4 -4
  333. package/lib/dist-custom-elements/{p-5e16131c.js → p-9aa4a7b3.js} +2 -2
  334. package/lib/dist-custom-elements/{p-3419cd58.js → p-a019caf4.js} +9 -9
  335. package/lib/dist-custom-elements/{p-444e732a.js → p-a1827b91.js} +5 -5
  336. package/lib/dist-custom-elements/{p-c7f33aed.js → p-ab6148ae.js} +3 -3
  337. package/lib/dist-custom-elements/{p-3a815628.js → p-b74c6798.js} +11 -11
  338. package/lib/{esm/common-strings-a48b3fba.js → dist-custom-elements/p-b7a93f1c.js} +23 -1
  339. package/lib/dist-custom-elements/{p-dc970fdb.js → p-bb3c4ead.js} +1 -1
  340. package/lib/dist-custom-elements/{p-3883f329.js → p-bb928027.js} +5 -5
  341. package/lib/dist-custom-elements/{p-778364d6.js → p-c0f48cc4.js} +3 -3
  342. package/lib/dist-custom-elements/{p-f479ee47.js → p-d1f886eb.js} +5 -5
  343. package/lib/dist-custom-elements/{p-e77ffc34.js → p-d40a8125.js} +3 -3
  344. package/lib/dist-custom-elements/{p-f290964d.js → p-dc0c957e.js} +5 -5
  345. package/lib/dist-custom-elements/{p-36f6ec52.js → p-f5c2e1f7.js} +2 -2
  346. package/lib/dist-custom-elements/{p-cc1b78ce.js → p-f75df296.js} +10 -10
  347. package/lib/duet/duet.esm.js +1 -1
  348. package/lib/duet/duet.js +1 -1
  349. package/lib/duet/p-00c65f9d.entry.js +4 -0
  350. package/lib/duet/{p-6a718c27.system.entry.js → p-05e0ef86.system.entry.js} +1 -1
  351. package/lib/duet/{p-854605a6.js → p-07eaae93.js} +1 -1
  352. package/lib/duet/p-09f85d39.entry.js +4 -0
  353. package/lib/duet/{p-2e7454bd.system.entry.js → p-0ab42908.system.entry.js} +1 -1
  354. package/lib/duet/{p-c70b52b6.entry.js → p-0b1f9ab1.entry.js} +1 -1
  355. package/lib/duet/{p-86929bf6.entry.js → p-0db191ad.entry.js} +1 -1
  356. package/lib/duet/{p-22349ab1.system.entry.js → p-0e1edb8d.system.entry.js} +1 -1
  357. package/lib/duet/{p-713918d1.system.entry.js → p-0e414d45.system.entry.js} +1 -1
  358. package/lib/duet/{p-58d8549a.system.entry.js → p-0e638ebd.system.entry.js} +2 -2
  359. package/lib/duet/{p-c0020521.entry.js → p-0ee0acc5.entry.js} +1 -1
  360. package/lib/duet/p-0faea567.js +4 -0
  361. package/lib/duet/{p-b728fce7.system.entry.js → p-103e565a.system.entry.js} +1 -1
  362. package/lib/duet/{p-063b31ef.entry.js → p-1099e3c1.entry.js} +1 -1
  363. package/lib/duet/p-11158849.entry.js +4 -0
  364. package/lib/duet/{p-593df331.entry.js → p-12398ce3.entry.js} +1 -1
  365. package/lib/duet/p-143df6ab.entry.js +4 -0
  366. package/lib/duet/{p-78024429.system.entry.js → p-144aab10.system.entry.js} +1 -1
  367. package/lib/duet/p-151e589f.entry.js +4 -0
  368. package/lib/duet/{p-fae74a37.system.entry.js → p-15745be0.system.entry.js} +1 -1
  369. package/lib/duet/{p-11262ef8.system.entry.js → p-17375bc6.system.entry.js} +1 -1
  370. package/lib/duet/p-181b00e5.system.entry.js +4 -0
  371. package/lib/duet/p-185be698.system.entry.js +4 -0
  372. package/lib/duet/{p-baaa9e94.entry.js → p-1c21d6bb.entry.js} +1 -1
  373. package/lib/duet/{p-8a9fb89c.system.entry.js → p-1db742d9.system.entry.js} +1 -1
  374. package/lib/duet/{p-52d80d96.js → p-1dcaf506.js} +1 -1
  375. package/lib/duet/{p-83c0cfed.entry.js → p-1e543545.entry.js} +1 -1
  376. package/lib/duet/p-1ea05c4e.entry.js +4 -0
  377. package/lib/duet/p-1ea2eed2.entry.js +4 -0
  378. package/lib/duet/p-1eac8308.entry.js +4 -0
  379. package/lib/duet/{p-9ae77fe6.system.entry.js → p-202295c7.system.entry.js} +2 -2
  380. package/lib/duet/p-20ad3525.entry.js +4 -0
  381. package/lib/duet/{p-07dd4405.system.entry.js → p-21352a03.system.entry.js} +1 -1
  382. package/lib/duet/p-24954951.js +4 -0
  383. package/lib/duet/p-249ece01.system.entry.js +4 -0
  384. package/lib/duet/{p-fe9adf7c.system.entry.js → p-28439eeb.system.entry.js} +1 -1
  385. package/lib/duet/{p-aaa700a4.entry.js → p-29287b24.entry.js} +1 -1
  386. package/lib/duet/p-296d890c.entry.js +4 -0
  387. package/lib/duet/{p-89d45610.entry.js → p-297be33a.entry.js} +1 -1
  388. package/lib/duet/{p-48fb5298.entry.js → p-29a57223.entry.js} +1 -1
  389. package/lib/duet/{p-23d5c3fe.system.entry.js → p-2a01ec55.system.entry.js} +1 -1
  390. package/lib/duet/p-2a327afb.system.js +4 -0
  391. package/lib/duet/{p-99ffd1cf.system.js → p-2ca74bdf.system.js} +1 -1
  392. package/lib/duet/{p-6d5e6c51.system.entry.js → p-314579ab.system.entry.js} +1 -1
  393. package/lib/duet/p-31740db1.system.entry.js +4 -0
  394. package/lib/duet/{p-49b6f9a1.entry.js → p-32d67711.entry.js} +1 -1
  395. package/lib/duet/p-335f3ad7.system.entry.js +4 -0
  396. package/lib/duet/{p-0bc88aac.system.entry.js → p-34b4e0d4.system.entry.js} +1 -1
  397. package/lib/duet/{p-4215bd92.system.entry.js → p-38838777.system.entry.js} +1 -1
  398. package/lib/duet/{p-786418b7.system.entry.js → p-39c9a066.system.entry.js} +1 -1
  399. package/lib/duet/{p-6b99bf3d.system.js → p-3ad777ed.system.js} +1 -1
  400. package/lib/duet/p-3b48325f.entry.js +4 -0
  401. package/lib/duet/{p-fbc59efc.js → p-3f59cd08.js} +1 -1
  402. package/lib/duet/{p-9dc97ec5.entry.js → p-449238fa.entry.js} +1 -1
  403. package/lib/duet/p-489f6566.entry.js +4 -0
  404. package/lib/duet/{p-44b3eb2c.entry.js → p-49e49df2.entry.js} +1 -1
  405. package/lib/duet/p-51680ed4.system.js +4 -0
  406. package/lib/duet/p-53601652.entry.js +4 -0
  407. package/lib/duet/{p-e70fad83.entry.js → p-53f7c29f.entry.js} +1 -1
  408. package/lib/duet/{p-344834d8.system.entry.js → p-5610daf3.system.entry.js} +1 -1
  409. package/lib/duet/{p-4e21f876.system.entry.js → p-578c23a4.system.entry.js} +1 -1
  410. package/lib/duet/{p-c60c40a2.entry.js → p-58f230b9.entry.js} +1 -1
  411. package/lib/duet/p-5a5d2bd5.system.entry.js +4 -0
  412. package/lib/duet/{p-903d05d9.system.entry.js → p-5c636299.system.entry.js} +1 -1
  413. package/lib/duet/{p-56bada0c.system.entry.js → p-5df26556.system.entry.js} +1 -1
  414. package/lib/duet/{p-2455cbff.system.entry.js → p-5f1e33f1.system.entry.js} +1 -1
  415. package/lib/duet/{p-2e58b3ab.system.entry.js → p-617a3a36.system.entry.js} +1 -1
  416. package/lib/duet/{p-cb279bed.system.entry.js → p-66fbd83d.system.entry.js} +1 -1
  417. package/lib/duet/{p-f3587718.system.entry.js → p-6796f3c3.system.entry.js} +1 -1
  418. package/lib/duet/{p-ebb0b51d.system.entry.js → p-67ce5fe7.system.entry.js} +2 -2
  419. package/lib/duet/{p-72b4c06f.js → p-682a0ad1.js} +1 -1
  420. package/lib/duet/{p-378546de.js → p-688647ad.js} +1 -1
  421. package/lib/duet/{p-d8fadd2d.entry.js → p-68e43f24.entry.js} +1 -1
  422. package/lib/duet/{p-10310520.entry.js → p-69186487.entry.js} +1 -1
  423. package/lib/duet/{p-5b583276.entry.js → p-6d52ee47.entry.js} +1 -1
  424. package/lib/duet/{p-eb7b2984.system.entry.js → p-6e9997df.system.entry.js} +1 -1
  425. package/lib/duet/{p-f1beb947.system.entry.js → p-700d96c2.system.entry.js} +1 -1
  426. package/lib/duet/{p-f9b9fbf5.entry.js → p-709df441.entry.js} +1 -1
  427. package/lib/duet/p-73db1b4e.entry.js +4 -0
  428. package/lib/duet/{p-352b3557.system.entry.js → p-757f068a.system.entry.js} +1 -1
  429. package/lib/duet/p-7582d712.system.entry.js +4 -0
  430. package/lib/duet/{p-147f5eb5.entry.js → p-75e98d7d.entry.js} +1 -1
  431. package/lib/duet/{p-322c0015.system.entry.js → p-7677fb67.system.entry.js} +1 -1
  432. package/lib/duet/p-770aa3e8.entry.js +4 -0
  433. package/lib/duet/p-777d0fdd.system.entry.js +4 -0
  434. package/lib/duet/{p-e6f40951.system.entry.js → p-79565bed.system.entry.js} +1 -1
  435. package/lib/duet/{p-6cf2b2b8.entry.js → p-7c726fa5.entry.js} +1 -1
  436. package/lib/duet/{p-8637a449.js → p-7da818b1.js} +1 -1
  437. package/lib/duet/p-817e80e5.entry.js +4 -0
  438. package/lib/duet/p-839650fa.system.entry.js +4 -0
  439. package/lib/duet/{p-20170d5a.entry.js → p-84c3c6a9.entry.js} +1 -1
  440. package/lib/duet/{p-75542e0e.entry.js → p-85b614eb.entry.js} +1 -1
  441. package/lib/duet/{p-6a900d10.entry.js → p-85ed8d2a.entry.js} +1 -1
  442. package/lib/duet/p-87633fff.system.js +4 -0
  443. package/lib/duet/{p-ff97f8e4.system.entry.js → p-8808de6e.system.entry.js} +1 -1
  444. package/lib/duet/{p-7a022fb4.system.entry.js → p-88433a46.system.entry.js} +1 -1
  445. package/lib/duet/{p-17f215e8.entry.js → p-891b2193.entry.js} +1 -1
  446. package/lib/duet/p-8d82f49d.entry.js +4 -0
  447. package/lib/duet/{p-d6a2cc77.system.entry.js → p-8dad8fce.system.entry.js} +1 -1
  448. package/lib/duet/{p-c371758a.system.entry.js → p-8f0bdfa8.system.entry.js} +1 -1
  449. package/lib/duet/{p-561dd467.system.entry.js → p-90f215e3.system.entry.js} +1 -1
  450. package/lib/duet/{p-5c271084.system.entry.js → p-928c05ef.system.entry.js} +1 -1
  451. package/lib/duet/{p-d06d2098.system.entry.js → p-931c3e0e.system.entry.js} +1 -1
  452. package/lib/duet/{p-52746f84.entry.js → p-96d506b1.entry.js} +1 -1
  453. package/lib/duet/{p-2a96f88a.system.entry.js → p-9aa64cd1.system.entry.js} +2 -2
  454. package/lib/duet/{p-4c44b9d0.system.entry.js → p-9bb58dc0.system.entry.js} +1 -1
  455. package/lib/duet/{p-961dc1b6.entry.js → p-9c0eb1e6.entry.js} +1 -1
  456. package/lib/duet/{p-0e013c22.system.entry.js → p-9cbabc0b.system.entry.js} +1 -1
  457. package/lib/duet/p-9cf1f9b9.entry.js +4 -0
  458. package/lib/duet/{p-7ce8fc32.system.entry.js → p-9dc73fc9.system.entry.js} +1 -1
  459. package/lib/duet/{p-2c15a77e.entry.js → p-9ddf4f25.entry.js} +1 -1
  460. package/lib/duet/p-9e2eef25.entry.js +4 -0
  461. package/lib/duet/p-9ecf394a.system.js +4 -0
  462. package/lib/duet/{p-013232a8.system.entry.js → p-9f6eba5f.system.entry.js} +1 -1
  463. package/lib/duet/p-a0512a05.system.entry.js +4 -0
  464. package/lib/duet/p-a07cef22.entry.js +4 -0
  465. package/lib/duet/{p-ac643c4d.entry.js → p-a1166aa4.entry.js} +1 -1
  466. package/lib/duet/{p-7fd0a219.system.js → p-a142a88f.system.js} +1 -1
  467. package/lib/duet/{p-a2f05f0b.system.entry.js → p-a15d9a7f.system.entry.js} +1 -1
  468. package/lib/duet/p-a195d9c1.entry.js +4 -0
  469. package/lib/duet/p-a1b74038.entry.js +4 -0
  470. package/lib/duet/{p-f7b6fecb.entry.js → p-a2a4a889.entry.js} +1 -1
  471. package/lib/duet/{p-f947b5c5.system.entry.js → p-a388ed17.system.entry.js} +1 -1
  472. package/lib/duet/{p-ed810e76.system.js → p-a3ea8aa0.system.js} +1 -1
  473. package/lib/duet/{p-d3e245f0.system.entry.js → p-a47b5cf0.system.entry.js} +2 -2
  474. package/lib/duet/p-a652025e.system.entry.js +4 -0
  475. package/lib/duet/{p-d6368121.system.entry.js → p-a90271b5.system.entry.js} +1 -1
  476. package/lib/duet/{p-7be7fb2c.entry.js → p-ab8f38c1.entry.js} +1 -1
  477. package/lib/duet/{p-119d8a9d.entry.js → p-abbe0bdb.entry.js} +1 -1
  478. package/lib/duet/{p-670f33d1.system.js → p-adc02ebb.system.js} +1 -1
  479. package/lib/duet/p-adef3dfe.entry.js +4 -0
  480. package/lib/duet/{p-76c797cb.system.entry.js → p-b07a5883.system.entry.js} +1 -1
  481. package/lib/duet/{p-edb65a28.entry.js → p-b137766b.entry.js} +1 -1
  482. package/lib/duet/{p-cd27da84.entry.js → p-b31576e2.entry.js} +1 -1
  483. package/lib/duet/{p-98af4e91.entry.js → p-b3e8a986.entry.js} +1 -1
  484. package/lib/duet/{p-6a4e23b5.entry.js → p-b4f2405c.entry.js} +1 -1
  485. package/lib/duet/{p-af4c5e2b.entry.js → p-b50db31a.entry.js} +1 -1
  486. package/lib/duet/{p-11e013dd.entry.js → p-b5defe7d.entry.js} +1 -1
  487. package/lib/duet/{p-b083c7df.system.entry.js → p-b737793a.system.entry.js} +1 -1
  488. package/lib/duet/{p-dc3646e2.system.entry.js → p-b7706f3e.system.entry.js} +1 -1
  489. package/lib/duet/{p-75e72c46.system.entry.js → p-b9ea2688.system.entry.js} +1 -1
  490. package/lib/duet/{p-2d14dafa.system.entry.js → p-bb6d4e02.system.entry.js} +1 -1
  491. package/lib/duet/{p-eb237688.system.entry.js → p-bbb5ceff.system.entry.js} +1 -1
  492. package/lib/duet/{p-f835eb92.system.entry.js → p-bcadf02c.system.entry.js} +1 -1
  493. package/lib/duet/{p-6f46b9da.system.entry.js → p-be76413c.system.entry.js} +1 -1
  494. package/lib/duet/{p-1c2dcb63.entry.js → p-bf53d017.entry.js} +1 -1
  495. package/lib/duet/{p-22932c08.system.entry.js → p-c0ad7828.system.entry.js} +1 -1
  496. package/lib/duet/{p-08f64c06.entry.js → p-c0de9913.entry.js} +1 -1
  497. package/lib/duet/p-c1186d0d.entry.js +4 -0
  498. package/lib/duet/{p-9921468e.entry.js → p-c282ebfd.entry.js} +1 -1
  499. package/lib/duet/{p-704b8b7e.entry.js → p-c327a6b9.entry.js} +1 -1
  500. package/lib/duet/{p-4989501c.entry.js → p-c398295a.entry.js} +1 -1
  501. package/lib/duet/{p-38faf7e7.system.entry.js → p-c4eff1d7.system.entry.js} +1 -1
  502. package/lib/duet/p-c70b69a7.system.entry.js +4 -0
  503. package/lib/duet/{p-6db869c9.system.entry.js → p-c73fad00.system.entry.js} +1 -1
  504. package/lib/duet/{p-463b0d7a.entry.js → p-c7d0fd92.entry.js} +1 -1
  505. package/lib/duet/{p-fb9c9879.system.entry.js → p-c7fc62e7.system.entry.js} +1 -1
  506. package/lib/duet/{p-430ef395.entry.js → p-c861f3d9.entry.js} +1 -1
  507. package/lib/duet/{p-13f4076a.system.entry.js → p-ce5b779c.system.entry.js} +2 -2
  508. package/lib/duet/{p-2162fe62.entry.js → p-d02c0a0b.entry.js} +1 -1
  509. package/lib/duet/{p-2ee8e84d.system.entry.js → p-d329f24b.system.entry.js} +1 -1
  510. package/lib/duet/{p-e8777cf4.entry.js → p-d33eef1f.entry.js} +1 -1
  511. package/lib/duet/p-d66c0235.entry.js +4 -0
  512. package/lib/duet/{p-16e80004.entry.js → p-dc68a5b4.entry.js} +1 -1
  513. package/lib/duet/p-de4d3f16.entry.js +4 -0
  514. package/lib/duet/p-deec5fa6.entry.js +4 -0
  515. package/lib/duet/{p-7d63b0c0.entry.js → p-e0308e1f.entry.js} +1 -1
  516. package/lib/duet/{p-9361e0ff.entry.js → p-e05bbc0f.entry.js} +1 -1
  517. package/lib/duet/p-e30f0acf.entry.js +4 -0
  518. package/lib/duet/{p-a8527a22.system.entry.js → p-e4e4e4d7.system.entry.js} +1 -1
  519. package/lib/duet/{p-3b9c02b1.entry.js → p-e78a7199.entry.js} +1 -1
  520. package/lib/duet/{p-08f594ea.entry.js → p-e7f98811.entry.js} +1 -1
  521. package/lib/duet/{p-2a542c6a.entry.js → p-e89c1ca6.entry.js} +1 -1
  522. package/lib/duet/{p-86d288e5.entry.js → p-ec3ce240.entry.js} +1 -1
  523. package/lib/duet/{p-adcfa80c.system.entry.js → p-ed9f7d82.system.entry.js} +1 -1
  524. package/lib/duet/p-eecbc77f.system.entry.js +4 -0
  525. package/lib/duet/{p-628a59a6.entry.js → p-ef3038cf.entry.js} +1 -1
  526. package/lib/duet/{p-c9751b3c.system.entry.js → p-efd3c1ca.system.entry.js} +1 -1
  527. package/lib/duet/{p-8f55b49a.system.entry.js → p-f1f892da.system.entry.js} +2 -2
  528. package/lib/duet/{p-201895ea.system.entry.js → p-f2c7e3ee.system.entry.js} +1 -1
  529. package/lib/duet/{p-901f7bd1.entry.js → p-f32df45c.entry.js} +1 -1
  530. package/lib/duet/{p-c157389b.system.entry.js → p-f33021ec.system.entry.js} +1 -1
  531. package/lib/duet/p-f50d1845.system.js +4 -0
  532. package/lib/duet/p-f587ebfc.js +4 -0
  533. package/lib/duet/{p-d647ef97.system.entry.js → p-f743f28c.system.entry.js} +1 -1
  534. package/lib/duet/{p-4a54ae2a.system.entry.js → p-f7f9a565.system.entry.js} +1 -1
  535. package/lib/duet/p-f922b327.entry.js +4 -0
  536. package/lib/duet/{p-34485370.system.entry.js → p-fc154425.system.entry.js} +1 -1
  537. package/lib/duet/p-fc168be9.system.entry.js +4 -0
  538. package/lib/duet/{p-268d9b35.entry.js → p-fcdf0b4f.entry.js} +1 -1
  539. package/lib/duet/{p-0cef5003.system.entry.js → p-ff81c192.system.entry.js} +2 -2
  540. package/lib/esm/{a11y-utils-87967050.js → a11y-utils-056fbc86.js} +1 -1
  541. package/lib/esm/{app-globals-db5be99e.js → app-globals-2e3fbb8b.js} +1 -1
  542. package/lib/{dist-custom-elements/p-9b044291.js → esm/common-strings-1274857d.js} +23 -1
  543. package/lib/esm/duet-action-button.entry.js +3 -3
  544. package/lib/esm/duet-alert.entry.js +20 -32
  545. package/lib/esm/duet-badge.entry.js +16 -4
  546. package/lib/esm/duet-banner.entry.js +19 -8
  547. package/lib/esm/duet-breadcrumb.entry.js +7 -7
  548. package/lib/esm/duet-breadcrumbs.entry.js +5 -5
  549. package/lib/esm/duet-button_2.entry.js +6 -6
  550. package/lib/esm/duet-callout.entry.js +5 -5
  551. package/lib/esm/duet-caption_4.entry.js +11 -11
  552. package/lib/esm/duet-card.entry.js +9 -8
  553. package/lib/esm/duet-checkbox.entry.js +2 -2
  554. package/lib/esm/duet-checkmark.entry.js +4 -4
  555. package/lib/esm/duet-chip.entry.js +4 -4
  556. package/lib/esm/duet-choice_2.entry.js +29 -22
  557. package/lib/esm/duet-collapsible.entry.js +3 -3
  558. package/lib/esm/duet-combobox.entry.js +4 -4
  559. package/lib/esm/duet-contact-card.entry.js +5 -5
  560. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  561. package/lib/esm/duet-date-picker.entry.js +18 -8
  562. package/lib/esm/duet-divider_2.entry.js +3 -3
  563. package/lib/esm/duet-editable-table_3.entry.js +8 -8
  564. package/lib/esm/duet-empty-state.entry.js +2 -2
  565. package/lib/esm/duet-fieldset.entry.js +6 -6
  566. package/lib/esm/duet-file-chooser.entry.js +2 -2
  567. package/lib/esm/duet-footer.entry.js +5 -5
  568. package/lib/esm/duet-grid_2.entry.js +7 -6
  569. package/lib/esm/duet-header_2.entry.js +5 -5
  570. package/lib/esm/duet-hero.entry.js +6 -6
  571. package/lib/esm/duet-icon.entry.js +5 -5
  572. package/lib/esm/duet-indicator.entry.js +49 -0
  573. package/lib/esm/duet-input_2.entry.js +4 -4
  574. package/lib/esm/duet-layout.entry.js +7 -7
  575. package/lib/esm/duet-list_2.entry.js +5 -5
  576. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  577. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  578. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  579. package/lib/esm/duet-menu-bar-item.entry.js +8 -8
  580. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  581. package/lib/esm/duet-menu-bar.entry.js +6 -6
  582. package/lib/esm/duet-modal.entry.js +13 -13
  583. package/lib/esm/duet-multiselect.entry.js +9 -9
  584. package/lib/esm/duet-nav.entry.js +3 -3
  585. package/lib/esm/duet-notification_2.entry.js +9 -9
  586. package/lib/esm/duet-number-input.entry.js +4 -4
  587. package/lib/esm/duet-overlay.entry.js +3 -3
  588. package/lib/esm/duet-page-heading.entry.js +4 -4
  589. package/lib/esm/duet-pagination_2.entry.js +16 -16
  590. package/lib/esm/duet-panel.entry.js +4 -4
  591. package/lib/esm/duet-phone-input.entry.js +24 -7
  592. package/lib/esm/duet-popup-menu_2.entry.js +6 -6
  593. package/lib/esm/duet-progress.entry.js +3 -3
  594. package/lib/esm/duet-promo-card.entry.js +5 -5
  595. package/lib/esm/duet-radio_2.entry.js +3 -3
  596. package/lib/esm/duet-range-slider.entry.js +2 -2
  597. package/lib/esm/duet-scrollable_3.entry.js +30 -23
  598. package/lib/esm/duet-section-layout.entry.js +4 -4
  599. package/lib/esm/duet-select.entry.js +4 -4
  600. package/lib/esm/duet-shaped-image.entry.js +4 -4
  601. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  602. package/lib/esm/duet-share-chart.entry.js +8 -6
  603. package/lib/esm/duet-show-more.entry.js +5 -5
  604. package/lib/esm/duet-slideout-lang.entry.js +5 -5
  605. package/lib/esm/duet-slideout-link.entry.js +9 -9
  606. package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
  607. package/lib/esm/duet-slideout-panel.entry.js +14 -19
  608. package/lib/esm/duet-slideout.entry.js +10 -10
  609. package/lib/esm/duet-status-icon.entry.js +3 -3
  610. package/lib/esm/duet-step_2.entry.js +5 -5
  611. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  612. package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
  613. package/lib/esm/duet-submenu-bar-item.entry.js +7 -7
  614. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  615. package/lib/esm/duet-submenu-bar.entry.js +7 -7
  616. package/lib/esm/duet-textarea.entry.js +4 -4
  617. package/lib/esm/duet-toggle.entry.js +2 -2
  618. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  619. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  620. package/lib/esm/duet-toolbar-item.entry.js +10 -10
  621. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  622. package/lib/esm/duet-toolbar.entry.js +4 -4
  623. package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
  624. package/lib/esm/duet-tooltip.entry.js +3 -3
  625. package/lib/esm/duet-tray.entry.js +5 -5
  626. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  627. package/lib/esm/duet-upload-item.entry.js +6 -6
  628. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  629. package/lib/esm/duet.js +4 -4
  630. package/lib/esm/{errorcodes.utils-f17cc5a4.js → errorcodes.utils-1673d536.js} +1 -1
  631. package/lib/esm/{focus-utils-28046c5d.js → focus-utils-ef5827e9.js} +1 -1
  632. package/lib/esm/{index-04630419.js → index-917bdca5.js} +5 -1
  633. package/lib/esm/{language-utils-7caf2c7c.js → language-utils-fc71dceb.js} +1 -1
  634. package/lib/esm/loader.js +4 -4
  635. package/lib/esm/{slot-utils-e3cda10f.js → slot-utils-e20aeb67.js} +1 -1
  636. package/lib/esm/{themeable-component-ddf67193.js → themeable-component-5aa6dce7.js} +1 -1
  637. package/lib/esm-es5/{a11y-utils-87967050.js → a11y-utils-056fbc86.js} +1 -1
  638. package/lib/esm-es5/{app-globals-db5be99e.js → app-globals-2e3fbb8b.js} +1 -1
  639. package/lib/esm-es5/{common-strings-a48b3fba.js → common-strings-1274857d.js} +1 -1
  640. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  641. package/lib/esm-es5/duet-alert.entry.js +1 -1
  642. package/lib/esm-es5/duet-badge.entry.js +1 -1
  643. package/lib/esm-es5/duet-banner.entry.js +1 -1
  644. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  645. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  646. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  647. package/lib/esm-es5/duet-callout.entry.js +1 -1
  648. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  649. package/lib/esm-es5/duet-card.entry.js +1 -1
  650. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  651. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  652. package/lib/esm-es5/duet-chip.entry.js +1 -1
  653. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  654. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  655. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  656. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  657. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  658. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  659. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  660. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  661. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  662. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  663. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  664. package/lib/esm-es5/duet-footer.entry.js +1 -1
  665. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  666. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  667. package/lib/esm-es5/duet-hero.entry.js +2 -2
  668. package/lib/esm-es5/duet-icon.entry.js +1 -1
  669. package/lib/esm-es5/duet-indicator.entry.js +4 -0
  670. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  671. package/lib/esm-es5/duet-layout.entry.js +1 -1
  672. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  673. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  674. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  675. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  676. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  677. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  678. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  679. package/lib/esm-es5/duet-modal.entry.js +1 -1
  680. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  681. package/lib/esm-es5/duet-nav.entry.js +1 -1
  682. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  683. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  684. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  685. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  686. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  687. package/lib/esm-es5/duet-panel.entry.js +1 -1
  688. package/lib/esm-es5/duet-phone-input.entry.js +2 -2
  689. package/lib/esm-es5/duet-popup-menu_2.entry.js +2 -2
  690. package/lib/esm-es5/duet-progress.entry.js +1 -1
  691. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  692. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  693. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  694. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  695. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  696. package/lib/esm-es5/duet-select.entry.js +1 -1
  697. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  698. package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
  699. package/lib/esm-es5/duet-share-chart.entry.js +1 -1
  700. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  701. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  702. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  703. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  704. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  705. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  706. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  707. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  708. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  709. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +2 -2
  710. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  711. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  712. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  713. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  714. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  715. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  716. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +2 -2
  717. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  718. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  719. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  720. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  721. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  722. package/lib/esm-es5/duet-tray.entry.js +1 -1
  723. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  724. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  725. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  726. package/lib/esm-es5/duet.js +1 -1
  727. package/lib/esm-es5/{errorcodes.utils-f17cc5a4.js → errorcodes.utils-1673d536.js} +1 -1
  728. package/lib/esm-es5/{focus-utils-28046c5d.js → focus-utils-ef5827e9.js} +1 -1
  729. package/lib/esm-es5/index-917bdca5.js +4 -0
  730. package/lib/esm-es5/{language-utils-7caf2c7c.js → language-utils-fc71dceb.js} +1 -1
  731. package/lib/esm-es5/loader.js +1 -1
  732. package/lib/esm-es5/{slot-utils-e3cda10f.js → slot-utils-e20aeb67.js} +1 -1
  733. package/lib/esm-es5/{themeable-component-ddf67193.js → themeable-component-5aa6dce7.js} +1 -1
  734. package/lib/types/common-strings.d.ts +2 -0
  735. package/lib/types/components/duet-alert/duet-alert.d.ts +5 -2
  736. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
  737. package/lib/types/components/duet-banner/duet-banner.d.ts +2 -0
  738. package/lib/types/components/duet-card/duet-card.d.ts +6 -0
  739. package/lib/types/components/duet-choice/duet-choice.d.ts +0 -4
  740. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +2 -2
  741. package/lib/types/components/duet-indicator/duet-indicator.d.ts +17 -0
  742. package/lib/types/components/duet-input/duet-input.d.ts +0 -2
  743. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +14 -0
  744. package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
  745. package/lib/types/components.d.ts +81 -13
  746. package/package.json +4 -4
  747. package/lib/duet/p-01fe0f34.js +0 -4
  748. package/lib/duet/p-07d21021.system.entry.js +0 -4
  749. package/lib/duet/p-0c16128f.entry.js +0 -4
  750. package/lib/duet/p-0e4ff2a3.system.entry.js +0 -4
  751. package/lib/duet/p-13821573.system.entry.js +0 -4
  752. package/lib/duet/p-18b21048.entry.js +0 -4
  753. package/lib/duet/p-19ad52bc.entry.js +0 -4
  754. package/lib/duet/p-1a767c08.system.entry.js +0 -4
  755. package/lib/duet/p-1f495ebe.entry.js +0 -4
  756. package/lib/duet/p-2dd204b0.entry.js +0 -4
  757. package/lib/duet/p-2fe381b6.entry.js +0 -4
  758. package/lib/duet/p-3a75e6d3.entry.js +0 -4
  759. package/lib/duet/p-413fc831.system.entry.js +0 -4
  760. package/lib/duet/p-42a0205d.entry.js +0 -4
  761. package/lib/duet/p-49b696b3.entry.js +0 -4
  762. package/lib/duet/p-4d81e7f6.system.js +0 -4
  763. package/lib/duet/p-51717f08.entry.js +0 -4
  764. package/lib/duet/p-51fc30ef.entry.js +0 -4
  765. package/lib/duet/p-564022f1.entry.js +0 -4
  766. package/lib/duet/p-5f678caa.entry.js +0 -4
  767. package/lib/duet/p-62cb44f1.entry.js +0 -4
  768. package/lib/duet/p-72ad70a2.entry.js +0 -4
  769. package/lib/duet/p-76332920.system.js +0 -4
  770. package/lib/duet/p-7856f483.entry.js +0 -4
  771. package/lib/duet/p-82680aa5.system.js +0 -4
  772. package/lib/duet/p-82733ff7.entry.js +0 -4
  773. package/lib/duet/p-834d6b2d.system.entry.js +0 -4
  774. package/lib/duet/p-870a420d.system.entry.js +0 -4
  775. package/lib/duet/p-89b2f873.system.js +0 -4
  776. package/lib/duet/p-89f89a39.system.entry.js +0 -4
  777. package/lib/duet/p-8bb2ddda.entry.js +0 -4
  778. package/lib/duet/p-8cbe7888.system.entry.js +0 -4
  779. package/lib/duet/p-8e7af8a4.system.entry.js +0 -4
  780. package/lib/duet/p-8edc7ed6.entry.js +0 -4
  781. package/lib/duet/p-914292d2.entry.js +0 -4
  782. package/lib/duet/p-91be5d76.system.entry.js +0 -4
  783. package/lib/duet/p-936f0051.entry.js +0 -4
  784. package/lib/duet/p-b1b64718.system.entry.js +0 -4
  785. package/lib/duet/p-b4018154.entry.js +0 -4
  786. package/lib/duet/p-b65f6339.system.js +0 -4
  787. package/lib/duet/p-b84841d7.js +0 -4
  788. package/lib/duet/p-be26ac3a.entry.js +0 -4
  789. package/lib/duet/p-c4e34a8e.entry.js +0 -4
  790. package/lib/duet/p-cc531319.js +0 -4
  791. package/lib/duet/p-cff34f13.entry.js +0 -4
  792. package/lib/duet/p-d6afc825.entry.js +0 -4
  793. package/lib/duet/p-ec22154d.entry.js +0 -4
  794. package/lib/duet/p-f58cbc59.system.entry.js +0 -4
  795. package/lib/duet/p-f89feeb2.entry.js +0 -4
  796. package/lib/esm-es5/index-04630419.js +0 -4
@@ -43,6 +43,18 @@ export class DuetBanner {
43
43
  }
44
44
  }
45
45
  };
46
+ this.isTurva2 = () => { var _a; return (_a = document.documentElement.attributes.getNamedItem("class")) === null || _a === void 0 ? void 0 : _a.value.includes("duet-theme-turva2"); };
47
+ this.getBackgroundColor = () => {
48
+ if (this.theme === "turva" && this.backgroundColor === "primary-lighter") {
49
+ if (this.isTurva2()) {
50
+ return "#fdf7f2"; // turva-nude-00 - not yet available as token
51
+ }
52
+ else {
53
+ return getColorByName("gray-lighter", this.theme);
54
+ }
55
+ }
56
+ return getColorByName(this.backgroundColor, this.theme);
57
+ };
46
58
  this.currentSize = undefined;
47
59
  this.theme = "";
48
60
  this.margin = "auto";
@@ -81,8 +93,7 @@ export class DuetBanner {
81
93
  * Always the last one of the class.
82
94
  */
83
95
  render() {
84
- const backgroundColorTemp = this.theme === "turva" && this.backgroundColor === "primary-lighter" ? "gray-lighter" : this.backgroundColor;
85
- const backgroundColor = getColorByName(backgroundColorTemp, this.theme);
96
+ const backgroundColor = this.getBackgroundColor();
86
97
  const color = getColorByName(this.textColor, this.theme);
87
98
  const bannerStyles = {
88
99
  backgroundColor,
@@ -91,14 +102,14 @@ export class DuetBanner {
91
102
  img: { src: this.image, alt: "", loading: "lazy", class: "image", role: "presentation" },
92
103
  sources: parsePossibleJSON(this.sources),
93
104
  };
94
- return (h(Host, { key: '12cea619c3a29693b7bbb7189962468eee715f68', class: { "duet-m-0": this.margin === "none" } }, h("aside", { key: 'b4e70162ea52e299c8cc3481961e1354f7a348d0', class: {
105
+ return (h(Host, { key: 'c8e3140dea20791061866feb62588c5a5491f277', class: { "duet-m-0": this.margin === "none" } }, h("aside", { key: '7e6834ed607505ee35d026a71d3406280644856b', class: {
95
106
  "duet-banner": true,
96
107
  "duet-theme-turva": this.theme === "turva",
97
108
  [this.currentSize]: true,
98
109
  "size-medium": this.size === "medium" || this.size === "large",
99
110
  "size-large": this.size === "large",
100
111
  "no-image": !this.image,
101
- }, style: bannerStyles }, h("div", { key: '77b6658e115f6c6ad322e4d81607a842de28ad7f', class: "visual" }, h("div", { key: '1140037769c9615f7fc233d5ef7db5e93e5b1434', class: "image-container" }, this.image && h(DuetPicture, Object.assign({ key: '63b777ee272d5fe8c7df6f6a8bff7b84a44c9dff' }, pictureSource))), 1 > 2 && this.icon && (h("duet-icon", { key: '655da70b348510e6a4686a2a51af635bcd3b1572', theme: this.theme, class: "icon", name: this.icon, shape: "brand", size: this.currentSize === "large" ? "xx-large" : "x-large", color: this.iconColor, background: this.iconBackgroundColor, "background-rotation": "7", "background-opacity": "0.85", margin: "none" })), h("div", { key: '5af78573b362552f7bdc061be9bed68373255aae', style: bannerStyles, class: "brand-shape" })), h("div", { key: '99f371a78ff9d7e85cff37c9c5eb2d49f51e7aaa', class: "content" }, this.hasHeadingSlot && (h("div", { key: '8684e9cbd15cd42e8bce73271543ce7fc91b63fc', class: "heading" }, h("duet-heading", { key: '2d3348662100fc98f088ac9dee4a5a38681ce9d7', theme: this.theme, level: this.headingLevel, "visual-level": this.currentSize === "large" ? "h2" : "h3", "fixed-size": true, margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: '692332080a527df5d5ed15773ef34efbda983f15' }, h("slot", { key: '8a0a0e72edfcf4c55f66b8565fe90b948e86c4bc', name: "heading" }))))), this.hasDescriptionSlot && (h("div", { key: 'daba4eb6a51dc590ea3591132b8cddebb5cf9756', class: "description", style: { color } }, h("slot", { key: '5d8e3bc1324a170bf266b89e8815896c470a512a', name: "description" }))), this.hasActionSlot && (h("div", { key: 'c9d0e0f700ef91081cad82c8edb5db69ee38ef56', class: "action" }, h("slot", { key: 'e72dfb579efb7ad822de3f59d3d828fffd3ef015', name: "action" })))))));
112
+ }, style: bannerStyles }, h("div", { key: 'fc4dc8649243b6a63368328de6eb4e50ed176a6b', class: "visual" }, h("div", { key: '37384ee4753623f1be3281d984a0bb838ed73f58', class: "image-container" }, this.image && h(DuetPicture, Object.assign({ key: '20843c2967598ea78d178de08e35e9ac6b913e2d' }, pictureSource))), 1 > 2 && this.icon && (h("duet-icon", { key: '5004d77927bfb893d67503a452dea3e7cf74f8d3', theme: this.theme, class: "icon", name: this.icon, shape: "brand", size: this.currentSize === "large" ? "xx-large" : "x-large", color: this.iconColor, background: this.iconBackgroundColor, "background-rotation": "7", "background-opacity": "0.85", margin: "none" })), h("div", { key: 'c7a8ea6e28e80f6b10f37d3d9ae649e72362d59b', style: bannerStyles, class: "brand-shape" })), h("div", { key: '1cf3029099015dd0ff396e9f9c94075c3eb5b70f', class: "content" }, this.hasHeadingSlot && (h("div", { key: 'bd471f924ebdcd3a08f9aed0ac669f46188a5452', class: "heading" }, h("duet-heading", { key: 'f8a595ae3eb8a76b5f2ffb245912d8dea6221873', theme: this.theme, level: this.headingLevel, "visual-level": this.currentSize === "large" ? "h2" : "h3", "fixed-size": true, margin: "none", color: postfixTheme(this.textColor, this.theme) }, h("span", { key: 'cc6134c267fdc0401198afdff0a75776f091db58' }, h("slot", { key: 'bdfc9e47dfe979c9355b99379533e81e36d55ac3', name: "heading" }))))), this.hasDescriptionSlot && (h("div", { key: '38b1971548ed44d7b5c02c5eb6feb85625880f09', class: "description", style: { color } }, h("slot", { key: '2b8ed684179262322589d0e8702f3bd823e7614f', name: "description" }))), this.hasActionSlot && (h("div", { key: '75e5f3ba7ef02266554854f6963e4c471ca0fa4f', class: "action" }, h("slot", { key: '1c9affe286d41ac0266758465f0d574591e38b2c', name: "action" })))))));
102
113
  }
103
114
  static get is() { return "duet-banner"; }
104
115
  static get encapsulation() { return "shadow"; }
@@ -42,14 +42,14 @@ export class DuetBreadcrumb {
42
42
  */
43
43
  render() {
44
44
  var _a;
45
- return (h(Host, { key: 'c2bbd3a09d833237865fbbea918ce71e6e945708', role: "listitem" }, h("div", { key: '1ef1271eba23e853ecd07dca639a1dc249a9047a', class: "container" }, this.icon === "arrow-right-small-icon" && (h("duet-icon", { key: '953679a489bc876ab43d44486de61cbb9f5237aa', class: "duet-breadrumbs-arrow", size: "auto", icon: arrowRightSmallIcon.svg, margin: "none", color: "currentColor" })), h("a", { key: '305807ceab521e988a065fc7f0dfeba105afd65f', class: {
45
+ return (h(Host, { key: 'a9f1782d98a790e469a78d27b5eb79ba277578e2', role: "listitem" }, h("div", { key: '0044cdcf0d7b79d76e4b86d075d318485ff6cb5d', class: "container" }, this.icon === "arrow-right-small-icon" && (h("duet-icon", { key: '6c6be2a00e8fdbbcd15a99b9535066864cca20df', class: "duet-breadrumbs-arrow", size: "auto", icon: arrowRightSmallIcon.svg, margin: "none", color: "currentColor" })), h("a", { key: '438e3d0d02eb4abce710c1ca3a88a28efc69ffca', class: {
46
46
  "duet-breadcrumb": true,
47
47
  "duet-theme-turva": this.theme === "turva",
48
48
  }, href: this.href ? this.href : undefined, "aria-label": `${!this.href ? `${getLocaleString(this.currentCrumb)} ` : ""}${(_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.element.innerHTML}`, role: "link" }, this.icon !== "arrow-right-small-icon" &&
49
49
  this.icon && [
50
- h("duet-icon", { key: '469e852366ff1d5dc79ef285eb53cff133a4b86a', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
51
- this.hasSlottedContent && h("duet-spacer", { key: 'eff56162ec750f1b4b1053eefd39a3096e6535a1', size: "x-small", direction: "horizontal" }),
52
- ], h("slot", { key: '08865bb50c3bfc475427e56afb06baa5796b9e43' })))));
50
+ h("duet-icon", { key: 'fd3385a6710d02e06c3b5f7cc6718c98a8104989', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
51
+ this.hasSlottedContent && h("duet-spacer", { key: '5a280907832a4d1f0577469fc402f44a7979c376', size: "x-small", direction: "horizontal" }),
52
+ ], h("slot", { key: 'b1215c5fd3872c3498378fd1f625e177005fb3fc' })))));
53
53
  }
54
54
  static get is() { return "duet-breadcrumb"; }
55
55
  static get encapsulation() { return "shadow"; }
@@ -53,11 +53,11 @@ export class DuetBreadcrumbs {
53
53
  */
54
54
  render() {
55
55
  const color = getColorByName(this.color);
56
- return (h(Host, { key: 'de5bf9664c5f5ab572fce45bc993713510474cb0' }, h("nav", { key: 'ffd74db147e85616f7e10428bfe537179b168e58', "aria-label": this.breadcrumbsAriaLabel, class: {
56
+ return (h(Host, { key: '353dc54191f3da65ebc9bbba39c9904a23ac31d7' }, h("nav", { key: '98ea70d7dba93ceda61bba1c572dc690bbb3aab9', "aria-label": this.breadcrumbsAriaLabel, class: {
57
57
  "duet-breadcrumbs": true,
58
58
  "duet-theme-turva": this.theme === "turva",
59
59
  [this.variation]: true,
60
- } }, h("div", { key: '06d6391d9154c82c9ba8e8c3c4c098f40ea862bc', class: "container" }, h("div", { key: '6e14f970ac38086d9874b6a5fb68c43036891658', role: "list", class: "list", style: { color } }, h("slot", { key: '8d97e7c891b2b78f0efff2e4993ef71a831e062d' })), h("div", { key: '915ea715ad6bbdf67320744cd8e2df75af1a082f', class: "bottom-border bottom-border--container" })), h("div", { key: '8d416d6fca5363df5bd6d1d82b1aad4274588cd8', class: "bottom-border bottom-border--nav" }))));
60
+ } }, h("div", { key: 'affe18004c3a9fbdb8f820d78b3bcb08cc9bb6f3', class: "container" }, h("div", { key: 'f90581d901c83261650c3c887f332888a160858a', role: "list", class: "list", style: { color } }, h("slot", { key: '55867215483c5114bd599015847cd0ecafd7c456' })), h("div", { key: 'cbbc4775098ce98422265fbce5632be69ed916f9', class: "bottom-border bottom-border--container" })), h("div", { key: '7463cda762ef2acdb4437c88f030ee7bfcd34864', class: "bottom-border bottom-border--nav" }))));
61
61
  }
62
62
  static get is() { return "duet-breadcrumbs"; }
63
63
  static get encapsulation() { return "shadow"; }
@@ -31,11 +31,11 @@ export class DuetCallout {
31
31
  <path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>
32
32
  </svg>
33
33
  `;
34
- return (h(Host, { key: '85f99d167ac281ddceb8a8a69da07d854be973f7' }, h("div", { key: '14ccbc1c5d5f56368fefdcfa8ac2b48f46c3e0b7', class: {
34
+ return (h(Host, { key: 'cce1d247cffb8bd198d58740a8755b5905f8f321' }, h("div", { key: 'a03c534b9c6ba8bed4bcc16b1ccbc0f100219bd3', class: {
35
35
  "duet-callout": true,
36
36
  "duet-theme-turva": this.theme === "turva",
37
37
  "duet-m-0": this.margin === "none",
38
- } }, h("figure", { key: 'fe2a9c932a02907cda19e0f258e36a1c5a83a1bc', class: "container" }, h("duet-icon", { key: 'f9ddcf0c22344b4490cd3433e4d85e644a8b4e63', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), h("blockquote", { key: '11b22131f070c316b6cadd833f0fb5d12bf0ed4a' }, h("slot", { key: '6448a4a8b760c12a583b4454c183f32c26a8e4cf' })), this.hasAuthorSlot && (h("figcaption", { key: '3d98ce3b4e9a1d81ba99d1c8cbb38eacc91bb2d0', class: "author" }, h("span", { key: '9a8f0ab6cbeba79793fbc1926924e4d4acc3cf5b' }, "\u2014 "), h("slot", { key: '928a1113e8f44b3f6439a9ce1ec5f96771b95270', name: "author" })))))));
38
+ } }, h("figure", { key: 'f085eed2d1b58950d4c208a845e412edad1deb4c', class: "container" }, h("duet-icon", { key: '50c166c27467e4ec8b0dbcd82466c9dcc33ceeaa', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), h("blockquote", { key: 'ba44180d41f337b19561e2af2e47451481c82f09' }, h("slot", { key: '9366ad783cc9af7d9a21e91b0fc9570c039a1a69' })), this.hasAuthorSlot && (h("figcaption", { key: '8fa76f3b5cf65e1ce55f97dcb23ce8b72d20e8be', class: "author" }, h("span", { key: '5f26224b4abc476e96d80f321cd5b0c38c9cdf13' }, "\u2014 "), h("slot", { key: '8b3f9ac4cb7dacf68336ce555e4ccdf2cbe8b8fa', name: "author" })))))));
39
39
  }
40
40
  static get is() { return "duet-callout"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -34,6 +34,15 @@
34
34
  margin: 0 !important;
35
35
  }
36
36
 
37
+ :host {
38
+ --duet-card-border-radius: 12px;
39
+ }
40
+ @media (min-width: 36em) {
41
+ :host {
42
+ --duet-card-border-radius: 16px;
43
+ }
44
+ }
45
+
37
46
  .duet-card {
38
47
  padding: 20px !important;
39
48
  position: relative;
@@ -47,7 +56,7 @@
47
56
  line-height: 1.5;
48
57
  color: rgb(8, 42, 77);
49
58
  text-decoration: none;
50
- border-radius: 4px;
59
+ border-radius: var(--duet-card-border-radius);
51
60
  box-shadow: 0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07);
52
61
  }
53
62
  .duet-card.duet-p-0 {
@@ -234,7 +243,7 @@
234
243
  font-weight: 800;
235
244
  color: rgb(8, 42, 77);
236
245
  border-bottom: 1px solid rgb(212, 223, 229);
237
- border-radius: 4px 4px 0 0;
246
+ border-radius: var(--duet-card-border-radius) var(--duet-card-border-radius) 0 0;
238
247
  }
239
248
  @media (min-width: 36em) {
240
249
  .duet-card-heading {
@@ -265,7 +274,7 @@
265
274
  outline: 0;
266
275
  }
267
276
  :host(.user-is-tabbing) .duet-card-heading.duet-card-heading--collapsible button:focus {
268
- border-radius: 4px;
277
+ border-radius: var(--duet-card-border-radius);
269
278
  box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3;
270
279
  }
271
280
  :host(.user-is-tabbing) .duet-theme-turva .duet-card-heading.duet-card-heading--collapsible button:focus {
@@ -43,6 +43,7 @@ export class DuetCard {
43
43
  this.headingLevel = "h2";
44
44
  this.headingBackground = undefined;
45
45
  this.icon = undefined;
46
+ this.iconColor = "currentColor";
46
47
  this.image = undefined;
47
48
  this.background = "gray-lightest";
48
49
  this.padding = "small";
@@ -74,7 +75,7 @@ export class DuetCard {
74
75
  const headingStyles = {
75
76
  backgroundColor: getColorByName(this.headingBackground),
76
77
  };
77
- const headingContent = (h(Fragment, null, h("div", { class: "duet-card-heading-grid" }, this.icon && (h(Fragment, null, h("duet-icon", { class: "duet-card-icon", name: this.icon, size: "medium", margin: "none", color: "currentColor" }), h("duet-spacer", { direction: "horizontal", size: "small" }))), h("div", { class: "duet-card-heading-text" }, this.heading ? this.heading : h("slot", { name: "heading" })), this.secondaryHeading && (h(Fragment, null, h("duet-spacer", { direction: "horizontal", size: "small" }), h("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--inline" }, this.secondaryHeading))), this.collapsible && (h(Fragment, null, h("duet-spacer", { direction: "horizontal", size: "small" }), h("duet-icon", { class: "duet-card-caret", icon: arrowUpIcon.svg, size: "small", margin: "none", color: "currentColor" })))), this.secondaryHeading && (h("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--new-line" }, this.secondaryHeading)), h("slot", { name: "below-heading" })));
78
+ const headingContent = (h(Fragment, null, h("div", { class: "duet-card-heading-grid" }, this.icon && (h(Fragment, null, h("duet-icon", { class: "duet-card-icon", name: this.icon, size: "medium", margin: "none", color: this.iconColor }), h("duet-spacer", { direction: "horizontal", size: "small" }))), h("div", { class: "duet-card-heading-text" }, this.heading ? this.heading : h("slot", { name: "heading" })), this.secondaryHeading && (h(Fragment, null, h("duet-spacer", { direction: "horizontal", size: "small" }), h("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--inline" }, this.secondaryHeading))), this.collapsible && (h(Fragment, null, h("duet-spacer", { direction: "horizontal", size: "small" }), h("duet-icon", { class: "duet-card-caret", icon: arrowUpIcon.svg, size: "small", margin: "none", color: "currentColor" })))), this.secondaryHeading && (h("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--new-line" }, this.secondaryHeading)), h("slot", { name: "below-heading" })));
78
79
  if (this.collapsible) {
79
80
  const ariaLabel = (_a = getElementsFromNamedSlot(this.element, "heading")) === null || _a === void 0 ? void 0 : _a.map(e => e.textContent).join(" ");
80
81
  return (h(HeadingTag, { style: headingStyles, class: "duet-card-heading duet-card-heading--collapsible", onClick: this.togglePanel, onKeyDown: this.handleKeyDown }, h("button", { type: "button", "aria-controls": this.cardId, "aria-expanded": this.open ? "true" : "false", "aria-label": ariaLabel }, headingContent)));
@@ -102,10 +103,10 @@ export class DuetCard {
102
103
  const styles = {
103
104
  backgroundColor: getColorByName(this.background),
104
105
  };
105
- return (h(Host, { key: '611705991716b0c002889bf3a9e980f8da1d95f0', class: {
106
+ return (h(Host, { key: 'b229fd28e5e5058ba357db373f25c9de68dc2694', class: {
106
107
  "duet-m-0": this.margin === "none",
107
108
  "duet-card-info": this.variation === "info",
108
- } }, h(TagName, { key: '89e99da5b6adc642345ba6f7a21c7081b9d4e9f3', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
109
+ } }, h(TagName, { key: 'b80082cae6d0e4d564bc1eca68f57749b6975e0e', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
109
110
  "duet-card": true,
110
111
  [this.padding]: true,
111
112
  [this.variation]: true,
@@ -115,7 +116,7 @@ export class DuetCard {
115
116
  "duet-card-has-bg": this.background !== "gray-lightest",
116
117
  "duet-card-has-icon": !!this.icon,
117
118
  "duet-card-collapsed": this.collapsible && !this.open,
118
- } }, this.image && (h("div", { key: '0aa60ed3e1bebc94ee7842d3982256c9373aa516', class: "duet-card-image-mask" }, h("img", { key: '84e7c1f6a0b6c9132ec82041fad87cc4577d6b1e', src: this.image, class: "duet-card-image", loading: "lazy", alt: "", "aria-hidden": "true" }))), (this.heading || this.hasHeadingSlot) && this.renderHeading(), h("div", { key: 'f86cc5808fdc33c29d5c1aeaa20de6b840b9bb87', class: "duet-card-content", id: this.cardId }, h("slot", { key: '5fb3cbdad3362c23720c00b1cc3a37c6e7c0df7a' }), this.hasFooter && (h("div", { key: '469c322c7f5b971194563825844cd26f854f7a4d', class: "duet-card-footer" }, h("slot", { key: '8a72444bea6b916c253e8aa87967046338e690ee', name: "footer" })))))));
119
+ } }, this.image && (h("div", { key: 'c4c9c8772d432e52fb78f2bf0a457d4a026d6b3a', class: "duet-card-image-mask" }, h("img", { key: '828ed65b312a0e50257adfa39f25307b13e7d51a', src: this.image, class: "duet-card-image", loading: "lazy", alt: "", "aria-hidden": "true" }))), (this.heading || this.hasHeadingSlot) && this.renderHeading(), h("div", { key: '081d59770bc88f9b7bd2a9b25d0bf905ea0d141b', class: "duet-card-content", id: this.cardId }, h("slot", { key: 'ad92895c2eea7a7697bd4924165656e72ee9b1da' }), this.hasFooter && (h("div", { key: '9a920473b4242e87a36032511f982b3e890df463', class: "duet-card-footer" }, h("slot", { key: '41350a63089d579579bca4454a1fcbc27a60b445', name: "footer" })))))));
119
120
  }
120
121
  static get is() { return "duet-card"; }
121
122
  static get encapsulation() { return "shadow"; }
@@ -332,6 +333,32 @@ export class DuetCard {
332
333
  "attribute": "icon",
333
334
  "reflect": false
334
335
  },
336
+ "iconColor": {
337
+ "type": "string",
338
+ "mutable": false,
339
+ "complexType": {
340
+ "original": "DuetColor",
341
+ "resolved": "string",
342
+ "references": {
343
+ "DuetColor": {
344
+ "location": "import",
345
+ "path": "../../common-types",
346
+ "id": "src/common-types.d.ts::DuetColor"
347
+ }
348
+ }
349
+ },
350
+ "required": false,
351
+ "optional": false,
352
+ "docs": {
353
+ "tags": [],
354
+ "text": "Custom color to be used for the icon, as a design token entered in camelCase\nor kebab-case. Example: \"color-primary\". This property can also be set to\n\"currentColor\"."
355
+ },
356
+ "getter": false,
357
+ "setter": false,
358
+ "attribute": "icon-color",
359
+ "reflect": true,
360
+ "defaultValue": "\"currentColor\""
361
+ },
335
362
  "image": {
336
363
  "type": "string",
337
364
  "mutable": false,
@@ -188,11 +188,11 @@
188
188
  transform: scaleX(1);
189
189
  }
190
190
  .duet-chip-container.duet-chip-filter-checked.duet-theme-turva, .duet-chip-container.duet-chip-radio-checked.duet-theme-turva {
191
- background: rgb(245, 247, 250);
191
+ background: rgb(255, 241, 241);
192
192
  border-color: rgb(198, 12, 48);
193
193
  }
194
194
  .duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover, .duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover {
195
- background: rgb(222, 224, 228);
195
+ background: rgb(255, 213, 215);
196
196
  }
197
197
  .duet-chip-container .duet-chip-popup-disclosure {
198
198
  padding-right: 4.5px;
@@ -206,7 +206,7 @@
206
206
  border-color: rgb(240, 247, 250);
207
207
  }
208
208
  .duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva {
209
- background: rgb(245, 247, 250);
209
+ background: rgb(255, 241, 241);
210
210
  border-color: rgb(245, 247, 250);
211
211
  }
212
212
  .duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon {
@@ -328,14 +328,14 @@
328
328
  border-color: #e61740;
329
329
  }
330
330
  :host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked, :host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked {
331
- background: #fbe1d1;
331
+ background: #fdf7f2;
332
332
  border-color: #e61740;
333
333
  }
334
334
  :host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-checked:hover, :host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-radio-checked:hover {
335
- background: #d8ae96;
335
+ background: #fbe1d1;
336
336
  }
337
337
  :host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-filter-popup-open {
338
- background: #fbe1d1;
338
+ background: #fdf7f2;
339
339
  border-color: #b2c2cd;
340
340
  }
341
341
  :host(.duet-theme-turva2) .duet-chip-container.duet-theme-turva.duet-chip-input:hover {
@@ -18,11 +18,11 @@ export class DuetCheckmark {
18
18
  inheritGlobalTheme(this);
19
19
  }
20
20
  render() {
21
- return (h(Host, { key: '8f8df4562a1d37c1e3ced47dace2f8ca487a9f73', class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: 'b803f9fe255ac6166546a8a0398b4958d46cd0df', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { key: 'a284f559c645796efaa1fd9e74a7d1544154b26f', class: {
21
+ return (h(Host, { key: 'ac5830102d190e3315b4798b50f042d285f600f4', class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: '35f0f3e407a0835d5d29eff77793ca6d9e5c5744', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { key: 'f6fe02c597eb1264d6135b30933c371208426ad0', class: {
22
22
  "duet-checkmark-container": true,
23
23
  center: this.center,
24
24
  "duet-checkmark-radio": this.type === "radio",
25
- } }, this.checked && h("div", { key: 'e17c92da194bbedbd6f4159efabad9321c52fa49', class: "duet-checkmark" })))));
25
+ } }, this.checked && h("div", { key: '7b23a08c03ac673e9ff0b969793df4f055ac4341', class: "duet-checkmark" })))));
26
26
  }
27
27
  static get is() { return "duet-checkmark"; }
28
28
  static get originalStyleUrls() {
@@ -204,19 +204,19 @@ input:focus {
204
204
  outline: 0;
205
205
  }
206
206
 
207
- :host(.user-is-tabbing) input:checked:focus + .duet-choice-label {
207
+ input:checked:focus + .duet-choice-label {
208
208
  box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3);
209
209
  }
210
210
 
211
- :host(.user-is-tabbing) input:not(:checked):focus + .duet-choice-label {
211
+ input:not(:checked):focus + .duet-choice-label {
212
212
  box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3;
213
213
  }
214
214
 
215
- :host(.user-is-tabbing).duet-theme-turva input:checked:focus + .duet-choice-label {
215
+ .duet-theme-turva input:checked:focus + .duet-choice-label {
216
216
  box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2);
217
217
  }
218
218
 
219
- :host(.user-is-tabbing).duet-theme-turva input:not(:checked):focus + .duet-choice-label {
219
+ .duet-theme-turva input:not(:checked):focus + .duet-choice-label {
220
220
  box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a;
221
221
  }
222
222
 
@@ -166,7 +166,6 @@ export class DuetChoice {
166
166
  disconnectedCallback() {
167
167
  disconnectLanguageChangeObserver(this);
168
168
  unsubscribeTabbingChange(this);
169
- this.duetChoiceRemove.emit();
170
169
  }
171
170
  /**
172
171
  * Sets focus on the specified `duet-choice`. Use this method instead of the global
@@ -1026,26 +1025,6 @@ export class DuetChoice {
1026
1025
  }
1027
1026
  }
1028
1027
  }
1029
- }, {
1030
- "method": "duetChoiceRemove",
1031
- "name": "duetChoiceRemove",
1032
- "bubbles": true,
1033
- "cancelable": true,
1034
- "composed": true,
1035
- "docs": {
1036
- "tags": [],
1037
- "text": "Emitted when the component is removed from the DOM."
1038
- },
1039
- "complexType": {
1040
- "original": "CustomEvent",
1041
- "resolved": "CustomEvent<any>",
1042
- "references": {
1043
- "CustomEvent": {
1044
- "location": "global",
1045
- "id": "global::CustomEvent"
1046
- }
1047
- }
1048
- }
1049
1028
  }, {
1050
1029
  "method": "duetChange",
1051
1030
  "name": "duetChange",
@@ -11,6 +11,16 @@ export class DuetChoiceGroup {
11
11
  constructor() {
12
12
  this.choiceGroupName = "duet-choice-group";
13
13
  this.choices = new Set();
14
+ // Call this.updateChoices when a child choice has been removed - addtions are handled by events
15
+ this.childObserverCallback = (mutationList) => {
16
+ if (mutationList.some(r => {
17
+ var _a;
18
+ return ((_a = r.removedNodes) === null || _a === void 0 ? void 0 : _a.length) > 0 &&
19
+ Array.from(r.removedNodes.values()).some(n => n.nodeName.toLowerCase() === "duet-choice");
20
+ })) {
21
+ this.updateChoices();
22
+ }
23
+ };
14
24
  /**
15
25
  * Component event handling.
16
26
  */
@@ -23,16 +33,7 @@ export class DuetChoiceGroup {
23
33
  this.value = selectedChoice.value;
24
34
  }
25
35
  };
26
- this.onChoiceReady = (ev) => {
27
- const choice = ev.target;
28
- if (choice.closest("duet-choice-group") === this.element && !this.choices.has(choice)) {
29
- this.choices.add(choice);
30
- this.updateChoices();
31
- }
32
- };
33
- this.onChoiceRemove = (ev) => {
34
- const choice = ev.target;
35
- this.choices.delete(choice);
36
+ this.onChoiceReady = () => {
36
37
  this.updateChoices();
37
38
  };
38
39
  this.direction = "vertical";
@@ -64,6 +65,8 @@ export class DuetChoiceGroup {
64
65
  if (Build.isServer) {
65
66
  return;
66
67
  }
68
+ this.childObserver = new MutationObserver(this.childObserverCallback.bind(this));
69
+ this.childObserver.observe(this.element, { childList: true, subtree: true });
67
70
  this.setInitialValue();
68
71
  this.updateChoices();
69
72
  }
@@ -71,9 +74,9 @@ export class DuetChoiceGroup {
71
74
  if (Build.isServer) {
72
75
  return;
73
76
  }
74
- if (this.mutationO) {
75
- this.mutationO.disconnect();
76
- this.mutationO = undefined;
77
+ if (this.childObserver) {
78
+ this.childObserver.disconnect();
79
+ this.childObserver = undefined;
77
80
  }
78
81
  }
79
82
  componentWillLoad() {
@@ -100,6 +103,12 @@ export class DuetChoiceGroup {
100
103
  var _a;
101
104
  const value = (_a = this.value) !== null && _a !== void 0 ? _a : this.initialValue;
102
105
  let hasChecked = false;
106
+ this.choices.clear();
107
+ this.element.querySelectorAll("duet-choice").forEach((choice) => {
108
+ if (choice.closest("duet-choice-group") === this.element) {
109
+ this.choices.add(choice);
110
+ }
111
+ });
103
112
  // Walk the DOM in reverse order, since the last selected one wins
104
113
  for (const choice of Array.from(this.choices)) {
105
114
  choice.name = this.name;
@@ -134,7 +143,7 @@ export class DuetChoiceGroup {
134
143
  if (Build.isServer) {
135
144
  return;
136
145
  }
137
- return (h(Host, { onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
146
+ return (h(Host, { onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, class: {
138
147
  horizontal: this.direction === "horizontal",
139
148
  "duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
140
149
  "duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
@@ -45,10 +45,10 @@ export class DuetContactCard {
45
45
  render() {
46
46
  const isTurva = this.theme === "turva";
47
47
  const theme = isTurva ? "turva" : "default";
48
- return (h(Host, { key: 'cc92ac8c254dd4d8059e41dc84a0885936486939', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '95dcbf611c7ffa2e00d4e3413b4e5d4ef76007d4', class: {
48
+ return (h(Host, { key: '031a1cc6617901d47c4ffa723e7e5af73a11b609', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '3eadcbaad47c4fced83d4db168810f79bfa7b786', class: {
49
49
  "duet-contact-card": true,
50
50
  "duet-theme-turva": this.theme === "turva",
51
- }, role: "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", { key: 'cb2b61b56ea9cbfd80aec1c7c280cc35b7704306' }, this.name && (h("duet-heading", { key: 'd7ce3e63272101a9f8a4cd7d3f259a4ffdbe746d', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { key: 'aea14ddd85a3568d5b77a49e56df6ac76540a3a9', class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { key: '323330c4a1a8c188827cd7eeaf9e215706b23b62', class: "email" }, h("duet-icon", { key: '33ae4ab4b3b810d5f48494adad568458f627b07a', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '84ce51f0721ede904044fee80b8cbf86e66b1ec8', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { key: '7c63f2689781c66d80d32415cf200bd968fe347c', class: "phone" }, h("duet-icon", { key: '6a56352c7a808bedf087a8b60edd2579dbddef4b', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: 'b2b78cbff49648d799b020ee52ce54f412285b13', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { key: '9a24e774e65e1f9cdd587f8ccfd8a3bf6ac57e10', class: "call-to-action" }, h("duet-button", { key: '7c7e4b45dc28293a9f44a71d07ad4c6a6882364a', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", { key: '85e9b10271e93b14e8e5a2821d72e7ee5ff4f194' }), h("slot", { key: 'ba84e396a9e346ff2f9cbc7c9dd66d4eefdbe2d7' }))));
51
+ }, role: "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", { key: '54b585ba0d7820ddc0170b050d7b2fc1160fc559' }, this.name && (h("duet-heading", { key: 'b6ff67b0d0a8a8443a2318de87068aa15f080774', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { key: '3586614b97c27b190bd6cf657970e3fd54999733', class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { key: 'f28904a0807287b25d77dabd04d62e3db9dd9885', class: "email" }, h("duet-icon", { key: 'f51b5fe58a74b65433172d96c921aebd5cd046f0', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '84014fd0fa9c758aa002751e780a876b1acf14cd', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { key: '97814f25bbd4afa0c0449a22b09a72803717aaca', class: "phone" }, h("duet-icon", { key: 'e6775a6b8eadfe789170d5a896a225c5d2736bab', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '61cd5ffd1d0850313af726624b8207cec0f3732f', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { key: 'dbe676faf77918b470a549472baa29d249a86ac1', class: "call-to-action" }, h("duet-button", { key: '294a9d190cdeba8cd13efc1d0f68aef675470c4b', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", { key: '0319211fcb9e7f11dd5b32a53a1c57436ed79268' }), h("slot", { key: '0ffb08aec4351a29a0cd3ccd25911f3271cb4058' }))));
52
52
  }
53
53
  static get is() { return "duet-contact-card"; }
54
54
  static get encapsulation() { return "shadow"; }
@@ -4,6 +4,11 @@
4
4
  import { h } from "@stencil/core";
5
5
  import i18n from "./date-i18n";
6
6
  import { isEqual, printISODate } from "./date-utils";
7
+ const selectedDayLabel = {
8
+ fi: "Valittu päivä",
9
+ en: "Selected day",
10
+ sv: "Vald dag",
11
+ };
7
12
  export const DatePickerDay = ({ focusedDay, today, day, language, onDaySelect, onKeyboardNavigation, ref, inRange, isSelected, }) => {
8
13
  const isToday = isEqual(day, today);
9
14
  const isFocused = isEqual(day, focusedDay);
@@ -13,5 +18,5 @@ export const DatePickerDay = ({ focusedDay, today, day, language, onDaySelect, o
13
18
  function handleClick(e) {
14
19
  onDaySelect(e, day);
15
20
  }
16
- return (h("td", { "data-day": printISODate(day), class: "duet-date-table-cell", "aria-label": formatterShort.format(day), role: "button", tabIndex: isFocused ? 0 : -1, onClick: handleClick, onKeyDown: onKeyboardNavigation, "aria-disabled": isOutsideRange || isDisabled, "aria-pressed": isSelected ? "true" : "false", ref: ref }, h("span", { class: { "duet-date-table-button": true, outside: isOutsideRange, disabled: isDisabled, today: isToday } }, day.getDate())));
21
+ return (h("td", { "data-day": printISODate(day), class: { "duet-date-table-cell": true, selected: isSelected }, "aria-label": `${formatterShort.format(day)}${isSelected ? `, ${selectedDayLabel[language]}` : undefined}`, role: "button", tabIndex: isFocused ? 0 : -1, onClick: handleClick, onKeyDown: onKeyboardNavigation, "aria-disabled": isOutsideRange || isDisabled, ref: ref }, h("span", { class: { "duet-date-table-button": true, outside: isOutsideRange, disabled: isDisabled, today: isToday } }, day.getDate())));
17
22
  };
@@ -18,7 +18,12 @@ function createDate(year, month, day) {
18
18
  dayInt <= 31 &&
19
19
  yearInt > 0;
20
20
  if (isValid) {
21
- return new Date(yearInt, monthInt - 1, dayInt);
21
+ const date = new Date(yearInt, monthInt - 1, dayInt);
22
+ // Reject dates where JS overflowed to a different month/day (e.g. Feb 31 → Mar 3)
23
+ if (date.getDate() !== dayInt || date.getMonth() !== monthInt - 1) {
24
+ return undefined;
25
+ }
26
+ return date;
22
27
  }
23
28
  }
24
29
  /**
@@ -303,12 +303,12 @@
303
303
  background: rgb(255, 241, 241) !important;
304
304
  box-shadow: 0 0 0 1px #171c3a !important;
305
305
  }
306
- [aria-pressed=true] .duet-date-table-button, :focus .duet-date-table-button {
306
+ .selected .duet-date-table-button, :focus .duet-date-table-button {
307
307
  color: rgb(255, 255, 255) !important;
308
308
  background: rgb(0, 119, 179) !important;
309
309
  outline: 0;
310
310
  }
311
- .duet-theme-turva [aria-pressed=true] .duet-date-table-button, .duet-theme-turva :focus .duet-date-table-button {
311
+ .duet-theme-turva .selected .duet-date-table-button, .duet-theme-turva :focus .duet-date-table-button {
312
312
  color: rgb(255, 255, 255) !important;
313
313
  background: rgb(198, 12, 48) !important;
314
314
  }
@@ -49,20 +49,20 @@ export class DuetFieldset {
49
49
  * Always the last one in the class.
50
50
  */
51
51
  render() {
52
- return (h(Host, { key: 'faf60f2966a89f4867cf37db394585f73fff686e', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: 'f020b6ec6801a8b83c9a5bc93a43d7a35d7506ce', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
52
+ return (h(Host, { key: '083178e4b5c3ef208a7d20c1e29ccd67ae436a1e', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: '371ad27e2db160c7f6c4711a80ad237d8aa59b46', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
53
53
  // NVDA and VoiceOver do not yet support aria-errormessage
54
54
  // once they do, we can remove errors from the aria-describedby
55
55
  // aria-errormessage={this.error ? this.errorId : null}
56
56
  class: {
57
57
  "duet-fieldset": true,
58
58
  "duet-theme-turva": this.theme === "turva",
59
- } }, h("legend", { key: '66b5ccbde158c98f27fbc6a46a4e6a6df23ff898', id: this.labelId }, h(this.labelHeadingLevel, { key: '45be33f32735066278ab2b9f3b809014d0f9676b' }, this.label), this.caption && h("span", { key: 'e544fb508d9001319a7f3a4f3b4b5ec8166f8025' }, this.caption)), h("div", { key: 'f0ad41b915201af1a2f9d95e9f9829d0bfdae2e6', class: {
59
+ } }, h("legend", { key: '6de5ea55ae42baf9675b44f521736892ea4b8e35', id: this.labelId }, h(this.labelHeadingLevel, { key: '664e33dc98e540a2643f8cc3098e6f9a7d565090' }, this.label), this.caption && h("span", { key: '53689d2f323c13e68fc48e8fc4a641dd210c6761' }, this.caption)), h("div", { key: '3a03e91ea4d9603fc9f91f1edba19cb07f63b36f', class: {
60
60
  "duet-legend-wrapper": true,
61
61
  "duet-legend-has-caption": !!this.caption,
62
62
  "duet-legend-has-tooltip": this.hasTooltip,
63
63
  "duet-legend-hidden": this.labelHidden,
64
64
  "duet-legend-compact": this.compactLabel,
65
- } }, h("div", { key: '5a632f1718ae040c523fec5d67abe8b7150c62a6', class: "duet-fieldset-label" }, h("span", { key: '96af5bd097ce6c732cabfeeed24ad70acbc0242f', "aria-hidden": "true" }, this.label), h("slot", { key: 'a9d4abbfbc6586fc072f15d0ada1e0678581eea3', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '09060f463be57b59b6a313dbf51961197a567f40', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: 'd5f8281d4970d4e26290d3163188afea4b286694', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: '3e8180e636e2ec3000f4d21dd9ee50dc12f396f6' }), h("span", { key: 'fc0dc472b4ef27d06a1272f621c936f14ffa1de4', class: "duet-fieldset-help duet-fieldset-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '8586a6c9b1a32ed3e780a0d7233664bce741c3b6', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
65
+ } }, h("div", { key: 'daa5af05aa9b131aa9cc56f1b6268cb4ea05d847', class: "duet-fieldset-label" }, h("span", { key: '87309ad8a81cae6cf99e7a2782c493f0de4fd73c', "aria-hidden": "true" }, this.label), h("slot", { key: 'f94b32bb98a136b08901468961f2df0018907e76', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '8d1d958991d27bada3452873155619968813aef4', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: 'eb614cbb4ce3ce64f5e42cb31dfd106002ec5d2d', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: '8385bd2d465d37b3c01eade80dd800b6e0ff880c' }), h("span", { key: 'b22a8dca8b5bccde89451e2153c25d4006826057', class: "duet-fieldset-help duet-fieldset-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '9673648ce6bfd6d71f16870e62f4551f00a087df', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
66
66
  }
67
67
  static get is() { return "duet-fieldset"; }
68
68
  static get encapsulation() { return "shadow"; }
@@ -23,10 +23,11 @@ export class DuetGrid {
23
23
  * @returns {number}
24
24
  */
25
25
  outerHeight(element) {
26
- const height = element.offsetHeight, style = window.getComputedStyle(element);
27
- return ["top", "bottom"]
28
- .map(side => parseInt(style[`margin-${side}`]))
29
- .reduce((total, side) => total + side, height);
26
+ const height = element.offsetHeight;
27
+ const style = window.getComputedStyle(element);
28
+ const topMargin = parseInt(style.marginTop);
29
+ const bottomMargin = parseInt(style.marginBottom);
30
+ return topMargin + height + bottomMargin;
30
31
  }
31
32
  debounceWindowResizeHandler() {
32
33
  debounce(this.updateGridItemsWithInputFields, 100);
@@ -269,5 +269,6 @@
269
269
  }
270
270
 
271
271
  :host(.duet-theme-turva2) .duet-heading.duet-theme-turva {
272
+ font-style: normal !important;
272
273
  color: #172a3b;
273
274
  }