@duetds/components 8.1.0 → 8.1.2

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 (738) hide show
  1. package/hydrate/index.js +168 -80
  2. package/lib/cjs/app-globals-aece069f.js +28 -0
  3. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  4. package/lib/cjs/duet-alert.cjs.entry.js +4 -1
  5. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-banner.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-breadcrumb.cjs.entry.js +11 -2
  8. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
  9. package/lib/cjs/duet-button_2.cjs.entry.js +5 -4
  10. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-caption_4.cjs.entry.js +15 -5
  12. package/lib/cjs/duet-card.cjs.entry.js +10 -4
  13. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-chip.cjs.entry.js +8 -1
  16. package/lib/cjs/duet-choice_2.cjs.entry.js +5 -3
  17. package/lib/cjs/duet-collapsible.cjs.entry.js +9 -3
  18. package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
  19. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-cookie-consent.cjs.entry.js +8 -1
  21. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  23. package/lib/cjs/duet-editable-table_3.cjs.entry.js +4 -4
  24. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-footer.cjs.entry.js +4 -1
  28. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  29. package/lib/cjs/duet-header_2.cjs.entry.js +6 -4
  30. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  32. package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
  33. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +4 -4
  38. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
  40. package/lib/cjs/duet-modal.cjs.entry.js +4 -4
  41. package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
  42. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-notification_2.cjs.entry.js +6 -1
  44. package/lib/cjs/duet-number-input.cjs.entry.js +4 -2
  45. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -4
  47. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-popup-menu.cjs.entry.js +4 -4
  49. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
  51. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  52. package/lib/cjs/duet-range-slider.cjs.entry.js +9 -2
  53. package/lib/cjs/duet-scrollable_3.cjs.entry.js +4 -2
  54. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  56. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  58. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  62. package/lib/cjs/duet-slideout.cjs.entry.js +13 -10
  63. package/lib/cjs/duet-step_2.cjs.entry.js +8 -2
  64. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  65. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +4 -4
  66. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  67. package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-textarea.cjs.entry.js +2 -2
  69. package/lib/cjs/duet-toggle.cjs.entry.js +8 -1
  70. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  71. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
  72. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  73. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  74. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +14 -19
  75. package/lib/cjs/duet-tooltip.cjs.entry.js +8 -4
  76. package/lib/cjs/duet-tray.cjs.entry.js +5 -2
  77. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  78. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  79. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  80. package/lib/cjs/duet.cjs.js +3 -3
  81. package/lib/cjs/{focus-utils-9b549956.js → focus-utils-6b554ff9.js} +1 -1
  82. package/lib/cjs/{index-ce232ed8.js → index-157c822b.js} +1 -1
  83. package/lib/cjs/keyboard-utils-7248dd0a.js +69 -0
  84. package/lib/cjs/loader.cjs.js +3 -3
  85. package/lib/cjs/{teleport-e9d05bca.js → teleport-e7315776.js} +8 -0
  86. package/lib/cjs/{token-utils-84b3bca6.js → token-utils-f11c288e.js} +1 -1
  87. package/lib/cjs/{tokens-cecc0f2f.js → tokens-c0b8b3a8.js} +1 -1
  88. package/lib/cjs/{tokens.module-10f42b21.js → tokens.module-44ad1fdb.js} +1 -1
  89. package/lib/collection/collection-manifest.json +1 -1
  90. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  91. package/lib/collection/components/duet-alert/duet-alert.js +4 -1
  92. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +34 -1
  93. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +2 -2
  94. package/lib/collection/components/duet-button/duet-button.css +2 -2
  95. package/lib/collection/components/duet-button/duet-button.js +6 -5
  96. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  97. package/lib/collection/components/duet-card/duet-card.js +10 -4
  98. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  99. package/lib/collection/components/duet-chip/duet-chip.js +11 -4
  100. package/lib/collection/components/duet-choice/duet-choice.js +6 -4
  101. package/lib/collection/components/duet-collapsible/duet-collapsible.js +10 -4
  102. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  103. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +8 -1
  104. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  105. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  106. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  107. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  108. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  109. package/lib/collection/components/duet-footer/duet-footer.js +10 -7
  110. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  111. package/lib/collection/components/duet-header/duet-header.js +18 -16
  112. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  113. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  114. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  115. package/lib/collection/components/duet-input/duet-input.css +2 -2
  116. package/lib/collection/components/duet-input/duet-input.js +8 -8
  117. package/lib/collection/components/duet-label/duet-label.js +2 -2
  118. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  119. package/lib/collection/components/duet-link/duet-link.js +12 -2
  120. package/lib/collection/components/duet-list/duet-list.js +3 -3
  121. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  122. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  123. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +5 -4
  124. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +12 -20
  125. package/lib/collection/components/duet-modal/duet-modal.js +3 -3
  126. package/lib/collection/components/duet-multiselect/duet-multiselect.css +1 -1
  127. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  128. package/lib/collection/components/duet-notification/duet-notification.js +3 -0
  129. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +4 -1
  130. package/lib/collection/components/duet-number-input/duet-number-input.js +7 -5
  131. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  132. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  133. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +1 -1
  134. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
  135. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  136. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  137. package/lib/collection/components/duet-range-slider/duet-range-slider.js +9 -2
  138. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  139. package/lib/collection/components/duet-select/duet-select.css +1 -1
  140. package/lib/collection/components/duet-select/duet-select.js +5 -5
  141. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  142. package/lib/collection/components/duet-slideout/duet-slideout.css +4 -10
  143. package/lib/collection/components/duet-slideout/duet-slideout.js +7 -4
  144. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  145. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  146. package/lib/collection/components/duet-step/duet-step.js +9 -3
  147. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  148. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +4 -4
  149. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +15 -7
  150. package/lib/collection/components/duet-tab-group/duet-tab-group.js +8 -6
  151. package/lib/collection/components/duet-textarea/duet-textarea.css +1 -1
  152. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  153. package/lib/collection/components/duet-toggle/duet-toggle.js +8 -1
  154. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +5 -5
  155. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +12 -10
  156. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +1 -1
  157. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +6 -28
  158. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +6 -28
  159. package/lib/collection/components/duet-tooltip/duet-tooltip.js +6 -2
  160. package/lib/collection/components/duet-tray/duet-tray.js +3 -0
  161. package/lib/collection/components/duet-upload/duet-upload.js +14 -14
  162. package/lib/collection/components/duet-upload-item/duet-upload-item.js +1 -1
  163. package/lib/collection/global/duet-global.js +0 -26
  164. package/lib/collection/utils/keyboard-utils.js +43 -12
  165. package/lib/collection/utils/teleport.js +8 -0
  166. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  167. package/lib/dist-custom-elements/duet-alert.js +1 -1
  168. package/lib/dist-custom-elements/duet-badge.js +1 -1
  169. package/lib/dist-custom-elements/duet-banner.js +5 -5
  170. package/lib/dist-custom-elements/duet-breadcrumb.js +20 -4
  171. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  172. package/lib/dist-custom-elements/duet-button.js +1 -1
  173. package/lib/dist-custom-elements/duet-callout.js +3 -3
  174. package/lib/dist-custom-elements/duet-caption.js +1 -1
  175. package/lib/dist-custom-elements/duet-card.js +11 -5
  176. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  177. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  178. package/lib/dist-custom-elements/duet-chip.js +9 -2
  179. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  180. package/lib/dist-custom-elements/duet-choice.js +8 -6
  181. package/lib/dist-custom-elements/duet-collapsible.js +10 -4
  182. package/lib/dist-custom-elements/duet-combobox.js +3 -3
  183. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  184. package/lib/dist-custom-elements/duet-cookie-consent.js +13 -6
  185. package/lib/dist-custom-elements/duet-date-picker.js +12 -12
  186. package/lib/dist-custom-elements/duet-divider.js +1 -1
  187. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  188. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  189. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  190. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  191. package/lib/dist-custom-elements/duet-footer.js +7 -4
  192. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  193. package/lib/dist-custom-elements/duet-grid.js +1 -1
  194. package/lib/dist-custom-elements/duet-header.js +12 -10
  195. package/lib/dist-custom-elements/duet-heading.js +1 -1
  196. package/lib/dist-custom-elements/duet-hero.js +9 -9
  197. package/lib/dist-custom-elements/duet-icon.js +1 -1
  198. package/lib/dist-custom-elements/duet-input.js +1 -1
  199. package/lib/dist-custom-elements/duet-label.js +1 -1
  200. package/lib/dist-custom-elements/duet-layout.js +1 -1
  201. package/lib/dist-custom-elements/duet-link.js +1 -1
  202. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  203. package/lib/dist-custom-elements/duet-list.js +1 -1
  204. package/lib/dist-custom-elements/duet-logo.js +1 -1
  205. package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
  206. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
  207. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +5 -5
  208. package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
  209. package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
  210. package/lib/dist-custom-elements/duet-modal.js +9 -9
  211. package/lib/dist-custom-elements/duet-multiselect.js +12 -12
  212. package/lib/dist-custom-elements/duet-nav.js +1 -1
  213. package/lib/dist-custom-elements/duet-notification-drawer.js +7 -4
  214. package/lib/dist-custom-elements/duet-notification.js +5 -2
  215. package/lib/dist-custom-elements/duet-number-input.js +14 -12
  216. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  217. package/lib/dist-custom-elements/duet-pagination.js +15 -15
  218. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  219. package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
  220. package/lib/dist-custom-elements/duet-popup-menu.js +4 -4
  221. package/lib/dist-custom-elements/duet-progress.js +1 -1
  222. package/lib/dist-custom-elements/duet-promo-card.js +4 -4
  223. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  224. package/lib/dist-custom-elements/duet-radio.js +1 -1
  225. package/lib/dist-custom-elements/duet-range-slider.js +10 -3
  226. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  227. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  228. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  229. package/lib/dist-custom-elements/duet-select.js +1 -1
  230. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  231. package/lib/dist-custom-elements/duet-show-more.js +6 -6
  232. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  233. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  234. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  235. package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
  236. package/lib/dist-custom-elements/duet-slideout.js +12 -9
  237. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  238. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  239. package/lib/dist-custom-elements/duet-step.js +11 -5
  240. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  241. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
  242. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +5 -5
  243. package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
  244. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  245. package/lib/dist-custom-elements/duet-tab-group.js +16 -14
  246. package/lib/dist-custom-elements/duet-tab.js +1 -1
  247. package/lib/dist-custom-elements/duet-table.js +1 -1
  248. package/lib/dist-custom-elements/duet-textarea.js +11 -11
  249. package/lib/dist-custom-elements/duet-toggle.js +9 -2
  250. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +5 -5
  251. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +4 -4
  252. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  253. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  254. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  255. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  256. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  257. package/lib/dist-custom-elements/duet-tray.js +7 -4
  258. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  259. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  260. package/lib/dist-custom-elements/duet-upload.js +18 -18
  261. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  262. package/lib/dist-custom-elements/index.js +1 -27
  263. package/lib/dist-custom-elements/{p-402e81c0.js → p-04889da1.js} +5 -5
  264. package/lib/dist-custom-elements/{p-76b345c8.js → p-0583d228.js} +2 -2
  265. package/lib/{esm/tokens-e6b6db9b.js → dist-custom-elements/p-0cc51aa5.js} +1 -1
  266. package/lib/dist-custom-elements/{p-9b5f8ba4.js → p-0d345f52.js} +2 -2
  267. package/lib/dist-custom-elements/{p-98746766.js → p-16e97b9c.js} +1 -1
  268. package/lib/dist-custom-elements/{p-ba0f907f.js → p-17f23d02.js} +2 -2
  269. package/lib/dist-custom-elements/{p-872a2adb.js → p-18ae77da.js} +2 -2
  270. package/lib/dist-custom-elements/{p-dfd29738.js → p-23f7068d.js} +1 -1
  271. package/lib/dist-custom-elements/{p-ffc7f083.js → p-2591d3c1.js} +1 -1
  272. package/lib/dist-custom-elements/{p-6f7dcc4d.js → p-26c9e94a.js} +1 -1
  273. package/lib/dist-custom-elements/{p-598731b0.js → p-2f7f4d60.js} +2 -2
  274. package/lib/dist-custom-elements/{p-a45d0398.js → p-3e81fc67.js} +2 -2
  275. package/lib/dist-custom-elements/{p-4f43c247.js → p-5f7df847.js} +1 -1
  276. package/lib/dist-custom-elements/{p-f91cddd9.js → p-60358cbc.js} +12 -8
  277. package/lib/dist-custom-elements/{p-0a7c0d3d.js → p-60d4a8ce.js} +10 -10
  278. package/lib/dist-custom-elements/{p-ba9ad148.js → p-666a097e.js} +1 -1
  279. package/lib/dist-custom-elements/{p-2605a78e.js → p-6b73593d.js} +2 -2
  280. package/lib/dist-custom-elements/{p-38b35e69.js → p-6cdb4bc9.js} +9 -9
  281. package/lib/{esm/teleport-4462e8c1.js → dist-custom-elements/p-751344b2.js} +8 -0
  282. package/lib/dist-custom-elements/{p-c057158b.js → p-7d6b2e2a.js} +1 -1
  283. package/lib/dist-custom-elements/{p-247a9d01.js → p-803d6f4c.js} +8 -5
  284. package/lib/dist-custom-elements/{p-d5f3b174.js → p-8496cd8c.js} +1 -1
  285. package/lib/dist-custom-elements/{p-3a17ba0c.js → p-88a1e813.js} +5 -5
  286. package/lib/dist-custom-elements/p-8f253845.js +51 -0
  287. package/lib/dist-custom-elements/{p-57a1cba9.js → p-9a81250e.js} +1 -1
  288. package/lib/dist-custom-elements/{p-02eb68f2.js → p-a4f9be99.js} +2 -2
  289. package/lib/dist-custom-elements/{p-0825cbc5.js → p-a5450dd6.js} +9 -12
  290. package/lib/dist-custom-elements/{p-bc3fa417.js → p-a88f801c.js} +1 -1
  291. package/lib/dist-custom-elements/{p-a6e6f578.js → p-c7e8eeec.js} +1 -1
  292. package/lib/dist-custom-elements/{p-ff387a2f.js → p-ca00c920.js} +2 -2
  293. package/lib/dist-custom-elements/{p-39827833.js → p-d4cb22d8.js} +2 -2
  294. package/lib/dist-custom-elements/p-d8f01eb9.js +301 -0
  295. package/lib/dist-custom-elements/{p-1cd7077a.js → p-dab34418.js} +1 -1
  296. package/lib/dist-custom-elements/{p-257f2e82.js → p-db24b3f2.js} +16 -12
  297. package/lib/dist-custom-elements/{p-70a66e96.js → p-e65ac105.js} +1 -1
  298. package/lib/dist-custom-elements/{p-d5fc2405.js → p-e6b65023.js} +2 -2
  299. package/lib/dist-custom-elements/{p-86649f25.js → p-ea3632de.js} +12 -12
  300. package/lib/dist-custom-elements/{p-6fbb1970.js → p-ec4ffa81.js} +3 -3
  301. package/lib/dist-custom-elements/{p-ce1cc5ab.js → p-ff6cac8b.js} +11 -14
  302. package/lib/duet/duet.esm.js +1 -1
  303. package/lib/duet/duet.js +1 -1
  304. package/lib/duet/{p-ad5e3c9c.system.entry.js → p-01e08373.system.entry.js} +1 -1
  305. package/lib/duet/p-04249722.entry.js +4 -0
  306. package/lib/duet/{p-d32e9ae1.system.entry.js → p-04e87e02.system.entry.js} +1 -1
  307. package/lib/duet/{p-4212bab8.js → p-06570fbf.js} +1 -1
  308. package/lib/duet/{p-8cf2feaa.entry.js → p-0a2bd8cf.entry.js} +1 -1
  309. package/lib/duet/{p-64d43840.js → p-0cc51aa5.js} +1 -1
  310. package/lib/duet/p-0d7aef74.entry.js +4 -0
  311. package/lib/duet/p-0d80334c.entry.js +4 -0
  312. package/lib/duet/{p-bd97fff1.system.entry.js → p-0f69701f.system.entry.js} +1 -1
  313. package/lib/duet/{p-191959c7.entry.js → p-1074866e.entry.js} +1 -1
  314. package/lib/duet/p-10932e23.system.entry.js +4 -0
  315. package/lib/duet/{p-bc16a555.entry.js → p-12bb48aa.entry.js} +1 -1
  316. package/lib/duet/{p-bf3bf531.system.entry.js → p-12c62fda.system.entry.js} +1 -1
  317. package/lib/duet/{p-5dccd17b.entry.js → p-13662eb9.entry.js} +1 -1
  318. package/lib/duet/{p-d41e819d.entry.js → p-137fbf26.entry.js} +1 -1
  319. package/lib/duet/{p-338ba4d2.entry.js → p-1a716787.entry.js} +1 -1
  320. package/lib/duet/p-1a9958ee.system.js +4 -0
  321. package/lib/duet/p-1ddd6fc8.system.entry.js +4 -0
  322. package/lib/duet/{p-226489c4.entry.js → p-1ef2844f.entry.js} +1 -1
  323. package/lib/duet/{p-b868bb09.system.entry.js → p-2417aad9.system.entry.js} +1 -1
  324. package/lib/duet/p-259a297a.system.js +4 -0
  325. package/lib/duet/{p-8920edb7.system.entry.js → p-2ab62956.system.entry.js} +1 -1
  326. package/lib/duet/p-2bb2b022.js +4 -0
  327. package/lib/duet/p-3021e910.entry.js +4 -0
  328. package/lib/duet/p-3043f61b.system.entry.js +4 -0
  329. package/lib/duet/{p-ab2da6f9.entry.js → p-31a0f1fe.entry.js} +1 -1
  330. package/lib/duet/p-338cf0ab.entry.js +4 -0
  331. package/lib/duet/p-33aec494.system.entry.js +4 -0
  332. package/lib/duet/p-3487783b.system.entry.js +4 -0
  333. package/lib/duet/p-351b5fd0.system.entry.js +4 -0
  334. package/lib/duet/p-37cca48e.entry.js +4 -0
  335. package/lib/duet/{p-200089a6.system.entry.js → p-38dfb538.system.entry.js} +1 -1
  336. package/lib/duet/{p-ec98691e.system.entry.js → p-3a39dd19.system.entry.js} +1 -1
  337. package/lib/duet/p-3a7a6906.entry.js +4 -0
  338. package/lib/duet/p-3b586fc5.entry.js +4 -0
  339. package/lib/duet/p-3d0b9e59.entry.js +4 -0
  340. package/lib/duet/{p-f8c64564.system.entry.js → p-3e1b4203.system.entry.js} +1 -1
  341. package/lib/duet/{p-0a7c3ecf.entry.js → p-43cccc70.entry.js} +1 -1
  342. package/lib/duet/{p-8a16fb3c.entry.js → p-4534b63a.entry.js} +1 -1
  343. package/lib/duet/{p-bcd1e9d8.system.entry.js → p-45cb0078.system.entry.js} +1 -1
  344. package/lib/duet/{p-6b2876f1.entry.js → p-470b320a.entry.js} +1 -1
  345. package/lib/duet/{p-e3574b05.entry.js → p-47b9ebfc.entry.js} +1 -1
  346. package/lib/duet/p-48ad58f7.entry.js +4 -0
  347. package/lib/duet/{p-6e6ececd.system.entry.js → p-49d0f126.system.entry.js} +1 -1
  348. package/lib/duet/p-4d8758f9.entry.js +4 -0
  349. package/lib/duet/{p-bf0e9413.entry.js → p-4e431ff6.entry.js} +1 -1
  350. package/lib/duet/{p-24f7d6bf.entry.js → p-4ec02d20.entry.js} +1 -1
  351. package/lib/duet/p-4ed862cd.system.entry.js +4 -0
  352. package/lib/duet/p-52e711b6.system.js +4 -0
  353. package/lib/duet/{p-51d53e57.entry.js → p-5692f185.entry.js} +1 -1
  354. package/lib/duet/{p-9f39d6de.system.entry.js → p-56b22bac.system.entry.js} +1 -1
  355. package/lib/duet/p-5795b0d9.system.js +4 -0
  356. package/lib/duet/{p-a4dd147b.entry.js → p-58aec0bf.entry.js} +1 -1
  357. package/lib/duet/p-5eed2113.entry.js +4 -0
  358. package/lib/duet/p-60cd790e.entry.js +4 -0
  359. package/lib/duet/p-61a28f2c.system.entry.js +4 -0
  360. package/lib/duet/p-63287e64.entry.js +4 -0
  361. package/lib/duet/p-63885f31.system.entry.js +4 -0
  362. package/lib/duet/p-66a1f261.system.entry.js +4 -0
  363. package/lib/duet/{p-8e414050.entry.js → p-67eb8cc6.entry.js} +1 -1
  364. package/lib/duet/{p-42b49430.system.entry.js → p-6a410f49.system.entry.js} +1 -1
  365. package/lib/duet/{p-d73f7574.entry.js → p-6a7ed346.entry.js} +1 -1
  366. package/lib/duet/{p-7a832531.entry.js → p-6bbd1456.entry.js} +1 -1
  367. package/lib/duet/{p-258b8732.entry.js → p-6d5e9d4d.entry.js} +1 -1
  368. package/lib/duet/p-6d839458.js +4 -0
  369. package/lib/duet/{p-9fb3e7b4.system.entry.js → p-717013b6.system.entry.js} +1 -1
  370. package/lib/duet/{p-e3c5663f.entry.js → p-730c0fff.entry.js} +1 -1
  371. package/lib/duet/p-751344b2.js +4 -0
  372. package/lib/duet/p-752eccd9.system.entry.js +4 -0
  373. package/lib/duet/{p-57a63204.entry.js → p-79d99a3a.entry.js} +1 -1
  374. package/lib/duet/{p-e1f6b6f3.system.entry.js → p-7e877080.system.entry.js} +1 -1
  375. package/lib/duet/{p-7bbc5a65.system.entry.js → p-7f81eb4c.system.entry.js} +1 -1
  376. package/lib/duet/{p-9aa0ebba.entry.js → p-808eb713.entry.js} +1 -1
  377. package/lib/duet/p-81aa9e58.system.entry.js +4 -0
  378. package/lib/duet/{p-793d7e04.system.entry.js → p-81ec9b35.system.entry.js} +1 -1
  379. package/lib/duet/{p-97d72f16.system.entry.js → p-81f0c65d.system.entry.js} +1 -1
  380. package/lib/duet/{p-1e587bcc.system.entry.js → p-84b2e3f0.system.entry.js} +1 -1
  381. package/lib/duet/{p-f25e57fe.system.entry.js → p-854ca73a.system.entry.js} +1 -1
  382. package/lib/duet/{p-d13cb6f4.system.entry.js → p-86abce17.system.entry.js} +1 -1
  383. package/lib/duet/{p-9ec69dbc.system.entry.js → p-870db7df.system.entry.js} +1 -1
  384. package/lib/duet/p-87551364.system.entry.js +4 -0
  385. package/lib/duet/{p-fb8a5b68.system.entry.js → p-8c655835.system.entry.js} +1 -1
  386. package/lib/duet/{p-16db7b1e.entry.js → p-8d0cb2d8.entry.js} +1 -1
  387. package/lib/duet/{p-542d792f.entry.js → p-8de5a1f0.entry.js} +1 -1
  388. package/lib/duet/{p-9d033a04.system.js → p-8eaaef1c.system.js} +1 -1
  389. package/lib/duet/p-917dedc1.system.entry.js +4 -0
  390. package/lib/duet/{p-1fbbf69f.entry.js → p-92579533.entry.js} +1 -1
  391. package/lib/duet/{p-75243a15.system.entry.js → p-9357c710.system.entry.js} +1 -1
  392. package/lib/duet/{p-55f98dc4.entry.js → p-9508feb6.entry.js} +1 -1
  393. package/lib/duet/{p-d8104d1b.entry.js → p-951d1081.entry.js} +1 -1
  394. package/lib/duet/{p-4b272eca.system.entry.js → p-9762f038.system.entry.js} +1 -1
  395. package/lib/duet/{p-dcfe6e27.system.entry.js → p-977a40ba.system.entry.js} +1 -1
  396. package/lib/duet/{p-60cee508.system.entry.js → p-994f3966.system.entry.js} +1 -1
  397. package/lib/duet/{p-13f7d993.entry.js → p-9a868a09.entry.js} +1 -1
  398. package/lib/duet/{p-8d8bdf90.system.entry.js → p-9b6df3eb.system.entry.js} +1 -1
  399. package/lib/duet/{p-6f891451.entry.js → p-9c3381d1.entry.js} +1 -1
  400. package/lib/duet/p-9ee5583e.entry.js +4 -0
  401. package/lib/duet/p-9fab377c.system.entry.js +4 -0
  402. package/lib/duet/{p-aa6ad573.system.entry.js → p-a080b5ee.system.entry.js} +1 -1
  403. package/lib/duet/p-a1c69051.system.entry.js +4 -0
  404. package/lib/duet/{p-2349e838.entry.js → p-a2b1a4c0.entry.js} +1 -1
  405. package/lib/duet/{p-f4493cb6.entry.js → p-a38b0c78.entry.js} +1 -1
  406. package/lib/duet/{p-6576401a.entry.js → p-a3e01217.entry.js} +1 -1
  407. package/lib/duet/{p-38320af8.js → p-a4fd3204.js} +1 -1
  408. package/lib/duet/p-a51fc564.entry.js +4 -0
  409. package/lib/duet/{p-07af14f1.js → p-a68b58e6.js} +1 -1
  410. package/lib/duet/{p-b27b1902.system.entry.js → p-a76a945d.system.entry.js} +1 -1
  411. package/lib/duet/{p-c565698d.system.entry.js → p-a881dcee.system.entry.js} +1 -1
  412. package/lib/duet/{p-71ef1651.system.entry.js → p-a8eef96f.system.entry.js} +1 -1
  413. package/lib/duet/{p-5ed00370.system.js → p-ab04f0b5.system.js} +1 -1
  414. package/lib/duet/{p-903efe1d.entry.js → p-ac03e45a.entry.js} +1 -1
  415. package/lib/duet/{p-b036d4f0.system.entry.js → p-adb4f00d.system.entry.js} +1 -1
  416. package/lib/duet/{p-ad3021d3.system.entry.js → p-ae0edbf0.system.entry.js} +1 -1
  417. package/lib/duet/{p-d8ee9cc9.entry.js → p-ae55ab01.entry.js} +1 -1
  418. package/lib/duet/{p-ebe22b98.system.entry.js → p-af129095.system.entry.js} +1 -1
  419. package/lib/duet/{p-e79bf1c2.entry.js → p-af24d0ba.entry.js} +1 -1
  420. package/lib/duet/{p-dce5a6f9.entry.js → p-b00491f4.entry.js} +1 -1
  421. package/lib/duet/{p-a5504252.entry.js → p-b0b1f2a2.entry.js} +1 -1
  422. package/lib/duet/{p-b54be005.entry.js → p-b14f32a6.entry.js} +1 -1
  423. package/lib/duet/{p-c0c9acd9.system.entry.js → p-b2196a24.system.entry.js} +1 -1
  424. package/lib/duet/p-b2bba5c2.system.entry.js +4 -0
  425. package/lib/duet/{p-13876bc6.entry.js → p-b421c710.entry.js} +1 -1
  426. package/lib/duet/{p-26f7d1b9.system.entry.js → p-b59a6d4c.system.entry.js} +1 -1
  427. package/lib/duet/p-b7fd8ad4.system.entry.js +4 -0
  428. package/lib/duet/{p-b62108c8.system.entry.js → p-b853ccf5.system.entry.js} +2 -2
  429. package/lib/duet/{p-885b38a9.system.js → p-b985bcf7.system.js} +1 -1
  430. package/lib/duet/p-bb01e446.system.entry.js +4 -0
  431. package/lib/duet/{p-9308c47c.system.entry.js → p-bb0cfbf7.system.entry.js} +1 -1
  432. package/lib/duet/{p-625f750f.system.entry.js → p-bb174891.system.entry.js} +1 -1
  433. package/lib/duet/p-bc1fed7e.system.entry.js +4 -0
  434. package/lib/duet/p-be2d339f.system.entry.js +4 -0
  435. package/lib/duet/p-bf3e4216.entry.js +4 -0
  436. package/lib/duet/{p-b62ed1f0.entry.js → p-bfd0356f.entry.js} +1 -1
  437. package/lib/duet/{p-3aa3fb24.system.entry.js → p-c0fc230e.system.entry.js} +1 -1
  438. package/lib/duet/{p-f009e108.entry.js → p-c796c3f4.entry.js} +1 -1
  439. package/lib/duet/p-cc62667c.entry.js +4 -0
  440. package/lib/duet/{p-580a7bae.entry.js → p-cd042667.entry.js} +1 -1
  441. package/lib/duet/{p-81230084.system.entry.js → p-cd5dba94.system.entry.js} +1 -1
  442. package/lib/duet/{p-0aa1b1cd.system.entry.js → p-cd970535.system.entry.js} +2 -2
  443. package/lib/duet/p-cfe49bdb.entry.js +4 -0
  444. package/lib/duet/p-d538903d.entry.js +4 -0
  445. package/lib/duet/p-d6453fde.entry.js +4 -0
  446. package/lib/duet/{p-f1d51e20.js → p-d96c1564.js} +1 -1
  447. package/lib/duet/{p-342527a4.entry.js → p-dac54475.entry.js} +1 -1
  448. package/lib/duet/{p-33d6e5ef.entry.js → p-db498557.entry.js} +1 -1
  449. package/lib/duet/{p-e6bd0e51.system.entry.js → p-e07fa18a.system.entry.js} +1 -1
  450. package/lib/duet/p-e10553a8.entry.js +4 -0
  451. package/lib/duet/{p-785ff4f2.entry.js → p-e27983cf.entry.js} +1 -1
  452. package/lib/duet/p-e41cd4f9.system.entry.js +4 -0
  453. package/lib/duet/{p-b022a3d5.system.entry.js → p-e42e3a8a.system.entry.js} +2 -2
  454. package/lib/duet/{p-f7b58d72.system.js → p-e42e59a8.system.js} +1 -1
  455. package/lib/duet/{p-cfb85117.entry.js → p-e4bbb63e.entry.js} +1 -1
  456. package/lib/duet/p-e5514a5b.entry.js +4 -0
  457. package/lib/duet/{p-246db04a.entry.js → p-e6a69686.entry.js} +1 -1
  458. package/lib/duet/{p-2b9499f1.entry.js → p-e6d43779.entry.js} +1 -1
  459. package/lib/duet/{p-464adc60.system.entry.js → p-eaac2908.system.entry.js} +1 -1
  460. package/lib/duet/p-ead618f6.system.entry.js +4 -0
  461. package/lib/duet/{p-132ea5e6.entry.js → p-eadfb5cf.entry.js} +1 -1
  462. package/lib/duet/{p-7b847e11.system.entry.js → p-eb0e33f2.system.entry.js} +1 -1
  463. package/lib/duet/{p-51bdb5fd.system.entry.js → p-eb0e706a.system.entry.js} +1 -1
  464. package/lib/duet/{p-502f43bb.entry.js → p-eb892ea8.entry.js} +1 -1
  465. package/lib/duet/{p-61fe1543.system.entry.js → p-ec80c9be.system.entry.js} +1 -1
  466. package/lib/duet/p-eccd38da.system.js +4 -0
  467. package/lib/duet/{p-2c730d40.entry.js → p-f1c23c0a.entry.js} +1 -1
  468. package/lib/duet/{p-1b11541f.entry.js → p-f5aacbf9.entry.js} +1 -1
  469. package/lib/duet/p-f662ac7c.system.entry.js +4 -0
  470. package/lib/duet/{p-69fba9fe.system.entry.js → p-f7105228.system.entry.js} +1 -1
  471. package/lib/duet/p-f8d2bf05.system.entry.js +4 -0
  472. package/lib/duet/{p-9192de69.system.entry.js → p-f9fc34c4.system.entry.js} +1 -1
  473. package/lib/duet/{p-8bc5df74.entry.js → p-fa25a512.entry.js} +1 -1
  474. package/lib/duet/p-fe1e84a5.system.entry.js +4 -0
  475. package/lib/esm/app-globals-45aa6d20.js +26 -0
  476. package/lib/esm/duet-action-button.entry.js +4 -4
  477. package/lib/esm/duet-alert.entry.js +4 -1
  478. package/lib/esm/duet-badge.entry.js +1 -1
  479. package/lib/esm/duet-banner.entry.js +3 -3
  480. package/lib/esm/duet-breadcrumb.entry.js +11 -2
  481. package/lib/esm/duet-breadcrumbs.entry.js +2 -2
  482. package/lib/esm/duet-button_2.entry.js +5 -4
  483. package/lib/esm/duet-callout.entry.js +1 -1
  484. package/lib/esm/duet-caption_4.entry.js +15 -5
  485. package/lib/esm/duet-card.entry.js +10 -4
  486. package/lib/esm/duet-checkbox.entry.js +1 -1
  487. package/lib/esm/duet-checkmark.entry.js +1 -1
  488. package/lib/esm/duet-chip.entry.js +8 -1
  489. package/lib/esm/duet-choice_2.entry.js +5 -3
  490. package/lib/esm/duet-collapsible.entry.js +9 -3
  491. package/lib/esm/duet-combobox.entry.js +2 -2
  492. package/lib/esm/duet-contact-card.entry.js +1 -1
  493. package/lib/esm/duet-cookie-consent.entry.js +8 -1
  494. package/lib/esm/duet-date-picker.entry.js +2 -2
  495. package/lib/esm/duet-divider_2.entry.js +3 -3
  496. package/lib/esm/duet-editable-table_3.entry.js +4 -4
  497. package/lib/esm/duet-empty-state.entry.js +1 -1
  498. package/lib/esm/duet-fieldset.entry.js +1 -1
  499. package/lib/esm/duet-file-chooser.entry.js +1 -1
  500. package/lib/esm/duet-footer.entry.js +4 -1
  501. package/lib/esm/duet-grid_2.entry.js +2 -2
  502. package/lib/esm/duet-header_2.entry.js +6 -4
  503. package/lib/esm/duet-hero.entry.js +1 -1
  504. package/lib/esm/duet-icon.entry.js +3 -3
  505. package/lib/esm/duet-input_2.entry.js +3 -3
  506. package/lib/esm/duet-layout.entry.js +1 -1
  507. package/lib/esm/duet-list_2.entry.js +1 -1
  508. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  509. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
  510. package/lib/esm/duet-menu-bar-dropdown.entry.js +4 -4
  511. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  512. package/lib/esm/duet-menu-bar.entry.js +2 -2
  513. package/lib/esm/duet-modal.entry.js +4 -4
  514. package/lib/esm/duet-multiselect.entry.js +3 -3
  515. package/lib/esm/duet-nav.entry.js +1 -1
  516. package/lib/esm/duet-notification_2.entry.js +6 -1
  517. package/lib/esm/duet-number-input.entry.js +4 -2
  518. package/lib/esm/duet-page-heading.entry.js +1 -1
  519. package/lib/esm/duet-pagination_2.entry.js +4 -4
  520. package/lib/esm/duet-popup-menu-item.entry.js +1 -1
  521. package/lib/esm/duet-popup-menu.entry.js +4 -4
  522. package/lib/esm/duet-progress.entry.js +1 -1
  523. package/lib/esm/duet-promo-card.entry.js +3 -3
  524. package/lib/esm/duet-radio_2.entry.js +1 -1
  525. package/lib/esm/duet-range-slider.entry.js +9 -2
  526. package/lib/esm/duet-scrollable_3.entry.js +4 -2
  527. package/lib/esm/duet-section-layout.entry.js +1 -1
  528. package/lib/esm/duet-select.entry.js +2 -2
  529. package/lib/esm/duet-shaped-image.entry.js +1 -1
  530. package/lib/esm/duet-show-more.entry.js +2 -2
  531. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  532. package/lib/esm/duet-slideout-link.entry.js +1 -1
  533. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  534. package/lib/esm/duet-slideout-panel.entry.js +4 -4
  535. package/lib/esm/duet-slideout.entry.js +13 -10
  536. package/lib/esm/duet-step_2.entry.js +8 -2
  537. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  538. package/lib/esm/duet-submenu-bar-dropdown.entry.js +4 -4
  539. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  540. package/lib/esm/duet-submenu-bar.entry.js +2 -2
  541. package/lib/esm/duet-textarea.entry.js +2 -2
  542. package/lib/esm/duet-toggle.entry.js +8 -1
  543. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  544. package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
  545. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  546. package/lib/esm/duet-toolbar.entry.js +1 -1
  547. package/lib/esm/duet-tooltip-button_2.entry.js +14 -19
  548. package/lib/esm/duet-tooltip.entry.js +8 -4
  549. package/lib/esm/duet-tray.entry.js +5 -2
  550. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  551. package/lib/esm/duet-upload-item.entry.js +1 -1
  552. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  553. package/lib/esm/duet.js +4 -4
  554. package/lib/esm/{focus-utils-d54af982.js → focus-utils-270bf5da.js} +1 -1
  555. package/lib/esm/{index-d4489a2e.js → index-d7bdcdc1.js} +1 -1
  556. package/lib/esm/keyboard-utils-eba88365.js +51 -0
  557. package/lib/esm/loader.js +4 -4
  558. package/lib/{dist-custom-elements/p-b2e550a3.js → esm/teleport-691e534d.js} +8 -0
  559. package/lib/esm/{token-utils-b4bd3ec7.js → token-utils-84d66351.js} +1 -1
  560. package/lib/{dist-custom-elements/p-64d43840.js → esm/tokens-5a0d14c7.js} +1 -1
  561. package/lib/esm/{tokens.module-c7944140.js → tokens.module-16569707.js} +1 -1
  562. package/lib/esm-es5/app-globals-45aa6d20.js +4 -0
  563. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  564. package/lib/esm-es5/duet-alert.entry.js +2 -2
  565. package/lib/esm-es5/duet-badge.entry.js +1 -1
  566. package/lib/esm-es5/duet-banner.entry.js +1 -1
  567. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  568. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  569. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  570. package/lib/esm-es5/duet-callout.entry.js +1 -1
  571. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  572. package/lib/esm-es5/duet-card.entry.js +1 -1
  573. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  574. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  575. package/lib/esm-es5/duet-chip.entry.js +2 -2
  576. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  577. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  578. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  579. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  580. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  581. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  582. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  583. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  584. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  585. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  586. package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
  587. package/lib/esm-es5/duet-footer.entry.js +1 -1
  588. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  589. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  590. package/lib/esm-es5/duet-hero.entry.js +1 -1
  591. package/lib/esm-es5/duet-icon.entry.js +2 -2
  592. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  593. package/lib/esm-es5/duet-layout.entry.js +1 -1
  594. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  595. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  596. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  597. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  598. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  599. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  600. package/lib/esm-es5/duet-modal.entry.js +1 -1
  601. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  602. package/lib/esm-es5/duet-nav.entry.js +1 -1
  603. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  604. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  605. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  606. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  607. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  608. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  609. package/lib/esm-es5/duet-progress.entry.js +1 -1
  610. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  611. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  612. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  613. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  614. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  615. package/lib/esm-es5/duet-select.entry.js +1 -1
  616. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  617. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  618. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  619. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  620. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  621. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  622. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  623. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  624. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  625. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  626. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  627. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  628. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  629. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  630. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  631. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  632. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  633. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  634. package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
  635. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  636. package/lib/esm-es5/duet-tray.entry.js +1 -1
  637. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  638. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  639. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  640. package/lib/esm-es5/duet.js +1 -1
  641. package/lib/esm-es5/focus-utils-270bf5da.js +4 -0
  642. package/lib/esm-es5/{index-d4489a2e.js → index-d7bdcdc1.js} +1 -1
  643. package/lib/esm-es5/keyboard-utils-eba88365.js +4 -0
  644. package/lib/esm-es5/loader.js +1 -1
  645. package/lib/esm-es5/teleport-691e534d.js +4 -0
  646. package/lib/esm-es5/{token-utils-b4bd3ec7.js → token-utils-84d66351.js} +1 -1
  647. package/lib/esm-es5/{tokens-e6b6db9b.js → tokens-5a0d14c7.js} +1 -1
  648. package/lib/esm-es5/{tokens.module-c7944140.js → tokens.module-16569707.js} +1 -1
  649. package/lib/types/common-types.d.ts +11 -0
  650. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +6 -1
  651. package/lib/types/components/duet-card/duet-card.d.ts +2 -0
  652. package/lib/types/components/duet-chip/duet-chip.d.ts +2 -0
  653. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +2 -0
  654. package/lib/types/components/duet-cookie-consent/duet-cookie-consent.d.ts +2 -0
  655. package/lib/types/components/duet-header/duet-header-icon.d.ts +1 -1
  656. package/lib/types/components/duet-icon/duet-icon.d.ts +1 -2
  657. package/lib/types/components/duet-link/duet-link.d.ts +1 -0
  658. package/lib/types/components/duet-menu-bar-button/duet-menu-bar-button.d.ts +1 -2
  659. package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +1 -2
  660. package/lib/types/components/duet-menu-bar-link/duet-menu-bar-link.d.ts +1 -2
  661. package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +2 -0
  662. package/lib/types/components/duet-slideout/duet-slideout.d.ts +1 -0
  663. package/lib/types/components/duet-step/duet-step.d.ts +2 -0
  664. package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +1 -2
  665. package/lib/types/components/duet-submenu-bar-link/duet-submenu-bar-link.d.ts +1 -2
  666. package/lib/types/components/duet-toggle/duet-toggle.d.ts +2 -0
  667. package/lib/types/components/duet-tooltip/duet-tooltip-button.d.ts +2 -3
  668. package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +2 -3
  669. package/lib/types/components.d.ts +10 -4
  670. package/lib/types/utils/keyboard-utils.d.ts +2 -0
  671. package/package.json +5 -5
  672. package/lib/cjs/app-globals-cd75f624.js +0 -54
  673. package/lib/cjs/keyboard-utils-02441bc5.js +0 -36
  674. package/lib/dist-custom-elements/p-56ac3289.js +0 -20
  675. package/lib/dist-custom-elements/p-5fe36e8b.js +0 -300
  676. package/lib/duet/p-0782a6e5.js +0 -4
  677. package/lib/duet/p-105a1448.entry.js +0 -4
  678. package/lib/duet/p-1ea5e7e8.system.entry.js +0 -4
  679. package/lib/duet/p-25bde810.entry.js +0 -4
  680. package/lib/duet/p-26c85bab.entry.js +0 -4
  681. package/lib/duet/p-2f0a23ae.entry.js +0 -4
  682. package/lib/duet/p-3cafacc3.system.entry.js +0 -4
  683. package/lib/duet/p-3e1248d8.entry.js +0 -4
  684. package/lib/duet/p-40ee5f5e.system.entry.js +0 -4
  685. package/lib/duet/p-42b9c6f9.system.entry.js +0 -4
  686. package/lib/duet/p-48d6a81d.system.entry.js +0 -4
  687. package/lib/duet/p-4911c778.system.entry.js +0 -4
  688. package/lib/duet/p-4c650a9e.entry.js +0 -4
  689. package/lib/duet/p-513dfe01.entry.js +0 -4
  690. package/lib/duet/p-5b86c564.entry.js +0 -4
  691. package/lib/duet/p-5c94249e.system.entry.js +0 -4
  692. package/lib/duet/p-5f43dbcf.entry.js +0 -4
  693. package/lib/duet/p-65e434a5.entry.js +0 -4
  694. package/lib/duet/p-67c653f9.system.js +0 -4
  695. package/lib/duet/p-6a972453.system.entry.js +0 -4
  696. package/lib/duet/p-6cae9d4b.entry.js +0 -4
  697. package/lib/duet/p-73f176dc.system.entry.js +0 -4
  698. package/lib/duet/p-7a085479.system.entry.js +0 -4
  699. package/lib/duet/p-7a91a53e.system.entry.js +0 -4
  700. package/lib/duet/p-7b5cd54a.system.entry.js +0 -4
  701. package/lib/duet/p-7e833901.system.entry.js +0 -4
  702. package/lib/duet/p-81a6df68.system.js +0 -4
  703. package/lib/duet/p-8d0d6e06.system.js +0 -4
  704. package/lib/duet/p-8d69624a.entry.js +0 -4
  705. package/lib/duet/p-8eb82556.system.entry.js +0 -4
  706. package/lib/duet/p-97488cc9.entry.js +0 -4
  707. package/lib/duet/p-9de9d3eb.entry.js +0 -4
  708. package/lib/duet/p-9e36548d.system.js +0 -4
  709. package/lib/duet/p-a59b5059.entry.js +0 -4
  710. package/lib/duet/p-ad0179fa.system.entry.js +0 -4
  711. package/lib/duet/p-b2e550a3.js +0 -4
  712. package/lib/duet/p-b5831260.system.entry.js +0 -4
  713. package/lib/duet/p-b5ffa156.entry.js +0 -4
  714. package/lib/duet/p-b6af2626.entry.js +0 -4
  715. package/lib/duet/p-b8b0249f.system.entry.js +0 -4
  716. package/lib/duet/p-c0152624.system.entry.js +0 -4
  717. package/lib/duet/p-cb69ce4a.entry.js +0 -4
  718. package/lib/duet/p-cc1909de.js +0 -4
  719. package/lib/duet/p-cd8177fe.entry.js +0 -4
  720. package/lib/duet/p-d2681203.entry.js +0 -4
  721. package/lib/duet/p-d3069a7b.entry.js +0 -4
  722. package/lib/duet/p-d5d57b8f.system.entry.js +0 -4
  723. package/lib/duet/p-db14fdfd.system.entry.js +0 -4
  724. package/lib/duet/p-e3a8dcb3.system.entry.js +0 -4
  725. package/lib/duet/p-e96a5f8b.system.entry.js +0 -4
  726. package/lib/duet/p-f0dc0a5b.entry.js +0 -4
  727. package/lib/duet/p-f1d894da.system.entry.js +0 -4
  728. package/lib/duet/p-f3bf4d40.system.js +0 -4
  729. package/lib/duet/p-fb30fcb0.system.entry.js +0 -4
  730. package/lib/duet/p-fc0fe631.system.entry.js +0 -4
  731. package/lib/duet/p-fc4f175f.system.entry.js +0 -4
  732. package/lib/duet/p-ff815e47.entry.js +0 -4
  733. package/lib/esm/app-globals-41b37f11.js +0 -52
  734. package/lib/esm/keyboard-utils-5746e126.js +0 -20
  735. package/lib/esm-es5/app-globals-41b37f11.js +0 -4
  736. package/lib/esm-es5/focus-utils-d54af982.js +0 -4
  737. package/lib/esm-es5/keyboard-utils-5746e126.js +0 -4
  738. package/lib/esm-es5/teleport-4462e8c1.js +0 -4
