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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (446) hide show
  1. package/hydrate/index.js +460 -329
  2. package/hydrate/index.mjs +460 -329
  3. package/lib/cjs/{a11y-utils-BeS3x4Hg.js → a11y-utils-B33qnv_c.js} +1 -1
  4. package/lib/cjs/{app-globals-BvljEFtV.js → app-globals-DxEBgBDv.js} +1 -1
  5. package/lib/cjs/{common-strings-DQ3xONmA.js → common-strings-CSqtNIxt.js} +23 -0
  6. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-alert.cjs.entry.js +24 -33
  8. package/lib/cjs/duet-badge.cjs.entry.js +16 -4
  9. package/lib/cjs/duet-banner.cjs.entry.js +19 -8
  10. package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
  11. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
  12. package/lib/cjs/duet-button_2.cjs.entry.js +6 -6
  13. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  14. package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
  15. package/lib/cjs/duet-card.cjs.entry.js +14 -8
  16. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-chip.cjs.entry.js +4 -4
  19. package/lib/cjs/duet-choice_2.cjs.entry.js +36 -29
  20. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  21. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  22. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  23. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  24. package/lib/cjs/duet-date-picker.cjs.entry.js +19 -9
  25. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  26. package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
  27. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  29. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-footer.cjs.entry.js +5 -5
  31. package/lib/cjs/duet-grid_2.cjs.entry.js +11 -10
  32. package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
  33. package/lib/cjs/duet-hero.cjs.entry.js +6 -6
  34. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  35. package/lib/cjs/duet-indicator.cjs.entry.js +53 -0
  36. package/lib/cjs/duet-input_2.cjs.entry.js +11 -11
  37. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  38. package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
  39. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  41. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  42. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +8 -8
  43. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  44. package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
  45. package/lib/cjs/duet-modal.cjs.entry.js +13 -13
  46. package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
  47. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  48. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  49. package/lib/cjs/duet-number-input.cjs.entry.js +6 -6
  50. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  51. package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
  52. package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
  53. package/lib/cjs/duet-panel.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-phone-input.cjs.entry.js +22 -7
  55. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
  56. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  57. package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
  58. package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
  59. package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
  60. package/lib/cjs/duet-scrollable_3.cjs.entry.js +30 -25
  61. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  62. package/lib/cjs/duet-select.cjs.entry.js +9 -9
  63. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  64. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  65. package/lib/cjs/duet-share-chart.cjs.entry.js +8 -6
  66. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -5
  68. package/lib/cjs/duet-slideout-link.cjs.entry.js +9 -9
  69. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -7
  70. package/lib/cjs/duet-slideout-panel.cjs.entry.js +14 -19
  71. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  72. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-step_2.cjs.entry.js +7 -7
  74. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  75. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
  76. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +7 -7
  77. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  78. package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
  79. package/lib/cjs/duet-textarea.cjs.entry.js +8 -8
  80. package/lib/cjs/duet-toggle.cjs.entry.js +6 -6
  81. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  82. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  83. package/lib/cjs/duet-toolbar-item.cjs.entry.js +10 -10
  84. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  86. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
  87. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
  88. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  89. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  90. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  91. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  92. package/lib/cjs/duet.cjs.js +3 -3
  93. package/lib/cjs/{errorcodes.utils-CwTzu57-.js → errorcodes.utils-D9V4NJkh.js} +1 -1
  94. package/lib/cjs/{focus-utils-Dh4b8BiX.js → focus-utils-2MQWj2yf.js} +1 -1
  95. package/lib/cjs/{index-D3O_5Hr7.js → index-CgbT-GDe.js} +5 -1
  96. package/lib/cjs/{label-8AXhdqJy.js → label-B2EZulEI.js} +1 -1
  97. package/lib/cjs/{language-utils-CMK9eR4Q.js → language-utils-DjVt82-o.js} +1 -1
  98. package/lib/cjs/loader.cjs.js +3 -3
  99. package/lib/cjs/{slot-utils-BIdgEejh.js → slot-utils-mZWWDERy.js} +1 -1
  100. package/lib/cjs/{themeable-component-B3llZmjN.js → themeable-component-DtTN09xK.js} +1 -1
  101. package/lib/collection/collection-manifest.json +1 -0
  102. package/lib/collection/common-strings.js +22 -0
  103. package/lib/collection/components/duet-alert/duet-alert.js +21 -30
  104. package/lib/collection/components/duet-badge/duet-badge.js +13 -2
  105. package/lib/collection/components/duet-banner/duet-banner.css +27 -0
  106. package/lib/collection/components/duet-banner/duet-banner.js +15 -4
  107. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  108. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  109. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  110. package/lib/collection/components/duet-card/duet-card.css +12 -3
  111. package/lib/collection/components/duet-card/duet-card.js +36 -4
  112. package/lib/collection/components/duet-chip/duet-chip.css +6 -6
  113. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  114. package/lib/collection/components/duet-choice/duet-choice.css +4 -4
  115. package/lib/collection/components/duet-choice/duet-choice.js +6 -27
  116. package/lib/collection/components/duet-choice-group/duet-choice-group.js +24 -15
  117. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  118. package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
  119. package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
  120. package/lib/collection/components/duet-date-picker/duet-date-picker.css +2 -2
  121. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  122. package/lib/collection/components/duet-grid/duet-grid.js +7 -6
  123. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  124. package/lib/collection/components/duet-heading/duet-heading.css +1 -0
  125. package/lib/collection/components/duet-hero/duet-hero.css +282 -0
  126. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  127. package/lib/collection/components/duet-indicator/duet-indicator.css +46 -0
  128. package/lib/collection/components/duet-indicator/duet-indicator.js +104 -0
  129. package/lib/collection/components/duet-input/duet-input.js +8 -8
  130. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  131. package/lib/collection/components/duet-link/duet-link.js +2 -2
  132. package/lib/collection/components/duet-list/duet-list.js +1 -1
  133. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  134. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  135. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  136. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  137. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  138. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  139. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  140. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  141. package/lib/collection/components/duet-modal/duet-modal.js +7 -7
  142. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  143. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  144. package/lib/collection/components/duet-notification/duet-notification.css +4 -15
  145. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  146. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +0 -15
  147. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  148. package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
  149. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  150. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  151. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  152. package/lib/collection/components/duet-panel/duet-panel.js +2 -2
  153. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  154. package/lib/collection/components/duet-phone-input/duet-phone-input.js +56 -3
  155. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  156. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  157. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  158. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  159. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  160. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  161. package/lib/collection/components/duet-scrollable/duet-scrollable.js +6 -6
  162. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  163. package/lib/collection/components/duet-select/duet-select.js +5 -5
  164. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  165. package/lib/collection/components/duet-share-chart/duet-share-chart.js +4 -2
  166. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  167. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  168. package/lib/collection/components/duet-slideout/duet-slideout.css +26 -19
  169. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  170. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +2 -2
  171. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  172. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +3 -3
  173. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  174. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +16 -22
  175. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +9 -14
  176. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +2 -2
  177. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  178. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  179. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  180. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  181. package/lib/collection/components/duet-step/duet-step.js +2 -2
  182. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  183. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  184. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  185. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  186. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  187. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  188. package/lib/collection/components/duet-tab/duet-tab.js +53 -3
  189. package/lib/collection/components/duet-tab-group/duet-tab-group.css +6 -61
  190. package/lib/collection/components/duet-tab-group/duet-tab-group.js +15 -13
  191. package/lib/collection/components/duet-table/duet-table.js +2 -2
  192. package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
  193. package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
  194. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  195. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  196. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  197. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +9 -14
  198. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  199. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  200. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  201. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  202. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  203. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  204. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  205. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  206. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  207. package/lib/duet/duet.esm.js +1 -1
  208. package/lib/duet/{p-83f6beb5.entry.js → p-0528f691.entry.js} +1 -1
  209. package/lib/duet/{p-fb3b8e0f.entry.js → p-076d2d0d.entry.js} +1 -1
  210. package/lib/duet/p-1228299f.entry.js +4 -0
  211. package/lib/duet/{p-37222c50.entry.js → p-15d4751c.entry.js} +1 -1
  212. package/lib/duet/p-167290f7.entry.js +4 -0
  213. package/lib/duet/p-1995091e.entry.js +4 -0
  214. package/lib/duet/{p-DyXNfxdT.js → p-1s1EpusX.js} +1 -1
  215. package/lib/duet/p-208fdfe6.entry.js +4 -0
  216. package/lib/duet/p-25ebe6a5.entry.js +4 -0
  217. package/lib/duet/{p-c6479694.entry.js → p-26146512.entry.js} +1 -1
  218. package/lib/duet/p-263790e3.entry.js +4 -0
  219. package/lib/duet/p-2c976b5a.entry.js +4 -0
  220. package/lib/duet/p-338667ab.entry.js +4 -0
  221. package/lib/duet/{p-7a9f3475.entry.js → p-3389969d.entry.js} +1 -1
  222. package/lib/duet/{p-30ade10d.entry.js → p-39087512.entry.js} +1 -1
  223. package/lib/duet/{p-402c8cd9.entry.js → p-3c7ba14f.entry.js} +1 -1
  224. package/lib/duet/p-3d3aff4c.entry.js +4 -0
  225. package/lib/duet/p-3facac5a.entry.js +4 -0
  226. package/lib/duet/{p-ec6e097b.entry.js → p-4107efb5.entry.js} +1 -1
  227. package/lib/duet/p-41dd144f.entry.js +4 -0
  228. package/lib/duet/{p-c8308bec.entry.js → p-4289c214.entry.js} +1 -1
  229. package/lib/duet/p-46eaee49.entry.js +4 -0
  230. package/lib/duet/p-493d938a.entry.js +4 -0
  231. package/lib/duet/{p-9973c0dc.entry.js → p-4b032feb.entry.js} +1 -1
  232. package/lib/duet/{p-64f8d654.entry.js → p-4f638a3d.entry.js} +1 -1
  233. package/lib/duet/{p-04ce95ba.entry.js → p-503a290b.entry.js} +1 -1
  234. package/lib/duet/p-50afabfb.entry.js +4 -0
  235. package/lib/duet/p-537d3b11.entry.js +4 -0
  236. package/lib/duet/{p-72c2ba6b.entry.js → p-55a63695.entry.js} +1 -1
  237. package/lib/duet/{p-35ac072d.entry.js → p-59cd72fc.entry.js} +1 -1
  238. package/lib/duet/{p-06ed84cb.entry.js → p-5a8f14cf.entry.js} +1 -1
  239. package/lib/duet/{p-73ce0ef8.entry.js → p-5b2527f7.entry.js} +1 -1
  240. package/lib/duet/p-5efda812.entry.js +4 -0
  241. package/lib/duet/{p-a440c5b3.entry.js → p-61105f0d.entry.js} +1 -1
  242. package/lib/duet/{p-dee8ff90.entry.js → p-6943a2ef.entry.js} +1 -1
  243. package/lib/duet/p-6a95d722.entry.js +4 -0
  244. package/lib/duet/{p-4628e002.entry.js → p-6fe283f7.entry.js} +1 -1
  245. package/lib/duet/p-72c7db64.entry.js +4 -0
  246. package/lib/duet/{p-9a1f29ac.entry.js → p-7379c2ed.entry.js} +1 -1
  247. package/lib/duet/p-75fd0eca.entry.js +4 -0
  248. package/lib/duet/{p-6aa6ce7d.entry.js → p-79c93372.entry.js} +1 -1
  249. package/lib/duet/{p-2057cc55.entry.js → p-7ace4629.entry.js} +1 -1
  250. package/lib/duet/p-875dd701.entry.js +4 -0
  251. package/lib/duet/{p-867aab83.entry.js → p-8ff78f91.entry.js} +1 -1
  252. package/lib/duet/{p-64ebf5e9.entry.js → p-91f39296.entry.js} +1 -1
  253. package/lib/duet/{p-71a6b137.entry.js → p-931b4437.entry.js} +1 -1
  254. package/lib/duet/{p-d2ceafd6.entry.js → p-9500f26b.entry.js} +1 -1
  255. package/lib/duet/{p-3dd4fbf1.entry.js → p-950c4ec0.entry.js} +1 -1
  256. package/lib/duet/{p-ab0cd4e5.entry.js → p-9af77c24.entry.js} +1 -1
  257. package/lib/duet/{p-4aece4f9.entry.js → p-9f9576a2.entry.js} +1 -1
  258. package/lib/duet/p-BSOF0zb5.js +4 -0
  259. package/lib/duet/p-BWvtXbhA.js +4 -0
  260. package/lib/duet/{p-DdwVwK5C.js → p-BXJZKiJg.js} +1 -1
  261. package/lib/duet/p-Cq7Ixl9a.js +4 -0
  262. package/lib/duet/p-DejMEymG.js +4 -0
  263. package/lib/duet/{p-T5kkooky.js → p-G09pKpI-.js} +1 -1
  264. package/lib/duet/{p-BaR6ufr4.js → p-Ob09ol4-.js} +1 -1
  265. package/lib/duet/p-a0e708db.entry.js +4 -0
  266. package/lib/duet/{p-e9421a0e.entry.js → p-a274b8fd.entry.js} +1 -1
  267. package/lib/duet/p-a431d704.entry.js +4 -0
  268. package/lib/duet/{p-71603edd.entry.js → p-a582e823.entry.js} +1 -1
  269. package/lib/duet/p-a9094bdc.entry.js +4 -0
  270. package/lib/duet/{p-625347d3.entry.js → p-a94cc8a6.entry.js} +1 -1
  271. package/lib/duet/p-aWO-HcmJ.js +4 -0
  272. package/lib/duet/p-ab61831a.entry.js +4 -0
  273. package/lib/duet/{p-5564a39c.entry.js → p-b001a8a4.entry.js} +1 -1
  274. package/lib/duet/{p-d96af9c9.entry.js → p-b025df86.entry.js} +1 -1
  275. package/lib/duet/{p-15593e3e.entry.js → p-b2780442.entry.js} +1 -1
  276. package/lib/duet/{p-0ebeee02.entry.js → p-b37b1542.entry.js} +1 -1
  277. package/lib/duet/{p-bcbe4d11.entry.js → p-b6354004.entry.js} +1 -1
  278. package/lib/duet/{p-a09c6e42.entry.js → p-ba6dc53e.entry.js} +1 -1
  279. package/lib/duet/{p-6a6e4d82.entry.js → p-babbf633.entry.js} +1 -1
  280. package/lib/duet/{p-a72b8cf4.entry.js → p-bc7d4da0.entry.js} +1 -1
  281. package/lib/duet/{p-2e34dd28.entry.js → p-bed6b29f.entry.js} +1 -1
  282. package/lib/duet/{p-ba2b47d3.entry.js → p-c43669b3.entry.js} +1 -1
  283. package/lib/duet/{p-a4a768bf.entry.js → p-c4fe8bae.entry.js} +1 -1
  284. package/lib/duet/{p-9fff2189.entry.js → p-c516bf93.entry.js} +1 -1
  285. package/lib/duet/{p-d0f3a2e6.entry.js → p-c588fc15.entry.js} +1 -1
  286. package/lib/duet/p-c745c02a.entry.js +4 -0
  287. package/lib/duet/{p-67290546.entry.js → p-ca2fd9dc.entry.js} +1 -1
  288. package/lib/duet/{p-652eefa8.entry.js → p-cbedc26b.entry.js} +1 -1
  289. package/lib/duet/{p-2d3d11db.entry.js → p-cd4d12c2.entry.js} +1 -1
  290. package/lib/duet/{p-65a8dd89.entry.js → p-d11b094d.entry.js} +1 -1
  291. package/lib/duet/{p-774cf9f5.entry.js → p-d65a706f.entry.js} +1 -1
  292. package/lib/duet/{p-466ef37c.entry.js → p-deb90dc7.entry.js} +1 -1
  293. package/lib/duet/p-e439d733.entry.js +4 -0
  294. package/lib/duet/p-e882bbb5.entry.js +4 -0
  295. package/lib/duet/{p-5ab64521.entry.js → p-ed5f5c6b.entry.js} +1 -1
  296. package/lib/duet/{p-7c814d9a.entry.js → p-ef821bec.entry.js} +1 -1
  297. package/lib/duet/p-f46480c6.entry.js +4 -0
  298. package/lib/duet/{p-66c7af01.entry.js → p-f6b76f66.entry.js} +1 -1
  299. package/lib/duet/{p-94e33308.entry.js → p-fc7d6429.entry.js} +1 -1
  300. package/lib/duet/{p-693fda6b.entry.js → p-fd989bd6.entry.js} +1 -1
  301. package/lib/duet/{p-bf5fae27.entry.js → p-fe29dee3.entry.js} +1 -1
  302. package/lib/duet/{p-2792ec0b.entry.js → p-fe393084.entry.js} +1 -1
  303. package/lib/duet/{p-B_VBeM3r.js → p-vt84lkeQ.js} +1 -1
  304. package/lib/esm/{a11y-utils-CXqm1pj1.js → a11y-utils-CROKOfOD.js} +1 -1
  305. package/lib/esm/{app-globals-s-_CGo5t.js → app-globals-CahJi_2c.js} +1 -1
  306. package/lib/esm/{common-strings-MxsWrBCY.js → common-strings-BWvtXbhA.js} +23 -1
  307. package/lib/esm/duet-action-button.entry.js +3 -3
  308. package/lib/esm/duet-alert.entry.js +24 -33
  309. package/lib/esm/duet-badge.entry.js +16 -4
  310. package/lib/esm/duet-banner.entry.js +19 -8
  311. package/lib/esm/duet-breadcrumb.entry.js +7 -7
  312. package/lib/esm/duet-breadcrumbs.entry.js +5 -5
  313. package/lib/esm/duet-button_2.entry.js +6 -6
  314. package/lib/esm/duet-callout.entry.js +5 -5
  315. package/lib/esm/duet-caption_4.entry.js +11 -11
  316. package/lib/esm/duet-card.entry.js +14 -8
  317. package/lib/esm/duet-checkbox.entry.js +2 -2
  318. package/lib/esm/duet-checkmark.entry.js +4 -4
  319. package/lib/esm/duet-chip.entry.js +4 -4
  320. package/lib/esm/duet-choice_2.entry.js +36 -29
  321. package/lib/esm/duet-collapsible.entry.js +3 -3
  322. package/lib/esm/duet-combobox.entry.js +4 -4
  323. package/lib/esm/duet-contact-card.entry.js +5 -5
  324. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  325. package/lib/esm/duet-date-picker.entry.js +19 -9
  326. package/lib/esm/duet-divider_2.entry.js +3 -3
  327. package/lib/esm/duet-editable-table_3.entry.js +8 -8
  328. package/lib/esm/duet-empty-state.entry.js +2 -2
  329. package/lib/esm/duet-fieldset.entry.js +6 -6
  330. package/lib/esm/duet-file-chooser.entry.js +2 -2
  331. package/lib/esm/duet-footer.entry.js +5 -5
  332. package/lib/esm/duet-grid_2.entry.js +11 -10
  333. package/lib/esm/duet-header_2.entry.js +5 -5
  334. package/lib/esm/duet-hero.entry.js +6 -6
  335. package/lib/esm/duet-icon.entry.js +5 -5
  336. package/lib/esm/duet-indicator.entry.js +51 -0
  337. package/lib/esm/duet-input_2.entry.js +11 -11
  338. package/lib/esm/duet-layout.entry.js +7 -7
  339. package/lib/esm/duet-list_2.entry.js +5 -5
  340. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  341. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  342. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  343. package/lib/esm/duet-menu-bar-item.entry.js +8 -8
  344. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  345. package/lib/esm/duet-menu-bar.entry.js +6 -6
  346. package/lib/esm/duet-modal.entry.js +13 -13
  347. package/lib/esm/duet-multiselect.entry.js +10 -10
  348. package/lib/esm/duet-nav.entry.js +3 -3
  349. package/lib/esm/duet-notification_2.entry.js +9 -9
  350. package/lib/esm/duet-number-input.entry.js +6 -6
  351. package/lib/esm/duet-overlay.entry.js +3 -3
  352. package/lib/esm/duet-page-heading.entry.js +4 -4
  353. package/lib/esm/duet-pagination_2.entry.js +16 -16
  354. package/lib/esm/duet-panel.entry.js +4 -4
  355. package/lib/esm/duet-phone-input.entry.js +22 -7
  356. package/lib/esm/duet-popup-menu_2.entry.js +6 -6
  357. package/lib/esm/duet-progress.entry.js +3 -3
  358. package/lib/esm/duet-promo-card.entry.js +5 -5
  359. package/lib/esm/duet-radio_2.entry.js +7 -7
  360. package/lib/esm/duet-range-slider.entry.js +6 -6
  361. package/lib/esm/duet-scrollable_3.entry.js +30 -25
  362. package/lib/esm/duet-section-layout.entry.js +4 -4
  363. package/lib/esm/duet-select.entry.js +9 -9
  364. package/lib/esm/duet-shaped-image.entry.js +4 -4
  365. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  366. package/lib/esm/duet-share-chart.entry.js +8 -6
  367. package/lib/esm/duet-show-more.entry.js +5 -5
  368. package/lib/esm/duet-slideout-lang.entry.js +5 -5
  369. package/lib/esm/duet-slideout-link.entry.js +9 -9
  370. package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -7
  371. package/lib/esm/duet-slideout-panel.entry.js +14 -19
  372. package/lib/esm/duet-slideout.entry.js +10 -10
  373. package/lib/esm/duet-status-icon.entry.js +3 -3
  374. package/lib/esm/duet-step_2.entry.js +7 -7
  375. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  376. package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
  377. package/lib/esm/duet-submenu-bar-item.entry.js +7 -7
  378. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  379. package/lib/esm/duet-submenu-bar.entry.js +7 -7
  380. package/lib/esm/duet-textarea.entry.js +8 -8
  381. package/lib/esm/duet-toggle.entry.js +6 -6
  382. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  383. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  384. package/lib/esm/duet-toolbar-item.entry.js +10 -10
  385. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  386. package/lib/esm/duet-toolbar.entry.js +4 -4
  387. package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
  388. package/lib/esm/duet-tooltip.entry.js +4 -4
  389. package/lib/esm/duet-tray.entry.js +5 -5
  390. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  391. package/lib/esm/duet-upload-item.entry.js +6 -6
  392. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  393. package/lib/esm/duet.js +4 -4
  394. package/lib/esm/{errorcodes.utils-Bre55Njd.js → errorcodes.utils-6V_f8y5q.js} +1 -1
  395. package/lib/esm/{focus-utils-vvgYykmM.js → focus-utils-CErdQceY.js} +1 -1
  396. package/lib/esm/{index-B_VBeM3r.js → index-vt84lkeQ.js} +5 -1
  397. package/lib/esm/{label-l-Eza5H3.js → label-BosP5JdK.js} +1 -1
  398. package/lib/esm/{language-utils-B7PXWqpg.js → language-utils-B9dLrWKg.js} +1 -1
  399. package/lib/esm/loader.js +4 -4
  400. package/lib/esm/{slot-utils-aDCRCdc4.js → slot-utils-BZXZ33TK.js} +1 -1
  401. package/lib/esm/{themeable-component-DPqozkF4.js → themeable-component-CsnFpp6R.js} +1 -1
  402. package/lib/types/common-strings.d.ts +2 -0
  403. package/lib/types/components/duet-alert/duet-alert.d.ts +5 -2
  404. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
  405. package/lib/types/components/duet-banner/duet-banner.d.ts +2 -0
  406. package/lib/types/components/duet-card/duet-card.d.ts +6 -0
  407. package/lib/types/components/duet-choice/duet-choice.d.ts +0 -4
  408. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +2 -2
  409. package/lib/types/components/duet-indicator/duet-indicator.d.ts +17 -0
  410. package/lib/types/components/duet-input/duet-input.d.ts +0 -2
  411. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +14 -0
  412. package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
  413. package/lib/types/components.d.ts +87 -15
  414. package/package.json +3 -3
  415. package/lib/duet/p-05766552.entry.js +0 -4
  416. package/lib/duet/p-065f7e81.entry.js +0 -4
  417. package/lib/duet/p-08ed76c2.entry.js +0 -4
  418. package/lib/duet/p-0a448068.entry.js +0 -4
  419. package/lib/duet/p-0dc4fe1d.entry.js +0 -4
  420. package/lib/duet/p-106d3089.entry.js +0 -4
  421. package/lib/duet/p-28a998f9.entry.js +0 -4
  422. package/lib/duet/p-39169420.entry.js +0 -4
  423. package/lib/duet/p-4ee576a2.entry.js +0 -4
  424. package/lib/duet/p-500d799b.entry.js +0 -4
  425. package/lib/duet/p-5848a34c.entry.js +0 -4
  426. package/lib/duet/p-60be3836.entry.js +0 -4
  427. package/lib/duet/p-73290da8.entry.js +0 -4
  428. package/lib/duet/p-767afcf4.entry.js +0 -4
  429. package/lib/duet/p-7f1fb1a9.entry.js +0 -4
  430. package/lib/duet/p-8596c993.entry.js +0 -4
  431. package/lib/duet/p-86b74914.entry.js +0 -4
  432. package/lib/duet/p-8ed6f7c7.entry.js +0 -4
  433. package/lib/duet/p-960f95b4.entry.js +0 -4
  434. package/lib/duet/p-9fade6a0.entry.js +0 -4
  435. package/lib/duet/p-BdUQgQFn.js +0 -4
  436. package/lib/duet/p-DzerL_yn.js +0 -4
  437. package/lib/duet/p-KocOARXM.js +0 -4
  438. package/lib/duet/p-MxsWrBCY.js +0 -4
  439. package/lib/duet/p-OdY4DjJa.js +0 -4
  440. package/lib/duet/p-a3a2e89e.entry.js +0 -4
  441. package/lib/duet/p-aefcd222.entry.js +0 -4
  442. package/lib/duet/p-b84ac47b.entry.js +0 -4
  443. package/lib/duet/p-ba0fcce1.entry.js +0 -4
  444. package/lib/duet/p-baeb1090.entry.js +0 -4
  445. package/lib/duet/p-d28a8bc4.entry.js +0 -4
  446. package/lib/duet/p-effefdec.entry.js +0 -4
