@duetds/components 10.0.0-alpha.26 → 10.0.0-alpha.28

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 (443) hide show
  1. package/hydrate/index.js +364 -273
  2. package/hydrate/index.mjs +364 -273
  3. package/lib/cjs/{a11y-utils-CnLnSK4z.js → a11y-utils-CJbT7JyN.js} +1 -1
  4. package/lib/cjs/{app-globals-B3iie8Hv.js → app-globals-Bg_Qat6e.js} +1 -1
  5. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  6. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-badge.cjs.entry.js +5 -5
  8. package/lib/cjs/duet-banner.cjs.entry.js +20 -9
  9. package/lib/cjs/duet-breadcrumb.cjs.entry.js +11 -20
  10. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +7 -7
  11. package/lib/cjs/duet-button_2.cjs.entry.js +7 -7
  12. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  13. package/lib/cjs/duet-caption_4.cjs.entry.js +10 -10
  14. package/lib/cjs/duet-card.cjs.entry.js +5 -5
  15. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-chip.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +7 -7
  19. package/lib/cjs/duet-collapsible.cjs.entry.js +17 -8
  20. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  22. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  23. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
  24. package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
  25. package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
  26. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  28. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-footer.cjs.entry.js +4 -4
  30. package/lib/cjs/duet-grid_2.cjs.entry.js +11 -10
  31. package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
  32. package/lib/cjs/duet-hero.cjs.entry.js +15 -11
  33. package/lib/cjs/duet-icon.cjs.entry.js +6 -6
  34. package/lib/cjs/duet-indicator.cjs.entry.js +53 -0
  35. package/lib/cjs/duet-input_2.cjs.entry.js +12 -12
  36. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  37. package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
  38. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  39. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  41. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
  42. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-menu-bar.cjs.entry.js +7 -7
  44. package/lib/cjs/duet-modal.cjs.entry.js +13 -13
  45. package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
  46. package/lib/cjs/duet-nav.cjs.entry.js +4 -4
  47. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  48. package/lib/cjs/duet-number-input.cjs.entry.js +6 -6
  49. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
  51. package/lib/cjs/duet-pagination_2.cjs.entry.js +17 -17
  52. package/lib/cjs/duet-panel.cjs.entry.js +5 -5
  53. package/lib/cjs/duet-phone-input.cjs.entry.js +22 -7
  54. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
  55. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
  57. package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
  58. package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
  59. package/lib/cjs/duet-scrollable_3.cjs.entry.js +21 -19
  60. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-select.cjs.entry.js +9 -9
  62. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-share-chart.cjs.entry.js +7 -7
  65. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  66. package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-slideout-link.cjs.entry.js +8 -8
  68. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
  69. package/lib/cjs/duet-slideout-panel.cjs.entry.js +15 -20
  70. package/lib/cjs/duet-slideout.cjs.entry.js +11 -11
  71. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-step_2.cjs.entry.js +6 -6
  73. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  74. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
  75. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
  76. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
  78. package/lib/cjs/duet-textarea.cjs.entry.js +8 -8
  79. package/lib/cjs/duet-toggle.cjs.entry.js +6 -6
  80. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  81. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  82. package/lib/cjs/duet-toolbar-item.cjs.entry.js +9 -9
  83. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  84. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
  86. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
  87. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  88. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  89. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  90. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  91. package/lib/cjs/duet.cjs.js +3 -3
  92. package/lib/cjs/{errorcodes.utils-BgHe-1YU.js → errorcodes.utils-CvAMXZjl.js} +1 -1
  93. package/lib/cjs/{focus-utils-CT74z9Qb.js → focus-utils-C8MDOQZG.js} +1 -1
  94. package/lib/cjs/{index-C6D9Bly8.js → index-BkDTP7hm.js} +5 -1
  95. package/lib/cjs/{label-tyZX3oPG.js → label-DYV9pC59.js} +1 -1
  96. package/lib/cjs/{language-utils-DcgSN-KH.js → language-utils-BxIeXBGy.js} +1 -1
  97. package/lib/cjs/loader.cjs.js +3 -3
  98. package/lib/cjs/{slot-utils-ByPWwvPp.js → slot-utils-F-Jmx-3a.js} +1 -1
  99. package/lib/cjs/{themeable-component-Doq36ycm.js → themeable-component-DvX_Xgrg.js} +1 -1
  100. package/lib/cjs/{token-utils-DsVwGXGM.js → token-utils-b3aW02zZ.js} +7 -4
  101. package/lib/collection/collection-manifest.json +1 -0
  102. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  103. package/lib/collection/components/duet-banner/duet-banner.css +27 -0
  104. package/lib/collection/components/duet-banner/duet-banner.js +15 -4
  105. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +1 -1
  106. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +9 -22
  107. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +3 -3
  108. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  109. package/lib/collection/components/duet-button/duet-button.css +3 -0
  110. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  111. package/lib/collection/components/duet-card/duet-card.css +12 -3
  112. package/lib/collection/components/duet-chip/duet-chip.css +6 -6
  113. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  114. package/lib/collection/components/duet-choice/duet-choice.css +4 -4
  115. package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
  116. package/lib/collection/components/duet-collapsible/duet-collapsible.js +15 -6
  117. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  118. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  119. package/lib/collection/components/duet-grid/duet-grid.js +7 -6
  120. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  121. package/lib/collection/components/duet-hero/duet-hero.css +220 -29
  122. package/lib/collection/components/duet-hero/duet-hero.js +10 -6
  123. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  124. package/lib/collection/components/duet-indicator/duet-indicator.css +46 -0
  125. package/lib/collection/components/duet-indicator/duet-indicator.js +104 -0
  126. package/lib/collection/components/duet-input/duet-input.js +8 -8
  127. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  128. package/lib/collection/components/duet-link/duet-link.js +2 -2
  129. package/lib/collection/components/duet-list/duet-list.js +1 -1
  130. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  131. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  132. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +4 -0
  133. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  134. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  135. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  136. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  137. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  138. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  139. package/lib/collection/components/duet-modal/duet-modal.js +7 -7
  140. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  141. package/lib/collection/components/duet-nav/duet-nav.css +4 -0
  142. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  143. package/lib/collection/components/duet-notification/duet-notification.css +4 -15
  144. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  145. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +0 -15
  146. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  147. package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
  148. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  149. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  150. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  151. package/lib/collection/components/duet-panel/duet-panel.css +5 -4
  152. package/lib/collection/components/duet-panel/duet-panel.js +2 -2
  153. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  154. package/lib/collection/components/duet-phone-input/duet-phone-input.js +56 -3
  155. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  156. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  157. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  158. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  159. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  160. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  161. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  162. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  163. package/lib/collection/components/duet-select/duet-select.js +5 -5
  164. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  165. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  166. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  167. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  168. package/lib/collection/components/duet-slideout/duet-slideout.css +26 -19
  169. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  170. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +2 -2
  171. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  172. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +3 -3
  173. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  174. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +16 -22
  175. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +9 -14
  176. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +2 -2
  177. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  178. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  179. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  180. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  181. package/lib/collection/components/duet-step/duet-step.js +2 -2
  182. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  183. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +4 -0
  184. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  185. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  186. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  187. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  188. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  189. package/lib/collection/components/duet-tab/duet-tab.js +53 -3
  190. package/lib/collection/components/duet-tab-group/duet-tab-group.css +6 -61
  191. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -6
  192. package/lib/collection/components/duet-table/duet-table.js +2 -2
  193. package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
  194. package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
  195. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  196. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  197. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  198. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +9 -14
  199. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  200. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  201. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  202. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  203. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  204. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  205. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  206. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  207. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  208. package/lib/collection/utils/token-utils.js +3 -3
  209. package/lib/duet/duet.esm.js +1 -1
  210. package/lib/duet/{p-4da25e3d.entry.js → p-01a9a47d.entry.js} +1 -1
  211. package/lib/duet/{p-534180fa.entry.js → p-09758ca7.entry.js} +1 -1
  212. package/lib/duet/{p-a745298d.entry.js → p-1206ff96.entry.js} +1 -1
  213. package/lib/duet/{p-84777c03.entry.js → p-12ac4ff1.entry.js} +1 -1
  214. package/lib/duet/{p-dd8216e7.entry.js → p-166bc231.entry.js} +1 -1
  215. package/lib/duet/{p-16f691fd.entry.js → p-16a96348.entry.js} +1 -1
  216. package/lib/duet/{p-ec72f3a2.entry.js → p-1a8da00c.entry.js} +1 -1
  217. package/lib/duet/p-20fa2389.entry.js +4 -0
  218. package/lib/duet/p-22e7cf7d.entry.js +4 -0
  219. package/lib/duet/p-2cdeebb1.entry.js +4 -0
  220. package/lib/duet/{p-88216acf.entry.js → p-2f21ed78.entry.js} +1 -1
  221. package/lib/duet/p-2f8ac3ad.entry.js +4 -0
  222. package/lib/duet/{p-a64da31d.entry.js → p-30035283.entry.js} +1 -1
  223. package/lib/duet/{p-0864a12e.entry.js → p-3208daa6.entry.js} +1 -1
  224. package/lib/duet/{p-f82a2ab7.entry.js → p-34ca9627.entry.js} +1 -1
  225. package/lib/duet/{p-d05bbd77.entry.js → p-35fdce02.entry.js} +1 -1
  226. package/lib/duet/{p-4cd019a5.entry.js → p-3a1c718a.entry.js} +1 -1
  227. package/lib/duet/{p-117970c7.entry.js → p-3a4a486b.entry.js} +1 -1
  228. package/lib/duet/p-41558cfd.entry.js +4 -0
  229. package/lib/duet/{p-a704d617.entry.js → p-447520f5.entry.js} +1 -1
  230. package/lib/duet/p-44e44f11.entry.js +4 -0
  231. package/lib/duet/{p-2d62148e.entry.js → p-49534af3.entry.js} +1 -1
  232. package/lib/duet/{p-0fccda7b.entry.js → p-4e6bc806.entry.js} +1 -1
  233. package/lib/duet/{p-2a563d22.entry.js → p-54dff5d5.entry.js} +1 -1
  234. package/lib/duet/p-5a2e2e55.entry.js +4 -0
  235. package/lib/duet/p-5cd78818.entry.js +4 -0
  236. package/lib/duet/{p-1f9c5d58.entry.js → p-5d626b10.entry.js} +1 -1
  237. package/lib/duet/p-5da18b67.entry.js +4 -0
  238. package/lib/duet/{p-806121b1.entry.js → p-631b16b7.entry.js} +1 -1
  239. package/lib/duet/{p-288da581.entry.js → p-66dc053b.entry.js} +1 -1
  240. package/lib/duet/{p-829482da.entry.js → p-68b125c1.entry.js} +1 -1
  241. package/lib/duet/{p-44deeddc.entry.js → p-6b79244a.entry.js} +1 -1
  242. package/lib/duet/{p-e9886226.entry.js → p-6e1454e9.entry.js} +1 -1
  243. package/lib/duet/{p-8194b05d.entry.js → p-6f710a62.entry.js} +1 -1
  244. package/lib/duet/{p-02ba799f.entry.js → p-787b30fc.entry.js} +1 -1
  245. package/lib/duet/{p-15a7a9be.entry.js → p-78db887a.entry.js} +1 -1
  246. package/lib/duet/{p-d079278e.entry.js → p-7912bc42.entry.js} +1 -1
  247. package/lib/duet/{p-4da439ae.entry.js → p-796eec58.entry.js} +1 -1
  248. package/lib/duet/p-7b718349.entry.js +4 -0
  249. package/lib/duet/{p-66cb6021.entry.js → p-7c3fcd96.entry.js} +1 -1
  250. package/lib/duet/{p-9a7382a4.entry.js → p-7e02804f.entry.js} +1 -1
  251. package/lib/duet/p-8017e834.entry.js +4 -0
  252. package/lib/duet/{p-ecb4e99d.entry.js → p-81992942.entry.js} +1 -1
  253. package/lib/duet/{p-f2ae56b2.entry.js → p-8356498a.entry.js} +1 -1
  254. package/lib/duet/p-87fa61b0.entry.js +4 -0
  255. package/lib/duet/p-882f0aaf.entry.js +4 -0
  256. package/lib/duet/{p-92b13088.entry.js → p-88e2e400.entry.js} +1 -1
  257. package/lib/duet/p-8d3c4a3f.entry.js +4 -0
  258. package/lib/duet/p-8de6d1e2.entry.js +4 -0
  259. package/lib/duet/p-97ba0b31.entry.js +4 -0
  260. package/lib/duet/{p-066f855b.entry.js → p-97bb619b.entry.js} +1 -1
  261. package/lib/duet/p-9ac2964f.entry.js +4 -0
  262. package/lib/duet/{p-34706bbb.entry.js → p-9dd85685.entry.js} +1 -1
  263. package/lib/duet/{p-C-YpEPL-.js → p-BFsh4y5I.js} +1 -1
  264. package/lib/duet/{p-DoTAjqzf.js → p-BVUumLs-.js} +1 -1
  265. package/lib/duet/{p-BPFqbaxm.js → p-BfHFKBVa.js} +1 -1
  266. package/lib/duet/p-D3JjrjH_.js +4 -0
  267. package/lib/duet/{p-BkHWWyft.js → p-D4WDSjzx.js} +1 -1
  268. package/lib/duet/p-DEF77zC7.js +4 -0
  269. package/lib/duet/p-DeH5mj7m.js +4 -0
  270. package/lib/duet/p-Do6ugHz0.js +4 -0
  271. package/lib/duet/{p-C2xFZ1pZ.js → p-Yh6R_0l1.js} +1 -1
  272. package/lib/duet/{p-6fa7de01.entry.js → p-a1442533.entry.js} +1 -1
  273. package/lib/duet/{p-23475050.entry.js → p-abd2d2e5.entry.js} +1 -1
  274. package/lib/duet/p-adf33c50.entry.js +4 -0
  275. package/lib/duet/{p-4c118ad6.entry.js → p-b88c7286.entry.js} +1 -1
  276. package/lib/duet/{p-148b6203.entry.js → p-b9125a20.entry.js} +1 -1
  277. package/lib/duet/{p-d71a366e.entry.js → p-b942ee5a.entry.js} +1 -1
  278. package/lib/duet/{p-8625d3ce.entry.js → p-bd08aba8.entry.js} +1 -1
  279. package/lib/duet/p-be077745.entry.js +4 -0
  280. package/lib/duet/{p-433a9f98.entry.js → p-c084c91d.entry.js} +1 -1
  281. package/lib/duet/{p-ad08429f.entry.js → p-c43dc2fd.entry.js} +1 -1
  282. package/lib/duet/{p-15859eb3.entry.js → p-c9ef3dfc.entry.js} +1 -1
  283. package/lib/duet/p-c9fd65ce.entry.js +4 -0
  284. package/lib/duet/{p-0e15fd30.entry.js → p-caf2cab9.entry.js} +1 -1
  285. package/lib/duet/{p-babe244b.entry.js → p-cb78347a.entry.js} +1 -1
  286. package/lib/duet/p-cc343a6c.entry.js +4 -0
  287. package/lib/duet/p-d0cc1c5b.entry.js +4 -0
  288. package/lib/duet/{p-e9becc58.entry.js → p-d83d4c83.entry.js} +1 -1
  289. package/lib/duet/{p-22641f21.entry.js → p-d93c2be4.entry.js} +1 -1
  290. package/lib/duet/{p-5fdfb13d.entry.js → p-daa8f255.entry.js} +1 -1
  291. package/lib/duet/{p-4a325ef1.entry.js → p-dd8692cb.entry.js} +1 -1
  292. package/lib/duet/{p-2f150cd4.entry.js → p-ddbdbe11.entry.js} +1 -1
  293. package/lib/duet/{p-78a9b684.entry.js → p-ea979f26.entry.js} +1 -1
  294. package/lib/duet/p-eab48b73.entry.js +4 -0
  295. package/lib/duet/p-ee38050b.entry.js +4 -0
  296. package/lib/duet/p-f0076621.entry.js +4 -0
  297. package/lib/duet/p-f2b7be73.entry.js +4 -0
  298. package/lib/duet/{p-6b2697ad.entry.js → p-f30823aa.entry.js} +1 -1
  299. package/lib/duet/p-f78c747f.entry.js +4 -0
  300. package/lib/duet/p-fc2d3b85.entry.js +4 -0
  301. package/lib/duet/{p-6dca8f77.entry.js → p-fcc4cd08.entry.js} +1 -1
  302. package/lib/duet/{p-9440a479.entry.js → p-fdab5c0b.entry.js} +1 -1
  303. package/lib/duet/{p-5a6fd350.entry.js → p-fec4da8c.entry.js} +1 -1
  304. package/lib/duet/{p-62df87ea.entry.js → p-ff169773.entry.js} +1 -1
  305. package/lib/duet/{p-D5MfS1RP.js → p-x84EsPoI.js} +1 -1
  306. package/lib/esm/{a11y-utils-C6cn5C3e.js → a11y-utils-CRHgvsu9.js} +1 -1
  307. package/lib/esm/{app-globals-CcxHDwb4.js → app-globals-CYQv_sg4.js} +1 -1
  308. package/lib/esm/duet-action-button.entry.js +4 -4
  309. package/lib/esm/duet-alert.entry.js +4 -4
  310. package/lib/esm/duet-badge.entry.js +5 -5
  311. package/lib/esm/duet-banner.entry.js +20 -9
  312. package/lib/esm/duet-breadcrumb.entry.js +11 -20
  313. package/lib/esm/duet-breadcrumbs.entry.js +7 -7
  314. package/lib/esm/duet-button_2.entry.js +7 -7
  315. package/lib/esm/duet-callout.entry.js +5 -5
  316. package/lib/esm/duet-caption_4.entry.js +10 -10
  317. package/lib/esm/duet-card.entry.js +5 -5
  318. package/lib/esm/duet-checkbox.entry.js +2 -2
  319. package/lib/esm/duet-checkmark.entry.js +4 -4
  320. package/lib/esm/duet-chip.entry.js +4 -4
  321. package/lib/esm/duet-choice_2.entry.js +7 -7
  322. package/lib/esm/duet-collapsible.entry.js +17 -8
  323. package/lib/esm/duet-combobox.entry.js +4 -4
  324. package/lib/esm/duet-contact-card.entry.js +5 -5
  325. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  326. package/lib/esm/duet-date-picker.entry.js +6 -6
  327. package/lib/esm/duet-divider_2.entry.js +4 -4
  328. package/lib/esm/duet-editable-table_3.entry.js +9 -9
  329. package/lib/esm/duet-empty-state.entry.js +2 -2
  330. package/lib/esm/duet-fieldset.entry.js +6 -6
  331. package/lib/esm/duet-file-chooser.entry.js +2 -2
  332. package/lib/esm/duet-footer.entry.js +4 -4
  333. package/lib/esm/duet-grid_2.entry.js +11 -10
  334. package/lib/esm/duet-header_2.entry.js +5 -5
  335. package/lib/esm/duet-hero.entry.js +15 -11
  336. package/lib/esm/duet-icon.entry.js +6 -6
  337. package/lib/esm/duet-indicator.entry.js +51 -0
  338. package/lib/esm/duet-input_2.entry.js +12 -12
  339. package/lib/esm/duet-layout.entry.js +7 -7
  340. package/lib/esm/duet-list_2.entry.js +5 -5
  341. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  342. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  343. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  344. package/lib/esm/duet-menu-bar-item.entry.js +7 -7
  345. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  346. package/lib/esm/duet-menu-bar.entry.js +7 -7
  347. package/lib/esm/duet-modal.entry.js +13 -13
  348. package/lib/esm/duet-multiselect.entry.js +10 -10
  349. package/lib/esm/duet-nav.entry.js +4 -4
  350. package/lib/esm/duet-notification_2.entry.js +9 -9
  351. package/lib/esm/duet-number-input.entry.js +6 -6
  352. package/lib/esm/duet-overlay.entry.js +3 -3
  353. package/lib/esm/duet-page-heading.entry.js +4 -4
  354. package/lib/esm/duet-pagination_2.entry.js +17 -17
  355. package/lib/esm/duet-panel.entry.js +5 -5
  356. package/lib/esm/duet-phone-input.entry.js +22 -7
  357. package/lib/esm/duet-popup-menu_2.entry.js +6 -6
  358. package/lib/esm/duet-progress.entry.js +3 -3
  359. package/lib/esm/duet-promo-card.entry.js +6 -6
  360. package/lib/esm/duet-radio_2.entry.js +7 -7
  361. package/lib/esm/duet-range-slider.entry.js +6 -6
  362. package/lib/esm/duet-scrollable_3.entry.js +21 -19
  363. package/lib/esm/duet-section-layout.entry.js +4 -4
  364. package/lib/esm/duet-select.entry.js +9 -9
  365. package/lib/esm/duet-shaped-image.entry.js +4 -4
  366. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  367. package/lib/esm/duet-share-chart.entry.js +7 -7
  368. package/lib/esm/duet-show-more.entry.js +5 -5
  369. package/lib/esm/duet-slideout-lang.entry.js +5 -5
  370. package/lib/esm/duet-slideout-link.entry.js +8 -8
  371. package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
  372. package/lib/esm/duet-slideout-panel.entry.js +15 -20
  373. package/lib/esm/duet-slideout.entry.js +11 -11
  374. package/lib/esm/duet-status-icon.entry.js +3 -3
  375. package/lib/esm/duet-step_2.entry.js +6 -6
  376. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  377. package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
  378. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  379. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  380. package/lib/esm/duet-submenu-bar.entry.js +8 -8
  381. package/lib/esm/duet-textarea.entry.js +8 -8
  382. package/lib/esm/duet-toggle.entry.js +6 -6
  383. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  384. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  385. package/lib/esm/duet-toolbar-item.entry.js +9 -9
  386. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  387. package/lib/esm/duet-toolbar.entry.js +4 -4
  388. package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
  389. package/lib/esm/duet-tooltip.entry.js +4 -4
  390. package/lib/esm/duet-tray.entry.js +5 -5
  391. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  392. package/lib/esm/duet-upload-item.entry.js +6 -6
  393. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  394. package/lib/esm/duet.js +4 -4
  395. package/lib/esm/{errorcodes.utils-CEyBUBSM.js → errorcodes.utils-MZm5Z6Ra.js} +1 -1
  396. package/lib/esm/{focus-utils-BhO5oz9w.js → focus-utils-CrtNnjPR.js} +1 -1
  397. package/lib/esm/{index-BPFqbaxm.js → index-BfHFKBVa.js} +5 -1
  398. package/lib/esm/{label-BGqhM4kx.js → label-BewTofiP.js} +1 -1
  399. package/lib/esm/{language-utils-CNMTW_pZ.js → language-utils-BvGD3xAJ.js} +1 -1
  400. package/lib/esm/loader.js +4 -4
  401. package/lib/esm/{slot-utils-BABbKvvc.js → slot-utils-QOcACBKy.js} +1 -1
  402. package/lib/esm/{themeable-component-Csv1RXxf.js → themeable-component-D9rAA2iK.js} +1 -1
  403. package/lib/esm/{token-utils-BGFYWQ6j.js → token-utils-C-c-tsXV.js} +7 -4
  404. package/lib/types/components/duet-banner/duet-banner.d.ts +2 -0
  405. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
  406. package/lib/types/components/duet-hero/duet-hero.d.ts +1 -0
  407. package/lib/types/components/duet-indicator/duet-indicator.d.ts +17 -0
  408. package/lib/types/components/duet-input/duet-input.d.ts +0 -2
  409. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +14 -0
  410. package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
  411. package/lib/types/components.d.ts +77 -10
  412. package/package.json +3 -3
  413. package/lib/duet/p-0964b56d.entry.js +0 -4
  414. package/lib/duet/p-1ec554c6.entry.js +0 -4
  415. package/lib/duet/p-4c37165a.entry.js +0 -4
  416. package/lib/duet/p-4fc62376.entry.js +0 -4
  417. package/lib/duet/p-57165bf0.entry.js +0 -4
  418. package/lib/duet/p-5bfa5e5d.entry.js +0 -4
  419. package/lib/duet/p-6fdb09d1.entry.js +0 -4
  420. package/lib/duet/p-7b849d35.entry.js +0 -4
  421. package/lib/duet/p-7c1e8291.entry.js +0 -4
  422. package/lib/duet/p-7f0aa937.entry.js +0 -4
  423. package/lib/duet/p-804b326c.entry.js +0 -4
  424. package/lib/duet/p-98aa7ac5.entry.js +0 -4
  425. package/lib/duet/p-9c838ec0.entry.js +0 -4
  426. package/lib/duet/p-B5RO_CRT.js +0 -4
  427. package/lib/duet/p-CwVyzidG.js +0 -4
  428. package/lib/duet/p-DixsuovU.js +0 -4
  429. package/lib/duet/p-Dr2j33H2.js +0 -4
  430. package/lib/duet/p-ad3d8ac8.entry.js +0 -4
  431. package/lib/duet/p-b1f362dc.entry.js +0 -4
  432. package/lib/duet/p-b9acaca1.entry.js +0 -4
  433. package/lib/duet/p-c35c9198.entry.js +0 -4
  434. package/lib/duet/p-c62aeb2e.entry.js +0 -4
  435. package/lib/duet/p-c8a66d4b.entry.js +0 -4
  436. package/lib/duet/p-cfd5c934.entry.js +0 -4
  437. package/lib/duet/p-d110954d.entry.js +0 -4
  438. package/lib/duet/p-d92c5cfa.entry.js +0 -4
  439. package/lib/duet/p-dbab30ea.entry.js +0 -4
  440. package/lib/duet/p-e18a1599.entry.js +0 -4
  441. package/lib/duet/p-e76051c3.entry.js +0 -4
  442. package/lib/duet/p-f51c072f.entry.js +0 -4
  443. package/lib/duet/p-f82079f2.entry.js +0 -4