@@ -1,6 +1,5 @@
1
- import { DuetTheme } from "../../common-types";
1
+ import { DuetIconSize, DuetTheme } from "../../common-types";
2
2
  import { ThemeableComponent } from "../../common/themeable-component";
3
- import { DuetIconSize } from "../duet-icon/duet-icon";
4
3
  export declare class DuetMenuBarLink implements ThemeableComponent {
5
4
  /**
6
5
  * Own Properties.
@@ -116,6 +116,8 @@ export declare class DuetRangeSlider implements ThemeableComponent, DuetNumericI
116
116
  * Component lifecycle events.
117
117
  */
118
118
  componentWillLoad(): void;
119
+ connectedCallback(): void;
120
+ disconnectedCallback(): void;
119
121
  /**
120
122
  * Component event handling.
121
123
  */
@@ -76,6 +76,7 @@ export declare class DuetSlideout implements ThemeableComponent {
76
76
  disconnectedCallback(): void;
77
77
  private getOpenPanel;
78
78
  private toggleMenu;
79
+ private bgOnClick;
79
80
  private onClick;
80
81
  /**
81
82
  * Component event handling.
@@ -61,6 +61,8 @@ export declare class DuetStep implements ThemeableComponent {
61
61
  duetStepClick: EventEmitter<DuetStepClickEvent>;
62
62
  handleStepClick(e: KeyboardEvent | MouseEvent): void;
63
63
  componentWillLoad(): void;
64
+ connectedCallback(): void;
65
+ disconnectedCallback(): void;
64
66
  /**
65
67
  * Programmatically shift focus to the step's heading.
66
68
  */
@@ -1,6 +1,5 @@
1
- import { DuetTheme } from "../../common-types";
1
+ import { DuetIconSize, DuetTheme } from "../../common-types";
2
2
  import { ThemeableComponent } from "../../common/themeable-component";
3
- import { DuetIconSize } from "../duet-icon/duet-icon";
4
3
  export declare class DuetSubmenuBarDropdown implements ThemeableComponent {
5
4
  /**
6
5
  * Own Properties.
@@ -1,6 +1,5 @@
1
- import { DuetTheme } from "../../common-types";
1
+ import { DuetIconSize, DuetTheme } from "../../common-types";
2
2
  import { ThemeableComponent } from "../../common/themeable-component";
3
- import { DuetIconSize } from "../duet-icon/duet-icon";
4
3
  export declare class DuetSubmenuBarLink implements ThemeableComponent {
5
4
  /**
6
5
  * Own Properties.
@@ -103,6 +103,8 @@ export declare class DuetToggle implements ThemeableComponent, InputComponent, A
103
103
  * Component lifecycle events.
104
104
  */
105
105
  componentWillLoad(): void;
106
+ connectedCallback(): void;
107
+ disconnectedCallback(): void;
106
108
  /**
107
109
  * Component event handling.
108
110
  */
@@ -10,7 +10,6 @@ export type DuetTooltipButtonEvent = {
10
10
  */
11
11
  export declare class DuetTooltipButton implements ThemeableComponent {
12
12
  private buttonElement;
13
- userIsTabbing: boolean;
14
13
  element: HTMLElement;
15
14
  label: string;
16
15
  accessibleLabel: string;
@@ -21,8 +20,8 @@ export declare class DuetTooltipButton implements ThemeableComponent {
21
20
  * Component lifecycle events.
22
21
  */
23
22
  componentWillLoad(): void;
24
- listenKeys(event: any): void;
25
- listenMouse(): void;
23
+ connectedCallback(): void;
24
+ disconnectedCallback(): void;
26
25
  setFocus(options?: FocusOptions): Promise<void>;
27
26
  /**
28
27
  * render() function.
@@ -10,7 +10,6 @@ export declare class DuetTooltipPopup implements ThemeableComponent {
10
10
  private contentEl;
11
11
  private buttonEl;
12
12
  private teleport;
13
- userIsTabbing: boolean;
14
13
  element: HTMLElement;
15
14
  /**
16
15
  * Theme of the tooltip.
@@ -29,8 +28,8 @@ export declare class DuetTooltipPopup implements ThemeableComponent {
29
28
  * Component lifecycle events.
30
29
  */
31
30
  componentWillLoad(): void;
32
- listenKeys(event: any): void;
33
- listenMouse(): void;
31
+ connectedCallback(): void;
32
+ disconnectedCallback(): void;
34
33
  getArrowElement(): Promise<HTMLElement>;
35
34
  getContentElement(): Promise<HTMLElement>;
36
35
  setFocusOnContentElement(): Promise<void>;
@@ -5,7 +5,7 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
- import { DuetCardHeadingLevel, DuetChoiceGroupBreakpoint, DuetChoiceType, DuetColor, DuetDirection, DuetGridBreakpoint, DuetHeadingLevel, DuetIconColor, DuetIconName, DuetLanguage, DuetLinkVariation, DuetListBreakpoint, DuetLocale, DuetMargin, DuetPadding, DuetStatus, DuetTableBreakpoint, DuetTableStickyDistance, DuetTableVariant, DuetTheme, DuetTooltipDirection, DuetVisualHeadingLevel, StatusMessage } from "./common-types";
8
+ import { DuetCardHeadingLevel, DuetChoiceGroupBreakpoint, DuetChoiceType, DuetColor, DuetDirection, DuetGridBreakpoint, DuetHeadingLevel, DuetIconColor, DuetIconName, DuetIconSize, DuetLanguage, DuetLinkVariation, DuetListBreakpoint, DuetLocale, DuetMargin, DuetPadding, DuetStatus, DuetTableBreakpoint, DuetTableStickyDistance, DuetTableVariant, DuetTheme, DuetTooltipDirection, DuetVisualHeadingLevel, StatusMessage } from "./common-types";
9
9
  import { DuetActionButtonEvent, DuetActionButtonIconSize } from "./components/duet-action-button/duet-action-button";
10
10
  import { DuetLangObject } from "./utils/language-utils";
11
11
  import { DuetAlertEvent } from "./components/duet-alert/duet-alert";
@@ -30,7 +30,6 @@ import { DuetGridAlignment, DuetGridDistribution, DuetGridMobileAlignment } from
30
30
  import { DuetHeaderAnalyticsEvent, DuetHeaderChangeEvent, DuetHeaderMobileNavToggleEvent, I18nText } from "./components/duet-header/duet-header";
31
31
  import { DuetHeadingWeight } from "./components/duet-heading/duet-heading";
32
32
  import { DuetHeroAnalyticsEvent, DuetHeroButtonData, DuetHeroClickEvent, DuetHeroIconSize, DuetHeroVariation } from "./components/duet-hero/duet-hero";
33
- import { DuetIconSize } from "./components/duet-icon/duet-icon";
34
33
  import { DuetInputComponentType, DuetInputEvent, DuetInputType, DuetVariationType } from "./components/duet-input/duet-input";
35
34
  import { DuetLabelMargin, DuetLabelSize } from "./components/duet-label/duet-label";
36
35
  import { DuetLayoutStickyDistance } from "./components/duet-layout/duet-layout";
@@ -65,7 +64,7 @@ import { DuetUploadErrorCode } from "./components/duet-upload/errorcodes.utils";
65
64
  import { DuetFileListItem, DuetUploadEvent as DuetUploadEvent1 } from "./components/duet-upload/duet-upload";
66
65
  import { ItemType } from "./components/duet-upload-item/duet-upload-item";
67
66
  import { EventEmitter } from "./stencil-public-runtime";
68
- export { DuetCardHeadingLevel, DuetChoiceGroupBreakpoint, DuetChoiceType, DuetColor, DuetDirection, DuetGridBreakpoint, DuetHeadingLevel, DuetIconColor, DuetIconName, DuetLanguage, DuetLinkVariation, DuetListBreakpoint, DuetLocale, DuetMargin, DuetPadding, DuetStatus, DuetTableBreakpoint, DuetTableStickyDistance, DuetTableVariant, DuetTheme, DuetTooltipDirection, DuetVisualHeadingLevel, StatusMessage } from "./common-types";
67
+ export { DuetCardHeadingLevel, DuetChoiceGroupBreakpoint, DuetChoiceType, DuetColor, DuetDirection, DuetGridBreakpoint, DuetHeadingLevel, DuetIconColor, DuetIconName, DuetIconSize, DuetLanguage, DuetLinkVariation, DuetListBreakpoint, DuetLocale, DuetMargin, DuetPadding, DuetStatus, DuetTableBreakpoint, DuetTableStickyDistance, DuetTableVariant, DuetTheme, DuetTooltipDirection, DuetVisualHeadingLevel, StatusMessage } from "./common-types";
69
68
  export { DuetActionButtonEvent, DuetActionButtonIconSize } from "./components/duet-action-button/duet-action-button";
70
69
  export { DuetLangObject } from "./utils/language-utils";
71
70
  export { DuetAlertEvent } from "./components/duet-alert/duet-alert";
@@ -90,7 +89,6 @@ export { DuetGridAlignment, DuetGridDistribution, DuetGridMobileAlignment } from
90
89
  export { DuetHeaderAnalyticsEvent, DuetHeaderChangeEvent, DuetHeaderMobileNavToggleEvent, I18nText } from "./components/duet-header/duet-header";
91
90
  export { DuetHeadingWeight } from "./components/duet-heading/duet-heading";
92
91
  export { DuetHeroAnalyticsEvent, DuetHeroButtonData, DuetHeroClickEvent, DuetHeroIconSize, DuetHeroVariation } from "./components/duet-hero/duet-hero";
93
- export { DuetIconSize } from "./components/duet-icon/duet-icon";
94
92
  export { DuetInputComponentType, DuetInputEvent, DuetInputType, DuetVariationType } from "./components/duet-input/duet-input";
95
93
  export { DuetLabelMargin, DuetLabelSize } from "./components/duet-label/duet-label";
96
94
  export { DuetLayoutStickyDistance } from "./components/duet-layout/duet-layout";
@@ -346,6 +344,10 @@ export namespace Components {
346
344
  * Icon
347
345
  */
348
346
  "icon": DuetIconName;
347
+ /**
348
+ * Icon size
349
+ */
350
+ "iconSize": DuetIconSize;
349
351
  /**
350
352
  * Theme
351
353
  */
@@ -6180,6 +6182,10 @@ declare namespace LocalJSX {
6180
6182
  * Icon
6181
6183
  */
6182
6184
  "icon"?: DuetIconName;
6185
+ /**
6186
+ * Icon size
6187
+ */
6188
+ "iconSize"?: DuetIconSize;
6183
6189
  /**
6184
6190
  * Theme
6185
6191
  */
@@ -13,3 +13,5 @@ export declare const isQuestionKey: (e: KeyboardEvent) => boolean;
13
13
  export declare const isEnterKey: (e: KeyboardEvent) => boolean;
14
14
  export declare const isKeyboardClick: (e: KeyboardEvent) => boolean;
15
15
  export declare const isNumber: (e: KeyboardEvent) => boolean;
16
+ export declare const subscribeTabbingChange: (component: any) => void;
17
+ export declare const unsubscribeTabbingChange: (component: any) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duetds/components",
3
- "version": "8.1.0",
3
+ "version": "8.1.2",
4
4
  "description": "This package includes Duet Design System Web Components and related utilities.",
5
5
  "bugs": {
6
6
  "email": "duetdesignsystem@lahitapiola.fi"
@@ -41,9 +41,9 @@
41
41
  "body-scroll-lock": "3.1.5"
42
42
  },
43
43
  "devDependencies": {
44
- "@duetds/fonts": "3.0.25",
45
- "@duetds/icons": "4.0.25",
46
- "@duetds/tokens": "4.0.25",
44
+ "@duetds/fonts": "3.0.27",
45
+ "@duetds/icons": "4.0.27",
46
+ "@duetds/tokens": "4.0.27",
47
47
  "@percy/cli": "1.21.0",
48
48
  "@rollup/plugin-replace": "5.0.2",
49
49
  "@stencil/core": "4.10.0",
@@ -71,5 +71,5 @@
71
71
  "collection": "lib/collection/collection-manifest.json",
72
72
  "es2015": "lib/esm/index.js",
73
73
  "es2017": "lib/esm/index.js",
74
- "gitHead": "5966f1d80908dc0cf59be334a00b34de651dba0e"
74
+ "gitHead": "80d50a258edc17c6d0594363a8302fc325cb1409"
75
75
  }
@@ -1,54 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- 'use strict';
5
-
6
- const setupLoggers = () => {
7
- {
8
- globalThis.ds = {
9
- log: () => {
10
- return;
11
- },
12
- warn: () => {
13
- return;
14
- },
15
- info: () => {
16
- return;
17
- },
18
- };
19
- }
20
- };
21
-
22
- const TAB_KEY = 9;
23
- const appGlobalScript = () => {
24
- function listenKeys(event) {
25
- if (event.keyCode === TAB_KEY) {
26
- var components = document.querySelectorAll(".hydrated");
27
- for (var i = 0; i < components.length; i++) {
28
- components[i].classList.add("user-is-tabbing");
29
- }
30
- if (typeof window !== "undefined") {
31
- window.removeEventListener("keydown", listenKeys);
32
- window.addEventListener("mousedown", listenMouse, false);
33
- }
34
- }
35
- }
36
- function listenMouse() {
37
- var components = document.querySelectorAll(".hydrated");
38
- for (var i = 0; i < components.length; i++) {
39
- components[i].classList.remove("user-is-tabbing");
40
- }
41
- if (typeof window !== "undefined") {
42
- window.removeEventListener("mousedown", listenMouse);
43
- window.addEventListener("keydown", listenKeys, false);
44
- }
45
- }
46
- if (typeof window !== "undefined") {
47
- window.addEventListener("keydown", listenKeys, false);
48
- }
49
- setupLoggers();
50
- };
51
-
52
- const globalScripts = appGlobalScript;
53
-
54
- exports.globalScripts = globalScripts;
@@ -1,36 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- 'use strict';
5
-
6
- const isArrowLeftKey = (e) => e.keyCode === 37;
7
- const isArrowUpKey = (e) => e.keyCode === 38;
8
- const isArrowRightKey = (e) => e.keyCode === 39;
9
- const isArrowDownKey = (e) => e.keyCode === 40;
10
- const isArrowKey = (e) => isArrowDownKey(e) || isArrowRightKey(e) || isArrowUpKey(e) || isArrowLeftKey(e);
11
- const isEscapeKey = (e) => e.key === "Escape" || e.key === "Esc" || e.keyCode === 27;
12
- const isTabKey = (e) => e.key === "Tab" || e.keyCode === 9;
13
- const isBackspaceKey = (e) => e.keyCode === 8;
14
- const isSpaceKey = (e) => e.key === "Space" || e.keyCode === 32;
15
- const isPlusKey = (e) => e.key === "+" || e.keyCode === 43;
16
- const isMinusKey = (e) => e.key === "-" || e.keyCode === 45;
17
- const isQuestionKey = (e) => e.key === "?";
18
- const isEnterKey = (e) => e.key === "Enter" || e.keyCode === 13;
19
- const isKeyboardClick = (e) => isEnterKey(e) || isSpaceKey(e);
20
- const isNumber = (e) => (e.keyCode >= 48 && e.keyCode <= 57) || (e.keyCode >= 96 && e.keyCode <= 105);
21
-
22
- exports.isArrowDownKey = isArrowDownKey;
23
- exports.isArrowKey = isArrowKey;
24
- exports.isArrowLeftKey = isArrowLeftKey;
25
- exports.isArrowRightKey = isArrowRightKey;
26
- exports.isArrowUpKey = isArrowUpKey;
27
- exports.isBackspaceKey = isBackspaceKey;
28
- exports.isEnterKey = isEnterKey;
29
- exports.isEscapeKey = isEscapeKey;
30
- exports.isKeyboardClick = isKeyboardClick;
31
- exports.isMinusKey = isMinusKey;
32
- exports.isNumber = isNumber;
33
- exports.isPlusKey = isPlusKey;
34
- exports.isQuestionKey = isQuestionKey;
35
- exports.isSpaceKey = isSpaceKey;
36
- exports.isTabKey = isTabKey;
@@ -1,20 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- const isArrowLeftKey = (e) => e.keyCode === 37;
5
- const isArrowUpKey = (e) => e.keyCode === 38;
6
- const isArrowRightKey = (e) => e.keyCode === 39;
7
- const isArrowDownKey = (e) => e.keyCode === 40;
8
- const isArrowKey = (e) => isArrowDownKey(e) || isArrowRightKey(e) || isArrowUpKey(e) || isArrowLeftKey(e);
9
- const isEscapeKey = (e) => e.key === "Escape" || e.key === "Esc" || e.keyCode === 27;
10
- const isTabKey = (e) => e.key === "Tab" || e.keyCode === 9;
11
- const isBackspaceKey = (e) => e.keyCode === 8;
12
- const isSpaceKey = (e) => e.key === "Space" || e.keyCode === 32;
13
- const isPlusKey = (e) => e.key === "+" || e.keyCode === 43;
14
- const isMinusKey = (e) => e.key === "-" || e.keyCode === 45;
15
- const isQuestionKey = (e) => e.key === "?";
16
- const isEnterKey = (e) => e.key === "Enter" || e.keyCode === 13;
17
- const isKeyboardClick = (e) => isEnterKey(e) || isSpaceKey(e);
18
- const isNumber = (e) => (e.keyCode >= 48 && e.keyCode <= 57) || (e.keyCode >= 96 && e.keyCode <= 105);
19
-
20
- export { isQuestionKey as a, isEscapeKey as b, isEnterKey as c, isTabKey as d, isArrowUpKey as e, isArrowDownKey as f, isSpaceKey as g, isArrowLeftKey as h, isKeyboardClick as i, isArrowRightKey as j, isBackspaceKey as k, isArrowKey as l, isNumber as m, isMinusKey as n, isPlusKey as o };
@@ -1,300 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-6f7dcc4d.js';
5
- import { i as inheritGlobalTheme } from './p-a58bd561.js';
6
- import { D as DuetStringsExternalDefaults, a as DuetStringsLoadingDefaults } from './p-4ab776f4.js';
7
- import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2e36d5bf.js';
8
- import { g as getColorByName } from './p-57a1cba9.js';
9
- import { d as defineCustomElement$3 } from './p-76b345c8.js';
10
- import { d as defineCustomElement$2 } from './p-d5fc2405.js';
11
- import { d as defineCustomElement$1 } from './p-d5f3b174.js';
12
-
13
- const duetButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.input-button){z-index:250}:host(.duet-small){margin-right:2px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small){width:auto}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;width:100%}.duet-button{padding:14px 27px 15px !important;-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:2px;border-radius:20rem;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){padding:9px 19px 10px !important;min-width:48px;font-size:0.875rem}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon{padding-left:48px !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon-right{padding-right:48px !important;padding-left:20px !important}.duet-theme-turva .duet-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:inline-block;margin:0 auto;pointer-events:none}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button.icon{padding-left:52px !important}.duet-button.icon-right{padding-right:52px !important;padding-left:28px !important}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{position:absolute;top:50%;left:-28px;display:flex;align-items:center;justify-content:center;width:16px;height:16px;margin:0 !important;transform:translateY(-50%)}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.right{right:-28px;left:auto}.duet-button .duet-button-icon.large{left:-32px;width:20px;height:20px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.large.right{right:-32px;left:auto}.duet-button .duet-button-icon.medium-small{left:-16px;width:10px;height:10px;padding-top:1px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.medium-small.right{right:-16px;left:auto}.duet-button .duet-button-icon.small{left:-16px;width:7px;height:7px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button .duet-button-icon.small.right{right:-16px;left:auto}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{border-color:rgb(225, 227, 230)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(228, 228, 230)}.duet-button.default:hover{border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(228, 228, 230) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover{background:rgb(148, 9, 37);border-color:rgb(148, 9, 37)}.duet-button.primary:focus,.duet-button.input-button-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-embedded{color:rgb(0, 41, 77) !important;background:transparent;border-color:rgb(0, 41, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(225, 227, 230) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.negative{color:rgb(0, 41, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(222, 35, 98);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(224, 42, 13);border-color:rgb(224, 42, 13)}.duet-button.destructive-primary:hover{background:#b21c4e;border-color:#b21c4e;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#b3220a}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(222, 35, 98) !important;background:rgb(255, 255, 255);border-color:rgb(222, 35, 98)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(224, 42, 13) !important;background:rgb(255, 255, 255);border-color:rgb(224, 42, 13)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b21c4e;border-color:#b21c4e}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#b3220a;border-color:#b3220a}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.icon{padding-left:20px !important}.duet-button.plain.icon.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.small{padding-left:20px !important}.duet-button.plain.icon.small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium-small{padding-left:20px !important}.duet-button.plain.icon.medium-small.icon-right{padding-right:20px !important;padding-left:0 !important}.duet-button.plain.icon.medium{padding-left:24px !important}.duet-button.plain.icon.medium.icon-right{padding-right:24px !important;padding-left:0 !important}.duet-button.plain.icon.large{padding-left:30px !important}.duet-button.plain.icon.large.icon-right{padding-right:30px !important;padding-left:0 !important}.duet-button.plain .duet-button-icon.left{left:-16.6666666667px !important}.duet-button.plain .duet-button-icon.left.medium{left:-24px !important}.duet-button.plain .duet-button-icon.left.large{left:-30px !important}.duet-button.plain .duet-button-icon.right{right:-16.6666666667px !important}.duet-button.plain .duet-button-icon.right.medium{right:-24px !important}.duet-button.plain .duet-button-icon.right.large{right:-30px !important}.duet-button.plain[disabled]{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(228, 228, 230) !important}.duet-button.plain:hover{color:rgb(0, 77, 128) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(148, 9, 37) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(228, 228, 230) !important}.duet-button.plain.duet-button-negative:hover{color:rgb(0, 119, 179) !important}.duet-theme-turva .duet-button.plain.duet-button-negative:hover{color:rgb(198, 12, 48) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px;border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.square{width:48px !important;min-width:auto !important;height:48px !important;padding:0 !important;font-size:1.25rem;border-color:rgb(225, 227, 230);border-width:1px;border-radius:8px}.duet-button.square.duet-button-is-small{width:28px !important;height:28px !important;padding:0 !important;font-size:1rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(228, 228, 230)}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(116, 116, 117) !important;cursor:not-allowed;background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}";
14
-
15
- const DuetButton = /*@__PURE__*/ proxyCustomElement(class DuetButton extends H {
16
- constructor() {
17
- super();
18
- this.__registerHost();
19
- this.__attachShadow();
20
- this.duetFocus = createEvent(this, "duetFocus", 7);
21
- this.duetBlur = createEvent(this, "duetBlur", 7);
22
- /**
23
- * Component event handling.
24
- */
25
- this.handleClick = (ev) => {
26
- // If this button wants to specifically submit a form
27
- // climb up the dom to see if we're in a <form>
28
- // and if so, then use JS to submit it.
29
- // To understand better, see: https://www.hjorthhansen.dev/shadow-dom-form-participation/
30
- if (!this.url && this.element.closest("form")) {
31
- ev.preventDefault();
32
- this.proxyButton.click();
33
- }
34
- };
35
- this.onFocus = () => {
36
- this.duetFocus.emit();
37
- };
38
- this.onBlur = () => {
39
- this.duetBlur.emit();
40
- };
41
- this.accessibleLabel = undefined;
42
- this.accessibleControls = undefined;
43
- this.accessiblePopup = "false";
44
- this.accessibleActiveDescendant = undefined;
45
- this.accessibleOwns = undefined;
46
- this.accessibleDescribedBy = undefined;
47
- this.accessibleDetails = undefined;
48
- this.accessibleLabelledBy = undefined;
49
- this.accessibleDescription = undefined;
50
- this.accessibleExpanded = undefined;
51
- this.accessiblePressed = undefined;
52
- this.loading = false;
53
- this.variation = "default";
54
- this.negative = false;
55
- this.theme = "";
56
- this.margin = "auto";
57
- this.padding = "auto";
58
- this.centerText = false;
59
- this.wrapping = "auto";
60
- this.expand = false;
61
- this.fixed = false;
62
- this.disabled = false;
63
- this.name = undefined;
64
- this.value = undefined;
65
- this.identifier = undefined;
66
- this.submit = false;
67
- this.external = false;
68
- this.language = getLanguage();
69
- this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
70
- this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
71
- this.accessibleLabelLoadingDefaults = DuetStringsLoadingDefaults;
72
- this.accessibleLabelLoading = getLocaleString(this.accessibleLabelLoadingDefaults);
73
- this.icon = "";
74
- this.color = "";
75
- this.iconRight = false;
76
- this.iconSize = "medium";
77
- this.size = "medium";
78
- this.iconOnly = false;
79
- this.url = undefined;
80
- }
81
- /**
82
- * Component lifecycle events.
83
- */
84
- componentWillLoad() {
85
- inheritGlobalTheme(this);
86
- if (this.url && this.external && this.icon) {
87
- console.warn("[DUET]: Button used as an external link will override any icon that is set");
88
- }
89
- }
90
- connectedCallback() {
91
- this.proxyButton = document.createElement("button");
92
- this.proxyButton.style.display = "none";
93
- this.syncToProxyButton();
94
- connectLanguageChangeObserver(this, [
95
- {
96
- prop: "accessibleLabelExternal",
97
- defaults: "accessibleLabelExternalDefaults",
98
- },
99
- {
100
- prop: "accessibleLabelLoading",
101
- defaults: "accessibleLabelLoadingDefaults",
102
- },
103
- ]);
104
- if (!this.url && this.element.closest("form")) {
105
- this.element.insertAdjacentElement("beforebegin", this.proxyButton);
106
- }
107
- }
108
- disconnectedCallback() {
109
- this.proxyButton.remove();
110
- this.proxyButton = null;
111
- disconnectLanguageChangeObserver(this);
112
- }
113
- syncToProxyButton() {
114
- this.proxyButton.type = this.getButtonType();
115
- this.proxyButton.disabled = this.disabled;
116
- // attributes should be removed in cases where name/value is not set
117
- if (this.name != null) {
118
- this.proxyButton.name = this.name;
119
- }
120
- else {
121
- this.proxyButton.removeAttribute("name");
122
- }
123
- if (this.value != null) {
124
- this.proxyButton.value = this.value;
125
- }
126
- else {
127
- this.proxyButton.removeAttribute("value");
128
- }
129
- }
130
- getButtonType() {
131
- return this.submit ? "submit" : "button";
132
- }
133
- getButtonIconSize() {
134
- switch (this.iconSize) {
135
- case "small":
136
- return "small";
137
- case "medium-small":
138
- return "medium-small";
139
- case "medium":
140
- return "medium";
141
- case "large":
142
- return "large";
143
- default:
144
- return "medium";
145
- }
146
- }
147
- /**
148
- * Sets focus on the specified `duet-button`. Use this method instead of the global
149
- * `button.focus()`.
150
- */
151
- async setFocus(options) {
152
- if (this.nativeButton) {
153
- this.nativeButton.focus(options);
154
- }
155
- }
156
- /**
157
- * render() function.
158
- * Always the last one in the class.
159
- */
160
- render() {
161
- var _a;
162
- const isExternalLink = this.external && this.url;
163
- // enforce consistency for external links
164
- const icon = isExternalLink ? "action-new-window" : this.icon;
165
- const iconRight = isExternalLink ? true : this.iconRight;
166
- const commonChildren = (h("span", { class: "duet-button-contents", style: { color: getColorByName(this.color) } }, icon && (h("div", { "aria-hidden": "true", class: {
167
- "duet-button-icon": true,
168
- left: !iconRight,
169
- right: iconRight,
170
- [this.getButtonIconSize()]: true,
171
- } }, h("duet-icon", { size: "auto", margin: "none", name: icon, color: "currentColor" }))), h("slot", null)));
172
- const commonProps = {
173
- onFocus: this.onFocus,
174
- onBlur: this.onBlur,
175
- ref: button => (this.nativeButton = button),
176
- id: this.identifier,
177
- class: {
178
- "duet-m-0": this.margin === "none",
179
- "duet-p-0": this.padding === "none",
180
- "duet-no-wrap": this.wrapping === "none",
181
- "duet-button": true,
182
- "duet-button-is-small": this.size === "small",
183
- "duet-button-icon-only": this.iconOnly,
184
- "duet-button-text-center": this.centerText,
185
- "duet-button-negative": this.negative || this.variation === "negative",
186
- [this.variation]: true,
187
- disabled: this.disabled,
188
- icon: !!icon,
189
- "icon-right": iconRight,
190
- [this.getButtonIconSize()]: true,
191
- },
192
- "aria-controls": this.accessibleControls,
193
- "aria-label": this.accessibleLabel,
194
- "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined,
195
- "aria-activedescendant": this.accessibleActiveDescendant,
196
- "aria-owns": this.accessibleOwns,
197
- "aria-describedby": this.accessibleDescribedBy,
198
- "aria-labelledby": this.accessibleLabelledBy,
199
- "aria-details": this.accessibleDetails,
200
- "aria-description": this.accessibleDescription,
201
- };
202
- return (h(Host, { onClick: this.handleClick, class: {
203
- "duet-m-0": this.margin === "none",
204
- "duet-small": this.size === "small",
205
- "duet-fixed": this.fixed,
206
- "duet-expand": this.expand,
207
- "input-button": (_a = this.variation) === null || _a === void 0 ? void 0 : _a.startsWith("input-button"),
208
- } }, h("div", { class: {
209
- "duet-button-container": true,
210
- "duet-button-is-loading": this.loading,
211
- "duet-theme-turva": this.theme === "turva",
212
- "duet-button-negative": this.negative || this.variation === "negative",
213
- [this.variation]: true,
214
- } }, this.url ? (h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && h("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && h("duet-spinner", { color: "currentColor" }))));
215
- }
216
- get element() { return this; }
217
- static get watchers() { return {
218
- "disabled": ["syncToProxyButton"],
219
- "submit": ["syncToProxyButton"],
220
- "value": ["syncToProxyButton"],
221
- "name": ["syncToProxyButton"]
222
- }; }
223
- static get style() { return duetButtonCss; }
224
- }, [1, "duet-button", {
225
- "accessibleLabel": [1, "accessible-label"],
226
- "accessibleControls": [1, "accessible-controls"],
227
- "accessiblePopup": [1, "accessible-popup"],
228
- "accessibleActiveDescendant": [1, "accessible-active-descendant"],
229
- "accessibleOwns": [1, "accessible-owns"],
230
- "accessibleDescribedBy": [1, "accessible-described-by"],
231
- "accessibleDetails": [1, "accessible-details"],
232
- "accessibleLabelledBy": [1, "accessible-labelled-by"],
233
- "accessibleDescription": [1, "accessible-description"],
234
- "accessibleExpanded": [4, "accessible-expanded"],
235
- "accessiblePressed": [4, "accessible-pressed"],
236
- "loading": [4],
237
- "variation": [1],
238
- "negative": [4],
239
- "theme": [1025],
240
- "margin": [1],
241
- "padding": [1],
242
- "centerText": [4, "center-text"],
243
- "wrapping": [1],
244
- "expand": [4],
245
- "fixed": [4],
246
- "disabled": [516],
247
- "name": [1],
248
- "value": [1],
249
- "identifier": [1],
250
- "submit": [516],
251
- "external": [4],
252
- "language": [1537],
253
- "accessibleLabelExternalDefaults": [1, "accessible-label-external-default"],
254
- "accessibleLabelExternal": [1025, "accessible-label-external"],
255
- "accessibleLabelLoadingDefaults": [1, "accessible-label-loading-default"],
256
- "accessibleLabelLoading": [1025, "accessible-label-loading"],
257
- "icon": [1],
258
- "color": [1],
259
- "iconRight": [4, "icon-right"],
260
- "iconSize": [1, "icon-size"],
261
- "size": [1],
262
- "iconOnly": [4, "icon-only"],
263
- "url": [513],
264
- "setFocus": [64]
265
- }, undefined, {
266
- "disabled": ["syncToProxyButton"],
267
- "submit": ["syncToProxyButton"],
268
- "value": ["syncToProxyButton"],
269
- "name": ["syncToProxyButton"]
270
- }]);
271
- function defineCustomElement() {
272
- if (typeof customElements === "undefined") {
273
- return;
274
- }
275
- const components = ["duet-button", "duet-icon", "duet-spinner", "duet-visually-hidden"];
276
- components.forEach(tagName => { switch (tagName) {
277
- case "duet-button":
278
- if (!customElements.get(tagName)) {
279
- customElements.define(tagName, DuetButton);
280
- }
281
- break;
282
- case "duet-icon":
283
- if (!customElements.get(tagName)) {
284
- defineCustomElement$3();
285
- }
286
- break;
287
- case "duet-spinner":
288
- if (!customElements.get(tagName)) {
289
- defineCustomElement$2();
290
- }
291
- break;
292
- case "duet-visually-hidden":
293
- if (!customElements.get(tagName)) {
294
- defineCustomElement$1();
295
- }
296
- break;
297
- } });
298
- }
299
-
300
- export { DuetButton as D, defineCustomElement as d };
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- const n=()=>{function n(d){if(9===d.keyCode){for(var w=document.querySelectorAll(".hydrated"),e=0;e<w.length;e++)w[e].classList.add("user-is-tabbing");"undefined"!=typeof window&&(window.removeEventListener("keydown",n),window.addEventListener("mousedown",o,!1))}}function o(){for(var d=document.querySelectorAll(".hydrated"),w=0;w<d.length;w++)d[w].classList.remove("user-is-tabbing");"undefined"!=typeof window&&(window.removeEventListener("mousedown",o),window.addEventListener("keydown",n,!1))}"undefined"!=typeof window&&window.addEventListener("keydown",n,!1),globalThis.ds={log:()=>{},warn:()=>{},info:()=>{}}};export{n as g}