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

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 (542) hide show
  1. package/hydrate/index.js +702 -356
  2. package/hydrate/index.mjs +702 -356
  3. package/lib/cjs/{a11y-utils-qqRC-Gci.js → a11y-utils-aMJTxbM9.js} +1 -1
  4. package/lib/cjs/{app-globals-B6AFACoz.js → app-globals-DN9e0v8L.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 +11 -8
  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 +5 -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 +19 -19
  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 +83 -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 +16 -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 +10 -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-CSxc4txc.js} +1 -1
  92. package/lib/cjs/{focus-utils-C1gNgKW5.js → focus-utils-R3gIGr8k.js} +1 -1
  93. package/lib/cjs/{index-C-4fRZp1.js → index-cypK_uRu.js} +9 -1
  94. package/lib/cjs/{label-BYZNaLK_.js → label-61f_b8fi.js} +1 -1
  95. package/lib/cjs/{language-utils-DjPkoVoW.js → language-utils-DIDyCgUk.js} +9 -1
  96. package/lib/cjs/loader.cjs.js +3 -3
  97. package/lib/cjs/{slot-utils-DYGV7vRF.js → slot-utils-BC5Q3UDm.js} +1 -1
  98. package/lib/cjs/themeable-component-BWW4XmUY.js +62 -0
  99. package/lib/collection/collection-manifest.json +2 -0
  100. package/lib/collection/common/themeable-component.js +49 -3
  101. package/lib/collection/common-strings.js +5 -0
  102. package/lib/collection/components/duet-action-button/duet-action-button.css +19 -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 +52 -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 +8 -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 +5 -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 +70 -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.css +9 -0
  166. package/lib/collection/components/duet-logo/duet-logo.js +5 -2
  167. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +7 -0
  168. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
  169. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +6 -0
  170. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  171. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +13 -0
  172. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  173. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +7 -0
  174. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  175. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +15 -0
  176. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  177. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +12 -0
  178. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  179. package/lib/collection/components/duet-modal/duet-modal.css +10 -2
  180. package/lib/collection/components/duet-modal/duet-modal.js +6 -6
  181. package/lib/collection/components/duet-multiselect/duet-multiselect.css +30 -0
  182. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  183. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  184. package/lib/collection/components/duet-notification/duet-notification.css +16 -0
  185. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  186. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +13 -0
  187. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  188. package/lib/collection/components/duet-number-input/duet-number-input.css +7 -0
  189. package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
  190. package/lib/collection/components/duet-overlay/duet-overlay.css +4 -0
  191. package/lib/collection/components/duet-overlay/duet-overlay.js +2 -1
  192. package/lib/collection/components/duet-page-heading/duet-page-heading.css +27 -11
  193. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  194. package/lib/collection/components/duet-pagination/duet-pagination.css +4 -0
  195. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  196. package/lib/collection/components/duet-paragraph/duet-paragraph.css +10 -0
  197. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  198. package/lib/collection/components/duet-phone-input/duet-phone-input.js +13 -11
  199. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +8 -0
  200. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +30 -5
  201. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +10 -0
  202. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +5 -2
  203. package/lib/collection/components/duet-progress/duet-progress.css +19 -0
  204. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  205. package/lib/collection/components/duet-radio/duet-radio.css +20 -0
  206. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  207. package/lib/collection/components/duet-radio-group/duet-radio-group.js +10 -1
  208. package/lib/collection/components/duet-range-slider/duet-range-slider.css +37 -0
  209. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  210. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +4 -0
  211. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  212. package/lib/collection/components/duet-scrollable/duet-scrollable.css +7 -0
  213. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  214. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  215. package/lib/collection/components/duet-select/duet-select.css +23 -0
  216. package/lib/collection/components/duet-select/duet-select.js +5 -5
  217. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  218. package/lib/collection/components/duet-share-chart/duet-share-chart.css +82 -0
  219. package/lib/collection/components/duet-share-chart/duet-share-chart.js +139 -0
  220. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +67 -0
  221. package/lib/collection/components/duet-show-more/duet-show-more.css +4 -0
  222. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  223. package/lib/collection/components/duet-slideout/duet-slideout.css +28 -0
  224. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  225. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +4 -0
  226. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  227. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +10 -0
  228. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  229. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +20 -0
  230. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  231. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +13 -0
  232. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  233. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  234. package/lib/collection/components/duet-spinner/duet-spinner.css +3 -0
  235. package/lib/collection/components/duet-spinner/duet-spinner.js +3 -5
  236. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  237. package/lib/collection/components/duet-step/duet-step.css +13 -0
  238. package/lib/collection/components/duet-step/duet-step.js +2 -2
  239. package/lib/collection/components/duet-stepper/duet-stepper.js +24 -6
  240. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +14 -0
  241. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  242. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +31 -0
  243. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  244. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +18 -0
  245. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  246. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +20 -0
  247. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  248. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +22 -0
  249. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  250. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  251. package/lib/collection/components/duet-tab-group/duet-tab-group.css +31 -0
  252. package/lib/collection/components/duet-tab-group/duet-tab-group.js +6 -6
  253. package/lib/collection/components/duet-table/duet-table-styles.js +60 -0
  254. package/lib/collection/components/duet-table/duet-table.js +2 -2
  255. package/lib/collection/components/duet-textarea/duet-textarea.css +32 -0
  256. package/lib/collection/components/duet-textarea/duet-textarea.js +36 -7
  257. package/lib/collection/components/duet-toggle/duet-toggle.css +11 -0
  258. package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
  259. package/lib/collection/components/duet-toolbar/duet-toolbar.css +7 -0
  260. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  261. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +21 -0
  262. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  263. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +10 -0
  264. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  265. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +25 -0
  266. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  267. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +24 -0
  268. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  269. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +7 -0
  270. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  271. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +25 -0
  272. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  273. package/lib/collection/components/duet-tooltip/duet-tooltip.js +6 -0
  274. package/lib/collection/components/duet-tray/duet-tray.css +12 -0
  275. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  276. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  277. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  278. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  279. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  280. package/lib/collection/utils/language-utils.js +7 -0
  281. package/lib/duet/duet.esm.js +1 -1
  282. package/lib/duet/{p-008beeb0.entry.js → p-05cb3ef2.entry.js} +1 -1
  283. package/lib/duet/p-061f484f.entry.js +4 -0
  284. package/lib/duet/p-0710ad83.entry.js +4 -0
  285. package/lib/duet/p-07cd31d4.entry.js +4 -0
  286. package/lib/duet/p-11b6b71d.entry.js +4 -0
  287. package/lib/duet/{p-068cfada.entry.js → p-1662ddb0.entry.js} +1 -1
  288. package/lib/duet/p-1b4e4213.entry.js +4 -0
  289. package/lib/duet/{p-2c420105.entry.js → p-1cc69291.entry.js} +1 -1
  290. package/lib/duet/p-2354e2c1.entry.js +4 -0
  291. package/lib/duet/p-24f39c08.entry.js +4 -0
  292. package/lib/duet/{p-1b3b9ed6.entry.js → p-26ef0a2c.entry.js} +1 -1
  293. package/lib/duet/{p-547e30c3.entry.js → p-2b2be1ce.entry.js} +1 -1
  294. package/lib/duet/p-2c2a8a28.entry.js +4 -0
  295. package/lib/duet/{p-3381e3e2.entry.js → p-2de0e6b5.entry.js} +1 -1
  296. package/lib/duet/{p-62c46ebb.entry.js → p-32352972.entry.js} +1 -1
  297. package/lib/duet/p-3d266d49.entry.js +4 -0
  298. package/lib/duet/p-3ea842ba.entry.js +4 -0
  299. package/lib/duet/p-44786477.entry.js +4 -0
  300. package/lib/duet/{p-2df8b608.entry.js → p-48bcf197.entry.js} +1 -1
  301. package/lib/duet/p-50Jw5Ir2.js +4 -0
  302. package/lib/duet/{p-abe188c7.entry.js → p-5432f24c.entry.js} +1 -1
  303. package/lib/duet/p-54b978c0.entry.js +4 -0
  304. package/lib/duet/p-5956c71f.entry.js +4 -0
  305. package/lib/duet/p-5b2e8342.entry.js +4 -0
  306. package/lib/duet/p-5c749aae.entry.js +4 -0
  307. package/lib/duet/{p-294adde1.entry.js → p-5f437262.entry.js} +1 -1
  308. package/lib/duet/p-61da8d25.entry.js +4 -0
  309. package/lib/duet/{p-3ae06437.entry.js → p-625a23c2.entry.js} +1 -1
  310. package/lib/duet/p-626e92a9.entry.js +4 -0
  311. package/lib/duet/{p-4ec38183.entry.js → p-6fa05aeb.entry.js} +1 -1
  312. package/lib/duet/{p-7189e720.entry.js → p-70fd5cb5.entry.js} +1 -1
  313. package/lib/duet/p-710ae64d.entry.js +4 -0
  314. package/lib/duet/p-73f38d13.entry.js +4 -0
  315. package/lib/duet/p-779380f8.entry.js +4 -0
  316. package/lib/duet/{p-0e78737d.entry.js → p-7a9e6423.entry.js} +1 -1
  317. package/lib/duet/{p-2661240f.entry.js → p-7ac87fc1.entry.js} +1 -1
  318. package/lib/duet/{p-d74bb3b4.entry.js → p-7c4f010e.entry.js} +1 -1
  319. package/lib/duet/{p-6b17cd4a.entry.js → p-7cfcd244.entry.js} +1 -1
  320. package/lib/duet/{p-fde72aa3.entry.js → p-8057c9e5.entry.js} +1 -1
  321. package/lib/duet/{p-d195712b.entry.js → p-80f567c7.entry.js} +1 -1
  322. package/lib/duet/p-828a4e8b.entry.js +4 -0
  323. package/lib/duet/p-835874ed.entry.js +4 -0
  324. package/lib/duet/{p-66693593.entry.js → p-85ddf215.entry.js} +1 -1
  325. package/lib/duet/{p-d7990dff.entry.js → p-88773ebf.entry.js} +1 -1
  326. package/lib/duet/{p-e232c7ad.entry.js → p-89e6b8d0.entry.js} +1 -1
  327. package/lib/duet/{p-23adcf71.entry.js → p-89e9badf.entry.js} +1 -1
  328. package/lib/duet/p-8ae3ba95.entry.js +4 -0
  329. package/lib/duet/p-95dd811d.entry.js +4 -0
  330. package/lib/duet/{p-8c02d2af.entry.js → p-9b9031cf.entry.js} +1 -1
  331. package/lib/duet/{p-2f30e410.entry.js → p-9d16f09d.entry.js} +1 -1
  332. package/lib/duet/p-9d501c34.entry.js +4 -0
  333. package/lib/duet/p-9d5be586.entry.js +4 -0
  334. package/lib/duet/p-BI7G8d3Z.js +4 -0
  335. package/lib/duet/p-B_RHZ7jo.js +4 -0
  336. package/lib/duet/p-Be6-farU.js +4 -0
  337. package/lib/duet/p-CF5Kkdym.js +4 -0
  338. package/lib/duet/p-CUNSbdt4.js +5 -0
  339. package/lib/duet/p-M3ljdQX1.js +4 -0
  340. package/lib/duet/p-MxsWrBCY.js +4 -0
  341. package/lib/duet/{p-e0fcc26a.entry.js → p-a40fbcac.entry.js} +1 -1
  342. package/lib/duet/p-a544dcb2.entry.js +4 -0
  343. package/lib/duet/{p-91e669ab.entry.js → p-a854a83c.entry.js} +1 -1
  344. package/lib/duet/{p-08affd1f.entry.js → p-a930cc2b.entry.js} +1 -1
  345. package/lib/duet/{p-42621b5c.entry.js → p-a9353027.entry.js} +1 -1
  346. package/lib/duet/{p-5964d490.entry.js → p-a94d6219.entry.js} +1 -1
  347. package/lib/duet/{p-155586a6.entry.js → p-b2c2a24e.entry.js} +1 -1
  348. package/lib/duet/p-b314a75a.entry.js +4 -0
  349. package/lib/duet/p-b3547427.entry.js +4 -0
  350. package/lib/duet/p-b4569b01.entry.js +4 -0
  351. package/lib/duet/p-b52c9aed.entry.js +4 -0
  352. package/lib/duet/p-b5cdfd48.entry.js +4 -0
  353. package/lib/duet/{p-958a2b42.entry.js → p-bd6f7e7b.entry.js} +1 -1
  354. package/lib/duet/{p-f865dcfc.entry.js → p-c037858f.entry.js} +1 -1
  355. package/lib/duet/{p-722eb4b8.entry.js → p-c0721ad9.entry.js} +1 -1
  356. package/lib/duet/p-d154fb42.entry.js +4 -0
  357. package/lib/duet/p-d29c6c90.entry.js +4 -0
  358. package/lib/duet/p-d2e1cef2.entry.js +4 -0
  359. package/lib/duet/{p-d064dd2d.entry.js → p-d5270614.entry.js} +1 -1
  360. package/lib/duet/p-e1715e1f.entry.js +4 -0
  361. package/lib/duet/p-e3c9a33a.entry.js +4 -0
  362. package/lib/duet/p-e6a5676c.entry.js +4 -0
  363. package/lib/duet/{p-0fb24b59.entry.js → p-e72e498d.entry.js} +1 -1
  364. package/lib/duet/{p-90c43d96.entry.js → p-e8668d1a.entry.js} +1 -1
  365. package/lib/duet/p-e89e940b.entry.js +4 -0
  366. package/lib/duet/{p-580d558b.entry.js → p-e89f59fe.entry.js} +1 -1
  367. package/lib/duet/{p-595b2f3b.entry.js → p-e8bf81e8.entry.js} +1 -1
  368. package/lib/duet/{p-a24fff3c.entry.js → p-eafab2a1.entry.js} +1 -1
  369. package/lib/duet/p-ekdrapBY.js +4 -0
  370. package/lib/duet/{p-909352a9.entry.js → p-f2e88086.entry.js} +1 -1
  371. package/lib/duet/p-f3d5e40a.entry.js +4 -0
  372. package/lib/duet/{p-9f48a30c.entry.js → p-f7782ce5.entry.js} +1 -1
  373. package/lib/duet/p-fc319c57.entry.js +4 -0
  374. package/lib/duet/p-fcb87d86.entry.js +4 -0
  375. package/lib/duet/{p-BAFwjrjc.js → p-fwfCVW-k.js} +1 -1
  376. package/lib/esm/{a11y-utils-CQOH3qGQ.js → a11y-utils-Do8wJ0uc.js} +1 -1
  377. package/lib/esm/{app-globals-D3VunZ8x.js → app-globals-CM7s1rys.js} +1 -1
  378. package/lib/esm/{common-strings-D6YBFNe9.js → common-strings-MxsWrBCY.js} +6 -1
  379. package/lib/esm/duet-action-button.entry.js +4 -4
  380. package/lib/esm/duet-alert.entry.js +32 -9
  381. package/lib/esm/duet-badge.entry.js +5 -5
  382. package/lib/esm/duet-banner.entry.js +5 -5
  383. package/lib/esm/duet-breadcrumb.entry.js +7 -7
  384. package/lib/esm/duet-breadcrumbs.entry.js +6 -6
  385. package/lib/esm/duet-button_2.entry.js +14 -16
  386. package/lib/esm/duet-callout.entry.js +6 -6
  387. package/lib/esm/duet-caption_4.entry.js +21 -18
  388. package/lib/esm/duet-card.entry.js +7 -7
  389. package/lib/esm/duet-checkbox.entry.js +5 -5
  390. package/lib/esm/duet-checkmark.entry.js +5 -5
  391. package/lib/esm/duet-chip.entry.js +13 -6
  392. package/lib/esm/duet-choice_2.entry.js +22 -16
  393. package/lib/esm/duet-collapsible.entry.js +6 -6
  394. package/lib/esm/duet-combobox.entry.js +5 -5
  395. package/lib/esm/duet-contact-card.entry.js +6 -6
  396. package/lib/esm/duet-cookie-consent.entry.js +4 -4
  397. package/lib/esm/duet-date-picker.entry.js +9 -9
  398. package/lib/esm/duet-divider_2.entry.js +5 -5
  399. package/lib/esm/duet-editable-table_3.entry.js +70 -10
  400. package/lib/esm/duet-empty-state.entry.js +5 -5
  401. package/lib/esm/duet-fieldset.entry.js +7 -7
  402. package/lib/esm/duet-file-chooser.entry.js +3 -3
  403. package/lib/esm/duet-footer.entry.js +10 -10
  404. package/lib/esm/duet-grid_2.entry.js +38 -9
  405. package/lib/esm/duet-header_2.entry.js +11 -8
  406. package/lib/esm/duet-hero.entry.js +37 -11
  407. package/lib/esm/duet-icon.entry.js +6 -6
  408. package/lib/esm/duet-input_2.entry.js +14 -13
  409. package/lib/esm/duet-layout.entry.js +7 -7
  410. package/lib/esm/duet-list_2.entry.js +15 -6
  411. package/lib/esm/duet-menu-bar-button.entry.js +5 -5
  412. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +5 -5
  413. package/lib/esm/duet-menu-bar-dropdown.entry.js +7 -7
  414. package/lib/esm/duet-menu-bar-item.entry.js +9 -9
  415. package/lib/esm/duet-menu-bar-link.entry.js +5 -5
  416. package/lib/esm/duet-menu-bar.entry.js +6 -6
  417. package/lib/esm/duet-modal.entry.js +13 -13
  418. package/lib/esm/duet-multiselect.entry.js +11 -11
  419. package/lib/esm/duet-nav.entry.js +3 -3
  420. package/lib/esm/duet-notification_2.entry.js +9 -9
  421. package/lib/esm/duet-number-input.entry.js +7 -7
  422. package/lib/esm/duet-overlay.entry.js +5 -4
  423. package/lib/esm/duet-page-heading.entry.js +5 -5
  424. package/lib/esm/duet-pagination_2.entry.js +18 -18
  425. package/lib/esm/duet-phone-input.entry.js +17 -15
  426. package/lib/esm/duet-popup-menu_2.entry.js +41 -13
  427. package/lib/esm/duet-progress.entry.js +4 -4
  428. package/lib/esm/duet-promo-card.entry.js +5 -5
  429. package/lib/esm/duet-radio_2.entry.js +15 -9
  430. package/lib/esm/duet-range-slider.entry.js +7 -7
  431. package/lib/esm/duet-scrollable_3.entry.js +19 -19
  432. package/lib/esm/duet-section-layout.entry.js +4 -4
  433. package/lib/esm/duet-select.entry.js +10 -10
  434. package/lib/esm/duet-shaped-image.entry.js +4 -4
  435. package/lib/esm/duet-share-chart-item.entry.js +20 -0
  436. package/lib/esm/duet-share-chart.entry.js +81 -0
  437. package/lib/esm/duet-show-more.entry.js +6 -6
  438. package/lib/esm/duet-slideout-lang.entry.js +5 -5
  439. package/lib/esm/duet-slideout-link.entry.js +9 -9
  440. package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
  441. package/lib/esm/duet-slideout-panel.entry.js +12 -12
  442. package/lib/esm/duet-slideout.entry.js +10 -10
  443. package/lib/esm/duet-status-icon.entry.js +3 -3
  444. package/lib/esm/duet-step_2.entry.js +22 -8
  445. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -5
  446. package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
  447. package/lib/esm/duet-submenu-bar-item.entry.js +8 -8
  448. package/lib/esm/duet-submenu-bar-link.entry.js +4 -4
  449. package/lib/esm/duet-submenu-bar.entry.js +8 -8
  450. package/lib/esm/duet-textarea.entry.js +16 -10
  451. package/lib/esm/duet-toggle.entry.js +7 -7
  452. package/lib/esm/duet-toolbar-dropdown-link.entry.js +5 -5
  453. package/lib/esm/duet-toolbar-dropdown.entry.js +7 -7
  454. package/lib/esm/duet-toolbar-item.entry.js +10 -10
  455. package/lib/esm/duet-toolbar-link.entry.js +5 -5
  456. package/lib/esm/duet-toolbar.entry.js +5 -5
  457. package/lib/esm/duet-tooltip-button_2.entry.js +10 -10
  458. package/lib/esm/duet-tooltip.entry.js +10 -4
  459. package/lib/esm/duet-tray.entry.js +6 -6
  460. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  461. package/lib/esm/duet-upload-item.entry.js +6 -6
  462. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  463. package/lib/esm/duet.js +4 -4
  464. package/lib/esm/{errorcodes.utils--4tOXPNI.js → errorcodes.utils-jdmUflM5.js} +1 -1
  465. package/lib/esm/{focus-utils-CUvuUZuo.js → focus-utils-Fb4Hjq5k.js} +1 -1
  466. package/lib/esm/{index-Djr45qSY.js → index-CUNSbdt4.js} +9 -1
  467. package/lib/esm/{label-DoZNNWYj.js → label-CSouuUKb.js} +1 -1
  468. package/lib/esm/{language-utils-BCnFs8Da.js → language-utils-fAqNRSrI.js} +9 -2
  469. package/lib/esm/loader.js +4 -4
  470. package/lib/esm/{slot-utils-CSLPO69o.js → slot-utils-CgXzS75x.js} +2 -2
  471. package/lib/esm/themeable-component-EVqsr6Ut.js +60 -0
  472. package/lib/types/common-strings.d.ts +1 -0
  473. package/lib/types/common-types.d.ts +1 -1
  474. package/lib/types/components/duet-alert/duet-alert.d.ts +1 -0
  475. package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
  476. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +1 -0
  477. package/lib/types/components/duet-hero/duet-hero.d.ts +3 -0
  478. package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
  479. package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
  480. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +0 -1
  481. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +1 -0
  482. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
  483. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
  484. package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +34 -0
  485. package/lib/types/components/duet-share-chart-item/duet-share-chart-item.d.ts +13 -0
  486. package/lib/types/components/duet-spinner/duet-spinner.d.ts +1 -0
  487. package/lib/types/components/duet-stepper/duet-stepper.d.ts +5 -2
  488. package/lib/types/components/duet-textarea/duet-textarea.d.ts +4 -2
  489. package/lib/types/components.d.ts +92 -8
  490. package/lib/types/utils/language-utils.d.ts +1 -0
  491. package/package.json +3 -3
  492. package/lib/cjs/themeable-component-C57DSx5w.js +0 -15
  493. package/lib/duet/p-0239abf5.entry.js +0 -4
  494. package/lib/duet/p-088001ee.entry.js +0 -4
  495. package/lib/duet/p-1326964d.entry.js +0 -4
  496. package/lib/duet/p-214a4675.entry.js +0 -4
  497. package/lib/duet/p-22773cce.entry.js +0 -4
  498. package/lib/duet/p-27fbdb67.entry.js +0 -4
  499. package/lib/duet/p-2b3219a7.entry.js +0 -4
  500. package/lib/duet/p-412ef68f.entry.js +0 -4
  501. package/lib/duet/p-47597304.entry.js +0 -4
  502. package/lib/duet/p-4a791521.entry.js +0 -4
  503. package/lib/duet/p-4f750925.entry.js +0 -4
  504. package/lib/duet/p-50d0ff41.entry.js +0 -4
  505. package/lib/duet/p-56574361.entry.js +0 -4
  506. package/lib/duet/p-60eb6013.entry.js +0 -4
  507. package/lib/duet/p-6fe83dd7.entry.js +0 -4
  508. package/lib/duet/p-72a4ada8.entry.js +0 -4
  509. package/lib/duet/p-75db52e4.entry.js +0 -4
  510. package/lib/duet/p-77d68685.entry.js +0 -4
  511. package/lib/duet/p-8974c058.entry.js +0 -4
  512. package/lib/duet/p-8d5e5316.entry.js +0 -4
  513. package/lib/duet/p-9302dba5.entry.js +0 -4
  514. package/lib/duet/p-948f9054.entry.js +0 -4
  515. package/lib/duet/p-96e70d5b.entry.js +0 -4
  516. package/lib/duet/p-98f1ee13.entry.js +0 -4
  517. package/lib/duet/p-9f2785ce.entry.js +0 -4
  518. package/lib/duet/p-CCVcVc3m.js +0 -4
  519. package/lib/duet/p-CDAA0sDY.js +0 -4
  520. package/lib/duet/p-CO8vqpmW.js +0 -4
  521. package/lib/duet/p-D6YBFNe9.js +0 -4
  522. package/lib/duet/p-DX5mWLkB.js +0 -4
  523. package/lib/duet/p-Djr45qSY.js +0 -5
  524. package/lib/duet/p-FCSGJbLJ.js +0 -4
  525. package/lib/duet/p-WhCDf9tt.js +0 -4
  526. package/lib/duet/p-a47e139c.entry.js +0 -4
  527. package/lib/duet/p-b0dc7df5.entry.js +0 -4
  528. package/lib/duet/p-cb60a521.entry.js +0 -4
  529. package/lib/duet/p-cebee4a6.entry.js +0 -4
  530. package/lib/duet/p-d2402c02.entry.js +0 -4
  531. package/lib/duet/p-d56c1db9.entry.js +0 -4
  532. package/lib/duet/p-d60c71fc.entry.js +0 -4
  533. package/lib/duet/p-de5e4a26.entry.js +0 -4
  534. package/lib/duet/p-e8718555.entry.js +0 -4
  535. package/lib/duet/p-ed9b30ed.entry.js +0 -4
  536. package/lib/duet/p-f110c4fb.entry.js +0 -4
  537. package/lib/duet/p-f383ccca.entry.js +0 -4
  538. package/lib/duet/p-f593a703.entry.js +0 -4
  539. package/lib/duet/p-fa355e38.entry.js +0 -4
  540. package/lib/duet/p-fc83b2e2.entry.js +0 -4
  541. package/lib/duet/p-k-CbGkPp.js +0 -4
  542. package/lib/esm/themeable-component-WhCDf9tt.js +0 -13
