@duetds/components 8.1.4 → 8.1.5

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 (586) hide show
  1. package/hydrate/index.js +119 -63
  2. package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-banner.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
  9. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-chip.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
  17. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-input_2.cjs.entry.js +7 -3
  32. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-modal.cjs.entry.js +18 -5
  40. package/lib/cjs/duet-multiselect.cjs.entry.js +4 -2
  41. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +2 -2
  47. package/lib/cjs/duet-popup-menu.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-range-slider.cjs.entry.js +4 -2
  52. package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-select.cjs.entry.js +4 -2
  55. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
  61. package/lib/cjs/duet-slideout.cjs.entry.js +77 -66
  62. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
  67. package/lib/cjs/duet-textarea.cjs.entry.js +4 -2
  68. package/lib/cjs/duet-toggle.cjs.entry.js +4 -2
  69. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  73. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
  74. package/lib/cjs/duet-tooltip.cjs.entry.js +11 -2
  75. package/lib/cjs/duet-tray.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  78. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  79. package/lib/cjs/duet.cjs.js +2 -2
  80. package/lib/cjs/{focus-utils-fd4fdee9.js → focus-utils-ec077a62.js} +1 -1
  81. package/lib/cjs/{index-6ea7b876.js → index-00f527af.js} +1 -1
  82. package/lib/cjs/loader.cjs.js +2 -2
  83. package/lib/collection/common/focusable-component.js +1 -0
  84. package/lib/collection/common/opener-component.js +1 -0
  85. package/lib/collection/components/duet-input/duet-input.js +43 -1
  86. package/lib/collection/components/duet-label/duet-label.css +7 -0
  87. package/lib/collection/components/duet-label/duet-label.js +26 -0
  88. package/lib/collection/components/duet-modal/duet-modal.css +105 -16
  89. package/lib/collection/components/duet-modal/duet-modal.js +40 -3
  90. package/lib/collection/components/duet-multiselect/duet-multiselect.js +43 -1
  91. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +4 -0
  92. package/lib/collection/components/duet-range-slider/duet-range-slider.js +43 -1
  93. package/lib/collection/components/duet-select/duet-select.js +43 -1
  94. package/lib/collection/components/duet-slideout/duet-slideout.css +35 -0
  95. package/lib/collection/components/duet-slideout/duet-slideout.js +101 -91
  96. package/lib/collection/components/duet-textarea/duet-textarea.js +43 -1
  97. package/lib/collection/components/duet-toggle/duet-toggle.js +43 -1
  98. package/lib/collection/components/duet-tooltip/duet-tooltip.js +27 -1
  99. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  100. package/lib/dist-custom-elements/duet-alert.js +1 -1
  101. package/lib/dist-custom-elements/duet-badge.js +1 -1
  102. package/lib/dist-custom-elements/duet-banner.js +4 -4
  103. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  104. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  105. package/lib/dist-custom-elements/duet-button.js +1 -1
  106. package/lib/dist-custom-elements/duet-callout.js +3 -3
  107. package/lib/dist-custom-elements/duet-caption.js +1 -1
  108. package/lib/dist-custom-elements/duet-card.js +3 -3
  109. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  110. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  111. package/lib/dist-custom-elements/duet-chip.js +2 -2
  112. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  113. package/lib/dist-custom-elements/duet-choice.js +5 -5
  114. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  115. package/lib/dist-custom-elements/duet-combobox.js +2 -2
  116. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  117. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  118. package/lib/dist-custom-elements/duet-date-picker.js +12 -12
  119. package/lib/dist-custom-elements/duet-divider.js +1 -1
  120. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  121. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  122. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  123. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  124. package/lib/dist-custom-elements/duet-footer.js +4 -4
  125. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  126. package/lib/dist-custom-elements/duet-grid.js +1 -1
  127. package/lib/dist-custom-elements/duet-header.js +8 -8
  128. package/lib/dist-custom-elements/duet-heading.js +1 -1
  129. package/lib/dist-custom-elements/duet-hero.js +9 -9
  130. package/lib/dist-custom-elements/duet-icon.js +1 -1
  131. package/lib/dist-custom-elements/duet-input.js +1 -1
  132. package/lib/dist-custom-elements/duet-label.js +1 -1
  133. package/lib/dist-custom-elements/duet-layout.js +1 -1
  134. package/lib/dist-custom-elements/duet-link.js +1 -1
  135. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  136. package/lib/dist-custom-elements/duet-list.js +1 -1
  137. package/lib/dist-custom-elements/duet-logo.js +1 -1
  138. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  139. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  140. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  141. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  142. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  143. package/lib/dist-custom-elements/duet-modal.js +24 -10
  144. package/lib/dist-custom-elements/duet-multiselect.js +14 -10
  145. package/lib/dist-custom-elements/duet-nav.js +1 -1
  146. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  147. package/lib/dist-custom-elements/duet-notification.js +2 -2
  148. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  149. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  150. package/lib/dist-custom-elements/duet-pagination.js +13 -13
  151. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  152. package/lib/dist-custom-elements/duet-popup-menu-item.js +3 -3
  153. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  154. package/lib/dist-custom-elements/duet-progress.js +1 -1
  155. package/lib/dist-custom-elements/duet-promo-card.js +3 -3
  156. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  157. package/lib/dist-custom-elements/duet-radio.js +1 -1
  158. package/lib/dist-custom-elements/duet-range-slider.js +7 -3
  159. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  160. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  161. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  162. package/lib/dist-custom-elements/duet-select.js +1 -1
  163. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  164. package/lib/dist-custom-elements/duet-show-more.js +5 -5
  165. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  166. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  167. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  168. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  169. package/lib/dist-custom-elements/duet-slideout.js +80 -69
  170. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  171. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  172. package/lib/dist-custom-elements/duet-step.js +4 -4
  173. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  174. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  175. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  176. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  177. package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
  178. package/lib/dist-custom-elements/duet-tab-group.js +13 -13
  179. package/lib/dist-custom-elements/duet-tab.js +1 -1
  180. package/lib/dist-custom-elements/duet-table.js +1 -1
  181. package/lib/dist-custom-elements/duet-textarea.js +15 -11
  182. package/lib/dist-custom-elements/duet-toggle.js +7 -3
  183. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  184. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  185. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  186. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  187. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  188. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  189. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  190. package/lib/dist-custom-elements/duet-tray.js +3 -3
  191. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  192. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  193. package/lib/dist-custom-elements/duet-upload.js +18 -18
  194. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  195. package/lib/dist-custom-elements/index.js +1 -1
  196. package/lib/dist-custom-elements/{p-2eb72ea1.js → p-0156b860.js} +1 -1
  197. package/lib/dist-custom-elements/{p-b06b80ce.js → p-1c7bd169.js} +1 -1
  198. package/lib/dist-custom-elements/{p-59fdca12.js → p-1e82d8a1.js} +1 -1
  199. package/lib/dist-custom-elements/{p-0d74f436.js → p-254a95d4.js} +2 -2
  200. package/lib/dist-custom-elements/{p-5b14ef9f.js → p-3158e24f.js} +1 -1
  201. package/lib/dist-custom-elements/{p-19fc0434.js → p-3cc835d7.js} +1 -1
  202. package/lib/dist-custom-elements/{p-506c2666.js → p-3d6047c0.js} +5 -2
  203. package/lib/dist-custom-elements/{p-d94a9d9c.js → p-471a62cc.js} +1 -1
  204. package/lib/dist-custom-elements/{p-1ed786bc.js → p-475baac7.js} +1 -1
  205. package/lib/dist-custom-elements/{p-7c5f9c80.js → p-4a55dff3.js} +5 -5
  206. package/lib/dist-custom-elements/{p-2941d90a.js → p-4c5751cd.js} +1 -1
  207. package/lib/dist-custom-elements/{p-18ec08ac.js → p-4d3e1b52.js} +3 -3
  208. package/lib/dist-custom-elements/{p-8aaaefdf.js → p-583e21a8.js} +2 -2
  209. package/lib/dist-custom-elements/{p-91facf89.js → p-66f15eba.js} +1 -1
  210. package/lib/dist-custom-elements/{p-7a6cf439.js → p-6b977095.js} +4 -4
  211. package/lib/dist-custom-elements/{p-36cee998.js → p-6d0197c3.js} +5 -5
  212. package/lib/dist-custom-elements/{p-c9808777.js → p-7bb90fcc.js} +15 -11
  213. package/lib/dist-custom-elements/{p-98dcc2eb.js → p-7bcdcf71.js} +3 -3
  214. package/lib/dist-custom-elements/{p-5f8459bd.js → p-7d7291bf.js} +13 -9
  215. package/lib/dist-custom-elements/{p-482e780b.js → p-8735b4db.js} +2 -2
  216. package/lib/dist-custom-elements/{p-d18ca3d9.js → p-975a4689.js} +1 -1
  217. package/lib/dist-custom-elements/{p-ff50aff2.js → p-9a9a04bd.js} +2 -2
  218. package/lib/dist-custom-elements/{p-9b14643e.js → p-9b174e03.js} +1 -1
  219. package/lib/dist-custom-elements/{p-f91938ae.js → p-9c2d3a9d.js} +2 -2
  220. package/lib/dist-custom-elements/{p-802e0cd4.js → p-a4605d27.js} +16 -6
  221. package/lib/dist-custom-elements/{p-57e61e85.js → p-b590a133.js} +1 -1
  222. package/lib/dist-custom-elements/{p-4091ca56.js → p-bb1ac896.js} +1 -1
  223. package/lib/dist-custom-elements/{p-88b5a225.js → p-c493eecb.js} +1 -1
  224. package/lib/dist-custom-elements/{p-d68c9433.js → p-cab60e87.js} +1 -1
  225. package/lib/dist-custom-elements/{p-9c5b3e92.js → p-d10e4492.js} +1 -1
  226. package/lib/dist-custom-elements/{p-077e5396.js → p-d517fc9a.js} +10 -10
  227. package/lib/dist-custom-elements/{p-8c81a26f.js → p-da8acaf1.js} +2 -2
  228. package/lib/dist-custom-elements/{p-583ae9d7.js → p-f3d25b08.js} +1 -1
  229. package/lib/dist-custom-elements/{p-bb59b14d.js → p-fc6bb9ab.js} +1 -1
  230. package/lib/duet/duet.esm.js +1 -1
  231. package/lib/duet/duet.js +1 -1
  232. package/lib/duet/{p-9894f629.system.entry.js → p-0081d434.system.entry.js} +1 -1
  233. package/lib/duet/{p-a9b6b8d5.entry.js → p-0198349d.entry.js} +1 -1
  234. package/lib/duet/p-031b59ba.system.entry.js +4 -0
  235. package/lib/duet/{p-d6938dce.entry.js → p-0440798d.entry.js} +1 -1
  236. package/lib/duet/{p-ea5bad4c.entry.js → p-049d43f7.entry.js} +1 -1
  237. package/lib/duet/{p-4bfc3a15.entry.js → p-05f62501.entry.js} +1 -1
  238. package/lib/duet/{p-8e7dc4ed.system.entry.js → p-074fcd6b.system.entry.js} +1 -1
  239. package/lib/duet/{p-c65851ca.entry.js → p-0777ebba.entry.js} +1 -1
  240. package/lib/duet/{p-244387a0.entry.js → p-0c5ed102.entry.js} +1 -1
  241. package/lib/duet/{p-07c3d88d.entry.js → p-0ec40046.entry.js} +1 -1
  242. package/lib/duet/{p-906c13df.entry.js → p-10f289cb.entry.js} +1 -1
  243. package/lib/duet/{p-5373f6cf.system.entry.js → p-12f3d121.system.entry.js} +1 -1
  244. package/lib/duet/{p-90378229.system.entry.js → p-1498e92a.system.entry.js} +1 -1
  245. package/lib/duet/{p-5b27ed7e.entry.js → p-154ca6bb.entry.js} +1 -1
  246. package/lib/duet/{p-2590ca65.system.entry.js → p-15a4a165.system.entry.js} +1 -1
  247. package/lib/duet/p-16b80d3b.js +4 -0
  248. package/lib/duet/{p-c1e6dcf6.entry.js → p-17373631.entry.js} +1 -1
  249. package/lib/duet/{p-68967bb9.entry.js → p-174f2859.entry.js} +1 -1
  250. package/lib/duet/{p-d206ba69.entry.js → p-18b36a30.entry.js} +1 -1
  251. package/lib/duet/{p-ee9d7b51.system.entry.js → p-196afde9.system.entry.js} +1 -1
  252. package/lib/duet/{p-82461381.system.entry.js → p-1e67f010.system.entry.js} +1 -1
  253. package/lib/duet/{p-993f5974.entry.js → p-1fbb9af9.entry.js} +1 -1
  254. package/lib/duet/{p-bdbe3e35.system.entry.js → p-1fec3835.system.entry.js} +1 -1
  255. package/lib/duet/{p-e0e5597f.entry.js → p-207544a2.entry.js} +1 -1
  256. package/lib/duet/{p-69ba8b52.entry.js → p-23548d24.entry.js} +1 -1
  257. package/lib/duet/{p-4a130ebf.system.entry.js → p-25109b90.system.entry.js} +1 -1
  258. package/lib/duet/{p-be3bf41a.system.entry.js → p-28a033de.system.entry.js} +1 -1
  259. package/lib/duet/{p-84031069.entry.js → p-2abdfdf5.entry.js} +1 -1
  260. package/lib/duet/{p-722a4867.entry.js → p-2c917cc6.entry.js} +1 -1
  261. package/lib/duet/{p-010986d1.system.entry.js → p-2e037205.system.entry.js} +1 -1
  262. package/lib/duet/{p-1a8494b0.system.entry.js → p-2f98c466.system.entry.js} +1 -1
  263. package/lib/duet/{p-1b46db77.entry.js → p-330db26d.entry.js} +1 -1
  264. package/lib/duet/{p-24edf4ed.entry.js → p-33666f2e.entry.js} +1 -1
  265. package/lib/duet/{p-98e033d1.entry.js → p-37b3c823.entry.js} +1 -1
  266. package/lib/duet/{p-b2d010fa.entry.js → p-39a3beb3.entry.js} +1 -1
  267. package/lib/duet/{p-d26b9e1f.system.entry.js → p-3bda5078.system.entry.js} +1 -1
  268. package/lib/duet/{p-7130f6d6.system.entry.js → p-3bfdf5dc.system.entry.js} +1 -1
  269. package/lib/duet/p-3f23694f.entry.js +4 -0
  270. package/lib/duet/{p-fb6a8b36.entry.js → p-3fb7b966.entry.js} +1 -1
  271. package/lib/duet/{p-2d366120.system.entry.js → p-4218b915.system.entry.js} +1 -1
  272. package/lib/duet/{p-ab9b7324.system.entry.js → p-42b9b16c.system.entry.js} +1 -1
  273. package/lib/duet/{p-dc4697ce.system.entry.js → p-4347cce6.system.entry.js} +1 -1
  274. package/lib/duet/{p-441595f6.entry.js → p-44ac28ab.entry.js} +1 -1
  275. package/lib/duet/{p-b7be1375.entry.js → p-4adb4139.entry.js} +1 -1
  276. package/lib/duet/{p-bc7e75a7.entry.js → p-50a679f4.entry.js} +1 -1
  277. package/lib/duet/{p-f81647e9.system.entry.js → p-50dbbb82.system.entry.js} +1 -1
  278. package/lib/duet/p-5339aeea.entry.js +4 -0
  279. package/lib/duet/{p-1e0df043.system.entry.js → p-54cf9288.system.entry.js} +1 -1
  280. package/lib/duet/{p-103ab767.system.entry.js → p-55e1e8e8.system.entry.js} +1 -1
  281. package/lib/duet/{p-42959a52.entry.js → p-55f3f985.entry.js} +1 -1
  282. package/lib/duet/{p-ac6f456f.system.entry.js → p-563dfb63.system.entry.js} +1 -1
  283. package/lib/duet/{p-066f078b.entry.js → p-576cd780.entry.js} +1 -1
  284. package/lib/duet/{p-8ae84c52.entry.js → p-5908bf36.entry.js} +1 -1
  285. package/lib/duet/{p-db09c828.system.entry.js → p-5b528cd1.system.entry.js} +1 -1
  286. package/lib/duet/{p-4175e48c.system.entry.js → p-5d023790.system.entry.js} +1 -1
  287. package/lib/duet/{p-60be4608.system.entry.js → p-5f877026.system.entry.js} +1 -1
  288. package/lib/duet/{p-45a16be3.system.js → p-610b364b.system.js} +1 -1
  289. package/lib/duet/{p-77e1b69b.entry.js → p-61b870ac.entry.js} +1 -1
  290. package/lib/duet/p-6216e282.entry.js +4 -0
  291. package/lib/duet/{p-4fe09b26.system.entry.js → p-639fd377.system.entry.js} +1 -1
  292. package/lib/duet/p-65007ed4.system.entry.js +4 -0
  293. package/lib/duet/{p-edd0d41d.system.entry.js → p-65b45177.system.entry.js} +1 -1
  294. package/lib/duet/{p-c45c621f.js → p-662da762.js} +1 -1
  295. package/lib/duet/{p-6f9e49da.system.entry.js → p-673fdacb.system.entry.js} +1 -1
  296. package/lib/duet/{p-8f504a32.system.entry.js → p-67d8175e.system.entry.js} +2 -2
  297. package/lib/duet/p-6f806923.system.js +4 -0
  298. package/lib/duet/{p-eadbc1cf.entry.js → p-70dd63d2.entry.js} +1 -1
  299. package/lib/duet/{p-314d5b44.entry.js → p-71bd1c3c.entry.js} +1 -1
  300. package/lib/duet/{p-5cbc1b17.entry.js → p-73c27f4f.entry.js} +1 -1
  301. package/lib/duet/{p-ab63306b.entry.js → p-753f2b28.entry.js} +1 -1
  302. package/lib/duet/{p-8ec9245a.entry.js → p-757b1ab3.entry.js} +1 -1
  303. package/lib/duet/{p-fee4d237.system.entry.js → p-75eb9381.system.entry.js} +1 -1
  304. package/lib/duet/{p-645a4cd3.system.entry.js → p-762c0edb.system.entry.js} +1 -1
  305. package/lib/duet/{p-a075ba4d.entry.js → p-780dd22d.entry.js} +1 -1
  306. package/lib/duet/{p-0360829b.entry.js → p-79f01df6.entry.js} +1 -1
  307. package/lib/duet/{p-6bad895a.system.entry.js → p-7ac648a3.system.entry.js} +1 -1
  308. package/lib/duet/p-7aff0f7c.entry.js +4 -0
  309. package/lib/duet/{p-18aaa40c.entry.js → p-7bdbb023.entry.js} +1 -1
  310. package/lib/duet/{p-f08a7552.system.entry.js → p-7d9cffe7.system.entry.js} +1 -1
  311. package/lib/duet/{p-a020bf81.system.entry.js → p-7dcdefb0.system.entry.js} +1 -1
  312. package/lib/duet/{p-954c7df4.system.entry.js → p-7fb66081.system.entry.js} +1 -1
  313. package/lib/duet/{p-594ffed9.entry.js → p-844e7c4c.entry.js} +1 -1
  314. package/lib/duet/{p-38df728c.system.entry.js → p-8a264125.system.entry.js} +1 -1
  315. package/lib/duet/{p-4dc81aa3.system.entry.js → p-8b1b9953.system.entry.js} +1 -1
  316. package/lib/duet/{p-1d11b3b6.entry.js → p-8be10d34.entry.js} +1 -1
  317. package/lib/duet/p-8cfac25d.entry.js +4 -0
  318. package/lib/duet/{p-63150ee3.system.entry.js → p-930f8fe7.system.entry.js} +1 -1
  319. package/lib/duet/{p-7768931c.system.entry.js → p-932be5dd.system.entry.js} +1 -1
  320. package/lib/duet/{p-261014df.system.entry.js → p-94147b17.system.entry.js} +1 -1
  321. package/lib/duet/{p-ce50e4c0.system.entry.js → p-9514ee57.system.entry.js} +1 -1
  322. package/lib/duet/{p-67eee05e.system.entry.js → p-965f292c.system.entry.js} +1 -1
  323. package/lib/duet/{p-c9a6ad4d.entry.js → p-9b62ef83.entry.js} +1 -1
  324. package/lib/duet/p-9f29048f.entry.js +4 -0
  325. package/lib/duet/{p-9f05508d.entry.js → p-a22130db.entry.js} +1 -1
  326. package/lib/duet/{p-252baa0d.entry.js → p-a34e7225.entry.js} +1 -1
  327. package/lib/duet/p-a70815fa.system.entry.js +4 -0
  328. package/lib/duet/{p-e4231291.system.entry.js → p-a75b2646.system.entry.js} +1 -1
  329. package/lib/duet/{p-2c139545.entry.js → p-aab21f91.entry.js} +1 -1
  330. package/lib/duet/{p-78777bcf.entry.js → p-abbd8ae3.entry.js} +1 -1
  331. package/lib/duet/{p-e836814b.entry.js → p-acfdeb70.entry.js} +1 -1
  332. package/lib/duet/{p-f866c944.entry.js → p-ae30e4ce.entry.js} +1 -1
  333. package/lib/duet/p-afea9845.entry.js +4 -0
  334. package/lib/duet/{p-620c416c.entry.js → p-b012ba6c.entry.js} +1 -1
  335. package/lib/duet/{p-e0aa8284.system.entry.js → p-b0dfe576.system.entry.js} +1 -1
  336. package/lib/duet/p-b0fa4550.system.js +4 -0
  337. package/lib/duet/p-b0fd435f.system.entry.js +4 -0
  338. package/lib/duet/{p-c34e419e.system.entry.js → p-b2996b8c.system.entry.js} +1 -1
  339. package/lib/duet/{p-5d6e1173.entry.js → p-b2a54e37.entry.js} +1 -1
  340. package/lib/duet/{p-dba6c1ee.entry.js → p-b2b02430.entry.js} +1 -1
  341. package/lib/duet/{p-1db3121f.system.entry.js → p-b710add2.system.entry.js} +1 -1
  342. package/lib/duet/{p-426ba263.entry.js → p-b89fe252.entry.js} +1 -1
  343. package/lib/duet/{p-c6b5368b.entry.js → p-b8c89970.entry.js} +1 -1
  344. package/lib/duet/{p-ecf9b56e.system.entry.js → p-b9cb8ccb.system.entry.js} +1 -1
  345. package/lib/duet/{p-d053b6be.system.entry.js → p-b9ea34d3.system.entry.js} +1 -1
  346. package/lib/duet/{p-2c34a804.entry.js → p-bac92652.entry.js} +1 -1
  347. package/lib/duet/{p-600f3cf8.system.entry.js → p-bb35b92e.system.entry.js} +1 -1
  348. package/lib/duet/{p-f7e4069c.entry.js → p-bf2fd03b.entry.js} +1 -1
  349. package/lib/duet/{p-60d0817e.system.entry.js → p-c0483523.system.entry.js} +1 -1
  350. package/lib/duet/{p-c73db725.system.entry.js → p-c481631f.system.entry.js} +1 -1
  351. package/lib/duet/{p-53229ab4.system.entry.js → p-c7fdc7dc.system.entry.js} +1 -1
  352. package/lib/duet/{p-04c3f872.system.entry.js → p-c8c9fc58.system.entry.js} +1 -1
  353. package/lib/duet/{p-f781276f.system.entry.js → p-ca0f9f08.system.entry.js} +1 -1
  354. package/lib/duet/{p-f587e799.entry.js → p-ca21be58.entry.js} +1 -1
  355. package/lib/duet/p-cca98ade.entry.js +4 -0
  356. package/lib/duet/{p-0b2ff6ce.system.entry.js → p-ce879ecd.system.entry.js} +1 -1
  357. package/lib/duet/p-ce88ecc6.entry.js +4 -0
  358. package/lib/duet/{p-4b745f4d.entry.js → p-cea2cb32.entry.js} +1 -1
  359. package/lib/duet/{p-e50ab4d3.system.entry.js → p-ceb5b489.system.entry.js} +1 -1
  360. package/lib/duet/{p-3865240e.system.entry.js → p-cf1e1237.system.entry.js} +1 -1
  361. package/lib/duet/{p-9eb39bd3.system.entry.js → p-d038c90c.system.entry.js} +1 -1
  362. package/lib/duet/{p-ac09ef10.entry.js → p-d3141c64.entry.js} +1 -1
  363. package/lib/duet/{p-582b7fa7.system.entry.js → p-d350968c.system.entry.js} +2 -2
  364. package/lib/duet/{p-cd13fb8f.system.entry.js → p-d54396be.system.entry.js} +1 -1
  365. package/lib/duet/{p-86251661.system.entry.js → p-d57d7d49.system.entry.js} +1 -1
  366. package/lib/duet/{p-d189500a.entry.js → p-d585ac25.entry.js} +1 -1
  367. package/lib/duet/{p-18322745.system.entry.js → p-d832433b.system.entry.js} +1 -1
  368. package/lib/duet/{p-b931d3fa.system.entry.js → p-d852ae7e.system.entry.js} +1 -1
  369. package/lib/duet/{p-f1faaa0b.system.entry.js → p-d92ad0d1.system.entry.js} +1 -1
  370. package/lib/duet/{p-a09af712.system.entry.js → p-dd5b17d0.system.entry.js} +1 -1
  371. package/lib/duet/{p-9b8c4a19.entry.js → p-dd7d3b2b.entry.js} +1 -1
  372. package/lib/duet/{p-702810e3.system.entry.js → p-ddc7c96e.system.entry.js} +1 -1
  373. package/lib/duet/{p-4a2adee6.entry.js → p-de41a03b.entry.js} +1 -1
  374. package/lib/duet/{p-95ca3440.system.entry.js → p-e2a0e33f.system.entry.js} +1 -1
  375. package/lib/duet/{p-64c8cce6.entry.js → p-e36f923b.entry.js} +1 -1
  376. package/lib/duet/{p-3515cd72.system.entry.js → p-e49e8a54.system.entry.js} +1 -1
  377. package/lib/duet/{p-2cc17967.system.entry.js → p-e4efc7ea.system.entry.js} +1 -1
  378. package/lib/duet/p-e91cced0.entry.js +4 -0
  379. package/lib/duet/{p-ce0ffc6e.system.entry.js → p-e9928179.system.entry.js} +1 -1
  380. package/lib/duet/{p-42f92e6f.entry.js → p-eac79871.entry.js} +1 -1
  381. package/lib/duet/{p-cf6c967a.entry.js → p-eb790693.entry.js} +1 -1
  382. package/lib/duet/{p-b627091f.system.entry.js → p-ebd1b7ae.system.entry.js} +1 -1
  383. package/lib/duet/{p-4d3ef5ea.system.entry.js → p-ee815760.system.entry.js} +1 -1
  384. package/lib/duet/{p-0142d94d.entry.js → p-f1f7ee14.entry.js} +1 -1
  385. package/lib/duet/{p-d94c8c20.entry.js → p-f5fee877.entry.js} +1 -1
  386. package/lib/duet/{p-cbbe6410.entry.js → p-f6803f4c.entry.js} +1 -1
  387. package/lib/duet/{p-5eaf9a5e.entry.js → p-f715214a.entry.js} +1 -1
  388. package/lib/duet/{p-a2541d8a.entry.js → p-f7f16a52.entry.js} +1 -1
  389. package/lib/duet/{p-6020800c.system.entry.js → p-f9b3965d.system.entry.js} +1 -1
  390. package/lib/duet/{p-b2af386a.system.entry.js → p-fdb9f8df.system.entry.js} +1 -1
  391. package/lib/esm/duet-action-button.entry.js +1 -1
  392. package/lib/esm/duet-alert.entry.js +1 -1
  393. package/lib/esm/duet-badge.entry.js +1 -1
  394. package/lib/esm/duet-banner.entry.js +1 -1
  395. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  396. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  397. package/lib/esm/duet-button_2.entry.js +1 -1
  398. package/lib/esm/duet-callout.entry.js +1 -1
  399. package/lib/esm/duet-caption_4.entry.js +1 -1
  400. package/lib/esm/duet-card.entry.js +1 -1
  401. package/lib/esm/duet-checkbox.entry.js +1 -1
  402. package/lib/esm/duet-checkmark.entry.js +1 -1
  403. package/lib/esm/duet-chip.entry.js +1 -1
  404. package/lib/esm/duet-choice_2.entry.js +2 -2
  405. package/lib/esm/duet-collapsible.entry.js +1 -1
  406. package/lib/esm/duet-combobox.entry.js +1 -1
  407. package/lib/esm/duet-contact-card.entry.js +1 -1
  408. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  409. package/lib/esm/duet-date-picker.entry.js +2 -2
  410. package/lib/esm/duet-divider_2.entry.js +1 -1
  411. package/lib/esm/duet-editable-table_3.entry.js +1 -1
  412. package/lib/esm/duet-empty-state.entry.js +1 -1
  413. package/lib/esm/duet-fieldset.entry.js +1 -1
  414. package/lib/esm/duet-file-chooser.entry.js +1 -1
  415. package/lib/esm/duet-footer.entry.js +1 -1
  416. package/lib/esm/duet-grid_2.entry.js +1 -1
  417. package/lib/esm/duet-header_2.entry.js +1 -1
  418. package/lib/esm/duet-hero.entry.js +1 -1
  419. package/lib/esm/duet-icon.entry.js +1 -1
  420. package/lib/esm/duet-input_2.entry.js +7 -3
  421. package/lib/esm/duet-layout.entry.js +1 -1
  422. package/lib/esm/duet-list_2.entry.js +1 -1
  423. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  424. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  425. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  426. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  427. package/lib/esm/duet-menu-bar.entry.js +1 -1
  428. package/lib/esm/duet-modal.entry.js +18 -5
  429. package/lib/esm/duet-multiselect.entry.js +4 -2
  430. package/lib/esm/duet-nav.entry.js +1 -1
  431. package/lib/esm/duet-notification_2.entry.js +1 -1
  432. package/lib/esm/duet-number-input.entry.js +1 -1
  433. package/lib/esm/duet-page-heading.entry.js +1 -1
  434. package/lib/esm/duet-pagination_2.entry.js +1 -1
  435. package/lib/esm/duet-popup-menu-item.entry.js +2 -2
  436. package/lib/esm/duet-popup-menu.entry.js +1 -1
  437. package/lib/esm/duet-progress.entry.js +1 -1
  438. package/lib/esm/duet-promo-card.entry.js +1 -1
  439. package/lib/esm/duet-radio_2.entry.js +1 -1
  440. package/lib/esm/duet-range-slider.entry.js +4 -2
  441. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  442. package/lib/esm/duet-section-layout.entry.js +1 -1
  443. package/lib/esm/duet-select.entry.js +4 -2
  444. package/lib/esm/duet-shaped-image.entry.js +1 -1
  445. package/lib/esm/duet-show-more.entry.js +1 -1
  446. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  447. package/lib/esm/duet-slideout-link.entry.js +1 -1
  448. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  449. package/lib/esm/duet-slideout-panel.entry.js +2 -2
  450. package/lib/esm/duet-slideout.entry.js +77 -66
  451. package/lib/esm/duet-step_2.entry.js +1 -1
  452. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  453. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  454. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  455. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  456. package/lib/esm/duet-textarea.entry.js +4 -2
  457. package/lib/esm/duet-toggle.entry.js +4 -2
  458. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  459. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  460. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  461. package/lib/esm/duet-toolbar.entry.js +1 -1
  462. package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
  463. package/lib/esm/duet-tooltip.entry.js +11 -2
  464. package/lib/esm/duet-tray.entry.js +1 -1
  465. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  466. package/lib/esm/duet-upload-item.entry.js +1 -1
  467. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  468. package/lib/esm/duet.js +3 -3
  469. package/lib/esm/{focus-utils-8f59f0fc.js → focus-utils-2a29f64e.js} +1 -1
  470. package/lib/esm/{index-6a5abb95.js → index-909a963e.js} +1 -1
  471. package/lib/esm/loader.js +3 -3
  472. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  473. package/lib/esm-es5/duet-alert.entry.js +1 -1
  474. package/lib/esm-es5/duet-badge.entry.js +1 -1
  475. package/lib/esm-es5/duet-banner.entry.js +1 -1
  476. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  477. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  478. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  479. package/lib/esm-es5/duet-callout.entry.js +1 -1
  480. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  481. package/lib/esm-es5/duet-card.entry.js +1 -1
  482. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  483. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  484. package/lib/esm-es5/duet-chip.entry.js +1 -1
  485. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  486. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  487. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  488. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  489. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  490. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  491. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  492. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  493. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  494. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  495. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  496. package/lib/esm-es5/duet-footer.entry.js +1 -1
  497. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  498. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  499. package/lib/esm-es5/duet-hero.entry.js +1 -1
  500. package/lib/esm-es5/duet-icon.entry.js +1 -1
  501. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  502. package/lib/esm-es5/duet-layout.entry.js +1 -1
  503. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  504. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  505. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  506. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  507. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  508. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  509. package/lib/esm-es5/duet-modal.entry.js +2 -2
  510. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  511. package/lib/esm-es5/duet-nav.entry.js +1 -1
  512. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  513. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  514. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  515. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  516. package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
  517. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  518. package/lib/esm-es5/duet-progress.entry.js +1 -1
  519. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  520. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  521. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  522. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  523. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  524. package/lib/esm-es5/duet-select.entry.js +1 -1
  525. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  526. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  527. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  528. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  529. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  530. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  531. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  532. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  533. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  534. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  535. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  536. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  537. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  538. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  539. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  540. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  541. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  542. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  543. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  544. package/lib/esm-es5/duet-tooltip.entry.js +2 -2
  545. package/lib/esm-es5/duet-tray.entry.js +1 -1
  546. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  547. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  548. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  549. package/lib/esm-es5/duet.js +1 -1
  550. package/lib/esm-es5/focus-utils-2a29f64e.js +4 -0
  551. package/lib/esm-es5/{index-6a5abb95.js → index-909a963e.js} +1 -1
  552. package/lib/esm-es5/loader.js +1 -1
  553. package/lib/types/common/focusable-component.d.ts +4 -0
  554. package/lib/types/common/index.d.ts +2 -0
  555. package/lib/types/common/opener-component.d.ts +5 -0
  556. package/lib/types/common-types.d.ts +2 -0
  557. package/lib/types/components/duet-input/duet-input.d.ts +9 -1
  558. package/lib/types/components/duet-label/duet-label.d.ts +5 -1
  559. package/lib/types/components/duet-modal/duet-modal.d.ts +7 -0
  560. package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +9 -1
  561. package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +9 -1
  562. package/lib/types/components/duet-select/duet-select.d.ts +9 -1
  563. package/lib/types/components/duet-slideout/duet-slideout.d.ts +23 -17
  564. package/lib/types/components/duet-textarea/duet-textarea.d.ts +9 -1
  565. package/lib/types/components/duet-toggle/duet-toggle.d.ts +9 -1
  566. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +6 -0
  567. package/lib/types/components.d.ts +124 -4
  568. package/package.json +5 -5
  569. package/lib/duet/p-00f75643.system.entry.js +0 -4
  570. package/lib/duet/p-0660a9a6.entry.js +0 -4
  571. package/lib/duet/p-088ac559.entry.js +0 -4
  572. package/lib/duet/p-164be464.entry.js +0 -4
  573. package/lib/duet/p-180c61a0.entry.js +0 -4
  574. package/lib/duet/p-210adc0e.system.entry.js +0 -4
  575. package/lib/duet/p-23914c18.entry.js +0 -4
  576. package/lib/duet/p-2858bbdf.entry.js +0 -4
  577. package/lib/duet/p-41203a2d.entry.js +0 -4
  578. package/lib/duet/p-474f53fe.entry.js +0 -4
  579. package/lib/duet/p-4e9b4950.entry.js +0 -4
  580. package/lib/duet/p-53e33daf.js +0 -4
  581. package/lib/duet/p-64e16fb9.system.js +0 -4
  582. package/lib/duet/p-711c2a2b.system.js +0 -4
  583. package/lib/duet/p-7ad157c2.entry.js +0 -4
  584. package/lib/duet/p-d125d287.system.entry.js +0 -4
  585. package/lib/duet/p-d1a42e5b.system.entry.js +0 -4
  586. package/lib/esm-es5/focus-utils-8f59f0fc.js +0 -4