@@ -53,10 +53,11 @@ export class DuetGrid {
53
53
  * @returns {number}
54
54
  */
55
55
  outerHeight(element) {
56
- const height = element.offsetHeight, style = window.getComputedStyle(element);
57
- return ["top", "bottom"]
58
- .map(side => parseInt(style[`margin-${side}`]))
59
- .reduce((total, side) => total + side, height);
56
+ const height = element.offsetHeight;
57
+ const style = window.getComputedStyle(element);
58
+ const topMargin = parseInt(style.marginTop);
59
+ const bottomMargin = parseInt(style.marginBottom);
60
+ return topMargin + height + bottomMargin;
60
61
  }
61
62
  debounceWindowResizeHandler() {
62
63
  debounce(this.updateGridItemsWithInputFields, 100);
@@ -184,7 +185,7 @@ export class DuetGrid {
184
185
  * Always the last one in the class.
185
186
  */
186
187
  render() {
187
- return (h(Host, { key: '909c2fe77b7c43ae64846ae84293889e9ff7772c', class: {
188
+ return (h(Host, { key: '2bb3d9243ec7a125fb661965f3cbaf286783b81d', class: {
188
189
  "duet-grid": true,
189
190
  "duet-no-stacking": !this.responsive,
190
191
  "duet-grid-align-top": this.alignment === "top", // flex-start
@@ -211,7 +212,7 @@ export class DuetGrid {
211
212
  "duet-grid-row-reverse": this.rowReverse,
212
213
  [`duet-grid-variation-${this.gridTemplate ? "grid" : "flex"}`]: true,
213
214
  [`duet-grid-template-${this.gridTemplate}`]: true,
214
- } }, h("slot", { key: '19fb35996b2b7198c9c903c155b0d6488799acde' })));
215
+ } }, h("slot", { key: 'c24fa9a1a433f68a451601ab0313149b4c2cd13d' })));
215
216
  }
216
217
  static get is() { return "duet-grid"; }
217
218
  static get encapsulation() { return "shadow"; }
@@ -53,7 +53,7 @@ export class DuetGridItem {
53
53
  * Always the last one in the class.
54
54
  */
55
55
  render() {
56
- return (h(Host, { key: '116018aebb0122341885d5c189c49e80651a9c8d', style: {
56
+ return (h(Host, { key: 'cd699b121a356a4998001457a43186fcc2c75f29', style: {
57
57
  "min-width": this.minWidth,
58
58
  "max-width": this.maxWidth,
59
59
  }, class: {
@@ -70,7 +70,7 @@ export class DuetGridItem {
70
70
  "duet-grid-item-br-medium": this.breakpoint === "medium",
71
71
  "duet-grid-item-br-large": this.breakpoint === "large",
72
72
  "duet-grid-item-br-x-large": this.breakpoint === "x-large",
73
- } }, h("slot", { key: '8f0abe7f48298866dc52e646b8d08bbeaf4ce234' })));
73
+ } }, h("slot", { key: 'c5bf503f54cdf776eb9ee3f975d09925f61e0922' })));
74
74
  }
75
75
  static get is() { return "duet-grid-item"; }
76
76
  static get encapsulation() { return "shadow"; }
@@ -269,5 +269,6 @@
269
269
  }
270
270
 
271
271
  :host(.duet-theme-turva2) .duet-heading.duet-theme-turva {
272
+ font-style: normal !important;
272
273
  color: #172a3b;
273
274
  }
@@ -1778,6 +1778,288 @@ duet-heading + duet-button {
1778
1778
  :host(.duet-theme-turva2) .duet-hero.duet-hero-gray.duet-theme-turva {
1779
1779
  background: #f5f6f7;
1780
1780
  }
1781
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
1782
+ margin-bottom: 2rem;
1783
+ }
1784
+ @media (min-width: 22.5em) {
1785
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
1786
+ margin-bottom: 2rem;
1787
+ }
1788
+ }
1789
+ @media (min-width: 36em) {
1790
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
1791
+ margin-bottom: 4rem;
1792
+ }
1793
+ }
1794
+ @media (min-width: 48em) {
1795
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
1796
+ margin-bottom: 6rem;
1797
+ }
1798
+ }
1799
+ @media (min-width: 62em) {
1800
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
1801
+ margin-bottom: 7rem;
1802
+ }
1803
+ }
1804
+ @media (min-width: 76.25em) {
1805
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
1806
+ margin-bottom: 8rem;
1807
+ }
1808
+ }
1809
+ @media (min-width: 106.25em) {
1810
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-campaign .duet-hero-heading, :host(.duet-theme-turva2) .duet-hero.duet-hero-section .duet-hero-heading {
1811
+ margin-botton: 9rem;
1812
+ }
1813
+ }
1814
+ :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
+ background-color: rgb(255, 255, 255);
1816
+ border-radius: 24px;
1817
+ mask-image: none;
1818
+ }
1819
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product {
1820
+ display: flex;
1821
+ flex-direction: column;
1822
+ gap: 20px;
1823
+ min-height: auto;
1824
+ padding-top: 0;
1825
+ padding-bottom: 72px;
1826
+ margin: 0 auto;
1827
+ }
1828
+ @media (min-width: 62em) {
1829
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product {
1830
+ flex-direction: row-reverse;
1831
+ gap: 40px;
1832
+ padding-top: 72px;
1833
+ padding-right: 56px;
1834
+ padding-left: 56px;
1835
+ }
1836
+ }
1837
+ @media (min-width: 76.25em) {
1838
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product {
1839
+ max-width: 1110px;
1840
+ padding-right: 0;
1841
+ padding-left: 0;
1842
+ }
1843
+ }
1844
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area {
1845
+ position: relative;
1846
+ height: auto;
1847
+ overflow: visible;
1848
+ }
1849
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow,
1850
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid {
1851
+ position: relative;
1852
+ top: 0;
1853
+ width: 100%;
1854
+ height: auto;
1855
+ aspect-ratio: 576/250;
1856
+ padding: 0;
1857
+ overflow: visible;
1858
+ /* stylelint-disable max-nesting-depth */
1859
+ }
1860
+ @media (min-width: 36em) {
1861
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow,
1862
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid {
1863
+ height: 250px;
1864
+ aspect-ratio: auto;
1865
+ }
1866
+ }
1867
+ @media (min-width: 48em) {
1868
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow,
1869
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid {
1870
+ padding-right: 28px;
1871
+ padding-left: 28px;
1872
+ }
1873
+ }
1874
+ @media (min-width: 62em) {
1875
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow,
1876
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid {
1877
+ height: auto;
1878
+ aspect-ratio: 53/32;
1879
+ padding-right: 0;
1880
+ padding-left: 0;
1881
+ }
1882
+ }
1883
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background,
1884
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background {
1885
+ position: relative;
1886
+ top: auto;
1887
+ height: 100%;
1888
+ }
1889
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .background-mask,
1890
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .background-mask {
1891
+ display: none;
1892
+ background-image: none;
1893
+ }
1894
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-image,
1895
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-image {
1896
+ position: static;
1897
+ width: 100%;
1898
+ height: 100%;
1899
+ border-radius: 0;
1900
+ mask-image: none;
1901
+ }
1902
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-image .brand-shaped-image-bg,
1903
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-image .brand-shaped-image-bg {
1904
+ position: static;
1905
+ width: 100%;
1906
+ height: 100%;
1907
+ background-position: 0;
1908
+ background-size: cover;
1909
+ transform: none;
1910
+ }
1911
+ @media (min-width: 48em) {
1912
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-image,
1913
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-image {
1914
+ border-radius: 0 0 12px 12px;
1915
+ }
1916
+ }
1917
+ @media (min-width: 62em) {
1918
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-image,
1919
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-image {
1920
+ border-radius: 12px;
1921
+ }
1922
+ }
1923
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon,
1924
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon {
1925
+ top: auto;
1926
+ right: 20px;
1927
+ bottom: -16px;
1928
+ width: auto;
1929
+ height: auto;
1930
+ padding: 0;
1931
+ background-color: #172a3b;
1932
+ border-radius: 8px;
1933
+ mask-image: none;
1934
+ }
1935
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon duet-icon,
1936
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon duet-icon {
1937
+ top: 0;
1938
+ width: 62px;
1939
+ height: 62px;
1940
+ }
1941
+ @media (min-width: 36em) {
1942
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon,
1943
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon {
1944
+ right: 40px;
1945
+ bottom: -24px;
1946
+ padding: 8px;
1947
+ }
1948
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon duet-icon,
1949
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon duet-icon {
1950
+ width: 80px;
1951
+ height: 80px;
1952
+ }
1953
+ }
1954
+ @media (min-width: 48em) {
1955
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon,
1956
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon {
1957
+ right: 68px;
1958
+ }
1959
+ }
1960
+ @media (min-width: 62em) {
1961
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.narrow .background .brand-shaped-icon,
1962
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .background-area .background-container.fluid .background .brand-shaped-icon {
1963
+ right: 40px;
1964
+ }
1965
+ }
1966
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .duet-hero-wrapper .duet-hero-text {
1967
+ width: 100%;
1968
+ }
1969
+ @media (min-width: 48em) {
1970
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .duet-hero-wrapper {
1971
+ margin-top: 28px;
1972
+ }
1973
+ }
1974
+ @media (min-width: 62em) {
1975
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-product .duet-hero-wrapper {
1976
+ padding: 0;
1977
+ }
1978
+ }
1979
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content {
1980
+ padding: 0;
1981
+ margin: 20px auto;
1982
+ }
1983
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content.duet-hero-narrow .background-area {
1984
+ max-width: 888px;
1985
+ }
1986
+ @media (min-width: 36em) {
1987
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content.duet-hero-narrow .background-area {
1988
+ padding: 0 48px;
1989
+ }
1990
+ }
1991
+ @media (min-width: 48em) {
1992
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content.duet-hero-narrow .background-area {
1993
+ padding: 0 72px;
1994
+ }
1995
+ }
1996
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area {
1997
+ position: static;
1998
+ padding: 0 16px;
1999
+ margin: 0 auto;
2000
+ }
2001
+ @media (min-width: 36em) {
2002
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area {
2003
+ padding: 0 28px;
2004
+ }
2005
+ }
2006
+ @media (min-width: 62em) {
2007
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area {
2008
+ padding: 0 56px;
2009
+ }
2010
+ }
2011
+ @media (min-width: 76.25em) {
2012
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area {
2013
+ max-width: 1110px;
2014
+ padding: 0;
2015
+ }
2016
+ }
2017
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area .background {
2018
+ position: static;
2019
+ height: auto;
2020
+ }
2021
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area .background .background-mask {
2022
+ display: none;
2023
+ background-image: none;
2024
+ }
2025
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area .background .brand-shaped-image {
2026
+ position: static;
2027
+ width: auto;
2028
+ height: auto;
2029
+ }
2030
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .background-area .background .brand-shaped-image .brand-shaped-image-wrapper {
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-bg {
2035
+ position: static;
2036
+ width: 100%;
2037
+ height: auto;
2038
+ aspect-ratio: 5/2;
2039
+ background-size: cover;
2040
+ transform: none;
2041
+ }
2042
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .brand-shaped-image {
2043
+ border-radius: 12px;
2044
+ mask-image: none;
2045
+ }
2046
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .duet-hero-wrapper {
2047
+ margin-top: 28px;
2048
+ }
2049
+ @media (min-width: 48em) {
2050
+ :host(.duet-theme-turva2) .duet-hero.duet-hero-content .duet-hero-wrapper {
2051
+ margin-top: 36px;
2052
+ }
2053
+ }
2054
+ :host(.duet-theme-turva2) .duet-hero .duet-hero-wrapper {
2055
+ position: static;
2056
+ margin-top: 16px;
2057
+ }
2058
+ @media (min-width: 48em) {
2059
+ :host(.duet-theme-turva2) .duet-hero .duet-hero-wrapper {
2060
+ margin-top: 0;
2061
+ }
2062
+ }
1781
2063
  .duet-theme-turva :host(.duet-theme-turva2) .duet-hero-link {
1782
2064
  color: #e61740;
1783
2065
  }
@@ -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: '2f6837b926530cee2afc83a590aa1ccb0dfeca03', 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: '6fa86044b5f3966537f38590bd12b28b698a080b', "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: '4ba33bca7da0ccbc0f11b1b5693e7912d0a0d45d', "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,
@@ -66,24 +66,24 @@ export class DuetLayout {
66
66
  * Always the last one in the class.
67
67
  */
68
68
  render() {
69
- return (h(Host, { key: '53712da1e22dc258d30906570bf1271624379ed8', class: {
69
+ return (h(Host, { key: 'a2e2da10366f6be7ac33297fd517b70cccd91d3a', class: {
70
70
  center: this.center,
71
71
  "duet-middle": this.middle,
72
72
  "duet-ie": isInternetExplorer(),
73
- } }, h("div", { key: '80dc2f3b86a02c22c7aebd8802bd332154c4a273', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (h("div", { key: '9f3f4c713d5b921ad78480072e3dcea4d4867d04', class: {
73
+ } }, h("div", { key: '963134d9ac0866556e457fb1559789b3fdc04ac9', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (h("div", { key: '2af6f591e1f2af28de75b5ad014d2465a227d6e8', class: {
74
74
  "duet-layout-top": true,
75
75
  "duet-center": this.center,
76
- } }, h("div", { key: '7cd44f76b96b5e2bd6033cc044f08e75a10760ed', class: "duet-layout-top-wrapper" }, h("slot", { key: '7743f1fe659f31925b27a85a970e934506b935e7', name: "top" })))), h("div", { key: '637a68f8376e073f146c63f2c866b6f52722577e', class: {
76
+ } }, h("div", { key: 'ada1feb7bcfd4aa2ad32163e551eb617ce6a3e0e', class: "duet-layout-top-wrapper" }, h("slot", { key: 'c902eb9bd68adf934510fcd036e73ca221cc25a2', name: "top" })))), h("div", { key: '10a599002b1cd07f67085bfc6712ec55d70f9c6c', class: {
77
77
  "duet-layout": true,
78
78
  "has-sidebar": this.hasSidebar,
79
79
  "duet-center": this.center,
80
80
  [`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
81
- } }, h("main", { key: 'f6b2682dfb675be08976b23a485cf1a7ad76de0c', class: "duet-main" }, this.hasPageHeading && h("slot", { key: '9ec618959d54d768b880f95e05df0e5aaf76de75', name: "page-heading" }), h("slot", { key: 'b3c960b48d55fb863854fc34e126b1a143b3d194', name: "main" })), this.hasSidebar && (h("aside", { key: '68671aab139ba365d60284909e489a78bd7438d3', class: "duet-sidebar" }, h("div", { key: '60a53e1fa61ccec8fa2b85f20b475c52e016b963', class: {
81
+ } }, h("main", { key: 'f1aa73887189771b2bd8fcfb91f1abbe85d91f32', class: "duet-main" }, this.hasPageHeading && h("slot", { key: '972898b8f80d486dac54d3f02f746ea6453afde0', name: "page-heading" }), h("slot", { key: '916d907b26b5fc5c8cbc3b8e6c7bffbf044b2a09', name: "main" })), this.hasSidebar && (h("aside", { key: 'b153227de7fd9cd22c5101ca3b55e5f6c538cea2', class: "duet-sidebar" }, h("div", { key: '3de02670c41fff15245d73a5d6a1989ba1342a1c', class: {
82
82
  "duet-sidebar-container": true,
83
83
  "has-tabs": this.tabs,
84
84
  sticky: this.sticky,
85
85
  [this.stickyDistance]: this.sticky,
86
- } }, h("slot", { key: 'a6131a1af98bb5cf2c6c808b15cea9e6996143f3', name: "sidebar" }))))))));
86
+ } }, h("slot", { key: '70a65e789aeea0b965ca02ef0876070c6fa337ff', name: "sidebar" }))))))));
87
87
  }
88
88
  static get is() { return "duet-layout"; }
89
89
  static get encapsulation() { return "shadow"; }
@@ -181,10 +181,10 @@ export class DuetLink {
181
181
  const Tag = !this.url && this.variation !== "default" ? "button" : "a";
182
182
  const role = !this.url && this.variation === "default" ? "button" : null;
183
183
  const isButton = Tag === "button";
184
- return (h(Host, { key: 'eae1c61afe3b8413b109313020b9757cfe7f2e42', class: {
184
+ return (h(Host, { key: 'c6dfd9dd4ce34ea1deea147e76481197cfa90854', class: {
185
185
  [`duet-link-${this.variation}`]: true,
186
186
  "duet-m-0": this.margin === "none",
187
- } }, h(Tag, { key: '973984aeb4ef7dd331df49218b1552a4955b80c2', href: this.url, class: {
187
+ } }, h(Tag, { key: '72968ba8e93c2773e8cdbdc7521a854e63569826', href: this.url, class: {
188
188
  "duet-link": true,
189
189
  "duet-link-is-external": this.external,
190
190
  "duet-link-is-download": !!this.download,