@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
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import emailIcon from "@duetds/icons/lib/assets/form-email";
5
5
  import searchIcon from "@duetds/icons/lib/assets/form-search";
6
- import { Component, Element, Event, h, Host, Method, Prop, Watch } from "@stencil/core";
6
+ import { h, Host } from "@stencil/core";
7
7
  import { inheritGlobalTheme } from "../../common";
8
8
  import { createID } from "../../utils/create-id";
9
9
  import { cleanValue, resetCursor } from "../../utils/input-utils";
@@ -35,111 +35,6 @@ export class DuetInput {
35
35
  fi: "Aika",
36
36
  sv: "Tid",
37
37
  });
38
- /**
39
- * Indicates the id or a string of space seperated ids of a component(s) that describes the input.
40
- */
41
- this.accessibleDescribedBy = "";
42
- /**
43
- * Indicates value of any popup element associated with the input.
44
- */
45
- this.accessibleHasPopup = undefined;
46
- /**
47
- * Aria Details of the component
48
- */
49
- this.accessibleDetails = undefined;
50
- /**
51
- * String of id's that indicate alternative labels elements
52
- */
53
- this.accessibleLabelledBy = undefined;
54
- /**
55
- * Aria description the button
56
- */
57
- this.accessibleDescription = undefined;
58
- /**
59
- * Set the amount of time, in milliseconds, to wait to trigger the duetChange
60
- * event after each keystroke.
61
- */
62
- this.debounce = 0;
63
- /**
64
- * If set, the input field will display a clear button that can be accessed with tabbing.
65
- */
66
- this.clear = false;
67
- /**
68
- * If form input field has a placeholder text, and user types anything (causing the placeholder text to disappear),
69
- * settings this to true will "echo" it into the caption slot - this option will be false by default for the next few versions, but will eventually be true by default (scheduled for 4.30.0)
70
- */
71
- this.echoPlaceholder = false;
72
- /**
73
- * Theme of the input.
74
- */
75
- this.theme = "";
76
- /**
77
- * Expands the input to fill 100% of the container width.
78
- */
79
- this.expand = false;
80
- /**
81
- * Makes the input component disabled. This prevents users from being able to
82
- * interact with the input, and conveys its inactive state to assistive technologies.
83
- */
84
- this.disabled = false;
85
- /**
86
- * Controls the margin of the component.
87
- */
88
- this.margin = "auto";
89
- /**
90
- * Set whether the input is required or not. Please note that this is necessary for
91
- * accessible inputs when the user is required to fill them. When using this property
92
- * you need to also set “novalidate” attribute to your form element to prevent
93
- * browser from displaying its own validation errors.
94
- */
95
- this.required = false;
96
- /**
97
- * Type of the input.
98
- */
99
- this.type = "text";
100
- /**
101
- * Variation of button.
102
- */
103
- this.variation = "default";
104
- /**
105
- * Label for the input.
106
- */
107
- this.label = "label";
108
- /**
109
- * Display the input in error state along with an error message.
110
- */
111
- this.error = "";
112
- /**
113
- * Visually hide the label, but still show it to screen readers.
114
- */
115
- this.labelHidden = false;
116
- /**
117
- * Enable numeric keyboard for the input.
118
- */
119
- this.numericKeyboard = false;
120
- /**
121
- * Used internally in Duet to adjust whether this component acts as e.g. number input.
122
- */
123
- this.component = "input";
124
- /**
125
- * Enable or disable automatic completion by the browser
126
- */
127
- this.autoComplete = "on";
128
- /**
129
- * A regular expression that matches any characters which should be *disallowed*.
130
- * This differs from `pattern`, as it actively prevents users entering any characters which match the regular expression.
131
- * e.g. the following will disallow any non-numeric characters `[^0-9]`
132
- */
133
- this.disallowPattern = null;
134
- /**
135
- * Tooltip to display next to the label of the input.
136
- */
137
- this.tooltip = "";
138
- /**
139
- * With direction setting you can force the tooltip to always open towards left
140
- * or right instead of automatically determining the direction.
141
- */
142
- this.tooltipDirection = "auto";
143
38
  /**
144
39
  * Component event handling.
145
40
  */
@@ -205,6 +100,45 @@ export class DuetInput {
205
100
  }
206
101
  return event;
207
102
  };
103
+ this.accessibleActiveDescendant = undefined;
104
+ this.accessibleAutocomplete = undefined;
105
+ this.accessibleControls = undefined;
106
+ this.accessibleOwns = undefined;
107
+ this.accessibleExpanded = undefined;
108
+ this.accessibleDescribedBy = "";
109
+ this.accessibleHasPopup = undefined;
110
+ this.accessibleDetails = undefined;
111
+ this.accessibleLabelledBy = undefined;
112
+ this.accessibleDescription = undefined;
113
+ this.debounce = 0;
114
+ this.clear = false;
115
+ this.caption = undefined;
116
+ this.echoPlaceholder = false;
117
+ this.theme = "";
118
+ this.expand = false;
119
+ this.disabled = false;
120
+ this.identifier = undefined;
121
+ this.margin = "auto";
122
+ this.required = false;
123
+ this.type = "text";
124
+ this.variation = "default";
125
+ this.label = "label";
126
+ this.error = "";
127
+ this.labelHidden = false;
128
+ this.numericKeyboard = false;
129
+ this.name = undefined;
130
+ this.pattern = undefined;
131
+ this.maxlength = undefined;
132
+ this.minlength = undefined;
133
+ this.placeholder = undefined;
134
+ this.component = "input";
135
+ this.role = undefined;
136
+ this.icon = undefined;
137
+ this.autoComplete = "on";
138
+ this.disallowPattern = null;
139
+ this.value = undefined;
140
+ this.tooltip = "";
141
+ this.tooltipDirection = "auto";
208
142
  }
209
143
  disallowedPatternChange() {
210
144
  this.disallowPatternRegex = this.disallowPattern ? new RegExp(this.disallowPattern, "g") : null;
@@ -296,935 +230,929 @@ export class DuetInput {
296
230
  selectedTime = undefined;
297
231
  }
298
232
  }