@@ -3,12 +3,16 @@
3
3
  */
4
4
  import { Build, h, Host } from "@stencil/core";
5
5
  import { disableBodyScroll, enableBodyScroll } from "body-scroll-lock/lib/bodyScrollLock.es6.js";
6
+ import { hasSlot } from "../../common";
6
7
  import { inheritGlobalTheme } from "../../common/themeable-component";
7
- import { FocusGuard } from "../../utils/focus-utils";
8
+ import { focusElement, FocusGuard } from "../../utils/focus-utils";
8
9
  import { isEscapeKey } from "../../utils/keyboard-utils";
9
10
  import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
10
11
  import { Teleport } from "../../utils/teleport";
11
12
  import { getColorByName } from "../../utils/token-utils";
13
+ /**
14
+ * @slot sticky-header - Content will be fixed to the top of the modal when scrolling.
15
+ */
12
16
  export class DuetSlideout {
13
17
  constructor() {
14
18
  this.exitLangObject = {
@@ -22,6 +26,7 @@ export class DuetSlideout {
22
26
  sv: "Stäng den här menyn för att hitta objekt på toppnivå",
23
27
  };
24
28
  this.isSafariBrowser = /^((?!chrome|android).)*safari/i.test(navigator === null || navigator === void 0 ? void 0 : navigator.userAgent);
29
+ this.hasStickyHeaderSlot = false;
25
30
  this.handleBodyScrolling = () => {
26
31
  if (this.displaying && this.open) {
27
32
  disableBodyScroll(this.dialog, { reserveScrollBarGap: true });
@@ -30,6 +35,23 @@ export class DuetSlideout {
30
35
  enableBodyScroll(this.dialog);
31
36
  }
32
37
  };
38
+ this.setOpenButton = (element) => {
39
+ if (!element) {
40
+ return;
41
+ }
42
+ try {
43
+ const button = element;
44
+ button.accessiblePopup = "true";
45
+ button.accessibleExpanded = false;
46
+ this.openButton = button;
47
+ }
48
+ catch (_e) { }
49
+ };
50
+ this.openButtonEventListener = (e) => {
51
+ e.stopPropagation();
52
+ e.preventDefault();
53
+ this.onClick(e);
54
+ };
33
55
  this.getOpenPanel = () => {
34
56
  return this.element.querySelector("duet-slideout-panel[open]");
35
57
  };
@@ -59,8 +81,7 @@ export class DuetSlideout {
59
81
  }
60
82
  else {
61
83
  setTimeout(() => {
62
- var _a;
63
- (_a = this.openButton) === null || _a === void 0 ? void 0 : _a.setFocus();
84
+ focusElement(this.openButton);
64
85
  this.handleBodyScrolling();
65
86
  this.teleport.resume();
66
87
  }, 200);
@@ -83,85 +104,43 @@ export class DuetSlideout {
83
104
  this.opener = undefined;
84
105
  this.backgroundColor = "gray-lightest";
85
106
  }
86
- /**
87
- * Toggles the slideout.
88
- */
89
- async toggle() {
90
- const event = new CustomEvent("toggle");
91
- this.toggleMenu(event);
92
- setTimeout(() => {
93
- this.closeButton.focus();
94
- }, 200);
95
- }
96
- /**
97
- * Shows the slideout. Additionally saves the element (DuetButton or DuetMenuBarButton) that triggered
98
- * the slideout so that focus can be moved back to this specific element when
99
- * the slideout dialog is closed.
100
- */
101
- async show() {
102
- if (this.open) {
103
- return;
104
- }
105
- const button = document.activeElement;
106
- if (button) {
107
- button.accessiblePopup = "true";
108
- this.openButton = button;
109
- }
110
- this.toggleMenu(new CustomEvent("toggle"));
111
- }
112
- /**
113
- * Hides the slideout dialog and puts focus back to the original element
114
- * that triggered the slideout (if we’re still in the same view).
115
- */
116
- async hide() {
117
- if (!this.open) {
118
- return;
119
- }
120
- this.toggleMenu(new CustomEvent("toggle"));
121
- }
122
107
  /**
123
108
  * Component lifecycle events.
124
109
  */
125
110
  componentWillLoad() {
126
111
  inheritGlobalTheme(this);
127
- const button = this.opener && document.getElementById(this.opener);
128
- if (button) {
129
- button.accessiblePopup = "true";
130
- button.accessibleExpanded = false;
131
- button.addEventListener("click", e => {
132
- e.stopPropagation();
133
- e.preventDefault();
134
- this.openButton = button;
135
- this.onClick(e);
136
- });
137
- }
112
+ this.hasStickyHeaderSlot = hasSlot(this.element, "sticky-header");
138
113
  this.teleport = new Teleport(this.element);
139
114
  }
140
- async componentDidLoad() {
141
- if (Build.isServer) {
142
- return;
143
- }
144
- this.intersectionObserver = new IntersectionObserver(entries => {
145
- if (entries[0].isIntersecting) {
146
- this.displaying = true;
147
- }
148
- else {
149
- this.displaying = false;
150
- }
151
- this.handleBodyScrolling();
152
- });
153
- this.intersectionObserver.observe(this.dialog);
154
- }
155
115
  connectedCallback() {
156
116
  connectLanguageChangeObserver(this);
157
117
  if (Build.isServer) {
158
118
  return;
159
119
  }
120
+ if (this.opener) {
121
+ this.setOpenButton(document.getElementById(this.opener));
122
+ this.openButton.addEventListener("click", this.openButtonEventListener);
123
+ }
160
124
  this.mutationObserver = new MutationObserver(() => {
161
125
  this.openPanel = !!this.getOpenPanel();
162
126
  });
163
127
  this.mutationObserver.observe(this.element, { childList: true, attributeFilter: ["open"], subtree: true });
164
128
  }
129
+ componentDidRender() {
130
+ if (Build.isServer) {
131
+ return;
132
+ }
133
+ // intersection observer is here to observe when the dialog is actually visible and when its not
134
+ if (this.intersectionObserver) {
135
+ this.intersectionObserver.disconnect();
136
+ }
137
+ this.intersectionObserver = new IntersectionObserver(entries => {
138
+ this.displaying = entries[0].isIntersecting;
139
+ this.handleBodyScrolling();
140
+ });
141
+ // this.dialog can't be observed before rendering because its not available yet
142
+ this.intersectionObserver.observe(this.dialog);
143
+ }
165
144
  disconnectedCallback() {
166
145
  disconnectLanguageChangeObserver(this);
167
146
  enableBodyScroll(this.dialog);
@@ -171,6 +150,9 @@ export class DuetSlideout {
171
150
  if (this.mutationObserver) {
172
151
  this.mutationObserver.disconnect();
173
152
  }
153
+ if (this.openButton) {
154
+ this.openButton.removeEventListener("click", this.openButtonEventListener);
155
+ }
174
156
  }
175
157
  /**
176
158
  * Component event handling.
@@ -190,6 +172,38 @@ export class DuetSlideout {
190
172
  var _a;
191
173
  (_a = this.openButton) === null || _a === void 0 ? void 0 : _a.focus(options);
192
174
  }
175
+ /**
176
+ * Toggles the slideout.
177
+ */
178
+ async toggle() {
179
+ const event = new CustomEvent("toggle");
180
+ this.toggleMenu(event);
181
+ setTimeout(() => {
182
+ this.closeButton.focus();
183
+ }, 200);
184
+ }
185
+ /**
186
+ * Shows the slideout. Additionally saves the element (DuetButton or DuetMenuBarButton) that triggered
187
+ * the slideout so that focus can be moved back to this specific element when
188
+ * the slideout dialog is closed.
189
+ */
190
+ async show() {
191
+ if (this.open) {
192
+ return;
193
+ }
194
+ this.setOpenButton(document.activeElement);
195
+ this.toggleMenu(new CustomEvent("toggle"));
196
+ }
197
+ /**
198
+ * Hides the slideout dialog and puts focus back to the original element
199
+ * that triggered the slideout (if we’re still in the same view).
200
+ */
201
+ async hide() {
202
+ if (!this.open) {
203
+ return;
204
+ }
205
+ this.toggleMenu(new CustomEvent("toggle"));
206
+ }
193
207
  /**
194
208
  * render() function
195
209
  * Always the last one in the class.
@@ -206,10 +220,10 @@ export class DuetSlideout {
206
220
  }, onClick: this.bgOnClick }), h("div", { ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
207
221
  dialog: true,
208
222
  hidden: !this.open,
209
- }, style: styles }, h(FocusGuard, { moveFocusTo: this.closeButton }), h("div", { class: "top" }, h("button", { ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
223
+ }, style: styles }, h(FocusGuard, { moveFocusTo: this.closeButton }), h("div", { class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { class: "top" }, h("button", { ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
210
224
  "slideout-close": true,
211
225
  active: this.open,
212
- }, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
226
+ }, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { class: "sticky-header" }, h("slot", { name: "sticky-header" }))), h("div", { id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
213
227
  items: true,
214
228
  } }, h("slot", null)), h(FocusGuard, { moveFocusTo: this.closeButton })))));
215
229
  }
@@ -363,24 +377,32 @@ export class DuetSlideout {
363
377
  }
364
378
  static get methods() {
365
379
  return {
366
- "toggle": {
380
+ "setFocus": {
367
381
  "complexType": {
368
- "signature": "() => Promise<void>",
369
- "parameters": [],
382
+ "signature": "(options?: FocusOptions) => Promise<void>",
383
+ "parameters": [{
384
+ "name": "options",
385
+ "type": "FocusOptions",
386
+ "docs": ""
387
+ }],
370
388
  "references": {
371
389
  "Promise": {
372
390
  "location": "global",
373
391
  "id": "global::Promise"
392
+ },
393
+ "FocusOptions": {
394
+ "location": "global",
395
+ "id": "global::FocusOptions"
374
396
  }
375
397
  },
376
398
  "return": "Promise<void>"
377
399
  },
378
400
  "docs": {
379
- "text": "Toggles the slideout.",
401
+ "text": "Sets focus. Use this method instead of the global focus().",
380
402
  "tags": []
381
403
  }
382
404
  },
383
- "show": {
405
+ "toggle": {
384
406
  "complexType": {
385
407
  "signature": "() => Promise<void>",
386
408
  "parameters": [],
@@ -388,20 +410,16 @@ export class DuetSlideout {
388
410
  "Promise": {
389
411
  "location": "global",
390
412
  "id": "global::Promise"
391
- },
392
- "HTMLDuetButtonElement": {
393
- "location": "global",
394
- "id": "global::HTMLDuetButtonElement"
395
413
  }
396
414
  },
397
415
  "return": "Promise<void>"
398
416
  },
399
417
  "docs": {
400
- "text": "Shows the slideout. Additionally saves the element (DuetButton or DuetMenuBarButton) that triggered\nthe slideout so that focus can be moved back to this specific element when\nthe slideout dialog is closed.",
418
+ "text": "Toggles the slideout.",
401
419
  "tags": []
402
420
  }
403
421
  },
404
- "hide": {
422
+ "show": {
405
423
  "complexType": {
406
424
  "signature": "() => Promise<void>",
407
425
  "parameters": [],
@@ -414,32 +432,24 @@ export class DuetSlideout {
414
432
  "return": "Promise<void>"
415
433
  },
416
434
  "docs": {
417
- "text": "Hides the slideout dialog and puts focus back to the original element\nthat triggered the slideout (if we\u2019re still in the same view).",
435
+ "text": "Shows the slideout. Additionally saves the element (DuetButton or DuetMenuBarButton) that triggered\nthe slideout so that focus can be moved back to this specific element when\nthe slideout dialog is closed.",
418
436
  "tags": []
419
437
  }
420
438
  },
421
- "setFocus": {
439
+ "hide": {
422
440
  "complexType": {
423
- "signature": "(options?: FocusOptions) => Promise<void>",
424
- "parameters": [{
425
- "name": "options",
426
- "type": "FocusOptions",
427
- "docs": ""
428
- }],
441
+ "signature": "() => Promise<void>",
442
+ "parameters": [],
429
443
  "references": {
430
444
  "Promise": {
431
445
  "location": "global",
432
446
  "id": "global::Promise"
433
- },
434
- "FocusOptions": {
435
- "location": "global",
436
- "id": "global::FocusOptions"
437
447
  }
438
448
  },
439
449
  "return": "Promise<void>"
440
450
  },
441
451
  "docs": {
442
- "text": "Sets focus. Use this method instead of the global focus().",
452
+ "text": "Hides the slideout dialog and puts focus back to the original element\nthat triggered the slideout (if we\u2019re still in the same view).",
443
453
  "tags": []
444
454
  }
445
455
  }
@@ -98,6 +98,8 @@ export class DuetTextarea {
98
98
  this.identifier = undefined;
99
99
  this.required = false;
100
100
  this.label = "label";
101
+ this.labelColor = undefined;
102
+ this.labelWeight = undefined;
101
103
  this.labelHidden = false;
102
104
  this.name = undefined;
103
105
  this.placeholder = undefined;
@@ -160,7 +162,7 @@ export class DuetTextarea {
160
162
  "duet-label-hidden": this.labelHidden,
161
163
  "duet-input-top-caption-shown": this.isCaptionVisible,
162
164
  "has-error": !!this.error,
163
- } }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), h("duet-grid", { alignment: "stretch" }, h("duet-grid-item", { margin: "none", fill: true }, h("div", { class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", null, this.error))), h("duet-grid-item", { margin: "none", class: "duet-character-count-caption" }, this.counter && (h(CharacterCount, { theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (h("duet-visually-hidden", { class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
165
+ } }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), h("duet-grid", { alignment: "stretch" }, h("duet-grid-item", { margin: "none", fill: true }, h("div", { class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", null, this.error))), h("duet-grid-item", { margin: "none", class: "duet-character-count-caption" }, this.counter && (h(CharacterCount, { theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (h("duet-visually-hidden", { class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
164
166
  this.hiddenCounterLabel = el;
165
167
  } })))));
166
168
  }
@@ -472,6 +474,46 @@ export class DuetTextarea {
472
474
  "reflect": false,
473
475
  "defaultValue": "\"label\""
474
476
  },
477
+ "labelColor": {
478
+ "type": "string",
479
+ "mutable": true,
480
+ "complexType": {
481
+ "original": "string",
482
+ "resolved": "string",
483
+ "references": {}
484
+ },
485
+ "required": false,
486
+ "optional": false,
487
+ "docs": {
488
+ "tags": [],
489
+ "text": "Color of the label."
490
+ },
491
+ "attribute": "label-color",
492
+ "reflect": false
493
+ },
494
+ "labelWeight": {
495
+ "type": "string",
496
+ "mutable": true,
497
+ "complexType": {
498
+ "original": "DuetTextFontWeight",
499
+ "resolved": "\"normal\" | \"semi-bold\"",
500
+ "references": {
501
+ "DuetTextFontWeight": {
502
+ "location": "import",
503
+ "path": "../../common-types",
504
+ "id": "src/common-types.d.ts::DuetTextFontWeight"
505
+ }
506
+ }
507
+ },
508
+ "required": false,
509
+ "optional": false,
510
+ "docs": {
511
+ "tags": [],
512
+ "text": "Font weight of the label."
513
+ },
514
+ "attribute": "label-weight",
515
+ "reflect": false
516
+ },
475
517
  "labelHidden": {
476
518
  "type": "boolean",
477
519
  "mutable": false,
@@ -29,6 +29,8 @@ export class DuetToggle {
29
29
  this.accessibleLabelledBy = undefined;
30
30
  this.accessibleDescription = undefined;
31
31
  this.label = "label";
32
+ this.labelColor = undefined;
33
+ this.labelWeight = undefined;
32
34
  this.labelPosition = "top";
33
35
  this.required = false;
34
36
  this.disabled = false;
@@ -81,7 +83,7 @@ export class DuetToggle {
81
83
  "duet-theme-turva": this.theme === "turva",
82
84
  "duet-side-label": this.labelPosition !== "top",
83
85
  "duet-reverse-label": this.labelPosition === "right",
84
- } }, h("duet-label", { theme: this.theme, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), h("label", { class: "duet-switch", htmlFor: identifier }, h("input", { type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled, ref: input => (this.nativeInput = input) }), h("div", { class: "duet-slider" })))));
86
+ } }, h("duet-label", { theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), h("label", { class: "duet-switch", htmlFor: identifier }, h("input", { type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled, ref: input => (this.nativeInput = input) }), h("div", { class: "duet-slider" })))));
85
87
  }
86
88
  static get is() { return "duet-toggle"; }
87
89
  static get encapsulation() { return "scoped"; }
@@ -285,6 +287,46 @@ export class DuetToggle {
285
287
  "reflect": false,
286
288
  "defaultValue": "\"label\""
287
289
  },
290
+ "labelColor": {
291
+ "type": "string",
292
+ "mutable": true,
293
+ "complexType": {
294
+ "original": "string",
295
+ "resolved": "string",
296
+ "references": {}
297
+ },
298
+ "required": false,
299
+ "optional": false,
300
+ "docs": {
301
+ "tags": [],
302
+ "text": "Color of the label."
303
+ },
304
+ "attribute": "label-color",
305
+ "reflect": false
306
+ },
307
+ "labelWeight": {
308
+ "type": "string",
309
+ "mutable": true,
310
+ "complexType": {
311
+ "original": "DuetTextFontWeight",
312
+ "resolved": "\"normal\" | \"semi-bold\"",
313
+ "references": {
314
+ "DuetTextFontWeight": {
315
+ "location": "import",
316
+ "path": "../../common-types",
317
+ "id": "src/common-types.d.ts::DuetTextFontWeight"
318
+ }
319
+ }
320
+ },
321
+ "required": false,
322
+ "optional": false,
323
+ "docs": {
324
+ "tags": [],
325
+ "text": "Font weight of the label."
326
+ },
327
+ "attribute": "label-weight",
328
+ "reflect": false
329
+ },
288
330
  "labelPosition": {
289
331
  "type": "string",
290
332
  "mutable": false,
@@ -18,6 +18,11 @@ export class DuetTooltip {
18
18
  window.matchMedia(media_query_large.replace(/'/g, "")),
19
19
  ];
20
20
  this.tooltipId = createID("DuetTooltip");
21
+ this.aboutString = {
22
+ fi: "aiheesta",
23
+ en: "about",
24
+ sv: "om",
25
+ };
21
26
  /**
22
27
  * Local methods
23
28
  */
@@ -76,6 +81,7 @@ export class DuetTooltip {
76
81
  sv: "Visa mer tilläggsuppgifter",
77
82
  };
78
83
  this.accessibleLabel = getLocaleString(this.accessibleLabelDefault, this.language);
84
+ this.accessibleAboutLabel = undefined;
79
85
  this.accessibleInputLabel = undefined;
80
86
  this.accessibleCloseLabelDefault = {
81
87
  fi: "Sulje lisätiedot",
@@ -204,7 +210,10 @@ export class DuetTooltip {
204
210
  top: this.arrowY ? `${this.arrowY}px` : undefined,
205
211
  left: this.arrowX ? `${this.arrowX}px` : undefined,
206
212
  };
207
- return (h(Host, { style: tooltipStyles }, h("duet-tooltip-button", { ref: element => (this.buttonEl = element), active: this.active, tooltipId: this.tooltipId, label: this.label, accessibleLabel: this.accessibleInputLabel ? `${this.accessibleInputLabel}, ${this.accessibleLabel}` : this.accessibleLabel, onClick: this.toggleOpen, theme: this.theme }), h("div", { style: popupContainerStyles }, h("duet-tooltip-popup", { ref: element => (this.popupElement = element), active: this.active, tooltipId: this.tooltipId, arrowStyles: arrowStyles, style: positionStyles, placement: this.placement, accessibleCloseLabel: this.accessibleCloseLabel, theme: this.theme }, h("slot", null)))));
213
+ return (h(Host, { style: tooltipStyles }, h("duet-tooltip-button", { ref: element => (this.buttonEl = element), active: this.active, tooltipId: this.tooltipId, label: this.label, accessibleLabel: (this.accessibleInputLabel && `${this.accessibleInputLabel}, ${this.accessibleLabel}`) ||
214
+ (this.accessibleAboutLabel &&
215
+ `${this.accessibleLabel} ${this.aboutString[this.language]} ${this.accessibleAboutLabel}`) ||
216
+ this.accessibleLabel, onClick: this.toggleOpen, theme: this.theme }), h("div", { style: popupContainerStyles }, h("duet-tooltip-popup", { ref: element => (this.popupElement = element), active: this.active, tooltipId: this.tooltipId, arrowStyles: arrowStyles, style: positionStyles, placement: this.placement, accessibleCloseLabel: this.accessibleCloseLabel, theme: this.theme }, h("slot", null)))));
208
217
  }
209
218
  static get is() { return "duet-tooltip"; }
210
219
  static get encapsulation() { return "scoped"; }
@@ -322,6 +331,23 @@ export class DuetTooltip {
322
331
  "reflect": false,
323
332
  "defaultValue": "getLocaleString(this.accessibleLabelDefault, this.language)"
324
333
  },
334
+ "accessibleAboutLabel": {
335
+ "type": "string",
336
+ "mutable": false,
337
+ "complexType": {
338
+ "original": "string",
339
+ "resolved": "string",
340
+ "references": {}
341
+ },
342
+ "required": false,
343
+ "optional": false,
344
+ "docs": {
345
+ "tags": [],
346
+ "text": "String to add after the accessibleLabel to give more context to the tooltip. Preposition \"about\" is\nadded between the strings. In Finnish, the preposition is \"aiheesta\" and in Swedish \"om\"."
347
+ },
348
+ "attribute": "accessible-about-label",
349
+ "reflect": false
350
+ },
325
351
  "accessibleInputLabel": {
326
352
  "type": "string",
327
353
  "mutable": false,
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-18ec08ac.js';
4
+ import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-4d3e1b52.js';
5
5
 
6
6
  const DuetActionButton = DuetActionButton$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-7c5f9c80.js';
4
+ import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-4a55dff3.js';
5
5
 
6
6
  const DuetAlert = DuetAlert$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-b06b80ce.js';
4
+ import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-1c7bd169.js';
5
5
 
6
6
  const DuetBadge = DuetBadge$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h as h$1, d as Host } from './p-d94a9d9c.js';
4
+ import { p as proxyCustomElement, H, h as h$1, d as Host } from './p-471a62cc.js';
5
5
  import { i as inheritGlobalTheme } from './p-a58bd561.js';
6
6
  import { h } from './p-62c7d9d4.js';
7
7
  import { p as parsePossibleJSON } from './p-0e052642.js';
8
8
  import { g as getColorByName } from './p-e078836c.js';
9
- import { d as defineCustomElement$4 } from './p-d18ca3d9.js';
10
- import { d as defineCustomElement$3 } from './p-88b5a225.js';
11
- import { d as defineCustomElement$2 } from './p-bb59b14d.js';
9
+ import { d as defineCustomElement$4 } from './p-975a4689.js';
10
+ import { d as defineCustomElement$3 } from './p-c493eecb.js';
11
+ import { d as defineCustomElement$2 } from './p-fc6bb9ab.js';
12
12
 
13
13
  const DuetPicture = ({ img, sources }) => {
14
14
  return (h("picture", null,
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-d94a9d9c.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-471a62cc.js';
5
5
  import { i as inheritGlobalTheme } from './p-a58bd561.js';
6
6
  import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-8f253845.js';
7
7
  import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString } from './p-2e36d5bf.js';
8
- import { d as defineCustomElement$3 } from './p-88b5a225.js';
9
- import { d as defineCustomElement$2 } from './p-5b14ef9f.js';
8
+ import { d as defineCustomElement$3 } from './p-c493eecb.js';
9
+ import { d as defineCustomElement$2 } from './p-3158e24f.js';
10
10
 
11
11
  var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
12
12
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-d94a9d9c.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-471a62cc.js';
5
5
  import { i as inheritGlobalTheme } from './p-a58bd561.js';
6
6
  import { g as getLocaleString } from './p-2e36d5bf.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetButton$1, d as defineCustomElement$1 } from './p-7a6cf439.js';
4
+ import { D as DuetButton$1, d as defineCustomElement$1 } from './p-6b977095.js';
5
5
 
6
6
  const DuetButton = DuetButton$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-d94a9d9c.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-471a62cc.js';
5
5
  import { i as inheritGlobalTheme } from './p-a58bd561.js';
6
- import { d as defineCustomElement$3 } from './p-88b5a225.js';
7
- import { d as defineCustomElement$2 } from './p-bb59b14d.js';
6
+ import { d as defineCustomElement$3 } from './p-c493eecb.js';
7
+ import { d as defineCustomElement$2 } from './p-fc6bb9ab.js';
8
8
 
9
9
  const duetCalloutCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}blockquote,figure{margin:0}.duet-callout{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout .container{display:flex;flex-direction:column;gap:8px;align-items:center;max-width:688px;text-align:center}.duet-callout .callout-icon{width:50px;padding-bottom:8px}.duet-callout .author{color:rgb(0, 41, 77)}.duet-callout.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-callout.duet-theme-turva .author{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}";
10
10
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-2941d90a.js';
4
+ import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-4c5751cd.js';
5
5
 
6
6
  const DuetCaption = DuetCaption$1;
7
7
  const defineCustomElement = defineCustomElement$1;