@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 addIcon from "@duetds/icons/lib/assets/action-add";
5
5
  import subtractIcon from "@duetds/icons/lib/assets/action-subtract";
6
- import { Component, Element, Event, h, Host, Method, Prop, State } 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 { isArrowDownKey, isArrowLeftKey, isArrowRightKey, isArrowUpKey, isBackspaceKey, } from "../../utils/keyboard-utils";
@@ -12,147 +12,6 @@ import { clamp, roundTo, SafeParseFloat } from "../../utils/math.utils";
12
12
  export class DuetNumberInput {
13
13
  constructor() {
14
14
  this.inputId = createID("DuetInput");
15
- /**
16
- * The currently active language. This setting changes the accessible labels to match the
17
- * chosen language.
18
- * @deprecated this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing
19
- * @default "fi"
20
- */
21
- this.language = getLanguage();
22
- /**
23
- * Locale used to format the entered value.
24
- */
25
- this.locale = getLocale(this.language).locale;
26
- /**
27
- * Unit for the number input.
28
- */
29
- this.unit = getLocale(this.language).money;
30
- /**
31
- * Details of the component
32
- */
33
- this.accessibleDetails = undefined;
34
- /**
35
- * String of id's that indicate alternative labels elements
36
- */
37
- this.accessibleLabelledBy = undefined;
38
- /**
39
- * Aria description the button
40
- */
41
- this.accessibleDescription = undefined;
42
- /**
43
- * Defaults for accessibleLive
44
- * @default {fi: "{current} euroa valittuna", en: "{current} euros selected", sv: "{current} valda euro"}
45
- */
46
- this.accessibleLiveDefaults = {
47
- fi: "{current} euroa valittuna",
48
- en: "{current} euros selected",
49
- sv: "{current} euro valt",
50
- };
51
- /**
52
- * Format of message used to announce current amount when switching between amounts.
53
- * The string {current} is replaced with the current amount.
54
- * @default {fi: "{current} euroa valittuna", en: "{current} euros selected", sv: "{current} valda euro"}
55
- */
56
- this.accessibleLive = getLocaleString(this.accessibleLiveDefaults, this.language);
57
- /**
58
- * Disables the aria-live messaging used internally in this component. This could be useful when you want to use custom aria-live messages instead.
59
- */
60
- this.accessibleLiveEnabled = true;
61
- /**
62
- * Defaults for accessibleAdd
63
- * @default {fi: "Lisää summaan", en: "Add to the amount", sv: "Lägg till beloppet"}
64
- */
65
- this.accessibleAddDefaults = {
66
- fi: "Lisää summaan",
67
- en: "Add to the amount",
68
- sv: "Lägg till beloppet",
69
- };
70
- /**
71
- * Accessible label for the add button that is read for screen reader users.
72
- * @default {fi: "Lisää summaan", en: "Add to the amount", sv: "Lägg till beloppet"}
73
- */
74
- this.accessibleAdd = getLocaleString(this.accessibleAddDefaults, this.language);
75
- /**
76
- * Defaults for accessibleSubtract
77
- * @default {fi: "Vähennä summasta", en: "Subtract from the amount", sv: "Dra från beloppet"}
78
- */
79
- this.accessibleSubtractDefaults = {
80
- fi: "Vähennä summasta",
81
- en: "Subtract from the amount",
82
- sv: "Dra från beloppet",
83
- };
84
- /**
85
- * Accessible label for the subtract button that is read for screen reader users.
86
- * @default {fi: "Vähennä summasta", en: "Subtract from the amount", sv: "Dra från beloppet"}
87
- */
88
- this.accessibleSubtract = getLocaleString(this.accessibleSubtractDefaults, this.language);
89
- /**
90
- * Theme of the input.
91
- */
92
- this.theme = "";
93
- /**
94
- * Controls the margin of the component.
95
- */
96
- this.margin = "auto";
97
- /**
98
- * Expands the input to fill 100% of the container width.
99
- */
100
- this.expand = false;
101
- /**
102
- * Minimum value.
103
- */
104
- this.min = 0;
105
- /**
106
- * Defaults for Label
107
- * @default {fi: "Etiketti", en: "Label", sv: "Märka"}
108
- */
109
- this.labelDefaults = {
110
- fi: "Nimilappu",
111
- en: "Label",
112
- sv: "Etikett",
113
- };
114
- /**
115
- * Label for the number input.
116
- * @default {fi: "Etiketti", en: "Label", sv: "Märka"}
117
- */
118
- this.label = getLocaleString(this.labelDefaults, this.language);
119
- /**
120
- * Visually hide the label, but still show it to screen readers.
121
- */
122
- this.labelHidden = false;
123
- /**
124
- * Maximum value.
125
- */
126
- this.max = 1000000;
127
- /**
128
- * Display the input in error state along with an error message.
129
- */
130
- this.error = "";
131
- /**
132
- * Tooltip to display next to the label of the input.
133
- */
134
- this.tooltip = "";
135
- /**
136
- * Step amount.
137
- */
138
- this.step = 5000;
139
- /**
140
- * Controls whether or not value gets rounded to the nearest
141
- * multiple of a step on blur. Set to "false" to disable this behaviour.
142
- */
143
- this.rounding = true;
144
- /**
145
- * Makes the number input component disabled. This prevents users from being able to
146
- * interact with the input, and conveys its inactive state to assistive technologies.
147
- */
148
- this.disabled = false;
149
- /**
150
- * Set whether the input is required or not. Please note that this is required for
151
- * accessible inputs when the user is required to fill them. When using this property
152
- * you need to also set “novalidate” attribute to your form element to prevent
153
- * browser from displaying its own validation errors.
154
- */
155
- this.required = false;
156
15
  /**
157
16
  * Component event handling.
158
17
  */
@@ -292,6 +151,58 @@ export class DuetNumberInput {
292
151
  this.value = this.localizeValue(newValue);
293
152
  this.emitChange(ev);
294
153
  };
154
+ this.language = getLanguage();
155
+ this.locale = getLocale(this.language).locale;
156
+ this.unit = getLocale(this.language).money;
157
+ this.focusedValue = undefined;
158
+ this.accessibleActiveDescendant = undefined;
159
+ this.accessibleControls = undefined;
160
+ this.accessibleDetails = undefined;
161
+ this.accessibleLabelledBy = undefined;
162
+ this.accessibleDescription = undefined;
163
+ this.accessibleOwns = undefined;
164
+ this.accessibleDescribedBy = undefined;
165
+ this.accessibleLiveDefaults = {
166
+ fi: "{current} euroa valittuna",
167
+ en: "{current} euros selected",
168
+ sv: "{current} euro valt",
169
+ };
170
+ this.accessibleLive = getLocaleString(this.accessibleLiveDefaults, this.language);
171
+ this.accessibleLiveEnabled = true;
172
+ this.accessibleAddDefaults = {
173
+ fi: "Lisää summaan",
174
+ en: "Add to the amount",
175
+ sv: "Lägg till beloppet",
176
+ };
177
+ this.accessibleAdd = getLocaleString(this.accessibleAddDefaults, this.language);
178
+ this.accessibleSubtractDefaults = {
179
+ fi: "Vähennä summasta",
180
+ en: "Subtract from the amount",
181
+ sv: "Dra från beloppet",
182
+ };
183
+ this.accessibleSubtract = getLocaleString(this.accessibleSubtractDefaults, this.language);
184
+ this.theme = "";
185
+ this.margin = "auto";
186
+ this.expand = false;
187
+ this.identifier = undefined;
188
+ this.min = 0;
189
+ this.labelDefaults = {
190
+ fi: "Nimilappu",
191
+ en: "Label",
192
+ sv: "Etikett",
193
+ };
194
+ this.label = getLocaleString(this.labelDefaults, this.language);
195
+ this.labelHidden = false;
196
+ this.max = 1000000;
197
+ this.name = undefined;
198
+ this.error = "";
199
+ this.tooltip = "";
200
+ this.step = 5000;
201
+ this.rounding = true;
202
+ this.role = undefined;
203
+ this.disabled = false;
204
+ this.required = false;
205
+ this.value = undefined;
295
206
  }
296
207
  /**
297
208
  * Component lifecycle events.
@@ -333,829 +244,825 @@ export class DuetNumberInput {
333
244
  "duet-theme-turva": this.theme === "turva",
334
245
  "duet-expand": this.expand,
335
246
  "duet-m-0": this.margin === "none",
336
- } },
337
- h("div", { class: "duet-number-container" },
338
- h("duet-input", { ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value} ${this.unit}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy },
339
- h("div", { class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } },
340
- h("button", { "aria-controls": identifier, disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" },
341
- h("duet-visually-hidden", null,
342
- this.accessibleSubtract,
343
- " ",
344
- this.step),
345
- h("duet-icon", { icon: subtractIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })),
346
- h("button", { "aria-controls": identifier, disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" },
347
- h("duet-visually-hidden", null,
348
- this.accessibleAdd,
349
- " ",
350
- this.step),
351
- h("duet-icon", { icon: addIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))),
352
- this.accessibleLiveEnabled && (h("duet-visually-hidden", { "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
247
+ } }, h("div", { class: "duet-number-container" }, h("duet-input", { ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value} ${this.unit}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, h("div", { class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, h("button", { "aria-controls": identifier, disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" }, h("duet-visually-hidden", null, this.accessibleSubtract, " ", this.step), h("duet-icon", { icon: subtractIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), h("button", { "aria-controls": identifier, disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" }, h("duet-visually-hidden", null, this.accessibleAdd, " ", this.step), h("duet-icon", { icon: addIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (h("duet-visually-hidden", { "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
353
248
  }
354
249
  static get is() { return "duet-number-input"; }
355
250
  static get encapsulation() { return "scoped"; }
356
- static get originalStyleUrls() { return {
357
- "$": ["duet-number-input.scss"]
358
- }; }
359
- static get styleUrls() { return {
360
- "$": ["duet-number-input.css"]
361
- }; }
362
- static get properties() { return {
363
- "language": {
364
- "type": "string",
365
- "mutable": true,
366
- "complexType": {
367
- "original": "DuetLanguage",
368
- "resolved": "\"en\" | \"fi\" | \"sv\"",
369
- "references": {
370
- "DuetLanguage": {
371
- "location": "import",
372
- "path": "../../common-types"
251
+ static get originalStyleUrls() {
252
+ return {
253
+ "$": ["duet-number-input.scss"]
254
+ };
255
+ }
256
+ static get styleUrls() {
257
+ return {
258
+ "$": ["duet-number-input.css"]
259
+ };
260
+ }
261
+ static get properties() {
262
+ return {
263
+ "language": {
264
+ "type": "string",
265
+ "mutable": true,
266
+ "complexType": {
267
+ "original": "DuetLanguage",
268
+ "resolved": "\"en\" | \"fi\" | \"sv\"",
269
+ "references": {
270
+ "DuetLanguage": {
271
+ "location": "import",
272
+ "path": "../../common-types"
273
+ }
373
274
  }
374
- }
375
- },
376
- "required": false,
377
- "optional": false,
378
- "docs": {
379
- "tags": [{
380
- "name": "deprecated",
381
- "text": "this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing"
382
- }, {
383
- "name": "default",
384
- "text": "\"fi\""
385
- }],
386
- "text": "The currently active language. This setting changes the accessible labels to match the\nchosen language."
387
- },
388
- "attribute": "language",
389
- "reflect": false,
390
- "defaultValue": "getLanguage()"
391
- },
392
- "locale": {
393
- "type": "string",
394
- "mutable": false,
395
- "complexType": {
396
- "original": "DuetLocale",
397
- "resolved": "\"en-GB\" | \"en-US\" | \"fi-FI\" | \"sv-SE\"",
398
- "references": {
399
- "DuetLocale": {
400
- "location": "import",
401
- "path": "../../common-types"
275
+ },
276
+ "required": false,
277
+ "optional": false,
278
+ "docs": {
279
+ "tags": [{
280
+ "name": "deprecated",
281
+ "text": "this is now handled via the html lang tag, and is no longer used - kept to avoid breaking changes and ease unit testing"
282
+ }, {
283
+ "name": "default",
284
+ "text": "\"fi\""
285
+ }],
286
+ "text": "The currently active language. This setting changes the accessible labels to match the\nchosen language."
287
+ },
288
+ "attribute": "language",
289
+ "reflect": false,
290
+ "defaultValue": "getLanguage()"
291
+ },
292
+ "locale": {
293
+ "type": "string",
294
+ "mutable": false,
295
+ "complexType": {
296
+ "original": "DuetLocale",
297
+ "resolved": "\"en-GB\" | \"en-US\" | \"fi-FI\" | \"sv-SE\"",
298
+ "references": {
299
+ "DuetLocale": {
300
+ "location": "import",
301
+ "path": "../../common-types"
302
+ }
402
303
  }
403
- }
404
- },
405
- "required": false,
406
- "optional": false,
407
- "docs": {
408
- "tags": [],
409
- "text": "Locale used to format the entered value."
410
- },
411
- "attribute": "locale",
412
- "reflect": false,
413
- "defaultValue": "getLocale(this.language).locale"
414
- },
415
- "unit": {
416
- "type": "string",
417
- "mutable": false,
418
- "complexType": {
419
- "original": "string",
420
- "resolved": "string",
421
- "references": {}
422
- },
423
- "required": false,
424
- "optional": false,
425
- "docs": {
426
- "tags": [],
427
- "text": "Unit for the number input."
428
- },
429
- "attribute": "unit",
430
- "reflect": false,
431
- "defaultValue": "getLocale(this.language).money"
432
- },
433
- "accessibleActiveDescendant": {
434
- "type": "string",
435
- "mutable": false,
436
- "complexType": {
437
- "original": "string",
438
- "resolved": "string",
439
- "references": {}
440
- },
441
- "required": false,
442
- "optional": false,
443
- "docs": {
444
- "tags": [],
445
- "text": "Indicates the id of a related component\u2019s visually focused element."
446
- },
447
- "attribute": "accessible-active-descendant",
448
- "reflect": false
449
- },
450
- "accessibleControls": {
451
- "type": "string",
452
- "mutable": false,
453
- "complexType": {
454
- "original": "string",
455
- "resolved": "string",
456
- "references": {}
457
- },
458
- "required": false,
459
- "optional": false,
460
- "docs": {
461
- "tags": [],
462
- "text": "Use this prop to add an aria-controls attribute. Use the attribute to\nindicate the id of a component controlled by this component."
463
- },
464
- "attribute": "accessible-controls",
465
- "reflect": false
466
- },
467
- "accessibleDetails": {
468
- "type": "string",
469
- "mutable": false,
470
- "complexType": {
471
- "original": "string",
472
- "resolved": "string",
473
- "references": {}
474
- },
475
- "required": false,
476
- "optional": false,
477
- "docs": {
478
- "tags": [],
479
- "text": "Details of the component"
480
- },
481
- "attribute": "accessible-details",
482
- "reflect": false,
483
- "defaultValue": "undefined"
484
- },
485
- "accessibleLabelledBy": {
486
- "type": "string",
487
- "mutable": false,
488
- "complexType": {
489
- "original": "string",
490
- "resolved": "string",
491
- "references": {}
492
- },
493
- "required": false,
494
- "optional": false,
495
- "docs": {
496
- "tags": [],
497
- "text": "String of id's that indicate alternative labels elements"
498
- },
499
- "attribute": "accessible-labelled-by",
500
- "reflect": false,
501
- "defaultValue": "undefined"
502
- },
503
- "accessibleDescription": {
504
- "type": "string",
505
- "mutable": false,
506
- "complexType": {
507
- "original": "string",
508
- "resolved": "string",
509
- "references": {}
510
- },
511
- "required": false,
512
- "optional": false,
513
- "docs": {
514
- "tags": [],
515
- "text": "Aria description the button"
516
- },
517
- "attribute": "accessible-description",
518
- "reflect": false,
519
- "defaultValue": "undefined"
520
- },
521
- "accessibleOwns": {
522
- "type": "string",
523
- "mutable": false,
524
- "complexType": {
525
- "original": "string",
526
- "resolved": "string",
527
- "references": {}
528
- },
529
- "required": false,
530
- "optional": false,
531
- "docs": {
532
- "tags": [],
533
- "text": "Indicates the id of a component owned by the input."
534
- },
535
- "attribute": "accessible-owns",
536
- "reflect": false
537
- },
538
- "accessibleDescribedBy": {
539
- "type": "string",
540
- "mutable": false,
541
- "complexType": {
542
- "original": "string",
543
- "resolved": "string",
544
- "references": {}
545
- },
546
- "required": false,
547
- "optional": false,
548
- "docs": {
549
- "tags": [],
550
- "text": "Indicates the id of a component that describes the input."
551
- },
552
- "attribute": "accessible-described-by",
553
- "reflect": false
554
- },
555
- "accessibleLiveDefaults": {
556
- "type": "string",
557
- "mutable": false,
558
- "complexType": {
559
- "original": "DuetLangObject | string",
560
- "resolved": "DuetLangObject | string",
561
- "references": {
562
- "DuetLangObject": {
563
- "location": "import",
564
- "path": "../../utils/language-utils"
304
+ },
305
+ "required": false,
306
+ "optional": false,
307
+ "docs": {
308
+ "tags": [],
309
+ "text": "Locale used to format the entered value."
310
+ },
311
+ "attribute": "locale",
312
+ "reflect": false,
313
+ "defaultValue": "getLocale(this.language).locale"
314
+ },
315
+ "unit": {
316
+ "type": "string",
317
+ "mutable": false,
318
+ "complexType": {
319
+ "original": "string",
320
+ "resolved": "string",
321
+ "references": {}
322
+ },
323
+ "required": false,
324
+ "optional": false,
325
+ "docs": {
326
+ "tags": [],
327
+ "text": "Unit for the number input."
328
+ },
329
+ "attribute": "unit",
330
+ "reflect": false,
331
+ "defaultValue": "getLocale(this.language).money"
332
+ },
333
+ "accessibleActiveDescendant": {
334
+ "type": "string",
335
+ "mutable": false,
336
+ "complexType": {
337
+ "original": "string",
338
+ "resolved": "string",
339
+ "references": {}
340
+ },
341
+ "required": false,
342
+ "optional": false,
343
+ "docs": {
344
+ "tags": [],
345
+ "text": "Indicates the id of a related component\u2019s visually focused element."
346
+ },
347
+ "attribute": "accessible-active-descendant",
348
+ "reflect": false
349
+ },
350
+ "accessibleControls": {
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": "Use this prop to add an aria-controls attribute. Use the attribute to\nindicate the id of a component controlled by this component."
363
+ },
364
+ "attribute": "accessible-controls",
365
+ "reflect": false
366
+ },
367
+ "accessibleDetails": {
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": "Details of the component"
380
+ },
381
+ "attribute": "accessible-details",
382
+ "reflect": false,
383
+ "defaultValue": "undefined"
384
+ },
385
+ "accessibleLabelledBy": {
386
+ "type": "string",
387
+ "mutable": false,
388
+ "complexType": {
389
+ "original": "string",
390
+ "resolved": "string",
391
+ "references": {}
392
+ },
393
+ "required": false,
394
+ "optional": false,
395
+ "docs": {
396
+ "tags": [],
397
+ "text": "String of id's that indicate alternative labels elements"
398
+ },
399
+ "attribute": "accessible-labelled-by",
400
+ "reflect": false,
401
+ "defaultValue": "undefined"
402
+ },
403
+ "accessibleDescription": {
404
+ "type": "string",
405
+ "mutable": false,
406
+ "complexType": {
407
+ "original": "string",
408
+ "resolved": "string",
409
+ "references": {}
410
+ },
411
+ "required": false,
412
+ "optional": false,
413
+ "docs": {
414
+ "tags": [],
415
+ "text": "Aria description the button"
416
+ },
417
+ "attribute": "accessible-description",
418
+ "reflect": false,
419
+ "defaultValue": "undefined"
420
+ },
421
+ "accessibleOwns": {
422
+ "type": "string",
423
+ "mutable": false,
424
+ "complexType": {
425
+ "original": "string",
426
+ "resolved": "string",
427
+ "references": {}
428
+ },
429
+ "required": false,
430
+ "optional": false,
431
+ "docs": {
432
+ "tags": [],
433
+ "text": "Indicates the id of a component owned by the input."
434
+ },
435
+ "attribute": "accessible-owns",
436
+ "reflect": false
437
+ },
438
+ "accessibleDescribedBy": {
439
+ "type": "string",
440
+ "mutable": false,
441
+ "complexType": {
442
+ "original": "string",
443
+ "resolved": "string",
444
+ "references": {}
445
+ },
446
+ "required": false,
447
+ "optional": false,
448
+ "docs": {
449
+ "tags": [],
450
+ "text": "Indicates the id of a component that describes the input."
451
+ },
452
+ "attribute": "accessible-described-by",
453
+ "reflect": false
454
+ },
455
+ "accessibleLiveDefaults": {
456
+ "type": "string",
457
+ "mutable": false,
458
+ "complexType": {
459
+ "original": "DuetLangObject | string",
460
+ "resolved": "DuetLangObject | string",
461
+ "references": {
462
+ "DuetLangObject": {
463
+ "location": "import",
464
+ "path": "../../utils/language-utils"
465
+ }
565
466
  }
566
- }
567
- },
568
- "required": false,
569
- "optional": false,
570
- "docs": {
571
- "tags": [{
572
- "name": "default",
573
- "text": "{fi: \"{current} euroa valittuna\", en: \"{current} euros selected\", sv: \"{current} valda euro\"}"
574
- }],
575
- "text": "Defaults for accessibleLive"
576
- },
577
- "attribute": "accessible-live-default",
578
- "reflect": false,
579
- "defaultValue": "{\n fi: \"{current} euroa valittuna\",\n en: \"{current} euros selected\",\n sv: \"{current} euro valt\",\n }"
580
- },
581
- "accessibleLive": {
582
- "type": "string",
583
- "mutable": false,
584
- "complexType": {
585
- "original": "string",
586
- "resolved": "string",
587
- "references": {}
588
- },
589
- "required": false,
590
- "optional": false,
591
- "docs": {
592
- "tags": [{
593
- "name": "default",
594
- "text": "{fi: \"{current} euroa valittuna\", en: \"{current} euros selected\", sv: \"{current} valda euro\"}"
595
- }],
596
- "text": "Format of message used to announce current amount when switching between amounts.\nThe string {current} is replaced with the current amount."
597
- },
598
- "attribute": "accessible-live",
599
- "reflect": false,
600
- "defaultValue": "getLocaleString(this.accessibleLiveDefaults, this.language)"
601
- },
602
- "accessibleLiveEnabled": {
603
- "type": "boolean",
604
- "mutable": false,
605
- "complexType": {
606
- "original": "boolean",
607
- "resolved": "boolean",
608
- "references": {}
609
- },
610
- "required": false,
611
- "optional": false,
612
- "docs": {
613
- "tags": [],
614
- "text": "Disables the aria-live messaging used internally in this component. This could be useful when you want to use custom aria-live messages instead."
615
- },
616
- "attribute": "accessible-live-enabled",
617
- "reflect": false,
618
- "defaultValue": "true"
619
- },
620
- "accessibleAddDefaults": {
621
- "type": "string",
622
- "mutable": false,
623
- "complexType": {
624
- "original": "DuetLangObject | string",
625
- "resolved": "DuetLangObject | string",
626
- "references": {
627
- "DuetLangObject": {
628
- "location": "import",
629
- "path": "../../utils/language-utils"
467
+ },
468
+ "required": false,
469
+ "optional": false,
470
+ "docs": {
471
+ "tags": [{
472
+ "name": "default",
473
+ "text": "{fi: \"{current} euroa valittuna\", en: \"{current} euros selected\", sv: \"{current} valda euro\"}"
474
+ }],
475
+ "text": "Defaults for accessibleLive"
476
+ },
477
+ "attribute": "accessible-live-default",
478
+ "reflect": false,
479
+ "defaultValue": "{\n fi: \"{current} euroa valittuna\",\n en: \"{current} euros selected\",\n sv: \"{current} euro valt\",\n }"
480
+ },
481
+ "accessibleLive": {
482
+ "type": "string",
483
+ "mutable": false,
484
+ "complexType": {
485
+ "original": "string",
486
+ "resolved": "string",
487
+ "references": {}
488
+ },
489
+ "required": false,
490
+ "optional": false,
491
+ "docs": {
492
+ "tags": [{
493
+ "name": "default",
494
+ "text": "{fi: \"{current} euroa valittuna\", en: \"{current} euros selected\", sv: \"{current} valda euro\"}"
495
+ }],
496
+ "text": "Format of message used to announce current amount when switching between amounts.\nThe string {current} is replaced with the current amount."
497
+ },
498
+ "attribute": "accessible-live",
499
+ "reflect": false,
500
+ "defaultValue": "getLocaleString(this.accessibleLiveDefaults, this.language)"
501
+ },
502
+ "accessibleLiveEnabled": {
503
+ "type": "boolean",
504
+ "mutable": false,
505
+ "complexType": {
506
+ "original": "boolean",
507
+ "resolved": "boolean",
508
+ "references": {}
509
+ },
510
+ "required": false,
511
+ "optional": false,
512
+ "docs": {
513
+ "tags": [],
514
+ "text": "Disables the aria-live messaging used internally in this component. This could be useful when you want to use custom aria-live messages instead."
515
+ },
516
+ "attribute": "accessible-live-enabled",
517
+ "reflect": false,
518
+ "defaultValue": "true"
519
+ },
520
+ "accessibleAddDefaults": {
521
+ "type": "string",
522
+ "mutable": false,
523
+ "complexType": {
524
+ "original": "DuetLangObject | string",
525
+ "resolved": "DuetLangObject | string",
526
+ "references": {
527
+ "DuetLangObject": {
528
+ "location": "import",
529
+ "path": "../../utils/language-utils"
530
+ }
630
531
  }
631
- }
632
- },
633
- "required": false,
634
- "optional": false,
635
- "docs": {
636
- "tags": [{
637
- "name": "default",
638
- "text": "{fi: \"Lis\u00E4\u00E4 summaan\", en: \"Add to the amount\", sv: \"L\u00E4gg till beloppet\"}"
639
- }],
640
- "text": "Defaults for accessibleAdd"
641
- },
642
- "attribute": "accessible-add-default",
643
- "reflect": false,
644
- "defaultValue": "{\n fi: \"Lis\u00E4\u00E4 summaan\",\n en: \"Add to the amount\",\n sv: \"L\u00E4gg till beloppet\",\n }"
645
- },
646
- "accessibleAdd": {
647
- "type": "string",
648
- "mutable": false,
649
- "complexType": {
650
- "original": "string",
651
- "resolved": "string",
652
- "references": {}
653
- },
654
- "required": false,
655
- "optional": false,
656
- "docs": {
657
- "tags": [{
658
- "name": "default",
659
- "text": "{fi: \"Lis\u00E4\u00E4 summaan\", en: \"Add to the amount\", sv: \"L\u00E4gg till beloppet\"}"
660
- }],
661
- "text": "Accessible label for the add button that is read for screen reader users."
662
- },
663
- "attribute": "accessible-add",
664
- "reflect": false,
665
- "defaultValue": "getLocaleString(this.accessibleAddDefaults, this.language)"
666
- },
667
- "accessibleSubtractDefaults": {
668
- "type": "string",
669
- "mutable": false,
670
- "complexType": {
671
- "original": "DuetLangObject | string",
672
- "resolved": "DuetLangObject | string",
673
- "references": {
674
- "DuetLangObject": {
675
- "location": "import",
676
- "path": "../../utils/language-utils"
532
+ },
533
+ "required": false,
534
+ "optional": false,
535
+ "docs": {
536
+ "tags": [{
537
+ "name": "default",
538
+ "text": "{fi: \"Lis\u00E4\u00E4 summaan\", en: \"Add to the amount\", sv: \"L\u00E4gg till beloppet\"}"
539
+ }],
540
+ "text": "Defaults for accessibleAdd"
541
+ },
542
+ "attribute": "accessible-add-default",
543
+ "reflect": false,
544
+ "defaultValue": "{\n fi: \"Lis\u00E4\u00E4 summaan\",\n en: \"Add to the amount\",\n sv: \"L\u00E4gg till beloppet\",\n }"
545
+ },
546
+ "accessibleAdd": {
547
+ "type": "string",
548
+ "mutable": false,
549
+ "complexType": {
550
+ "original": "string",
551
+ "resolved": "string",
552
+ "references": {}
553
+ },
554
+ "required": false,
555
+ "optional": false,
556
+ "docs": {
557
+ "tags": [{
558
+ "name": "default",
559
+ "text": "{fi: \"Lis\u00E4\u00E4 summaan\", en: \"Add to the amount\", sv: \"L\u00E4gg till beloppet\"}"
560
+ }],
561
+ "text": "Accessible label for the add button that is read for screen reader users."
562
+ },
563
+ "attribute": "accessible-add",
564
+ "reflect": false,
565
+ "defaultValue": "getLocaleString(this.accessibleAddDefaults, this.language)"
566
+ },
567
+ "accessibleSubtractDefaults": {
568
+ "type": "string",
569
+ "mutable": false,
570
+ "complexType": {
571
+ "original": "DuetLangObject | string",
572
+ "resolved": "DuetLangObject | string",
573
+ "references": {
574
+ "DuetLangObject": {
575
+ "location": "import",
576
+ "path": "../../utils/language-utils"
577
+ }
677
578
  }
678
- }
679
- },
680
- "required": false,
681
- "optional": false,
682
- "docs": {
683
- "tags": [{
684
- "name": "default",
685
- "text": "{fi: \"V\u00E4henn\u00E4 summasta\", en: \"Subtract from the amount\", sv: \"Dra fr\u00E5n beloppet\"}"
686
- }],
687
- "text": "Defaults for accessibleSubtract"
688
- },
689
- "attribute": "accessible-subtract-defaults",
690
- "reflect": false,
691
- "defaultValue": "{\n fi: \"V\u00E4henn\u00E4 summasta\",\n en: \"Subtract from the amount\",\n sv: \"Dra fr\u00E5n beloppet\",\n }"
692
- },
693
- "accessibleSubtract": {
694
- "type": "string",
695
- "mutable": false,
696
- "complexType": {
697
- "original": "string",
698
- "resolved": "string",
699
- "references": {}
700
- },
701
- "required": false,
702
- "optional": false,
703
- "docs": {
704
- "tags": [{
705
- "name": "default",
706
- "text": "{fi: \"V\u00E4henn\u00E4 summasta\", en: \"Subtract from the amount\", sv: \"Dra fr\u00E5n beloppet\"}"
707
- }],
708
- "text": "Accessible label for the subtract button that is read for screen reader users."
709
- },
710
- "attribute": "accessible-subtract",
711
- "reflect": false,
712
- "defaultValue": "getLocaleString(this.accessibleSubtractDefaults, this.language)"
713
- },
714
- "theme": {
715
- "type": "string",
716
- "mutable": true,
717
- "complexType": {
718
- "original": "DuetTheme",
719
- "resolved": "\"\" | \"default\" | \"turva\"",
720
- "references": {
721
- "DuetTheme": {
722
- "location": "import",
723
- "path": "../../common-types"
579
+ },
580
+ "required": false,
581
+ "optional": false,
582
+ "docs": {
583
+ "tags": [{
584
+ "name": "default",
585
+ "text": "{fi: \"V\u00E4henn\u00E4 summasta\", en: \"Subtract from the amount\", sv: \"Dra fr\u00E5n beloppet\"}"
586
+ }],
587
+ "text": "Defaults for accessibleSubtract"
588
+ },
589
+ "attribute": "accessible-subtract-defaults",
590
+ "reflect": false,
591
+ "defaultValue": "{\n fi: \"V\u00E4henn\u00E4 summasta\",\n en: \"Subtract from the amount\",\n sv: \"Dra fr\u00E5n beloppet\",\n }"
592
+ },
593
+ "accessibleSubtract": {
594
+ "type": "string",
595
+ "mutable": false,
596
+ "complexType": {
597
+ "original": "string",
598
+ "resolved": "string",
599
+ "references": {}
600
+ },
601
+ "required": false,
602
+ "optional": false,
603
+ "docs": {
604
+ "tags": [{
605
+ "name": "default",
606
+ "text": "{fi: \"V\u00E4henn\u00E4 summasta\", en: \"Subtract from the amount\", sv: \"Dra fr\u00E5n beloppet\"}"
607
+ }],
608
+ "text": "Accessible label for the subtract button that is read for screen reader users."
609
+ },
610
+ "attribute": "accessible-subtract",
611
+ "reflect": false,
612
+ "defaultValue": "getLocaleString(this.accessibleSubtractDefaults, this.language)"
613
+ },
614
+ "theme": {
615
+ "type": "string",
616
+ "mutable": true,
617
+ "complexType": {
618
+ "original": "DuetTheme",
619
+ "resolved": "\"\" | \"default\" | \"turva\"",
620
+ "references": {
621
+ "DuetTheme": {
622
+ "location": "import",
623
+ "path": "../../common-types"
624
+ }
724
625
  }
725
- }
726
- },
727
- "required": false,
728
- "optional": false,
729
- "docs": {
730
- "tags": [],
731
- "text": "Theme of the input."
732
- },
733
- "attribute": "theme",
734
- "reflect": false,
735
- "defaultValue": "\"\""
736
- },
737
- "margin": {
738
- "type": "string",
739
- "mutable": false,
740
- "complexType": {
741
- "original": "DuetMargin",
742
- "resolved": "\"auto\" | \"none\"",
743
- "references": {
744
- "DuetMargin": {
745
- "location": "import",
746
- "path": "../../common-types"
626
+ },
627
+ "required": false,
628
+ "optional": false,
629
+ "docs": {
630
+ "tags": [],
631
+ "text": "Theme of the input."
632
+ },
633
+ "attribute": "theme",
634
+ "reflect": false,
635
+ "defaultValue": "\"\""
636
+ },
637
+ "margin": {
638
+ "type": "string",
639
+ "mutable": false,
640
+ "complexType": {
641
+ "original": "DuetMargin",
642
+ "resolved": "\"auto\" | \"none\"",
643
+ "references": {
644
+ "DuetMargin": {
645
+ "location": "import",
646
+ "path": "../../common-types"
647
+ }
747
648
  }
748
- }
749
- },
750
- "required": false,
751
- "optional": false,
752
- "docs": {
753
- "tags": [],
754
- "text": "Controls the margin of the component."
755
- },
756
- "attribute": "margin",
757
- "reflect": false,
758
- "defaultValue": "\"auto\""
759
- },
760
- "expand": {
761
- "type": "boolean",
762
- "mutable": false,
763
- "complexType": {
764
- "original": "boolean",
765
- "resolved": "boolean",
766
- "references": {}
767
- },
768
- "required": false,
769
- "optional": false,
770
- "docs": {
771
- "tags": [],
772
- "text": "Expands the input to fill 100% of the container width."
773
- },
774
- "attribute": "expand",
775
- "reflect": false,
776
- "defaultValue": "false"
777
- },
778
- "identifier": {
779
- "type": "string",
780
- "mutable": false,
781
- "complexType": {
782
- "original": "string",
783
- "resolved": "string",
784
- "references": {}
785
- },
786
- "required": false,
787
- "optional": false,
788
- "docs": {
789
- "tags": [],
790
- "text": "Adds a unique identifier for the input."
791
- },
792
- "attribute": "identifier",
793
- "reflect": false
794
- },
795
- "min": {
796
- "type": "number",
797
- "mutable": false,
798
- "complexType": {
799
- "original": "number",
800
- "resolved": "number",
801
- "references": {}
802
- },
803
- "required": false,
804
- "optional": false,
805
- "docs": {
806
- "tags": [],
807
- "text": "Minimum value."
808
- },
809
- "attribute": "min",
810
- "reflect": false,
811
- "defaultValue": "0"
812
- },
813
- "labelDefaults": {
814
- "type": "string",
815
- "mutable": false,
816
- "complexType": {
817
- "original": "DuetLangObject | string",
818
- "resolved": "DuetLangObject | string",
819
- "references": {
820
- "DuetLangObject": {
821
- "location": "import",
822
- "path": "../../utils/language-utils"
649
+ },
650
+ "required": false,
651
+ "optional": false,
652
+ "docs": {
653
+ "tags": [],
654
+ "text": "Controls the margin of the component."
655
+ },
656
+ "attribute": "margin",
657
+ "reflect": false,
658
+ "defaultValue": "\"auto\""
659
+ },
660
+ "expand": {
661
+ "type": "boolean",
662
+ "mutable": false,
663
+ "complexType": {
664
+ "original": "boolean",
665
+ "resolved": "boolean",
666
+ "references": {}
667
+ },
668
+ "required": false,
669
+ "optional": false,
670
+ "docs": {
671
+ "tags": [],
672
+ "text": "Expands the input to fill 100% of the container width."
673
+ },
674
+ "attribute": "expand",
675
+ "reflect": false,
676
+ "defaultValue": "false"
677
+ },
678
+ "identifier": {
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": "Adds a unique identifier for the input."
691
+ },
692
+ "attribute": "identifier",
693
+ "reflect": false
694
+ },
695
+ "min": {
696
+ "type": "number",
697
+ "mutable": false,
698
+ "complexType": {
699
+ "original": "number",
700
+ "resolved": "number",
701
+ "references": {}
702
+ },
703
+ "required": false,
704
+ "optional": false,
705
+ "docs": {
706
+ "tags": [],
707
+ "text": "Minimum value."
708
+ },
709
+ "attribute": "min",
710
+ "reflect": false,
711
+ "defaultValue": "0"
712
+ },
713
+ "labelDefaults": {
714
+ "type": "string",
715
+ "mutable": false,
716
+ "complexType": {
717
+ "original": "DuetLangObject | string",
718
+ "resolved": "DuetLangObject | string",
719
+ "references": {
720
+ "DuetLangObject": {
721
+ "location": "import",
722
+ "path": "../../utils/language-utils"
723
+ }
823
724
  }
824
- }
825
- },
826
- "required": false,
827
- "optional": false,
828
- "docs": {
829
- "tags": [{
830
- "name": "default",
831
- "text": "{fi: \"Etiketti\", en: \"Label\", sv: \"M\u00E4rka\"}"
832
- }],
833
- "text": "Defaults for Label"
834
- },
835
- "attribute": "label-default",
836
- "reflect": false,
837
- "defaultValue": "{\n fi: \"Nimilappu\",\n en: \"Label\",\n sv: \"Etikett\",\n }"
838
- },
839
- "label": {
840
- "type": "string",
841
- "mutable": false,
842
- "complexType": {
843
- "original": "string",
844
- "resolved": "string",
845
- "references": {}
846
- },
847
- "required": false,
848
- "optional": false,
849
- "docs": {
850
- "tags": [{
851
- "name": "default",
852
- "text": "{fi: \"Etiketti\", en: \"Label\", sv: \"M\u00E4rka\"}"
853
- }],
854
- "text": "Label for the number input."
855
- },
856
- "attribute": "label",
857
- "reflect": false,
858
- "defaultValue": "getLocaleString(this.labelDefaults, this.language)"
859
- },
860
- "labelHidden": {
861
- "type": "boolean",
862
- "mutable": false,
863
- "complexType": {
864
- "original": "boolean",
865
- "resolved": "boolean",
866
- "references": {}
867
- },
868
- "required": false,
869
- "optional": false,
870
- "docs": {
871
- "tags": [],
872
- "text": "Visually hide the label, but still show it to screen readers."
873
- },
874
- "attribute": "label-hidden",
875
- "reflect": false,
876
- "defaultValue": "false"
877
- },
878
- "max": {
879
- "type": "number",
880
- "mutable": false,
881
- "complexType": {
882
- "original": "number",
883
- "resolved": "number",
884
- "references": {}
885
- },
886
- "required": false,
887
- "optional": false,
888
- "docs": {
889
- "tags": [],
890
- "text": "Maximum value."
891
- },
892
- "attribute": "max",
893
- "reflect": false,
894
- "defaultValue": "1000000"
895
- },
896
- "name": {
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": "Name of the input."
909
- },
910
- "attribute": "name",
911
- "reflect": false
912
- },
913
- "error": {
914
- "type": "string",
915
- "mutable": false,
916
- "complexType": {
917
- "original": "string",
918
- "resolved": "string",
919
- "references": {}
920
- },
921
- "required": false,
922
- "optional": false,
923
- "docs": {
924
- "tags": [],
925
- "text": "Display the input in error state along with an error message."
926
- },
927
- "attribute": "error",
928
- "reflect": false,
929
- "defaultValue": "\"\""
930
- },
931
- "tooltip": {
932
- "type": "string",
933
- "mutable": false,
934
- "complexType": {
935
- "original": "string",
936
- "resolved": "string",
937
- "references": {}
938
- },
939
- "required": false,
940
- "optional": false,
941
- "docs": {
942
- "tags": [],
943
- "text": "Tooltip to display next to the label of the input."
944
- },
945
- "attribute": "tooltip",
946
- "reflect": false,
947
- "defaultValue": "\"\""
948
- },
949
- "step": {
950
- "type": "number",
951
- "mutable": false,
952
- "complexType": {
953
- "original": "number",
954
- "resolved": "number",
955
- "references": {}
956
- },
957
- "required": false,
958
- "optional": false,
959
- "docs": {
960
- "tags": [],
961
- "text": "Step amount."
962
- },
963
- "attribute": "step",
964
- "reflect": false,
965
- "defaultValue": "5000"
966
- },
967
- "rounding": {
968
- "type": "boolean",
969
- "mutable": false,
970
- "complexType": {
971
- "original": "boolean",
972
- "resolved": "boolean",
973
- "references": {}
974
- },
975
- "required": false,
976
- "optional": false,
977
- "docs": {
978
- "tags": [],
979
- "text": "Controls whether or not value gets rounded to the nearest\nmultiple of a step on blur. Set to \"false\" to disable this behaviour."
980
- },
981
- "attribute": "rounding",
982
- "reflect": false,
983
- "defaultValue": "true"
984
- },
985
- "role": {
986
- "type": "string",
987
- "mutable": false,
988
- "complexType": {
989
- "original": "string",
990
- "resolved": "string",
991
- "references": {}
992
- },
993
- "required": false,
994
- "optional": false,
995
- "docs": {
996
- "tags": [],
997
- "text": "Defines a specific role attribute for the input."
998
- },
999
- "attribute": "role",
1000
- "reflect": false
1001
- },
1002
- "disabled": {
1003
- "type": "boolean",
1004
- "mutable": false,
1005
- "complexType": {
1006
- "original": "boolean",
1007
- "resolved": "boolean",
1008
- "references": {}
1009
- },
1010
- "required": false,
1011
- "optional": false,
1012
- "docs": {
1013
- "tags": [],
1014
- "text": "Makes the number input component disabled. This prevents users from being able to\ninteract with the input, and conveys its inactive state to assistive technologies."
1015
- },
1016
- "attribute": "disabled",
1017
- "reflect": true,
1018
- "defaultValue": "false"
1019
- },
1020
- "required": {
1021
- "type": "boolean",
1022
- "mutable": false,
1023
- "complexType": {
1024
- "original": "boolean",
1025
- "resolved": "boolean",
1026
- "references": {}
1027
- },
1028
- "required": false,
1029
- "optional": false,
1030
- "docs": {
1031
- "tags": [],
1032
- "text": "Set whether the input is required or not. Please note that this is required 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."
1033
- },
1034
- "attribute": "required",
1035
- "reflect": false,
1036
- "defaultValue": "false"
1037
- },
1038
- "value": {
1039
- "type": "string",
1040
- "mutable": true,
1041
- "complexType": {
1042
- "original": "string",
1043
- "resolved": "string",
1044
- "references": {}
1045
- },
1046
- "required": false,
1047
- "optional": false,
1048
- "docs": {
1049
- "tags": [],
1050
- "text": "Value of the input. This is passed as a string since Number Input uses Duet\u2019s Input component internally and we need the value to support spaces and the unit as well."
1051
- },
1052
- "attribute": "value",
1053
- "reflect": false
1054
- }
1055
- }; }
1056
- static get states() { return {
1057
- "focusedValue": {}
1058
- }; }
1059
- static get events() { return [{
1060
- "method": "duetChange",
1061
- "name": "duetChange",
1062
- "bubbles": false,
1063
- "cancelable": true,
1064
- "composed": true,
1065
- "docs": {
1066
- "tags": [],
1067
- "text": "Emitted when the value has changed."
1068
- },
1069
- "complexType": {
1070
- "original": "DuetNumberInputEvent",
1071
- "resolved": "{ originalEvent?: Event; component: \"duet-number-input\"; value: string; valueAsNumber: number; }",
1072
- "references": {
1073
- "DuetNumberInputEvent": {
1074
- "location": "local"
725
+ },
726
+ "required": false,
727
+ "optional": false,
728
+ "docs": {
729
+ "tags": [{
730
+ "name": "default",
731
+ "text": "{fi: \"Etiketti\", en: \"Label\", sv: \"M\u00E4rka\"}"
732
+ }],
733
+ "text": "Defaults for Label"
734
+ },
735
+ "attribute": "label-default",
736
+ "reflect": false,
737
+ "defaultValue": "{\n fi: \"Nimilappu\",\n en: \"Label\",\n sv: \"Etikett\",\n }"
738
+ },
739
+ "label": {
740
+ "type": "string",
741
+ "mutable": false,
742
+ "complexType": {
743
+ "original": "string",
744
+ "resolved": "string",
745
+ "references": {}
746
+ },
747
+ "required": false,
748
+ "optional": false,
749
+ "docs": {
750
+ "tags": [{
751
+ "name": "default",
752
+ "text": "{fi: \"Etiketti\", en: \"Label\", sv: \"M\u00E4rka\"}"
753
+ }],
754
+ "text": "Label for the number input."
755
+ },
756
+ "attribute": "label",
757
+ "reflect": false,
758
+ "defaultValue": "getLocaleString(this.labelDefaults, this.language)"
759
+ },
760
+ "labelHidden": {
761
+ "type": "boolean",
762
+ "mutable": false,
763
+ "complexType": {
764
+ "original": "boolean",
765
+ "resolved": "boolean",
766
+ "references": {}
767
+ },
768
+ "required": false,
769
+ "optional": false,
770
+ "docs": {
771
+ "tags": [],
772
+ "text": "Visually hide the label, but still show it to screen readers."
773
+ },
774
+ "attribute": "label-hidden",
775
+ "reflect": false,
776
+ "defaultValue": "false"
777
+ },
778
+ "max": {
779
+ "type": "number",
780
+ "mutable": false,
781
+ "complexType": {
782
+ "original": "number",
783
+ "resolved": "number",
784
+ "references": {}
785
+ },
786
+ "required": false,
787
+ "optional": false,
788
+ "docs": {
789
+ "tags": [],
790
+ "text": "Maximum value."
791
+ },
792
+ "attribute": "max",
793
+ "reflect": false,
794
+ "defaultValue": "1000000"
795
+ },
796
+ "name": {
797
+ "type": "string",
798
+ "mutable": false,
799
+ "complexType": {
800
+ "original": "string",
801
+ "resolved": "string",
802
+ "references": {}
803
+ },
804
+ "required": false,
805
+ "optional": false,
806
+ "docs": {
807
+ "tags": [],
808
+ "text": "Name of the input."
809
+ },
810
+ "attribute": "name",
811
+ "reflect": false
812
+ },
813
+ "error": {
814
+ "type": "string",
815
+ "mutable": false,
816
+ "complexType": {
817
+ "original": "string",
818
+ "resolved": "string",
819
+ "references": {}
820
+ },
821
+ "required": false,
822
+ "optional": false,
823
+ "docs": {
824
+ "tags": [],
825
+ "text": "Display the input in error state along with an error message."
826
+ },
827
+ "attribute": "error",
828
+ "reflect": false,
829
+ "defaultValue": "\"\""
830
+ },
831
+ "tooltip": {
832
+ "type": "string",
833
+ "mutable": false,
834
+ "complexType": {
835
+ "original": "string",
836
+ "resolved": "string",
837
+ "references": {}
838
+ },
839
+ "required": false,
840
+ "optional": false,
841
+ "docs": {
842
+ "tags": [],
843
+ "text": "Tooltip to display next to the label of the input."
844
+ },
845
+ "attribute": "tooltip",
846
+ "reflect": false,
847
+ "defaultValue": "\"\""
848
+ },
849
+ "step": {
850
+ "type": "number",
851
+ "mutable": false,
852
+ "complexType": {
853
+ "original": "number",
854
+ "resolved": "number",
855
+ "references": {}
856
+ },
857
+ "required": false,
858
+ "optional": false,
859
+ "docs": {
860
+ "tags": [],
861
+ "text": "Step amount."
862
+ },
863
+ "attribute": "step",
864
+ "reflect": false,
865
+ "defaultValue": "5000"
866
+ },
867
+ "rounding": {
868
+ "type": "boolean",
869
+ "mutable": false,
870
+ "complexType": {
871
+ "original": "boolean",
872
+ "resolved": "boolean",
873
+ "references": {}
874
+ },
875
+ "required": false,
876
+ "optional": false,
877
+ "docs": {
878
+ "tags": [],
879
+ "text": "Controls whether or not value gets rounded to the nearest\nmultiple of a step on blur. Set to \"false\" to disable this behaviour."
880
+ },
881
+ "attribute": "rounding",
882
+ "reflect": false,
883
+ "defaultValue": "true"
884
+ },
885
+ "role": {
886
+ "type": "string",
887
+ "mutable": false,
888
+ "complexType": {
889
+ "original": "string",
890
+ "resolved": "string",
891
+ "references": {}
892
+ },
893
+ "required": false,
894
+ "optional": false,
895
+ "docs": {
896
+ "tags": [],
897
+ "text": "Defines a specific role attribute for the input."
898
+ },
899
+ "attribute": "role",
900
+ "reflect": false
901
+ },
902
+ "disabled": {
903
+ "type": "boolean",
904
+ "mutable": false,
905
+ "complexType": {
906
+ "original": "boolean",
907
+ "resolved": "boolean",
908
+ "references": {}
909
+ },
910
+ "required": false,
911
+ "optional": false,
912
+ "docs": {
913
+ "tags": [],
914
+ "text": "Makes the number input component disabled. This prevents users from being able to\ninteract with the input, and conveys its inactive state to assistive technologies."
915
+ },
916
+ "attribute": "disabled",
917
+ "reflect": true,
918
+ "defaultValue": "false"
919
+ },
920
+ "required": {
921
+ "type": "boolean",
922
+ "mutable": false,
923
+ "complexType": {
924
+ "original": "boolean",
925
+ "resolved": "boolean",
926
+ "references": {}
927
+ },
928
+ "required": false,
929
+ "optional": false,
930
+ "docs": {
931
+ "tags": [],
932
+ "text": "Set whether the input is required or not. Please note that this is required 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."
933
+ },
934
+ "attribute": "required",
935
+ "reflect": false,
936
+ "defaultValue": "false"
937
+ },
938
+ "value": {
939
+ "type": "string",
940
+ "mutable": true,
941
+ "complexType": {
942
+ "original": "string",
943
+ "resolved": "string",
944
+ "references": {}
945
+ },
946
+ "required": false,
947
+ "optional": false,
948
+ "docs": {
949
+ "tags": [],
950
+ "text": "Value of the input. This is passed as a string since Number Input uses Duet\u2019s Input component internally and we need the value to support spaces and the unit as well."
951
+ },
952
+ "attribute": "value",
953
+ "reflect": false
954
+ }
955
+ };
956
+ }
957
+ static get states() {
958
+ return {
959
+ "focusedValue": {}
960
+ };
961
+ }
962
+ static get events() {
963
+ return [{
964
+ "method": "duetChange",
965
+ "name": "duetChange",
966
+ "bubbles": false,
967
+ "cancelable": true,
968
+ "composed": true,
969
+ "docs": {
970
+ "tags": [],
971
+ "text": "Emitted when the value has changed."
972
+ },
973
+ "complexType": {
974
+ "original": "DuetNumberInputEvent",
975
+ "resolved": "{ originalEvent?: Event; component: \"duet-number-input\"; value: string; valueAsNumber: number; }",
976
+ "references": {
977
+ "DuetNumberInputEvent": {
978
+ "location": "local"
979
+ }
1075
980
  }
1076
981
  }
1077
- }
1078
- }, {
1079
- "method": "duetInput",
1080
- "name": "duetInput",
1081
- "bubbles": false,
1082
- "cancelable": true,
1083
- "composed": true,
1084
- "docs": {
1085
- "tags": [],
1086
- "text": "Emitted when a keyboard input has ocurred."
1087
- },
1088
- "complexType": {
1089
- "original": "DuetNumberInputEvent",
1090
- "resolved": "{ originalEvent?: Event; component: \"duet-number-input\"; value: string; valueAsNumber: number; }",
1091
- "references": {
1092
- "DuetNumberInputEvent": {
1093
- "location": "local"
982
+ }, {
983
+ "method": "duetInput",
984
+ "name": "duetInput",
985
+ "bubbles": false,
986
+ "cancelable": true,
987
+ "composed": true,
988
+ "docs": {
989
+ "tags": [],
990
+ "text": "Emitted when a keyboard input has ocurred."
991
+ },
992
+ "complexType": {
993
+ "original": "DuetNumberInputEvent",
994
+ "resolved": "{ originalEvent?: Event; component: \"duet-number-input\"; value: string; valueAsNumber: number; }",
995
+ "references": {
996
+ "DuetNumberInputEvent": {
997
+ "location": "local"
998
+ }
1094
999
  }
1095
1000
  }
1096
- }
1097
- }, {
1098
- "method": "duetBlur",
1099
- "name": "duetBlur",
1100
- "bubbles": true,
1101
- "cancelable": true,
1102
- "composed": true,
1103
- "docs": {
1104
- "tags": [],
1105
- "text": "Emitted when the input loses focus."
1106
- },
1107
- "complexType": {
1108
- "original": "DuetNumberInputEvent",
1109
- "resolved": "{ originalEvent?: Event; component: \"duet-number-input\"; value: string; valueAsNumber: number; }",
1110
- "references": {
1111
- "DuetNumberInputEvent": {
1112
- "location": "local"
1001
+ }, {
1002
+ "method": "duetBlur",
1003
+ "name": "duetBlur",
1004
+ "bubbles": true,
1005
+ "cancelable": true,
1006
+ "composed": true,
1007
+ "docs": {
1008
+ "tags": [],
1009
+ "text": "Emitted when the input loses focus."
1010
+ },
1011
+ "complexType": {
1012
+ "original": "DuetNumberInputEvent",
1013
+ "resolved": "{ originalEvent?: Event; component: \"duet-number-input\"; value: string; valueAsNumber: number; }",
1014
+ "references": {
1015
+ "DuetNumberInputEvent": {
1016
+ "location": "local"
1017
+ }
1113
1018
  }
1114
1019
  }
1115
- }
1116
- }, {
1117
- "method": "duetFocus",
1118
- "name": "duetFocus",
1119
- "bubbles": true,
1120
- "cancelable": true,
1121
- "composed": true,
1122
- "docs": {
1123
- "tags": [],
1124
- "text": "Emitted when the input has focus."
1125
- },
1126
- "complexType": {
1127
- "original": "DuetNumberInputEvent",
1128
- "resolved": "{ originalEvent?: Event; component: \"duet-number-input\"; value: string; valueAsNumber: number; }",
1129
- "references": {
1130
- "DuetNumberInputEvent": {
1131
- "location": "local"
1020
+ }, {
1021
+ "method": "duetFocus",
1022
+ "name": "duetFocus",
1023
+ "bubbles": true,
1024
+ "cancelable": true,
1025
+ "composed": true,
1026
+ "docs": {
1027
+ "tags": [],
1028
+ "text": "Emitted when the input has focus."
1029
+ },
1030
+ "complexType": {
1031
+ "original": "DuetNumberInputEvent",
1032
+ "resolved": "{ originalEvent?: Event; component: \"duet-number-input\"; value: string; valueAsNumber: number; }",
1033
+ "references": {
1034
+ "DuetNumberInputEvent": {
1035
+ "location": "local"
1036
+ }
1132
1037
  }
1133
1038
  }
1134
- }
1135
- }]; }
1136
- static get methods() { return {
1137
- "setFocus": {
1138
- "complexType": {
1139
- "signature": "(options?: FocusOptions) => Promise<void>",
1140
- "parameters": [{
1141
- "tags": [],
1142
- "text": ""
1143
- }],
1144
- "references": {
1145
- "Promise": {
1146
- "location": "global"
1039
+ }];
1040
+ }
1041
+ static get methods() {
1042
+ return {
1043
+ "setFocus": {
1044
+ "complexType": {
1045
+ "signature": "(options?: FocusOptions) => Promise<void>",
1046
+ "parameters": [{
1047
+ "tags": [],
1048
+ "text": ""
1049
+ }],
1050
+ "references": {
1051
+ "Promise": {
1052
+ "location": "global"
1053
+ },
1054
+ "FocusOptions": {
1055
+ "location": "global"
1056
+ }
1147
1057
  },
1148
- "FocusOptions": {
1149
- "location": "global"
1150
- }
1058
+ "return": "Promise<void>"
1151
1059
  },
1152
- "return": "Promise<void>"
1153
- },
1154
- "docs": {
1155
- "text": "Sets focus on the specified `duet-number-input`. Use this method instead of the global\n`input.focus()`.",
1156
- "tags": []
1060
+ "docs": {
1061
+ "text": "Sets focus on the specified `duet-number-input`. Use this method instead of the global\n`input.focus()`.",
1062
+ "tags": []
1063
+ }
1157
1064
  }
1158
- }
1159
- }; }
1065
+ };
1066
+ }
1160
1067
  static get elementRef() { return "element"; }
1161
1068
  }