@duetds/components 10.0.0-alpha.21 → 10.0.0-alpha.22

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 (531) hide show
  1. package/hydrate/index.js +687 -352
  2. package/hydrate/index.mjs +687 -352
  3. package/lib/cjs/{a11y-utils-qqRC-Gci.js → a11y-utils-DrU-H4zQ.js} +1 -1
  4. package/lib/cjs/{app-globals-B6AFACoz.js → app-globals-D7ZqN2ux.js} +1 -1
  5. package/lib/cjs/{common-strings-BhhnIQp3.js → common-strings-DQ3xONmA.js} +6 -0
  6. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-alert.cjs.entry.js +32 -9
  8. package/lib/cjs/duet-badge.cjs.entry.js +5 -5
  9. package/lib/cjs/duet-banner.cjs.entry.js +5 -5
  10. package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
  11. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
  12. package/lib/cjs/duet-button_2.cjs.entry.js +14 -16
  13. package/lib/cjs/duet-callout.cjs.entry.js +6 -6
  14. package/lib/cjs/duet-caption_4.cjs.entry.js +21 -18
  15. package/lib/cjs/duet-card.cjs.entry.js +7 -7
  16. package/lib/cjs/duet-checkbox.cjs.entry.js +5 -5
  17. package/lib/cjs/duet-checkmark.cjs.entry.js +5 -5
  18. package/lib/cjs/duet-chip.cjs.entry.js +13 -6
  19. package/lib/cjs/duet-choice_2.cjs.entry.js +22 -16
  20. package/lib/cjs/duet-collapsible.cjs.entry.js +6 -6
  21. package/lib/cjs/duet-combobox.cjs.entry.js +5 -5
  22. package/lib/cjs/duet-contact-card.cjs.entry.js +6 -6
  23. package/lib/cjs/duet-cookie-consent.cjs.entry.js +4 -4
  24. package/lib/cjs/duet-date-picker.cjs.entry.js +9 -9
  25. package/lib/cjs/duet-divider_2.cjs.entry.js +5 -5
  26. package/lib/cjs/duet-editable-table_3.cjs.entry.js +70 -10
  27. package/lib/cjs/duet-empty-state.cjs.entry.js +5 -5
  28. package/lib/cjs/duet-fieldset.cjs.entry.js +7 -7
  29. package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
  30. package/lib/cjs/duet-footer.cjs.entry.js +10 -10
  31. package/lib/cjs/duet-grid_2.cjs.entry.js +38 -9
  32. package/lib/cjs/duet-header_2.cjs.entry.js +6 -6
  33. package/lib/cjs/duet-hero.cjs.entry.js +37 -11
  34. package/lib/cjs/duet-icon.cjs.entry.js +6 -6
  35. package/lib/cjs/duet-input_2.cjs.entry.js +14 -13
  36. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  37. package/lib/cjs/duet-list_2.cjs.entry.js +15 -6
  38. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +5 -5
  39. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +5 -5
  40. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +7 -7
  41. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +9 -9
  42. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +5 -5
  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 +11 -11
  46. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  48. package/lib/cjs/duet-number-input.cjs.entry.js +7 -7
  49. package/lib/cjs/duet-overlay.cjs.entry.js +4 -4
  50. package/lib/cjs/duet-page-heading.cjs.entry.js +5 -5
  51. package/lib/cjs/duet-pagination_2.cjs.entry.js +18 -18
  52. package/lib/cjs/duet-phone-input.cjs.entry.js +17 -15
  53. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +41 -13
  54. package/lib/cjs/duet-progress.cjs.entry.js +4 -4
  55. package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
  56. package/lib/cjs/duet-radio_2.cjs.entry.js +15 -9
  57. package/lib/cjs/duet-range-slider.cjs.entry.js +7 -7
  58. package/lib/cjs/duet-scrollable_3.cjs.entry.js +17 -17
  59. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  60. package/lib/cjs/duet-select.cjs.entry.js +10 -10
  61. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  62. package/lib/cjs/duet-share-chart-item.cjs.entry.js +22 -0
  63. package/lib/cjs/duet-share-chart.cjs.entry.js +85 -0
  64. package/lib/cjs/duet-show-more.cjs.entry.js +6 -6
  65. package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
  66. package/lib/cjs/duet-slideout-link.cjs.entry.js +9 -9
  67. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
  68. package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
  69. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  70. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  71. package/lib/cjs/duet-step_2.cjs.entry.js +22 -8
  72. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +5 -5
  73. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -7
  74. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +8 -8
  75. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +4 -4
  76. package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
  77. package/lib/cjs/duet-textarea.cjs.entry.js +10 -10
  78. package/lib/cjs/duet-toggle.cjs.entry.js +7 -7
  79. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +5 -5
  80. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +7 -7
  81. package/lib/cjs/duet-toolbar-item.cjs.entry.js +10 -10
  82. package/lib/cjs/duet-toolbar-link.cjs.entry.js +5 -5
  83. package/lib/cjs/duet-toolbar.cjs.entry.js +5 -5
  84. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +10 -10
  85. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
  86. package/lib/cjs/duet-tray.cjs.entry.js +6 -6
  87. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  88. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  89. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  90. package/lib/cjs/duet.cjs.js +3 -3
  91. package/lib/cjs/{errorcodes.utils-CWkNAdwZ.js → errorcodes.utils-BCVCTW73.js} +1 -1
  92. package/lib/cjs/{focus-utils-C1gNgKW5.js → focus-utils-B_auBCmH.js} +1 -1
  93. package/lib/cjs/{index-C-4fRZp1.js → index-DzIZlfK0.js} +9 -1
  94. package/lib/cjs/{label-BYZNaLK_.js → label-yz2T8WXb.js} +1 -1
  95. package/lib/cjs/{language-utils-DjPkoVoW.js → language-utils-KOz2utYq.js} +9 -1
  96. package/lib/cjs/loader.cjs.js +3 -3
  97. package/lib/cjs/{slot-utils-DYGV7vRF.js → slot-utils-DO9r1K5y.js} +1 -1
  98. package/lib/cjs/themeable-component-CwVP03Xh.js +23 -0
  99. package/lib/collection/collection-manifest.json +2 -0
  100. package/lib/collection/common/themeable-component.js +11 -3
  101. package/lib/collection/common-strings.js +5 -0
  102. package/lib/collection/components/duet-action-button/duet-action-button.css +15 -0
  103. package/lib/collection/components/duet-alert/duet-alert.js +28 -5
  104. package/lib/collection/components/duet-badge/duet-badge.css +12 -0
  105. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  106. package/lib/collection/components/duet-banner/duet-banner.js +2 -2
  107. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  108. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +11 -0
  109. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  110. package/lib/collection/components/duet-button/duet-button.css +61 -0
  111. package/lib/collection/components/duet-button/duet-button.js +5 -8
  112. package/lib/collection/components/duet-callout/duet-callout.css +5 -0
  113. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  114. package/lib/collection/components/duet-caption/duet-caption.css +4 -0
  115. package/lib/collection/components/duet-caption/duet-caption.js +2 -2
  116. package/lib/collection/components/duet-card/duet-card.css +13 -0
  117. package/lib/collection/components/duet-card/duet-card.js +3 -3
  118. package/lib/collection/components/duet-checkbox/duet-checkbox.css +11 -0
  119. package/lib/collection/components/duet-checkbox/duet-checkbox.js +2 -2
  120. package/lib/collection/components/duet-chip/duet-chip.css +25 -0
  121. package/lib/collection/components/duet-chip/duet-chip.js +10 -1
  122. package/lib/collection/components/duet-choice/duet-checkmark.css +4 -0
  123. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  124. package/lib/collection/components/duet-choice/duet-choice.css +51 -0
  125. package/lib/collection/components/duet-choice/duet-choice.js +7 -7
  126. package/lib/collection/components/duet-choice-group/duet-choice-group.js +11 -2
  127. package/lib/collection/components/duet-collapsible/duet-collapsible.css +8 -0
  128. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  129. package/lib/collection/components/duet-combobox/duet-combobox.css +7 -0
  130. package/lib/collection/components/duet-contact-card/duet-contact-card.css +4 -0
  131. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  132. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +9 -0
  133. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  134. package/lib/collection/components/duet-date-picker/duet-date-picker.css +37 -1
  135. package/lib/collection/components/duet-date-picker/duet-date-picker.js +2 -2
  136. package/lib/collection/components/duet-divider/duet-divider.css +4 -2
  137. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  138. package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -2
  139. package/lib/collection/components/duet-empty-state/duet-empty-state.css +4 -0
  140. package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
  141. package/lib/collection/components/duet-fieldset/duet-fieldset.css +4 -0
  142. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  143. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  144. package/lib/collection/components/duet-footer/duet-footer.css +15 -0
  145. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  146. package/lib/collection/components/duet-grid/duet-grid.js +33 -4
  147. package/lib/collection/components/duet-grid-item/duet-grid-item.css +4 -0
  148. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  149. package/lib/collection/components/duet-header/duet-header.css +69 -0
  150. package/lib/collection/components/duet-heading/duet-heading.css +4 -0
  151. package/lib/collection/components/duet-heading/duet-heading.js +2 -2
  152. package/lib/collection/components/duet-hero/duet-hero.css +17 -0
  153. package/lib/collection/components/duet-hero/duet-hero.js +32 -6
  154. package/lib/collection/components/duet-icon/duet-icon.css +7 -0
  155. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  156. package/lib/collection/components/duet-input/duet-input.css +61 -0
  157. package/lib/collection/components/duet-input/duet-input.js +7 -6
  158. package/lib/collection/components/duet-label/duet-label.css +4 -0
  159. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  160. package/lib/collection/components/duet-link/duet-link.css +74 -0
  161. package/lib/collection/components/duet-link/duet-link.js +10 -3
  162. package/lib/collection/components/duet-list/duet-list.js +1 -1
  163. package/lib/collection/components/duet-list-item/duet-list-item.css +20 -0
  164. package/lib/collection/components/duet-list-item/duet-list-item.js +38 -2
  165. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  166. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +7 -0
  167. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
  168. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +6 -0
  169. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  170. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +13 -0
  171. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  172. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +7 -0
  173. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  174. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +15 -0
  175. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  176. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +12 -0
  177. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  178. package/lib/collection/components/duet-modal/duet-modal.css +10 -2
  179. package/lib/collection/components/duet-modal/duet-modal.js +6 -6
  180. package/lib/collection/components/duet-multiselect/duet-multiselect.css +30 -0
  181. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  182. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  183. package/lib/collection/components/duet-notification/duet-notification.css +16 -0
  184. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  185. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +12 -0
  186. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  187. package/lib/collection/components/duet-number-input/duet-number-input.css +7 -0
  188. package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
  189. package/lib/collection/components/duet-overlay/duet-overlay.css +4 -0
  190. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  191. package/lib/collection/components/duet-page-heading/duet-page-heading.css +27 -11
  192. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  193. package/lib/collection/components/duet-pagination/duet-pagination.css +4 -0
  194. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  195. package/lib/collection/components/duet-paragraph/duet-paragraph.css +7 -0
  196. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  197. package/lib/collection/components/duet-phone-input/duet-phone-input.js +13 -11
  198. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +8 -0
  199. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +30 -5
  200. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +10 -0
  201. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +5 -2
  202. package/lib/collection/components/duet-progress/duet-progress.css +19 -0
  203. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  204. package/lib/collection/components/duet-radio/duet-radio.css +20 -0
  205. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  206. package/lib/collection/components/duet-radio-group/duet-radio-group.js +10 -1
  207. package/lib/collection/components/duet-range-slider/duet-range-slider.css +40 -0
  208. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  209. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +4 -0
  210. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  211. package/lib/collection/components/duet-scrollable/duet-scrollable.css +7 -0
  212. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  213. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  214. package/lib/collection/components/duet-select/duet-select.css +33 -0
  215. package/lib/collection/components/duet-select/duet-select.js +5 -5
  216. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  217. package/lib/collection/components/duet-share-chart/duet-share-chart.css +82 -0
  218. package/lib/collection/components/duet-share-chart/duet-share-chart.js +142 -0
  219. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +67 -0
  220. package/lib/collection/components/duet-show-more/duet-show-more.css +4 -0
  221. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  222. package/lib/collection/components/duet-slideout/duet-slideout.css +28 -0
  223. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  224. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +4 -0
  225. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  226. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +10 -0
  227. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  228. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +20 -0
  229. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  230. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +13 -0
  231. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  232. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  233. package/lib/collection/components/duet-spinner/duet-spinner.css +3 -0
  234. package/lib/collection/components/duet-spinner/duet-spinner.js +3 -5
  235. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  236. package/lib/collection/components/duet-step/duet-step.css +13 -0
  237. package/lib/collection/components/duet-step/duet-step.js +2 -2
  238. package/lib/collection/components/duet-stepper/duet-stepper.js +24 -6
  239. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +14 -0
  240. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  241. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +31 -0
  242. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  243. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +18 -0
  244. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  245. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +20 -0
  246. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  247. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +22 -0
  248. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  249. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  250. package/lib/collection/components/duet-tab-group/duet-tab-group.css +31 -0
  251. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  252. package/lib/collection/components/duet-table/duet-table-styles.js +60 -0
  253. package/lib/collection/components/duet-table/duet-table.js +2 -2
  254. package/lib/collection/components/duet-textarea/duet-textarea.css +29 -0
  255. package/lib/collection/components/duet-textarea/duet-textarea.js +5 -5
  256. package/lib/collection/components/duet-toggle/duet-toggle.css +11 -0
  257. package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
  258. package/lib/collection/components/duet-toolbar/duet-toolbar.css +7 -0
  259. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  260. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +21 -0
  261. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  262. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +10 -0
  263. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  264. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +25 -0
  265. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  266. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +24 -0
  267. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  268. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +7 -0
  269. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  270. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +25 -0
  271. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  272. package/lib/collection/components/duet-tray/duet-tray.css +12 -0
  273. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  274. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  275. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  276. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  277. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  278. package/lib/collection/utils/language-utils.js +7 -0
  279. package/lib/duet/duet.esm.js +1 -1
  280. package/lib/duet/{p-fde72aa3.entry.js → p-021ca010.entry.js} +1 -1
  281. package/lib/duet/p-11a0b4b1.entry.js +4 -0
  282. package/lib/duet/p-1289085f.entry.js +4 -0
  283. package/lib/duet/{p-547e30c3.entry.js → p-128fac38.entry.js} +1 -1
  284. package/lib/duet/{p-2df8b608.entry.js → p-15aeca04.entry.js} +1 -1
  285. package/lib/duet/p-16e1210a.entry.js +4 -0
  286. package/lib/duet/p-19163909.entry.js +4 -0
  287. package/lib/duet/p-1a79adf4.entry.js +4 -0
  288. package/lib/duet/p-1cb5a9ef.entry.js +4 -0
  289. package/lib/duet/p-2100f112.entry.js +4 -0
  290. package/lib/duet/p-249e9a88.entry.js +4 -0
  291. package/lib/duet/{p-5964d490.entry.js → p-2ae3f776.entry.js} +1 -1
  292. package/lib/duet/p-2f60185b.entry.js +4 -0
  293. package/lib/duet/{p-9f48a30c.entry.js → p-306c2a29.entry.js} +1 -1
  294. package/lib/duet/{p-d064dd2d.entry.js → p-3569fb01.entry.js} +1 -1
  295. package/lib/duet/{p-294adde1.entry.js → p-38440fec.entry.js} +1 -1
  296. package/lib/duet/{p-e0fcc26a.entry.js → p-3d998041.entry.js} +1 -1
  297. package/lib/duet/{p-d74bb3b4.entry.js → p-3ea1b697.entry.js} +1 -1
  298. package/lib/duet/p-41438696.entry.js +4 -0
  299. package/lib/duet/{p-4ec38183.entry.js → p-426ad459.entry.js} +1 -1
  300. package/lib/duet/p-428ea355.entry.js +4 -0
  301. package/lib/duet/p-44e3dd4d.entry.js +4 -0
  302. package/lib/duet/p-4d4c8e31.entry.js +4 -0
  303. package/lib/duet/{p-722eb4b8.entry.js → p-4f832459.entry.js} +1 -1
  304. package/lib/duet/p-508242df.entry.js +4 -0
  305. package/lib/duet/{p-2661240f.entry.js → p-50868a2f.entry.js} +1 -1
  306. package/lib/duet/{p-23adcf71.entry.js → p-50b61aab.entry.js} +1 -1
  307. package/lib/duet/{p-0fb24b59.entry.js → p-5b65fbef.entry.js} +1 -1
  308. package/lib/duet/p-631e6aaa.entry.js +4 -0
  309. package/lib/duet/p-6802cdc6.entry.js +4 -0
  310. package/lib/duet/p-680e5ae3.entry.js +4 -0
  311. package/lib/duet/{p-d195712b.entry.js → p-6fc62f6a.entry.js} +1 -1
  312. package/lib/duet/{p-1b3b9ed6.entry.js → p-749947e9.entry.js} +1 -1
  313. package/lib/duet/{p-7189e720.entry.js → p-753047f7.entry.js} +1 -1
  314. package/lib/duet/p-765d5aa1.entry.js +4 -0
  315. package/lib/duet/p-767a1f6f.entry.js +4 -0
  316. package/lib/duet/p-77fc84fa.entry.js +4 -0
  317. package/lib/duet/{p-958a2b42.entry.js → p-7956a7c7.entry.js} +1 -1
  318. package/lib/duet/{p-f865dcfc.entry.js → p-7b72e97e.entry.js} +1 -1
  319. package/lib/duet/{p-008beeb0.entry.js → p-7f0336e3.entry.js} +1 -1
  320. package/lib/duet/p-7f79795b.entry.js +4 -0
  321. package/lib/duet/p-7yB0WcN3.js +4 -0
  322. package/lib/duet/{p-a24fff3c.entry.js → p-82ef56e8.entry.js} +1 -1
  323. package/lib/duet/{p-595b2f3b.entry.js → p-876556b5.entry.js} +1 -1
  324. package/lib/duet/{p-90c43d96.entry.js → p-8c3ef65c.entry.js} +1 -1
  325. package/lib/duet/{p-72a4ada8.entry.js → p-8ce7295a.entry.js} +1 -1
  326. package/lib/duet/{p-8c02d2af.entry.js → p-8ee4cced.entry.js} +1 -1
  327. package/lib/duet/p-90ec955a.entry.js +4 -0
  328. package/lib/duet/{p-155586a6.entry.js → p-92f6867e.entry.js} +1 -1
  329. package/lib/duet/{p-f110c4fb.entry.js → p-9c70db83.entry.js} +1 -1
  330. package/lib/duet/p-9d32216e.entry.js +4 -0
  331. package/lib/duet/{p-Djr45qSY.js → p-BMR0um0_.js} +1 -1
  332. package/lib/duet/p-BZd_-P-l.js +4 -0
  333. package/lib/duet/{p-CCVcVc3m.js → p-Bj5nqN_-.js} +1 -1
  334. package/lib/duet/p-BplvOJkj.js +4 -0
  335. package/lib/duet/p-Bx_o402c.js +4 -0
  336. package/lib/duet/p-CR50RA9g.js +4 -0
  337. package/lib/duet/p-MxsWrBCY.js +4 -0
  338. package/lib/duet/p-a11936dc.entry.js +4 -0
  339. package/lib/duet/{p-580d558b.entry.js → p-a1faa55d.entry.js} +1 -1
  340. package/lib/duet/{p-068cfada.entry.js → p-a2cb4c57.entry.js} +1 -1
  341. package/lib/duet/p-a68727d5.entry.js +4 -0
  342. package/lib/duet/{p-6b17cd4a.entry.js → p-a79f3799.entry.js} +1 -1
  343. package/lib/duet/{p-abe188c7.entry.js → p-a898b6ce.entry.js} +1 -1
  344. package/lib/duet/{p-1326964d.entry.js → p-a8ffe18b.entry.js} +1 -1
  345. package/lib/duet/p-abda6219.entry.js +4 -0
  346. package/lib/duet/{p-3ae06437.entry.js → p-adb5edf1.entry.js} +1 -1
  347. package/lib/duet/p-b38ff647.entry.js +4 -0
  348. package/lib/duet/{p-3381e3e2.entry.js → p-b43b56f9.entry.js} +1 -1
  349. package/lib/duet/{p-0e78737d.entry.js → p-b562dcda.entry.js} +1 -1
  350. package/lib/duet/p-bc970f09.entry.js +4 -0
  351. package/lib/duet/{p-e232c7ad.entry.js → p-c07676bf.entry.js} +1 -1
  352. package/lib/duet/{p-ed9b30ed.entry.js → p-c3c96ccd.entry.js} +1 -1
  353. package/lib/duet/p-ca59f39e.entry.js +4 -0
  354. package/lib/duet/p-cafcfc6c.entry.js +4 -0
  355. package/lib/duet/{p-96e70d5b.entry.js → p-cb194f7f.entry.js} +1 -1
  356. package/lib/duet/{p-91e669ab.entry.js → p-cc3d91af.entry.js} +1 -1
  357. package/lib/duet/p-ce23a866.entry.js +4 -0
  358. package/lib/duet/{p-2f30e410.entry.js → p-d1885308.entry.js} +1 -1
  359. package/lib/duet/{p-08affd1f.entry.js → p-d297f286.entry.js} +1 -1
  360. package/lib/duet/p-da53b233.entry.js +4 -0
  361. package/lib/duet/p-de702a7f.entry.js +4 -0
  362. package/lib/duet/{p-909352a9.entry.js → p-dfa128fd.entry.js} +1 -1
  363. package/lib/duet/{p-66693593.entry.js → p-e8a2db32.entry.js} +1 -1
  364. package/lib/duet/{p-2c420105.entry.js → p-eab99c65.entry.js} +1 -1
  365. package/lib/duet/{p-42621b5c.entry.js → p-edd118cc.entry.js} +1 -1
  366. package/lib/duet/p-f3c7655e.entry.js +4 -0
  367. package/lib/duet/p-f3e4bc4f.entry.js +4 -0
  368. package/lib/duet/{p-d7990dff.entry.js → p-f4f9c5ff.entry.js} +1 -1
  369. package/lib/duet/p-fb1b5d61.entry.js +4 -0
  370. package/lib/duet/{p-62c46ebb.entry.js → p-fbd2c394.entry.js} +1 -1
  371. package/lib/duet/p-fdcf696e.entry.js +4 -0
  372. package/lib/duet/p-o7bk2K5K.js +4 -0
  373. package/lib/duet/{p-BAFwjrjc.js → p-qQBlrLa4.js} +1 -1
  374. package/lib/esm/{a11y-utils-CQOH3qGQ.js → a11y-utils-DGj9K5Th.js} +1 -1
  375. package/lib/esm/{app-globals-D3VunZ8x.js → app-globals-_OR3Nu1D.js} +1 -1
  376. package/lib/esm/{common-strings-D6YBFNe9.js → common-strings-MxsWrBCY.js} +6 -1
  377. package/lib/esm/duet-action-button.entry.js +4 -4
  378. package/lib/esm/duet-alert.entry.js +32 -9
  379. package/lib/esm/duet-badge.entry.js +5 -5
  380. package/lib/esm/duet-banner.entry.js +5 -5
  381. package/lib/esm/duet-breadcrumb.entry.js +7 -7
  382. package/lib/esm/duet-breadcrumbs.entry.js +6 -6
  383. package/lib/esm/duet-button_2.entry.js +14 -16
  384. package/lib/esm/duet-callout.entry.js +6 -6
  385. package/lib/esm/duet-caption_4.entry.js +21 -18
  386. package/lib/esm/duet-card.entry.js +7 -7
  387. package/lib/esm/duet-checkbox.entry.js +5 -5
  388. package/lib/esm/duet-checkmark.entry.js +5 -5
  389. package/lib/esm/duet-chip.entry.js +13 -6
  390. package/lib/esm/duet-choice_2.entry.js +22 -16
  391. package/lib/esm/duet-collapsible.entry.js +6 -6
  392. package/lib/esm/duet-combobox.entry.js +5 -5
  393. package/lib/esm/duet-contact-card.entry.js +6 -6
  394. package/lib/esm/duet-cookie-consent.entry.js +4 -4
  395. package/lib/esm/duet-date-picker.entry.js +9 -9
  396. package/lib/esm/duet-divider_2.entry.js +5 -5
  397. package/lib/esm/duet-editable-table_3.entry.js +70 -10
  398. package/lib/esm/duet-empty-state.entry.js +5 -5
  399. package/lib/esm/duet-fieldset.entry.js +7 -7
  400. package/lib/esm/duet-file-chooser.entry.js +3 -3
  401. package/lib/esm/duet-footer.entry.js +10 -10
  402. package/lib/esm/duet-grid_2.entry.js +38 -9
  403. package/lib/esm/duet-header_2.entry.js +6 -6
  404. package/lib/esm/duet-hero.entry.js +37 -11
  405. package/lib/esm/duet-icon.entry.js +6 -6
  406. package/lib/esm/duet-input_2.entry.js +14 -13
  407. package/lib/esm/duet-layout.entry.js +7 -7
  408. package/lib/esm/duet-list_2.entry.js +15 -6
  409. package/lib/esm/duet-menu-bar-button.entry.js +5 -5
  410. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +5 -5
  411. package/lib/esm/duet-menu-bar-dropdown.entry.js +7 -7
  412. package/lib/esm/duet-menu-bar-item.entry.js +9 -9
  413. package/lib/esm/duet-menu-bar-link.entry.js +5 -5
  414. package/lib/esm/duet-menu-bar.entry.js +6 -6
  415. package/lib/esm/duet-modal.entry.js +13 -13
  416. package/lib/esm/duet-multiselect.entry.js +11 -11
  417. package/lib/esm/duet-nav.entry.js +3 -3
  418. package/lib/esm/duet-notification_2.entry.js +9 -9
  419. package/lib/esm/duet-number-input.entry.js +7 -7
  420. package/lib/esm/duet-overlay.entry.js +4 -4
  421. package/lib/esm/duet-page-heading.entry.js +5 -5
  422. package/lib/esm/duet-pagination_2.entry.js +18 -18
  423. package/lib/esm/duet-phone-input.entry.js +17 -15
  424. package/lib/esm/duet-popup-menu_2.entry.js +41 -13
  425. package/lib/esm/duet-progress.entry.js +4 -4
  426. package/lib/esm/duet-promo-card.entry.js +5 -5
  427. package/lib/esm/duet-radio_2.entry.js +15 -9
  428. package/lib/esm/duet-range-slider.entry.js +7 -7
  429. package/lib/esm/duet-scrollable_3.entry.js +17 -17
  430. package/lib/esm/duet-section-layout.entry.js +4 -4
  431. package/lib/esm/duet-select.entry.js +10 -10
  432. package/lib/esm/duet-shaped-image.entry.js +4 -4
  433. package/lib/esm/duet-share-chart-item.entry.js +20 -0
  434. package/lib/esm/duet-share-chart.entry.js +83 -0
  435. package/lib/esm/duet-show-more.entry.js +6 -6
  436. package/lib/esm/duet-slideout-lang.entry.js +5 -5
  437. package/lib/esm/duet-slideout-link.entry.js +9 -9
  438. package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
  439. package/lib/esm/duet-slideout-panel.entry.js +12 -12
  440. package/lib/esm/duet-slideout.entry.js +10 -10
  441. package/lib/esm/duet-status-icon.entry.js +3 -3
  442. package/lib/esm/duet-step_2.entry.js +22 -8
  443. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -5
  444. package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
  445. package/lib/esm/duet-submenu-bar-item.entry.js +8 -8
  446. package/lib/esm/duet-submenu-bar-link.entry.js +4 -4
  447. package/lib/esm/duet-submenu-bar.entry.js +8 -8
  448. package/lib/esm/duet-textarea.entry.js +10 -10
  449. package/lib/esm/duet-toggle.entry.js +7 -7
  450. package/lib/esm/duet-toolbar-dropdown-link.entry.js +5 -5
  451. package/lib/esm/duet-toolbar-dropdown.entry.js +7 -7
  452. package/lib/esm/duet-toolbar-item.entry.js +10 -10
  453. package/lib/esm/duet-toolbar-link.entry.js +5 -5
  454. package/lib/esm/duet-toolbar.entry.js +5 -5
  455. package/lib/esm/duet-tooltip-button_2.entry.js +10 -10
  456. package/lib/esm/duet-tooltip.entry.js +4 -4
  457. package/lib/esm/duet-tray.entry.js +6 -6
  458. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  459. package/lib/esm/duet-upload-item.entry.js +6 -6
  460. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  461. package/lib/esm/duet.js +4 -4
  462. package/lib/esm/{errorcodes.utils--4tOXPNI.js → errorcodes.utils-BGfLijBB.js} +1 -1
  463. package/lib/esm/{focus-utils-CUvuUZuo.js → focus-utils-ugQsYlwO.js} +1 -1
  464. package/lib/esm/{index-Djr45qSY.js → index-BMR0um0_.js} +9 -1
  465. package/lib/esm/{label-DoZNNWYj.js → label-DqBJopZl.js} +1 -1
  466. package/lib/esm/{language-utils-BCnFs8Da.js → language-utils-CETcDBuc.js} +9 -2
  467. package/lib/esm/loader.js +4 -4
  468. package/lib/esm/{slot-utils-CSLPO69o.js → slot-utils-Bt-G2UeG.js} +2 -2
  469. package/lib/esm/themeable-component-CR50RA9g.js +21 -0
  470. package/lib/types/common-strings.d.ts +1 -0
  471. package/lib/types/common-types.d.ts +1 -1
  472. package/lib/types/components/duet-alert/duet-alert.d.ts +1 -0
  473. package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
  474. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +1 -0
  475. package/lib/types/components/duet-hero/duet-hero.d.ts +3 -0
  476. package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
  477. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +0 -1
  478. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +1 -0
  479. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
  480. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
  481. package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +36 -0
  482. package/lib/types/components/duet-share-chart-item/duet-share-chart-item.d.ts +13 -0
  483. package/lib/types/components/duet-spinner/duet-spinner.d.ts +1 -0
  484. package/lib/types/components/duet-stepper/duet-stepper.d.ts +5 -2
  485. package/lib/types/components.d.ts +78 -4
  486. package/lib/types/utils/language-utils.d.ts +1 -0
  487. package/package.json +3 -3
  488. package/lib/cjs/themeable-component-C57DSx5w.js +0 -15
  489. package/lib/duet/p-0239abf5.entry.js +0 -4
  490. package/lib/duet/p-088001ee.entry.js +0 -4
  491. package/lib/duet/p-214a4675.entry.js +0 -4
  492. package/lib/duet/p-22773cce.entry.js +0 -4
  493. package/lib/duet/p-27fbdb67.entry.js +0 -4
  494. package/lib/duet/p-2b3219a7.entry.js +0 -4
  495. package/lib/duet/p-412ef68f.entry.js +0 -4
  496. package/lib/duet/p-47597304.entry.js +0 -4
  497. package/lib/duet/p-4a791521.entry.js +0 -4
  498. package/lib/duet/p-4f750925.entry.js +0 -4
  499. package/lib/duet/p-50d0ff41.entry.js +0 -4
  500. package/lib/duet/p-56574361.entry.js +0 -4
  501. package/lib/duet/p-60eb6013.entry.js +0 -4
  502. package/lib/duet/p-6fe83dd7.entry.js +0 -4
  503. package/lib/duet/p-75db52e4.entry.js +0 -4
  504. package/lib/duet/p-77d68685.entry.js +0 -4
  505. package/lib/duet/p-8974c058.entry.js +0 -4
  506. package/lib/duet/p-8d5e5316.entry.js +0 -4
  507. package/lib/duet/p-9302dba5.entry.js +0 -4
  508. package/lib/duet/p-948f9054.entry.js +0 -4
  509. package/lib/duet/p-98f1ee13.entry.js +0 -4
  510. package/lib/duet/p-9f2785ce.entry.js +0 -4
  511. package/lib/duet/p-CDAA0sDY.js +0 -4
  512. package/lib/duet/p-CO8vqpmW.js +0 -4
  513. package/lib/duet/p-D6YBFNe9.js +0 -4
  514. package/lib/duet/p-DX5mWLkB.js +0 -4
  515. package/lib/duet/p-FCSGJbLJ.js +0 -4
  516. package/lib/duet/p-WhCDf9tt.js +0 -4
  517. package/lib/duet/p-a47e139c.entry.js +0 -4
  518. package/lib/duet/p-b0dc7df5.entry.js +0 -4
  519. package/lib/duet/p-cb60a521.entry.js +0 -4
  520. package/lib/duet/p-cebee4a6.entry.js +0 -4
  521. package/lib/duet/p-d2402c02.entry.js +0 -4
  522. package/lib/duet/p-d56c1db9.entry.js +0 -4
  523. package/lib/duet/p-d60c71fc.entry.js +0 -4
  524. package/lib/duet/p-de5e4a26.entry.js +0 -4
  525. package/lib/duet/p-e8718555.entry.js +0 -4
  526. package/lib/duet/p-f383ccca.entry.js +0 -4
  527. package/lib/duet/p-f593a703.entry.js +0 -4
  528. package/lib/duet/p-fa355e38.entry.js +0 -4
  529. package/lib/duet/p-fc83b2e2.entry.js +0 -4
  530. package/lib/duet/p-k-CbGkPp.js +0 -4
  531. package/lib/esm/themeable-component-WhCDf9tt.js +0 -13
