@duetds/components 6.2.3 → 6.2.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 (566) hide show
  1. package/hydrate/index.d.ts +1 -1
  2. package/hydrate/index.js +2257 -4173
  3. package/lib/cjs/{dom-96576bce.js → dom-bcfa684c.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +14 -77
  5. package/lib/cjs/duet-alert.cjs.entry.js +10 -42
  6. package/lib/cjs/duet-badge.cjs.entry.js +1 -10
  7. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -10
  8. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -4
  9. package/lib/cjs/duet-button_2.cjs.entry.js +30 -119
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +4 -78
  11. package/lib/cjs/duet-card.cjs.entry.js +16 -55
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +21 -49
  13. package/lib/cjs/duet-choice_2.cjs.entry.js +51 -152
  14. package/lib/cjs/duet-collapsible.cjs.entry.js +8 -41
  15. package/lib/cjs/duet-combobox.cjs.entry.js +26 -50
  16. package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -9
  17. package/lib/cjs/duet-date-picker.cjs.entry.js +37 -108
  18. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -17
  19. package/lib/cjs/duet-editable-table_3.cjs.entry.js +163 -404
  20. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -10
  21. package/lib/cjs/duet-fieldset.cjs.entry.js +7 -13
  22. package/lib/cjs/duet-footer.cjs.entry.js +13 -42
  23. package/lib/cjs/duet-grid_2.cjs.entry.js +3 -43
  24. package/lib/cjs/duet-header_2.cjs.entry.js +56 -163
  25. package/lib/cjs/duet-hero.cjs.entry.js +15 -90
  26. package/lib/cjs/duet-icon.cjs.entry.js +4 -35
  27. package/lib/cjs/duet-input_2.cjs.entry.js +41 -115
  28. package/lib/cjs/duet-layout.cjs.entry.js +1 -24
  29. package/lib/cjs/duet-list_2.cjs.entry.js +1 -23
  30. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -10
  31. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +4 -13
  32. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -10
  33. package/lib/cjs/duet-menu-bar-menu-dropdown-link.cjs.entry.js +1 -16
  34. package/lib/cjs/duet-menu-bar-menu-dropdown.cjs.entry.js +4 -13
  35. package/lib/cjs/duet-menu-bar-menu-link.cjs.entry.js +1 -13
  36. package/lib/cjs/duet-menu-bar-menu.cjs.entry.js +4 -13
  37. package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -6
  38. package/lib/cjs/duet-modal.cjs.entry.js +4 -59
  39. package/lib/cjs/duet-multiselect.cjs.entry.js +18 -59
  40. package/lib/cjs/duet-nav.cjs.entry.js +2 -5
  41. package/lib/cjs/duet-notification_2.cjs.entry.js +15 -74
  42. package/lib/cjs/duet-number-input.cjs.entry.js +53 -142
  43. package/lib/cjs/duet-pagination_2.cjs.entry.js +51 -125
  44. package/lib/cjs/duet-progress.cjs.entry.js +4 -26
  45. package/lib/cjs/duet-radio_2.cjs.entry.js +36 -84
  46. package/lib/cjs/duet-range-slider.cjs.entry.js +21 -62
  47. package/lib/cjs/duet-scrollable_3.cjs.entry.js +25 -88
  48. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -7
  49. package/lib/cjs/duet-select.cjs.entry.js +25 -65
  50. package/lib/cjs/duet-step_2.cjs.entry.js +8 -34
  51. package/lib/cjs/duet-textarea.cjs.entry.js +31 -79
  52. package/lib/cjs/duet-toggle.cjs.entry.js +15 -38
  53. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -13
  54. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -17
  55. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -13
  56. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -4
  57. package/lib/cjs/duet-tooltip.cjs.entry.js +25 -78
  58. package/lib/cjs/duet-tray.cjs.entry.js +11 -53
  59. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +8 -29
  60. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  61. package/lib/cjs/duet.cjs.js +4 -4
  62. package/lib/cjs/{focus-utils-53db3623.js → focus-utils-18ea61a6.js} +1 -1
  63. package/lib/cjs/{index-1420909f.js → index-d2f05eb8.js} +1438 -1235
  64. package/lib/cjs/loader.cjs.js +3 -3
  65. package/lib/cjs/{shadow-css-38b9e725.js → shadow-css-1ea48714.js} +1 -1
  66. package/lib/collection/collection-manifest.json +2 -2
  67. package/lib/collection/common/a11y-component.js +0 -3
  68. package/lib/collection/common/form-components.js +0 -3
  69. package/lib/collection/components/duet-action-button/duet-action-button.js +403 -461
  70. package/lib/collection/components/duet-alert/duet-alert.js +259 -289
  71. package/lib/collection/components/duet-badge/duet-badge.js +84 -89
  72. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +96 -101
  73. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +47 -48
  74. package/lib/collection/components/duet-button/duet-button.js +838 -912
  75. package/lib/collection/components/duet-caption/duet-caption.js +96 -103
  76. package/lib/collection/components/duet-card/duet-card.js +381 -431
  77. package/lib/collection/components/duet-checkbox/duet-checkbox.js +476 -498
  78. package/lib/collection/components/duet-choice/duet-choice.js +731 -819
  79. package/lib/collection/components/duet-choice-group/duet-choice-group.js +282 -308
  80. package/lib/collection/components/duet-collapsible/duet-collapsible.js +208 -237
  81. package/lib/collection/components/duet-combobox/duet-combobox-select-single.js +1 -5
  82. package/lib/collection/components/duet-combobox/duet-combobox-select.js +1 -3
  83. package/lib/collection/components/duet-combobox/duet-combobox.css +47 -14
  84. package/lib/collection/components/duet-combobox/duet-combobox.js +257 -269
  85. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +77 -82
  86. package/lib/collection/components/duet-date-picker/date-picker-day.js +1 -3
  87. package/lib/collection/components/duet-date-picker/date-picker-input.js +1 -12
  88. package/lib/collection/components/duet-date-picker/date-picker-month.js +6 -12
  89. package/lib/collection/components/duet-date-picker/duet-date-picker.js +703 -795
  90. package/lib/collection/components/duet-divider/duet-divider.js +57 -57
  91. package/lib/collection/components/duet-editable-table/duet-editable-table.js +316 -381
  92. package/lib/collection/components/duet-empty-state/duet-empty-state.js +83 -90
  93. package/lib/collection/components/duet-fieldset/duet-fieldset.js +143 -153
  94. package/lib/collection/components/duet-footer/duet-footer.js +337 -378
  95. package/lib/collection/components/duet-grid/duet-grid.js +149 -162
  96. package/lib/collection/components/duet-grid-item/duet-grid-item.js +153 -164
  97. package/lib/collection/components/duet-header/duet-header-dropdown.js +11 -19
  98. package/lib/collection/components/duet-header/duet-header-hamburger.js +1 -5
  99. package/lib/collection/components/duet-header/duet-header-icon.js +1 -2
  100. package/lib/collection/components/duet-header/duet-header.js +872 -1023
  101. package/lib/collection/components/duet-heading/duet-heading.js +183 -200
  102. package/lib/collection/components/duet-hero/duet-hero.js +568 -660
  103. package/lib/collection/components/duet-icon/duet-icon.js +240 -263
  104. package/lib/collection/components/duet-input/duet-input.js +937 -1009
  105. package/lib/collection/components/duet-label/duet-label.js +95 -100
  106. package/lib/collection/components/duet-layout/duet-layout.js +163 -189
  107. package/lib/collection/components/duet-link/duet-link.js +204 -223
  108. package/lib/collection/components/duet-list/duet-list.js +181 -196
  109. package/lib/collection/components/duet-list-item/duet-list-item.js +12 -12
  110. package/lib/collection/components/duet-logo/duet-logo.js +171 -190
  111. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +45 -44
  112. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +100 -109
  113. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +75 -81
  114. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +72 -78
  115. package/lib/collection/components/duet-menu-bar-menu/duet-menu-bar-menu.js +100 -106
  116. package/lib/collection/components/duet-menu-bar-menu-dropdown/duet-menu-bar-menu-dropdown.js +100 -109
  117. package/lib/collection/components/duet-menu-bar-menu-dropdown-link/duet-menu-bar-menu-dropdown-link.js +110 -123
  118. package/lib/collection/components/duet-menu-bar-menu-link/duet-menu-bar-menu-link.js +89 -98
  119. package/lib/collection/components/duet-modal/duet-modal.js +466 -520
  120. package/lib/collection/components/duet-multiselect/duet-multiselect.js +411 -454
  121. package/lib/collection/components/duet-nav/duet-nav.js +78 -75
  122. package/lib/collection/components/duet-notification/duet-notification.js +201 -231
  123. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +284 -312
  124. package/lib/collection/components/duet-number-input/duet-number-input.js +851 -944
  125. package/lib/collection/components/duet-pagination/duet-pagination.js +374 -439
  126. package/lib/collection/components/duet-paragraph/duet-paragraph.js +140 -154
  127. package/lib/collection/components/duet-progress/duet-progress.js +223 -253
  128. package/lib/collection/components/duet-radio/duet-radio.js +519 -531
  129. package/lib/collection/components/duet-radio-group/duet-radio-group.js +282 -308
  130. package/lib/collection/components/duet-range-slider/duet-range-slider.js +468 -505
  131. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +187 -204
  132. package/lib/collection/components/duet-scrollable/duet-scrollable.js +98 -106
  133. package/lib/collection/components/duet-section-layout/duet-section-layout.js +58 -61
  134. package/lib/collection/components/duet-select/duet-select.js +565 -606
  135. package/lib/collection/components/duet-spacer/duet-spacer.js +77 -81
  136. package/lib/collection/components/duet-spinner/duet-spinner.js +99 -107
  137. package/lib/collection/components/duet-step/duet-step.js +206 -219
  138. package/lib/collection/components/duet-stepper/duet-stepper.js +148 -156
  139. package/lib/collection/components/duet-tab/duet-tab.js +95 -96
  140. package/lib/collection/components/duet-tab-group/duet-tab-group.js +367 -405
  141. package/lib/collection/components/duet-table/duet-table.js +144 -160
  142. package/lib/collection/components/duet-textarea/duet-textarea.js +694 -747
  143. package/lib/collection/components/duet-toggle/duet-toggle.js +388 -404
  144. package/lib/collection/components/duet-toolbar/duet-toolbar.js +38 -38
  145. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +123 -135
  146. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +93 -102
  147. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +89 -98
  148. package/lib/collection/components/duet-tooltip/duet-tooltip.js +349 -402
  149. package/lib/collection/components/duet-tray/duet-tray.js +235 -276
  150. package/lib/collection/components/duet-upload/duet-upload.js +1371 -1549
  151. package/lib/collection/components/duet-upload/upload-editable-item-error.js +1 -6
  152. package/lib/collection/components/duet-upload/upload-editable-item-inprogres.js +1 -6
  153. package/lib/collection/components/duet-upload/upload-editable-item-pending.js +1 -4
  154. package/lib/collection/components/duet-upload/upload-editable-item-success.js +5 -21
  155. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +137 -153
  156. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +12 -9
  157. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  158. package/lib/dist-custom-elements/duet-alert.js +1 -1
  159. package/lib/dist-custom-elements/duet-badge.js +1 -1
  160. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -11
  161. package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -5
  162. package/lib/dist-custom-elements/duet-button.js +1 -1
  163. package/lib/dist-custom-elements/duet-caption.js +1 -1
  164. package/lib/dist-custom-elements/duet-card.js +19 -58
  165. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  166. package/lib/dist-custom-elements/duet-choice-group.js +19 -49
  167. package/lib/dist-custom-elements/duet-choice.js +42 -113
  168. package/lib/dist-custom-elements/duet-collapsible.js +10 -43
  169. package/lib/dist-custom-elements/duet-combobox.js +29 -59
  170. package/lib/dist-custom-elements/duet-cookie-consent.js +8 -14
  171. package/lib/dist-custom-elements/duet-date-picker.js +45 -116
  172. package/lib/dist-custom-elements/duet-divider.js +1 -1
  173. package/lib/dist-custom-elements/duet-editable-table.js +1 -1
  174. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  175. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  176. package/lib/dist-custom-elements/duet-footer.js +16 -45
  177. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  178. package/lib/dist-custom-elements/duet-grid.js +1 -1
  179. package/lib/dist-custom-elements/duet-header.js +65 -152
  180. package/lib/dist-custom-elements/duet-heading.js +1 -1
  181. package/lib/dist-custom-elements/duet-hero.js +23 -98
  182. package/lib/dist-custom-elements/duet-icon.js +1 -1
  183. package/lib/dist-custom-elements/duet-input.js +1 -1
  184. package/lib/dist-custom-elements/duet-label.js +1 -1
  185. package/lib/dist-custom-elements/duet-layout.js +1 -24
  186. package/lib/dist-custom-elements/duet-link.js +1 -1
  187. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  188. package/lib/dist-custom-elements/duet-list.js +1 -1
  189. package/lib/dist-custom-elements/duet-logo.js +1 -1
  190. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -11
  191. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +5 -14
  192. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -11
  193. package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown-link.js +2 -17
  194. package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown.js +5 -14
  195. package/lib/dist-custom-elements/duet-menu-bar-menu-link.js +2 -14
  196. package/lib/dist-custom-elements/duet-menu-bar-menu.js +4 -13
  197. package/lib/dist-custom-elements/duet-menu-bar.js +5 -8
  198. package/lib/dist-custom-elements/duet-modal.js +10 -65
  199. package/lib/dist-custom-elements/duet-multiselect.js +25 -66
  200. package/lib/dist-custom-elements/duet-nav.js +2 -5
  201. package/lib/dist-custom-elements/duet-notification-drawer.js +18 -48
  202. package/lib/dist-custom-elements/duet-notification.js +2 -31
  203. package/lib/dist-custom-elements/duet-number-input.js +59 -148
  204. package/lib/dist-custom-elements/duet-pagination.js +51 -101
  205. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  206. package/lib/dist-custom-elements/duet-progress.js +1 -1
  207. package/lib/dist-custom-elements/duet-radio-group.js +19 -49
  208. package/lib/dist-custom-elements/duet-radio.js +23 -41
  209. package/lib/dist-custom-elements/duet-range-slider.js +23 -64
  210. package/lib/dist-custom-elements/duet-range-stepper.js +10 -34
  211. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  212. package/lib/dist-custom-elements/duet-section-layout.js +1 -7
  213. package/lib/dist-custom-elements/duet-select.js +1 -1
  214. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  215. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  216. package/lib/dist-custom-elements/duet-step.js +11 -20
  217. package/lib/dist-custom-elements/duet-stepper.js +2 -19
  218. package/lib/dist-custom-elements/duet-tab-group.js +26 -72
  219. package/lib/dist-custom-elements/duet-tab.js +3 -9
  220. package/lib/dist-custom-elements/duet-table.js +1 -1
  221. package/lib/dist-custom-elements/duet-textarea.js +38 -86
  222. package/lib/dist-custom-elements/duet-toggle.js +16 -39
  223. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -14
  224. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -18
  225. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -14
  226. package/lib/dist-custom-elements/duet-toolbar.js +1 -4
  227. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  228. package/lib/dist-custom-elements/duet-tray.js +14 -56
  229. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  230. package/lib/dist-custom-elements/duet-upload.js +165 -332
  231. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  232. package/lib/dist-custom-elements/index.d.ts +75 -5
  233. package/lib/dist-custom-elements/index.js +76 -1
  234. package/lib/dist-custom-elements/{p-7fca7185.js → p-0cc49790.js} +3 -25
  235. package/lib/dist-custom-elements/{p-c978c011.js → p-0ef384ca.js} +7 -30
  236. package/lib/dist-custom-elements/{p-d339505b.js → p-10feffd3.js} +1 -1
  237. package/lib/dist-custom-elements/{p-e68fe06d.js → p-14a163e6.js} +475 -272
  238. package/lib/dist-custom-elements/{p-f22c141f.js → p-25d4fffb.js} +1 -11
  239. package/lib/dist-custom-elements/{p-77e39f63.js → p-354f8a94.js} +3 -16
  240. package/lib/dist-custom-elements/{p-428f8fe3.js → p-37dd7faf.js} +2 -22
  241. package/lib/dist-custom-elements/{p-fff89409.js → p-4115062c.js} +2 -25
  242. package/lib/dist-custom-elements/{p-2481ab53.js → p-4447816d.js} +3 -20
  243. package/lib/dist-custom-elements/{p-9ed347f9.js → p-535ce3ec.js} +1 -1
  244. package/lib/dist-custom-elements/{p-33e00967.js → p-55325c49.js} +1 -1
  245. package/lib/dist-custom-elements/{p-f7d6c7c8.js → p-65ee8608.js} +8 -14
  246. package/lib/dist-custom-elements/{p-c2d5ef52.js → p-737dd784.js} +45 -111
  247. package/lib/dist-custom-elements/{p-c4d8cad0.js → p-738bd3c5.js} +1 -1
  248. package/lib/dist-custom-elements/{p-066e5253.js → p-7958dc0c.js} +30 -70
  249. package/lib/dist-custom-elements/{p-00d8bf80.js → p-82fec063.js} +2 -21
  250. package/lib/dist-custom-elements/{p-d01deae4.js → p-88d217a7.js} +2 -11
  251. package/lib/dist-custom-elements/{p-2320f4a6.js → p-9245c901.js} +2 -10
  252. package/lib/dist-custom-elements/{p-378842c8.js → p-94eae3e6.js} +1 -7
  253. package/lib/dist-custom-elements/{p-0b8f16f1.js → p-9986919d.js} +1 -1
  254. package/lib/dist-custom-elements/{p-d29accfb.js → p-9fef7d37.js} +21 -49
  255. package/lib/dist-custom-elements/{p-63ec7354.js → p-a1212d29.js} +1 -1
  256. package/lib/dist-custom-elements/{p-79d893c1.js → p-ad7292b3.js} +5 -26
  257. package/lib/dist-custom-elements/{p-37b3f58a.js → p-af2e8de4.js} +14 -46
  258. package/lib/dist-custom-elements/{p-a82f5ca7.js → p-b5ea480c.js} +9 -30
  259. package/lib/dist-custom-elements/{p-d84c65e4.js → p-bd64a84d.js} +6 -17
  260. package/lib/dist-custom-elements/{p-8184db82.js → p-cab1e8a0.js} +20 -71
  261. package/lib/dist-custom-elements/{p-fbcece41.js → p-d2402b45.js} +27 -80
  262. package/lib/dist-custom-elements/{p-d6e7df61.js → p-d34c42bc.js} +1 -10
  263. package/lib/dist-custom-elements/{p-204da43b.js → p-d628dd87.js} +17 -80
  264. package/lib/dist-custom-elements/{p-db21a6ca.js → p-db135ec9.js} +1 -13
  265. package/lib/{esm/shadow-css-501eda9a.js → dist-custom-elements/p-e2cd1c98.js} +1 -1
  266. package/lib/dist-custom-elements/{p-b9058029.js → p-e4a60f42.js} +8 -0
  267. package/lib/dist-custom-elements/{p-321dbb74.js → p-eb6fc032.js} +33 -109
  268. package/lib/dist-custom-elements/{p-d80f3be0.js → p-f7c0e5bf.js} +1 -23
  269. package/lib/dist-custom-elements/{p-bd533ea2.js → p-fddad5df.js} +5 -36
  270. package/lib/dist-custom-elements/{p-c1943ce9.js → p-fed8d27a.js} +5 -27
  271. package/lib/duet/duet.esm.js +1 -1
  272. package/lib/duet/duet.js +2 -1
  273. package/lib/duet/{p-8666ba38.system.entry.js → p-00ee31e2.system.entry.js} +1 -1
  274. package/lib/duet/{p-05a8d445.entry.js → p-0169eb09.entry.js} +1 -1
  275. package/lib/duet/{p-4e3d3e94.system.entry.js → p-0236fc28.system.entry.js} +1 -1
  276. package/lib/duet/p-0285e5d3.entry.js +4 -0
  277. package/lib/duet/{p-77bdfe6e.system.entry.js → p-028da443.system.entry.js} +2 -2
  278. package/lib/duet/{p-0d0beb65.system.entry.js → p-0426e86f.system.entry.js} +1 -1
  279. package/lib/duet/{p-c7f47570.system.entry.js → p-06c01b8a.system.entry.js} +1 -1
  280. package/lib/duet/{p-3b31184e.js → p-07970d29.js} +0 -0
  281. package/lib/duet/{p-2a493a0e.system.entry.js → p-09e9e6e0.system.entry.js} +2 -2
  282. package/lib/duet/p-0aae8ebf.entry.js +4 -0
  283. package/lib/duet/{p-c6df2736.system.entry.js → p-0c519c1f.system.entry.js} +1 -1
  284. package/lib/duet/p-0d218007.entry.js +4 -0
  285. package/lib/duet/p-0d6723f5.entry.js +4 -0
  286. package/lib/duet/p-0e1a3c6d.entry.js +4 -0
  287. package/lib/duet/{p-f9d7e274.entry.js → p-0f8e4b6a.entry.js} +1 -1
  288. package/lib/duet/p-0fc0e90e.entry.js +4 -0
  289. package/lib/duet/{p-8d88fa17.system.entry.js → p-10b1ea3e.system.entry.js} +2 -2
  290. package/lib/duet/{p-651dcf55.entry.js → p-1184c37e.entry.js} +1 -1
  291. package/lib/duet/{p-9a47beb4.entry.js → p-11c58a6b.entry.js} +1 -1
  292. package/lib/duet/p-14cca806.entry.js +4 -0
  293. package/lib/duet/{p-199f6d43.system.entry.js → p-14e93ad6.system.entry.js} +1 -1
  294. package/lib/duet/{p-d90afed1.system.entry.js → p-16b61523.system.entry.js} +2 -2
  295. package/lib/duet/p-16cbd476.entry.js +4 -0
  296. package/lib/duet/{p-6db3d0a6.entry.js → p-1833941e.entry.js} +1 -1
  297. package/lib/duet/{p-2b8921d9.system.entry.js → p-1a45eddb.system.entry.js} +1 -1
  298. package/lib/duet/{p-2fc85d76.entry.js → p-1b63c3bf.entry.js} +1 -1
  299. package/lib/duet/p-1e442975.entry.js +4 -0
  300. package/lib/duet/{p-69a5e4b8.entry.js → p-27a1c897.entry.js} +1 -1
  301. package/lib/duet/{p-f8469405.entry.js → p-2c5b761d.entry.js} +1 -1
  302. package/lib/duet/{p-70b6f442.entry.js → p-2cbe5fe4.entry.js} +1 -1
  303. package/lib/duet/{p-ed9b4b98.system.entry.js → p-2f0f8b9e.system.entry.js} +2 -2
  304. package/lib/duet/{p-28bd21cc.system.entry.js → p-326d3440.system.entry.js} +1 -1
  305. package/lib/duet/{p-e260059f.system.entry.js → p-394efc25.system.entry.js} +1 -1
  306. package/lib/duet/{p-8cc1adec.system.entry.js → p-400f8e9d.system.entry.js} +2 -2
  307. package/lib/duet/{p-87f97244.system.entry.js → p-43750071.system.entry.js} +1 -1
  308. package/lib/duet/{p-b0c1475a.entry.js → p-45b0469f.entry.js} +1 -1
  309. package/lib/duet/p-4644616b.entry.js +4 -0
  310. package/lib/duet/{p-4cbce73e.entry.js → p-4c96e54d.entry.js} +1 -1
  311. package/lib/duet/{p-bd09268f.system.entry.js → p-4d1a5b9e.system.entry.js} +1 -1
  312. package/lib/duet/{p-3dbc8279.system.entry.js → p-4e2db855.system.entry.js} +1 -1
  313. package/lib/duet/{p-bfe342b1.system.entry.js → p-5214682e.system.entry.js} +1 -1
  314. package/lib/duet/{p-fb35b871.system.entry.js → p-575e4d53.system.entry.js} +1 -1
  315. package/lib/duet/{p-08366ae7.system.entry.js → p-58de4753.system.entry.js} +1 -1
  316. package/lib/duet/p-592bcdd4.entry.js +4 -0
  317. package/lib/duet/{p-865a8528.system.entry.js → p-5b00d0cf.system.entry.js} +1 -1
  318. package/lib/duet/p-5bffb89f.entry.js +4 -0
  319. package/lib/duet/{p-b8959b6f.entry.js → p-5e134670.entry.js} +1 -1
  320. package/lib/duet/p-60c70efa.entry.js +4 -0
  321. package/lib/duet/p-61f8dd7f.system.entry.js +4 -0
  322. package/lib/duet/{p-89f143a3.system.entry.js → p-63cb7308.system.entry.js} +1 -1
  323. package/lib/duet/p-696d99ff.system.entry.js +4 -0
  324. package/lib/duet/p-6999702a.js +5 -0
  325. package/lib/duet/p-6db0f8c0.entry.js +4 -0
  326. package/lib/duet/{p-37cb3159.system.entry.js → p-6f2e72e2.system.entry.js} +2 -2
  327. package/lib/duet/{p-b668b67c.system.js → p-73900354.system.js} +0 -0
  328. package/lib/duet/{p-325e4d06.system.entry.js → p-758c0528.system.entry.js} +2 -2
  329. package/lib/duet/{p-63b28fee.system.entry.js → p-79c8d35c.system.entry.js} +1 -1
  330. package/lib/duet/{p-1e8f0b15.entry.js → p-7ccf8ef9.entry.js} +1 -1
  331. package/lib/duet/{p-f71d7d3b.system.entry.js → p-7e67fedc.system.entry.js} +1 -1
  332. package/lib/duet/{p-f60a660e.system.entry.js → p-7fcbf80a.system.entry.js} +1 -1
  333. package/lib/duet/{p-d509251c.entry.js → p-81313736.entry.js} +1 -1
  334. package/lib/duet/{p-2dde5eda.entry.js → p-81e66ef1.entry.js} +1 -1
  335. package/lib/duet/{p-70473bcc.js → p-8512b463.js} +1 -1
  336. package/lib/duet/p-855f9e2a.system.entry.js +4 -0
  337. package/lib/duet/{p-2c9b4b54.entry.js → p-8681c6e0.entry.js} +1 -1
  338. package/lib/duet/p-89bf7be7.entry.js +4 -0
  339. package/lib/duet/{p-feec6a21.system.entry.js → p-8a47d599.system.entry.js} +1 -1
  340. package/lib/duet/{p-e0733d78.entry.js → p-8f6cf5d1.entry.js} +1 -1
  341. package/lib/duet/{p-01e4ad70.system.entry.js → p-90ea4509.system.entry.js} +2 -2
  342. package/lib/duet/p-9101f9ed.entry.js +4 -0
  343. package/lib/duet/{p-15f1db88.system.entry.js → p-914c3280.system.entry.js} +1 -1
  344. package/lib/duet/{p-c400d01c.system.entry.js → p-948d492d.system.entry.js} +2 -2
  345. package/lib/duet/{p-17210d14.system.entry.js → p-9a14ca19.system.entry.js} +1 -1
  346. package/lib/duet/{p-cfa9d7df.system.entry.js → p-9f60735a.system.entry.js} +1 -1
  347. package/lib/duet/p-a8d942ea.entry.js +4 -0
  348. package/lib/duet/{p-a0c38881.entry.js → p-ac4c233b.entry.js} +1 -1
  349. package/lib/duet/p-acea52f5.entry.js +4 -0
  350. package/lib/duet/{p-0840d514.system.entry.js → p-b180a4e2.system.entry.js} +1 -1
  351. package/lib/duet/{p-737f77f5.system.entry.js → p-b2688afc.system.entry.js} +1 -1
  352. package/lib/duet/p-b293c2ff.entry.js +4 -0
  353. package/lib/duet/{p-0c9c6b33.entry.js → p-b2c913ea.entry.js} +1 -1
  354. package/lib/duet/p-b3046425.entry.js +4 -0
  355. package/lib/duet/p-b5dc8a8f.system.entry.js +4 -0
  356. package/lib/duet/{p-162a19c4.system.entry.js → p-b821b721.system.entry.js} +1 -1
  357. package/lib/duet/p-bc2c1014.entry.js +4 -0
  358. package/lib/duet/{p-0de9cdff.system.entry.js → p-bcd4a927.system.entry.js} +1 -1
  359. package/lib/duet/p-c12ecca9.entry.js +4 -0
  360. package/lib/duet/p-c17cae49.entry.js +4 -0
  361. package/lib/duet/p-c2c48bb2.entry.js +4 -0
  362. package/lib/duet/{p-dd952c1a.system.entry.js → p-c3a0505e.system.entry.js} +1 -1
  363. package/lib/duet/{p-ea23276d.entry.js → p-c41bfab0.entry.js} +1 -1
  364. package/lib/duet/{p-08118dc1.entry.js → p-c4932f05.entry.js} +1 -1
  365. package/lib/duet/{p-f97c3b7c.entry.js → p-c5e54be9.entry.js} +1 -1
  366. package/lib/duet/p-cf11b05b.entry.js +4 -0
  367. package/lib/duet/{p-4c6f9fb6.system.entry.js → p-d0f1d25f.system.entry.js} +1 -1
  368. package/lib/duet/p-d16434dc.entry.js +4 -0
  369. package/lib/duet/{p-8aea5243.entry.js → p-d2ef832d.entry.js} +1 -1
  370. package/lib/duet/{p-d31ee0d6.system.js → p-d58991bc.system.js} +1 -1
  371. package/lib/duet/p-d971be46.entry.js +4 -0
  372. package/lib/duet/{p-ff46ec81.system.js → p-da0d4ee3.system.js} +0 -0
  373. package/lib/duet/p-da803459.entry.js +4 -0
  374. package/lib/duet/{p-06799688.system.entry.js → p-daa20c36.system.entry.js} +1 -1
  375. package/lib/duet/{p-e3e94989.entry.js → p-dbddb719.entry.js} +1 -1
  376. package/lib/duet/{p-abb8e55c.system.entry.js → p-dc18b76c.system.entry.js} +1 -1
  377. package/lib/duet/p-dc51f077.entry.js +4 -0
  378. package/lib/duet/{p-b3e9368c.system.entry.js → p-dd676f12.system.entry.js} +1 -1
  379. package/lib/duet/{p-cc2b0098.system.entry.js → p-dfcbf758.system.entry.js} +1 -1
  380. package/lib/duet/{p-d4c234ed.js → p-e2cd1c98.js} +0 -0
  381. package/lib/duet/{p-185aae73.system.entry.js → p-e621c31c.system.entry.js} +1 -1
  382. package/lib/duet/p-e71a6257.system.js +5 -0
  383. package/lib/duet/{p-14ff22af.system.entry.js → p-ea8e5649.system.entry.js} +2 -2
  384. package/lib/duet/{p-5b11d0bb.system.entry.js → p-ebc09697.system.entry.js} +1 -1
  385. package/lib/duet/{p-97dd0fb2.entry.js → p-ec635593.entry.js} +1 -1
  386. package/lib/duet/p-ef3f4213.entry.js +4 -0
  387. package/lib/duet/{p-66c5896b.system.entry.js → p-f01d234f.system.entry.js} +1 -1
  388. package/lib/duet/p-f150740b.entry.js +4 -0
  389. package/lib/duet/{p-d440608a.system.entry.js → p-f2bcb922.system.entry.js} +1 -1
  390. package/lib/duet/{p-d31cb05e.entry.js → p-f3d0d889.entry.js} +1 -1
  391. package/lib/duet/{p-9da8a731.system.entry.js → p-f6712ec8.system.entry.js} +1 -1
  392. package/lib/duet/{p-6cc95db3.system.entry.js → p-f678edf7.system.entry.js} +1 -1
  393. package/lib/duet/p-f7453c05.system.entry.js +4 -0
  394. package/lib/duet/{p-6aa6ec86.system.js → p-f9133dc5.system.js} +1 -1
  395. package/lib/duet/{p-532dff7f.system.entry.js → p-f9afad76.system.entry.js} +1 -1
  396. package/lib/esm/{dom-3dbcb0d8.js → dom-4d9c03f4.js} +1 -1
  397. package/lib/esm/duet-action-button.entry.js +14 -77
  398. package/lib/esm/duet-alert.entry.js +10 -42
  399. package/lib/esm/duet-badge.entry.js +1 -10
  400. package/lib/esm/duet-breadcrumb.entry.js +2 -10
  401. package/lib/esm/duet-breadcrumbs.entry.js +2 -4
  402. package/lib/esm/duet-button_2.entry.js +30 -119
  403. package/lib/esm/duet-caption_4.entry.js +4 -78
  404. package/lib/esm/duet-card.entry.js +16 -55
  405. package/lib/esm/duet-checkbox.entry.js +21 -49
  406. package/lib/esm/duet-choice_2.entry.js +51 -152
  407. package/lib/esm/duet-collapsible.entry.js +8 -41
  408. package/lib/esm/duet-combobox.entry.js +26 -50
  409. package/lib/esm/duet-cookie-consent.entry.js +3 -9
  410. package/lib/esm/duet-date-picker.entry.js +37 -108
  411. package/lib/esm/duet-divider_2.entry.js +1 -17
  412. package/lib/esm/duet-editable-table_3.entry.js +163 -404
  413. package/lib/esm/duet-empty-state.entry.js +1 -10
  414. package/lib/esm/duet-fieldset.entry.js +7 -13
  415. package/lib/esm/duet-footer.entry.js +13 -42
  416. package/lib/esm/duet-grid_2.entry.js +3 -43
  417. package/lib/esm/duet-header_2.entry.js +56 -163
  418. package/lib/esm/duet-hero.entry.js +15 -90
  419. package/lib/esm/duet-icon.entry.js +4 -35
  420. package/lib/esm/duet-input_2.entry.js +41 -115
  421. package/lib/esm/duet-layout.entry.js +1 -24
  422. package/lib/esm/duet-list_2.entry.js +1 -23
  423. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -10
  424. package/lib/esm/duet-menu-bar-dropdown.entry.js +4 -13
  425. package/lib/esm/duet-menu-bar-link.entry.js +1 -10
  426. package/lib/esm/duet-menu-bar-menu-dropdown-link.entry.js +1 -16
  427. package/lib/esm/duet-menu-bar-menu-dropdown.entry.js +4 -13
  428. package/lib/esm/duet-menu-bar-menu-link.entry.js +1 -13
  429. package/lib/esm/duet-menu-bar-menu.entry.js +4 -13
  430. package/lib/esm/duet-menu-bar.entry.js +3 -6
  431. package/lib/esm/duet-modal.entry.js +4 -59
  432. package/lib/esm/duet-multiselect.entry.js +18 -59
  433. package/lib/esm/duet-nav.entry.js +2 -5
  434. package/lib/esm/duet-notification_2.entry.js +15 -74
  435. package/lib/esm/duet-number-input.entry.js +53 -142
  436. package/lib/esm/duet-pagination_2.entry.js +51 -125
  437. package/lib/esm/duet-progress.entry.js +4 -26
  438. package/lib/esm/duet-radio_2.entry.js +36 -84
  439. package/lib/esm/duet-range-slider.entry.js +21 -62
  440. package/lib/esm/duet-scrollable_3.entry.js +25 -88
  441. package/lib/esm/duet-section-layout.entry.js +1 -7
  442. package/lib/esm/duet-select.entry.js +25 -65
  443. package/lib/esm/duet-step_2.entry.js +8 -34
  444. package/lib/esm/duet-textarea.entry.js +31 -79
  445. package/lib/esm/duet-toggle.entry.js +15 -38
  446. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -13
  447. package/lib/esm/duet-toolbar-dropdown.entry.js +5 -17
  448. package/lib/esm/duet-toolbar-link.entry.js +1 -13
  449. package/lib/esm/duet-toolbar.entry.js +1 -4
  450. package/lib/esm/duet-tooltip.entry.js +25 -78
  451. package/lib/esm/duet-tray.entry.js +11 -53
  452. package/lib/esm/duet-upload-aria-status.entry.js +8 -29
  453. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  454. package/lib/esm/duet.js +4 -4
  455. package/lib/esm/{focus-utils-9787b47f.js → focus-utils-abaea1e6.js} +1 -1
  456. package/lib/esm/{index-8469ee1a.js → index-4df60498.js} +1438 -1235
  457. package/lib/esm/loader.js +3 -3
  458. package/lib/esm/polyfills/css-shim.js +1 -1
  459. package/lib/{dist-custom-elements/p-d4c234ed.js → esm/shadow-css-a011f1fe.js} +1 -1
  460. package/lib/esm-es5/{dom-3dbcb0d8.js → dom-4d9c03f4.js} +0 -0
  461. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  462. package/lib/esm-es5/duet-alert.entry.js +1 -1
  463. package/lib/esm-es5/duet-badge.entry.js +1 -1
  464. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  465. package/lib/esm-es5/duet-breadcrumbs.entry.js +2 -2
  466. package/lib/esm-es5/duet-button_2.entry.js +2 -2
  467. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  468. package/lib/esm-es5/duet-card.entry.js +1 -1
  469. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  470. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  471. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  472. package/lib/esm-es5/duet-combobox.entry.js +2 -2
  473. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  474. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  475. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  476. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  477. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  478. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  479. package/lib/esm-es5/duet-footer.entry.js +2 -2
  480. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  481. package/lib/esm-es5/duet-header_2.entry.js +2 -2
  482. package/lib/esm-es5/duet-hero.entry.js +1 -1
  483. package/lib/esm-es5/duet-icon.entry.js +2 -2
  484. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  485. package/lib/esm-es5/duet-layout.entry.js +1 -1
  486. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  487. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  488. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  489. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  490. package/lib/esm-es5/duet-menu-bar-menu-dropdown-link.entry.js +1 -1
  491. package/lib/esm-es5/duet-menu-bar-menu-dropdown.entry.js +1 -1
  492. package/lib/esm-es5/duet-menu-bar-menu-link.entry.js +1 -1
  493. package/lib/esm-es5/duet-menu-bar-menu.entry.js +1 -1
  494. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  495. package/lib/esm-es5/duet-modal.entry.js +2 -2
  496. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  497. package/lib/esm-es5/duet-nav.entry.js +1 -1
  498. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  499. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  500. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  501. package/lib/esm-es5/duet-progress.entry.js +1 -1
  502. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  503. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  504. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  505. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  506. package/lib/esm-es5/duet-select.entry.js +2 -2
  507. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  508. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  509. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  510. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  511. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  512. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  513. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  514. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  515. package/lib/esm-es5/duet-tray.entry.js +1 -1
  516. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  517. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  518. package/lib/esm-es5/duet.js +1 -1
  519. package/lib/esm-es5/focus-utils-abaea1e6.js +4 -0
  520. package/lib/esm-es5/index-4df60498.js +5 -0
  521. package/lib/esm-es5/loader.js +1 -1
  522. package/lib/esm-es5/{shadow-css-501eda9a.js → shadow-css-a011f1fe.js} +0 -0
  523. package/lib/loader/package.json +1 -0
  524. package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -2
  525. package/lib/types/stencil-public-runtime.d.ts +20 -4
  526. package/package.json +8 -11
  527. package/lib/duet/p-096f20dc.js +0 -5
  528. package/lib/duet/p-186f5c04.entry.js +0 -4
  529. package/lib/duet/p-1a48148d.entry.js +0 -4
  530. package/lib/duet/p-1a6a0dc6.entry.js +0 -4
  531. package/lib/duet/p-1f224365.entry.js +0 -4
  532. package/lib/duet/p-2b2e62d6.entry.js +0 -4
  533. package/lib/duet/p-2e356385.entry.js +0 -4
  534. package/lib/duet/p-400766d6.entry.js +0 -4
  535. package/lib/duet/p-410af698.entry.js +0 -4
  536. package/lib/duet/p-487f2417.system.entry.js +0 -4
  537. package/lib/duet/p-5f15acee.system.entry.js +0 -4
  538. package/lib/duet/p-6d7416bc.entry.js +0 -4
  539. package/lib/duet/p-71f7a269.entry.js +0 -4
  540. package/lib/duet/p-74c4587a.system.entry.js +0 -4
  541. package/lib/duet/p-779adc11.system.entry.js +0 -4
  542. package/lib/duet/p-7b1ed7b7.entry.js +0 -4
  543. package/lib/duet/p-7c527761.entry.js +0 -4
  544. package/lib/duet/p-82ed2eea.entry.js +0 -4
  545. package/lib/duet/p-8b328e9d.entry.js +0 -4
  546. package/lib/duet/p-90f9c2b6.entry.js +0 -4
  547. package/lib/duet/p-92c0d1a1.entry.js +0 -4
  548. package/lib/duet/p-9c8cd6d0.system.entry.js +0 -4
  549. package/lib/duet/p-9db96010.entry.js +0 -4
  550. package/lib/duet/p-a1191c7c.entry.js +0 -4
  551. package/lib/duet/p-a27830b0.entry.js +0 -4
  552. package/lib/duet/p-b0d7a24e.entry.js +0 -4
  553. package/lib/duet/p-b3237285.entry.js +0 -4
  554. package/lib/duet/p-bc2b6d90.entry.js +0 -4
  555. package/lib/duet/p-bd1ca1bf.entry.js +0 -4
  556. package/lib/duet/p-c634ea77.entry.js +0 -4
  557. package/lib/duet/p-c686bbb6.entry.js +0 -4
  558. package/lib/duet/p-cfee81ae.system.js +0 -5
  559. package/lib/duet/p-d1eeb040.entry.js +0 -4
  560. package/lib/duet/p-d35bb3c7.entry.js +0 -4
  561. package/lib/duet/p-e6162450.entry.js +0 -4
  562. package/lib/duet/p-ed0e37f0.entry.js +0 -4
  563. package/lib/duet/p-f5863365.entry.js +0 -4
  564. package/lib/duet/p-fcb2e0dc.entry.js +0 -4
  565. package/lib/esm-es5/focus-utils-9787b47f.js +0 -4
  566. package/lib/esm-es5/index-8469ee1a.js +0 -5
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { Component, Element, Event, h, Listen, Method, Prop, State, Watch } from "@stencil/core";
4
+ import { h } from "@stencil/core";
5
5
  import { disableBodyScroll, enableBodyScroll } from "body-scroll-lock/lib/bodyScrollLock.es6.js";
6
6
  import { inheritGlobalTheme } from "../../common";
7
7
  import { createID } from "../../utils/create-id";
@@ -39,81 +39,26 @@ export class DuetModal {
39
39
  }, 100);
