@duetds/components 10.0.0-alpha.25 → 10.0.0-alpha.27

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 (446) hide show
  1. package/hydrate/index.js +460 -329
  2. package/hydrate/index.mjs +460 -329
  3. package/lib/cjs/{a11y-utils-BeS3x4Hg.js → a11y-utils-B33qnv_c.js} +1 -1
  4. package/lib/cjs/{app-globals-BvljEFtV.js → app-globals-DxEBgBDv.js} +1 -1
  5. package/lib/cjs/{common-strings-DQ3xONmA.js → common-strings-CSqtNIxt.js} +23 -0
  6. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-alert.cjs.entry.js +24 -33
  8. package/lib/cjs/duet-badge.cjs.entry.js +16 -4
  9. package/lib/cjs/duet-banner.cjs.entry.js +19 -8
  10. package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
  11. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
  12. package/lib/cjs/duet-button_2.cjs.entry.js +6 -6
  13. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  14. package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
  15. package/lib/cjs/duet-card.cjs.entry.js +14 -8
  16. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-chip.cjs.entry.js +4 -4
  19. package/lib/cjs/duet-choice_2.cjs.entry.js +36 -29
  20. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  21. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  22. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  23. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  24. package/lib/cjs/duet-date-picker.cjs.entry.js +19 -9
  25. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  26. package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
  27. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  29. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-footer.cjs.entry.js +5 -5
  31. package/lib/cjs/duet-grid_2.cjs.entry.js +11 -10
  32. package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
  33. package/lib/cjs/duet-hero.cjs.entry.js +6 -6
  34. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  35. package/lib/cjs/duet-indicator.cjs.entry.js +53 -0
  36. package/lib/cjs/duet-input_2.cjs.entry.js +11 -11
  37. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  38. package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
  39. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  41. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  42. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +8 -8
  43. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  44. package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
  45. package/lib/cjs/duet-modal.cjs.entry.js +13 -13
  46. package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
  47. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  48. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  49. package/lib/cjs/duet-number-input.cjs.entry.js +6 -6
  50. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  51. package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
  52. package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
  53. package/lib/cjs/duet-panel.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-phone-input.cjs.entry.js +22 -7
  55. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
  56. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  57. package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
  58. package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
  59. package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
  60. package/lib/cjs/duet-scrollable_3.cjs.entry.js +30 -25
  61. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  62. package/lib/cjs/duet-select.cjs.entry.js +9 -9
  63. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  64. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  65. package/lib/cjs/duet-share-chart.cjs.entry.js +8 -6
  66. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
  68. package/lib/cjs/duet-slideout-link.cjs.entry.js +9 -9
  69. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
  70. package/lib/cjs/duet-slideout-panel.cjs.entry.js +14 -19
  71. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  72. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-step_2.cjs.entry.js +7 -7
  74. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  75. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
  76. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +7 -7
  77. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  78. package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
  79. package/lib/cjs/duet-textarea.cjs.entry.js +8 -8
  80. package/lib/cjs/duet-toggle.cjs.entry.js +6 -6
  81. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  82. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  83. package/lib/cjs/duet-toolbar-item.cjs.entry.js +10 -10
  84. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  86. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
  87. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
  88. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  89. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  90. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  91. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  92. package/lib/cjs/duet.cjs.js +3 -3
  93. package/lib/cjs/{errorcodes.utils-CwTzu57-.js → errorcodes.utils-D9V4NJkh.js} +1 -1
  94. package/lib/cjs/{focus-utils-Dh4b8BiX.js → focus-utils-2MQWj2yf.js} +1 -1
  95. package/lib/cjs/{index-D3O_5Hr7.js → index-CgbT-GDe.js} +5 -1
  96. package/lib/cjs/{label-8AXhdqJy.js → label-B2EZulEI.js} +1 -1
  97. package/lib/cjs/{language-utils-CMK9eR4Q.js → language-utils-DjVt82-o.js} +1 -1
  98. package/lib/cjs/loader.cjs.js +3 -3
  99. package/lib/cjs/{slot-utils-BIdgEejh.js → slot-utils-mZWWDERy.js} +1 -1
  100. package/lib/cjs/{themeable-component-B3llZmjN.js → themeable-component-DtTN09xK.js} +1 -1
  101. package/lib/collection/collection-manifest.json +1 -0
  102. package/lib/collection/common-strings.js +22 -0
  103. package/lib/collection/components/duet-alert/duet-alert.js +21 -30
  104. package/lib/collection/components/duet-badge/duet-badge.js +13 -2
  105. package/lib/collection/components/duet-banner/duet-banner.css +27 -0
  106. package/lib/collection/components/duet-banner/duet-banner.js +15 -4
  107. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  108. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  109. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  110. package/lib/collection/components/duet-card/duet-card.css +12 -3
  111. package/lib/collection/components/duet-card/duet-card.js +36 -4
  112. package/lib/collection/components/duet-chip/duet-chip.css +6 -6
  113. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  114. package/lib/collection/components/duet-choice/duet-choice.css +4 -4
  115. package/lib/collection/components/duet-choice/duet-choice.js +6 -27
  116. package/lib/collection/components/duet-choice-group/duet-choice-group.js +24 -15
  117. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  118. package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
  119. package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
  120. package/lib/collection/components/duet-date-picker/duet-date-picker.css +2 -2
  121. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  122. package/lib/collection/components/duet-grid/duet-grid.js +7 -6
  123. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  124. package/lib/collection/components/duet-heading/duet-heading.css +1 -0
  125. package/lib/collection/components/duet-hero/duet-hero.css +282 -0
  126. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  127. package/lib/collection/components/duet-indicator/duet-indicator.css +46 -0
  128. package/lib/collection/components/duet-indicator/duet-indicator.js +104 -0
  129. package/lib/collection/components/duet-input/duet-input.js +8 -8
  130. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  131. package/lib/collection/components/duet-link/duet-link.js +2 -2
  132. package/lib/collection/components/duet-list/duet-list.js +1 -1
  133. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  134. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  135. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  136. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  137. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  138. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  139. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  140. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  141. package/lib/collection/components/duet-modal/duet-modal.js +7 -7
  142. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  143. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  144. package/lib/collection/components/duet-notification/duet-notification.css +4 -15
  145. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  146. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +0 -15
  147. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  148. package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
  149. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  150. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  151. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  152. package/lib/collection/components/duet-panel/duet-panel.js +2 -2
  153. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  154. package/lib/collection/components/duet-phone-input/duet-phone-input.js +56 -3
  155. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  156. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  157. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  158. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  159. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  160. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  161. package/lib/collection/components/duet-scrollable/duet-scrollable.js +6 -6
  162. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  163. package/lib/collection/components/duet-select/duet-select.js +5 -5
  164. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  165. package/lib/collection/components/duet-share-chart/duet-share-chart.js +4 -2
  166. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  167. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  168. package/lib/collection/components/duet-slideout/duet-slideout.css +26 -19
  169. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  170. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +2 -2
  171. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  172. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +3 -3
  173. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  174. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +16 -22
  175. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +9 -14
  176. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +2 -2
  177. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  178. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  179. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  180. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  181. package/lib/collection/components/duet-step/duet-step.js +2 -2
  182. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  183. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  184. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  185. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  186. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  187. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  188. package/lib/collection/components/duet-tab/duet-tab.js +53 -3
  189. package/lib/collection/components/duet-tab-group/duet-tab-group.css +6 -61
  190. package/lib/collection/components/duet-tab-group/duet-tab-group.js +15 -13
  191. package/lib/collection/components/duet-table/duet-table.js +2 -2
  192. package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
  193. package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
  194. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  195. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  196. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  197. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +9 -14
  198. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  199. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  200. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  201. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  202. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  203. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  204. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  205. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  206. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  207. package/lib/duet/duet.esm.js +1 -1
  208. package/lib/duet/{p-83f6beb5.entry.js → p-0528f691.entry.js} +1 -1
  209. package/lib/duet/{p-fb3b8e0f.entry.js → p-076d2d0d.entry.js} +1 -1
  210. package/lib/duet/p-1228299f.entry.js +4 -0
  211. package/lib/duet/{p-37222c50.entry.js → p-15d4751c.entry.js} +1 -1
  212. package/lib/duet/p-167290f7.entry.js +4 -0
  213. package/lib/duet/p-1995091e.entry.js +4 -0
  214. package/lib/duet/{p-DyXNfxdT.js → p-1s1EpusX.js} +1 -1
  215. package/lib/duet/p-208fdfe6.entry.js +4 -0
  216. package/lib/duet/p-25ebe6a5.entry.js +4 -0
  217. package/lib/duet/{p-c6479694.entry.js → p-26146512.entry.js} +1 -1
  218. package/lib/duet/p-263790e3.entry.js +4 -0
  219. package/lib/duet/p-2c976b5a.entry.js +4 -0
  220. package/lib/duet/p-338667ab.entry.js +4 -0
  221. package/lib/duet/{p-7a9f3475.entry.js → p-3389969d.entry.js} +1 -1
  222. package/lib/duet/{p-30ade10d.entry.js → p-39087512.entry.js} +1 -1
  223. package/lib/duet/{p-402c8cd9.entry.js → p-3c7ba14f.entry.js} +1 -1
  224. package/lib/duet/p-3d3aff4c.entry.js +4 -0
  225. package/lib/duet/p-3facac5a.entry.js +4 -0
  226. package/lib/duet/{p-ec6e097b.entry.js → p-4107efb5.entry.js} +1 -1
  227. package/lib/duet/p-41dd144f.entry.js +4 -0
  228. package/lib/duet/{p-c8308bec.entry.js → p-4289c214.entry.js} +1 -1
  229. package/lib/duet/p-46eaee49.entry.js +4 -0
  230. package/lib/duet/p-493d938a.entry.js +4 -0
  231. package/lib/duet/{p-9973c0dc.entry.js → p-4b032feb.entry.js} +1 -1
  232. package/lib/duet/{p-64f8d654.entry.js → p-4f638a3d.entry.js} +1 -1
  233. package/lib/duet/{p-04ce95ba.entry.js → p-503a290b.entry.js} +1 -1
  234. package/lib/duet/p-50afabfb.entry.js +4 -0
  235. package/lib/duet/p-537d3b11.entry.js +4 -0
  236. package/lib/duet/{p-72c2ba6b.entry.js → p-55a63695.entry.js} +1 -1
  237. package/lib/duet/{p-35ac072d.entry.js → p-59cd72fc.entry.js} +1 -1
  238. package/lib/duet/{p-06ed84cb.entry.js → p-5a8f14cf.entry.js} +1 -1
  239. package/lib/duet/{p-73ce0ef8.entry.js → p-5b2527f7.entry.js} +1 -1
  240. package/lib/duet/p-5efda812.entry.js +4 -0
  241. package/lib/duet/{p-a440c5b3.entry.js → p-61105f0d.entry.js} +1 -1
  242. package/lib/duet/{p-dee8ff90.entry.js → p-6943a2ef.entry.js} +1 -1
  243. package/lib/duet/p-6a95d722.entry.js +4 -0
  244. package/lib/duet/{p-4628e002.entry.js → p-6fe283f7.entry.js} +1 -1
  245. package/lib/duet/p-72c7db64.entry.js +4 -0
  246. package/lib/duet/{p-9a1f29ac.entry.js → p-7379c2ed.entry.js} +1 -1
  247. package/lib/duet/p-75fd0eca.entry.js +4 -0
  248. package/lib/duet/{p-6aa6ce7d.entry.js → p-79c93372.entry.js} +1 -1
  249. package/lib/duet/{p-2057cc55.entry.js → p-7ace4629.entry.js} +1 -1
  250. package/lib/duet/p-875dd701.entry.js +4 -0
  251. package/lib/duet/{p-867aab83.entry.js → p-8ff78f91.entry.js} +1 -1
  252. package/lib/duet/{p-64ebf5e9.entry.js → p-91f39296.entry.js} +1 -1
  253. package/lib/duet/{p-71a6b137.entry.js → p-931b4437.entry.js} +1 -1
  254. package/lib/duet/{p-d2ceafd6.entry.js → p-9500f26b.entry.js} +1 -1
  255. package/lib/duet/{p-3dd4fbf1.entry.js → p-950c4ec0.entry.js} +1 -1
  256. package/lib/duet/{p-ab0cd4e5.entry.js → p-9af77c24.entry.js} +1 -1
  257. package/lib/duet/{p-4aece4f9.entry.js → p-9f9576a2.entry.js} +1 -1
  258. package/lib/duet/p-BSOF0zb5.js +4 -0
  259. package/lib/duet/p-BWvtXbhA.js +4 -0
  260. package/lib/duet/{p-DdwVwK5C.js → p-BXJZKiJg.js} +1 -1
  261. package/lib/duet/p-Cq7Ixl9a.js +4 -0
  262. package/lib/duet/p-DejMEymG.js +4 -0
  263. package/lib/duet/{p-T5kkooky.js → p-G09pKpI-.js} +1 -1
  264. package/lib/duet/{p-BaR6ufr4.js → p-Ob09ol4-.js} +1 -1
  265. package/lib/duet/p-a0e708db.entry.js +4 -0
  266. package/lib/duet/{p-e9421a0e.entry.js → p-a274b8fd.entry.js} +1 -1
  267. package/lib/duet/p-a431d704.entry.js +4 -0
  268. package/lib/duet/{p-71603edd.entry.js → p-a582e823.entry.js} +1 -1
  269. package/lib/duet/p-a9094bdc.entry.js +4 -0
  270. package/lib/duet/{p-625347d3.entry.js → p-a94cc8a6.entry.js} +1 -1
  271. package/lib/duet/p-aWO-HcmJ.js +4 -0
  272. package/lib/duet/p-ab61831a.entry.js +4 -0
  273. package/lib/duet/{p-5564a39c.entry.js → p-b001a8a4.entry.js} +1 -1
  274. package/lib/duet/{p-d96af9c9.entry.js → p-b025df86.entry.js} +1 -1
  275. package/lib/duet/{p-15593e3e.entry.js → p-b2780442.entry.js} +1 -1
  276. package/lib/duet/{p-0ebeee02.entry.js → p-b37b1542.entry.js} +1 -1
  277. package/lib/duet/{p-bcbe4d11.entry.js → p-b6354004.entry.js} +1 -1
  278. package/lib/duet/{p-a09c6e42.entry.js → p-ba6dc53e.entry.js} +1 -1
  279. package/lib/duet/{p-6a6e4d82.entry.js → p-babbf633.entry.js} +1 -1
  280. package/lib/duet/{p-a72b8cf4.entry.js → p-bc7d4da0.entry.js} +1 -1
  281. package/lib/duet/{p-2e34dd28.entry.js → p-bed6b29f.entry.js} +1 -1
  282. package/lib/duet/{p-ba2b47d3.entry.js → p-c43669b3.entry.js} +1 -1
  283. package/lib/duet/{p-a4a768bf.entry.js → p-c4fe8bae.entry.js} +1 -1
  284. package/lib/duet/{p-9fff2189.entry.js → p-c516bf93.entry.js} +1 -1
  285. package/lib/duet/{p-d0f3a2e6.entry.js → p-c588fc15.entry.js} +1 -1
  286. package/lib/duet/p-c745c02a.entry.js +4 -0
  287. package/lib/duet/{p-67290546.entry.js → p-ca2fd9dc.entry.js} +1 -1
  288. package/lib/duet/{p-652eefa8.entry.js → p-cbedc26b.entry.js} +1 -1
  289. package/lib/duet/{p-2d3d11db.entry.js → p-cd4d12c2.entry.js} +1 -1
  290. package/lib/duet/{p-65a8dd89.entry.js → p-d11b094d.entry.js} +1 -1
  291. package/lib/duet/{p-774cf9f5.entry.js → p-d65a706f.entry.js} +1 -1
  292. package/lib/duet/{p-466ef37c.entry.js → p-deb90dc7.entry.js} +1 -1
  293. package/lib/duet/p-e439d733.entry.js +4 -0
  294. package/lib/duet/p-e882bbb5.entry.js +4 -0
  295. package/lib/duet/{p-5ab64521.entry.js → p-ed5f5c6b.entry.js} +1 -1
  296. package/lib/duet/{p-7c814d9a.entry.js → p-ef821bec.entry.js} +1 -1
  297. package/lib/duet/p-f46480c6.entry.js +4 -0
  298. package/lib/duet/{p-66c7af01.entry.js → p-f6b76f66.entry.js} +1 -1
  299. package/lib/duet/{p-94e33308.entry.js → p-fc7d6429.entry.js} +1 -1
  300. package/lib/duet/{p-693fda6b.entry.js → p-fd989bd6.entry.js} +1 -1
  301. package/lib/duet/{p-bf5fae27.entry.js → p-fe29dee3.entry.js} +1 -1
  302. package/lib/duet/{p-2792ec0b.entry.js → p-fe393084.entry.js} +1 -1
  303. package/lib/duet/{p-B_VBeM3r.js → p-vt84lkeQ.js} +1 -1
  304. package/lib/esm/{a11y-utils-CXqm1pj1.js → a11y-utils-CROKOfOD.js} +1 -1
  305. package/lib/esm/{app-globals-s-_CGo5t.js → app-globals-CahJi_2c.js} +1 -1
  306. package/lib/esm/{common-strings-MxsWrBCY.js → common-strings-BWvtXbhA.js} +23 -1
  307. package/lib/esm/duet-action-button.entry.js +3 -3
  308. package/lib/esm/duet-alert.entry.js +24 -33
  309. package/lib/esm/duet-badge.entry.js +16 -4
  310. package/lib/esm/duet-banner.entry.js +19 -8
  311. package/lib/esm/duet-breadcrumb.entry.js +7 -7
  312. package/lib/esm/duet-breadcrumbs.entry.js +5 -5
  313. package/lib/esm/duet-button_2.entry.js +6 -6
  314. package/lib/esm/duet-callout.entry.js +5 -5
  315. package/lib/esm/duet-caption_4.entry.js +11 -11
  316. package/lib/esm/duet-card.entry.js +14 -8
  317. package/lib/esm/duet-checkbox.entry.js +2 -2
  318. package/lib/esm/duet-checkmark.entry.js +4 -4
  319. package/lib/esm/duet-chip.entry.js +4 -4
  320. package/lib/esm/duet-choice_2.entry.js +36 -29
  321. package/lib/esm/duet-collapsible.entry.js +3 -3
  322. package/lib/esm/duet-combobox.entry.js +4 -4
  323. package/lib/esm/duet-contact-card.entry.js +5 -5
  324. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  325. package/lib/esm/duet-date-picker.entry.js +19 -9
  326. package/lib/esm/duet-divider_2.entry.js +3 -3
  327. package/lib/esm/duet-editable-table_3.entry.js +8 -8
  328. package/lib/esm/duet-empty-state.entry.js +2 -2
  329. package/lib/esm/duet-fieldset.entry.js +6 -6
  330. package/lib/esm/duet-file-chooser.entry.js +2 -2
  331. package/lib/esm/duet-footer.entry.js +5 -5
  332. package/lib/esm/duet-grid_2.entry.js +11 -10
  333. package/lib/esm/duet-header_2.entry.js +5 -5
  334. package/lib/esm/duet-hero.entry.js +6 -6
  335. package/lib/esm/duet-icon.entry.js +5 -5
  336. package/lib/esm/duet-indicator.entry.js +51 -0
  337. package/lib/esm/duet-input_2.entry.js +11 -11
  338. package/lib/esm/duet-layout.entry.js +7 -7
  339. package/lib/esm/duet-list_2.entry.js +5 -5
  340. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  341. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  342. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  343. package/lib/esm/duet-menu-bar-item.entry.js +8 -8
  344. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  345. package/lib/esm/duet-menu-bar.entry.js +6 -6
  346. package/lib/esm/duet-modal.entry.js +13 -13
  347. package/lib/esm/duet-multiselect.entry.js +10 -10
  348. package/lib/esm/duet-nav.entry.js +3 -3
  349. package/lib/esm/duet-notification_2.entry.js +9 -9
  350. package/lib/esm/duet-number-input.entry.js +6 -6
  351. package/lib/esm/duet-overlay.entry.js +3 -3
  352. package/lib/esm/duet-page-heading.entry.js +4 -4
  353. package/lib/esm/duet-pagination_2.entry.js +16 -16
  354. package/lib/esm/duet-panel.entry.js +4 -4
  355. package/lib/esm/duet-phone-input.entry.js +22 -7
  356. package/lib/esm/duet-popup-menu_2.entry.js +6 -6
  357. package/lib/esm/duet-progress.entry.js +3 -3
  358. package/lib/esm/duet-promo-card.entry.js +5 -5
  359. package/lib/esm/duet-radio_2.entry.js +7 -7
  360. package/lib/esm/duet-range-slider.entry.js +6 -6
  361. package/lib/esm/duet-scrollable_3.entry.js +30 -25
  362. package/lib/esm/duet-section-layout.entry.js +4 -4
  363. package/lib/esm/duet-select.entry.js +9 -9
  364. package/lib/esm/duet-shaped-image.entry.js +4 -4
  365. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  366. package/lib/esm/duet-share-chart.entry.js +8 -6
  367. package/lib/esm/duet-show-more.entry.js +5 -5
  368. package/lib/esm/duet-slideout-lang.entry.js +5 -5
  369. package/lib/esm/duet-slideout-link.entry.js +9 -9
  370. package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
  371. package/lib/esm/duet-slideout-panel.entry.js +14 -19
  372. package/lib/esm/duet-slideout.entry.js +10 -10
  373. package/lib/esm/duet-status-icon.entry.js +3 -3
  374. package/lib/esm/duet-step_2.entry.js +7 -7
  375. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  376. package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
  377. package/lib/esm/duet-submenu-bar-item.entry.js +7 -7
  378. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  379. package/lib/esm/duet-submenu-bar.entry.js +7 -7
  380. package/lib/esm/duet-textarea.entry.js +8 -8
  381. package/lib/esm/duet-toggle.entry.js +6 -6
  382. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  383. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  384. package/lib/esm/duet-toolbar-item.entry.js +10 -10
  385. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  386. package/lib/esm/duet-toolbar.entry.js +4 -4
  387. package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
  388. package/lib/esm/duet-tooltip.entry.js +4 -4
  389. package/lib/esm/duet-tray.entry.js +5 -5
  390. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  391. package/lib/esm/duet-upload-item.entry.js +6 -6
  392. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  393. package/lib/esm/duet.js +4 -4
  394. package/lib/esm/{errorcodes.utils-Bre55Njd.js → errorcodes.utils-6V_f8y5q.js} +1 -1
  395. package/lib/esm/{focus-utils-vvgYykmM.js → focus-utils-CErdQceY.js} +1 -1
  396. package/lib/esm/{index-B_VBeM3r.js → index-vt84lkeQ.js} +5 -1
  397. package/lib/esm/{label-l-Eza5H3.js → label-BosP5JdK.js} +1 -1
  398. package/lib/esm/{language-utils-B7PXWqpg.js → language-utils-B9dLrWKg.js} +1 -1
  399. package/lib/esm/loader.js +4 -4
  400. package/lib/esm/{slot-utils-aDCRCdc4.js → slot-utils-BZXZ33TK.js} +1 -1
  401. package/lib/esm/{themeable-component-DPqozkF4.js → themeable-component-CsnFpp6R.js} +1 -1
  402. package/lib/types/common-strings.d.ts +2 -0
  403. package/lib/types/components/duet-alert/duet-alert.d.ts +5 -2
  404. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
  405. package/lib/types/components/duet-banner/duet-banner.d.ts +2 -0
  406. package/lib/types/components/duet-card/duet-card.d.ts +6 -0
  407. package/lib/types/components/duet-choice/duet-choice.d.ts +0 -4
  408. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +2 -2
  409. package/lib/types/components/duet-indicator/duet-indicator.d.ts +17 -0
  410. package/lib/types/components/duet-input/duet-input.d.ts +0 -2
  411. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +14 -0
  412. package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
  413. package/lib/types/components.d.ts +87 -15
  414. package/package.json +3 -3
  415. package/lib/duet/p-05766552.entry.js +0 -4
  416. package/lib/duet/p-065f7e81.entry.js +0 -4
  417. package/lib/duet/p-08ed76c2.entry.js +0 -4
  418. package/lib/duet/p-0a448068.entry.js +0 -4
  419. package/lib/duet/p-0dc4fe1d.entry.js +0 -4
  420. package/lib/duet/p-106d3089.entry.js +0 -4
  421. package/lib/duet/p-28a998f9.entry.js +0 -4
  422. package/lib/duet/p-39169420.entry.js +0 -4
  423. package/lib/duet/p-4ee576a2.entry.js +0 -4
  424. package/lib/duet/p-500d799b.entry.js +0 -4
  425. package/lib/duet/p-5848a34c.entry.js +0 -4
  426. package/lib/duet/p-60be3836.entry.js +0 -4
  427. package/lib/duet/p-73290da8.entry.js +0 -4
  428. package/lib/duet/p-767afcf4.entry.js +0 -4
  429. package/lib/duet/p-7f1fb1a9.entry.js +0 -4
  430. package/lib/duet/p-8596c993.entry.js +0 -4
  431. package/lib/duet/p-86b74914.entry.js +0 -4
  432. package/lib/duet/p-8ed6f7c7.entry.js +0 -4
  433. package/lib/duet/p-960f95b4.entry.js +0 -4
  434. package/lib/duet/p-9fade6a0.entry.js +0 -4
  435. package/lib/duet/p-BdUQgQFn.js +0 -4
  436. package/lib/duet/p-DzerL_yn.js +0 -4
  437. package/lib/duet/p-KocOARXM.js +0 -4
  438. package/lib/duet/p-MxsWrBCY.js +0 -4
  439. package/lib/duet/p-OdY4DjJa.js +0 -4
  440. package/lib/duet/p-a3a2e89e.entry.js +0 -4
  441. package/lib/duet/p-aefcd222.entry.js +0 -4
  442. package/lib/duet/p-b84ac47b.entry.js +0 -4
  443. package/lib/duet/p-ba0fcce1.entry.js +0 -4
  444. package/lib/duet/p-baeb1090.entry.js +0 -4
  445. package/lib/duet/p-d28a8bc4.entry.js +0 -4
  446. package/lib/duet/p-effefdec.entry.js +0 -4