@@ -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: #172a3b;
400
+ }
401
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect[disabled] {
402
+ color: #172a3b !important;
403
+ background: #f5f6f7 !important;
404
+ border-color: #f5f6f7 !important;
405
+ -webkit-text-fill-color: #172a3b !important;
406
+ }
407
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect {
408
+ color: #172a3b;
409
+ }
410
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect svg {
411
+ color: #172a3b;
412
+ }
413
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect .duet-multiselect-badge {
414
+ color: #172a3b;
415
+ background: #e8eaeb;
416
+ }
417
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes {
418
+ border-color: #d4dde2;
419
+ }
420
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button {
421
+ color: #e61740;
422
+ }
423
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover {
424
+ color: #172a3b;
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: #172a3b;
161
+ border-bottom-color: #fbe1d1;
162
+ }
163
+ :host(.duet-theme-turva2) .duet-notification.duet-notification-highlight.duet-theme-turva {
164
+ background: #fdf7f2;
165
+ }
166
+ :host(.duet-theme-turva2) .duet-notification-badge.duet-theme-turva {
167
+ background: #e61740;
168
+ }
169
+ @media (min-width: 62em) {
170
+ :host(.duet-theme-turva2) .duet-notification:hover.duet-theme-turva {
171
+ background: #fdf7f2;
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,17 @@
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: #172a3b;
259
+ border-color: #d4dde2;
260
+ }
261
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-drawer-toggle::after {
262
+ background: #e61740;
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
+ color: #8c001e;
267
+ border-color: #f5f6f7;
255
268
  }
@@ -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(178, 194, 205, 0.2) 0%, rgba(178, 194, 205, 0.2) 1px, rgba(178, 194, 205, 0.1) 1px, rgba(178, 194, 205, 0) 100%);
132
+ }
133
+ :host(.duet-theme-turva2) .duet-theme-turva .duet-number-buttons .duet-number-button:last-of-type::before {
134
+ background: #d4dde2;
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"; }
@@ -104,4 +104,8 @@
104
104
  }