40
40
  }
41
41
  };
42
- /**
43
- * State() variables
44
- * Inlined decorator, alphabetical order.
45
- */
46
42
  this.open = false;
47
- /**
48
- * The currently active language. This setting also changes the logo to match
49
- * the chosen language.
50
- * @deprecated this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing
51
- * @default "fi"
52
- */
53
43
  this.language = getLanguage();
54
- /**
55
- * Defaults for accessibleCloseLabel
56
- * @default {fi: "Sulje ikkuna", sv: "Stäng fönstret", en: "Close the dialog", }
57
- */
58
44
  this.accessibleCloseLabelDefaults = {
59
45
  fi: "Sulje ikkuna",
60
46
  sv: "Stäng fönstret",
61
47
  en: "Close the dialog",
62
48
  };
63
- /**
64
- * Adds accessible label for the close icon that is only shown for screen
65
- * readers. This property is always required to create an accessibly interface!
66
- * Swedish translation for this property is “Stäng fönstret”.
67
- * @default {fi: "Sulje ikkuna", sv: "Stäng fönstret", en: "Close the dialog", }
68
- */
69
49
  this.accessibleCloseLabel = getLocaleString(this.accessibleCloseLabelDefaults, this.language);
70
- /**
71
- * Size of the modal window.
72
- */
73
50
  this.size = "medium";