@@ -84,6 +84,18 @@ export class DuetBanner {
84
84
  }
85
85
  }
86
86
  };
87
+ this.isTurva2 = () => { var _a; return (_a = document.documentElement.attributes.getNamedItem("class")) === null || _a === void 0 ? void 0 : _a.value.includes("duet-theme-turva2"); };
88
+ this.getBackgroundColor = () => {
89
+ if (this.theme === "turva" && this.backgroundColor === "primary-lighter") {
90
+ if (this.isTurva2()) {
91
+ return "#fdf7f2"; // turva-nude-00 - not yet available as token
92
+ }
93
+ else {
94
+ return getColorByName("gray-lighter", this.theme);
95
+ }
96
+ }
97
+ return getColorByName(this.backgroundColor, this.theme);
98
+ };
87
99
  }
88
100
  /**
89
101
  * Component lifecycle events.
@@ -110,8 +122,7 @@ export class DuetBanner {
110
122
  * Always the last one of the class.
111
123
  */
112
124
  render() {
113
- const backgroundColorTemp = this.theme === "turva" && this.backgroundColor === "primary-lighter" ? "gray-lighter" : this.backgroundColor;
114
- const backgroundColor = getColorByName(backgroundColorTemp, this.theme);
125
+ const backgroundColor = this.getBackgroundColor();
115
126
  const color = getColorByName(this.textColor, this.theme);
116
127
  const bannerStyles = {
117
128
  backgroundColor,
@@ -120,14 +131,14 @@ export class DuetBanner {
120
131
  img: { src: this.image, alt: "", loading: "lazy", class: "image", role: "presentation" },
121
132
  sources: parsePossibleJSON(this.sources),
122
133
  };
123
- return (h(Host, { key: '12cea619c3a29693b7bbb7189962468eee715f68', class: { "duet-m-0": this.margin === "none" } }, h("aside", { key: 'b4e70162ea52e299c8cc3481961e1354f7a348d0', class: {
134
+ return (h(Host, { key: 'c8e3140dea20791061866feb62588c5a5491f277', class: { "duet-m-0": this.margin === "none" } }, h("aside", { key: '7e6834ed607505ee35d026a71d3406280644856b', class: {
124
135
  "duet-banner": true,
125
136
  "duet-theme-turva": this.theme === "turva",
126
137
  [this.currentSize]: true,
127
138
  "size-medium": this.size === "medium" || this.size === "large",
128
139
  "size-large": this.size === "large",
129
140
  "no-image": !this.image,
130
- }, 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" })))))));
141
+ }, 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" })))))));
131
142
  }
132
143
  static get is() { return "duet-banner"; }
133
144
  static get encapsulation() { return "shadow"; }
@@ -53,14 +53,14 @@ export class DuetBreadcrumb {
53
53
  */
54
54
  render() {
55
55
  var _a;
56
- return (h(Host, { key: '1ea751b77b703d6054db7aa48bdeb9ac2a7cf742', role: "listitem" }, h("div", { key: '147ae3c1a0ff6744d0d363ce2162b0acf8083535', class: "container" }, this.icon === "arrow-right-small-icon" && (h("duet-icon", { key: 'd1642e1065ca32cc3b05d2724fbb3a1fae48fe2d', class: "duet-breadrumbs-arrow", size: "auto", icon: arrowRightSmallIcon.svg, margin: "none", color: "currentColor" })), h("a", { key: '43ab506c5a641b44b99b9589eb7afdf7dc12172e', class: {
56
+ return (h(Host, { key: 'd05c4b430940dbe6a733142ee936b924f2799ac6', role: "listitem" }, h("div", { key: 'ce34a5a56bbf7a5eabb6e412f28d08468f825f92', class: "container" }, this.icon === "arrow-right-small-icon" && (h("duet-icon", { key: 'f8c658fa04c10bf9811e7f50c02804d52de4a5d5', class: "duet-breadrumbs-arrow", size: "auto", icon: arrowRightSmallIcon.svg, margin: "none", color: "currentColor" })), h("a", { key: '68efbf80adf236d465d586bdb042564c6f5f099c', class: {
57
57
  "duet-breadcrumb": true,
58
58
  "duet-theme-turva": this.theme === "turva",
59
59
  }, 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" &&
60
60
  this.icon && [
61
- h("duet-icon", { key: '73e448e620cf4284d620295ee791e8ebf8d8f491', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
62
- this.hasSlottedContent && h("duet-spacer", { key: '9b0715738cc45d50d03a74f3310b654566fa0d59', size: "x-small", direction: "horizontal" }),
63
- ], h("slot", { key: '67cd2c6250927322b997b23a199c5ea758e2829e' })))));
61
+ h("duet-icon", { key: '35bcda8314d27b7124f0abad5c3f3cb2195d7907', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
62
+ this.hasSlottedContent && h("duet-spacer", { key: '6010731131d5abc52d07990cfe88734152a3e66f', size: "x-small", direction: "horizontal" }),
63
+ ], h("slot", { key: '48732b6e039eee3f5e72aa6687baf7b4feff64a9' })))));
64
64
  }
65
65
  static get is() { return "duet-breadcrumb"; }
66
66
  static get encapsulation() { return "shadow"; }
@@ -62,11 +62,11 @@ export class DuetBreadcrumbs {
62
62
  */
63
63
  render() {
64
64
  const color = getColorByName(this.color);
65
- return (h(Host, { key: 'a33196239b9b8f6933f6e8b46df005591cd7234c' }, h("nav", { key: 'e132c17465eefb28d91c1a2a98fb6fa6bf812c92', "aria-label": this.breadcrumbsAriaLabel, class: {
65
+ return (h(Host, { key: '36f67b82a722d5c4017bb4cec37fd7149572d264' }, h("nav", { key: 'f8fe3f4e521969a60d9428a354a88152171613ec', "aria-label": this.breadcrumbsAriaLabel, class: {
66
66
  "duet-breadcrumbs": true,
67
67
  "duet-theme-turva": this.theme === "turva",
68
68
  [this.variation]: true,
69
- } }, h("div", { key: '515e61b4523d016aeaf79f9785f335793f3fd8a7', class: "container" }, h("div", { key: '5cc015e840532c3e5450d2f99ea6dbfe16da9e21', role: "list", class: "list", style: { color } }, h("slot", { key: '712824b51a9798d5df687a5146e7564c32e3b192' })), h("div", { key: '6c669b82b4d9bebfec76cd852e422df64fc378f7', class: "bottom-border bottom-border--container" })), h("div", { key: '04cb09bd7682b668fd9ca24ddd91efea24da9bf6', class: "bottom-border bottom-border--nav" }))));
69
+ } }, h("div", { key: '78f711e9262e47c989705552d2ab75e65ae17fbe', class: "container" }, h("div", { key: 'bfc70b5d984cc57ef2591f4a3ecf452db9ae0ed6', role: "list", class: "list", style: { color } }, h("slot", { key: '96e85ea897f84aef0111f41d1e91ac2a263e8d66' })), h("div", { key: 'b99f56d5dba834d934872b86fcb8e46205ae3084', class: "bottom-border bottom-border--container" })), h("div", { key: '1d96cf880260a6fa1fb39cbc0e76e7b5df8f208c', class: "bottom-border bottom-border--nav" }))));
70
70
  }
71
71
  static get is() { return "duet-breadcrumbs"; }
72
72
  static get encapsulation() { return "shadow"; }
@@ -37,11 +37,11 @@ export class DuetCallout {
37
37
  <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"/>
38
38
  </svg>
39
39
  `;
40
- return (h(Host, { key: 'c491469b698a73c9a411cf3f660770be81879bd7' }, h("div", { key: '4c7e1af2f3c229e617d04c0aaf1355bce04a2d6d', class: {
40
+ return (h(Host, { key: 'e0a035450d6e7305b25de43ed55f4ffe7a15a0e3' }, h("div", { key: '6c5d998d494deab47f1384005e7d2dfb95246c7b', class: {
41
41
  "duet-callout": true,
42
42
  "duet-theme-turva": this.theme === "turva",
43
43
  "duet-m-0": this.margin === "none",
44
- } }, h("figure", { key: 'eb03690c450a0d767e18bffdbce24d83e3334e65', class: "container" }, h("duet-icon", { key: '1695f3f5c59f29b3497a9df3269e791bc19095a6', 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: '6297aefa621ef90e3cb100bcfd07c798cf9b378a' }, h("slot", { key: '14186875763fbf1989d9de9cb90706be15de8508' })), this.hasAuthorSlot && (h("figcaption", { key: 'c17e4fe83fb3c067c4c91369ee6d80a2a6abf3a8', class: "author" }, h("span", { key: 'fac4c2303e1ff78e28fd1538ab43d1b19e84610f' }, "\u2014 "), h("slot", { key: '648acac653c20369d7d52a5537c43175cb4dbd5d', name: "author" })))))));
44
+ } }, h("figure", { key: '48c6d6f720cd951a3e80e953265a1c79174c0dd6', class: "container" }, h("duet-icon", { key: 'f25c2dbb92d9a7f05b11512f9ef73052585916a7', 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: 'e01e4dcdc7992709803169f5fb85183134f7608f' }, h("slot", { key: '7d23fc2421ababa106e834cbb1681d7b94137574' })), this.hasAuthorSlot && (h("figcaption", { key: 'ccd723ba6d25df159a5826a0ab652cde0556659d', class: "author" }, h("span", { key: '0daa1d1540484278f462a1f6ea258dd292f5548c' }, "\u2014 "), h("slot", { key: '47f2ade5a9f6e081482c243fa52942de8fa523e8', name: "author" })))))));
45
45
  }
46
46
  static get is() { return "duet-callout"; }
47
47
  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 {
@@ -51,6 +51,12 @@ export class DuetCard {
51
51
  * in order to avoid nested headings.
52
52
  */
53
53
  this.headingLevel = "h2";
54
+ /**
55
+ * Custom color to be used for the icon, as a design token entered in camelCase
56
+ * or kebab-case. Example: "color-primary". This property can also be set to
57
+ * "currentColor".
58
+ */
59
+ this.iconColor = "currentColor";
54
60
  /**
55
61
  * Custom color to be used for the card background, as a design token entered in
56
62
  * camelCase or kebab-case. Example: "primary".
@@ -115,7 +121,7 @@ export class DuetCard {
115
121
  const headingStyles = {
116
122
  backgroundColor: getColorByName(this.headingBackground),
117
123
  };
118
- 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" })));
124
+ 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" })));
119
125
  if (this.collapsible) {
120
126
  const ariaLabel = (_a = getElementsFromNamedSlot(this.element, "heading")) === null || _a === void 0 ? void 0 : _a.map(e => e.textContent).join(" ");
121
127
  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)));
@@ -143,10 +149,10 @@ export class DuetCard {
143
149
  const styles = {
144
150
  backgroundColor: getColorByName(this.background),
145
151
  };
146
- return (h(Host, { key: '611705991716b0c002889bf3a9e980f8da1d95f0', class: {
152
+ return (h(Host, { key: 'b229fd28e5e5058ba357db373f25c9de68dc2694', class: {
147
153
  "duet-m-0": this.margin === "none",
148
154
  "duet-card-info": this.variation === "info",
149
- } }, h(TagName, { key: '89e99da5b6adc642345ba6f7a21c7081b9d4e9f3', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
155
+ } }, h(TagName, { key: 'b80082cae6d0e4d564bc1eca68f57749b6975e0e', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
150
156
  "duet-card": true,
151
157
  [this.padding]: true,
152
158
  [this.variation]: true,
@@ -156,7 +162,7 @@ export class DuetCard {
156
162
  "duet-card-has-bg": this.background !== "gray-lightest",
157
163
  "duet-card-has-icon": !!this.icon,
158
164
  "duet-card-collapsed": this.collapsible && !this.open,
159
- } }, 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" })))))));
165
+ } }, 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" })))))));
160
166
  }
161
167
  static get is() { return "duet-card"; }
162
168
  static get encapsulation() { return "shadow"; }
@@ -373,6 +379,32 @@ export class DuetCard {
373
379
  "setter": false,
374
380
  "reflect": false
375
381
  },
382
+ "iconColor": {
383
+ "type": "string",
384
+ "attribute": "icon-color",
385
+ "mutable": false,
386
+ "complexType": {
387
+ "original": "DuetColor",
388
+ "resolved": "string",
389
+ "references": {
390
+ "DuetColor": {
391
+ "location": "import",
392
+ "path": "../../common-types",
393
+ "id": "src/common-types.d.ts::DuetColor"
394
+ }
395
+ }
396
+ },
397
+ "required": false,
398
+ "optional": false,
399
+ "docs": {
400
+ "tags": [],
401
+ "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\"."
402
+ },
403
+ "getter": false,
404
+ "setter": false,
405
+ "reflect": true,
406
+ "defaultValue": "\"currentColor\""
407
+ },
376
408
  "image": {
377
409
  "type": "string",
378
410
  "attribute": "image",
@@ -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 {
@@ -33,11 +33,11 @@ export class DuetCheckmark {
33
33
  inheritGlobalTheme(this);
34
34
  }
35
35
  render() {
36
- return (h(Host, { key: '9a2512992413ec797c17d55d2a41908cda0e6307', class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: 'f95a151961586c89597dd2d31436deecc0cabf4d', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { key: '42f1b50012a17910a3c1d91bac31bfc370c73abf', class: {
36
+ return (h(Host, { key: '9f320db3e8549d7d12de134f013789c1f412b947', class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: 'a8fe605a230fd34d9714bd5194c281b87394bd24', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { key: '91fabdc145a023efc8317ef543296d4e5e2509d9', class: {
37
37
  "duet-checkmark-container": true,
38
38
  center: this.center,
39
39
  "duet-checkmark-radio": this.type === "radio",
40
- } }, this.checked && h("div", { key: 'ed62491f54edf398da1c22ae672683107b6aa8bc', class: "duet-checkmark" })))));
40
+ } }, this.checked && h("div", { key: '9a418c3b3cd7c451f52003eb5efe16e90a4d5841', class: "duet-checkmark" })))));
41
41
  }
42
42
  static get is() { return "duet-checkmark"; }
43
43
  static get originalStyleUrls() {
@@ -205,19 +205,19 @@ input:focus {
205
205
  outline: 0;
206
206
  }
207
207
 
208
- :host(.user-is-tabbing) .checked.focus.duet-choice-label {
208
+ .checked.focus.duet-choice-label {
209
209
  box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3);
210
210
  }
211
211
 
212
- :host(.user-is-tabbing) :not(.checked).focus.duet-choice-label {
212
+ :not(.checked).focus.duet-choice-label {
213
213
  box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3;
214
214
  }
215
215
 
216
- :host(.user-is-tabbing) .duet-theme-turva .checked.focus.duet-choice-label {
216
+ .duet-theme-turva .checked.focus.duet-choice-label {
217
217
  box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2);
218
218
  }
219
219
 
220
- :host(.user-is-tabbing) .duet-theme-turva :not(.checked).focus.duet-choice-label {
220
+ .duet-theme-turva :not(.checked).focus.duet-choice-label {
221
221
  box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a;
222
222
  }
223
223
 
@@ -316,7 +316,6 @@ export class DuetChoice {
316
316
  disconnectedCallback() {
317
317
  disconnectLanguageChangeObserver(this);
318
318
  unsubscribeTabbingChange(this);
319
- this.duetChoiceRemove.emit();
320
319
  }
321
320
  /**
322
321
  * Sets focus on the specified `duet-choice`. Use this method instead of the global
@@ -423,7 +422,7 @@ export class DuetChoice {
423
422
  * Always the last one in the class.
424
423
  */
425
424
  render() {
426
- return (h(Host, { key: '06d726d888b8bbe02687c02328f66f51d0dae771', class: {
425
+ return (h(Host, { key: '8e0d44318e6f23b8cd30378f4a2d6d9d04775caf', class: {
427
426
  horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
428
427
  "horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
429
428
  "duet-m-0": this.margin === "none",
@@ -431,10 +430,10 @@ export class DuetChoice {
431
430
  "duet-theme-turva": this.theme === "turva",
432
431
  "no-hover": this.isHovering,
433
432
  disabled: this.getDisabled(),
434
- } }, h("div", { key: '067924fab7ad625a18ee6b6f39f3ca8dde9d5c10', class: {
433
+ } }, h("div", { key: '94430228895b0bbd2ddf795f24e2c598356fa005', class: {
435
434
  "duet-choice-card-flextainer": true,
436
435
  "duet-theme-turva": this.theme === "turva",
437
- } }, h("div", { key: 'a58a7846b2828e79e9400b7c486a0f9de3d4ab3d', class: {
436
+ } }, h("div", { key: 'e8e03959412c6c2d97e38969c2264cbd2dc93e9f', class: {
438
437
  "duet-choice-card": true,
439
438
  "has-icon": !!this.icon,
440
439
  "has-info": this.hasInfo,
@@ -443,16 +442,16 @@ export class DuetChoice {
443
442
  collapsible: this.collapsible,
444
443
  "collapsible-force-expanded": this.collapsibleForceExpanded,
445
444
  "duet-p-0": this.padding === "none",
446
- } }, h("slot", { key: '386591372a335d268e810bc802f5be4c29911b57', name: "choiceinput" }), h("label", { key: '52824be19fac2401ab7d6f03e5492fc6ebf00d96', class: {
445
+ } }, h("slot", { key: 'f535dd20ca1dfcefc16cefbe057ac14a9f8d0b14', name: "choiceinput" }), h("label", { key: '70fa4e33e814019ead7d1bdce622d289fbdde47c', class: {
447
446
  "duet-choice-label": true,
448
447
  "has-before-text": this.hasBeforeText,
449
448
  checked: this.checked,
450
449
  focus: this.focus,
451
450
  disabled: this.getDisabled(),
452
- }, onClick: this.onClick }, this.hasBeforeText && h("slot", { key: '6131bd5c8920cfd31580f6d8f9cdbd86e5f52417', name: "before-text" }), this.icon && (h("div", { key: '53f4b49c2382e52b5af320770e3e4eda7bfdf2ff', class: "duet-choice-card-icon" }, h("duet-icon", { key: '293a89d99eacde234ef75ebf3698f2b3c3244267', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { key: '0a5701b9d58548848cb0d5b967b8eee25c832640', class: "duet-choice-card-text" }, h("div", { key: 'adf3e61d9fdddf5224b18b0f78fa66223983256f' }, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", { key: 'ea4bac6f47a918d98e9320887f7778c87b3b8f78' }, h("duet-spacer", { key: '15e89147f61506a5e27b01c55502a88d7f79febc', size: "xx-small" }), h("duet-caption", { key: '5561c087e78449458cfeab32763ec644cb7fa649', margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", { key: 'd8db69006ef2338ee3537a2a56d89fc139b140a6' }, h("duet-spacer", { key: '941275e2d434c44aa6dacba4fd2493016bf8d50d', size: "xx-small" }), h("slot", { key: 'f5c2ae2364210ff12a9613eb552dc840baa53ee1', name: "additional" })))), h("div", { key: '0c169d5c1c23dfe5f219e27487c27e6e8c9d3075' }, h("div", { key: 'c59a5ea2c61272b04e391ed6129e52b86b28a311', class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { key: 'b758c82def9700f5bbcdc61b157839c10f355616', class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { key: '1af2142cee3c22de176fd3fa08834465ce9e2ed6', ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
451
+ }, onClick: this.onClick }, this.hasBeforeText && h("slot", { key: 'ddf8b67cf503633034ca3c8c94d5923c99dace05', name: "before-text" }), this.icon && (h("div", { key: 'a5d3e1324aafbece41a54e14c9852c264bf0d9b0', class: "duet-choice-card-icon" }, h("duet-icon", { key: '0382f9205997600a146e181e3783d75538b1925e', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { key: '14a3b6689b6527398fdf46729e56b7a97383bf93', class: "duet-choice-card-text" }, h("div", { key: '26144b6d2c60fbb338e08e6355e0b2ea2138a682' }, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", { key: '4059958e6434760f1f3afe27e4d5196595fe000b' }, h("duet-spacer", { key: 'beec0d868ce1f590a55ae2b30e12eb1b1cc4b35e', size: "xx-small" }), h("duet-caption", { key: 'bd0c1c6cba4398151bafcdfbc79c85c6e9aad9cc', margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", { key: '35c0cad0a89437af7ef7bc8e842d7d52bfaca6ed' }, h("duet-spacer", { key: 'db0d7edb4432c1693160898f653ceff941ea5c72', size: "xx-small" }), h("slot", { key: '72baad0387d37783233fac3bdb9ca218036f6317', name: "additional" })))), h("div", { key: 'c844c7c3d338339d4260986a68d90f43ebe5a7ba' }, h("div", { key: '79f40913fe5c59d12db856a401a80f35addd0379', class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { key: 'dff8e47098a438673e4e87e1dd132280daa3eaf8', class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { key: '22d9672aa71a3a41ed928f9b90782f335b40ea86', ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
453
452
  "duet-choice-info-toggle": true,
454
453
  "duet-theme-turva": this.theme === "turva",
455
- }, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, h("div", { key: '0ed648961997a6b8818f56af884ef33ce46729d8', class: "duet-choice-info-icon" }, h("duet-icon", { key: '4fe8d197fb0c3ecc22541e599ebb51856789c41a', icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (h("span", { key: '5f6daaafc55e878f0e51882ae829f5dc256086ba', id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
454
+ }, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, h("div", { key: '263cdcb2a2121471627759f4ab9bab65436636de', class: "duet-choice-info-icon" }, h("duet-icon", { key: 'ed64691ddbd6ba488a7b3c494d64849cef448a33', icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (h("span", { key: 'a6dba636c1c5df9f2180bbaae7d71d1571b7e356', id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
456
455
  "duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
457
456
  "duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
458
457
  } }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", { ref: span => (this.infoContainer = span), tabindex: "-1", class: "duet-choice-info-container", onKeyUp: e => this.handleEscape(e) }, h("span", null, h("slot", { name: "info" })), h("slot", null))) : (h("span", { id: `${this.choiceId}-collapsible-content` }, h("slot", null)))))) : null));
@@ -1197,26 +1196,6 @@ export class DuetChoice {
1197
1196
  }
1198
1197
  }
1199
1198
  }
1200
- }, {
1201
- "method": "duetChoiceRemove",
1202
- "name": "duetChoiceRemove",
1203
- "bubbles": true,
1204
- "cancelable": true,
1205
- "composed": true,
1206
- "docs": {
1207
- "tags": [],
1208
- "text": "Emitted when the component is removed from the DOM."
1209
- },
1210
- "complexType": {
1211
- "original": "CustomEvent",
1212
- "resolved": "CustomEvent<any>",
1213
- "references": {
1214
- "CustomEvent": {
1215
- "location": "global",
1216
- "id": "global::CustomEvent"
1217
- }
1218
- }
1219
- }
1220
1199
  }, {
1221
1200
  "method": "duetChange",
1222
1201
  "name": "duetChange",
@@ -70,6 +70,16 @@ export class DuetChoiceGroup {
70
70
  * unread by screen readers.
71
71
  */
72
72
  this.accessibleLiveError = "polite";
73
+ // Call this.updateChoices when a child choice has been removed - addtions are handled by events
74
+ this.childObserverCallback = (mutationList) => {
75
+ if (mutationList.some(r => {
76
+ var _a;
77
+ return ((_a = r.removedNodes) === null || _a === void 0 ? void 0 : _a.length) > 0 &&
78
+ Array.from(r.removedNodes.values()).some(n => n.nodeName.toLowerCase() === "duet-choice");
79
+ })) {
80
+ this.updateChoices();
81
+ }
82
+ };
73
83
  /**
74
84
  * Component event handling.
75
85
  */
@@ -82,16 +92,7 @@ export class DuetChoiceGroup {
82
92
  this.value = selectedChoice.value;
83
93
  }
84
94
  };
85
- this.onChoiceReady = (ev) => {
86
- const choice = ev.target;
87
- if (choice.closest("duet-choice-group") === this.element && !this.choices.has(choice)) {
88
- this.choices.add(choice);
89
- this.updateChoices();
90
- }
91
- };
92
- this.onChoiceRemove = (ev) => {
93
- const choice = ev.target;
94
- this.choices.delete(choice);
95
+ this.onChoiceReady = () => {
95
96
  this.updateChoices();
96
97
  };
97
98
  }
@@ -107,6 +108,8 @@ export class DuetChoiceGroup {
107
108
  if (Build.isServer) {
108
109
  return;
109
110
  }
111
+ this.childObserver = new MutationObserver(this.childObserverCallback.bind(this));
112
+ this.childObserver.observe(this.element, { childList: true, subtree: true });
110
113
  this.setInitialValue();
111
114
  this.updateChoices();
112
115
  }
@@ -114,9 +117,9 @@ export class DuetChoiceGroup {
114
117
  if (Build.isServer) {
115
118
  return;
116
119
  }
117
- if (this.mutationO) {
118
- this.mutationO.disconnect();
119
- this.mutationO = undefined;
120
+ if (this.childObserver) {
121
+ this.childObserver.disconnect();
122
+ this.childObserver = undefined;
120
123
  }
121
124
  }
122
125
  componentWillLoad() {
@@ -143,6 +146,12 @@ export class DuetChoiceGroup {
143
146
  var _a;
144
147
  const value = (_a = this.value) !== null && _a !== void 0 ? _a : this.initialValue;
145
148
  let hasChecked = false;
149
+ this.choices.clear();
150
+ this.element.querySelectorAll("duet-choice").forEach((choice) => {
151
+ if (choice.closest("duet-choice-group") === this.element) {
152
+ this.choices.add(choice);
153
+ }
154
+ });
146
155
  // Walk the DOM in reverse order, since the last selected one wins
147
156
  for (const choice of Array.from(this.choices)) {
148
157
  choice.name = this.name;
@@ -174,14 +183,14 @@ export class DuetChoiceGroup {
174
183
  * Always the last one in the class.
175
184
  */
176
185
  render() {
177
- return (h(Host, { key: 'd339b389eb4a7e9867dc0646ad760bce3e835714', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
186
+ return (h(Host, { key: 'a2f979cd415b3a04026750a8e1e0f4dc3a95485c', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, class: {
178
187
  horizontal: this.direction === "horizontal",
179
188
  "duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
180
189
  "duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
181
190
  "duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
182
191
  "duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
183
192
  "duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
184
- } }, h("duet-fieldset", { key: '00a0c17d4dda00d8482933db51e713995820d82d', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: '3d4ef32226b7f822175c071479f2e3339fbfdf6b', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '89e8ef0c51e053463d12ed01ba61b814b28623ec', name: "tooltip" }), h("div", { key: 'a86be50bed561647750f76764f9998567360318d', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, h("slot", { key: '629c8b4458323f78742eedebe2807010079ccec0' })))));
193
+ } }, h("duet-fieldset", { key: 'b673b6f0485cc403b5d3f64c6e8757597288cb8d', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { key: '6ddf4ce98117de26134b04765292d721bff3d809', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '7b98782b47ebf9c596f6c435f43f8cb41d05a64b', name: "tooltip" }), h("div", { key: '7a3835503a38cf2b677ba3df1b2554432048eefe', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, h("slot", { key: 'fd6d260aa6590ae58095274ac25135e982a94e15' })))));
185
194
  }
186
195
  static get is() { return "duet-choice-group"; }
187
196
  static get encapsulation() { return "shadow"; }
@@ -47,10 +47,10 @@ export class DuetContactCard {
47
47
  render() {
48
48
  const isTurva = this.theme === "turva";
49
49
  const theme = isTurva ? "turva" : "default";
50
- return (h(Host, { key: 'a08fac4daef7586a885d4556d27260feb027d4fb', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: 'd70cc29e06be46210e3150661f16bcf19fab27b1', class: {
50
+ return (h(Host, { key: 'a29a3dab2ac7fb3079f2c1a159af7f4e7b5c226b', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '14753b1f4fc3901aa2285d438c612e66619fabb5', class: {
51
51
  "duet-contact-card": true,
52
52
  "duet-theme-turva": this.theme === "turva",
53
- }, role: "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", { key: '4cde139368ebb252e83638d0634671f2167b14a0' }, this.name && (h("duet-heading", { key: 'c91fe7f5ef066de893cfa2fb4018e9b17e5e66af', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { key: '9ef8bdab5f11c125115cfa147428327131e6086a', class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { key: 'd07bbb21d8963247655a3b172e26c9f1becc2fd2', class: "email" }, h("duet-icon", { key: 'd25b13911b29302d0eabc8f715e13ff59b473c7f', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '2765a6cbc0fb671c3cb8a37d7ac2fe578f369cfe', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { key: 'fcbed4d2a82ed0ee1e90665f5e42f10bfdcaf344', class: "phone" }, h("duet-icon", { key: '17233a8a4863c68255e207c23de3667437bd1177', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: '0a49811728ddfd13096701fe9d33c54722554107', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { key: 'eb199cf8f4f83cb7ebebbfb2e791c78b6424091e', class: "call-to-action" }, h("duet-button", { key: 'c8e0d2d72d5b15a74b0d7fd79a595c6ffddf6f7e', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", { key: '5e2f0915b883c85ad3bca3f54b62347af8250749' }), h("slot", { key: '388383ea2ca2a756a28d13bdbf521cd85094526a' }))));
53
+ }, role: "group", "aria-label": this.name }, this.image ? h("img", { class: "image", src: this.image, alt: this.name }) : h("div", null), h("div", { key: 'dc77c6904966d2b6438391dd2c827832ffe86325' }, this.name && (h("duet-heading", { key: 'a10e331782d05726446653615ba8effbb1de3257', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (h("duet-paragraph", { key: '3f49dc9a8933eb5551f259e2dcca7f434f8e5082', class: "description", margin: "none", theme: theme }, this.description)), this.email && (h("div", { key: '99ad9df72533f48e298153aeadf18cb50e37d1e9', class: "email" }, h("duet-icon", { key: 'cbe804f4877e52df6f678ace315efe098b3ef914', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: 'e909d9bc1096700ef5fb6d7a1e87c499d585d4dd', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (h("div", { key: 'fe217c26608f2f461999844a3a00fe335c1e4509', class: "phone" }, h("duet-icon", { key: '1194445745ecb176f6fcc39a18c3e233921524d9', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), h("duet-link", { key: 'b83e145b7909c3ef697932ff1cf95d223d4a4b14', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (h("div", { key: 'fdb27957cd0b60be23e8b4df7f062da5cc3eafc1', class: "call-to-action" }, h("duet-button", { key: 'f7cd81b4f2712057ee507a9f0f01e59121e7960e', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), h("div", { key: 'b3a716a438e7793ef194ae0b1067d926b75e0925' }), h("slot", { key: '3d4bea81e03b40457deb9fd0731c14a9b80d465e' }))));
54
54
  }
55
55
  static get is() { return "duet-contact-card"; }
56
56
  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
  /**
@@ -376,12 +376,12 @@
376
376
  background: rgb(255, 241, 241) !important;
377
377
  box-shadow: 0 0 0 1px #171c3a !important;
378
378
  }
379
- [aria-pressed=true] .duet-date-table-button, :focus .duet-date-table-button {
379
+ .selected .duet-date-table-button, :focus .duet-date-table-button {
380
380
  color: rgb(255, 255, 255) !important;
381
381
  background: rgb(0, 119, 179) !important;
382
382
  outline: 0;
383
383
  }
384
- .duet-theme-turva [aria-pressed=true] .duet-date-table-button, .duet-theme-turva :focus .duet-date-table-button {
384
+ .duet-theme-turva .selected .duet-date-table-button, .duet-theme-turva :focus .duet-date-table-button {
385
385
  color: rgb(255, 255, 255) !important;
386
386
  background: rgb(198, 12, 48) !important;
387
387
  }
@@ -71,20 +71,20 @@ export class DuetFieldset {
71
71
  * Always the last one in the class.
72
72
  */
73
73
  render() {
74
- return (h(Host, { key: 'c761c38f09035452c65fd2a660bc83eb9f0325a7', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: 'c62cd3a0354883251b153612cd9a685059205638', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
74
+ return (h(Host, { key: '258a1f3685f4b3062dde173a5794b9b28c09907f', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: '2c02911b79dc15bab34df3f44a51422915f85512', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
75
75
  // NVDA and VoiceOver do not yet support aria-errormessage
76
76
  // once they do, we can remove errors from the aria-describedby
77
77
  // aria-errormessage={this.error ? this.errorId : null}
78
78
  class: {
79
79
  "duet-fieldset": true,
80
80
  "duet-theme-turva": this.theme === "turva",
81
- } }, h("legend", { key: 'a67feca7ba42a9de83e3eacfa41bb9c53de0185d', id: this.labelId }, h(this.labelHeadingLevel, { key: '98598e545d1ac5d30cead1818c2831285e21fd59' }, this.label), this.caption && h("span", { key: '44d72ba880fb2ba4b2e9826389ca0b23a4c09446' }, this.caption)), h("div", { key: 'd6680f823096d1510778845d46bcf10f3070064c', class: {
81
+ } }, h("legend", { key: 'e8cc33c8ce84e853fc7c7346b530e2e6aaad3183', id: this.labelId }, h(this.labelHeadingLevel, { key: '67c582882054f866aeeb51fe1a3cd265fba86c3d' }, this.label), this.caption && h("span", { key: 'd7e7385c337f132b5f9c9a05fa1d0882059b5b4f' }, this.caption)), h("div", { key: '1bde79106ff72cb9a950abb9063c1f361ebc88b8', class: {
82
82
  "duet-legend-wrapper": true,
83
83
  "duet-legend-has-caption": !!this.caption,
84
84
  "duet-legend-has-tooltip": this.hasTooltip,
85
85
  "duet-legend-hidden": this.labelHidden,
86
86
  "duet-legend-compact": this.compactLabel,
87
- } }, h("div", { key: '126ab7bb76240a4da7d9b647955a8a804875e375', class: "duet-fieldset-label" }, h("span", { key: 'ff60e083f1776471163c59d196d5a98e32279456', "aria-hidden": "true" }, this.label), h("slot", { key: '06eb238c6e9921dca17ca43ae38a1de2351af119', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '5a7a0bcb4167f6ffbf89880060e05f82e032012b', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: '7781c0787fe4ff082d80e9bc2e7ea2280da13d7e', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: 'd6227947f219d39ca25e5a3ac582e4459e58d504' }), h("span", { key: 'ecf7f364237951e9bceacf067e854118b5676009', 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: 'e7a456498d709f36eba051c5ce891f5b9b39c5fb', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
87
+ } }, h("div", { key: '5bdd5a1d10ec0ca02f0d663c4c0398cf4f15f912', class: "duet-fieldset-label" }, h("span", { key: '6da5eaba488e3691f1b3f5e4641b0043f7b264dc', "aria-hidden": "true" }, this.label), h("slot", { key: '8720d1bc6a9fd0b88a2e2f3ec04a783f33c25f8f', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: 'f2701433f3204d8c606d025e2db9824f8975dd6b', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: 'edf83cd535f5139e64f86a962f9a247e33d9b3b1', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: 'b8aa86236854c21d9662cf8bf46c70d5cf8c0d68' }), h("span", { key: 'b8877c8c9a710aa4b59d77ebd847ff3f13b57d6d', 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: 'b8781cebef3af6ea44dd2754ae2ae7c05f63b1f1', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
88
88
  }
89
89
  static get is() { return "duet-fieldset"; }
90
90
  static get encapsulation() { return "shadow"; }