@duetds/components 6.2.4 → 6.2.6

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 (645) hide show
  1. package/hydrate/index.d.ts +1 -1
  2. package/hydrate/index.js +2385 -4366
  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 +52 -153
  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 +8 -14
  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 +15 -11
  31. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +28 -26
  32. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +22 -12
  33. package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -8
  34. package/lib/cjs/duet-modal.cjs.entry.js +4 -59
  35. package/lib/cjs/duet-multiselect.cjs.entry.js +18 -59
  36. package/lib/cjs/duet-nav.cjs.entry.js +2 -83
  37. package/lib/cjs/duet-notification_2.cjs.entry.js +15 -74
  38. package/lib/cjs/duet-number-input.cjs.entry.js +53 -142
  39. package/lib/cjs/duet-pagination_2.cjs.entry.js +51 -125
  40. package/lib/cjs/duet-progress.cjs.entry.js +4 -26
  41. package/lib/cjs/duet-radio_2.cjs.entry.js +36 -84
  42. package/lib/cjs/duet-range-slider.cjs.entry.js +21 -62
  43. package/lib/cjs/duet-scrollable_3.cjs.entry.js +25 -88
  44. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -7
  45. package/lib/cjs/duet-select.cjs.entry.js +25 -65
  46. package/lib/cjs/duet-step_2.cjs.entry.js +8 -34
  47. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +43 -0
  48. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +51 -0
  49. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +37 -0
  50. package/lib/cjs/duet-submenu-bar.cjs.entry.js +35 -0
  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 +11 -28
  55. package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -14
  56. package/lib/cjs/duet-toolbar.cjs.entry.js +2 -5
  57. package/lib/cjs/duet-tooltip.cjs.entry.js +25 -77
  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-25247ce1.js → focus-utils-0d18f24e.js} +1 -1
  63. package/lib/cjs/{index-e009343b.js → index-14a34a4b.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 +8 -8
  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.css +6 -1
  79. package/lib/collection/components/duet-choice/duet-choice.js +731 -819
  80. package/lib/collection/components/duet-choice-group/duet-choice-group.js +282 -308
  81. package/lib/collection/components/duet-collapsible/duet-collapsible.js +208 -237
  82. package/lib/collection/components/duet-combobox/duet-combobox-select-single.js +1 -5
  83. package/lib/collection/components/duet-combobox/duet-combobox-select.js +1 -3
  84. package/lib/collection/components/duet-combobox/duet-combobox.css +47 -14
  85. package/lib/collection/components/duet-combobox/duet-combobox.js +257 -269
  86. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +77 -82
  87. package/lib/collection/components/duet-date-picker/date-picker-day.js +1 -3
  88. package/lib/collection/components/duet-date-picker/date-picker-input.js +1 -12
  89. package/lib/collection/components/duet-date-picker/date-picker-month.js +6 -12
  90. package/lib/collection/components/duet-date-picker/duet-date-picker.js +703 -795
  91. package/lib/collection/components/duet-divider/duet-divider.js +57 -57
  92. package/lib/collection/components/duet-editable-table/duet-editable-table.js +316 -381
  93. package/lib/collection/components/duet-empty-state/duet-empty-state.js +83 -90
  94. package/lib/collection/components/duet-fieldset/duet-fieldset.css +2 -0
  95. package/lib/collection/components/duet-fieldset/duet-fieldset.js +143 -153
  96. package/lib/collection/components/duet-footer/duet-footer.js +337 -378
  97. package/lib/collection/components/duet-grid/duet-grid.js +149 -162
  98. package/lib/collection/components/duet-grid-item/duet-grid-item.js +153 -164
  99. package/lib/collection/components/duet-header/duet-header-dropdown.js +11 -19
  100. package/lib/collection/components/duet-header/duet-header-hamburger.js +1 -5
  101. package/lib/collection/components/duet-header/duet-header-icon.js +1 -2
  102. package/lib/collection/components/duet-header/duet-header.js +872 -1023
  103. package/lib/collection/components/duet-heading/duet-heading.js +183 -200
  104. package/lib/collection/components/duet-hero/duet-hero.js +568 -660
  105. package/lib/collection/components/duet-icon/duet-icon.js +240 -263
  106. package/lib/collection/components/duet-input/duet-input.js +937 -1009
  107. package/lib/collection/components/duet-label/duet-label.js +95 -100
  108. package/lib/collection/components/duet-layout/duet-layout.js +163 -189
  109. package/lib/collection/components/duet-link/duet-link.js +204 -223
  110. package/lib/collection/components/duet-list/duet-list.js +181 -196
  111. package/lib/collection/components/duet-list-item/duet-list-item.js +12 -12
  112. package/lib/collection/components/duet-logo/duet-logo.js +171 -190
  113. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +8 -1
  114. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +62 -43
  115. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +4 -3
  116. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +110 -120
  117. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +10 -2
  118. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +105 -80
  119. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +47 -7
  120. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +108 -77
  121. package/lib/collection/components/duet-modal/duet-modal.js +466 -520
  122. package/lib/collection/components/duet-multiselect/duet-multiselect.js +411 -454
  123. package/lib/collection/components/duet-nav/duet-nav.css +5 -0
  124. package/lib/collection/components/duet-nav/duet-nav.js +38 -152
  125. package/lib/collection/components/duet-notification/duet-notification.js +201 -231
  126. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +284 -312
  127. package/lib/collection/components/duet-number-input/duet-number-input.js +851 -944
  128. package/lib/collection/components/duet-pagination/duet-pagination.js +374 -439
  129. package/lib/collection/components/duet-paragraph/duet-paragraph.js +140 -154
  130. package/lib/collection/components/duet-progress/duet-progress.js +223 -253
  131. package/lib/collection/components/duet-radio/duet-radio.js +519 -531
  132. package/lib/collection/components/duet-radio-group/duet-radio-group.js +282 -308
  133. package/lib/collection/components/duet-range-slider/duet-range-slider.js +468 -505
  134. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +187 -204
  135. package/lib/collection/components/duet-scrollable/duet-scrollable.js +98 -106
  136. package/lib/collection/components/duet-section-layout/duet-section-layout.js +58 -61
  137. package/lib/collection/components/duet-select/duet-select.js +565 -606
  138. package/lib/collection/components/duet-spacer/duet-spacer.js +77 -81
  139. package/lib/collection/components/duet-spinner/duet-spinner.js +99 -107
  140. package/lib/collection/components/duet-step/duet-step.js +206 -219
  141. package/lib/collection/components/duet-stepper/duet-stepper.js +148 -156
  142. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +37 -0
  143. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +63 -0
  144. package/lib/collection/components/{duet-menu-bar-menu-dropdown/duet-menu-bar-menu-dropdown.css → duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css} +28 -18
  145. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +124 -0
  146. package/lib/collection/components/{duet-menu-bar-menu-dropdown-link/duet-menu-bar-menu-dropdown-link.css → duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css} +6 -6
  147. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +143 -0
  148. package/lib/collection/components/{duet-menu-bar-menu-link/duet-menu-bar-menu-link.css → duet-submenu-bar-link/duet-submenu-bar-link.css} +5 -17
  149. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +101 -0
  150. package/lib/collection/components/duet-tab/duet-tab.js +95 -96
  151. package/lib/collection/components/duet-tab-group/duet-tab-group.js +367 -405
  152. package/lib/collection/components/duet-table/duet-table.js +144 -160
  153. package/lib/collection/components/duet-textarea/duet-textarea.js +694 -747
  154. package/lib/collection/components/duet-toggle/duet-toggle.js +388 -404
  155. package/lib/collection/components/duet-toolbar/duet-toolbar.css +1 -0
  156. package/lib/collection/components/duet-toolbar/duet-toolbar.js +38 -38
  157. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +2 -3
  158. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +116 -145
  159. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +93 -102
  160. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +89 -98
  161. package/lib/collection/components/duet-tooltip/duet-tooltip.js +349 -401
  162. package/lib/collection/components/duet-tray/duet-tray.js +235 -276
  163. package/lib/collection/components/duet-upload/duet-upload.js +1371 -1549
  164. package/lib/collection/components/duet-upload/upload-editable-item-error.js +1 -6
  165. package/lib/collection/components/duet-upload/upload-editable-item-inprogres.js +1 -6
  166. package/lib/collection/components/duet-upload/upload-editable-item-pending.js +1 -4
  167. package/lib/collection/components/duet-upload/upload-editable-item-success.js +5 -21
  168. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +137 -153
  169. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +12 -9
  170. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  171. package/lib/dist-custom-elements/duet-alert.js +1 -1
  172. package/lib/dist-custom-elements/duet-badge.js +1 -1
  173. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -11
  174. package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -5
  175. package/lib/dist-custom-elements/duet-button.js +1 -1
  176. package/lib/dist-custom-elements/duet-caption.js +1 -1
  177. package/lib/dist-custom-elements/duet-card.js +19 -58
  178. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  179. package/lib/dist-custom-elements/duet-choice-group.js +19 -49
  180. package/lib/dist-custom-elements/duet-choice.js +43 -114
  181. package/lib/dist-custom-elements/duet-collapsible.js +10 -43
  182. package/lib/dist-custom-elements/duet-combobox.js +29 -59
  183. package/lib/dist-custom-elements/duet-cookie-consent.js +8 -14
  184. package/lib/dist-custom-elements/duet-date-picker.js +45 -116
  185. package/lib/dist-custom-elements/duet-divider.js +1 -1
  186. package/lib/dist-custom-elements/duet-editable-table.js +1 -1
  187. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  188. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  189. package/lib/dist-custom-elements/duet-footer.js +16 -45
  190. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  191. package/lib/dist-custom-elements/duet-grid.js +1 -1
  192. package/lib/dist-custom-elements/duet-header.js +65 -152
  193. package/lib/dist-custom-elements/duet-heading.js +1 -1
  194. package/lib/dist-custom-elements/duet-hero.js +23 -98
  195. package/lib/dist-custom-elements/duet-icon.js +1 -1
  196. package/lib/dist-custom-elements/duet-input.js +1 -1
  197. package/lib/dist-custom-elements/duet-label.js +1 -1
  198. package/lib/dist-custom-elements/duet-layout.js +1 -24
  199. package/lib/dist-custom-elements/duet-link.js +1 -1
  200. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  201. package/lib/dist-custom-elements/duet-list.js +1 -1
  202. package/lib/dist-custom-elements/duet-logo.js +1 -1
  203. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +18 -13
  204. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +30 -28
  205. package/lib/dist-custom-elements/duet-menu-bar-link.js +24 -13
  206. package/lib/dist-custom-elements/duet-menu-bar.js +9 -10
  207. package/lib/dist-custom-elements/duet-modal.js +10 -65
  208. package/lib/dist-custom-elements/duet-multiselect.js +25 -66
  209. package/lib/dist-custom-elements/duet-nav.js +3 -84
  210. package/lib/dist-custom-elements/duet-notification-drawer.js +18 -48
  211. package/lib/dist-custom-elements/duet-notification.js +2 -31
  212. package/lib/dist-custom-elements/duet-number-input.js +59 -148
  213. package/lib/dist-custom-elements/duet-pagination.js +51 -101
  214. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  215. package/lib/dist-custom-elements/duet-progress.js +1 -1
  216. package/lib/dist-custom-elements/duet-radio-group.js +19 -49
  217. package/lib/dist-custom-elements/duet-radio.js +23 -41
  218. package/lib/dist-custom-elements/duet-range-slider.js +23 -64
  219. package/lib/dist-custom-elements/duet-range-stepper.js +10 -34
  220. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  221. package/lib/dist-custom-elements/duet-section-layout.js +1 -7
  222. package/lib/dist-custom-elements/duet-select.js +1 -1
  223. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  224. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  225. package/lib/dist-custom-elements/duet-step.js +11 -20
  226. package/lib/dist-custom-elements/duet-stepper.js +2 -19
  227. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.d.ts +11 -0
  228. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +69 -0
  229. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +11 -0
  230. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +75 -0
  231. package/lib/dist-custom-elements/{duet-menu-bar-menu-link.d.ts → duet-submenu-bar-link.d.ts} +4 -4
  232. package/lib/dist-custom-elements/duet-submenu-bar-link.js +61 -0
  233. package/lib/dist-custom-elements/{duet-menu-bar-menu.d.ts → duet-submenu-bar.d.ts} +4 -4
  234. package/lib/dist-custom-elements/duet-submenu-bar.js +51 -0
  235. package/lib/dist-custom-elements/duet-tab-group.js +26 -72
  236. package/lib/dist-custom-elements/duet-tab.js +3 -9
  237. package/lib/dist-custom-elements/duet-table.js +1 -1
  238. package/lib/dist-custom-elements/duet-textarea.js +38 -86
  239. package/lib/dist-custom-elements/duet-toggle.js +16 -39
  240. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -14
  241. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +13 -30
  242. package/lib/dist-custom-elements/duet-toolbar-link.js +3 -15
  243. package/lib/dist-custom-elements/duet-toolbar.js +2 -5
  244. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  245. package/lib/dist-custom-elements/duet-tray.js +14 -56
  246. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  247. package/lib/dist-custom-elements/duet-upload.js +165 -332
  248. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  249. package/lib/dist-custom-elements/index.d.ts +75 -5
  250. package/lib/dist-custom-elements/index.js +76 -1
  251. package/lib/dist-custom-elements/{p-dcffd5be.js → p-0145dc9f.js} +1 -7
  252. package/lib/dist-custom-elements/{p-0938933e.js → p-029208b5.js} +20 -71
  253. package/lib/dist-custom-elements/{p-f674e164.js → p-076044f7.js} +17 -80
  254. package/lib/dist-custom-elements/{p-c5d74817.js → p-0bc5bea3.js} +2 -22
  255. package/lib/dist-custom-elements/{p-b4b809ff.js → p-11621a52.js} +33 -109
  256. package/lib/dist-custom-elements/{p-bd4ab88c.js → p-1c5a0ab0.js} +21 -49
  257. package/lib/dist-custom-elements/{p-70d1ca9f.js → p-2d3fc462.js} +1 -1
  258. package/lib/dist-custom-elements/{p-396cb7a5.js → p-2f9f54eb.js} +9 -30
  259. package/lib/dist-custom-elements/{p-8c0cf877.js → p-31b3a82e.js} +27 -79
  260. package/lib/dist-custom-elements/{p-29b4f008.js → p-3b1bc8f3.js} +5 -26
  261. package/lib/dist-custom-elements/{p-c4165359.js → p-4905133d.js} +1 -13
  262. package/lib/dist-custom-elements/{p-0347f9ec.js → p-49d5f105.js} +1 -1
  263. package/lib/dist-custom-elements/{p-1302f6e8.js → p-52471a7a.js} +5 -27
  264. package/lib/dist-custom-elements/{p-9ed347f9.js → p-535ce3ec.js} +1 -1
  265. package/lib/dist-custom-elements/{p-33e00967.js → p-55325c49.js} +1 -1
  266. package/lib/dist-custom-elements/{p-279dedcd.js → p-5846a06a.js} +2 -11
  267. package/lib/dist-custom-elements/{p-e57df145.js → p-626f0ed7.js} +2 -25
  268. package/lib/dist-custom-elements/{p-c4d8cad0.js → p-738bd3c5.js} +1 -1
  269. package/lib/dist-custom-elements/{p-862c60cc.js → p-7b1b2eef.js} +3 -16
  270. package/lib/dist-custom-elements/{p-6e81048c.js → p-88b72658.js} +30 -70
  271. package/lib/dist-custom-elements/{p-908c1151.js → p-91098fd5.js} +5 -36
  272. package/lib/dist-custom-elements/{p-0b8f16f1.js → p-9986919d.js} +1 -1
  273. package/lib/dist-custom-elements/{p-3fa8edce.js → p-9d08c707.js} +45 -111
  274. package/lib/dist-custom-elements/{p-4367369a.js → p-a1724291.js} +475 -272
  275. package/lib/dist-custom-elements/{p-b89983b2.js → p-a5f24f49.js} +1 -10
  276. package/lib/dist-custom-elements/{p-ed503468.js → p-ab04760e.js} +3 -20
  277. package/lib/dist-custom-elements/{p-2a509b17.js → p-becb3aa3.js} +2 -21
  278. package/lib/dist-custom-elements/{p-1fef1f90.js → p-cc5bc0c6.js} +9 -15
  279. package/lib/dist-custom-elements/{p-464a80f2.js → p-ce42be86.js} +1 -23
  280. package/lib/dist-custom-elements/{p-e987e04b.js → p-d188f26e.js} +1 -11
  281. package/lib/dist-custom-elements/{p-4bb2e37b.js → p-db985827.js} +6 -17
  282. package/lib/dist-custom-elements/{p-d4c234ed.js → p-e2cd1c98.js} +1 -1
  283. package/lib/dist-custom-elements/{p-b9058029.js → p-e4a60f42.js} +8 -0
  284. package/lib/dist-custom-elements/{p-9cfc3bee.js → p-e4c2e7eb.js} +14 -46
  285. package/lib/dist-custom-elements/{p-1f03397c.js → p-f079cc55.js} +7 -30
  286. package/lib/dist-custom-elements/{p-f51d88cc.js → p-f4d2face.js} +2 -10
  287. package/lib/dist-custom-elements/{p-ca2b02bc.js → p-fe5341bf.js} +3 -25
  288. package/lib/duet/duet.esm.js +1 -1
  289. package/lib/duet/duet.js +2 -1
  290. package/lib/duet/{p-61baccc6.system.entry.js → p-01a95d2f.system.entry.js} +1 -1
  291. package/lib/duet/p-06a4aee0.system.entry.js +4 -0
  292. package/lib/duet/{p-3b31184e.js → p-07970d29.js} +0 -0
  293. package/lib/duet/p-07a46bc0.entry.js +4 -0
  294. package/lib/duet/p-0818ae38.entry.js +4 -0
  295. package/lib/duet/{p-a5dcf047.entry.js → p-08f88403.entry.js} +1 -1
  296. package/lib/duet/{p-2cf9ce9f.system.entry.js → p-140c2b23.system.entry.js} +2 -2
  297. package/lib/duet/{p-e60b3dc2.entry.js → p-16665db1.entry.js} +1 -1
  298. package/lib/duet/{p-a585455c.system.entry.js → p-16803126.system.entry.js} +1 -1
  299. package/lib/duet/{p-71f1a210.system.entry.js → p-18bdd586.system.entry.js} +1 -1
  300. package/lib/duet/p-1bde084c.entry.js +4 -0
  301. package/lib/duet/p-1c8bd070.system.entry.js +4 -0
  302. package/lib/duet/p-1d75f8c8.system.entry.js +4 -0
  303. package/lib/duet/{p-eb94a92c.system.entry.js → p-1f1ce7cb.system.entry.js} +1 -1
  304. package/lib/duet/{p-21e8b3cb.system.entry.js → p-250c73cb.system.entry.js} +1 -1
  305. package/lib/duet/p-25bbc964.system.entry.js +4 -0
  306. package/lib/duet/p-2821969c.system.entry.js +4 -0
  307. package/lib/duet/{p-a5f977bc.system.entry.js → p-2ddfb202.system.entry.js} +2 -2
  308. package/lib/duet/{p-995fe7b5.entry.js → p-2e21973b.entry.js} +1 -1
  309. package/lib/duet/p-321b7e1b.entry.js +4 -0
  310. package/lib/duet/{p-71e54f66.system.entry.js → p-38c7c72f.system.entry.js} +1 -1
  311. package/lib/duet/{p-ace82109.system.entry.js → p-3d2b34f3.system.entry.js} +2 -2
  312. package/lib/duet/{p-4c7ae11f.system.entry.js → p-3e4a074c.system.entry.js} +1 -1
  313. package/lib/duet/p-3e4cfd2d.entry.js +4 -0
  314. package/lib/duet/p-428f4378.entry.js +4 -0
  315. package/lib/duet/p-44fb0cd4.entry.js +4 -0
  316. package/lib/duet/{p-15b79ed1.entry.js → p-453bb082.entry.js} +1 -1
  317. package/lib/duet/{p-465c7f64.system.entry.js → p-476affb5.system.entry.js} +1 -1
  318. package/lib/duet/p-498a337c.entry.js +4 -0
  319. package/lib/duet/p-49f74a78.system.entry.js +4 -0
  320. package/lib/duet/p-4afc265b.entry.js +4 -0
  321. package/lib/duet/p-4bf9ce5d.entry.js +4 -0
  322. package/lib/duet/{p-14e5b2e7.system.entry.js → p-4d7701cf.system.entry.js} +1 -1
  323. package/lib/duet/p-4e5a7d50.entry.js +4 -0
  324. package/lib/duet/{p-32c587da.entry.js → p-4e669043.entry.js} +1 -1
  325. package/lib/duet/p-52b1ae9c.entry.js +4 -0
  326. package/lib/duet/{p-870e88b7.system.entry.js → p-589d18c0.system.entry.js} +1 -1
  327. package/lib/duet/{p-daa920e3.system.entry.js → p-5be0eb10.system.entry.js} +1 -1
  328. package/lib/duet/p-5d2799c7.system.entry.js +4 -0
  329. package/lib/duet/p-5d3d3ef4.entry.js +4 -0
  330. package/lib/duet/p-5ffa7084.entry.js +4 -0
  331. package/lib/duet/p-61208b24.system.entry.js +4 -0
  332. package/lib/duet/p-665fc09a.entry.js +4 -0
  333. package/lib/duet/{p-fe87f458.system.entry.js → p-6801edc9.system.entry.js} +1 -1
  334. package/lib/duet/{p-fc200674.system.entry.js → p-68802a44.system.entry.js} +2 -2
  335. package/lib/duet/p-6ba131a6.entry.js +4 -0
  336. package/lib/duet/{p-d164cdeb.system.entry.js → p-6dcb5ddf.system.entry.js} +1 -1
  337. package/lib/duet/{p-2bcf54bb.entry.js → p-71669602.entry.js} +1 -1
  338. package/lib/duet/p-71b48d4c.entry.js +4 -0
  339. package/lib/duet/{p-b668b67c.system.js → p-73900354.system.js} +0 -0
  340. package/lib/duet/p-73b840aa.entry.js +4 -0
  341. package/lib/duet/{p-caf8cc5f.system.entry.js → p-7758cfac.system.entry.js} +2 -2
  342. package/lib/duet/p-79740f92.entry.js +4 -0
  343. package/lib/duet/p-7aa97a75.js +5 -0
  344. package/lib/duet/{p-66f1bdce.entry.js → p-7c171bac.entry.js} +1 -1
  345. package/lib/duet/p-7d6c1aee.entry.js +4 -0
  346. package/lib/duet/p-7e2dd844.system.entry.js +4 -0
  347. package/lib/duet/p-7e3dd6a8.system.entry.js +4 -0
  348. package/lib/duet/p-80b2336e.entry.js +4 -0
  349. package/lib/duet/p-80e9768b.entry.js +4 -0
  350. package/lib/duet/p-80ee2e1e.entry.js +4 -0
  351. package/lib/duet/p-821b780e.entry.js +4 -0
  352. package/lib/duet/{p-f8133fe1.system.entry.js → p-86cc218e.system.entry.js} +2 -2
  353. package/lib/duet/{p-7ea15c5c.system.entry.js → p-882e9987.system.entry.js} +1 -1
  354. package/lib/duet/p-88cd99ba.entry.js +4 -0
  355. package/lib/duet/{p-eb168145.system.js → p-8b50f74e.system.js} +1 -1
  356. package/lib/duet/p-8bf3f0e9.js +4 -0
  357. package/lib/duet/p-92867eb0.entry.js +4 -0
  358. package/lib/duet/{p-e1dc6e7f.system.entry.js → p-93825b5f.system.entry.js} +1 -1
  359. package/lib/duet/p-9663117c.entry.js +4 -0
  360. package/lib/duet/{p-93138df9.entry.js → p-96c274ff.entry.js} +1 -1
  361. package/lib/duet/p-98821736.entry.js +4 -0
  362. package/lib/duet/{p-1c2bc99b.system.entry.js → p-99577e5e.system.entry.js} +1 -1
  363. package/lib/duet/{p-9ea3b585.system.entry.js → p-9ab64b1c.system.entry.js} +2 -2
  364. package/lib/duet/{p-5a61c374.system.entry.js → p-9adf9ec0.system.entry.js} +1 -1
  365. package/lib/duet/p-9b946c8f.system.entry.js +4 -0
  366. package/lib/duet/p-9ba30a52.system.entry.js +4 -0
  367. package/lib/duet/p-9c0ae091.system.js +5 -0
  368. package/lib/duet/{p-a2d89ed8.system.entry.js → p-9f02fd3a.system.entry.js} +1 -1
  369. package/lib/duet/p-a03ec953.system.entry.js +4 -0
  370. package/lib/duet/{p-aa10446f.system.entry.js → p-a238f10c.system.entry.js} +1 -1
  371. package/lib/duet/p-a259e3da.system.entry.js +4 -0
  372. package/lib/duet/p-a345635b.system.entry.js +4 -0
  373. package/lib/duet/p-a5a7be5e.entry.js +4 -0
  374. package/lib/duet/{p-b09e3f47.system.entry.js → p-a5af4cc5.system.entry.js} +1 -1
  375. package/lib/duet/{p-c8ba8ed5.system.entry.js → p-b20f40db.system.entry.js} +1 -1
  376. package/lib/duet/p-b21e895c.entry.js +4 -0
  377. package/lib/duet/{p-0734bdd5.system.entry.js → p-b31232db.system.entry.js} +1 -1
  378. package/lib/duet/{p-5d9ec5ef.entry.js → p-b3fd554a.entry.js} +1 -1
  379. package/lib/duet/p-b5ee9c33.system.entry.js +4 -0
  380. package/lib/duet/{p-ed024bd6.entry.js → p-b624c8ec.entry.js} +1 -1
  381. package/lib/duet/{p-617872b5.system.entry.js → p-b68e7921.system.entry.js} +1 -1
  382. package/lib/duet/p-b8adb02e.entry.js +4 -0
  383. package/lib/duet/{p-37b5759b.entry.js → p-bb33769c.entry.js} +1 -1
  384. package/lib/duet/p-bfab9d81.entry.js +4 -0
  385. package/lib/duet/{p-fc2cda87.system.entry.js → p-c33cfdf4.system.entry.js} +2 -2
  386. package/lib/duet/p-c346b2c2.system.entry.js +4 -0
  387. package/lib/duet/{p-fe0cb2a5.entry.js → p-ccae1572.entry.js} +1 -1
  388. package/lib/duet/p-cdbad668.system.js +4 -0
  389. package/lib/duet/{p-41110e9b.system.entry.js → p-ce6d729c.system.entry.js} +1 -1
  390. package/lib/duet/{p-ce3fc2bd.entry.js → p-cf202e49.entry.js} +1 -1
  391. package/lib/duet/p-d3a8e2e6.entry.js +4 -0
  392. package/lib/duet/{p-176c64c4.system.entry.js → p-d3b1d4dc.system.entry.js} +1 -1
  393. package/lib/duet/p-d6045a19.entry.js +4 -0
  394. package/lib/duet/{p-a629e72a.system.entry.js → p-d64a3684.system.entry.js} +1 -1
  395. package/lib/duet/{p-ff46ec81.system.js → p-da0d4ee3.system.js} +0 -0
  396. package/lib/duet/p-daa9f332.system.entry.js +4 -0
  397. package/lib/duet/{p-436b415a.system.entry.js → p-dd594b0c.system.entry.js} +1 -1
  398. package/lib/duet/{p-15743dbe.system.entry.js → p-df2f8d6d.system.entry.js} +1 -1
  399. package/lib/duet/{p-d4c234ed.js → p-e2cd1c98.js} +0 -0
  400. package/lib/duet/p-e2f77664.entry.js +4 -0
  401. package/lib/duet/p-e651e225.entry.js +4 -0
  402. package/lib/duet/p-e6f8fb38.entry.js +4 -0
  403. package/lib/duet/p-e78f9d3b.entry.js +4 -0
  404. package/lib/duet/p-e8da082b.entry.js +4 -0
  405. package/lib/duet/{p-fc34b8a0.system.entry.js → p-e9259242.system.entry.js} +1 -1
  406. package/lib/duet/p-ea769354.entry.js +4 -0
  407. package/lib/duet/{p-67a7ac4f.entry.js → p-efbe9082.entry.js} +1 -1
  408. package/lib/duet/{p-8755500b.entry.js → p-f17dd3be.entry.js} +1 -1
  409. package/lib/duet/{p-ad0cf0f5.system.entry.js → p-f1d8bc66.system.entry.js} +2 -2
  410. package/lib/duet/p-f3f652cb.entry.js +4 -0
  411. package/lib/duet/{p-db64d031.system.entry.js → p-f6665a9b.system.entry.js} +1 -1
  412. package/lib/duet/p-fb7e3c61.entry.js +4 -0
  413. package/lib/esm/{dom-3dbcb0d8.js → dom-4d9c03f4.js} +1 -1
  414. package/lib/esm/duet-action-button.entry.js +14 -77
  415. package/lib/esm/duet-alert.entry.js +10 -42
  416. package/lib/esm/duet-badge.entry.js +1 -10
  417. package/lib/esm/duet-breadcrumb.entry.js +2 -10
  418. package/lib/esm/duet-breadcrumbs.entry.js +2 -4
  419. package/lib/esm/duet-button_2.entry.js +30 -119
  420. package/lib/esm/duet-caption_4.entry.js +4 -78
  421. package/lib/esm/duet-card.entry.js +16 -55
  422. package/lib/esm/duet-checkbox.entry.js +21 -49
  423. package/lib/esm/duet-choice_2.entry.js +52 -153
  424. package/lib/esm/duet-collapsible.entry.js +8 -41
  425. package/lib/esm/duet-combobox.entry.js +26 -50
  426. package/lib/esm/duet-cookie-consent.entry.js +3 -9
  427. package/lib/esm/duet-date-picker.entry.js +37 -108
  428. package/lib/esm/duet-divider_2.entry.js +1 -17
  429. package/lib/esm/duet-editable-table_3.entry.js +163 -404
  430. package/lib/esm/duet-empty-state.entry.js +1 -10
  431. package/lib/esm/duet-fieldset.entry.js +8 -14
  432. package/lib/esm/duet-footer.entry.js +13 -42
  433. package/lib/esm/duet-grid_2.entry.js +3 -43
  434. package/lib/esm/duet-header_2.entry.js +56 -163
  435. package/lib/esm/duet-hero.entry.js +15 -90
  436. package/lib/esm/duet-icon.entry.js +4 -35
  437. package/lib/esm/duet-input_2.entry.js +41 -115
  438. package/lib/esm/duet-layout.entry.js +1 -24
  439. package/lib/esm/duet-list_2.entry.js +1 -23
  440. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +15 -11
  441. package/lib/esm/duet-menu-bar-dropdown.entry.js +28 -26
  442. package/lib/esm/duet-menu-bar-link.entry.js +22 -12
  443. package/lib/esm/duet-menu-bar.entry.js +6 -8
  444. package/lib/esm/duet-modal.entry.js +4 -59
  445. package/lib/esm/duet-multiselect.entry.js +18 -59
  446. package/lib/esm/duet-nav.entry.js +2 -83
  447. package/lib/esm/duet-notification_2.entry.js +15 -74
  448. package/lib/esm/duet-number-input.entry.js +53 -142
  449. package/lib/esm/duet-pagination_2.entry.js +51 -125
  450. package/lib/esm/duet-progress.entry.js +4 -26
  451. package/lib/esm/duet-radio_2.entry.js +36 -84
  452. package/lib/esm/duet-range-slider.entry.js +21 -62
  453. package/lib/esm/duet-scrollable_3.entry.js +25 -88
  454. package/lib/esm/duet-section-layout.entry.js +1 -7
  455. package/lib/esm/duet-select.entry.js +25 -65
  456. package/lib/esm/duet-step_2.entry.js +8 -34
  457. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +39 -0
  458. package/lib/esm/duet-submenu-bar-dropdown.entry.js +47 -0
  459. package/lib/esm/duet-submenu-bar-link.entry.js +33 -0
  460. package/lib/esm/duet-submenu-bar.entry.js +31 -0
  461. package/lib/esm/duet-textarea.entry.js +31 -79
  462. package/lib/esm/duet-toggle.entry.js +15 -38
  463. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -13
  464. package/lib/esm/duet-toolbar-dropdown.entry.js +11 -28
  465. package/lib/esm/duet-toolbar-link.entry.js +2 -14
  466. package/lib/esm/duet-toolbar.entry.js +2 -5
  467. package/lib/esm/duet-tooltip.entry.js +25 -77
  468. package/lib/esm/duet-tray.entry.js +11 -53
  469. package/lib/esm/duet-upload-aria-status.entry.js +8 -29
  470. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  471. package/lib/esm/duet.js +4 -4
  472. package/lib/esm/{focus-utils-c6e25a2b.js → focus-utils-25584abb.js} +1 -1
  473. package/lib/esm/{index-adbabdb3.js → index-f74e4d6a.js} +1438 -1235
  474. package/lib/esm/loader.js +3 -3
  475. package/lib/esm/polyfills/css-shim.js +1 -1
  476. package/lib/esm/{shadow-css-501eda9a.js → shadow-css-a011f1fe.js} +1 -1
  477. package/lib/esm-es5/{dom-3dbcb0d8.js → dom-4d9c03f4.js} +0 -0
  478. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  479. package/lib/esm-es5/duet-alert.entry.js +1 -1
  480. package/lib/esm-es5/duet-badge.entry.js +1 -1
  481. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  482. package/lib/esm-es5/duet-breadcrumbs.entry.js +2 -2
  483. package/lib/esm-es5/duet-button_2.entry.js +2 -2
  484. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  485. package/lib/esm-es5/duet-card.entry.js +1 -1
  486. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  487. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  488. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  489. package/lib/esm-es5/duet-combobox.entry.js +2 -2
  490. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  491. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  492. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  493. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  494. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  495. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  496. package/lib/esm-es5/duet-footer.entry.js +2 -2
  497. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  498. package/lib/esm-es5/duet-header_2.entry.js +2 -2
  499. package/lib/esm-es5/duet-hero.entry.js +1 -1
  500. package/lib/esm-es5/duet-icon.entry.js +2 -2
  501. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  502. package/lib/esm-es5/duet-layout.entry.js +1 -1
  503. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  504. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  505. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  506. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  507. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  508. package/lib/esm-es5/duet-modal.entry.js +2 -2
  509. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  510. package/lib/esm-es5/duet-nav.entry.js +1 -1
  511. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  512. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  513. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  514. package/lib/esm-es5/duet-progress.entry.js +1 -1
  515. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  516. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  517. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  518. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  519. package/lib/esm-es5/duet-select.entry.js +2 -2
  520. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  521. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +4 -0
  522. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +4 -0
  523. package/lib/esm-es5/duet-submenu-bar-link.entry.js +4 -0
  524. package/lib/esm-es5/duet-submenu-bar.entry.js +4 -0
  525. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  526. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  527. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  528. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  529. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  530. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  531. package/lib/esm-es5/duet-tooltip.entry.js +2 -2
  532. package/lib/esm-es5/duet-tray.entry.js +1 -1
  533. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  534. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  535. package/lib/esm-es5/duet.js +1 -1
  536. package/lib/esm-es5/focus-utils-25584abb.js +4 -0
  537. package/lib/esm-es5/index-f74e4d6a.js +5 -0
  538. package/lib/esm-es5/loader.js +1 -1
  539. package/lib/esm-es5/{shadow-css-501eda9a.js → shadow-css-a011f1fe.js} +0 -0
  540. package/lib/loader/package.json +1 -0
  541. package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -2
  542. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +4 -0
  543. package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +2 -16
  544. package/lib/types/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.d.ts +5 -0
  545. package/lib/types/components/duet-menu-bar-link/duet-menu-bar-link.d.ts +5 -0
  546. package/lib/types/components/duet-nav/duet-nav.d.ts +0 -18
  547. package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +24 -0
  548. package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +34 -0
  549. package/lib/types/components/{duet-menu-bar-menu-dropdown-link/duet-menu-bar-menu-dropdown-link.d.ts → duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.d.ts} +1 -1
  550. package/lib/types/components/{duet-menu-bar-menu-link/duet-menu-bar-menu-link.d.ts → duet-submenu-bar-link/duet-submenu-bar-link.d.ts} +1 -5
  551. package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +1 -16
  552. package/lib/types/components.d.ts +158 -194
  553. package/lib/types/stencil-public-runtime.d.ts +20 -4
  554. package/package.json +8 -10
  555. package/lib/cjs/duet-menu-bar-menu-dropdown-link.cjs.entry.js +0 -58
  556. package/lib/cjs/duet-menu-bar-menu-dropdown.cjs.entry.js +0 -65
  557. package/lib/cjs/duet-menu-bar-menu-link.cjs.entry.js +0 -50
  558. package/lib/cjs/duet-menu-bar-menu.cjs.entry.js +0 -65
  559. package/lib/collection/components/duet-menu-bar-menu/duet-menu-bar-menu.css +0 -113
  560. package/lib/collection/components/duet-menu-bar-menu/duet-menu-bar-menu.js +0 -147
  561. package/lib/collection/components/duet-menu-bar-menu-dropdown/duet-menu-bar-menu-dropdown.js +0 -150
  562. package/lib/collection/components/duet-menu-bar-menu-dropdown-link/duet-menu-bar-menu-dropdown-link.js +0 -156
  563. package/lib/collection/components/duet-menu-bar-menu-link/duet-menu-bar-menu-link.js +0 -129
  564. package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown-link.d.ts +0 -11
  565. package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown-link.js +0 -84
  566. package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown.d.ts +0 -11
  567. package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown.js +0 -89
  568. package/lib/dist-custom-elements/duet-menu-bar-menu-link.js +0 -75
  569. package/lib/dist-custom-elements/duet-menu-bar-menu.js +0 -83
  570. package/lib/duet/p-03ac8c12.entry.js +0 -4
  571. package/lib/duet/p-0b0b1a31.js +0 -4
  572. package/lib/duet/p-1b3fc470.system.entry.js +0 -4
  573. package/lib/duet/p-1b4da2a6.entry.js +0 -4
  574. package/lib/duet/p-22793750.entry.js +0 -4
  575. package/lib/duet/p-2482298d.entry.js +0 -4
  576. package/lib/duet/p-2be7affe.system.entry.js +0 -4
  577. package/lib/duet/p-2e2eca0e.entry.js +0 -4
  578. package/lib/duet/p-2e71b284.system.js +0 -4
  579. package/lib/duet/p-3198246d.system.entry.js +0 -4
  580. package/lib/duet/p-31a8380d.entry.js +0 -4
  581. package/lib/duet/p-3d96bd35.entry.js +0 -4
  582. package/lib/duet/p-48d5c614.entry.js +0 -4
  583. package/lib/duet/p-4fd9fab5.entry.js +0 -4
  584. package/lib/duet/p-526c88d9.system.entry.js +0 -4
  585. package/lib/duet/p-570786a7.system.entry.js +0 -4
  586. package/lib/duet/p-5bbac6e9.system.entry.js +0 -4
  587. package/lib/duet/p-5be11a3f.entry.js +0 -4
  588. package/lib/duet/p-6198dd87.entry.js +0 -4
  589. package/lib/duet/p-6226ebc9.entry.js +0 -4
  590. package/lib/duet/p-6ef4c26f.system.entry.js +0 -4
  591. package/lib/duet/p-73b1bfff.system.js +0 -5
  592. package/lib/duet/p-74a85e06.entry.js +0 -4
  593. package/lib/duet/p-74edab4b.system.entry.js +0 -4
  594. package/lib/duet/p-7ac15184.system.entry.js +0 -4
  595. package/lib/duet/p-7e0d3659.entry.js +0 -4
  596. package/lib/duet/p-8e12f166.entry.js +0 -4
  597. package/lib/duet/p-8e83ab80.entry.js +0 -4
  598. package/lib/duet/p-925f5739.entry.js +0 -4
  599. package/lib/duet/p-9e5192fd.entry.js +0 -4
  600. package/lib/duet/p-a4575910.entry.js +0 -4
  601. package/lib/duet/p-a57f8242.entry.js +0 -4
  602. package/lib/duet/p-aeee20b5.system.entry.js +0 -4
  603. package/lib/duet/p-b0fa24ea.system.entry.js +0 -4
  604. package/lib/duet/p-b252c6c7.entry.js +0 -4
  605. package/lib/duet/p-b28b7458.entry.js +0 -4
  606. package/lib/duet/p-bb2dab53.system.entry.js +0 -4
  607. package/lib/duet/p-bbc7c22c.js +0 -5
  608. package/lib/duet/p-bce4669c.entry.js +0 -4
  609. package/lib/duet/p-bf165746.entry.js +0 -4
  610. package/lib/duet/p-bf4e00b1.system.entry.js +0 -4
  611. package/lib/duet/p-c0732300.system.entry.js +0 -4
  612. package/lib/duet/p-c4375ca3.entry.js +0 -4
  613. package/lib/duet/p-c4f57811.entry.js +0 -4
  614. package/lib/duet/p-cd5358ce.entry.js +0 -4
  615. package/lib/duet/p-d1da9fe1.system.entry.js +0 -4
  616. package/lib/duet/p-d448c7fc.system.entry.js +0 -4
  617. package/lib/duet/p-d770b87e.entry.js +0 -4
  618. package/lib/duet/p-d7d944f5.entry.js +0 -4
  619. package/lib/duet/p-d7fa0c7c.entry.js +0 -4
  620. package/lib/duet/p-d83f8247.entry.js +0 -4
  621. package/lib/duet/p-dc9b21ad.entry.js +0 -4
  622. package/lib/duet/p-dcf2df11.entry.js +0 -4
  623. package/lib/duet/p-de024983.entry.js +0 -4
  624. package/lib/duet/p-e01e9f71.entry.js +0 -4
  625. package/lib/duet/p-e7196c1b.system.entry.js +0 -4
  626. package/lib/duet/p-e7808045.entry.js +0 -4
  627. package/lib/duet/p-e9cf0568.entry.js +0 -4
  628. package/lib/duet/p-ebbe496d.entry.js +0 -4
  629. package/lib/duet/p-f015180c.entry.js +0 -4
  630. package/lib/duet/p-f084d355.system.entry.js +0 -4
  631. package/lib/duet/p-f0e4ccb6.entry.js +0 -4
  632. package/lib/duet/p-f0f8a1fd.entry.js +0 -4
  633. package/lib/duet/p-f5149c67.entry.js +0 -4
  634. package/lib/esm/duet-menu-bar-menu-dropdown-link.entry.js +0 -54
  635. package/lib/esm/duet-menu-bar-menu-dropdown.entry.js +0 -61
  636. package/lib/esm/duet-menu-bar-menu-link.entry.js +0 -46
  637. package/lib/esm/duet-menu-bar-menu.entry.js +0 -61
  638. package/lib/esm-es5/duet-menu-bar-menu-dropdown-link.entry.js +0 -4
  639. package/lib/esm-es5/duet-menu-bar-menu-dropdown.entry.js +0 -4
  640. package/lib/esm-es5/duet-menu-bar-menu-link.entry.js +0 -4
  641. package/lib/esm-es5/duet-menu-bar-menu.entry.js +0 -4
  642. package/lib/esm-es5/focus-utils-c6e25a2b.js +0 -4
  643. package/lib/esm-es5/index-adbabdb3.js +0 -5
  644. package/lib/types/components/duet-menu-bar-menu/duet-menu-bar-menu.d.ts +0 -49
  645. package/lib/types/components/duet-menu-bar-menu-dropdown/duet-menu-bar-menu-dropdown.d.ts +0 -49
@@ -2,7 +2,7 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import infoIcon from "@duetds/icons/lib/assets/messaging-info";
5
- import { Component, Element, Event, h, Host, Listen, Method, Prop, State } from "@stencil/core";
5
+ import { h, Host } from "@stencil/core";
6
6
  import { inheritGlobalTheme } from "../../common";
7
7
  import { DuetStringsExternalDefaults } from "../../common-strings";
8
8
  import { createID } from "../../utils/create-id";
@@ -24,113 +24,6 @@ export class DuetChoice {
24
24
  this.expandId = createID("DuetChoiceExpand");
25
25
  this.headerId = createID("DuetChoiceHeader");
26
26
  this.infoButtonId = createID("DuetChoiceInfoButton");
27
- /**
28
- * State() variables
29
- * Inlined decorator, alphabetical order.
30
- */
31
- this.isHovering = false;
32
- this.isInfoOpen = false;
33
- this.isBlurred = false;
34
- /**
35
- * Theme of the choice.
36
- */
37
- this.theme = "";
38
- /**
39
- * Label for the choice button.
40
- */
41
- this.label = "label";
42
- /**
43
- * Property to change accessibleLabelInfoButton defaults on the component.
44
- * normally you would handle these strings on an application level and override @accessibleLabelInfoButton when needed
45
- */
46
- this.accessibleLabelInfoButtonDefaults = DuetStringsExternalDefaults;
47
- /**
48
- * Accessible label that is read for screen reader users in the info toggle trigger button.
49
- * Not visible for normal users.
50
- * @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
51
- */
52
- this.accessibleLabelInfoButton = getLocaleString(this.accessibleLabelInfoButtonDefaults);
53
- /**
54
- * Aria Details of the component
55
- */
56
- this.accessibleDetails = undefined;
57
- /**
58
- * String of id's that indicate alternative labels elements
59
- */
60
- this.accessibleLabelledBy = undefined;
61
- /**
62
- * Aria description the button
63
- */
64
- this.accessibleDescription = undefined;
65
- /**
66
- * Additional caption to show inside the label of the choice button.
67
- */
68
- this.caption = "";
69
- /**
70
- * Type of the choice button. You can set the type of the choice to be either
71
- * “radio” or “checkbox”. Depending on this selection we convey the selection
72
- * type to assistive technologies as well. When type “radio” is chosen it is
73
- * required to place the choices inside Choice Group component.
74
- */
75
- this.type = "checkbox";
76
- /**
77
- * Checked state of the choice button.
78
- */
79
- this.checked = false;
80
- /**
81
- * Makes the choice button open a new section underneath it when clicked or
82
- * tapped. This new section can be used to show more options related to this
83
- * choice. Please note that this feature can’t be used together with the "info"
84
- * functionality and that it only accepts plain dom nodes (no shadow dom elements
85
- * such as duet-paragraph can be used as this will break accessibility)
86
- */
87
- this.collapsible = false;
88
- /**
89
- * Controls the margin of the component.
90
- */
91
- this.margin = "auto";
92
- /**
93
- * Icon to display to the left of the choice button label.
94
- */
95
- this.icon = "";
96
- /**
97
- * Expands the choice button to fill 100% of the container width.
98
- */
99
- this.expand = false;
100
- /**
101
- * Controls the padding of the component.
102
- */
103
- this.padding = "auto";
104
- /**
105
- * Makes the choice component disabled. This prevents users from being able to
106
- * interact with the choice, and conveys its inactive state to assistive technologies.
107
- */
108
- this.disabled = false;
109
- /**
110
- * Set whether the input is required or not. Please note that this is necessary for
111
- * accessible inputs when the user is required to fill them. When using this property
112
- * you need to also set “novalidate” attribute to your form element to prevent
113
- * browser from displaying its own validation errors.
114
- */
115
- this.required = false;
116
- /**
117
- * Placeholder defaults
118
- * @default { fi: "pp.kk.vvvv", en: "dd.mm.yyyy", sv: "dd.mm.åååå" }
119
- */
120
- this.infoLabelDefaults = {
121
- fi: "Lisätietoja",
122
- en: "More information about",
123
- sv: "Mera information om",
124
- };
125
- /**
126
- * Hint text to display before the user types into the date picker input.
127
- * @default {
128
- * fi: "Lisätietoja",
129
- * en: "More information about",
130
- * sv: "Mera information om",
131
- * }
132
- */
133
- this.infoLabel = getLocaleString(this.infoLabelDefaults, getLanguage());
134
27
  this.onMouseEnter = () => {
135
28
  this.isHovering = true;
136
29
  };
@@ -198,6 +91,42 @@ export class DuetChoice {
198
91
  this.toggleInfo = () => {
199
92
  this.isInfoOpen = !this.isInfoOpen;
200
93
  };
94
+ this.isHovering = false;
95
+ this.isInfoOpen = false;
96
+ this.isBlurred = false;
97
+ this.theme = "";
98
+ this.label = "label";
99
+ this.accessibleLabelInfoButtonDefaults = DuetStringsExternalDefaults;
100
+ this.accessibleLabelInfoButton = getLocaleString(this.accessibleLabelInfoButtonDefaults);
101
+ this.accessibleActiveDescendant = undefined;
102
+ this.accessibleControls = undefined;
103
+ this.accessibleOwns = undefined;
104
+ this.accessibleDescribedBy = undefined;
105
+ this.accessibleDetails = undefined;
106
+ this.accessibleLabelledBy = undefined;
107
+ this.accessibleDescription = undefined;
108
+ this.caption = "";
109
+ this.value = undefined;
110
+ this.type = "checkbox";
111
+ this.name = undefined;
112
+ this.checked = false;
113
+ this.collapsible = false;
114
+ this.margin = "auto";
115
+ this.icon = "";
116
+ this.expand = false;
117
+ this.padding = "auto";
118
+ this.identifier = undefined;
119
+ this.groupDirection = undefined;
120
+ this.groupDisabled = undefined;
121
+ this.groupResponsive = undefined;
122
+ this.disabled = false;
123
+ this.required = false;
124
+ this.infoLabelDefaults = {
125
+ fi: "Lisätietoja",
126
+ en: "More information about",
127
+ sv: "Mera information om",
128
+ };
129
+ this.infoLabel = getLocaleString(this.infoLabelDefaults, getLanguage());
201
130
  }
202
131
  /**
203
132
  * Component lifecycle events.
@@ -289,735 +218,718 @@ export class DuetChoice {
289
218
  "duet-m-0": this.margin === "none",
290
219
  "duet-expand": this.expand,
291
220
  "duet-theme-turva": this.theme === "turva",
292
- } },
293
- h("div", { class: {
294
- "duet-choice-card-flextainer": true,
295
- "duet-theme-turva": this.theme === "turva",
296
- } },
297
- h("div", { class: {
298
- "duet-choice-card": true,
299
- "has-icon": !!this.icon,
300
- "has-info": this.hasInfo,
301
- checked: this.checked,
302
- info: this.isInfoOpen,
303
- collapsible: this.collapsible,
304
- "duet-p-0": this.padding === "none",
305
- } },
306
- h("input", { class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.disabled || this.groupDisabled, required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input) }),
307
- h("label", { htmlFor: identifier, class: { "duet-choice-label": true, "no-hover": this.isHovering, "has-before-text": this.hasBeforeText }, onClick: this.onClick },
308
- this.hasBeforeText && h("slot", { name: "before-text" }),
309
- this.icon && (h("div", { class: "duet-choice-card-icon" },
310
- h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))),
311
- h("div", { class: "duet-choice-card-text" },
312
- h("div", null, this.hasLabel ? h("slot", { name: "label" }) : this.label),
313
- this.caption && (h("div", null,
314
- h("duet-spacer", { size: "xx-small" }),
315
- h("duet-caption", { margin: "none", selected: this.checked }, this.caption))),
316
- this.hasAdditional && (h("div", null,
317
- h("duet-spacer", { size: "xx-small" }),
318
- h("slot", { name: "additional" })))),
319
- h("div", null,
320
- h("div", { class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { class: "duet-checkmark" }))))),
321
- this.hasInfo && !this.collapsible && (h("button", { ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
322
- "duet-choice-info-toggle": true,
323
- "duet-theme-turva": this.theme === "turva",
324
- }, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.disabled || this.groupDisabled, "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, "aria-flowto": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button" },
325
- h("duet-visually-hidden", { "aria-hidden": !this.isBlurred ? "true" : "false" }, this.accessibleLabelInfoButton),
326
- h("div", { class: "duet-choice-info-icon" },
327
- h("duet-icon", { icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))),
328
- this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId },
329
- h("span", { class: {
330
- "duet-choice-section-visible": this.collapsible ? this.checked : this.isInfoOpen,
331
- "duet-choice-section-hidden": this.collapsible ? !this.checked : !this.isInfoOpen,
332
- } },
333
- h("span", { id: this.headerId },
334
- h("slot", { name: "header" })),
335
- this.hasInfo ? (h("span", null,
336
- h("span", { "aria-relevant": "all", "aria-atomic": "true", "aria-live": this.isInfoOpen ? "polite" : "off" },
337
- h("slot", { name: "info" })),
338
- h("slot", null))) : (h("span", null,
339
- h("slot", null)))),
340
- this.isInfoOpen && h(FocusGuard, { moveFocusTo: this.infoButtonEl }))) : null));
221
+ } }, h("div", { class: {
222
+ "duet-choice-card-flextainer": true,
223
+ "duet-theme-turva": this.theme === "turva",
224
+ } }, h("div", { class: {
225
+ "duet-choice-card": true,
226
+ "has-icon": !!this.icon,
227
+ "has-info": this.hasInfo,
228
+ checked: this.checked,
229
+ info: this.isInfoOpen,
230
+ collapsible: this.collapsible,
231
+ "duet-p-0": this.padding === "none",
232
+ } }, h("input", { class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.disabled || this.groupDisabled, required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input) }), h("label", { htmlFor: identifier, class: { "duet-choice-label": true, "no-hover": this.isHovering, "has-before-text": this.hasBeforeText }, onClick: this.onClick }, this.hasBeforeText && h("slot", { name: "before-text" }), this.icon && (h("div", { class: "duet-choice-card-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { class: "duet-choice-card-text" }, h("div", null, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("duet-caption", { margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("slot", { name: "additional" })))), h("div", null, h("div", { class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
233
+ "duet-choice-info-toggle": true,
234
+ "duet-theme-turva": this.theme === "turva",
235
+ }, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.disabled || this.groupDisabled, "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, "aria-flowto": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button" }, h("duet-visually-hidden", { "aria-hidden": !this.isBlurred ? "true" : "false" }, this.accessibleLabelInfoButton), h("div", { class: "duet-choice-info-icon" }, h("duet-icon", { icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
236
+ "duet-choice-section-visible": this.collapsible ? this.checked : this.isInfoOpen,
237
+ "duet-choice-section-hidden": this.collapsible ? !this.checked : !this.isInfoOpen,
238
+ } }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", null, h("span", { "aria-relevant": "all", "aria-atomic": "true", "aria-live": this.isInfoOpen ? "polite" : "off" }, h("slot", { name: "info" })), h("slot", null))) : (h("span", null, h("slot", null)))), this.isInfoOpen && h(FocusGuard, { moveFocusTo: this.infoButtonEl }))) : null));
341
239
  }
342
240
  static get is() { return "duet-choice"; }
343
241
  static get encapsulation() { return "scoped"; }
344
- static get originalStyleUrls() { return {
345
- "$": ["duet-choice.scss"]
346
- }; }
347
- static get styleUrls() { return {
348
- "$": ["duet-choice.css"]
349
- }; }
350
- static get properties() { return {
351
- "theme": {
352
- "type": "string",
353
- "mutable": true,
354
- "complexType": {
355
- "original": "DuetTheme",
356
- "resolved": "\"\" | \"default\" | \"turva\"",
357
- "references": {
358
- "DuetTheme": {
359
- "location": "import",
360
- "path": "../../common-types"
242
+ static get originalStyleUrls() {
243
+ return {
244
+ "$": ["duet-choice.scss"]
245
+ };
246
+ }
247
+ static get styleUrls() {
248
+ return {
249
+ "$": ["duet-choice.css"]
250
+ };
251
+ }
252
+ static get properties() {
253
+ return {
254
+ "theme": {
255
+ "type": "string",
256
+ "mutable": true,
257
+ "complexType": {
258
+ "original": "DuetTheme",
259
+ "resolved": "\"\" | \"default\" | \"turva\"",
260
+ "references": {
261
+ "DuetTheme": {
262
+ "location": "import",
263
+ "path": "../../common-types"
264
+ }
361
265
  }
362
- }
363
- },
364
- "required": false,
365
- "optional": false,
366
- "docs": {
367
- "tags": [],
368
- "text": "Theme of the choice."
369
- },
370
- "attribute": "theme",
371
- "reflect": false,
372
- "defaultValue": "\"\""
373
- },
374
- "label": {
375
- "type": "string",
376
- "mutable": false,
377
- "complexType": {
378
- "original": "string",
379
- "resolved": "string",
380
- "references": {}
381
- },
382
- "required": false,
383
- "optional": false,
384
- "docs": {
385
- "tags": [],
386
- "text": "Label for the choice button."
387
- },
388
- "attribute": "label",
389
- "reflect": false,
390
- "defaultValue": "\"label\""
391
- },
392
- "accessibleLabelInfoButtonDefaults": {
393
- "type": "string",
394
- "mutable": false,
395
- "complexType": {
396
- "original": "DuetLangObject | string",
397
- "resolved": "DuetLangObject | string",
398
- "references": {
399
- "DuetLangObject": {
400
- "location": "import",
401
- "path": "../../utils/language-utils"
266
+ },
267
+ "required": false,
268
+ "optional": false,
269
+ "docs": {
270
+ "tags": [],
271
+ "text": "Theme of the choice."
272
+ },
273
+ "attribute": "theme",
274
+ "reflect": false,
275
+ "defaultValue": "\"\""
276
+ },
277
+ "label": {
278
+ "type": "string",
279
+ "mutable": false,
280
+ "complexType": {
281
+ "original": "string",
282
+ "resolved": "string",
283
+ "references": {}
284
+ },
285
+ "required": false,
286
+ "optional": false,
287
+ "docs": {
288
+ "tags": [],
289
+ "text": "Label for the choice button."
290
+ },
291
+ "attribute": "label",
292
+ "reflect": false,
293
+ "defaultValue": "\"label\""
294
+ },
295
+ "accessibleLabelInfoButtonDefaults": {
296
+ "type": "string",
297
+ "mutable": false,
298
+ "complexType": {
299
+ "original": "DuetLangObject | string",
300
+ "resolved": "DuetLangObject | string",
301
+ "references": {
302
+ "DuetLangObject": {
303
+ "location": "import",
304
+ "path": "../../utils/language-utils"
305
+ }
402
306
  }
403
- }
404
- },
405
- "required": false,
406
- "optional": false,
407
- "docs": {
408
- "tags": [],
409
- "text": "Property to change accessibleLabelInfoButton defaults on the component.\nnormally you would handle these strings on an application level and override @accessibleLabelInfoButton when needed"
410
- },
411
- "attribute": "accessible-label-info-default",
412
- "reflect": false,
413
- "defaultValue": "DuetStringsExternalDefaults"
414
- },
415
- "accessibleLabelInfoButton": {
416
- "type": "string",
417
- "mutable": false,
418
- "complexType": {
419
- "original": "string",
420
- "resolved": "string",
421
- "references": {}
422
- },
423
- "required": false,
424
- "optional": false,
425
- "docs": {
426
- "tags": [{
427
- "name": "default",
428
- "text": "{fi: \"Avautuu uuteen ikkunaan\",sv: \"\u00D6ppnas i nytt f\u00F6nster\",en: \"Opens in a new window\"}"
429
- }],
430
- "text": "Accessible label that is read for screen reader users in the info toggle trigger button.\nNot visible for normal users."
431
- },
432
- "attribute": "accessible-label-info-button",
433
- "reflect": false,
434
- "defaultValue": "getLocaleString(this.accessibleLabelInfoButtonDefaults)"
435
- },
436
- "accessibleActiveDescendant": {
437
- "type": "string",
438
- "mutable": false,
439
- "complexType": {
440
- "original": "string",
441
- "resolved": "string",
442
- "references": {}
443
- },
444
- "required": false,
445
- "optional": false,
446
- "docs": {
447
- "tags": [],
448
- "text": "Indicates the id of a related component\u2019s visually focused element."
449
- },
450
- "attribute": "accessible-active-descendant",
451
- "reflect": false
452
- },
453
- "accessibleControls": {
454
- "type": "string",
455
- "mutable": false,
456
- "complexType": {
457
- "original": "string",
458
- "resolved": "string",
459
- "references": {}
460
- },
461
- "required": false,
462
- "optional": false,
463
- "docs": {
464
- "tags": [],
465
- "text": "Use this prop to add an aria-controls attribute. Use the attribute to\nindicate the id of a component controlled by this component."
466
- },
467
- "attribute": "accessible-controls",
468
- "reflect": false
469
- },
470
- "accessibleOwns": {
471
- "type": "string",
472
- "mutable": false,
473
- "complexType": {
474
- "original": "string",
475
- "resolved": "string",
476
- "references": {}
477
- },
478
- "required": false,
479
- "optional": false,
480
- "docs": {
481
- "tags": [],
482
- "text": "Indicates the id of a component owned by the choice."
483
- },
484
- "attribute": "accessible-owns",
485
- "reflect": false
486
- },
487
- "accessibleDescribedBy": {
488
- "type": "string",
489
- "mutable": false,
490
- "complexType": {
491
- "original": "string",
492
- "resolved": "string",
493
- "references": {}
494
- },
495
- "required": false,
496
- "optional": false,
497
- "docs": {
498
- "tags": [],
499
- "text": "Indicates the id of a component that describes the choice.\nif this is set to an empty string it will prevent screenreaders from flowing to a collapsible content\nand can be used as an escape hatch if that behaviour is undesired."
500
- },
501
- "attribute": "accessible-described-by",
502
- "reflect": false
503
- },
504
- "accessibleDetails": {
505
- "type": "string",
506
- "mutable": false,
507
- "complexType": {
508
- "original": "string",
509
- "resolved": "string",
510
- "references": {}
511
- },
512
- "required": false,
513
- "optional": false,
514
- "docs": {
515
- "tags": [],
516
- "text": "Aria Details of the component"
517
- },
518
- "attribute": "accessible-details",
519
- "reflect": false,
520
- "defaultValue": "undefined"
521
- },
522
- "accessibleLabelledBy": {
523
- "type": "string",
524
- "mutable": false,
525
- "complexType": {
526
- "original": "string",
527
- "resolved": "string",
528
- "references": {}
529
- },
530
- "required": false,
531
- "optional": false,
532
- "docs": {
533
- "tags": [],
534
- "text": "String of id's that indicate alternative labels elements"
535
- },
536
- "attribute": "accessible-labelled-by",
537
- "reflect": false,
538
- "defaultValue": "undefined"
539
- },
540
- "accessibleDescription": {
541
- "type": "string",
542
- "mutable": false,
543
- "complexType": {
544
- "original": "string",
545
- "resolved": "string",
546
- "references": {}
547
- },
548
- "required": false,
549
- "optional": false,
550
- "docs": {
551
- "tags": [],
552
- "text": "Aria description the button"
553
- },
554
- "attribute": "accessible-description",
555
- "reflect": false,
556
- "defaultValue": "undefined"
557
- },
558
- "caption": {
559
- "type": "string",
560
- "mutable": false,
561
- "complexType": {
562
- "original": "string",
563
- "resolved": "string",
564
- "references": {}
565
- },
566
- "required": false,
567
- "optional": false,
568
- "docs": {
569
- "tags": [],
570
- "text": "Additional caption to show inside the label of the choice button."
571
- },
572
- "attribute": "caption",
573
- "reflect": false,
574
- "defaultValue": "\"\""
575
- },
576
- "value": {
577
- "type": "string",
578
- "mutable": true,
579
- "complexType": {
580
- "original": "string",
581
- "resolved": "string",
582
- "references": {}
583
- },
584
- "required": false,
585
- "optional": false,
586
- "docs": {
587
- "tags": [],
588
- "text": "The value of the html input that the Choice component controls."
589
- },
590
- "attribute": "value",
591
- "reflect": true
592
- },
593
- "type": {
594
- "type": "string",
595
- "mutable": false,
596
- "complexType": {
597
- "original": "DuetChoiceType",
598
- "resolved": "\"checkbox\" | \"radio\"",
599
- "references": {
600
- "DuetChoiceType": {
601
- "location": "local"
307
+ },
308
+ "required": false,
309
+ "optional": false,
310
+ "docs": {
311
+ "tags": [],
312
+ "text": "Property to change accessibleLabelInfoButton defaults on the component.\nnormally you would handle these strings on an application level and override @accessibleLabelInfoButton when needed"
313
+ },
314
+ "attribute": "accessible-label-info-default",
315
+ "reflect": false,
316
+ "defaultValue": "DuetStringsExternalDefaults"
317
+ },
318
+ "accessibleLabelInfoButton": {
319
+ "type": "string",
320
+ "mutable": false,
321
+ "complexType": {
322
+ "original": "string",
323
+ "resolved": "string",
324
+ "references": {}
325
+ },
326
+ "required": false,
327
+ "optional": false,
328
+ "docs": {
329
+ "tags": [{
330
+ "name": "default",
331
+ "text": "{fi: \"Avautuu uuteen ikkunaan\",sv: \"\u00D6ppnas i nytt f\u00F6nster\",en: \"Opens in a new window\"}"
332
+ }],
333
+ "text": "Accessible label that is read for screen reader users in the info toggle trigger button.\nNot visible for normal users."
334
+ },
335
+ "attribute": "accessible-label-info-button",
336
+ "reflect": false,
337
+ "defaultValue": "getLocaleString(this.accessibleLabelInfoButtonDefaults)"
338
+ },
339
+ "accessibleActiveDescendant": {
340
+ "type": "string",
341
+ "mutable": false,
342
+ "complexType": {
343
+ "original": "string",
344
+ "resolved": "string",
345
+ "references": {}
346
+ },
347
+ "required": false,
348
+ "optional": false,
349
+ "docs": {
350
+ "tags": [],
351
+ "text": "Indicates the id of a related component\u2019s visually focused element."
352
+ },
353
+ "attribute": "accessible-active-descendant",
354
+ "reflect": false
355
+ },
356
+ "accessibleControls": {
357
+ "type": "string",
358
+ "mutable": false,
359
+ "complexType": {
360
+ "original": "string",
361
+ "resolved": "string",
362
+ "references": {}
363
+ },
364
+ "required": false,
365
+ "optional": false,
366
+ "docs": {
367
+ "tags": [],
368
+ "text": "Use this prop to add an aria-controls attribute. Use the attribute to\nindicate the id of a component controlled by this component."
369
+ },
370
+ "attribute": "accessible-controls",
371
+ "reflect": false
372
+ },
373
+ "accessibleOwns": {
374
+ "type": "string",
375
+ "mutable": false,
376
+ "complexType": {
377
+ "original": "string",
378
+ "resolved": "string",
379
+ "references": {}
380
+ },
381
+ "required": false,
382
+ "optional": false,
383
+ "docs": {
384
+ "tags": [],
385
+ "text": "Indicates the id of a component owned by the choice."
386
+ },
387
+ "attribute": "accessible-owns",
388
+ "reflect": false
389
+ },
390
+ "accessibleDescribedBy": {
391
+ "type": "string",
392
+ "mutable": false,
393
+ "complexType": {
394
+ "original": "string",
395
+ "resolved": "string",
396
+ "references": {}
397
+ },
398
+ "required": false,
399
+ "optional": false,
400
+ "docs": {
401
+ "tags": [],
402
+ "text": "Indicates the id of a component that describes the choice.\nif this is set to an empty string it will prevent screenreaders from flowing to a collapsible content\nand can be used as an escape hatch if that behaviour is undesired."
403
+ },
404
+ "attribute": "accessible-described-by",
405
+ "reflect": false
406
+ },
407
+ "accessibleDetails": {
408
+ "type": "string",
409
+ "mutable": false,
410
+ "complexType": {
411
+ "original": "string",
412
+ "resolved": "string",
413
+ "references": {}
414
+ },
415
+ "required": false,
416
+ "optional": false,
417
+ "docs": {
418
+ "tags": [],
419
+ "text": "Aria Details of the component"
420
+ },
421
+ "attribute": "accessible-details",
422
+ "reflect": false,
423
+ "defaultValue": "undefined"
424
+ },
425
+ "accessibleLabelledBy": {
426
+ "type": "string",
427
+ "mutable": false,
428
+ "complexType": {
429
+ "original": "string",
430
+ "resolved": "string",
431
+ "references": {}
432
+ },
433
+ "required": false,
434
+ "optional": false,
435
+ "docs": {
436
+ "tags": [],
437
+ "text": "String of id's that indicate alternative labels elements"
438
+ },
439
+ "attribute": "accessible-labelled-by",
440
+ "reflect": false,
441
+ "defaultValue": "undefined"
442
+ },
443
+ "accessibleDescription": {
444
+ "type": "string",
445
+ "mutable": false,
446
+ "complexType": {
447
+ "original": "string",
448
+ "resolved": "string",
449
+ "references": {}
450
+ },
451
+ "required": false,
452
+ "optional": false,
453
+ "docs": {
454
+ "tags": [],
455
+ "text": "Aria description the button"
456
+ },
457
+ "attribute": "accessible-description",
458
+ "reflect": false,
459
+ "defaultValue": "undefined"
460
+ },
461
+ "caption": {
462
+ "type": "string",
463
+ "mutable": false,
464
+ "complexType": {
465
+ "original": "string",
466
+ "resolved": "string",
467
+ "references": {}
468
+ },
469
+ "required": false,
470
+ "optional": false,
471
+ "docs": {
472
+ "tags": [],
473
+ "text": "Additional caption to show inside the label of the choice button."
474
+ },
475
+ "attribute": "caption",
476
+ "reflect": false,
477
+ "defaultValue": "\"\""
478
+ },
479
+ "value": {
480
+ "type": "string",
481
+ "mutable": true,
482
+ "complexType": {
483
+ "original": "string",
484
+ "resolved": "string",
485
+ "references": {}
486
+ },
487
+ "required": false,
488
+ "optional": false,
489
+ "docs": {
490
+ "tags": [],
491
+ "text": "The value of the html input that the Choice component controls."
492
+ },
493
+ "attribute": "value",
494
+ "reflect": true
495
+ },
496
+ "type": {
497
+ "type": "string",
498
+ "mutable": false,
499
+ "complexType": {
500
+ "original": "DuetChoiceType",
501
+ "resolved": "\"checkbox\" | \"radio\"",
502
+ "references": {
503
+ "DuetChoiceType": {
504
+ "location": "local"
505
+ }
602
506
  }
603
- }
604
- },
605
- "required": false,
606
- "optional": false,
607
- "docs": {
608
- "tags": [],
609
- "text": "Type of the choice button. You can set the type of the choice to be either\n\u201Cradio\u201D or \u201Ccheckbox\u201D. Depending on this selection we convey the selection\ntype to assistive technologies as well. When type \u201Cradio\u201D is chosen it is\nrequired to place the choices inside Choice Group component."
610
- },
611
- "attribute": "type",
612
- "reflect": true,
613
- "defaultValue": "\"checkbox\""
614
- },
615
- "name": {
616
- "type": "string",
617
- "mutable": false,
618
- "complexType": {
619
- "original": "string",
620
- "resolved": "string",
621
- "references": {}
622
- },
623
- "required": false,
624
- "optional": false,
625
- "docs": {
626
- "tags": [],
627
- "text": "Name attribute of the html input that the Choice component controls."
628
- },
629
- "attribute": "name",
630
- "reflect": false
631
- },
632
- "checked": {
633
- "type": "boolean",
634
- "mutable": true,
635
- "complexType": {
636
- "original": "boolean",
637
- "resolved": "boolean",
638
- "references": {}
639
- },
640
- "required": false,
641
- "optional": false,
642
- "docs": {
643
- "tags": [],
644
- "text": "Checked state of the choice button."
645
- },
646
- "attribute": "checked",
647
- "reflect": true,
648
- "defaultValue": "false"
649
- },
650
- "collapsible": {
651
- "type": "boolean",
652
- "mutable": false,
653
- "complexType": {
654
- "original": "boolean",
655
- "resolved": "boolean",
656
- "references": {}
657
- },
658
- "required": false,
659
- "optional": false,
660
- "docs": {
661
- "tags": [],
662
- "text": "Makes the choice button open a new section underneath it when clicked or\ntapped. This new section can be used to show more options related to this\nchoice. Please note that this feature can\u2019t be used together with the \"info\"\nfunctionality and that it only accepts plain dom nodes (no shadow dom elements\nsuch as duet-paragraph can be used as this will break accessibility)"
663
- },
664
- "attribute": "collapsible",
665
- "reflect": false,
666
- "defaultValue": "false"
667
- },
668
- "margin": {
669
- "type": "string",
670
- "mutable": false,
671
- "complexType": {
672
- "original": "DuetMargin",
673
- "resolved": "\"auto\" | \"none\"",
674
- "references": {
675
- "DuetMargin": {
676
- "location": "import",
677
- "path": "../../common-types"
507
+ },
508
+ "required": false,
509
+ "optional": false,
510
+ "docs": {
511
+ "tags": [],
512
+ "text": "Type of the choice button. You can set the type of the choice to be either\n\u201Cradio\u201D or \u201Ccheckbox\u201D. Depending on this selection we convey the selection\ntype to assistive technologies as well. When type \u201Cradio\u201D is chosen it is\nrequired to place the choices inside Choice Group component."
513
+ },
514
+ "attribute": "type",
515
+ "reflect": true,
516
+ "defaultValue": "\"checkbox\""
517
+ },
518
+ "name": {
519
+ "type": "string",
520
+ "mutable": false,
521
+ "complexType": {
522
+ "original": "string",
523
+ "resolved": "string",
524
+ "references": {}
525
+ },
526
+ "required": false,
527
+ "optional": false,
528
+ "docs": {
529
+ "tags": [],
530
+ "text": "Name attribute of the html input that the Choice component controls."
531
+ },
532
+ "attribute": "name",
533
+ "reflect": false
534
+ },
535
+ "checked": {
536
+ "type": "boolean",
537
+ "mutable": true,
538
+ "complexType": {
539
+ "original": "boolean",
540
+ "resolved": "boolean",
541
+ "references": {}
542
+ },
543
+ "required": false,
544
+ "optional": false,
545
+ "docs": {
546
+ "tags": [],
547
+ "text": "Checked state of the choice button."
548
+ },
549
+ "attribute": "checked",
550
+ "reflect": true,
551
+ "defaultValue": "false"
552
+ },
553
+ "collapsible": {
554
+ "type": "boolean",
555
+ "mutable": false,
556
+ "complexType": {
557
+ "original": "boolean",
558
+ "resolved": "boolean",
559
+ "references": {}
560
+ },
561
+ "required": false,
562
+ "optional": false,
563
+ "docs": {
564
+ "tags": [],
565
+ "text": "Makes the choice button open a new section underneath it when clicked or\ntapped. This new section can be used to show more options related to this\nchoice. Please note that this feature can\u2019t be used together with the \"info\"\nfunctionality and that it only accepts plain dom nodes (no shadow dom elements\nsuch as duet-paragraph can be used as this will break accessibility)"
566
+ },
567
+ "attribute": "collapsible",
568
+ "reflect": false,
569
+ "defaultValue": "false"
570
+ },
571
+ "margin": {
572
+ "type": "string",
573
+ "mutable": false,
574
+ "complexType": {
575
+ "original": "DuetMargin",
576
+ "resolved": "\"auto\" | \"none\"",
577
+ "references": {
578
+ "DuetMargin": {
579
+ "location": "import",
580
+ "path": "../../common-types"
581
+ }
678
582
  }
679
- }
680
- },
681
- "required": false,
682
- "optional": false,
683
- "docs": {
684
- "tags": [],
685
- "text": "Controls the margin of the component."
686
- },
687
- "attribute": "margin",
688
- "reflect": false,
689
- "defaultValue": "\"auto\""
690
- },
691
- "icon": {
692
- "type": "string",
693
- "mutable": false,
694
- "complexType": {
695
- "original": "string",
696
- "resolved": "string",
697
- "references": {}
698
- },
699
- "required": false,
700
- "optional": false,
701
- "docs": {
702
- "tags": [],
703
- "text": "Icon to display to the left of the choice button label."
704
- },
705
- "attribute": "icon",
706
- "reflect": false,
707
- "defaultValue": "\"\""
708
- },
709
- "expand": {
710
- "type": "boolean",
711
- "mutable": false,
712
- "complexType": {
713
- "original": "boolean",
714
- "resolved": "boolean",
715
- "references": {}
716
- },
717
- "required": false,
718
- "optional": false,
719
- "docs": {
720
- "tags": [],
721
- "text": "Expands the choice button to fill 100% of the container width."
722
- },
723
- "attribute": "expand",
724
- "reflect": false,
725
- "defaultValue": "false"
726
- },
727
- "padding": {
728
- "type": "string",
729
- "mutable": false,
730
- "complexType": {
731
- "original": "DuetPadding",
732
- "resolved": "\"auto\" | \"none\"",
733
- "references": {
734
- "DuetPadding": {
735
- "location": "import",
736
- "path": "../../common-types"
583
+ },
584
+ "required": false,
585
+ "optional": false,
586
+ "docs": {
587
+ "tags": [],
588
+ "text": "Controls the margin of the component."
589
+ },
590
+ "attribute": "margin",
591
+ "reflect": false,
592
+ "defaultValue": "\"auto\""
593
+ },
594
+ "icon": {
595
+ "type": "string",
596
+ "mutable": false,
597
+ "complexType": {
598
+ "original": "string",
599
+ "resolved": "string",
600
+ "references": {}
601
+ },
602
+ "required": false,
603
+ "optional": false,
604
+ "docs": {
605
+ "tags": [],
606
+ "text": "Icon to display to the left of the choice button label."
607
+ },
608
+ "attribute": "icon",
609
+ "reflect": false,
610
+ "defaultValue": "\"\""
611
+ },
612
+ "expand": {
613
+ "type": "boolean",
614
+ "mutable": false,
615
+ "complexType": {
616
+ "original": "boolean",
617
+ "resolved": "boolean",
618
+ "references": {}
619
+ },
620
+ "required": false,
621
+ "optional": false,
622
+ "docs": {
623
+ "tags": [],
624
+ "text": "Expands the choice button to fill 100% of the container width."
625
+ },
626
+ "attribute": "expand",
627
+ "reflect": false,
628
+ "defaultValue": "false"
629
+ },
630
+ "padding": {
631
+ "type": "string",
632
+ "mutable": false,
633
+ "complexType": {
634
+ "original": "DuetPadding",
635
+ "resolved": "\"auto\" | \"none\"",
636
+ "references": {
637
+ "DuetPadding": {
638
+ "location": "import",
639
+ "path": "../../common-types"
640
+ }
737
641
  }
738
- }
739
- },
740
- "required": false,
741
- "optional": false,
742
- "docs": {
743
- "tags": [],
744
- "text": "Controls the padding of the component."
745
- },
746
- "attribute": "padding",
747
- "reflect": false,
748
- "defaultValue": "\"auto\""
749
- },
750
- "identifier": {
751
- "type": "string",
752
- "mutable": false,
753
- "complexType": {
754
- "original": "string",
755
- "resolved": "string",
756
- "references": {}
757
- },
758
- "required": false,
759
- "optional": false,
760
- "docs": {
761
- "tags": [],
762
- "text": "Adds a unique identifier for the choice button."
763
- },
764
- "attribute": "identifier",
765
- "reflect": false
766
- },
767
- "groupDirection": {
768
- "type": "string",
769
- "mutable": false,
770
- "complexType": {
771
- "original": "DuetDirection",
772
- "resolved": "\"horizontal\" | \"vertical\"",
773
- "references": {
774
- "DuetDirection": {
775
- "location": "import",
776
- "path": "../../common-types"
642
+ },
643
+ "required": false,
644
+ "optional": false,
645
+ "docs": {
646
+ "tags": [],
647
+ "text": "Controls the padding of the component."
648
+ },
649
+ "attribute": "padding",
650
+ "reflect": false,
651
+ "defaultValue": "\"auto\""
652
+ },
653
+ "identifier": {
654
+ "type": "string",
655
+ "mutable": false,
656
+ "complexType": {
657
+ "original": "string",
658
+ "resolved": "string",
659
+ "references": {}
660
+ },
661
+ "required": false,
662
+ "optional": false,
663
+ "docs": {
664
+ "tags": [],
665
+ "text": "Adds a unique identifier for the choice button."
666
+ },
667
+ "attribute": "identifier",
668
+ "reflect": false
669
+ },
670
+ "groupDirection": {
671
+ "type": "string",
672
+ "mutable": false,
673
+ "complexType": {
674
+ "original": "DuetDirection",
675
+ "resolved": "\"horizontal\" | \"vertical\"",
676
+ "references": {
677
+ "DuetDirection": {
678
+ "location": "import",
679
+ "path": "../../common-types"
680
+ }
777
681
  }
778
- }
779
- },
780
- "required": false,
781
- "optional": false,
782
- "docs": {
783
- "tags": [{
784
- "name": "internal",
785
- "text": "Determines whether the control is displayed horizontally or vertically within\na group."
786
- }],
787
- "text": ""
788
- },
789
- "attribute": "group-direction",
790
- "reflect": false
791
- },
792
- "groupDisabled": {
793
- "type": "boolean",
794
- "mutable": false,
795
- "complexType": {
796
- "original": "boolean",
797
- "resolved": "boolean",
798
- "references": {}
799
- },
800
- "required": false,
801
- "optional": false,
802
- "docs": {
803
- "tags": [{
804
- "name": "internal",
805
- "text": "Determines, whether the control is disabled from the parent group."
806
- }],
807
- "text": ""
808
- },
809
- "attribute": "group-disabled",
810
- "reflect": false
811
- },
812
- "groupResponsive": {
813
- "type": "boolean",
814
- "mutable": false,
815
- "complexType": {
816
- "original": "boolean",
817
- "resolved": "boolean",
818
- "references": {}
819
- },
820
- "required": false,
821
- "optional": false,
822
- "docs": {
823
- "tags": [{
824
- "name": "internal",
825
- "text": "Determines whether the group has responsive behavior"
826
- }],
827
- "text": ""
828
- },
829
- "attribute": "group-responsive",
830
- "reflect": false
831
- },
832
- "disabled": {
833
- "type": "boolean",
834
- "mutable": false,
835
- "complexType": {
836
- "original": "boolean",
837
- "resolved": "boolean",
838
- "references": {}
839
- },
840
- "required": false,
841
- "optional": false,
842
- "docs": {
843
- "tags": [],
844
- "text": "Makes the choice component disabled. This prevents users from being able to\ninteract with the choice, and conveys its inactive state to assistive technologies."
845
- },
846
- "attribute": "disabled",
847
- "reflect": true,
848
- "defaultValue": "false"
849
- },
850
- "required": {
851
- "type": "boolean",
852
- "mutable": false,
853
- "complexType": {
854
- "original": "boolean",
855
- "resolved": "boolean",
856
- "references": {}
857
- },
858
- "required": false,
859
- "optional": false,
860
- "docs": {
861
- "tags": [],
862
- "text": "Set whether the input is required or not. Please note that this is necessary for\naccessible inputs when the user is required to fill them. When using this property\nyou need to also set \u201Cnovalidate\u201D attribute to your form element to prevent\nbrowser from displaying its own validation errors."
863
- },
864
- "attribute": "required",
865
- "reflect": false,
866
- "defaultValue": "false"
867
- },
868
- "infoLabelDefaults": {
869
- "type": "string",
870
- "mutable": false,
871
- "complexType": {
872
- "original": "DuetLangObject | string",
873
- "resolved": "DuetLangObject | string",
874
- "references": {
875
- "DuetLangObject": {
876
- "location": "import",
877
- "path": "../../utils/language-utils"
682
+ },
683
+ "required": false,
684
+ "optional": false,
685
+ "docs": {
686
+ "tags": [{
687
+ "name": "internal",
688
+ "text": "Determines whether the control is displayed horizontally or vertically within\na group."
689
+ }],
690
+ "text": ""
691
+ },
692
+ "attribute": "group-direction",
693
+ "reflect": false
694
+ },
695
+ "groupDisabled": {
696
+ "type": "boolean",
697
+ "mutable": false,
698
+ "complexType": {
699
+ "original": "boolean",
700
+ "resolved": "boolean",
701
+ "references": {}
702
+ },
703
+ "required": false,
704
+ "optional": false,
705
+ "docs": {
706
+ "tags": [{
707
+ "name": "internal",
708
+ "text": "Determines, whether the control is disabled from the parent group."
709
+ }],
710
+ "text": ""
711
+ },
712
+ "attribute": "group-disabled",
713
+ "reflect": false
714
+ },
715
+ "groupResponsive": {
716
+ "type": "boolean",
717
+ "mutable": false,
718
+ "complexType": {
719
+ "original": "boolean",
720
+ "resolved": "boolean",
721
+ "references": {}
722
+ },
723
+ "required": false,
724
+ "optional": false,
725
+ "docs": {
726
+ "tags": [{
727
+ "name": "internal",
728
+ "text": "Determines whether the group has responsive behavior"
729
+ }],
730
+ "text": ""
731
+ },
732
+ "attribute": "group-responsive",
733
+ "reflect": false
734
+ },
735
+ "disabled": {
736
+ "type": "boolean",
737
+ "mutable": false,
738
+ "complexType": {
739
+ "original": "boolean",
740
+ "resolved": "boolean",
741
+ "references": {}
742
+ },
743
+ "required": false,
744
+ "optional": false,
745
+ "docs": {
746
+ "tags": [],
747
+ "text": "Makes the choice component disabled. This prevents users from being able to\ninteract with the choice, and conveys its inactive state to assistive technologies."
748
+ },
749
+ "attribute": "disabled",
750
+ "reflect": true,
751
+ "defaultValue": "false"
752
+ },
753
+ "required": {
754
+ "type": "boolean",
755
+ "mutable": false,
756
+ "complexType": {
757
+ "original": "boolean",
758
+ "resolved": "boolean",
759
+ "references": {}
760
+ },
761
+ "required": false,
762
+ "optional": false,
763
+ "docs": {
764
+ "tags": [],
765
+ "text": "Set whether the input is required or not. Please note that this is necessary for\naccessible inputs when the user is required to fill them. When using this property\nyou need to also set \u201Cnovalidate\u201D attribute to your form element to prevent\nbrowser from displaying its own validation errors."
766
+ },
767
+ "attribute": "required",
768
+ "reflect": false,
769
+ "defaultValue": "false"
770
+ },
771
+ "infoLabelDefaults": {
772
+ "type": "string",
773
+ "mutable": false,
774
+ "complexType": {
775
+ "original": "DuetLangObject | string",
776
+ "resolved": "DuetLangObject | string",
777
+ "references": {
778
+ "DuetLangObject": {
779
+ "location": "import",
780
+ "path": "../../utils/language-utils"
781
+ }
878
782
  }
879
- }
880
- },
881
- "required": false,
882
- "optional": false,
883
- "docs": {
884
- "tags": [{
885
- "name": "default",
886
- "text": "{ fi: \"pp.kk.vvvv\", en: \"dd.mm.yyyy\", sv: \"dd.mm.\u00E5\u00E5\u00E5\u00E5\" }"
887
- }],
888
- "text": "Placeholder defaults"
889
- },
890
- "attribute": "accessible-label-info-default",
891
- "reflect": false,
892
- "defaultValue": "{\n fi: \"Lis\u00E4tietoja\",\n en: \"More information about\",\n sv: \"Mera information om\",\n }"
893
- },
894
- "infoLabel": {
895
- "type": "string",
896
- "mutable": false,
897
- "complexType": {
898
- "original": "string",
899
- "resolved": "string",
900
- "references": {}
901
- },
902
- "required": false,
903
- "optional": false,
904
- "docs": {
905
- "tags": [{
906
- "name": "default",
907
- "text": "{\nfi: \"Lis\u00E4tietoja\",\nen: \"More information about\",\nsv: \"Mera information om\",\n}"
908
- }],
909
- "text": "Hint text to display before the user types into the date picker input."
910
- },
911
- "attribute": "info-label",
912
- "reflect": false,
913
- "defaultValue": "getLocaleString(this.infoLabelDefaults, getLanguage())"
914
- }
915
- }; }
916
- static get states() { return {
917
- "isHovering": {},
918
- "isInfoOpen": {},
919
- "isBlurred": {}
920
- }; }
921
- static get events() { return [{
922
- "method": "duetChange",
923
- "name": "duetChange",
924
- "bubbles": true,
925
- "cancelable": true,
926
- "composed": true,
927
- "docs": {
928
- "tags": [],
929
- "text": "Emitted when the checked property has changed."
930
- },
931
- "complexType": {
932
- "original": "DuetChoiceEvent",
933
- "resolved": "{ originalEvent?: Event; checked: boolean; value: string; component: \"duet-choice\"; }",
934
- "references": {
935
- "DuetChoiceEvent": {
936
- "location": "local"
783
+ },
784
+ "required": false,
785
+ "optional": false,
786
+ "docs": {
787
+ "tags": [{
788
+ "name": "default",
789
+ "text": "{ fi: \"pp.kk.vvvv\", en: \"dd.mm.yyyy\", sv: \"dd.mm.\u00E5\u00E5\u00E5\u00E5\" }"
790
+ }],
791
+ "text": "Placeholder defaults"
792
+ },
793
+ "attribute": "accessible-label-info-default",
794
+ "reflect": false,
795
+ "defaultValue": "{\n fi: \"Lis\u00E4tietoja\",\n en: \"More information about\",\n sv: \"Mera information om\",\n }"
796
+ },
797
+ "infoLabel": {
798
+ "type": "string",
799
+ "mutable": false,
800
+ "complexType": {
801
+ "original": "string",
802
+ "resolved": "string",
803
+ "references": {}
804
+ },
805
+ "required": false,
806
+ "optional": false,
807
+ "docs": {
808
+ "tags": [{
809
+ "name": "default",
810
+ "text": "{\nfi: \"Lis\u00E4tietoja\",\nen: \"More information about\",\nsv: \"Mera information om\",\n}"
811
+ }],
812
+ "text": "Hint text to display before the user types into the date picker input."
813
+ },
814
+ "attribute": "info-label",
815
+ "reflect": false,
816
+ "defaultValue": "getLocaleString(this.infoLabelDefaults, getLanguage())"
817
+ }
818
+ };
819
+ }
820
+ static get states() {
821
+ return {
822
+ "isHovering": {},
823
+ "isInfoOpen": {},
824
+ "isBlurred": {}
825
+ };
826
+ }
827
+ static get events() {
828
+ return [{
829
+ "method": "duetChange",
830
+ "name": "duetChange",
831
+ "bubbles": true,
832
+ "cancelable": true,
833
+ "composed": true,
834
+ "docs": {
835
+ "tags": [],
836
+ "text": "Emitted when the checked property has changed."
837
+ },
838
+ "complexType": {
839
+ "original": "DuetChoiceEvent",
840
+ "resolved": "{ originalEvent?: Event; checked: boolean; value: string; component: \"duet-choice\"; }",
841
+ "references": {
842
+ "DuetChoiceEvent": {
843
+ "location": "local"
844
+ }
937
845
  }
938
846
  }
939
- }
940
- }, {
941
- "method": "duetFocus",
942
- "name": "duetFocus",
943
- "bubbles": true,
944
- "cancelable": true,
945
- "composed": true,
946
- "docs": {
947
- "tags": [],
948
- "text": "Emitted when the checkbox has focus."
949
- },
950
- "complexType": {
951
- "original": "DuetChoiceEvent",
952
- "resolved": "{ originalEvent?: Event; checked: boolean; value: string; component: \"duet-choice\"; }",
953
- "references": {
954
- "DuetChoiceEvent": {
955
- "location": "local"
847
+ }, {
848
+ "method": "duetFocus",
849
+ "name": "duetFocus",
850
+ "bubbles": true,
851
+ "cancelable": true,
852
+ "composed": true,
853
+ "docs": {
854
+ "tags": [],
855
+ "text": "Emitted when the checkbox has focus."
856
+ },
857
+ "complexType": {
858
+ "original": "DuetChoiceEvent",
859
+ "resolved": "{ originalEvent?: Event; checked: boolean; value: string; component: \"duet-choice\"; }",
860
+ "references": {
861
+ "DuetChoiceEvent": {
862
+ "location": "local"
863
+ }
956
864
  }
957
865
  }
958
- }
959
- }, {
960
- "method": "duetBlur",
961
- "name": "duetBlur",
962
- "bubbles": true,
963
- "cancelable": true,
964
- "composed": true,
965
- "docs": {
966
- "tags": [],
967
- "text": "Emitted when the checkbox loses focus."
968
- },
969
- "complexType": {
970
- "original": "DuetChoiceEvent",
971
- "resolved": "{ originalEvent?: Event; checked: boolean; value: string; component: \"duet-choice\"; }",
972
- "references": {
973
- "DuetChoiceEvent": {
974
- "location": "local"
866
+ }, {
867
+ "method": "duetBlur",
868
+ "name": "duetBlur",
869
+ "bubbles": true,
870
+ "cancelable": true,
871
+ "composed": true,
872
+ "docs": {
873
+ "tags": [],
874
+ "text": "Emitted when the checkbox loses focus."
875
+ },
876
+ "complexType": {
877
+ "original": "DuetChoiceEvent",
878
+ "resolved": "{ originalEvent?: Event; checked: boolean; value: string; component: \"duet-choice\"; }",
879
+ "references": {
880
+ "DuetChoiceEvent": {
881
+ "location": "local"
882
+ }
975
883
  }
976
884
  }
977
- }
978
- }]; }
979
- static get methods() { return {
980
- "setFocus": {
981
- "complexType": {
982
- "signature": "(options?: FocusOptions) => Promise<void>",
983
- "parameters": [{
984
- "tags": [],
985
- "text": ""
986
- }],
987
- "references": {
988
- "Promise": {
989
- "location": "global"
885
+ }];
886
+ }
887
+ static get methods() {
888
+ return {
889
+ "setFocus": {
890
+ "complexType": {
891
+ "signature": "(options?: FocusOptions) => Promise<void>",
892
+ "parameters": [{
893
+ "tags": [],
894
+ "text": ""
895
+ }],
896
+ "references": {
897
+ "Promise": {
898
+ "location": "global"
899
+ },
900
+ "FocusOptions": {
901
+ "location": "global"
902
+ }
990
903
  },
991
- "FocusOptions": {
992
- "location": "global"
993
- }
904
+ "return": "Promise<void>"
994
905
  },
995
- "return": "Promise<void>"
996
- },
997
- "docs": {
998
- "text": "Sets focus on the specified `duet-choice`. Use this method instead of the global\n`input.focus()`.",
999
- "tags": []
906
+ "docs": {
907
+ "text": "Sets focus on the specified `duet-choice`. Use this method instead of the global\n`input.focus()`.",
908
+ "tags": []
909
+ }
1000
910
  }
1001
- }
1002
- }; }
911
+ };
912
+ }
1003
913
  static get elementRef() { return "element"; }
1004
- static get listeners() { return [{
1005
- "name": "blur",
1006
- "method": "handleHostBlur",
1007
- "target": undefined,
1008
- "capture": true,
1009
- "passive": false
1010
- }, {
1011
- "name": "keydown",
1012
- "method": "handleHostKeyDown",
1013
- "target": undefined,
1014
- "capture": true,
1015
- "passive": false
1016
- }, {
1017
- "name": "keyup",
1018
- "method": "handleHostKeyUp",
1019
- "target": undefined,
1020
- "capture": true,
1021
- "passive": false
1022
- }]; }
914
+ static get listeners() {
915
+ return [{
916
+ "name": "blur",
917
+ "method": "handleHostBlur",
918
+ "target": undefined,
919
+ "capture": true,
920
+ "passive": false
921
+ }, {
922
+ "name": "keydown",
923
+ "method": "handleHostKeyDown",
924
+ "target": undefined,
925
+ "capture": true,
926
+ "passive": false
927
+ }, {
928
+ "name": "keyup",
929
+ "method": "handleHostKeyUp",
930
+ "target": undefined,
931
+ "capture": true,
932
+ "passive": false
933
+ }];
934
+ }
1023
935
  }