74
- /**
75
- * Details of the component
76
- */
51
+ this.accessibleDescribedBy = undefined;
52
+ this.accessibleLabelledBy = undefined;
77
53
  this.accessibleDetails = undefined;
78
- /**
79
- * Aria description the button
80
- */
81
54
  this.accessibleDescription = undefined;
82
- /**
83
- * Size of the modal window.
84
- */
85
55
  this.gutterSize = "medium";
86
- /**
87
- * Theme of the modal.
88
- */
89
56
  this.theme = "";
90
- /**
91
- * Accessible heading displayed in the modal. The modal marks this as the
92
- * label of the modal when used. This helps screen reader users which is
93
- * why this is a required property.
94
- */
95
57
  this.heading = "";
96
- /**
97
- * Accessible heading size
98
- */
99
58
  this.headingLevel = "h3";
100
- /**
101
- * Icon to display above the heading (from Duet’s icons). Example:
102
- * "form-location"
103
- */
104
59
  this.icon = "";
105
- /**
106
- * Custom color to be used for the icon, as a design token entered in camelCase
107
- * or kebab-case. Example: "primary".
108
- */
109
60
  this.color = "";
110
- /**
111
- * Use this property when you need to have the modal dialog initially active.
112
- */
113
61
  this.active = false;
114
- /**
115
- * Use this property when you want the modal to close when clicked outside of modal.
116
- */
117
62
  this.closeOnBlur = false;