@@ -284,6 +284,10 @@
284
284
  top: 310px;
285
285
  }
286
286
  }
287
+ .duet-hero.duet-hero-campaign ::slotted(.duet-heading), .duet-hero.duet-hero-section ::slotted(.duet-heading) {
288
+ font-size: inherit !important;
289
+ color: inherit !important;
290
+ }
287
291
  .duet-hero.duet-hero-campaign .duet-hero-text, .duet-hero.duet-hero-section .duet-hero-text {
288
292
  width: 100%;
289
293
  }
@@ -1813,49 +1817,235 @@ duet-heading + duet-button {
1813
1817
  }
1814
1818
  :host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .background-area .brand-shape, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .background-area .brand-shape {
1815
1819
  background-color: rgb(255, 255, 255);
1816
- border-radius: 48px;
1820
+ border-radius: 24px;
1817
1821
  mask-image: none;
1818
1822
  }
1819
- :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background .background-mask {
1820
- background-image: none;
1823
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product {
1824
+ display: flex;
1825
+ flex-direction: column;
1826
+ gap: 20px;
1827
+ min-height: auto;
1828
+ padding-top: 0;
1829
+ padding-bottom: 72px;
1830
+ margin: 0 auto;
1821
1831
  }
1822
- :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background .brand-shaped-image {
1823
- border-radius: 26px;
1824
- mask-image: none;
1832
+ @media (min-width: 62em) {
1833
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product {
1834
+ flex-direction: row-reverse;
1835
+ gap: 40px;
1836
+ padding-top: 72px;
1837
+ padding-right: 56px;
1838
+ padding-left: 56px;
1839
+ }
1825
1840
  }
1826
- :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background .brand-shaped-image::after {
1827
- position: absolute;
1828
- bottom: 0;
1829
- z-index: 1;
1841
+ @media (min-width: 76.25em) {
1842
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product {
1843
+ max-width: 1110px;
1844
+ padding-right: 0;
1845
+ padding-left: 0;
1846
+ }
1847
+ }
1848
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area {
1849
+ position: relative;
1850
+ height: auto;
1851
+ overflow: visible;
1852
+ }
1853
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow,
1854
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid {
1855
+ position: relative;
1856
+ top: 0;
1830
1857
  width: 100%;
1858
+ height: auto;
1859
+ aspect-ratio: 576/250;
1860
+ padding: 0;
1861
+ overflow: visible;
1862
+ /* stylelint-disable max-nesting-depth */
1863
+ }
1864
+ @media (min-width: 36em) {
1865
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow,
1866
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid {
1867
+ height: 250px;
1868
+ aspect-ratio: auto;
1869
+ }
1870
+ }
1871
+ @media (min-width: 48em) {
1872
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow,
1873
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid {
1874
+ padding-right: 28px;
1875
+ padding-left: 28px;
1876
+ }
1877
+ }
1878
+ @media (min-width: 62em) {
1879
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow,
1880
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid {
1881
+ height: auto;
1882
+ aspect-ratio: 53/32;
1883
+ padding-right: 0;
1884
+ padding-left: 0;
1885
+ }
1886
+ }
1887
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background,
1888
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background {
1889
+ position: relative;
1890
+ top: auto;
1831
1891
  height: 100%;
1832
- content: "";
1833
- background-image: url("data:image/svg+xml,%3Csvg%20width%3D%22530%22%20height%3D%22136%22%20viewBox%3D%220%200%20530%20136%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M530%2018.0108V320.699H0V11.2176C0%202.8484%208.16439%20-2.58266%2015.0467%201.2636C33.0582%2011.2977%2054.6667%2020.0141%2078.875%2027.2525C131.948%2043.1273%20197.512%2051.9149%20265%2051.9149C332.488%2051.9149%20398.061%2043.1273%20451.125%2027.2525C475.333%2020.0052%20496.942%2011.2888%20514.953%201.2547C521.836%20-2.58266%20530%202.8484%20530%2011.2176V18.0108Z%22%20fill%3D%22%23E61740%22%2F%3E%0A%3C%2Fsvg%3E");
1834
- background-repeat: no-repeat;
1835
- background-position-y: bottom;
1836
- background-size: contain;
1837
1892
  }
1838
- :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background .brand-shaped-icon {
1893
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .background-mask,
1894
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .background-mask {
1839
1895
  display: none;
1840
- }
1841
- :host(.duet-theme-turva2) .duet-hero.duet-hero-content .background .background-mask {
1842
1896
  background-image: none;
1843
1897
  }
1844
- :host(.duet-theme-turva2) .duet-hero.duet-hero-content .brand-shaped-image {
1845
- border-radius: 26px;
1898
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-image,
1899
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-image {
1900
+ position: static;
1901
+ width: 100%;
1902
+ height: 100%;
1903
+ border-radius: 0;
1846
1904
  mask-image: none;
1847
1905
  }
1848
- :host(.duet-theme-turva2) .duet-hero.duet-hero-content .brand-shaped-image::after {
1849
- position: absolute;
1850
- bottom: 0;
1851
- z-index: 1;
1906
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-image .brand-shaped-image-bg,
1907
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-image .brand-shaped-image-bg {
1908
+ position: static;
1852
1909
  width: 100%;
1853
1910
  height: 100%;
1854
- content: "";
1855
- background-image: url("data:image/svg+xml,%3Csvg%20width%3D%22530%22%20height%3D%22136%22%20viewBox%3D%220%200%20530%20136%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M530%2018.0108V320.699H0V11.2176C0%202.8484%208.16439%20-2.58266%2015.0467%201.2636C33.0582%2011.2977%2054.6667%2020.0141%2078.875%2027.2525C131.948%2043.1273%20197.512%2051.9149%20265%2051.9149C332.488%2051.9149%20398.061%2043.1273%20451.125%2027.2525C475.333%2020.0052%20496.942%2011.2888%20514.953%201.2547C521.836%20-2.58266%20530%202.8484%20530%2011.2176V18.0108Z%22%20fill%3D%22%23E61740%22%2F%3E%0A%3C%2Fsvg%3E");
1856
- background-repeat: no-repeat;
1857
- background-position-y: bottom;
1858
- background-size: contain;
1911
+ background-position: 0;
1912
+ background-size: cover;
1913
+ transform: none;
1914
+ }
1915
+ @media (min-width: 48em) {
1916
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-image,
1917
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-image {
1918
+ border-radius: 0 0 12px 12px;
1919
+ }
1920
+ }
1921
+ @media (min-width: 62em) {
1922
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-image,
1923
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-image {
1924
+ border-radius: 12px;
1925
+ }
1926
+ }
1927
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon,
1928
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon {
1929
+ top: auto;
1930
+ right: 20px;
1931
+ bottom: -16px;
1932
+ width: auto;
1933
+ height: auto;
1934
+ padding: 0;
1935
+ background-color: #172a3b;
1936
+ border-radius: 8px;
1937
+ mask-image: none;
1938
+ }
1939
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon duet-icon,
1940
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon duet-icon {
1941
+ top: 0;
1942
+ width: 62px;
1943
+ height: 62px;
1944
+ }
1945
+ @media (min-width: 36em) {
1946
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon,
1947
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon {
1948
+ right: 40px;
1949
+ bottom: -24px;
1950
+ padding: 8px;
1951
+ }
1952
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon duet-icon,
1953
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon duet-icon {
1954
+ width: 80px;
1955
+ height: 80px;
1956
+ }
1957
+ }
1958
+ @media (min-width: 48em) {
1959
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon,
1960
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon {
1961
+ right: 68px;
1962
+ }
1963
+ }
1964
+ @media (min-width: 62em) {
1965
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon,
1966
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon {
1967
+ right: 40px;
1968
+ }
1969
+ }
1970
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .duet-hero-wrapper .duet-hero-text {
1971
+ width: 100%;
1972
+ }
1973
+ @media (min-width: 48em) {
1974
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .duet-hero-wrapper {
1975
+ margin-top: 28px;
1976
+ }
1977
+ }
1978
+ @media (min-width: 62em) {
1979
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .duet-hero-wrapper {
1980
+ padding: 0;
1981
+ }
1982
+ }
1983
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content {
1984
+ padding: 0;
1985
+ margin: 20px auto;
1986
+ }
1987
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content.duet-hero-narrow .background-area {
1988
+ max-width: 888px;
1989
+ }
1990
+ @media (min-width: 36em) {
1991
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content.duet-hero-narrow .background-area {
1992
+ padding: 0 48px;
1993
+ }
1994
+ }
1995
+ @media (min-width: 48em) {
1996
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content.duet-hero-narrow .background-area {
1997
+ padding: 0 72px;
1998
+ }
1999
+ }
2000
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area {
2001
+ position: static;
2002
+ padding: 0 16px;
2003
+ margin: 0 auto;
2004
+ }
2005
+ @media (min-width: 36em) {
2006
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area {
2007
+ padding: 0 28px;
2008
+ }
2009
+ }
2010
+ @media (min-width: 62em) {
2011
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area {
2012
+ padding: 0 56px;
2013
+ }
2014
+ }
2015
+ @media (min-width: 76.25em) {
2016
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area {
2017
+ max-width: 1110px;
2018
+ padding: 0;
2019
+ }
2020
+ }
2021
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area .background {
2022
+ position: static;
2023
+ height: auto;
2024
+ }
2025
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area .background .background-mask {
2026
+ display: none;
2027
+ background-image: none;
2028
+ }
2029
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area .background .brand-shaped-image {
2030
+ position: static;
2031
+ width: auto;
2032
+ height: auto;
2033
+ }
2034
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area .background .brand-shaped-image .brand-shaped-image-wrapper {
2035
+ width: auto;
2036
+ height: auto;
2037
+ }
2038
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area .background .brand-shaped-image .brand-shaped-image-bg {
2039
+ position: static;
2040
+ width: 100%;
2041
+ height: auto;
2042
+ aspect-ratio: 5/2;
2043
+ background-size: cover;
2044
+ transform: none;
2045
+ }
2046
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .brand-shaped-image {
2047
+ border-radius: 12px;
2048
+ mask-image: none;
1859
2049
  }
1860
2050
  :host(.duet-theme-turva2) .duet-hero.duet-hero-content .duet-hero-wrapper {
1861
2051
  margin-top: 28px;
@@ -1866,6 +2056,7 @@ duet-heading + duet-button {
1866
2056
  }
1867
2057
  }
1868
2058
  :host(.duet-theme-turva2) .duet-hero .duet-hero-wrapper {
2059
+ position: static;
1869
2060
  margin-top: 16px;
1870
2061
  }
1871
2062
  @media (min-width: 48em) {
@@ -180,13 +180,17 @@ export class DuetHero {
180
180
  * Component lifecycle events.
181
181
  */
182
182
  componentWillLoad() {
183
+ const headings = "h1, h2, h3, h4, h5, h6";
183
184
  inheritGlobalTheme(this);
184
185
  this.hasPreHeadingSlot = hasSlot(this.element, "pre-heading");
185
186
  this.hasHeadingSlot = hasSlot(this.element, "heading");
186
187
  this.hasSubHeadingSlot = hasSlot(this.element, "subheading");
187
188
  checkNamedSlotElement(this.element, "pre-heading", "span");
188
- checkNamedSlotElement(this.element, "heading", "span");
189
+ checkNamedSlotElement(this.element, "heading", `span, ${headings}`);
189
190
  checkNamedSlotElement(this.element, "subheading", "span");
191
+ if (this.hasHeadingSlot && getElementsFromNamedSlot(this.element, "heading")[0].matches(headings)) {
192
+ this.hasHeadingSlotNative = true;
193
+ }
190
194
  this.refresh();
191
195
  }
192
196
  connectedCallback() {
@@ -270,7 +274,7 @@ export class DuetHero {
270
274
  outlineColor = "color-primary-turva";
271
275
  }
272
276
  }
273
- return (h("div", { key: '050542b6acfc853e803793b7ce454506a9c485d4', role: "region", class: {
277
+ return (h("div", { key: '2acab1c8b82358799dafa10a59b26c5c4926d9c2', role: "region", class: {
274
278
  "duet-hero": true,
275
279
  "duet-theme-turva": this.theme === "turva",
276
280
  "duet-has-category-icon": !!this.categoryIcon,
@@ -288,17 +292,17 @@ export class DuetHero {
288
292
  "duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
289
293
  "duet-hero-left-align": this.leftAlign && !campaignOrSection,
290
294
  "duet-hero-narrow": this.layout === "narrow",
291
- }, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: 'db9f7d160ebee968dca3e4efead01b0af6288043', class: "background-area" }, h("div", { key: 'c0bf3537b54cc4d8b04b72360be1bc922b887c0d', class: "background-container" }, h("div", { key: '39f9c4466c54b54fce2f8ea33c9163a4ca5a8cf1', class: "background" }, h("img", { key: 'bc5aefeac085a2f758668ec48b3ffd4d313b43a5', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), h("div", { key: '296411aa792beefc76a425f5b39f16f39486c5c2', class: "brand-shape" })))), this.variation === "product" && this.image && (h("div", { key: '7f53ee027d3b917a9bc5284dbb152ae96ab034ad', class: { "background-area": true, [this.layout]: true } }, h("div", { key: 'e5119c084fc6b292252a111c4acb3e2ea6c6cd77', class: { "background-container": true, [this.layout]: true } }, h("div", { key: '3faf62ed852d07e8458c379a06ed3cfd3ca3fafb', class: { background: true, [this.layout]: true } }, h("div", { key: '43b7df5d771099f7c819c23c820b18fb053b67f0', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && h("div", { key: '3ac9ab64a699f79eafe749c027383f7753437805', class: { "brand-shape": true, [this.layout]: true } }), h("div", { key: '2bd54c40138a7a732cf0bae9a5b57137a3cfded4', class: { "brand-shaped-image": true, [this.layout]: true } }, h("div", { key: '63a9404b8e42499bcd15bacdca4658931c49fbcc', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, h("div", { key: '038c455f20502c4600208d6a4e31a8dabd9b7799', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (h("div", { key: '9b5e7df86df015dbabfaff2fc4f37c1c54f82cd3', class: { "brand-shaped-icon": true, [this.layout]: true } }, h("duet-icon", { key: 'd9ab558d532f77eca798e2998ba5cd592881f03a', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (h("div", { key: 'fe41770dc2aa046b1f7eeb76ac8d77dd0ff964cf', class: "background-area" }, h("div", { key: 'a1821e7ecd479f6d5e78d30aa60b9eaca214de30', class: "background" }, h("div", { key: '37093f57801077d47fc4da19453b47979039d1f5', class: "background-mask" }), this.theme !== "turva" && h("div", { key: '6c2ca91302a3ddccfc3f61043d660d5c86ef2bd6', class: "brand-shape" }), h("div", { key: '5e862b201459878273988077df6fe7d10abcbf55', class: "brand-shaped-image" }, h("div", { key: '915e7aed1c7561bb280156e72b7b03fc6f711c81', class: "brand-shaped-image-wrapper" }, h("div", { key: 'abcbf26a40434f3470ef7576b3f342dcd6e75081', class: "brand-shaped-image-bg", style: styles })))))), h("div", { key: '8b81e3958219408f71b8c7a53b325097f9d95c0c', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (h("div", { key: 'cba83e5423eae68e909b4ca76af31aa2ad621b0b', class: "duet-hero-image-mask" }, h("div", { key: '7b6f261e94a3233c4254a729c94196e0c6f27324', class: "duet-hero-image-wrapper" }, h("div", { key: '7e8b9202b8ffe7b6e5f91b432ec68dd3272789bd', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
292
- this.processedBack && (h("div", { key: '2623bba361537fb8e0c7103ad62b76cd25e33388', class: "duet-hero-back" }, h("duet-button", { key: '1e4c727a46d6554826d3e30653244c1a51162b92', style: buttonStyles, variation: "plain", icon: "action-arrow-left-small", theme: this.theme, iconSize: "small", color: buttonColor, padding: "none", margin: "none", fixed: true, url: this.processedBack.href, identifier: this.processedBack.id, onClick: event => this.handleClick(event, {
295
+ }, part: "duet-hero" }, campaignOrSection && this.image && (h("div", { key: '6eaf6fdf31c583d1bf46b6e0a17e5f59fd9bef16', class: "background-area" }, h("div", { key: 'cffc1963ec6f4f330a45b16ef8597fd0406810ff', class: "background-container" }, h("div", { key: '5d5a8bbbe8acf1873aac92bb8958ce89645586b6', class: "background" }, h("img", { key: '275067a598c6e3698a173ae744c78a3561cf9860', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), h("div", { key: '3d2d60e4424fd538cf25286506898ca36ead0e25', class: "brand-shape" })))), this.variation === "product" && this.image && (h("div", { key: 'e67359431f573b15907e91a3849e85dd68a2b644', class: { "background-area": true, [this.layout]: true } }, h("div", { key: '397e5301fc2b4a121e3c0a2de7e2370004208035', class: { "background-container": true, [this.layout]: true } }, h("div", { key: '078e49f6846a0b61d1bbb11928c7c1b4f0969237', class: { background: true, [this.layout]: true } }, h("div", { key: '2daa9135a889476521e74ed6aa803bbace92dd6d', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && h("div", { key: 'ae26a5feaebc0b7911990d0b9c30057856721dac', class: { "brand-shape": true, [this.layout]: true } }), h("div", { key: 'f419c7247da65238eebad9f99b75518c2c2b8ada', class: { "brand-shaped-image": true, [this.layout]: true } }, h("div", { key: '68ccb4c3fe4fd2440d6ff7e335df5d2846b7aa85', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, h("div", { key: '5f7b2f8284d75a99cedbd8222a64fa85da3bbba0', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (h("div", { key: 'a5dd4a3ddf8496bb7410510b3f7dd0b0a25bb669', class: { "brand-shaped-icon": true, [this.layout]: true } }, h("duet-icon", { key: '1294469ae73fd7152468c7511115df26ade001c6', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (h("div", { key: '94e722b437acc481d8850afa5a427d663db361df', class: "background-area" }, h("div", { key: '24695ae05a4f5e71286485ca9de320a188a3f750', class: "background" }, h("div", { key: '49ff7ba2e5bff31c66ff1a8e25089d93d04dbe79', class: "background-mask" }), this.theme !== "turva" && h("div", { key: '220556ff22eea0a4c635c9848d8b8819bc6efd1f', class: "brand-shape" }), h("div", { key: '378d01fdda36431c580f66a784648efb5560b686', class: "brand-shaped-image" }, h("div", { key: '1fc789aafa6956bd228968caf0db6dff147114dc', class: "brand-shaped-image-wrapper" }, h("div", { key: '7788059d7f3affaec40ab2ae5990657f991dd48c', class: "brand-shaped-image-bg", style: styles })))))), h("div", { key: 'af608366dc29bfccac27e761e93e75c0b7bfec2c', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (h("div", { key: 'afe18dd2b7e20333e45e00e5c5a4a966e35660f9', class: "duet-hero-image-mask" }, h("div", { key: 'f4ab5d687e3907148e0b4f0d1363576cd2b566e2', class: "duet-hero-image-wrapper" }, h("div", { key: '593e3142b5e6452188ca524610bd213eeea25c3f', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
296
+ this.processedBack && (h("div", { key: '6ef1cb9203c2a2e553ecb1765a912929d9db9846', class: "duet-hero-back" }, h("duet-button", { key: '88c8ae092e2822124387ea072d6b367d52192100', style: buttonStyles, variation: "plain", icon: "action-arrow-left-small", theme: this.theme, iconSize: "small", color: buttonColor, padding: "none", margin: "none", fixed: true, url: this.processedBack.href, identifier: this.processedBack.id, onClick: event => this.handleClick(event, {
293
297
  label: this.processedBack.label,
294
298
  href: this.processedBack.href,
295
299
  id: this.processedBack.id,
296
300
  analyticsId: this.processedBack.analyticsId,
297
- }) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: 'b3222a455e2be4304240b213ec34ff9a8254511d', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), h("div", { key: '1f369768e19771c9d962558704707072c355577f', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (h("duet-paragraph", { key: '319f24f87d1adfa4840e1b3c4adfa9e5a4efdbcc', margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium", "aria-hidden": "true" }, this.preHeading ? (this.preHeading) : (h("span", null, h("slot", { name: "pre-heading" }))))), h("slot", { key: 'cab3fd5560e97bdaa5e7da9833bebdb1b58c77aa', name: "badge" }), (this.heading || this.hasHeadingSlot) && (h("duet-heading", { key: '070825e4bae09477947bc840a07df3a49f72cda3', theme: this.theme, level: this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto", accessibleLabel: this.getAccessibleHeading() }, this.heading ? this.heading : h("slot", { name: "heading" }))), campaignOrSection && this.hasSubHeadingSlot && (h("duet-heading", { key: '593ff167e8e2027765467078c3a8e7fb6478a0f2', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, h("slot", { key: 'b0dfe6f310419cd5129b6419c2f98fcee3510439', name: "subheading" }))), this.description && (h("duet-paragraph", { key: 'e4f7966e4118c83e518b170818e0a07b8bff8f0c', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (h("duet-list", { key: 'c50112688f95b19886481c47f6158f9ce5a73dc0', theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (h("duet-list-item", null, h("span", { slot: "label" }, item.label), h("span", { slot: "value" }, item.value)))))), this.buttonLabel && (h("duet-button", { key: '1d9a44bd408aad6ed6f7571660b6284a2622c9ee', url: this.buttonUrl, icon: this.icon, iconRight: this.iconRight, iconSize: this.iconSize, variation: buttonVariation, theme: this.theme, identifier: this.buttonId, onClick: event => this.handleClick(event, this.buttonData), fixed: true }, this.buttonLabel)), h("slot", { key: '6409f66cd66a04c3720b95444ca4354e1927bf92' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (h("div", { key: '8103af21642ae0c19bb00cf2918afe83bca217ac', class: "duet-hero-links" }, this.processedActions.map(item => (h("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, h("div", { class: "duet-hero-action-icon" }, h("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), h("span", null, item.label), item.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (h("div", { class: "duet-hero-action-arrow" }, h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
301
+ }) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { key: '84ee8012288a996c6f8e8784ec4f11cfbd1b8ae0', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), h("div", { key: 'f01a0715385faba12c729803e38c98d63081afbb', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (h("duet-paragraph", { key: 'cadb1a1a8c68ef87c94a91ccb04055e978df8ef6', margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium", "aria-hidden": "true" }, this.preHeading ? (this.preHeading) : (h("span", null, h("slot", { name: "pre-heading" }))))), h("slot", { key: 'a7fc32e5f238d1cd628753e0f20a4afd1e5e0eb9', name: "badge" }), (this.heading || this.hasHeadingSlot) && (h("duet-heading", { key: 'e3275e3977ba1e6900478aa53175f2e2e4e40d04', theme: this.theme, level: this.hasHeadingSlotNative ? "div" : this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto", accessibleLabel: this.getAccessibleHeading() }, this.heading ? this.heading : h("slot", { name: "heading" }))), campaignOrSection && this.hasSubHeadingSlot && (h("duet-heading", { key: 'fe9b5e29d6ae66ad144b44c8e148bf2094ea90af', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, h("slot", { key: '32b4475fd032d945cb71f8a3bbf1853be66e2e22', name: "subheading" }))), this.description && (h("duet-paragraph", { key: '0524a2070a96b01316a972650024cea29f21e414', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (h("duet-list", { key: '5a63ea9d07f59ea32ba37a1d0347b8eb38f25d6b', theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (h("duet-list-item", null, h("span", { slot: "label" }, item.label), h("span", { slot: "value" }, item.value)))))), this.buttonLabel && (h("duet-button", { key: 'e579589e4189bb1f3f07c7557fa99ce2223dbe40', url: this.buttonUrl, icon: this.icon, iconRight: this.iconRight, iconSize: this.iconSize, variation: buttonVariation, theme: this.theme, identifier: this.buttonId, onClick: event => this.handleClick(event, this.buttonData), fixed: true }, this.buttonLabel)), h("slot", { key: '516589bcc702ae95a21b1dd6c3204f678a658a0d' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (h("div", { key: 'd7b178afe535335a3c51949d7e8f3546d3d434e3', class: "duet-hero-links" }, this.processedActions.map(item => (h("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, h("div", { class: "duet-hero-action-icon" }, h("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), h("span", null, item.label), item.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (h("div", { class: "duet-hero-action-arrow" }, h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
298
302
  this.variation !== "image" &&
299
303
  !campaignOrSection &&
300
304
  this.variation !== "product" &&
301
- this.variation !== "content" && h("div", { key: '2e854294f691337a3683daa831b498bdcdf56945', class: "duet-hero-image", style: styles }), h("slot", { key: '21cb460439eddf5f9a251722b9c6c3b3864a701d', name: "bottom" }))));
305
+ this.variation !== "content" && h("div", { key: '24764772d259abadc2405cc658c07c9b255a48e4', class: "duet-hero-image", style: styles }), h("slot", { key: 'f8209505395340f3f3f2cd2d8d7d3e7d2c9a8740', name: "bottom" }))));
302
306
  }
303
307
  static get is() { return "duet-hero"; }
304
308
  static get encapsulation() { return "shadow"; }
@@ -144,11 +144,11 @@ export class DuetIcon {
144
144
  : {};
145
145
  const iconStyles = Object.assign({}, iconRotationStyles);
146
146
  const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
147
- return (h(Host, { key: '6b2ec509f1a717b623bf627d7451c95e5c1af8be', class: {
147
+ return (h(Host, { key: '2a800d3292964b5a1dd5fd454662f690ce9e6b5a', class: {
148
148
  "duet-m-0": this.margin === "none",
149
149
  "duet-icon-has-outline": !!this.outline,
150
150
  "duet-icon-has-background": !!this.background,
151
- } }, h("span", { key: 'b3fb3d53f1c096a7072c6c85488d191c4bc61880', "aria-hidden": "true", style: styles, class: {
151
+ } }, h("span", { key: '4d5d3fc155d6d2e4f677d8753c116c82eb865a2c', "aria-hidden": "true", style: styles, class: {
152
152
  "duet-icon": true,
153
153
  "duet-theme-turva": this.theme === "turva",
154
154
  "duet-theme-default": this.theme === "default",
@@ -157,7 +157,7 @@ export class DuetIcon {
157
157
  [shapeStyle]: true,
158
158
  rotated: this.shape === "brand-rotated" && this.theme !== "turva",
159
159
  "duet-icon-not-responsive": !this.responsive,
160
- } }, h("span", { key: 'ff22fbc4a55860c2ed936b3b3037a7a09af46d8d', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
160
+ } }, h("span", { key: '6c79866426237ff75ff36401a9117dca1a68cf19', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
161
161
  }
162
162
  static get is() { return "duet-icon"; }
163
163
  static get encapsulation() { return "shadow"; }
@@ -0,0 +1,46 @@
1
+ *,
2
+ *::after,
3
+ *::before {
4
+ box-sizing: border-box;
5
+ padding: 0;
6
+ margin: 0;
7
+ background: transparent;
8
+ border: 0;
9
+ -moz-appearance: none;
10
+ -webkit-appearance: none;
11
+ appearance: none;
12
+ }
13
+
14
+ :host {
15
+ box-sizing: border-box;
16
+ padding: 0;
17
+ margin: 0;
18
+ background: transparent;
19
+ border: 0;
20
+ -moz-appearance: none;
21
+ -webkit-appearance: none;
22
+ appearance: none;
23
+ position: relative;
24
+ }
25
+
26
+ .duet-indicator {
27
+ position: absolute;
28
+ top: 0;
29
+ right: 0;
30
+ display: inline-block;
31
+ width: 8px;
32
+ height: 8px;
33
+ border-radius: 50%;
34
+ }
35
+ .duet-indicator-new {
36
+ background: rgb(0, 119, 179);
37
+ }
38
+ .duet-indicator-change {
39
+ background: rgb(247, 178, 40);
40
+ }
41
+ .duet-indicator-error {
42
+ background: rgb(185, 16, 74);
43
+ }
44
+ .duet-indicator-success {
45
+ background: rgb(29, 106, 88);
46
+ }
@@ -0,0 +1,104 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { h, Host } from "@stencil/core";
5
+ import { getLocaleString } from "../../utils/language-utils";
6
+ export class DuetIndicator {
7
+ constructor() {
8
+ this.defaultLabels = {
9
+ new: {
10
+ fi: "Uutta sisältöä",
11
+ en: "New content",
12
+ sv: "Nyt innehålle",
13
+ },
14
+ change: {
15
+ fi: "Muuttunutta sisältöä",
16
+ en: "Changed content",
17
+ sv: "Ändrat innehålle",
18
+ },
19
+ error: {
20
+ fi: "Sisältää virheen",
21
+ en: "Contains error",
22
+ sv: "Innehåller ett fel",
23
+ },
24
+ success: {
25
+ fi: "Onnistunut toiminto",
26
+ en: "Completed successfully",
27
+ sv: "Lyckad åtgärd",
28
+ },
29
+ };
30
+ /**
31
+ * The variation of the indicator. Typically "change" and "new" are used; "error" and "success" should be used
32
+ * only in special cases, as errors and succeses normally require a more prominent message.
33
+ */
34
+ this.variation = "change";
35
+ this.getAccessibleLabel = () => {
36
+ return this.accessibleLabel || getLocaleString(this.defaultLabels[this.variation]);
37
+ };
38
+ }
39
+ render() {
40
+ return (h(Host, { key: '09990afce3e74a91ff9ce76ac6a038418e40272e' }, h("span", { key: 'e5695f01c4d009bc1c18b92b07975980e799becd', class: { "duet-indicator": true, [`duet-indicator-${this.variation}`]: true } }), h("duet-visually-hidden", { key: '4300b55a370c674cb6bd0caf3f5b834e382481a9' }, this.getAccessibleLabel())));
41
+ }
42
+ static get is() { return "duet-indicator"; }
43
+ static get encapsulation() { return "shadow"; }
44
+ static get originalStyleUrls() {
45
+ return {
46
+ "$": ["duet-indicator.scss"]
47
+ };
48
+ }
49
+ static get styleUrls() {
50
+ return {
51
+ "$": ["duet-indicator.css"]
52
+ };
53
+ }
54
+ static get properties() {
55
+ return {
56
+ "variation": {
57
+ "type": "string",
58
+ "attribute": "variation",
59
+ "mutable": false,
60
+ "complexType": {
61
+ "original": "IndicatorVariation",
62
+ "resolved": "\"change\" | \"error\" | \"new\" | \"success\"",
63
+ "references": {
64
+ "IndicatorVariation": {
65
+ "location": "local",
66
+ "path": "/Users/juha-matti.laaksonen/duetds/packages/components/src/components/duet-indicator/duet-indicator.tsx",
67
+ "id": "src/components/duet-indicator/duet-indicator.tsx::IndicatorVariation"
68
+ }
69
+ }
70
+ },
71
+ "required": false,
72
+ "optional": false,
73
+ "docs": {
74
+ "tags": [],
75
+ "text": "The variation of the indicator. Typically \"change\" and \"new\" are used; \"error\" and \"success\" should be used\nonly in special cases, as errors and succeses normally require a more prominent message."
76
+ },
77
+ "getter": false,
78
+ "setter": false,
79
+ "reflect": false,
80
+ "defaultValue": "\"change\""
81
+ },
82
+ "accessibleLabel": {
83
+ "type": "string",
84
+ "attribute": "accessible-label",
85
+ "mutable": false,
86
+ "complexType": {
87
+ "original": "string",
88
+ "resolved": "string",
89
+ "references": {}
90
+ },
91
+ "required": false,
92
+ "optional": false,
93
+ "docs": {
94
+ "tags": [],
95
+ "text": "Label for users of assistive technologies. This component has sensible defaults, but they can be replaced with this\nproperty."
96
+ },
97
+ "getter": false,
98
+ "setter": false,
99
+ "reflect": false
100
+ }
101
+ };
102
+ }
103
+ static get elementRef() { return "element"; }
104
+ }
@@ -528,7 +528,7 @@ export class DuetInput {
528
528
  this.type !== "password" &&
529
529
  this.type !== "time" &&
530
530
  this.variation !== "button";
531
- return (h(Host, { key: 'b937912982c9ab26076a7a8ef6d92d86721f1e52', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (h("duet-visually-hidden", { key: 'f2c5263ad8bdc5420c0a57bb0de0257172dce64a', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), h("div", { key: 'fc9419ac20d284a2d74922a41f66e6457ce2f68d', class: {
531
+ return (h(Host, { key: 'a510fa25a1bfafc15b45ec3ae52673542c9431f8', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (h("duet-visually-hidden", { key: 'de872f33e40e697f2bfbbd44cf50baa6119d7cf1', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), h("div", { key: 'c90de920afdad7d205699cea7d5f4fdd1572a87b', class: {
532
532
  "duet-input-container": true,
533
533
  "duet-theme-turva": this.theme === "turva",
534
534
  [`duet-input-variation-${this.variation}`]: true,
@@ -542,7 +542,7 @@ export class DuetInput {
542
542
  "has-clear": this.clear,
543
543
  "has-focus": this.isFocused,
544
544
  disabled: this.disabled,
545
- } }, h("div", { key: '42a3f546f411b3179ed4224d0c1847be2cb4bd17', class: "duet-input-label-container" }, h(DuetInternalLabel, { key: '50f07e14449aa88f4f8f67b5c21fb23c435b318c', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '9161fff80a689ae4fa7fa7bc4532fef2b48cf8c7', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: '17c98bf119774ef6606bac7117cb0826215fcfda', name: "tooltip" })), this.caption && (h("duet-caption", { key: 'df3c5e4b0ca4830cec0e0ace48520847688f79bc', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '9cc334f9c6d565a5ad325c9218c6a2e24a04444b', class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { key: '3d24e72417e5f1d4b744a37e9847f7e0dd5e387e', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (h("duet-visually-hidden", { key: '3d28cc9d073f283b5f58524a9cb274b61808aaeb', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), this.variation === "button-left" && h("slot", { key: 'a153bedd03fe832c4dbfc1911c3469872ef45425', name: "button-left" }), h("input", Object.assign({ key: '6ef60b5b5ec7b53ec70114bf9cd75c354fe81c36', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
545
+ } }, h("div", { key: '25af0df12601480977d1073be0dac1f37edce26e', class: "duet-input-label-container" }, h(DuetInternalLabel, { key: '8472acbdb1f02f3177acb1cc359b684359577c97', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '6ae13a9809afd8abea403d05594d0ac605043f13', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: '456f3ee403878a23c7141e9b063c8d8e04e95be2', name: "tooltip" })), this.caption && (h("duet-caption", { key: 'c4c6f0174d210348bbbab129508fc99917243f2c', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: 'ba63a0017715fab0c39fca2a948c9bfbfdad1f31', class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { key: 'eaad95087d69b5b4a8e72b43ddb184bf8b941087', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (h("duet-visually-hidden", { key: '2013c4ffb1127068ced232f02ef8885f3e8f614e', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), this.variation === "button-left" && h("slot", { key: '5fbfb4ca2fd57a0ae853d4ec2512c79fa85aefd0', name: "button-left" }), h("input", Object.assign({ key: '060cab78180db35d613d8e8944ae17fc61dcb7c8', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
546
546
  "duet-input": true,
547
547
  disabled: this.disabled,
548
548
  "is-number": this.component === "number",
@@ -550,17 +550,17 @@ export class DuetInput {
550
550
  "after-chip": this.getAllChips().length > 0,
551
551
  "align-right": this.inputAlign === "right",
552
552
  [`input-padding-${this.inputPadding}`]: true,
553
- }, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { key: '2febfb7a160144de44956c244f4a9b68bd8019c5', class: "duet-input-icon" }, h("duet-icon", { key: 'bfec761a97f3aaa0a686027b295f1004635db337', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (h("div", { key: '0f04d8c0153cd96923d3ec222eefe5ee936900dd', class: {
553
+ }, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { key: '2ef57d881263ad7285afe3bd58ed9de8913131ca', class: "duet-input-icon" }, h("duet-icon", { key: '0424cb373c27e808b8ed1e1f44ca28b077af2f43', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (h("div", { key: '2ba7ed30cf2409845b231bbc21cb1a7b9e001196', class: {
554
554
  "duet-input-clear-icon": true,
555
555
  "duet-input-clear-icon-single": !hasInputIcon,
556
556
  "duet-input-clear-icon-double": !!this.icon,
557
557
  "duet-input-clear-icon-button": this.variation === "button",
558
558
  [`input-padding-${this.inputPadding}`]: true,
559
- } }, h("button", { key: '3dc787b6e8470795c202b2b9e027c9193e731b9e', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, h("duet-icon", { key: 'f29c35083e8541aeabbf3130b73dcbbe35ed20a9', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { key: '59e4fe1f64ca4f11d2cf39d7b33f086a838e2e60', class: "duet-input-icon" }, h("duet-icon", { key: 'e304b595a8594e38c63662e7bd47e7fdf9f06fc3', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { key: '660d57f251986c4e712299152cd0fa1afa8a67c7', name: "button" }), this.variation === "revealable" && (h("duet-button", { key: '4b8d5a513f6513246217b18ea75bf0b44df3bbe9', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
559
+ } }, h("button", { key: '7be0f3cce53d669a7cb2553ea0c720a0a8f234fb', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, h("duet-icon", { key: 'd51041231a488756076772109503dcb42a47cef9', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { key: '34624c33d8582374f0deddee30d4cc3968fa38db', class: "duet-input-icon" }, h("duet-icon", { key: 'f1fde9b9334ea64219f70363ec2bf40aa9e57d6f', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { key: '5f490c321a2ac47676a4aff02e30f0871b640dc2', name: "button" }), this.variation === "revealable" && (h("duet-button", { key: 'd8c8a40544d07411b453bfa332c9741851bf6226', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
560
560
  ? this.hidePasswordLabel[this.language]
561
- : this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden", { key: 'c16a59469b63b6d623cb0119dbcf49bed4269d37' }, h("span", { key: '60d86ffe14dc83c8f27a364c691014084a612d90', "aria-live": "polite" }, this.isPasswordRevealed
561
+ : this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden", { key: '6c96533d140ef424e33a3a67961042c3d3838161' }, h("span", { key: '6ab1b5959e16b393688eaa068d772b0a600badaf', "aria-live": "polite" }, this.isPasswordRevealed
562
562
  ? this.passwordShownAriaAnnouncement[this.language]
563
- : this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", { key: '700c7f3d746185f743b90f8c14e7cdbfe290d9b8' })), h("span", { key: 'b2ed0a75c22c458ab4008c83f1ad03e63cf143ac', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'aa9820e4fe4939f57bf2b50670693fc82ef925ce', class: "duet-input-error" }, this.error)))));
563
+ : this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", { key: '5546955121bfe120490c3b22825c1035c096dd6c' })), h("span", { key: '79328cf71b7ba877431ed97a0ec98cadc31efa56', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'f483bcaa8219c1636b5f0b83ee1ee33bd49ec1d5', class: "duet-input-error" }, this.error)))));
564
564
  }
565
565
  static get is() { return "duet-input"; }
566
566
  static get encapsulation() { return "shadow"; }
@@ -1297,7 +1297,7 @@ export class DuetInput {
1297
1297
  "optional": false,
1298
1298
  "docs": {
1299
1299
  "tags": [],
1300
- "text": "Use maxlength to specify the maximum length of the value that can be entered.\nPlease note that this uses native HTML5 pattern validation."
1300
+ "text": "Use maxlength to specify the maximum length of the value that can be entered."
1301
1301
  },
1302
1302
  "getter": false,
1303
1303
  "setter": false,
@@ -1316,7 +1316,7 @@ export class DuetInput {
1316
1316
  "optional": false,
1317
1317
  "docs": {
1318
1318
  "tags": [],
1319
- "text": "Use minlength to specify the minimum length of the value that can be entered.\nPlease note that this uses native HTML5 pattern validation."
1319
+ "text": "Use minlength to specify the minimum length of the value that can be entered."
1320
1320
  },
1321
1321
  "getter": false,
1322
1322
  "setter": false,