@@ -2,12 +2,17 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { h, Host } from "@stencil/core";
5
+ import { inheritGlobalTheme } from "../../common";
5
6
  /**
6
7
  * @slot label - The list item component’s label content. Use this to put content into description list’s dt element.
7
8
  * @slot value - The list item component’s value content. Use this to put content into description list’s dd element.
8
9
  */
9
10
  export class DuetListItem {
10
11
  constructor() {
12
+ /**
13
+ * Theme.
14
+ */
15
+ this.theme = "";
11
16
  /**
12
17
  * @internal
13
18
  * Enable or disable the automatic responsive behaviour of the list item.
@@ -21,19 +26,23 @@ export class DuetListItem {
21
26
  */
22
27
  this.breakpoint = "small";
23
28
  }
29
+ componentWillLoad() {
30
+ inheritGlobalTheme(this);
31
+ }
24
32
  /**
25
33
  * render() function
26
34
  * Always the last one in the class.
27
35
  */
28
36
  render() {
29
- return (h(Host, { key: 'ea57f0d2a2803d9f9f0f178c784b26532b94ff2e', class: {
37
+ return (h(Host, { key: '8b3943e8c6c0ff91b8405bfedb46b4612da7451b', class: {
38
+ "duet-theme-turva": this.theme === "turva",
30
39
  "duet-no-stacking": !this.responsive,
31
40
  "duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
32
41
  "duet-list-item-breakpoint-small": this.breakpoint === "small",
33
42
  "duet-list-item-breakpoint-medium": this.breakpoint === "medium",
34
43
  "duet-list-item-breakpoint-large": this.breakpoint === "large",
35
44
  "duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
36
- } }, h("dt", { key: '06fdc40c1a205aa3ff2cff0427e42f5d2df4296b' }, h("slot", { key: 'fa97ca272f09a94d00a0301c7fb56420b6939c90', name: "label" })), h("dd", { key: '464b077e52879084b3b5406e43e7dc449b0c2344' }, h("slot", { key: '9a6232fd2b40641c2a0a25f72df72072e4a2671b', name: "value" }))));
45
+ } }, h("dt", { key: '587ef41965121757aa51fc12391e17fd7f5563fd' }, h("slot", { key: '466137ac7d5182f8d0223429f0c5159677d4330b', name: "label" })), h("dd", { key: '4f85ab7cd34ecf8d528857c07e214dbd023d0465' }, h("slot", { key: '3d270b99641b4b152556402d5818216f6d34c5fa', name: "value" }))));
37
46
  }
38
47
  static get is() { return "duet-list-item"; }
39
48
  static get encapsulation() { return "shadow"; }
@@ -49,6 +58,32 @@ export class DuetListItem {
49
58
  }
50
59
  static get properties() {
51
60
  return {
61
+ "theme": {
62
+ "type": "string",
63
+ "attribute": "theme",
64
+ "mutable": true,
65
+ "complexType": {
66
+ "original": "DuetTheme",
67
+ "resolved": "\"\" | \"default\" | \"turva\"",
68
+ "references": {
69
+ "DuetTheme": {
70
+ "location": "import",
71
+ "path": "../../common-types",
72
+ "id": "src/common-types.d.ts::DuetTheme"
73
+ }
74
+ }
75
+ },
76
+ "required": false,
77
+ "optional": false,
78
+ "docs": {
79
+ "tags": [],
80
+ "text": "Theme."
81
+ },
82
+ "getter": false,
83
+ "setter": false,
84
+ "reflect": false,
85
+ "defaultValue": "\"\""
86
+ },
52
87
  "responsive": {
53
88
  "type": "boolean",
54
89
  "attribute": "responsive",
@@ -103,4 +138,5 @@ export class DuetListItem {
103
138
  }
104
139
  };
105
140
  }
141
+ static get elementRef() { return "element"; }
106
142
  }
@@ -105,7 +105,7 @@ export class DuetLogo {
105
105
  */
106
106
  render() {
107
107
  const TagName = this.href ? "a" : "div";
108
- return (h(Host, { key: '45aadc48c1486983e2e7fb1ab40ed4dec5538805', class: { "duet-m-0": this.margin === "none" } }, h(TagName, { key: '0b8ef04de15bd3ec00a0882a33c657191710723c', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
108
+ return (h(Host, { key: '1908da4cc561ca347e983052f2b3e062d16d00db', class: { "duet-m-0": this.margin === "none" } }, h(TagName, { key: '8e459889882f39c5e7b5aff75bbde8de1a778bae', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
109
109
  "duet-logo": true,
110
110
  [this.size]: true,
111
111
  "duet-theme-turva": this.theme === "turva",
@@ -200,4 +200,11 @@
200
200
  .duet-theme-turva .right {
201
201
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
202
202
  color: rgb(23, 28, 58);
203
+ }
204
+
205
+ :host(.duet-theme-turva2) .duet-theme-turva .center {
206
+ color: rgb(35, 46, 61);
207
+ }
208
+ :host(.duet-theme-turva2) .duet-theme-turva .right {
209
+ color: rgb(35, 46, 61);
203
210
  }
@@ -167,14 +167,14 @@ export class DuetMenuBar {
167
167
  render() {
168
168
  const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
169
169
  const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
170
- return (h(Host, { key: '21fc312d35aaa7deb3f4158b0b6d5bf61e90c5df' }, h("nav", { key: '9fa69bcebbba04c2ed12cf254e9452d76c5ac1f3', class: {
170
+ return (h(Host, { key: '349581a9e41fcb410d37770ed09d2311de7d38a5' }, h("nav", { key: '96ed53773cd355d673a2b3977b40286d67985810', class: {
171
171
  "duet-menu-bar": true,
172
172
  "duet-theme-turva": this.theme === "turva",
173
173
  "horizontal-nav": isUsedAsAdditionalHorizontalNav,
174
174
  "duet-menu-bar-slim": !this.centerSlotUsed,
175
175
  hidden: this.hidden && this.hideOnScroll,
176
176
  bottom: this.onBottom,
177
- }, "aria-label": this.accessibleLabel }, h("div", { key: '4566523b16eab120b9f619b747193fe9e137e82f', class: "top" }), h("div", { key: 'd411603d91e00213cec5c9f80d352ec4c3364d5a', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (h("div", { key: '84871b19397758ab1283208e1cda3cc0a8c35f9b' }, h("duet-logo", { key: '8eb00c572b3d97891b54ad3a0b896933f616dd7b', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), h("div", { key: '7b7e356b1b733d9a873dc843071491bfd9b8cbaa', class: "list center", role: "list" }, h("div", { key: '413672e655afea426497dea6f1034ecd2ec2c0f6', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), h("slot", { key: '6caad3db53aa0ae9dcf20bb99bf359a6b849e13e', name: "center" }), h("div", { key: 'aebd2a3d449bd576f90711455378ed4d485d3aee', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), h("div", { key: '6030dc0c9e9f65628e56b7311b56adf93e8e5adf', class: "list right", role: "list" }, h("slot", { key: '21d2c8706ce2ecf7694465f7213655d912be612a', name: "right" }))), h("div", { key: '22889d929f8602111932ef87ff8b59f532b4b84f', class: "bottom" }))));
177
+ }, "aria-label": this.accessibleLabel }, h("div", { key: '93a3b7f680dfc2f998274c56a380e29332b24f90', class: "top" }), h("div", { key: 'a8d14b711a83aee7ea63fa39f5be9d6d61929a37', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (h("div", { key: '306ad41f64eaecd20cc98bbe2b9d490912c6820c' }, h("duet-logo", { key: '5a91055e192e1214c7bd921c2ff300510594c47b', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), h("div", { key: '7fea1e39256f5847358f2533607ac26f53fc35d3', class: "list center", role: "list" }, h("div", { key: '4c953fc8762eadafb6e4a41534676021e4fb0675', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), h("slot", { key: 'ee961cf16f11a62fdef74f7ab57cf4bf653ba8ab', name: "center" }), h("div", { key: '1f66cfd1c1fea5f9c1764ff8b3a697c0459a653b', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), h("div", { key: '3d7cb50a008c1ce893a3ad504b186dbb3965a130', class: "list right", role: "list" }, h("slot", { key: '7ff47fae8ea6f7d49fcfe5e53d43491994741f26', name: "right" }))), h("div", { key: '8bc982c15ce030ae88966fe1646914b6bf295960', class: "bottom" }))));
178
178
  }
179
179
  static get is() { return "duet-menu-bar"; }
180
180
  static get encapsulation() { return "shadow"; }
@@ -75,4 +75,10 @@
75
75
  .duet-menu-bar-button:hover.duet-theme-turva {
76
76
  color: rgb(198, 12, 48);
77
77
  }
78
+ }
79
+
80
+ @media (min-width: 62em) {
81
+ :host(.duet-theme-turva2) .duet-menu-bar-button.duet-theme-turva:hover {
82
+ color: rgb(197, 29, 65);
83
+ }
78
84
  }
@@ -49,10 +49,10 @@ export class DuetMenuBarButton {
49
49
  * Always the last one in the class.
50
50
  */
51
51
  render() {
52
- return (h(Host, { key: '38bfc8b020483ea1619da061faa8b650c887667d', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: 'ce2dd048048dfe5b93679eb8e76df1d0c9535f95', ref: button => (this.nativeButton = button), class: {
52
+ return (h(Host, { key: '6e69fa56fa86d15fd577b1147cb564053c9e8c9e', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: 'd2baf734d37ebd5183628f2cf789651a7627da3d', ref: button => (this.nativeButton = button), class: {
53
53
  "duet-menu-bar-button": true,
54
54
  "duet-theme-turva": this.theme === "turva",
55
- }, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (h("duet-icon", { key: '15757e0e80d1d038485ec36bce95ff4c4fae05e5', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '3d80006b8f95eea5f830a456b9a986490875d8af' }))));
55
+ }, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (h("duet-icon", { key: '17e4032b4ce67707c6694b1e7ab25ee15070f1fc', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: 'acc459e8b86197b65b2db8e43ff6b72aff63b516' }))));
56
56
  }
57
57
  static get is() { return "duet-menu-bar-button"; }
58
58
  static get encapsulation() { return "shadow"; }
@@ -151,4 +151,17 @@
151
151
  }
152
152
  .duet-menu-bar-dropdown.duet-theme-turva .items {
153
153
  background: rgb(255, 255, 255);
154
+ }
155
+
156
+ :host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button {
157
+ color: rgb(35, 46, 61);
158
+ }
159
+ :host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button:hover {
160
+ color: rgb(197, 29, 65);
161
+ }
162
+ :host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button.active {
163
+ color: rgb(197, 29, 65);
164
+ }
165
+ :host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button.active::after {
166
+ background: rgb(197, 29, 65);
154
167
  }
@@ -62,17 +62,17 @@ export class DuetMenuBarDropdown {
62
62
  * Always the last one in the class.
63
63
  */
64
64
  render() {
65
- return (h(Host, { key: 'a43589ddb7b2a061c18b414dd65bc3f51f285711', role: "listitem" }, h("div", { key: '2f223f45a89ef906763f8a3bf92b860162f31e4e', class: {
65
+ return (h(Host, { key: 'bd58e1dff54dcb742f71d79a3f4ac926698d8be4', role: "listitem" }, h("div", { key: '5e2ecae92d1714eb9fd29b2ad9c288f0acb022f7', class: {
66
66
  "duet-menu-bar-dropdown": true,
67
67
  "duet-theme-turva": this.theme === "turva",
68
68
  active: this.open,
69
69
  [`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
70
- } }, h("button", { key: '99e5e3ad6be32480a2c94ce50ab71b6d66fca5f5', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
70
+ } }, h("button", { key: 'bca33875be854118e12277bf022757f89deac664', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
71
71
  active: this.open,
72
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '0992e1d334008b2020283e401bfe79e8ca9b9cdd', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'e5891bffb51f49298f04019e573ff265a9c94630', class: "label" }, h("slot", { key: '68f31e63dac8f239d931e44b2ae703656380008b', name: "label" }), h("duet-icon", { key: '8b3eef3e47c1008ad65b4dc26ac82a360fca2c60', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: 'e6f60f826a36ee47b41d1be994b2aa51606a7232', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
72
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '8b2139cbecc402ef2475876525963e51923f8e36', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '4ef57ea2a1222ba117d6a0ec160c42e5eb01684c', class: "label" }, h("slot", { key: 'e81fd8db1ce93315bc5bdb466026c170d16141b6', name: "label" }), h("duet-icon", { key: '9f01bcc4114618806fa680c3c813ef9a88e760ab', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: 'b9877d928d13f438e0cee0fe159f43923932417d', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
73
73
  items: true,
74
74
  hidden: !this.open,
75
- } }, h("slot", { key: '81c31db440ca83dd6207e4d3ebfa9c1ef585babe' })))));
75
+ } }, h("slot", { key: 'aa50757464cf5184b8bda091e87010c8e0d58b41' })))));
76
76
  }
77
77
  static get is() { return "duet-menu-bar-dropdown"; }
78
78
  static get encapsulation() { return "shadow"; }
@@ -56,4 +56,11 @@
56
56
  }
57
57
  .duet-menu-bar-dropdown-link:hover.duet-theme-turva {
58
58
  background: rgb(222, 224, 228);
59
+ }
60
+
61
+ :host(.duet-theme-turva2) .duet-menu-bar-dropdown-link.duet-theme-turva {
62
+ color: rgb(35, 46, 61);
63
+ }
64
+ :host(.duet-theme-turva2) .duet-menu-bar-dropdown-link.duet-theme-turva:hover {
65
+ background: rgb(248, 229, 217);
59
66
  }
@@ -48,11 +48,11 @@ export class DuetMenuBarDropdownLink {
48
48
  * Always the last one in the class.
49
49
  */
50
50
  render() {
51
- return (h(Host, { key: '3b1594a79e3d1fe88e179e683df893d3e83c407e' }, h("a", { key: '10724f053d791def92e9fe21773b4a65f20926de', class: {
51
+ return (h(Host, { key: '94cfab99d4f458ac36c33cf98a8878fdb0ec4893' }, h("a", { key: '282dd002e0715e81d26680884c5c445dd7babc73', class: {
52
52
  "duet-menu-bar-dropdown-link": true,
53
53
  [`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
54
54
  "duet-theme-turva": this.theme === "turva",
55
- }, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '6658417e520a3d6347859fa434fb527f8f376fbe', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: 'd8f728e9d507f4a3ccdda23ed33a958ec5e4e98c' }))));
55
+ }, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '546189e81f3a44ca198026d4fb856b65120b3c50', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: 'ec0f06a5ab23e770da10f3b22ee8576cf7276da2' }))));
56
56
  }
57
57
  static get is() { return "duet-menu-bar-dropdown-link"; }
58
58
  static get encapsulation() { return "shadow"; }
@@ -125,4 +125,19 @@
125
125
  .duet-menu-bar-item:hover.duet-theme-turva {
126
126
  color: rgb(198, 12, 48);
127
127
  }
128
+ }
129
+
130
+ :host(.duet-theme-turva2) .duet-menu-bar-item.duet-theme-turva[aria-expanded=true] {
131
+ color: rgb(197, 29, 65);
132
+ }
133
+ :host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva {
134
+ color: rgb(197, 29, 65);
135
+ }
136
+ :host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva::after {
137
+ background: rgb(197, 29, 65);
138
+ }
139
+ @media (min-width: 62em) {
140
+ :host(.duet-theme-turva2) .duet-menu-bar-item.duet-theme-turva:hover {
141
+ color: rgb(197, 29, 65);
142
+ }
128
143
  }
@@ -71,11 +71,11 @@ export class DuetMenuBarItem {
71
71
  */
72
72
  render() {
73
73
  const TagName = this.url ? "a" : "button";
74
- return (h(Host, { key: '049740f5f7ecee03a95b3aa3f393836d675475af', role: "listitem" }, h(TagName, { key: '12b182c9e98d6763aedd2310e3324858a5bbcc5e', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
74
+ return (h(Host, { key: 'f974d8d652cd213c89d81ead0f2048f1d109caa2', role: "listitem" }, h(TagName, { key: 'd7ead167979db9405ffbf213ad8f38bd63b0be77', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
75
75
  "duet-menu-bar-item": true,
76
76
  "duet-theme-turva": this.theme === "turva",
77
77
  active: this.active,
78
- }, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '98d966613955a36b5f2c22bc405aa963090d9683', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: 'dc0d5063412c40b2fddd24d9000fea90c11ec332' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: '173a233033d814c8540513760bc110528e06cb23', class: {
78
+ }, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '62660a414dab1ad3892c2466ff6550665a6bdbbb', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '63610a02057061d8dbd192e8f29fb80d602b8f62' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: '118ed1bb4814e4b1f89f45322ee5ef4afedd798b', class: {
79
79
  "trailing-icon": !!this.trailingIcon,
80
80
  "trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
81
81
  "external-icon": !!this.external,
@@ -103,4 +103,16 @@
103
103
  .duet-menu-bar-link:hover.duet-theme-turva {
104
104
  color: rgb(198, 12, 48);
105
105
  }
106
+ }
107
+
108
+ :host(.duet-theme-turva2) .duet-menu-bar-link.active.duet-theme-turva {
109
+ color: rgb(197, 29, 65);
110
+ }
111
+ :host(.duet-theme-turva2) .duet-menu-bar-link.active.duet-theme-turva::after {
112
+ background: rgb(197, 29, 65);
113
+ }
114
+ @media (min-width: 62em) {
115
+ :host(.duet-theme-turva2) .duet-menu-bar-link.duet-theme-turva:hover {
116
+ color: rgb(197, 29, 65);
117
+ }
106
118
  }
@@ -33,11 +33,11 @@ export class DuetMenuBarLink {
33
33
  * Always the last one in the class.
34
34
  */
35
35
  render() {
36
- return (h(Host, { key: '6c072dcf75770dd53c45c4089e9fd2823822ff71', role: "listitem" }, h("a", { key: '376c4c2a49ea9ccb1b368f600cdddb0246445d9c', class: {
36
+ return (h(Host, { key: 'c00780c565b538d20ff204a3f9f52dd2cb2bc4d7', role: "listitem" }, h("a", { key: '64c3be1bc38f176f7de7431b6c934685b30e9ee2', class: {
37
37
  "duet-menu-bar-link": true,
38
38
  "duet-theme-turva": this.theme === "turva",
39
39
  active: this.active,
40
- }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '9d8e4d367f30b4eb980dede30df2afe745b64caf', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: 'c20f32e09eee237b92615ad99e43657b5d127e62' }))));
40
+ }, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'c1602e9610415be0eecb03ab05e972ed4b19bbc6', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '321c5f2123e2eb98ab9cd89bffedb027fc412e26' }))));
41
41
  }
42
42
  static get is() { return "duet-menu-bar-link"; }
43
43
  static get encapsulation() { return "shadow"; }
@@ -293,8 +293,8 @@
293
293
 
294
294
  .duet-modal-close {
295
295
  position: absolute;
296
- top: 12px;
297
- right: 12px;
296
+ top: 8px;
297
+ right: 8px;
298
298
  }
299
299
 
300
300
  .duet-modal-heading {
@@ -318,4 +318,12 @@
318
318
  }
319
319
  .duet-modal-heading.duet-m-0 {
320
320
  margin: 0 !important;
321
+ }
322
+
323
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-modal {
324
+ color: rgb(35, 46, 61);
325
+ }
326
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-modal-sticky-header {
327
+ background: rgb(253, 247, 242);
328
+ border-bottom: 1px solid rgb(248, 229, 217);
321
329
  }
@@ -310,18 +310,18 @@ export class DuetModal {
310
310
  var _a, _b;
311
311
  let iconColor = "primary";
312
312
  let closeColor = "secondary";
313
- const closingButton = (h("div", { key: '63c867138562671a4c5ab6e4b5ad7a811bcf942d', class: "duet-modal-close" }, h("duet-button", { key: 'b9200b1b502dfc4b93b6a12c4d82cc133b37c0b9', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
313
+ const closingButton = (h("div", { key: 'ec3d40550fa55963fb7593d76847c9cd88ce7d7f', class: "duet-modal-close" }, h("duet-button", { key: 'ba63577c49f70ce5a0afb069c611cc71889a1ecc', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
314
314
  if (this.theme === "turva") {
315
315
  iconColor = "primary-turva";
316
316
  closeColor = "secondary-turva";
317
317
  }
318
- return (h("div", { key: 'efbc2784b7c967c93f016c81135f9518431caabd', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
318
+ return (h("div", { key: '45ef05dd96f31c9f905e06a7fd39458e896342ec', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
319
319
  "duet-modal-container": true,
320
320
  "duet-theme-turva": this.theme === "turva",
321
321
  "duet-modal-active": this.open,
322
322
  "duet-modal-slide-up": this.variation === "slide-up",
323
323
  "duet-modal-has-sticky-header": this.hasStickyHeader,
324
- } }, h("duet-overlay", { key: '33f82df6db25d897f767298b22eed3f8dc93c89c', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), h("div", { key: '550a0b0cc5d2a1ea142ea858793fbb51841c691e', ref: modalInner => (this.modalInnerEl = modalInner), class: {
324
+ } }, h("duet-overlay", { key: 'fae07b0b15aa32b393f28bcb70a2807b67d9afc1', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), h("div", { key: 'c3afda30fb6503e4f9f2a6bdfd61b5ffadf33b98', ref: modalInner => (this.modalInnerEl = modalInner), class: {
325
325
  "duet-modal-inner": true,
326
326
  [this.size]: true,
327
327
  "duet-modal-slide-up": this.variation === "slide-up",
@@ -332,18 +332,18 @@ export class DuetModal {
332
332
  this.closeModal(e);
333
333
  }
334
334
  }
335
- } }, h("div", { key: 'dcb18769c9d3e5297039080ee55bdee2347b4caf', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
335
+ } }, h("div", { key: 'ed730970e831d8b6d399da50b2b7e27fb686b12c', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
336
336
  "duet-modal": true,
337
337
  "duet-modal-has-sticky-header": this.hasStickyHeader,
338
338
  [this.size]: true,
339
339
  [this.variation]: true,
340
- } }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: '6961ea1874081c346590507c767a56281e7c8ff8' }), this.hasStickyHeader ? (h("div", { class: "duet-modal-sticky-header" }, closingButton, h("slot", { name: "sticky-header" }))) : (closingButton), h("div", { key: '9e46132bd2f436d3c59a1bf1385ad73aef098b1f', class: {
340
+ } }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: 'f2ee177793bd6df80606fa4ed029cc1df3cc581c' }), this.hasStickyHeader ? (h("div", { class: "duet-modal-sticky-header" }, closingButton, h("slot", { name: "sticky-header" }))) : (closingButton), h("div", { key: 'f5a12b8a53096e75656c8d7fd879055d26da43a4', class: {
341
341
  "duet-modal-body": true,
342
342
  "duet-modal-gutter-none": this.gutterSize === "none",
343
343
  "duet-modal-gutter-small": this.gutterSize === "small",
344
344
  "duet-modal-gutter-medium": this.gutterSize === "medium",
345
345
  "duet-modal-gutter-large": this.gutterSize === "large",
346
- } }, h("div", { key: '7c0ef14145e4468a5c949e1a93e6c725ce293332', class: "duet-modal-header" }, h("span", { key: '3f38e4d83a3e9a32d67bd496adeb591c6c7b73f4', class: "duet-modal-inner-slot-top" }, h("slot", { key: 'a6c2876bf31e403757b8c909447975cabcaf2731', name: "top" })), this.icon && h("duet-icon", { key: '2487cd371fc42958c82ae926ae583b336b8ccf2f', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { key: '857aee79496802c62206077a1a5da9d73087a90d', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (h("div", { key: '468d671fd81bff661e0e04e604dd04b4f1f9a1f4', class: "duet-modal-spinner" }, h("duet-spinner", { key: '1302f267739db49e31e216900ef1132e429dfe2c', size: "large", color: "primary" }))), h("div", { key: '53c75e8377b650381a13e9a150be49c3a0081388', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, h("slot", { key: '7cc8d735fd52d46a7cc40a019ed385556c8f7288' })))))));
346
+ } }, h("div", { key: '7580715861362da09389b987b5e40c5460c9d833', class: "duet-modal-header" }, h("span", { key: 'da33874c652058416c832a1b28219bba3113fff1', class: "duet-modal-inner-slot-top" }, h("slot", { key: '5ac1de4f0ead45d55a72603d465eeff16519a059', name: "top" })), this.icon && h("duet-icon", { key: '9c44461274fde27a1b0a58c4c18a31c49821959c', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { key: 'b9cfb51b630ec505e221b51ff98b47f87fe84ae8', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (h("div", { key: '205e11c6fd001742285c628707cb7758a238b65d', class: "duet-modal-spinner" }, h("duet-spinner", { key: 'ce31836f38e2524b6748993ce45e1c4aed3e55f4', size: "large", color: "primary" }))), h("div", { key: '458d7617638b4ce61afe259a1a0f2d3eb6dca38c', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, h("slot", { key: '6e85fec665aa51db0ee3ce5726e833cd798709f5' })))))));
347
347
  }
348
348
  static get is() { return "duet-modal"; }
349
349
  static get encapsulation() { return "shadow"; }
@@ -392,4 +392,34 @@
392
392
  overflow: hidden;
393
393
  clip: rect(0 0 0 0);
394
394
  border: 0;
395
+ }
396
+
397
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect:focus,
398
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect.duet-multiselect-active {
399
+ border-color: rgb(35, 46, 61);
400
+ }
401
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect[disabled] {
402
+ color: rgb(35, 46, 61) !important;
403
+ background: rgb(253, 247, 242) !important;
404
+ border-color: rgb(253, 247, 242) !important;
405
+ -webkit-text-fill-color: rgb(35, 46, 61) !important;
406
+ }
407
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect {
408
+ color: rgb(35, 46, 61);
409
+ }
410
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect svg {
411
+ color: rgb(35, 46, 61);
412
+ }
413
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect .duet-multiselect-badge {
414
+ color: rgb(35, 46, 61);
415
+ background: #e9eaec;
416
+ }
417
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes {
418
+ border-color: rgb(248, 229, 217);
419
+ }
420
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button {
421
+ color: rgb(197, 29, 65);
422
+ }
423
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover {
424
+ color: rgb(35, 46, 61);
395
425
  }
@@ -273,23 +273,23 @@ export class DuetMultiselect {
273
273
  */
274
274
  render() {
275
275
  var _a;
276
- return (h(Host, { key: '48ee754bd0231a05f00d9f15a2beb729b57dc393', class: {
276
+ return (h(Host, { key: '9462771c3a5152e905cf83ba95ade9dda200833b', class: {
277
277
  "duet-m-0": this.margin === "none",
278
278
  "duet-expand": this.expand,
279
- } }, h("div", { key: '212fe92eabb76004eb018b36ef0dbc825a21f8be', class: {
279
+ } }, h("div", { key: '1235786e07d83c91d28a13462b2fa5cf8e7907e4', class: {
280
280
  "duet-multiselect-container": true,
281
281
  "duet-label-hidden": this.labelHidden,
282
282
  "duet-theme-turva": this.theme === "turva",
283
283
  "duet-input-top-caption-shown": this.isCaptionVisible,
284
284
  "has-error": !!this.error,
285
- }, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h(DuetInternalLabel, { key: '7530455602172e9f450cf2c51ffef4e9e8b095ee', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '04100890a4421ee2a24a62f33cc740f009b0e2aa', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '610363ef1c5df18e0404ecf30527ab542101b5dc', name: "tooltip" }), this.caption && (h("duet-caption", { key: 'd227786dacc1c8de9e749445de99aa9927834c3a', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: 'c102e3f30f45087f11c2de41e32765174d699c45', class: "duet-multiselect-wrapper" }, h("button", { key: '2788939db68491aa050265beb0970377fa6a3c76', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { key: '08ac22ccf0ede5b5594ff44d2e7a3bea6177bdd8', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (h("span", { key: '20a565fd927ca30250641a8d60973757faf7a3b7', class: "duet-multiselect-badge" }, this.value.length, h("duet-visually-hidden", { key: 'b967c4f19809b18216a7633769365d44c35b9d2c' }, this.selectedLangObject[this.language], ",", " ", Array.isArray(this.value) ? this.value.map(item => item.label).join(", ") : ""))), h("svg", { key: '0df538e14bb2e05548305020f1deece8ca2c3eb5', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '3cf7cde5c4c357222200e5e8da29bc4b2195013b', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), h("div", { key: '8719382a8c45c297d64e21afd2e6894b4baf1d00', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
285
+ }, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h(DuetInternalLabel, { key: '5ccd987600f461c3c9a7f7c2f46b602f169b658d', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: 'e519c7bf79fa2214804ca502285f52a553b79ac3', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: 'cfc287863231de5436fc09d8cd57b53d4ef24820', name: "tooltip" }), this.caption && (h("duet-caption", { key: '28baa67909e4027ae56a35d87a4e15a5f118e703', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '2b734b81c229392334276022638d7265e23c2168', class: "duet-multiselect-wrapper" }, h("button", { key: 'd6fb96ae298ce6e3d7df71217c728f29e1550c9a', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { key: '7581bf2f7629efe48e128c941beee89c4d22f709', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (h("span", { key: '7b747555309afe0dc4716f4335269a5dc46f17ff', class: "duet-multiselect-badge" }, this.value.length, h("duet-visually-hidden", { key: '22f9e68fe690b60dfe7e28ba5767d613e1037070' }, this.selectedLangObject[this.language], ",", " ", Array.isArray(this.value) ? this.value.map(item => item.label).join(", ") : ""))), h("svg", { key: '8058039ac3e9c6cf1fdf9b45468adc80673e7096', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'ac8d3582da5151508ede09fe95ea1fe7a6b79444', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), h("div", { key: '0c1236ae0fad913c3e9d2fdd2d8a558467d415e8', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
286
286
  "duet-multiselect-checkboxes": true,
287
287
  "duet-multiselect-checkboxes-active": this.checkboxesVisible,
288
- }, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (h("div", { key: '2fdfba244f04d2a65357a2f71778ba11fab0c4b0', class: "duet-multiselect-all-control-buttons" }, h("button", { key: '0f85adc72c37c3912907195d4401aa2e2aa07696', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), h("button", { key: '1c36a865118112bdb3abcfdba4191aa17f290ebc', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
288
+ }, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (h("div", { key: '2117b075e96a7825514769fde136f51b1ebf59f9', class: "duet-multiselect-all-control-buttons" }, h("button", { key: 'ca41c3bf1cb8dc88c6bf4c5d237e8e3cc5fccd6c', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), h("button", { key: '7070fc9475815328dc21256e8ddf279f182dd2ad', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
289
289
  this.processedGroups.map(group => (h("fieldset", null, group.label && h("legend", null, group.label), group.items.map((item, key) => {
290
290
  var _a, _b;
291
291
  return (h("duet-checkbox", { identifier: this.getOptionIdentifier(key), role: "option", label: item.label, value: item.value, key: item.value, checked: (_a = this.value) === null || _a === void 0 ? void 0 : _a.includes(item), "accessible-selected": ((_b = this.value) === null || _b === void 0 ? void 0 : _b.includes(item)) ? "true" : undefined, disabled: !this.checkboxesVisible || item.disabled, onDuetChange: e => this.toggleCheckbox(e, item), onKeyDown: (e) => this.onCheckboxKeyDown(e, key), theme: this.theme }));
292
- })))))), h("span", { key: '7cc61fa058955273a790d926301d3a6d08ee2f0b', class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '299dae214efe69bea63d811aae8701e2e7ac34ed' }, this.error)))));
292
+ })))))), h("span", { key: '5842f53e10a3f9984cb668fa4730e7d18bb03a21', class: "duet-multiselect-help duet-multiselect-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'd9ba81594560d3f2c01f50b4832736144aeafe71' }, this.error)))));
293
293
  }
294
294
  static get is() { return "duet-multiselect"; }
295
295
  static get encapsulation() { return "shadow"; }
@@ -31,7 +31,7 @@ export class DuetNav {
31
31
  * Always the last one in the class.
32
32
  */
33
33
  render() {
34
- return (h(Host, { key: 'da435b2c67678918ad047ec518e5e7ce4248ad46' }, h("div", { key: '7fd627c796cbea3540a34b81dd33aa389f24f434', class: { container: true, sticky: this.sticky } }, h("slot", { key: 'fa2f7460016778ef6aa8e41fa846b26d7c6f76a9' }), h("slot", { key: 'd706503a7934a3bd8bf2e0c568194c53cea0e220', name: "mobile" }), h("slot", { key: '82756ef7543bcba00695435414503b1cf1d2089b', name: "desktop" }))));
34
+ return (h(Host, { key: 'eba9be23a2185429204c40d8bc881d36ba4347b2' }, h("div", { key: '92a2c02b1be2e6d2422f48b4ca0ceb62599af14a', class: { container: true, sticky: this.sticky } }, h("slot", { key: 'b7061a136c9003c794cd95a673e35e9275d57a1e' }), h("slot", { key: '27b5c3e8d84d665200d5df42b98bfc0c376324f4', name: "mobile" }), h("slot", { key: 'edf2f2ef8f2db435f9a54c41eb0992b7e0a080d0', name: "desktop" }))));
35
35
  }
36
36
  static get is() { return "duet-nav"; }
37
37
  static get encapsulation() { return "shadow"; }
@@ -154,4 +154,20 @@
154
154
 
155
155
  ::slotted(duet-paragraph) {
156
156
  margin-bottom: 2px !important;
157
+ }
158
+
159
+ :host(.duet-theme-turva2) .duet-notification.duet-theme-turva {
160
+ color: rgb(35, 46, 61);
161
+ border-bottom-color: rgb(248, 229, 217);
162
+ }
163
+ :host(.duet-theme-turva2) .duet-notification.duet-notification-highlight.duet-theme-turva {
164
+ background: rgb(253, 247, 242);
165
+ }
166
+ :host(.duet-theme-turva2) .duet-notification-badge.duet-theme-turva {
167
+ background: rgb(197, 29, 65);
168
+ }
169
+ @media (min-width: 62em) {
170
+ :host(.duet-theme-turva2) .duet-notification:hover.duet-theme-turva {
171
+ background: rgb(253, 247, 242);
172
+ }
157
173
  }
@@ -72,11 +72,11 @@ export class DuetNotification {
72
72
  this.linkElement.focus(options);
73
73
  }
74
74
  render() {
75
- return (h("div", { key: 'ca3ab09712e8c37bccd234d83b8685864fe9c6e2', role: "listitem", class: {
75
+ return (h("div", { key: 'e9780a745bc103c0eab1387924e9382dc60bff3c', role: "listitem", class: {
76
76
  "duet-notification": true,
77
77
  "duet-notification-highlight": this.highlight,
78
78
  "duet-theme-turva": this.theme === "turva",
79
- } }, h("a", { key: '2042476b8c42b4cb9a4aec6057dbe563772fb9ec', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, h("div", { key: '082ba1ab481221f0954c6a9a59e07856af32898c', class: "duet-notification-container" }, h("div", { key: 'dde13f7597e7114096d5bae94ebc1b282154de8a', class: "duet-notification-badge-container" }, this.highlight && (h("div", { key: '4b70454b825191fe9a40450c7739bce6cdd059b4', class: "duet-notification-badge" }, h("duet-visually-hidden", { key: '8c038435ee5b35b2d35095eafa7f4b833de4e57f' }, this.accessibleLabelUnread, ":")))), h("div", { key: '7c8f2d236a8d922e6b21f65585b00f096134a8f3', class: "duet-notification-content" }, h("slot", { key: '911e94ff943e9ace002dd0cda2579a80ae42eda1' })), h("div", { key: 'dc50e21df86731f26269d4778e18b08a19444d01', class: "duet-notification-date" }, this.date)))));
79
+ } }, h("a", { key: '431b8cdff6f259708fc7ad25c2f5cd6c9392bb95', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, h("div", { key: 'c8cc56cc53bb242a159aa4a03d3e60d984388630', class: "duet-notification-container" }, h("div", { key: '72bd20f9dc41cbe781591acb8b629ddd7826c332', class: "duet-notification-badge-container" }, this.highlight && (h("div", { key: 'fb2ed998c5a7389dbf0d70f475929092ef2e33f4', class: "duet-notification-badge" }, h("duet-visually-hidden", { key: '0d788165d1ad770a2debcd3efb212d5cd394f32c' }, this.accessibleLabelUnread, ":")))), h("div", { key: 'd9831696985ad34b1bacb4cd7e0ba0466784f44b', class: "duet-notification-content" }, h("slot", { key: '1611ad31717366e3852e70a742be63ebb1283e14' })), h("div", { key: 'ef31c5774b1164e4703f15f6b8a32985b294bd7c', class: "duet-notification-date" }, this.date)))));
80
80
  }
81
81
  static get is() { return "duet-notification"; }
82
82
  static get encapsulation() { return "shadow"; }
@@ -252,4 +252,16 @@
252
252
  opacity: 1;
253
253
  transform: scale(1) translateZ(0) translateY(0);
254
254
  }
255
+ }
256
+
257
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle {
258
+ color: rgb(35, 46, 61);
259
+ border-color: rgb(248, 229, 217);
260
+ }
261
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle::after {
262
+ background: rgb(197, 29, 65);
263
+ }
264
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle[aria-expanded=true],
265
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover {
266
+ border-color: rgb(253, 247, 242);
255
267
  }
@@ -126,10 +126,10 @@ export class DuetNotificationDrawer {
126
126
  * Always the last one in the class.
127
127
  */
128
128
  render() {
129
- return (h("div", { key: '9f4089715c79f3098cbddd19ecb0fe9f625e60dc', class: {
129
+ return (h("div", { key: '659136cc65a195a1de4228bd580d2368d2244a86', class: {
130
130
  "duet-drawer": true,
131
131
  "duet-theme-turva": this.theme === "turva",
132
- }, onKeyDown: this.handleKeyDown }, h("button", { key: '847f74b2cd54afe289a50fefd441409e3d10835d', ref: el => (this.drawerButtonEl = el), type: "button", class: "duet-drawer-toggle", id: "duet-drawer-toggle", "aria-controls": "duet-drawer-content", "aria-expanded": this.isOpen ? "true" : "false", onClick: this.toggleMenu }, this.icon && (h("div", { key: 'c887681d1b69bea0d71fdb2f9a9da04162252ba7', class: "duet-drawer-icon" }, h("duet-icon", { key: '4ff950e8cbacfe8c26b45aa84c5ca6371afa5806', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && h("div", { key: '3db0ee999568e116bff201633722e984ffaa4432', class: "duet-drawer-badge" }))), h("span", { key: '73962ec83f1a6cf91c488f06a5aef5200d4c38b0', class: "duet-drawer-label" }, this.label), h("div", { key: '4c821d69d5bd6ac7ced0b42ea8e762503db12836', class: "duet-drawer-caret" }, h("duet-icon", { key: '85e247216c488c0f39e3e1d7f47d88ed19e77c6d', margin: "none", size: "auto", icon: arrowDownIcon.svg, color: "currentColor" }))), h("div", { key: 'ca5f050d99a3055e0ada249e72b08ba4a2614c54', id: "duet-drawer-content", class: {
132
+ }, onKeyDown: this.handleKeyDown }, h("button", { key: 'abe8757b0f4db9939465b4ab6011c8625b5baf76', ref: el => (this.drawerButtonEl = el), type: "button", class: "duet-drawer-toggle", id: "duet-drawer-toggle", "aria-controls": "duet-drawer-content", "aria-expanded": this.isOpen ? "true" : "false", onClick: this.toggleMenu }, this.icon && (h("div", { key: 'a99654516249d53e1a9fd81021998c2e461365a7', class: "duet-drawer-icon" }, h("duet-icon", { key: '76b8f2f443ab22637765dfef1db4000215ef5a19', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && h("div", { key: '6efbba81b7cf33402531b445e5e297d5e48a4fc6', class: "duet-drawer-badge" }))), h("span", { key: '5b9df974799ba860b7d2d964fc22c50d18aa0282', class: "duet-drawer-label" }, this.label), h("div", { key: 'ed02df2f85e017956770c841d1882b6a6ae45280', class: "duet-drawer-caret" }, h("duet-icon", { key: '646368ab0a187e896f1110e4015a05b3bad71a9d', margin: "none", size: "auto", icon: arrowDownIcon.svg, color: "currentColor" }))), h("div", { key: '0e2cfc291004260d5f02350fd624396768c06b3b', id: "duet-drawer-content", class: {
133
133
  "duet-drawer-content": true,
134
134
  "duet-drawer-right": this.direction === "right",
135
135
  "duet-drawer-left": this.direction === "left",
@@ -125,4 +125,11 @@
125
125
  }
126
126
  :host(.duet-theme-turva) .duet-number-buttons .duet-number-button:last-of-type::before {
127
127
  background: rgb(222, 224, 228);
128
+ }
129
+
130
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-number-buttons .duet-number-button:first-of-type::before {
131
+ background: linear-gradient(to left, rgba(244, 213, 193, 0.2) 0%, rgba(244, 213, 193, 0.2) 1px, rgba(244, 213, 193, 0.1) 1px, rgba(244, 213, 193, 0) 100%);
132
+ }
133
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-number-buttons .duet-number-button:last-of-type::before {
134
+ background: rgb(248, 229, 217);
128
135
  }
@@ -386,11 +386,11 @@ export class DuetNumberInput {
386
386
  const identifier = this.identifier || this.inputId;
387
387
  const maxlength = `${this.localizeValue(this.max)} ${this.unit}`.length;
388
388
  const cleanedValue = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
389
- return (h(Host, { key: 'c404181a5a36be60ded0501cd754f3a370276db3', class: {
389
+ return (h(Host, { key: '2339fa56635a7ba8fc6edec30d3675317fcbe27f', class: {
390
390
  "duet-theme-turva": this.theme === "turva",
391
391
  "duet-expand": this.expand,
392
392
  "duet-m-0": this.margin === "none",
393
- } }, h("div", { key: '674688689d6202a4b7a3778c0172af68e20b0673', class: "duet-number-container" }, h("duet-input", { key: 'f5281ca4fa9f5b26a159dc7e7b92ca9a54528bf7', ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value} ${this.unit}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, h("slot", { key: '3f1c547afcc40014095f197036f787645147bd11', name: "tooltip" }), h("div", { key: 'a868daa539f87cef017c2018287a1a45e1354cad', class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, h("button", { key: 'e85bd5edd04e493c634a8b73f4a5c26529fee463', disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" }, h("duet-visually-hidden", { key: '514347e9e62cee33816675da9bf05e4767024cf7' }, this.accessibleSubtract, " ", this.step), h("duet-icon", { key: '1bbad2c355ee306483fb5f7f24569d129a6b8550', icon: subtractIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), h("button", { key: '8ad6cf3c4dfc1a719c1226a81fc11118f2dbb034', disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" }, h("duet-visually-hidden", { key: '6235a14251c9d2e5730f4a783aee9fda6d53450d' }, this.accessibleAdd, " ", this.step), h("duet-icon", { key: '2ffc06061b4c9fcbdc4cde17c75055caba64bd10', icon: addIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (h("duet-visually-hidden", { key: '8248ba0993751f21e7a33df4d70c6db8246ceed5', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
393
+ } }, h("div", { key: 'dff60647793af3de902477ed0ea4cfebe2a0b060', class: "duet-number-container" }, h("duet-input", { key: '55a832b70fd619b16560dcc8de2a11da3ae90344', ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value} ${this.unit}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, h("slot", { key: '1e4b7cc87d46de0233457c6e087217b27fb2a6df', name: "tooltip" }), h("div", { key: '5a2660b2592fd4a96172bf4ce53d5d810e9479c6', class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, h("button", { key: 'dddc2edb43610eed98a1db9de1ac006d6f721099', disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" }, h("duet-visually-hidden", { key: 'e29c3ce840c8e2d776ed9430ed84f1a0ead9a5a3' }, this.accessibleSubtract, " ", this.step), h("duet-icon", { key: 'e5eb7418c9f6711b21e6550bad87f017d97cff6e', icon: subtractIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), h("button", { key: '688035f8fcb3f56a36d2d7b13a9d494388eafd39', disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" }, h("duet-visually-hidden", { key: '8779e5d09e06ff7f63ff715d45bd72c513c1c1dc' }, this.accessibleAdd, " ", this.step), h("duet-icon", { key: 'f6548c254afa31a6346042f11113aad09baefce3', icon: addIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (h("duet-visually-hidden", { key: '4e272274bdb8a1c9cc068e76e846b49647200fd6', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
394
394
  }
395
395
  static get is() { return "duet-number-input"; }
396
396
  static get encapsulation() { return "shadow"; }