118
63
  }
119
64
  openChanged() {
@@ -224,485 +169,486 @@ export class DuetModal {
224
169
  "duet-modal-overlay": true,
225
170
  "duet-theme-turva": this.theme === "turva",
226
171
  "duet-modal-active": this.open,
227
- } },
228
- h(FocusGuard, { moveFocusTo: this.buttonEl }),
229
- h("div", { class: {
230
- "duet-modal-inner": true,
231
- "duet-modal-large": this.size === "large",
232
- }, role: "document", onClick: e => {
233
- if (this.closeOnBlur) {
234
- this.closeModal(e);
235
- }
236
- } },
237
- h("div", { class: { "duet-modal": true, [this.size]: true }, onClick: e => {
238
- if (this.closeOnBlur) {
239
- e.stopPropagation();
240
- }
241
- } },
242
- h("duet-spacer", null),
243
- h("div", { class: "duet-modal-close" },
244
- h("duet-button", { ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })),
245
- h("div", { class: {
246
- "duet-modal-body": true,
247
- "duet-modal-gutter-small": this.gutterSize === "small",
248
- "duet-modal-gutter-medium": this.gutterSize === "medium",
249
- "duet-modal-gutter-large": this.gutterSize === "large",
250
- } },
251
- h("div", { class: "duet-modal-header" },
252
- h("span", { class: "duet-modal-inner-slot-top" },
253
- h("slot", { name: "top" })),
254
- this.icon && h("duet-icon", { name: this.icon, size: "xx-large", color: this.color || iconColor }),
255
- this.heading && (h("duet-heading", { level: this.headingLevel, theme: this.theme, id: this.modalId }, this.heading))),
256
- h("span", { class: "duet-modal-inner-slot-default", id: this.slotDefaultId },
257
- h("slot", null))))),
258
- h(FocusGuard, { moveFocusTo: this.buttonEl })));
172
+ } }, h(FocusGuard, { moveFocusTo: this.buttonEl }), h("div", { class: {
173
+ "duet-modal-inner": true,
174
+ "duet-modal-large": this.size === "large",
175
+ }, role: "document", onClick: e => {
176
+ if (this.closeOnBlur) {
177
+ this.closeModal(e);
178
+ }
179
+ } }, h("div", { class: { "duet-modal": true, [this.size]: true }, onClick: e => {
180
+ if (this.closeOnBlur) {
181
+ e.stopPropagation();
182
+ }
183
+ } }, h("duet-spacer", null), h("div", { class: "duet-modal-close" }, h("duet-button", { ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })), h("div", { class: {
184
+ "duet-modal-body": true,
185
+ "duet-modal-gutter-small": this.gutterSize === "small",
186
+ "duet-modal-gutter-medium": this.gutterSize === "medium",
187
+ "duet-modal-gutter-large": this.gutterSize === "large",
188
+ } }, h("div", { class: "duet-modal-header" }, h("span", { class: "duet-modal-inner-slot-top" }, h("slot", { name: "top" })), this.icon && h("duet-icon", { name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { level: this.headingLevel, theme: this.theme, id: this.modalId }, this.heading))), h("span", { class: "duet-modal-inner-slot-default", id: this.slotDefaultId }, h("slot", null))))), h(FocusGuard, { moveFocusTo: this.buttonEl })));
259
189
  }