105
105
  .duet-overlay.transition-quickly {
106
106
  transition: 300ms ease;
107
+ }
108
+
109
+ :host(.duet-theme-turva2) .duet-overlay.duet-theme-turva {
110
+ background: #172a3b;
107
111
  }
@@ -59,7 +59,7 @@ export class DuetOverlay {
59
59
  * Always the last one in the class.
60
60
  */
61
61
  render() {
62
- return (h(Host, { key: '6587eb66353af1c4084d8c5eba44620ad4caa30a', "aria-hidden": "true" }, h("div", { key: 'f4dc3ef5134b907ebb8b089b1b33ac4fc2c0ab1b', style: { zIndex: this.zIndex }, class: {
62
+ return (h(Host, { key: 'a940aabf27c88503105399e2bd8e078e6fbbce34', "aria-hidden": "true" }, h("div", { key: '73a03ee885277cf9829fe0eda10af78fa8df61ca', style: { zIndex: this.zIndex }, class: {
63
63
  "duet-overlay": true,
64
64
  "duet-theme-turva": this.theme === "turva",
65
65
  "keep-stacking-context": this.keepStackingContext,
@@ -261,4 +261,5 @@ export class DuetOverlay {
261
261
  }
262
262
  };
263
263
  }
264
+ static get elementRef() { return "element"; }
264
265
  }
@@ -195,6 +195,20 @@
195
195
  height: 75px;
196
196
  }
197
197
  }
198
+ .duet-page-heading .progress-indicator {
199
+ display: flex;
200
+ flex-direction: row;
201
+ gap: 4px;
202
+ }
203
+ .duet-page-heading .progress-step {
204
+ width: 100%;
205
+ height: 4px;
206
+ background-color: rgb(181, 198, 208);
207
+ border-radius: 2px;
208
+ }
209
+ .duet-page-heading .progress-step.active {
210
+ background-color: rgb(0, 119, 179);
211
+ }
198
212
  .duet-page-heading.duet-theme-turva {
199
213
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
200
214
  color: rgb(8, 42, 77);
@@ -210,17 +224,19 @@
210
224
  position: relative;
211
225
  top: -3px;
212
226
  }
213
- .duet-page-heading .progress-indicator {
214
- display: flex;
215
- flex-direction: row;
216
- gap: 4px;
227
+ .duet-page-heading.duet-theme-turva .progress-step {
228
+ background-color: rgb(199, 202, 207);
217
229
  }
218
- .duet-page-heading .progress-step {
219
- width: 100%;
220
- height: 4px;
221
- background-color: rgb(181, 198, 208);
222
- border-radius: 2px;
230
+ .duet-page-heading.duet-theme-turva .progress-step.active {
231
+ background-color: rgb(198, 12, 48);
223
232
  }
224
- .duet-page-heading .progress-step.active {
225
- background-color: rgb(0, 119, 179);
233
+
234
+ :host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .brand-shaped-icon {
235
+ background: rgba(230, 23, 64, 0.9);
236
+ }
237
+ :host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .progress-step {
238
+ background-color: #b2c2cd;
239
+ }
240
+ :host(.duet-theme-turva2) .duet-page-heading.duet-theme-turva .progress-step.active {
241
+ background-color: #e61740;
226
242
  }
@@ -43,12 +43,12 @@ export class DuetPageHeading {
43
43
  */
44
44
  render() {
45
45
  const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
46
- return (h("div", { key: '63a73bb27ff696ea0968ad70a1634a31605c28ae', class: {
46
+ return (h("div", { key: '8f818b186229d038b98fac98c1ef02fc6bbbbd2d', class: {
47
47
  "duet-page-heading": true,
48
48
  "duet-theme-turva": this.theme === "turva",
49
49
  "has-icon": !!this.icon,
50
50
  [layout]: true,
51
- } }, h("div", { key: '3ac344016e732507c936589ac9bc5242160605ab', class: "background" }, this.theme === "turva" && h("div", { key: '43d0f3158fc44555bcaad471d4db7a0fd9c03cd8', class: "background-mask" }), this.theme !== "turva" && h("div", { key: '40cc4cff7adf721f648de49afcd91e1de4f26fe5', class: "brand-shape" }), this.theme !== "turva" && h("div", { key: '0dec9ac76c10d41c3f19b04d3561458f31128cb0', class: "brand-shape second-shape" }), this.icon && (h("div", { key: '63bf96082cab7113ec087005c35579df2fc2b264', class: "brand-shaped-icon" }, h("duet-icon", { key: 'cb260b351576cfede4e6be93105db63a70098354', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), h("div", { key: 'b48cdf1b27c186d25e8a6c3f794a915f4c141297', class: "heading" }, h("slot", { key: 'bc536f6c4382075cf663bd3a17d6042ff599b607', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (h("div", { key: '624c56562aa77d3964b52563b188462d922d95b1' }, h("duet-spacer", { key: '1b32455fc50f2d860630fd9b3d4465a87121ff5b', size: "large" }), h("div", { key: '2897fd8f1d826e84ea32534ed8437068c86173e8', role: "presentation" }, this.progressIndicator()))))));
51
+ } }, h("div", { key: '6c42ddfcc4f65c95ccd4bceb1956b60e610e359c', class: "background" }, this.theme === "turva" && h("div", { key: '9184e6a6696c793a0060e0492c3b508c38f6afff', class: "background-mask" }), this.theme !== "turva" && h("div", { key: '0c6f06c85f2f010bfa32f1867bc00f3f126c0304', class: "brand-shape" }), this.theme !== "turva" && h("div", { key: '744abcada9154113142f7ab873d15a6b1526e8b4', class: "brand-shape second-shape" }), this.icon && (h("div", { key: 'f83dae2fe07c0281b210f113cd79bd32b91862f4', class: "brand-shaped-icon" }, h("duet-icon", { key: '3cd1eee3628ce5819928da75d29a2d67bfeb40aa', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), h("div", { key: 'af626d8cb5b1a075dd37a7431ec5bb343100d7e7', class: "heading" }, h("slot", { key: '042d9bbc8fb8c1c5dd7fe5ec65b734276117629b', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (h("div", { key: '20ebc9e86f822c59513030d34a633f68f2a188de' }, h("duet-spacer", { key: 'f8e666d65264a949ba60d896b82b457638161fbd', size: "large" }), h("div", { key: 'fe52a841e12dcf6145521a47d4349efd7f83878b', role: "presentation" }, this.progressIndicator()))))));
52
52
  }
53
53
  static get is() { return "duet-page-heading"; }
54
54
  static get encapsulation() { return "shadow"; }
@@ -76,4 +76,8 @@
76
76
  :host(.duet-theme-turva) .duet-pagination-total-pages {
77
77
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
78
78
  color: rgb(23, 28, 58);
79
+ }
80
+
81
+ :host(.duet-theme-turva2.duet-theme-turva) .duet-pagination-total-pages {
82
+ color: #172a3b;
79
83
  }
@@ -394,32 +394,32 @@ export class DuetPagination {
394
394
  * Always the last one in the class.
395
395
  */
396
396
  render() {
397
- return (h(Host, { key: '2d201ade7a465ccdc9c838ae9bab20073e4bcecb', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, h("nav", { key: '888b2365acf343cc2827df0392e0b4fe62609d4d', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
397
+ return (h(Host, { key: '32fcbc1ab1d2e72c8e3f681c8b5405362be964e3', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, h("nav", { key: '020a385482262cd9ea6bbd8d32e55976a95d7543', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
398
398
  "duet-pagination-nav": true,
399
399
  [`duet-pagination-variation-${this.variation}`]: true,
400
- } }, this.numbersStore !== "" && (h("div", { key: 'ba5c72184ebb300e442a4b2b1becccbc19ed8423', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, h("duet-badge", { key: 'f9e011d5b841903bd0ae666a01702f55d781328e', theme: this.theme }, "jump to page : ", this.numbersStore))), h("ol", { key: 'fde01f858aaeb95ba0404fa3444ea940c4521bfe', id: this.listId, class: {
400
+ } }, this.numbersStore !== "" && (h("div", { key: '953681769a2c37b202d257783517eb0a067d58a2', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, h("duet-badge", { key: '64b7cec76275874d10409a43c2a9268091aa63ee', theme: this.theme }, "jump to page : ", this.numbersStore))), h("ol", { key: '2810f47527a6ccfbb2957495acd0c9314586b4b2', id: this.listId, class: {
401
401
  "duet-pagination": true,
402
402
  "duet-pagination-is-dimmed": this.numbersStore !== "",
403
- }, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '87d432d6f501f000078bbdda6bb39e82f4b7d215', class: {
403
+ }, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: 'fcee9f5f028b340bf8b20cbaeebdea80e9e0c738', class: {
404
404
  "duet-pagination-page-button": true,
405
405
  "duet-pagination-button-first": true,
406
- }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '48790021a45abdfe137b20483a06b6690d495d35', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), h("li", { key: '4ac0987a55fe881a53d9bc6c31d244eaa477be1b', class: {
406
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: 'aa7e10b2c1fa46f2634e15bf1c11a7b317745885', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), h("li", { key: 'c209b2a485ac203090db53813c9bc5b52740692f', class: {
407
407
  "duet-pagination-page-button": true,
408
408
  "duet-pagination-button-first": true,
409
- }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '02e70e026d31ab7441d9c575608f71d9d9b7f6db', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
409
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '52fe136a3fd99f42538a87c24672770197ff34fd', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
410
410
  (this.current <= 1 && this.processedPageLinks) ||
411
- this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, { key: '5886c6e74ce3e15ac790490751f51621dd57fdec' }, h("li", { key: '45e0f614f9739127af3db736511f8f2feb8ea44b', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: 'c5a0826c468d8dd373d888635d047df3b9cfec9d', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, h("div", { key: 'b5e39c58743ca5fdb18beceacd72f984810ce21c', class: "duet-pagination-page-number" }, "1"))), h("li", { key: '76a2a84474e75823ecf3af83d8cc4d20cedd18ec', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: 'e0f755e9904df57b0ea6c75942860691ec4d3e03', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, h("div", { key: 'f272ec274436aa7b7167dbf9944d43e33925139a', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
412
- this.shouldDisplayNavigation() && (h(Fragment, { key: '8e0861e975abf48bf39308fa084c1b079a9b5739' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (h("li", { key: 'd9b973b371d95a200b810909575a98accce60148', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: '72dc3ed56da6648d3a0d9bc43b96c56bf1caf8d0', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, h("div", { key: 'd56560b3ed29d1c082d13cbe130b12f76290ce97', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), h("li", { key: 'c6b2c864c5562f5061783088344ff90095ecb70e', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: 'de9d1fd87aca35c376c1d00fd3ed2f685ef72199', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
411
+ this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, { key: '03be7831dee21cb070175cf3e50ae89b0eba49b3' }, h("li", { key: '81cee7f4767a20b952964f8ce856621caad7b1cb', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: 'd280492036cb4ae490d70498078e8e649fe94ee2', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, h("div", { key: 'e6aa3d3cc594fed23cb4d0146ebdd07c62e1cc25', class: "duet-pagination-page-number" }, "1"))), h("li", { key: 'dc4cbf113dc745b52d8787bc89429e32b68f53cb', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: 'dd58996ba1d6c5a32018d173150afdd995fa9b75', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, h("div", { key: '2d354dd1353d1a3445b585cde4659f4aa3a39733', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
412
+ this.shouldDisplayNavigation() && (h(Fragment, { key: '7b20cc74d44f1b9cf952ee69fcac743ba66eda24' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (h("li", { key: 'fd54712037bfcd681f00929685daeee86cf4ed69', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: 'd1df047e013903691bbd00c4fd495ab408f73a58', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, h("div", { key: 'a0a24b8be4d7b24fa7c15bd35c5f29b74ad0083e', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), h("li", { key: 'e996b1229282d32e9f0fb4c0eeb1fbab748e0c8d', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: 'c8dc915042f3bde87bac5f0fbdfe6ba5cf6f42fd', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
413
413
  ? this.processedPageLinks[this.processedPageLinks.length - 1]
414
- : undefined }, h("div", { key: '056315d9628a50491896db4fdbe2546be9cf222c', class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { key: '610a8833a6d77befc4f138e1319d4618f7682495', class: {
414
+ : undefined }, h("div", { key: '01808887dfd64e716f50b336d7347e2b2b3bd40f', class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { key: '417732a79f9d070cd3ccd0dfc79bbc300c30e60c', class: {
415
415
  "duet-pagination-page-button": true,
416
416
  "duet-pagination-button-last": true,
417
- }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '441d49068bda46c7a66e21fbe6a7f9445cd5fe8c', disabled: !!((this.current === this.totalPages &&
417
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '0fdb57959080ef0126266df23717517b6f5be405', disabled: !!((this.current === this.totalPages &&
418
418
  this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
419
- (this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '520c47b865d45f68dca480bded5d25da0ddcdba5', class: {
419
+ (this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: 'c8d1ff36a756d28252a339e9972088d7e451f54b', class: {
420
420
  "duet-pagination-page-button": true,
421
421
  "duet-pagination-button-last": true,
422
- }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: 'e0f008819c6637bd8519eed4a9411a712d5b0ee5', disabled: (this.current === this.totalPages &&
422
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '7e6029710b0c761b62a21f7aabab346cfe318957', disabled: (this.current === this.totalPages &&
423
423
  this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
424
424
  this.disabled, accessibleLabel: this.accessibleLabels.last_page, title: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), "icon-name": "action-move-to-last", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.totalPages - 1] : undefined })))))));
425
425
  }
@@ -103,4 +103,14 @@
103
103
  ::slotted(a):active {
104
104
  opacity: 0.75;
105
105
  transition: none;
106
+ }
107
+
108
+ :host(.duet-theme-turva2) .duet-paragraph.duet-theme-turva {
109
+ color: #172a3b;
110
+ }
111
+ :host(.duet-theme-turva2) ::slotted(a).duet-theme-turva {
112
+ color: #e61740;
113
+ }
114
+ :host(.duet-theme-turva2) ::slotted(a:hover).duet-theme-turva {
115
+ color: #8c001e;
106
116
  }
@@ -51,7 +51,7 @@ export class DuetParagraph {
51
51
  const color = getColorByName(this.color);
52
52
  // aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
53
53
  // are not announced when placed inside duet-modal
54
- return (h(Host, { key: '6a13b5ffe8df2d7d3fbab1a8bb419feb340da706', "aria-describedby": this.id }, h("p", { key: '80e12bf1949ea7f97ee2cc539e90ede233e6e719', id: this.id, class: {
54
+ return (h(Host, { key: 'b7f1df2b017984133517a2742be5e5444f1e6894', "aria-describedby": this.id }, h("p", { key: '607059f9661102231b510b5923e0c71472f22804', id: this.id, class: {
55
55
  "duet-paragraph": true,
56
56
  "duet-paragraph-small": this.size === "small",
57
57
  "duet-paragraph-semi-bold": this.weight === "semi-bold",
@@ -59,7 +59,7 @@ export class DuetParagraph {
59
59
  "duet-m-0": this.margin === "none",
60
60
  [this.variation]: true,
61
61
  "duet-theme-turva": this.theme === "turva",
62
- }, style: { color }, part: "duet-paragraph" }, h("slot", { key: '219b0fe9f531f0a930b64d7d26c556d1010d9ef3' }))));
62
+ }, style: { color }, part: "duet-paragraph" }, h("slot", { key: 'e5e6da5cbb23f9fb7bfc3773c3b8e79666054878' }))));
63
63
  }
64
64
  static get is() { return "duet-paragraph"; }
65
65
  static get encapsulation() { return "shadow"; }
@@ -103,9 +103,9 @@ export class DuetPhoneInput {
103
103
  //console.log(ev)
104
104
  };
105
105
  this.handleInput = () => {
106
- var _a, _b;
107
- const currentValue = (_a = this.duetInputElement.value) === null || _a === void 0 ? void 0 : _a.trim();
108
- const currentCountryCode = (this.currentCountry !== "error" && ((_b = this.currentCountry) === null || _b === void 0 ? void 0 : _b.telephoneCountryCode)) || "";
106
+ var _a, _b, _c;
107
+ const currentValue = (_b = (_a = this.duetInputElement) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.trim();
108
+ const currentCountryCode = (this.currentCountry !== "error" && ((_c = this.currentCountry) === null || _c === void 0 ? void 0 : _c.telephoneCountryCode)) || "";
109
109
  const inputCountryCode = this.findCountryCode(currentValue) || "";
110
110
  if (!currentValue) {
111
111
  this.currentCountry = undefined;
@@ -185,17 +185,19 @@ export class DuetPhoneInput {
185
185
  * Value of the input.
186
186
  */
187
187
  get value() {
188
- var _a;
189
- return (_a = this.duetInputElement.value) === null || _a === void 0 ? void 0 : _a.replace(/\s/g, "");
188
+ var _a, _b, _c;
189
+ return (_c = (_b = (_a = this.duetInputElement) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.replace(/\s/g, "")) !== null && _c !== void 0 ? _c : "";
190
190
  }
191
191
  set value(val) {
192
- this._value = val;
192
+ this.duetInputElement.value = `${val}`.replace(/[^\d+ ]/g, "");
193
+ this.handleInput();
193
194
  }
194
195
  /**
195
196
  * This is a proxy for the enclosed native inputs validity
196
197
  */
197
198
  get validity() {
198
- return this.duetInputElement.validity;
199
+ var _a;
200
+ return (_a = this.duetInputElement) === null || _a === void 0 ? void 0 : _a.validity;
199
201
  }
200
202
  /**t
201
203
  * Component lifecycle events.
@@ -217,7 +219,8 @@ export class DuetPhoneInput {
217
219
  * Sets focus on the contained input element, use this instead of the native `input.focus()`.
218
220
  */
219
221
  async setFocus(options) {
220
- this.duetInputElement.setFocus(options);
222
+ var _a;
223
+ (_a = this.duetInputElement) === null || _a === void 0 ? void 0 : _a.setFocus(options);
221
224
  }
222
225
  setInputCountryCode() {
223
226
  if (this.currentCountry === "error") {
@@ -230,7 +233,6 @@ export class DuetPhoneInput {
230
233
  return;
231
234
  }
232
235
  const oldCode = this.findCountryCode(prevValue);
233
- console.log("Old code", oldCode);
234
236
  if (oldCode) {
235
237
  this.duetInputElement.value = prevValue.replace(`+${oldCode}`, newCode).replace(" ", " ");
236
238
  return;
@@ -238,7 +240,7 @@ export class DuetPhoneInput {
238
240
  this.duetInputElement.value = prevValue.replace("+", newCode);
239
241
  }
240
242
  findCountryCode(value) {
241
- const normalizedValue = value.trim();
243
+ const normalizedValue = (value === null || value === void 0 ? void 0 : value.trim()) || "";
242
244
  if (!normalizedValue.startsWith("+")) {
243
245
  return undefined;
244
246
  }
@@ -280,7 +282,7 @@ export class DuetPhoneInput {
280
282
  "duet-theme-turva": this.theme === "turva",
281
283
  "duet-expand": this.expand,
282
284
  "duet-m-0": this.margin === "none",
283
- } }, h("div", { class: "duet-phone-input-container" }, h("duet-popup-menu", { ref: el => (this.countryCodePopup = el), scrollLimit: 10, showFilterInput: true }, this.countriesToList.map(country => country.isoCode === lastListFirstCode ? (h(Fragment, null, h("duet-popup-menu-item", { value: country.isoCode, onClick: this.handleCountryCodeSelectorSelect }, h("duet-grid", { alignment: "center" }, this.renderFlag(country.isoCode), h("span", null, country[this.language], " (+", country.telephoneCountryCode, ")"))), h("duet-spacer", { size: "x-small" }), h("duet-divider", { margin: "small" }))) : (h("duet-popup-menu-item", { value: country.isoCode, onClick: this.handleCountryCodeSelectorSelect }, h("duet-grid", { alignment: "center" }, this.renderFlag(country.isoCode), h("span", null, country[this.language], " (+", country.telephoneCountryCode, ")")))))), h("duet-input", { ref: el => (this.duetInputElement = el), onDuetChange: this.handleChange, onDuetFocus: this.handleFocus, onDuetBlur: this.handleBlur, onDuetInput: this.handleInput, label: this.label, caption: this.caption, value: this._value, error: this.error, name: this.name, component: "phone", variation: "button-left", type: "tel", disallowPattern: "[^\\+0-9 ]", required: this.required, disabled: this.disabled, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true }, h("duet-button", { ref: el => (this.countryCodeButton = el), slot: "button-left", variation: "input-button-left-secondary", margin: "none", fixed: true, icon: "action-arrow-down-small", iconSize: "small", iconRight: true, accessibleLabel: this.buttonAriaLabel[this.language], onClick: this.handleCountryCodeSelectorOpen }, h("span", { class: "flag-container" }, this.getFlagForButton())), h("slot", { name: "tooltip" })))));
285
+ } }, h("div", { class: "duet-phone-input-container" }, h("duet-popup-menu", { ref: el => (this.countryCodePopup = el), scrollLimit: 10, showFilterInput: true }, this.countriesToList.map(country => country.isoCode === lastListFirstCode ? (h(Fragment, null, h("duet-popup-menu-item", { value: country.isoCode, onClick: this.handleCountryCodeSelectorSelect }, h("duet-grid", { alignment: "center" }, this.renderFlag(country.isoCode), h("span", null, country[this.language], " (+", country.telephoneCountryCode, ")"))), h("duet-divider", null))) : (h("duet-popup-menu-item", { value: country.isoCode, onClick: this.handleCountryCodeSelectorSelect }, h("duet-grid", { alignment: "center" }, this.renderFlag(country.isoCode), h("span", null, country[this.language], " (+", country.telephoneCountryCode, ")")))))), h("duet-input", { ref: el => (this.duetInputElement = el), onDuetChange: this.handleChange, onDuetFocus: this.handleFocus, onDuetBlur: this.handleBlur, onDuetInput: this.handleInput, label: this.label, caption: this.caption, error: this.error, name: this.name, component: "phone", variation: "button-left", type: "tel", disallowPattern: "[^\\+0-9 ]", required: this.required, disabled: this.disabled, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true }, h("duet-button", { ref: el => (this.countryCodeButton = el), slot: "button-left", variation: "input-button-left-secondary", margin: "none", fixed: true, icon: "action-arrow-down-small", iconSize: "small", iconRight: true, accessibleLabel: this.buttonAriaLabel[this.language], onClick: this.handleCountryCodeSelectorOpen }, h("span", { class: "flag-container" }, this.getFlagForButton())), h("slot", { name: "tooltip" })))));
284
286
  }
285
287
  static get is() { return "duet-phone-input"; }
286
288
  static get encapsulation() { return "shadow"; }
@@ -61,4 +61,12 @@
61
61
 
62
62
  ::slotted(duet-notification) {
63
63
  max-width: 360px;
64
+ }
65
+
66
+ slot {
67
+ --divider-margin: var(--space-x-small, 8px);
68
+ }
69
+
70
+ :host(.duet-theme-turva2) .duet-popup-menu-list.duet-theme-turva {
71
+ color: #172a3b !important;
64
72
  }