299
- return (h(Host, { class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) },
300
- this.type === "time" && (h("duet-visually-hidden", { "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement} ${selectedTime.toLocaleTimeString()}` : "")),
301
- h("div", { class: {
302
- "duet-input-container": true,
303
- "duet-theme-turva": this.theme === "turva",
304
- [`duet-input-variation-${this.variation}`]: true,
305
- "duet-label-hidden": this.labelHidden,
306
- "duet-input-top-caption-shown": this.isCaptionVisible,
307
- "has-icon": !!this.icon ||
308
- (this.type !== "text" && this.type !== "tel" && this.type !== "password" && this.type !== "time"),
309
- "has-error": !!this.error,
310
- "has-clear": this.clear,
311
- } },
312
- h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", id: this.labelId, for: identifier }, this.label),
313
- this.tooltip && (h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)),
314
- this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)),
315
- h("div", { class: "duet-input-relative" },
316
- this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)),
317
- h("input", Object.assign({ ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.type, class: {
318
- "duet-input": true,
319
- disabled: this.disabled,
320
- "is-number": this.component === "number",
321
- "is-date": this.component === "date",
322
- }, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy
323
- ? `${this.errorId} ${this.labelId} ${this.accessibleLabelledBy}`
324
- : `${this.errorId} ${this.labelId}`, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-errormessage": this.error ? this.errorId : null, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)),
325
- !this.icon &&
326
- this.type !== "text" &&
327
- this.type !== "tel" &&
328
- this.type !== "password" &&
329
- this.type !== "time" &&
330
- this.variation !== "button" && (h("div", { class: "duet-input-icon" },
331
- h("duet-icon", { margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))),
332
- this.clear && this.value && (h("div", { class: "duet-input-clear-icon" },
333
- h("button", { onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel, "aria-keyshortcuts": "Escape" },
334
- h("duet-icon", { margin: "none", size: "xx-small", name: "activity-close", color: "currentColor" })))),
335
- this.icon && this.variation !== "button" && (h("div", { class: "duet-input-icon" },
336
- h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))),
337
- this.variation === "button" && h("slot", { name: "button" }),
338
- h("slot", null)),
339
- h("span", { class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": "polite", "aria-relevant": "additions removals" }, this.error && h("span", { class: "duet-input-error" }, this.error)))));
233
+ return (h(Host, { class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (h("duet-visually-hidden", { "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement} ${selectedTime.toLocaleTimeString()}` : "")), h("div", { class: {
234
+ "duet-input-container": true,
235
+ "duet-theme-turva": this.theme === "turva",
236
+ [`duet-input-variation-${this.variation}`]: true,
237
+ "duet-label-hidden": this.labelHidden,
238
+ "duet-input-top-caption-shown": this.isCaptionVisible,
239
+ "has-icon": !!this.icon ||
240
+ (this.type !== "text" && this.type !== "tel" && this.type !== "password" && this.type !== "time"),
241
+ "has-error": !!this.error,
242
+ "has-clear": this.clear,
243
+ } }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), h("input", Object.assign({ ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.type, class: {
244
+ "duet-input": true,
245
+ disabled: this.disabled,
246
+ "is-number": this.component === "number",
247
+ "is-date": this.component === "date",
248
+ }, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy
249
+ ? `${this.errorId} ${this.labelId} ${this.accessibleLabelledBy}`
250
+ : `${this.errorId} ${this.labelId}`, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-errormessage": this.error ? this.errorId : null, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.icon &&
251
+ this.type !== "text" &&
252
+ this.type !== "tel" &&
253
+ this.type !== "password" &&
254
+ this.type !== "time" &&
255
+ this.variation !== "button" && (h("div", { class: "duet-input-icon" }, h("duet-icon", { margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (h("div", { class: "duet-input-clear-icon" }, h("button", { onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel, "aria-keyshortcuts": "Escape" }, h("duet-icon", { margin: "none", size: "xx-small", name: "activity-close", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { class: "duet-input-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { name: "button" }), h("slot", null)), h("span", { class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": "polite", "aria-relevant": "additions removals" }, this.error && h("span", { class: "duet-input-error" }, this.error)))));
340
256
  }
341
257
  static get is() { return "duet-input"; }
342
258
  static get encapsulation() { return "scoped"; }
343
- static get originalStyleUrls() { return {
344
- "$": ["duet-input.scss"]
345
- }; }
346
- static get styleUrls() { return {
347
- "$": ["duet-input.css"]
348
- }; }
349
- static get properties() { return {
350
- "accessibleActiveDescendant": {
351
- "type": "string",
352
- "mutable": false,
353
- "complexType": {
354
- "original": "string",
355
- "resolved": "string",
356
- "references": {}
357
- },
358
- "required": false,
359
- "optional": false,
360
- "docs": {
361
- "tags": [],
362
- "text": "Indicates the id of a related component\u2019s visually focused element."
363
- },
364
- "attribute": "accessible-active-descendant",
365
- "reflect": false
366
- },
367
- "accessibleAutocomplete": {
368
- "type": "string",
369
- "mutable": false,
370
- "complexType": {
371
- "original": "string",
372
- "resolved": "string",
373
- "references": {}
374
- },
375
- "required": false,
376
- "optional": false,
377
- "docs": {
378
- "tags": [],
379
- "text": "Indicates what kind of user input completion suggestions are provided."
380
- },
381
- "attribute": "accessible-autocomplete",
382
- "reflect": false
383
- },
384
- "accessibleControls": {
385
- "type": "string",
386
- "mutable": false,
387
- "complexType": {
388
- "original": "string",
389
- "resolved": "string",
390
- "references": {}
391
- },
392
- "required": false,
393
- "optional": false,
394
- "docs": {
395
- "tags": [],
396
- "text": "Use this prop to add an aria-controls attribute. Use the attribute to\nindicate the id of a component controlled by this component."
397
- },
398
- "attribute": "accessible-controls",
399
- "reflect": false
400
- },
401
- "accessibleOwns": {
402
- "type": "string",
403
- "mutable": false,
404
- "complexType": {
405
- "original": "string",
406
- "resolved": "string",
407
- "references": {}
408
- },
409
- "required": false,
410
- "optional": false,
411
- "docs": {
412
- "tags": [],
413
- "text": "Indicates the id of a component owned by the input."
414
- },
415
- "attribute": "accessible-owns",
416
- "reflect": false
417
- },
418
- "accessibleExpanded": {
419
- "type": "string",
420
- "mutable": false,
421
- "complexType": {
422
- "original": "string",
423
- "resolved": "string",
424
- "references": {}
425
- },
426
- "required": false,
427
- "optional": false,
428
- "docs": {
429
- "tags": [],
430
- "text": "Expanded state of the element, if needed"
431
- },
432
- "attribute": "accessible-expanded",
433
- "reflect": false
434
- },
435
- "accessibleDescribedBy": {
436
- "type": "string",
437
- "mutable": false,
438
- "complexType": {
439
- "original": "string",
440
- "resolved": "string",
441
- "references": {}
442
- },
443
- "required": false,
444
- "optional": false,
445
- "docs": {
446
- "tags": [],
447
- "text": "Indicates the id or a string of space seperated ids of a component(s) that describes the input."
448
- },
449
- "attribute": "accessible-described-by",
450
- "reflect": false,
451
- "defaultValue": "\"\""
452
- },
453
- "accessibleHasPopup": {
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": "Indicates value of any popup element associated with the input."
466
- },
467
- "attribute": "accessible-has-popup",
468
- "reflect": false,
469
- "defaultValue": "undefined"
470
- },
471
- "accessibleDetails": {
472
- "type": "string",
473
- "mutable": false,
474
- "complexType": {
475
- "original": "string",
476
- "resolved": "string",
477
- "references": {}
478
- },
479
- "required": false,
480
- "optional": false,
481
- "docs": {
482
- "tags": [],
483
- "text": "Aria Details of the component"
484
- },
485
- "attribute": "accessible-details",
486
- "reflect": false,
487
- "defaultValue": "undefined"
488
- },
489
- "accessibleLabelledBy": {
490
- "type": "string",
491
- "mutable": false,
492
- "complexType": {
493
- "original": "string",
494
- "resolved": "string",
495
- "references": {}
496
- },
497
- "required": false,
498
- "optional": false,
499
- "docs": {
500
- "tags": [],
501
- "text": "String of id's that indicate alternative labels elements"
502
- },
503
- "attribute": "accessible-labelled-by",
504
- "reflect": false,
505
- "defaultValue": "undefined"
506
- },
507
- "accessibleDescription": {
508
- "type": "string",
509
- "mutable": false,
510
- "complexType": {
511
- "original": "string",
512
- "resolved": "string",
513
- "references": {}
514
- },
515
- "required": false,
516
- "optional": false,
517
- "docs": {
518
- "tags": [],
519
- "text": "Aria description the button"
520
- },
521
- "attribute": "accessible-description",
522
- "reflect": false,
523
- "defaultValue": "undefined"
524
- },
525
- "debounce": {
526
- "type": "number",
527
- "mutable": false,
528
- "complexType": {
529
- "original": "number",
530
- "resolved": "number",
531
- "references": {}
532
- },
533
- "required": false,
534
- "optional": false,
535
- "docs": {
536
- "tags": [],
537
- "text": "Set the amount of time, in milliseconds, to wait to trigger the duetChange\nevent after each keystroke."
538
- },
539
- "attribute": "debounce",
540
- "reflect": false,
541
- "defaultValue": "0"
542
- },
543
- "clear": {
544
- "type": "boolean",
545
- "mutable": false,
546
- "complexType": {
547
- "original": "boolean",
548
- "resolved": "boolean",
549
- "references": {}
550
- },
551
- "required": false,
552
- "optional": false,
553
- "docs": {
554
- "tags": [],
555
- "text": "If set, the input field will display a clear button that can be accessed with tabbing."
556
- },
557
- "attribute": "clear",
558
- "reflect": false,
559
- "defaultValue": "false"
560
- },
561
- "caption": {
562
- "type": "string",
563
- "mutable": false,
564
- "complexType": {
565
- "original": "string",
566
- "resolved": "string",
567
- "references": {}
568
- },
569
- "required": false,
570
- "optional": false,
571
- "docs": {
572
- "tags": [],
573
- "text": "Caption (underneath label) that can be set as a way of adding extra information"
574
- },
575
- "attribute": "caption",
576
- "reflect": false
577
- },
578
- "echoPlaceholder": {
579
- "type": "boolean",
580
- "mutable": false,
581
- "complexType": {
582
- "original": "boolean",
583
- "resolved": "boolean",
584
- "references": {}
585
- },
586
- "required": false,
587
- "optional": false,
588
- "docs": {
589
- "tags": [],
590
- "text": "If form input field has a placeholder text, and user types anything (causing the placeholder text to disappear),\nsettings this to true will \"echo\" it into the caption slot - this option will be false by default for the next few versions, but will eventually be true by default (scheduled for 4.30.0)"
591
- },
592
- "attribute": "echo-placeholder",
593
- "reflect": false,
594
- "defaultValue": "false"
595
- },
596
- "theme": {
597
- "type": "string",
598
- "mutable": true,
599
- "complexType": {
600
- "original": "DuetTheme",
601
- "resolved": "\"\" | \"default\" | \"turva\"",
602
- "references": {
603
- "DuetTheme": {
604
- "location": "import",
605
- "path": "../../common-types"
259
+ static get originalStyleUrls() {
260
+ return {
261
+ "$": ["duet-input.scss"]
262
+ };
263
+ }
264
+ static get styleUrls() {
265
+ return {
266
+ "$": ["duet-input.css"]
267
+ };
268
+ }
269
+ static get properties() {
270
+ return {
271
+ "accessibleActiveDescendant": {
272
+ "type": "string",
273
+ "mutable": false,
274
+ "complexType": {
275
+ "original": "string",
276
+ "resolved": "string",
277
+ "references": {}
278
+ },
279
+ "required": false,
280
+ "optional": false,
281
+ "docs": {
282
+ "tags": [],
283
+ "text": "Indicates the id of a related component\u2019s visually focused element."
284
+ },
285
+ "attribute": "accessible-active-descendant",
286
+ "reflect": false
287
+ },
288
+ "accessibleAutocomplete": {
289
+ "type": "string",
290
+ "mutable": false,
291
+ "complexType": {
292
+ "original": "string",
293
+ "resolved": "string",
294
+ "references": {}
295
+ },
296
+ "required": false,
297
+ "optional": false,
298
+ "docs": {
299
+ "tags": [],
300
+ "text": "Indicates what kind of user input completion suggestions are provided."
301
+ },
302
+ "attribute": "accessible-autocomplete",
303
+ "reflect": false
304
+ },
305
+ "accessibleControls": {
306
+ "type": "string",
307
+ "mutable": false,
308
+ "complexType": {
309
+ "original": "string",
310
+ "resolved": "string",
311
+ "references": {}
312
+ },
313
+ "required": false,
314
+ "optional": false,
315
+ "docs": {
316
+ "tags": [],
317
+ "text": "Use this prop to add an aria-controls attribute. Use the attribute to\nindicate the id of a component controlled by this component."
318
+ },
319
+ "attribute": "accessible-controls",
320
+ "reflect": false
321
+ },
322
+ "accessibleOwns": {
323
+ "type": "string",
324
+ "mutable": false,
325
+ "complexType": {
326
+ "original": "string",
327
+ "resolved": "string",
328
+ "references": {}
329
+ },
330
+ "required": false,
331
+ "optional": false,
332
+ "docs": {
333
+ "tags": [],
334
+ "text": "Indicates the id of a component owned by the input."
335
+ },
336
+ "attribute": "accessible-owns",
337
+ "reflect": false
338
+ },
339
+ "accessibleExpanded": {
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": "Expanded state of the element, if needed"
352
+ },
353
+ "attribute": "accessible-expanded",
354
+ "reflect": false
355
+ },
356
+ "accessibleDescribedBy": {
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": "Indicates the id or a string of space seperated ids of a component(s) that describes the input."
369
+ },
370
+ "attribute": "accessible-described-by",
371
+ "reflect": false,
372
+ "defaultValue": "\"\""
373
+ },
374
+ "accessibleHasPopup": {
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": "Indicates value of any popup element associated with the input."
387
+ },
388
+ "attribute": "accessible-has-popup",
389
+ "reflect": false,
390
+ "defaultValue": "undefined"
391
+ },
392
+ "accessibleDetails": {
393
+ "type": "string",
394
+ "mutable": false,
395
+ "complexType": {
396
+ "original": "string",
397
+ "resolved": "string",
398
+ "references": {}
399
+ },
400
+ "required": false,
401
+ "optional": false,
402
+ "docs": {
403
+ "tags": [],
404
+ "text": "Aria Details of the component"
405
+ },
406
+ "attribute": "accessible-details",
407
+ "reflect": false,
408
+ "defaultValue": "undefined"
409
+ },
410
+ "accessibleLabelledBy": {
411
+ "type": "string",
412
+ "mutable": false,
413
+ "complexType": {
414
+ "original": "string",
415
+ "resolved": "string",
416
+ "references": {}
417
+ },
418
+ "required": false,
419
+ "optional": false,
420
+ "docs": {
421
+ "tags": [],
422
+ "text": "String of id's that indicate alternative labels elements"
423
+ },
424
+ "attribute": "accessible-labelled-by",
425
+ "reflect": false,
426
+ "defaultValue": "undefined"
427
+ },
428
+ "accessibleDescription": {
429
+ "type": "string",
430
+ "mutable": false,
431
+ "complexType": {
432
+ "original": "string",
433
+ "resolved": "string",
434
+ "references": {}
435
+ },
436
+ "required": false,
437
+ "optional": false,
438
+ "docs": {
439
+ "tags": [],
440
+ "text": "Aria description the button"
441
+ },
442
+ "attribute": "accessible-description",
443
+ "reflect": false,
444
+ "defaultValue": "undefined"
445
+ },
446
+ "debounce": {
447
+ "type": "number",
448
+ "mutable": false,
449
+ "complexType": {
450
+ "original": "number",
451
+ "resolved": "number",
452
+ "references": {}
453
+ },
454
+ "required": false,
455
+ "optional": false,
456
+ "docs": {
457
+ "tags": [],
458
+ "text": "Set the amount of time, in milliseconds, to wait to trigger the duetChange\nevent after each keystroke."
459
+ },
460
+ "attribute": "debounce",
461
+ "reflect": false,
462
+ "defaultValue": "0"
463
+ },
464
+ "clear": {
465
+ "type": "boolean",
466
+ "mutable": false,
467
+ "complexType": {
468
+ "original": "boolean",
469
+ "resolved": "boolean",
470
+ "references": {}
471
+ },
472
+ "required": false,
473
+ "optional": false,
474
+ "docs": {
475
+ "tags": [],
476
+ "text": "If set, the input field will display a clear button that can be accessed with tabbing."
477
+ },
478
+ "attribute": "clear",
479
+ "reflect": false,
480
+ "defaultValue": "false"
481
+ },
482
+ "caption": {
483
+ "type": "string",
484
+ "mutable": false,
485
+ "complexType": {
486
+ "original": "string",
487
+ "resolved": "string",
488
+ "references": {}
489
+ },
490
+ "required": false,
491
+ "optional": false,
492
+ "docs": {
493
+ "tags": [],
494
+ "text": "Caption (underneath label) that can be set as a way of adding extra information"
495
+ },
496
+ "attribute": "caption",
497
+ "reflect": false
498
+ },
499
+ "echoPlaceholder": {
500
+ "type": "boolean",
501
+ "mutable": false,
502
+ "complexType": {
503
+ "original": "boolean",
504
+ "resolved": "boolean",
505
+ "references": {}
506
+ },
507
+ "required": false,
508
+ "optional": false,
509
+ "docs": {
510
+ "tags": [],
511
+ "text": "If form input field has a placeholder text, and user types anything (causing the placeholder text to disappear),\nsettings this to true will \"echo\" it into the caption slot - this option will be false by default for the next few versions, but will eventually be true by default (scheduled for 4.30.0)"
512
+ },
513
+ "attribute": "echo-placeholder",
514
+ "reflect": false,
515
+ "defaultValue": "false"
516
+ },
517
+ "theme": {
518
+ "type": "string",
519
+ "mutable": true,
520
+ "complexType": {
521
+ "original": "DuetTheme",
522
+ "resolved": "\"\" | \"default\" | \"turva\"",
523
+ "references": {
524
+ "DuetTheme": {
525
+ "location": "import",
526
+ "path": "../../common-types"
527
+ }
606
528
  }
607
- }
608
- },
609
- "required": false,
610
- "optional": false,
611
- "docs": {
612
- "tags": [],
613
- "text": "Theme of the input."
614
- },
615
- "attribute": "theme",
616
- "reflect": false,
617
- "defaultValue": "\"\""
618
- },
619
- "expand": {
620
- "type": "boolean",
621
- "mutable": false,
622
- "complexType": {
623
- "original": "boolean",
624
- "resolved": "boolean",
625
- "references": {}
626
- },
627
- "required": false,
628
- "optional": false,
629
- "docs": {
630
- "tags": [],
631
- "text": "Expands the input to fill 100% of the container width."
632
- },
633
- "attribute": "expand",
634
- "reflect": false,
635
- "defaultValue": "false"
636
- },
637
- "disabled": {
638
- "type": "boolean",
639
- "mutable": false,
640
- "complexType": {
641
- "original": "boolean",
642
- "resolved": "boolean",
643
- "references": {}
644
- },
645
- "required": false,
646
- "optional": false,
647
- "docs": {
648
- "tags": [],
649
- "text": "Makes the input component disabled. This prevents users from being able to\ninteract with the input, and conveys its inactive state to assistive technologies."
650
- },
651
- "attribute": "disabled",
652
- "reflect": true,
653
- "defaultValue": "false"
654
- },
655
- "identifier": {
656
- "type": "string",
657
- "mutable": false,
658
- "complexType": {
659
- "original": "string",
660
- "resolved": "string",
661
- "references": {}
662
- },
663
- "required": false,
664
- "optional": false,
665
- "docs": {
666
- "tags": [],
667
- "text": "Adds a unique identifier for the input."
668
- },
669
- "attribute": "identifier",
670
- "reflect": false
671
- },
672
- "margin": {
673
- "type": "string",
674
- "mutable": false,
675
- "complexType": {
676
- "original": "DuetMargin",
677
- "resolved": "\"auto\" | \"none\"",
678
- "references": {
679
- "DuetMargin": {
680
- "location": "import",
681
- "path": "../../common-types"
529
+ },
530
+ "required": false,
531
+ "optional": false,
532
+ "docs": {
533
+ "tags": [],
534
+ "text": "Theme of the input."
535
+ },
536
+ "attribute": "theme",
537
+ "reflect": false,
538
+ "defaultValue": "\"\""
539
+ },
540
+ "expand": {
541
+ "type": "boolean",
542
+ "mutable": false,
543
+ "complexType": {
544
+ "original": "boolean",
545
+ "resolved": "boolean",
546
+ "references": {}
547
+ },
548
+ "required": false,
549
+ "optional": false,
550
+ "docs": {
551
+ "tags": [],
552
+ "text": "Expands the input to fill 100% of the container width."
553
+ },
554
+ "attribute": "expand",
555
+ "reflect": false,
556
+ "defaultValue": "false"
557
+ },
558
+ "disabled": {
559
+ "type": "boolean",
560
+ "mutable": false,
561
+ "complexType": {
562
+ "original": "boolean",
563
+ "resolved": "boolean",
564
+ "references": {}
565
+ },
566
+ "required": false,
567
+ "optional": false,
568
+ "docs": {
569
+ "tags": [],
570
+ "text": "Makes the input component disabled. This prevents users from being able to\ninteract with the input, and conveys its inactive state to assistive technologies."
571
+ },
572
+ "attribute": "disabled",
573
+ "reflect": true,
574
+ "defaultValue": "false"
575
+ },
576
+ "identifier": {
577
+ "type": "string",
578
+ "mutable": false,
579
+ "complexType": {
580
+ "original": "string",
581
+ "resolved": "string",
582
+ "references": {}
583
+ },
584
+ "required": false,
585
+ "optional": false,
586
+ "docs": {
587
+ "tags": [],
588
+ "text": "Adds a unique identifier for the input."
589
+ },
590
+ "attribute": "identifier",
591
+ "reflect": false
592
+ },
593
+ "margin": {
594
+ "type": "string",
595
+ "mutable": false,
596
+ "complexType": {
597
+ "original": "DuetMargin",
598
+ "resolved": "\"auto\" | \"none\"",
599
+ "references": {
600
+ "DuetMargin": {
601
+ "location": "import",
602
+ "path": "../../common-types"
603
+ }
682
604
  }
683
- }
684
- },
685
- "required": false,
686
- "optional": false,
687
- "docs": {
688
- "tags": [],
689
- "text": "Controls the margin of the component."
690
- },
691
- "attribute": "margin",
692
- "reflect": false,
693
- "defaultValue": "\"auto\""
694
- },
695
- "required": {
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
- "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."
708
- },
709
- "attribute": "required",
710
- "reflect": false,
711
- "defaultValue": "false"
712
- },
713
- "type": {
714
- "type": "string",
715
- "mutable": false,
716
- "complexType": {
717
- "original": "DuetInputType",
718
- "resolved": "\"email\" | \"password\" | \"search\" | \"tel\" | \"text\" | \"time\"",
719
- "references": {
720
- "DuetInputType": {
721
- "location": "local"
605
+ },
606
+ "required": false,
607
+ "optional": false,
608
+ "docs": {
609
+ "tags": [],
610
+ "text": "Controls the margin of the component."
611
+ },
612
+ "attribute": "margin",
613
+ "reflect": false,
614
+ "defaultValue": "\"auto\""
615
+ },
616
+ "required": {
617
+ "type": "boolean",
618
+ "mutable": false,
619
+ "complexType": {
620
+ "original": "boolean",
621
+ "resolved": "boolean",
622
+ "references": {}
623
+ },
624
+ "required": false,
625
+ "optional": false,
626
+ "docs": {
627
+ "tags": [],
628
+ "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."
629
+ },
630
+ "attribute": "required",
631
+ "reflect": false,
632
+ "defaultValue": "false"
633
+ },
634
+ "type": {
635
+ "type": "string",
636
+ "mutable": false,
637
+ "complexType": {
638
+ "original": "DuetInputType",
639
+ "resolved": "\"email\" | \"password\" | \"search\" | \"tel\" | \"text\" | \"time\"",
640
+ "references": {
641
+ "DuetInputType": {
642
+ "location": "local"
643
+ }
722
644
  }
723
- }
724
- },
725
- "required": false,
726
- "optional": false,
727
- "docs": {
728
- "tags": [],
729
- "text": "Type of the input."
730
- },
731
- "attribute": "type",
732
- "reflect": false,
733
- "defaultValue": "\"text\""
734
- },
735
- "variation": {
736
- "type": "string",
737
- "mutable": false,
738
- "complexType": {
739
- "original": "DuetVariationType",
740
- "resolved": "\"button\" | \"default\"",
741
- "references": {
742
- "DuetVariationType": {
743
- "location": "local"
645
+ },
646
+ "required": false,
647
+ "optional": false,
648
+ "docs": {
649
+ "tags": [],
650
+ "text": "Type of the input."
651
+ },
652
+ "attribute": "type",
653
+ "reflect": false,
654
+ "defaultValue": "\"text\""
655
+ },
656
+ "variation": {
657
+ "type": "string",
658
+ "mutable": false,
659
+ "complexType": {
660
+ "original": "DuetVariationType",
661
+ "resolved": "\"button\" | \"default\"",
662
+ "references": {
663
+ "DuetVariationType": {
664
+ "location": "local"
665
+ }
744
666
  }
745
- }
746
- },
747
- "required": false,
748
- "optional": false,
749
- "docs": {
750
- "tags": [],
751
- "text": "Variation of button."
752
- },
753
- "attribute": "variation",
754
- "reflect": false,
755
- "defaultValue": "\"default\""
756
- },
757
- "label": {
758
- "type": "string",
759
- "mutable": false,
760
- "complexType": {
761
- "original": "string",
762
- "resolved": "string",
763
- "references": {}
764
- },
765
- "required": false,
766
- "optional": false,
767
- "docs": {
768
- "tags": [],
769
- "text": "Label for the input."
770
- },
771
- "attribute": "label",
772
- "reflect": false,
773
- "defaultValue": "\"label\""
774
- },
775
- "error": {
776
- "type": "string",
777
- "mutable": false,
778
- "complexType": {
779
- "original": "string",
780
- "resolved": "string",
781
- "references": {}
782
- },
783
- "required": false,
784
- "optional": false,
785
- "docs": {
786
- "tags": [],
787
- "text": "Display the input in error state along with an error message."
788
- },
789
- "attribute": "error",
790
- "reflect": false,
791
- "defaultValue": "\"\""
792
- },
793
- "labelHidden": {
794
- "type": "boolean",
795
- "mutable": false,
796
- "complexType": {
797
- "original": "boolean",
798
- "resolved": "boolean",
799
- "references": {}
800
- },
801
- "required": false,
802
- "optional": false,
803
- "docs": {
804
- "tags": [],
805
- "text": "Visually hide the label, but still show it to screen readers."
806
- },
807
- "attribute": "label-hidden",
808
- "reflect": false,
809
- "defaultValue": "false"
810
- },
811
- "numericKeyboard": {
812
- "type": "boolean",
813
- "mutable": false,
814
- "complexType": {
815
- "original": "boolean",
816
- "resolved": "boolean",
817
- "references": {}
818
- },
819
- "required": false,
820
- "optional": false,
821
- "docs": {
822
- "tags": [],
823
- "text": "Enable numeric keyboard for the input."
824
- },
825
- "attribute": "numeric-keyboard",
826
- "reflect": false,
827
- "defaultValue": "false"
828
- },
829
- "name": {
830
- "type": "string",
831
- "mutable": false,
832
- "complexType": {
833
- "original": "string",
834
- "resolved": "string",
835
- "references": {}
836
- },
837
- "required": false,
838
- "optional": false,
839
- "docs": {
840
- "tags": [],
841
- "text": "Name of the input."
842
- },
843
- "attribute": "name",
844
- "reflect": false
845
- },
846
- "pattern": {
847
- "type": "string",
848
- "mutable": false,
849
- "complexType": {
850
- "original": "string",
851
- "resolved": "string",
852
- "references": {}
853
- },
854
- "required": false,
855
- "optional": false,
856
- "docs": {
857
- "tags": [],
858
- "text": "A regular expression to check the value against. Please note that this\nuses native HTML5 pattern validation."
859
- },
860
- "attribute": "pattern",
861
- "reflect": false
862
- },
863
- "maxlength": {
864
- "type": "number",
865
- "mutable": false,
866
- "complexType": {
867
- "original": "number",
868
- "resolved": "number",
869
- "references": {}
870
- },
871
- "required": false,
872
- "optional": false,
873
- "docs": {
874
- "tags": [],
875
- "text": "Use maxlength to specify the maximum length of the value that can be entered.\nPlease note that this uses native HTML5 pattern validation."
876
- },
877
- "attribute": "maxlength",
878
- "reflect": false
879
- },
880
- "minlength": {
881
- "type": "number",
882
- "mutable": false,
883
- "complexType": {
884
- "original": "number",
885
- "resolved": "number",
886
- "references": {}
887
- },
888
- "required": false,
889
- "optional": false,
890
- "docs": {
891
- "tags": [],
892
- "text": "Use minlength to specify the minimum length of the value that can be entered.\nPlease note that this uses native HTML5 pattern validation."
893
- },
894
- "attribute": "minlength",
895
- "reflect": false
896
- },
897
- "placeholder": {
898
- "type": "string",
899
- "mutable": false,
900
- "complexType": {
901
- "original": "string",
902
- "resolved": "string",
903
- "references": {}
904
- },
905
- "required": false,
906
- "optional": false,
907
- "docs": {
908
- "tags": [],
909
- "text": "Hint text to display."
910
- },
911
- "attribute": "placeholder",
912
- "reflect": false
913
- },
914
- "component": {
915
- "type": "string",
916
- "mutable": false,
917
- "complexType": {
918
- "original": "DuetInputComponentType",
919
- "resolved": "\"date\" | \"input\" | \"number\"",
920
- "references": {
921
- "DuetInputComponentType": {
922
- "location": "local"
667
+ },
668
+ "required": false,
669
+ "optional": false,
670
+ "docs": {
671
+ "tags": [],
672
+ "text": "Variation of button."
673
+ },
674
+ "attribute": "variation",
675
+ "reflect": false,
676
+ "defaultValue": "\"default\""
677
+ },
678
+ "label": {
679
+ "type": "string",
680
+ "mutable": false,
681
+ "complexType": {
682
+ "original": "string",
683
+ "resolved": "string",
684
+ "references": {}
685
+ },
686
+ "required": false,
687
+ "optional": false,
688
+ "docs": {
689
+ "tags": [],
690
+ "text": "Label for the input."
691
+ },
692
+ "attribute": "label",
693
+ "reflect": false,
694
+ "defaultValue": "\"label\""
695
+ },
696
+ "error": {
697
+ "type": "string",
698
+ "mutable": false,
699
+ "complexType": {
700
+ "original": "string",
701
+ "resolved": "string",
702
+ "references": {}
703
+ },
704
+ "required": false,
705
+ "optional": false,
706
+ "docs": {
707
+ "tags": [],
708
+ "text": "Display the input in error state along with an error message."
709
+ },
710
+ "attribute": "error",
711
+ "reflect": false,
712
+ "defaultValue": "\"\""
713
+ },
714
+ "labelHidden": {
715
+ "type": "boolean",
716
+ "mutable": false,
717
+ "complexType": {
718
+ "original": "boolean",
719
+ "resolved": "boolean",
720
+ "references": {}
721
+ },
722
+ "required": false,
723
+ "optional": false,
724
+ "docs": {
725
+ "tags": [],
726
+ "text": "Visually hide the label, but still show it to screen readers."
727
+ },
728
+ "attribute": "label-hidden",
729
+ "reflect": false,
730
+ "defaultValue": "false"
731
+ },
732
+ "numericKeyboard": {
733
+ "type": "boolean",
734
+ "mutable": false,
735
+ "complexType": {
736
+ "original": "boolean",
737
+ "resolved": "boolean",
738
+ "references": {}
739
+ },
740
+ "required": false,
741
+ "optional": false,
742
+ "docs": {
743
+ "tags": [],
744
+ "text": "Enable numeric keyboard for the input."
745
+ },
746
+ "attribute": "numeric-keyboard",
747
+ "reflect": false,
748
+ "defaultValue": "false"
749
+ },
750
+ "name": {
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": "Name of the input."
763
+ },
764
+ "attribute": "name",
765
+ "reflect": false
766
+ },
767
+ "pattern": {
768
+ "type": "string",
769
+ "mutable": false,
770
+ "complexType": {
771
+ "original": "string",
772
+ "resolved": "string",
773
+ "references": {}
774
+ },
775
+ "required": false,
776
+ "optional": false,
777
+ "docs": {
778
+ "tags": [],
779
+ "text": "A regular expression to check the value against. Please note that this\nuses native HTML5 pattern validation."
780
+ },
781
+ "attribute": "pattern",
782
+ "reflect": false
783
+ },
784
+ "maxlength": {
785
+ "type": "number",
786
+ "mutable": false,
787
+ "complexType": {
788
+ "original": "number",
789
+ "resolved": "number",
790
+ "references": {}
791
+ },
792
+ "required": false,
793
+ "optional": false,
794
+ "docs": {
795
+ "tags": [],
796
+ "text": "Use maxlength to specify the maximum length of the value that can be entered.\nPlease note that this uses native HTML5 pattern validation."
797
+ },
798
+ "attribute": "maxlength",
799
+ "reflect": false
800
+ },
801
+ "minlength": {
802
+ "type": "number",
803
+ "mutable": false,
804
+ "complexType": {
805
+ "original": "number",
806
+ "resolved": "number",
807
+ "references": {}
808
+ },
809
+ "required": false,
810
+ "optional": false,
811
+ "docs": {
812
+ "tags": [],
813
+ "text": "Use minlength to specify the minimum length of the value that can be entered.\nPlease note that this uses native HTML5 pattern validation."
814
+ },
815
+ "attribute": "minlength",
816
+ "reflect": false
817
+ },
818
+ "placeholder": {
819
+ "type": "string",
820
+ "mutable": false,
821
+ "complexType": {
822
+ "original": "string",
823
+ "resolved": "string",
824
+ "references": {}
825
+ },
826
+ "required": false,
827
+ "optional": false,
828
+ "docs": {
829
+ "tags": [],
830
+ "text": "Hint text to display."
831
+ },
832
+ "attribute": "placeholder",
833
+ "reflect": false
834
+ },
835
+ "component": {
836
+ "type": "string",
837
+ "mutable": false,
838
+ "complexType": {
839
+ "original": "DuetInputComponentType",
840
+ "resolved": "\"date\" | \"input\" | \"number\"",
841
+ "references": {
842
+ "DuetInputComponentType": {
843
+ "location": "local"
844
+ }
923
845
  }
924
- }
925
- },
926
- "required": false,
927
- "optional": false,
928
- "docs": {
929
- "tags": [],
930
- "text": "Used internally in Duet to adjust whether this component acts as e.g. number input."
931
- },
932
- "attribute": "component",
933
- "reflect": false,
934
- "defaultValue": "\"input\""
935
- },
936
- "role": {
937
- "type": "string",
938
- "mutable": false,
939
- "complexType": {
940
- "original": "string",
941
- "resolved": "string",
942
- "references": {}
943
- },
944
- "required": false,
945
- "optional": false,
946
- "docs": {
947
- "tags": [],
948
- "text": "Defines a specific role attribute for the input."
949
- },
950
- "attribute": "role",
951
- "reflect": false
952
- },
953
- "icon": {
954
- "type": "string",
955
- "mutable": false,
956
- "complexType": {
957
- "original": "DuetIconName",
958
- "resolved": "string",
959
- "references": {
960
- "DuetIconName": {
961
- "location": "import",
962
- "path": "../../common-types"
846
+ },
847
+ "required": false,
848
+ "optional": false,
849
+ "docs": {
850
+ "tags": [],
851
+ "text": "Used internally in Duet to adjust whether this component acts as e.g. number input."
852
+ },
853
+ "attribute": "component",
854
+ "reflect": false,
855
+ "defaultValue": "\"input\""
856
+ },
857
+ "role": {
858
+ "type": "string",
859
+ "mutable": false,
860
+ "complexType": {
861
+ "original": "string",
862
+ "resolved": "string",
863
+ "references": {}
864
+ },
865
+ "required": false,
866
+ "optional": false,
867
+ "docs": {
868
+ "tags": [],
869
+ "text": "Defines a specific role attribute for the input."
870
+ },
871
+ "attribute": "role",
872
+ "reflect": false
873
+ },
874
+ "icon": {
875
+ "type": "string",
876
+ "mutable": false,
877
+ "complexType": {
878
+ "original": "DuetIconName",
879
+ "resolved": "string",
880
+ "references": {
881
+ "DuetIconName": {
882
+ "location": "import",
883
+ "path": "../../common-types"
884
+ }
963
885
  }
964
- }
965
- },
966
- "required": false,
967
- "optional": false,
968
- "docs": {
969
- "tags": [],
970
- "text": "Icon to display on the right side (from Duet\u2019s icons). Example: \"form-location\""
971
- },
972
- "attribute": "icon",
973
- "reflect": false
974
- },
975
- "autoComplete": {
976
- "type": "string",
977
- "mutable": false,
978
- "complexType": {
979
- "original": "string",
980
- "resolved": "string",
981
- "references": {}
982
- },
983
- "required": false,
984
- "optional": false,
985
- "docs": {
986
- "tags": [],
987
- "text": "Enable or disable automatic completion by the browser"
988
- },
989
- "attribute": "auto-complete",
990
- "reflect": false,
991
- "defaultValue": "\"on\""
992
- },
993
- "disallowPattern": {
994
- "type": "string",
995
- "mutable": false,
996
- "complexType": {
997
- "original": "string",
998
- "resolved": "string",
999
- "references": {}
1000
- },
1001
- "required": false,
1002
- "optional": false,
1003
- "docs": {
1004
- "tags": [],
1005
- "text": "A regular expression that matches any characters which should be *disallowed*.\nThis differs from `pattern`, as it actively prevents users entering any characters which match the regular expression.\ne.g. the following will disallow any non-numeric characters `[^0-9]`"
1006
- },
1007
- "attribute": "disallow-pattern",
1008
- "reflect": false,
1009
- "defaultValue": "null"
1010
- },
1011
- "value": {
1012
- "type": "string",
1013
- "mutable": true,
1014
- "complexType": {
1015
- "original": "string",
1016
- "resolved": "string",
1017
- "references": {}
1018
- },
1019
- "required": false,
1020
- "optional": false,
1021
- "docs": {
1022
- "tags": [],
1023
- "text": "Value of the input."
1024
- },
1025
- "attribute": "value",
1026
- "reflect": false
1027
- },
1028
- "tooltip": {
1029
- "type": "string",
1030
- "mutable": false,
1031
- "complexType": {
1032
- "original": "string",
1033
- "resolved": "string",
1034
- "references": {}
1035
- },
1036
- "required": false,
1037
- "optional": false,
1038
- "docs": {
1039
- "tags": [],
1040
- "text": "Tooltip to display next to the label of the input."
1041
- },
1042
- "attribute": "tooltip",
1043
- "reflect": false,
1044
- "defaultValue": "\"\""
1045
- },
1046
- "tooltipDirection": {
1047
- "type": "string",
1048
- "mutable": false,
1049
- "complexType": {
1050
- "original": "DuetTooltipDirection",
1051
- "resolved": "\"auto\" | \"left\" | \"right\"",
1052
- "references": {
1053
- "DuetTooltipDirection": {
1054
- "location": "import",
1055
- "path": "../../common-types"
886
+ },
887
+ "required": false,
888
+ "optional": false,
889
+ "docs": {
890
+ "tags": [],
891
+ "text": "Icon to display on the right side (from Duet\u2019s icons). Example: \"form-location\""
892
+ },
893
+ "attribute": "icon",
894
+ "reflect": false
895
+ },
896
+ "autoComplete": {
897
+ "type": "string",
898
+ "mutable": false,
899
+ "complexType": {
900
+ "original": "string",
901
+ "resolved": "string",
902
+ "references": {}
903
+ },
904
+ "required": false,
905
+ "optional": false,
906
+ "docs": {
907
+ "tags": [],
908
+ "text": "Enable or disable automatic completion by the browser"
909
+ },
910
+ "attribute": "auto-complete",
911
+ "reflect": false,
912
+ "defaultValue": "\"on\""
913
+ },
914
+ "disallowPattern": {
915
+ "type": "string",
916
+ "mutable": false,
917
+ "complexType": {
918
+ "original": "string",
919
+ "resolved": "string",
920
+ "references": {}
921
+ },
922
+ "required": false,
923
+ "optional": false,
924
+ "docs": {
925
+ "tags": [],
926
+ "text": "A regular expression that matches any characters which should be *disallowed*.\nThis differs from `pattern`, as it actively prevents users entering any characters which match the regular expression.\ne.g. the following will disallow any non-numeric characters `[^0-9]`"
927
+ },
928
+ "attribute": "disallow-pattern",
929
+ "reflect": false,
930
+ "defaultValue": "null"
931
+ },
932
+ "value": {
933
+ "type": "string",
934
+ "mutable": true,
935
+ "complexType": {
936
+ "original": "string",
937
+ "resolved": "string",
938
+ "references": {}
939
+ },
940
+ "required": false,
941
+ "optional": false,
942
+ "docs": {
943
+ "tags": [],
944
+ "text": "Value of the input."
945
+ },
946
+ "attribute": "value",
947
+ "reflect": false
948
+ },
949
+ "tooltip": {
950
+ "type": "string",
951
+ "mutable": false,
952
+ "complexType": {
953
+ "original": "string",
954
+ "resolved": "string",
955
+ "references": {}
956
+ },
957
+ "required": false,
958
+ "optional": false,
959
+ "docs": {
960
+ "tags": [],
961
+ "text": "Tooltip to display next to the label of the input."
962
+ },
963
+ "attribute": "tooltip",
964
+ "reflect": false,
965
+ "defaultValue": "\"\""
966
+ },
967
+ "tooltipDirection": {
968
+ "type": "string",
969
+ "mutable": false,
970
+ "complexType": {
971
+ "original": "DuetTooltipDirection",
972
+ "resolved": "\"auto\" | \"left\" | \"right\"",
973
+ "references": {
974
+ "DuetTooltipDirection": {
975
+ "location": "import",
976
+ "path": "../../common-types"
977
+ }
1056
978
  }
1057
- }
1058
- },
1059
- "required": false,
1060
- "optional": false,
1061
- "docs": {
1062
- "tags": [],
1063
- "text": "With direction setting you can force the tooltip to always open towards left\nor right instead of automatically determining the direction."
1064
- },
1065
- "attribute": "tooltip-direction",
1066
- "reflect": false,
1067
- "defaultValue": "\"auto\""
1068
- }
1069
- }; }
1070
- static get events() { return [{
1071
- "method": "duetInput",
1072
- "name": "duetInput",
1073
- "bubbles": true,
1074
- "cancelable": true,
1075
- "composed": true,
1076
- "docs": {
1077
- "tags": [],
1078
- "text": "Emitted when a keyboard input ocurred."
1079
- },
1080
- "complexType": {
1081
- "original": "DuetInputEvent",
1082
- "resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
1083
- "references": {
1084
- "DuetInputEvent": {
1085
- "location": "local"
979
+ },
980
+ "required": false,
981
+ "optional": false,
982
+ "docs": {
983
+ "tags": [],
984
+ "text": "With direction setting you can force the tooltip to always open towards left\nor right instead of automatically determining the direction."
985
+ },
986
+ "attribute": "tooltip-direction",
987
+ "reflect": false,
988
+ "defaultValue": "\"auto\""
989
+ }
990
+ };
991
+ }
992
+ static get events() {
993
+ return [{
994
+ "method": "duetInput",
995
+ "name": "duetInput",
996
+ "bubbles": true,
997
+ "cancelable": true,
998
+ "composed": true,
999
+ "docs": {
1000
+ "tags": [],
1001
+ "text": "Emitted when a keyboard input ocurred."
1002
+ },
1003
+ "complexType": {
1004
+ "original": "DuetInputEvent",
1005
+ "resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
1006
+ "references": {
1007
+ "DuetInputEvent": {
1008
+ "location": "local"
1009
+ }
1086
1010
  }
1087
1011
  }
1088
- }
1089
- }, {
1090
- "method": "duetChange",
1091
- "name": "duetChange",
1092
- "bubbles": false,
1093
- "cancelable": true,
1094
- "composed": true,
1095
- "docs": {
1096
- "tags": [],
1097
- "text": "Emitted when the value has changed."
1098
- },
1099
- "complexType": {
1100
- "original": "DuetInputEvent",
1101
- "resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
1102
- "references": {
1103
- "DuetInputEvent": {
1104
- "location": "local"
1012
+ }, {
1013
+ "method": "duetChange",
1014
+ "name": "duetChange",
1015
+ "bubbles": false,
1016
+ "cancelable": true,
1017
+ "composed": true,
1018
+ "docs": {
1019
+ "tags": [],
1020
+ "text": "Emitted when the value has changed."
1021
+ },
1022
+ "complexType": {
1023
+ "original": "DuetInputEvent",
1024
+ "resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
1025
+ "references": {
1026
+ "DuetInputEvent": {
1027
+ "location": "local"
1028
+ }
1105
1029
  }
1106
1030
  }
1107
- }
1108
- }, {
1109
- "method": "duetBlur",
1110
- "name": "duetBlur",
1111
- "bubbles": true,
1112
- "cancelable": true,
1113
- "composed": true,
1114
- "docs": {
1115
- "tags": [],
1116
- "text": "Emitted when the input loses focus."
1117
- },
1118
- "complexType": {
1119
- "original": "DuetInputEvent",
1120
- "resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
1121
- "references": {
1122
- "DuetInputEvent": {
1123
- "location": "local"
1031
+ }, {
1032
+ "method": "duetBlur",
1033
+ "name": "duetBlur",
1034
+ "bubbles": true,
1035
+ "cancelable": true,
1036
+ "composed": true,
1037
+ "docs": {
1038
+ "tags": [],
1039
+ "text": "Emitted when the input loses focus."
1040
+ },
1041
+ "complexType": {
1042
+ "original": "DuetInputEvent",
1043
+ "resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
1044
+ "references": {
1045
+ "DuetInputEvent": {
1046
+ "location": "local"
1047
+ }
1124
1048
  }
1125
1049
  }
1126
- }
1127
- }, {
1128
- "method": "duetClear",
1129
- "name": "duetClear",
1130
- "bubbles": true,
1131
- "cancelable": true,
1132
- "composed": true,
1133
- "docs": {
1134
- "tags": [],
1135
- "text": "Emitted when the input is cleared."
1136
- },
1137
- "complexType": {
1138
- "original": "DuetInputEvent",
1139
- "resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
1140
- "references": {
1141
- "DuetInputEvent": {
1142
- "location": "local"
1050
+ }, {
1051
+ "method": "duetClear",
1052
+ "name": "duetClear",
1053
+ "bubbles": true,
1054
+ "cancelable": true,
1055
+ "composed": true,
1056
+ "docs": {
1057
+ "tags": [],
1058
+ "text": "Emitted when the input is cleared."
1059
+ },
1060
+ "complexType": {
1061
+ "original": "DuetInputEvent",
1062
+ "resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
1063
+ "references": {
1064
+ "DuetInputEvent": {
1065
+ "location": "local"
1066
+ }
1143
1067
  }
1144
1068
  }
1145
- }
1146
- }, {
1147
- "method": "duetFocus",
1148
- "name": "duetFocus",
1149
- "bubbles": true,
1150
- "cancelable": true,
1151
- "composed": true,
1152
- "docs": {
1153
- "tags": [],
1154
- "text": "Emitted when the input has focus."
1155
- },
1156
- "complexType": {
1157
- "original": "DuetInputEvent",
1158
- "resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
1159
- "references": {
1160
- "DuetInputEvent": {
1161
- "location": "local"
1069
+ }, {
1070
+ "method": "duetFocus",
1071
+ "name": "duetFocus",
1072
+ "bubbles": true,
1073
+ "cancelable": true,
1074
+ "composed": true,
1075
+ "docs": {
1076
+ "tags": [],
1077
+ "text": "Emitted when the input has focus."
1078
+ },
1079
+ "complexType": {
1080
+ "original": "DuetInputEvent",
1081
+ "resolved": "{ originalEvent?: Event; value: string; component: \"duet-input\"; }",
1082
+ "references": {
1083
+ "DuetInputEvent": {
1084
+ "location": "local"
1085
+ }
1162
1086
  }
1163
1087
  }
1164
- }
1165
- }]; }
1166
- static get methods() { return {
1167
- "setFocus": {
1168
- "complexType": {
1169
- "signature": "(options?: FocusOptions) => Promise<void>",
1170
- "parameters": [{
1171
- "tags": [],
1172
- "text": ""
1173
- }],
1174
- "references": {
1175
- "Promise": {
1176
- "location": "global"
1088
+ }];
1089
+ }
1090
+ static get methods() {
1091
+ return {
1092
+ "setFocus": {
1093
+ "complexType": {
1094
+ "signature": "(options?: FocusOptions) => Promise<void>",
1095
+ "parameters": [{
1096
+ "tags": [],
1097
+ "text": ""
1098
+ }],
1099
+ "references": {
1100
+ "Promise": {
1101
+ "location": "global"
1102
+ },
1103
+ "FocusOptions": {
1104
+ "location": "global"
1105
+ }
1177
1106
  },
1178
- "FocusOptions": {
1179
- "location": "global"
1180
- }
1107
+ "return": "Promise<void>"
1181
1108
  },
1182
- "return": "Promise<void>"
1109
+ "docs": {
1110
+ "text": "Sets focus on the specified `duet-input`. Use this method instead of the global\n`input.focus()`.",
1111
+ "tags": []
1112
+ }
1183
1113
  },
1184
- "docs": {
1185
- "text": "Sets focus on the specified `duet-input`. Use this method instead of the global\n`input.focus()`.",
1186
- "tags": []
1187
- }
1188
- },
1189
- "resetCursor": {
1190
- "complexType": {
1191
- "signature": "() => Promise<void>",
1192
- "parameters": [],
1193
- "references": {
1194
- "Promise": {
1195
- "location": "global"
1196
- }
1114
+ "resetCursor": {
1115
+ "complexType": {
1116
+ "signature": "() => Promise<void>",
1117
+ "parameters": [],
1118
+ "references": {
1119
+ "Promise": {
1120
+ "location": "global"
1121
+ }
1122
+ },
1123
+ "return": "Promise<void>"
1197
1124
  },
1198
- "return": "Promise<void>"
1125
+ "docs": {
1126
+ "text": "Reset the cursor position on the native element\n`input.resetCursor()`.",
1127
+ "tags": []
1128
+ }
1199
1129
  },
1200
- "docs": {
1201
- "text": "Reset the cursor position on the native element\n`input.resetCursor()`.",
1202
- "tags": []
1203
- }
1204
- },
1205
- "clearInput": {
1206
- "complexType": {
1207
- "signature": "() => Promise<void>",
1208
- "parameters": [],
1209
- "references": {
1210
- "Promise": {
1211
- "location": "global"
1212
- }
1130
+ "clearInput": {
1131
+ "complexType": {
1132
+ "signature": "() => Promise<void>",
1133
+ "parameters": [],
1134
+ "references": {
1135
+ "Promise": {
1136
+ "location": "global"
1137
+ }
1138
+ },
1139
+ "return": "Promise<void>"
1213
1140
  },
1214
- "return": "Promise<void>"
1215
- },
1216
- "docs": {
1217
- "text": "Reset the cursor position on the native element\n`input.resetCursor()`.",
1218
- "tags": []
1141
+ "docs": {
1142
+ "text": "Reset the cursor position on the native element\n`input.resetCursor()`.",
1143
+ "tags": []
1144
+ }
1219
1145
  }
1220
- }
1221
- }; }
1146
+ };
1147
+ }
1222
1148
  static get elementRef() { return "element"; }
1223
- static get watchers() { return [{
1224
- "propName": "disallowPattern",
1225
- "methodName": "disallowedPatternChange"
1226
- }, {
1227
- "propName": "value",
1228
- "methodName": "valueChanged"
1229
- }]; }
1149
+ static get watchers() {
1150
+ return [{
1151
+ "propName": "disallowPattern",
1152
+ "methodName": "disallowedPatternChange"
1153
+ }, {
1154
+ "propName": "value",
1155
+ "methodName": "valueChanged"
1156
+ }];
1157
+ }
1230
1158
  }