260
190
  static get is() { return "duet-modal"; }
261
191
  static get encapsulation() { return "shadow"; }
262
- static get originalStyleUrls() { return {
263
- "$": ["duet-modal.scss"]
264
- }; }
265
- static get styleUrls() { return {
266
- "$": ["duet-modal.css"]
267
- }; }
268
- static get properties() { return {
269
- "language": {
270
- "type": "string",
271
- "mutable": true,
272
- "complexType": {
273
- "original": "DuetLanguage",
274
- "resolved": "\"en\" | \"fi\" | \"sv\"",
275
- "references": {
276
- "DuetLanguage": {
277
- "location": "import",
278
- "path": "../../common-types"
192
+ static get originalStyleUrls() {
193
+ return {
194
+ "$": ["duet-modal.scss"]
195
+ };
196
+ }
197
+ static get styleUrls() {
198
+ return {
199
+ "$": ["duet-modal.css"]
200
+ };
201
+ }
202
+ static get properties() {
203
+ return {
204
+ "language": {
205
+ "type": "string",
206
+ "mutable": true,
207
+ "complexType": {
208
+ "original": "DuetLanguage",
209
+ "resolved": "\"en\" | \"fi\" | \"sv\"",
210
+ "references": {
211
+ "DuetLanguage": {
212
+ "location": "import",
213
+ "path": "../../common-types"
214
+ }
279
215
  }
280
- }
281
- },
282
- "required": false,
283
- "optional": false,
284
- "docs": {
285
- "tags": [{
286
- "name": "deprecated",
287
- "text": "this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing"
288
- }, {
289
- "name": "default",
290
- "text": "\"fi\""
291
- }],
292
- "text": "The currently active language. This setting also changes the logo to match\nthe chosen language."
293
- },
294
- "attribute": "language",
295
- "reflect": false,
296
- "defaultValue": "getLanguage()"
297
- },
298
- "accessibleCloseLabelDefaults": {
299
- "type": "string",
300
- "mutable": false,
301
- "complexType": {
302
- "original": "DuetLangObject | string",
303
- "resolved": "DuetLangObject | string",
304
- "references": {
305
- "DuetLangObject": {
306
- "location": "import",
307
- "path": "../../utils/language-utils"
216
+ },
217
+ "required": false,
218
+ "optional": false,
219
+ "docs": {
220
+ "tags": [{
221
+ "name": "deprecated",
222
+ "text": "this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing"
223
+ }, {
224
+ "name": "default",
225
+ "text": "\"fi\""
226
+ }],
227
+ "text": "The currently active language. This setting also changes the logo to match\nthe chosen language."
228
+ },
229
+ "attribute": "language",
230
+ "reflect": false,
231
+ "defaultValue": "getLanguage()"
232
+ },
233
+ "accessibleCloseLabelDefaults": {
234
+ "type": "string",
235
+ "mutable": false,
236
+ "complexType": {
237
+ "original": "DuetLangObject | string",
238
+ "resolved": "DuetLangObject | string",
239
+ "references": {
240
+ "DuetLangObject": {
241
+ "location": "import",
242
+ "path": "../../utils/language-utils"
243
+ }
308
244
  }
309
- }
310
- },
311
- "required": false,
312
- "optional": false,
313
- "docs": {
314
- "tags": [{
315
- "name": "default",
316
- "text": "{fi: \"Sulje ikkuna\", sv: \"St\u00E4ng f\u00F6nstret\", en: \"Close the dialog\", }"
317
- }],
318
- "text": "Defaults for accessibleCloseLabel"
319
- },
320
- "attribute": "accessible-close-label-default",
321
- "reflect": false,
322
- "defaultValue": "{\n fi: \"Sulje ikkuna\",\n sv: \"St\u00E4ng f\u00F6nstret\",\n en: \"Close the dialog\",\n }"
323
- },
324
- "accessibleCloseLabel": {
325
- "type": "string",
326
- "mutable": false,
327
- "complexType": {
328
- "original": "string",
329
- "resolved": "string",
330
- "references": {}
331
- },
332
- "required": false,
333
- "optional": false,
334
- "docs": {
335
- "tags": [{
336
- "name": "default",
337
- "text": "{fi: \"Sulje ikkuna\", sv: \"St\u00E4ng f\u00F6nstret\", en: \"Close the dialog\", }"
338
- }],
339
- "text": "Adds accessible label for the close icon that is only shown for screen\nreaders. This property is always required to create an accessibly interface!\nSwedish translation for this property is \u201CSt\u00E4ng f\u00F6nstret\u201D."
340
- },
341
- "attribute": "accessible-close-label",
342
- "reflect": false,
343
- "defaultValue": "getLocaleString(this.accessibleCloseLabelDefaults, this.language)"
344
- },
345
- "size": {
346
- "type": "string",
347
- "mutable": false,
348
- "complexType": {
349
- "original": "DuetModalSize",
350
- "resolved": "\"large\" | \"medium\" | \"small\"",
351
- "references": {
352
- "DuetModalSize": {
353
- "location": "local"
245
+ },
246
+ "required": false,
247
+ "optional": false,
248
+ "docs": {
249
+ "tags": [{
250
+ "name": "default",
251
+ "text": "{fi: \"Sulje ikkuna\", sv: \"St\u00E4ng f\u00F6nstret\", en: \"Close the dialog\", }"
252
+ }],
253
+ "text": "Defaults for accessibleCloseLabel"
254
+ },
255
+ "attribute": "accessible-close-label-default",
256
+ "reflect": false,
257
+ "defaultValue": "{\n fi: \"Sulje ikkuna\",\n sv: \"St\u00E4ng f\u00F6nstret\",\n en: \"Close the dialog\",\n }"
258
+ },
259
+ "accessibleCloseLabel": {
260
+ "type": "string",
261
+ "mutable": false,
262
+ "complexType": {
263
+ "original": "string",
264
+ "resolved": "string",
265
+ "references": {}
266
+ },
267
+ "required": false,
268
+ "optional": false,
269
+ "docs": {
270
+ "tags": [{
271
+ "name": "default",
272
+ "text": "{fi: \"Sulje ikkuna\", sv: \"St\u00E4ng f\u00F6nstret\", en: \"Close the dialog\", }"
273
+ }],
274
+ "text": "Adds accessible label for the close icon that is only shown for screen\nreaders. This property is always required to create an accessibly interface!\nSwedish translation for this property is \u201CSt\u00E4ng f\u00F6nstret\u201D."
275
+ },
276
+ "attribute": "accessible-close-label",
277
+ "reflect": false,
278
+ "defaultValue": "getLocaleString(this.accessibleCloseLabelDefaults, this.language)"
279
+ },
280
+ "size": {
281
+ "type": "string",
282
+ "mutable": false,
283
+ "complexType": {
284
+ "original": "DuetModalSize",
285
+ "resolved": "\"large\" | \"medium\" | \"small\"",
286
+ "references": {
287
+ "DuetModalSize": {
288
+ "location": "local"
289
+ }
354
290
  }
355
- }
356
- },
357
- "required": false,
358
- "optional": false,
359
- "docs": {
360
- "tags": [],
361
- "text": "Size of the modal window."
362
- },
363
- "attribute": "size",
364
- "reflect": false,
365
- "defaultValue": "\"medium\""
366
- },
367
- "accessibleDescribedBy": {
368
- "type": "string",
369
- "mutable": false,
370
- "complexType": {
371
- "original": "string",
372
- "resolved": "string",
373
- "references": {}
374
- },
375
- "required": false,
376
- "optional": false,
377
- "docs": {
378
- "tags": [],
379
- "text": "Indicates the id or a string of space seperated ids of a component(s) that describes the input."
380
- },
381
- "attribute": "accessible-described-by",
382
- "reflect": false
383
- },
384
- "accessibleLabelledBy": {
385
- "type": "string",
386
- "mutable": false,
387
- "complexType": {
388
- "original": "string",
389
- "resolved": "string",
390
- "references": {}
391
- },
392
- "required": false,
393
- "optional": false,
394
- "docs": {
395
- "tags": [],
396
- "text": "Indicates the id or a string of space seperated ids of a component(s) that labels the input."
397
- },
398
- "attribute": "accessible-labelled-by",
399
- "reflect": false
400
- },
401
- "accessibleDetails": {
402
- "type": "string",
403
- "mutable": false,
404
- "complexType": {
405
- "original": "string",
406
- "resolved": "string",
407
- "references": {}
408
- },
409
- "required": false,
410
- "optional": false,
411
- "docs": {
412
- "tags": [],
413
- "text": "Details of the component"
414
- },
415
- "attribute": "accessible-details",
416
- "reflect": false,
417
- "defaultValue": "undefined"
418
- },
419
- "accessibleDescription": {
420
- "type": "string",
421
- "mutable": false,
422
- "complexType": {
423
- "original": "string",
424
- "resolved": "string",
425
- "references": {}
426
- },
427
- "required": false,
428
- "optional": false,
429
- "docs": {
430
- "tags": [],
431
- "text": "Aria description the button"
432
- },
433
- "attribute": "accessible-description",
434
- "reflect": false,
435
- "defaultValue": "undefined"
436
- },
437
- "gutterSize": {
438
- "type": "string",
439
- "mutable": false,
440
- "complexType": {
441
- "original": "DuetModalSize",
442
- "resolved": "\"large\" | \"medium\" | \"small\"",
443
- "references": {
444
- "DuetModalSize": {
445
- "location": "local"
291
+ },
292
+ "required": false,
293
+ "optional": false,
294
+ "docs": {
295
+ "tags": [],
296
+ "text": "Size of the modal window."
297
+ },
298
+ "attribute": "size",
299
+ "reflect": false,
300
+ "defaultValue": "\"medium\""
301
+ },
302
+ "accessibleDescribedBy": {
303
+ "type": "string",
304
+ "mutable": false,
305
+ "complexType": {
306
+ "original": "string",
307
+ "resolved": "string",
308
+ "references": {}
309
+ },
310
+ "required": false,
311
+ "optional": false,
312
+ "docs": {
313
+ "tags": [],
314
+ "text": "Indicates the id or a string of space seperated ids of a component(s) that describes the input."
315
+ },
316
+ "attribute": "accessible-described-by",
317
+ "reflect": false
318
+ },
319
+ "accessibleLabelledBy": {
320
+ "type": "string",
321
+ "mutable": false,
322
+ "complexType": {
323
+ "original": "string",
324
+ "resolved": "string",
325
+ "references": {}
326
+ },
327
+ "required": false,
328
+ "optional": false,
329
+ "docs": {
330
+ "tags": [],
331
+ "text": "Indicates the id or a string of space seperated ids of a component(s) that labels the input."
332
+ },
333
+ "attribute": "accessible-labelled-by",
334
+ "reflect": false
335
+ },
336
+ "accessibleDetails": {
337
+ "type": "string",
338
+ "mutable": false,
339
+ "complexType": {
340
+ "original": "string",
341
+ "resolved": "string",
342
+ "references": {}
343
+ },
344
+ "required": false,
345
+ "optional": false,
346
+ "docs": {
347
+ "tags": [],
348
+ "text": "Details of the component"
349
+ },
350
+ "attribute": "accessible-details",
351
+ "reflect": false,
352
+ "defaultValue": "undefined"
353
+ },
354
+ "accessibleDescription": {
355
+ "type": "string",
356
+ "mutable": false,
357
+ "complexType": {
358
+ "original": "string",
359
+ "resolved": "string",
360
+ "references": {}
361
+ },
362
+ "required": false,
363
+ "optional": false,
364
+ "docs": {
365
+ "tags": [],
366
+ "text": "Aria description the button"
367
+ },
368
+ "attribute": "accessible-description",
369
+ "reflect": false,
370
+ "defaultValue": "undefined"
371
+ },
372
+ "gutterSize": {
373
+ "type": "string",
374
+ "mutable": false,
375
+ "complexType": {
376
+ "original": "DuetModalSize",
377
+ "resolved": "\"large\" | \"medium\" | \"small\"",
378
+ "references": {
379
+ "DuetModalSize": {
380
+ "location": "local"
381
+ }
446
382
  }
447
- }
448
- },
449
- "required": false,
450
- "optional": false,
451
- "docs": {
452
- "tags": [],
453
- "text": "Size of the modal window."
454
- },
455
- "attribute": "gutter-size",
456
- "reflect": false,
457
- "defaultValue": "\"medium\""
458
- },
459
- "theme": {
460
- "type": "string",
461
- "mutable": true,
462
- "complexType": {
463
- "original": "DuetTheme",
464
- "resolved": "\"\" | \"default\" | \"turva\"",
465
- "references": {
466
- "DuetTheme": {
467
- "location": "import",
468
- "path": "../../common-types"
383
+ },
384
+ "required": false,
385
+ "optional": false,
386
+ "docs": {
387
+ "tags": [],
388
+ "text": "Size of the modal window."
389
+ },
390
+ "attribute": "gutter-size",
391
+ "reflect": false,
392
+ "defaultValue": "\"medium\""
393
+ },
394
+ "theme": {
395
+ "type": "string",
396
+ "mutable": true,
397
+ "complexType": {
398
+ "original": "DuetTheme",
399
+ "resolved": "\"\" | \"default\" | \"turva\"",
400
+ "references": {
401
+ "DuetTheme": {
402
+ "location": "import",
403
+ "path": "../../common-types"
404
+ }
469
405
  }
470
- }
471
- },
472
- "required": false,
473
- "optional": false,
474
- "docs": {
475
- "tags": [],
476
- "text": "Theme of the modal."
477
- },
478
- "attribute": "theme",
479
- "reflect": false,
480
- "defaultValue": "\"\""
481
- },
482
- "heading": {
483
- "type": "string",
484
- "mutable": false,
485
- "complexType": {
486
- "original": "string",
487
- "resolved": "string",
488
- "references": {}
489
- },
490
- "required": false,
491
- "optional": false,
492
- "docs": {
493
- "tags": [],
494
- "text": "Accessible heading displayed in the modal. The modal marks this as the\nlabel of the modal when used. This helps screen reader users which is\nwhy this is a required property."
495
- },
496
- "attribute": "heading",
497
- "reflect": false,
498
- "defaultValue": "\"\""
499
- },
500
- "headingLevel": {
501
- "type": "string",
502
- "mutable": false,
503
- "complexType": {
504
- "original": "DuetHeadingLevel",
505
- "resolved": "\"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\"",
506
- "references": {
507
- "DuetHeadingLevel": {
508
- "location": "import",
509
- "path": "../../common-types"
406
+ },
407
+ "required": false,
408
+ "optional": false,
409
+ "docs": {
410
+ "tags": [],
411
+ "text": "Theme of the modal."
412
+ },
413
+ "attribute": "theme",
414
+ "reflect": false,
415
+ "defaultValue": "\"\""
416
+ },
417
+ "heading": {
418
+ "type": "string",
419
+ "mutable": false,
420
+ "complexType": {
421
+ "original": "string",
422
+ "resolved": "string",
423
+ "references": {}
424
+ },
425
+ "required": false,
426
+ "optional": false,
427
+ "docs": {
428
+ "tags": [],
429
+ "text": "Accessible heading displayed in the modal. The modal marks this as the\nlabel of the modal when used. This helps screen reader users which is\nwhy this is a required property."
430
+ },
431
+ "attribute": "heading",
432
+ "reflect": false,
433
+ "defaultValue": "\"\""
434
+ },
435
+ "headingLevel": {
436
+ "type": "string",
437
+ "mutable": false,
438
+ "complexType": {
439
+ "original": "DuetHeadingLevel",
440
+ "resolved": "\"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\"",
441
+ "references": {
442
+ "DuetHeadingLevel": {
443
+ "location": "import",
444
+ "path": "../../common-types"
445
+ }
510
446
  }
511
- }
512
- },
513
- "required": false,
514
- "optional": false,
515
- "docs": {
516
- "tags": [],
517
- "text": "Accessible heading size"
518
- },
519
- "attribute": "heading-level",
520
- "reflect": false,
521
- "defaultValue": "\"h3\""
522
- },
523
- "icon": {
524
- "type": "string",
525
- "mutable": false,
526
- "complexType": {
527
- "original": "DuetIconName",
528
- "resolved": "string",
529
- "references": {
530
- "DuetIconName": {
531
- "location": "import",
532
- "path": "../../common-types"
447
+ },
448
+ "required": false,
449
+ "optional": false,
450
+ "docs": {
451
+ "tags": [],
452
+ "text": "Accessible heading size"
453
+ },
454
+ "attribute": "heading-level",
455
+ "reflect": false,
456
+ "defaultValue": "\"h3\""
457
+ },
458
+ "icon": {
459
+ "type": "string",
460
+ "mutable": false,
461
+ "complexType": {
462
+ "original": "DuetIconName",
463
+ "resolved": "string",
464
+ "references": {
465
+ "DuetIconName": {
466
+ "location": "import",
467
+ "path": "../../common-types"
468
+ }
533
469
  }
534
- }
535
- },
536
- "required": false,
537
- "optional": false,
538
- "docs": {
539
- "tags": [],
540
- "text": "Icon to display above the heading (from Duet\u2019s icons). Example:\n\"form-location\""
541
- },
542
- "attribute": "icon",
543
- "reflect": false,
544
- "defaultValue": "\"\""
545
- },
546
- "color": {
547
- "type": "string",
548
- "mutable": false,
549
- "complexType": {
550
- "original": "DuetColor",
551
- "resolved": "string",
552
- "references": {
553
- "DuetColor": {
554
- "location": "import",
555
- "path": "../../common-types"
470
+ },
471
+ "required": false,
472
+ "optional": false,
473
+ "docs": {
474
+ "tags": [],
475
+ "text": "Icon to display above the heading (from Duet\u2019s icons). Example:\n\"form-location\""
476
+ },
477
+ "attribute": "icon",
478
+ "reflect": false,
479
+ "defaultValue": "\"\""
480
+ },
481
+ "color": {
482
+ "type": "string",
483
+ "mutable": false,
484
+ "complexType": {
485
+ "original": "DuetColor",
486
+ "resolved": "string",
487
+ "references": {
488
+ "DuetColor": {
489
+ "location": "import",
490
+ "path": "../../common-types"
491
+ }
556
492
  }
557
- }
558
- },
559
- "required": false,
560
- "optional": false,
561
- "docs": {
562
- "tags": [],
563
- "text": "Custom color to be used for the icon, as a design token entered in camelCase\nor kebab-case. Example: \"primary\"."
564
- },
565
- "attribute": "color",
566
- "reflect": false,
567
- "defaultValue": "\"\""
568
- },
569
- "active": {
570
- "type": "boolean",
571
- "mutable": true,
572
- "complexType": {
573
- "original": "boolean",
574
- "resolved": "boolean",
575
- "references": {}
576
- },
577
- "required": false,
578
- "optional": false,
579
- "docs": {
580
- "tags": [],
581
- "text": "Use this property when you need to have the modal dialog initially active."
582
- },
583
- "attribute": "active",
584
- "reflect": true,
585
- "defaultValue": "false"
586
- },
587
- "closeOnBlur": {
588
- "type": "boolean",
589
- "mutable": true,
590
- "complexType": {
591
- "original": "boolean",
592
- "resolved": "boolean",
593
- "references": {}
594
- },
595
- "required": false,
596
- "optional": false,
597
- "docs": {
598
- "tags": [],
599
- "text": "Use this property when you want the modal to close when clicked outside of modal."
600
- },
601
- "attribute": "close-on-blur",
602
- "reflect": false,
603
- "defaultValue": "false"
604
- }
605
- }; }
606
- static get states() { return {
607
- "open": {}
608
- }; }
609
- static get events() { return [{
610
- "method": "duetOpen",
611
- "name": "duetOpen",
612
- "bubbles": true,
613
- "cancelable": true,
614
- "composed": true,
615
- "docs": {
616
- "tags": [],
617
- "text": "Emitted when the modal is opened."
618
- },
619
- "complexType": {
620
- "original": "any",
621
- "resolved": "any",
622
- "references": {}
623
- }
624
- }, {
625
- "method": "duetClose",
626
- "name": "duetClose",
627
- "bubbles": true,
628
- "cancelable": true,
629
- "composed": true,
630
- "docs": {
631
- "tags": [],
632
- "text": "Emitted when the modal is closed."
633
- },
634
- "complexType": {
635
- "original": "any",
636
- "resolved": "any",
637
- "references": {}
493
+ },
494
+ "required": false,
495
+ "optional": false,
496
+ "docs": {
497
+ "tags": [],
498
+ "text": "Custom color to be used for the icon, as a design token entered in camelCase\nor kebab-case. Example: \"primary\"."
499
+ },
500
+ "attribute": "color",
501
+ "reflect": false,
502
+ "defaultValue": "\"\""
503
+ },
504
+ "active": {
505
+ "type": "boolean",
506
+ "mutable": true,
507
+ "complexType": {
508
+ "original": "boolean",
509
+ "resolved": "boolean",
510
+ "references": {}
511
+ },
512
+ "required": false,
513
+ "optional": false,
514
+ "docs": {
515
+ "tags": [],
516
+ "text": "Use this property when you need to have the modal dialog initially active."
517
+ },
518
+ "attribute": "active",
519
+ "reflect": true,
520
+ "defaultValue": "false"
521
+ },
522
+ "closeOnBlur": {
523
+ "type": "boolean",
524
+ "mutable": true,
525
+ "complexType": {
526
+ "original": "boolean",
527
+ "resolved": "boolean",
528
+ "references": {}
529
+ },
530
+ "required": false,
531
+ "optional": false,
532
+ "docs": {
533
+ "tags": [],
534
+ "text": "Use this property when you want the modal to close when clicked outside of modal."
535
+ },
536
+ "attribute": "close-on-blur",
537
+ "reflect": false,
538
+ "defaultValue": "false"
638
539
  }
639
- }, {
640
- "method": "duetBeforeClose",
641
- "name": "duetBeforeClose",
642
- "bubbles": true,
643
- "cancelable": true,
644
- "composed": true,
645
- "docs": {
646
- "tags": [],
647
- "text": "Emitted before the modal is closed. To prevent the modal from actually closing, use ev.detail.originalEvent.preventDefault()."
648
- },
649
- "complexType": {
650
- "original": "DuetModalCloseEvent",
651
- "resolved": "{ originalEvent: Event; component: \"duet-modal\"; }",
652
- "references": {
653
- "DuetModalCloseEvent": {
654
- "location": "local"
655
- }
540
+ };
541
+ }
542
+ static get states() {
543
+ return {
544
+ "open": {}
545
+ };
546
+ }
547
+ static get events() {
548
+ return [{
549
+ "method": "duetOpen",
550
+ "name": "duetOpen",
551
+ "bubbles": true,
552
+ "cancelable": true,
553
+ "composed": true,
554
+ "docs": {
555
+ "tags": [],
556
+ "text": "Emitted when the modal is opened."
557
+ },
558
+ "complexType": {
559
+ "original": "any",
560
+ "resolved": "any",
561
+ "references": {}
656
562
  }
657
- }
658
- }]; }
659
- static get methods() { return {
660
- "show": {
661
- "complexType": {
662
- "signature": "() => Promise<void>",
663
- "parameters": [],
664
- "references": {
665
- "Promise": {
666
- "location": "global"
667
- }
563
+ }, {
564
+ "method": "duetClose",
565
+ "name": "duetClose",
566
+ "bubbles": true,
567
+ "cancelable": true,
568
+ "composed": true,
569
+ "docs": {
570
+ "tags": [],
571
+ "text": "Emitted when the modal is closed."
668
572
  },
669
- "return": "Promise<void>"
670
- },
671
- "docs": {
672
- "text": "Shows the modal dialog. Additionally saves the element that triggered\nthe modal so that focus can be moved back to this specific element when\nthe modal dialog is closed.",
673
- "tags": []
674
- }
675
- },
676
- "hide": {
677
- "complexType": {
678
- "signature": "() => Promise<void>",
679
- "parameters": [],
680
- "references": {
681
- "Promise": {
682
- "location": "global"
573
+ "complexType": {
574
+ "original": "any",
575
+ "resolved": "any",
576
+ "references": {}
577
+ }
578
+ }, {
579
+ "method": "duetBeforeClose",
580
+ "name": "duetBeforeClose",
581
+ "bubbles": true,
582
+ "cancelable": true,
583
+ "composed": true,
584
+ "docs": {
585
+ "tags": [],
586
+ "text": "Emitted before the modal is closed. To prevent the modal from actually closing, use ev.detail.originalEvent.preventDefault()."
587
+ },
588
+ "complexType": {
589
+ "original": "DuetModalCloseEvent",
590
+ "resolved": "{ originalEvent: Event; component: \"duet-modal\"; }",
591
+ "references": {
592
+ "DuetModalCloseEvent": {
593
+ "location": "local"
594
+ }
683
595
  }
596
+ }
597
+ }];
598
+ }
599
+ static get methods() {
600
+ return {
601
+ "show": {
602
+ "complexType": {
603
+ "signature": "() => Promise<void>",
604
+ "parameters": [],
605
+ "references": {
606
+ "Promise": {
607
+ "location": "global"
608
+ }
609
+ },
610
+ "return": "Promise<void>"
684
611
  },
685
- "return": "Promise<void>"
612
+ "docs": {
613
+ "text": "Shows the modal dialog. Additionally saves the element that triggered\nthe modal so that focus can be moved back to this specific element when\nthe modal dialog is closed.",
614
+ "tags": []
615
+ }
686
616
  },
687
- "docs": {
688
- "text": "Hides the modal dialog and puts focus back to the original element\nthat triggered the modal (if we\u2019re still in the same view).",
689
- "tags": []
617
+ "hide": {
618
+ "complexType": {
619
+ "signature": "() => Promise<void>",
620
+ "parameters": [],
621
+ "references": {
622
+ "Promise": {
623
+ "location": "global"
624
+ }
625
+ },
626
+ "return": "Promise<void>"
627
+ },
628
+ "docs": {
629
+ "text": "Hides the modal dialog and puts focus back to the original element\nthat triggered the modal (if we\u2019re still in the same view).",
630
+ "tags": []
631
+ }
690
632
  }
691
- }
692
- }; }
633
+ };
634
+ }
693
635
  static get elementRef() { return "element"; }
694
- static get watchers() { return [{
695
- "propName": "open",
696
- "methodName": "openChanged"
697
- }, {
698
- "propName": "active",
699
- "methodName": "activeChanged"
700
- }]; }
701
- static get listeners() { return [{
702
- "name": "keyup",
703
- "method": "handleKeyUp",
704
- "target": "window",
705
- "capture": false,
706
- "passive": false
707
- }]; }
636
+ static get watchers() {
637
+ return [{
638
+ "propName": "open",
639
+ "methodName": "openChanged"
640
+ }, {
641
+ "propName": "active",
642
+ "methodName": "activeChanged"
643
+ }];
644
+ }
645
+ static get listeners() {
646
+ return [{
647
+ "name": "keyup",
648
+ "method": "handleKeyUp",
649
+ "target": "window",
650
+ "capture": false,
651
+ "passive": false
652
+ }];
653
+ }
708
654
  }