@duetds/components 10.0.0-alpha.0 → 10.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (656) hide show
  1. package/hydrate/index.js +73 -95
  2. package/lib/cjs/a11y-utils-8177cf00.js +25 -0
  3. package/lib/cjs/{app-globals-a1431483.js → app-globals-718a3704.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
  5. package/lib/cjs/duet-alert.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-banner.cjs.entry.js +2 -2
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
  10. package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
  11. package/lib/cjs/duet-callout.cjs.entry.js +2 -2
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +5 -4
  13. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  16. package/lib/cjs/duet-chip_3.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  19. package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +8 -7
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +4 -4
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-footer.cjs.entry.js +3 -3
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
  31. package/lib/cjs/duet-hero.cjs.entry.js +3 -3
  32. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-input_2.cjs.entry.js +11 -10
  34. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +4 -3
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +5 -4
  42. package/lib/cjs/duet-modal.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +10 -9
  44. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
  46. package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +14 -14
  50. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  51. package/lib/cjs/duet-promo-card.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
  53. package/lib/cjs/duet-range-slider.cjs.entry.js +6 -5
  54. package/lib/cjs/duet-scrollable_3.cjs.entry.js +3 -3
  55. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-select.cjs.entry.js +9 -8
  57. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
  59. package/lib/cjs/duet-slideout-lang.cjs.entry.js +2 -2
  60. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  62. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-slideout.cjs.entry.js +4 -4
  64. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
  67. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +4 -3
  68. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-textarea.cjs.entry.js +8 -7
  71. package/lib/cjs/duet-toggle.cjs.entry.js +6 -5
  72. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  73. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  74. package/lib/cjs/duet-toolbar-item.cjs.entry.js +4 -3
  75. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
  78. package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
  79. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  80. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  81. package/lib/cjs/duet-upload-item.cjs.entry.js +3 -3
  82. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  83. package/lib/cjs/duet.cjs.js +3 -3
  84. package/lib/cjs/{errorcodes.utils-b4cf3ce2.js → errorcodes.utils-4e8a9de4.js} +1 -1
  85. package/lib/cjs/{focus-utils-68fa1c8f.js → focus-utils-2a0030aa.js} +1 -1
  86. package/lib/cjs/{index-7e38df71.js → index-21e67ab3.js} +1 -1
  87. package/lib/cjs/label-2abeac23.js +22 -0
  88. package/lib/cjs/{language-utils-beee36ce.js → language-utils-b5940c7b.js} +1 -1
  89. package/lib/cjs/loader.cjs.js +3 -3
  90. package/lib/cjs/{slot-utils-31c0ed00.js → slot-utils-382633cf.js} +16 -5
  91. package/lib/collection/common/label.js +16 -0
  92. package/lib/collection/components/duet-chip/duet-chip.js +1 -1
  93. package/lib/collection/components/duet-date-picker/duet-date-picker.css +77 -4
  94. package/lib/collection/components/duet-date-picker/duet-date-picker.js +3 -2
  95. package/lib/collection/components/duet-editable-table/duet-editable-table.css +3 -1
  96. package/lib/collection/components/duet-editable-table/duet-editable-table.js +1 -1
  97. package/lib/collection/components/duet-input/duet-input.css +80 -7
  98. package/lib/collection/components/duet-input/duet-input.js +7 -6
  99. package/lib/collection/components/duet-link/duet-link.css +2 -2
  100. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -2
  101. package/lib/collection/components/duet-multiselect/duet-multiselect.css +69 -1
  102. package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -5
  103. package/lib/collection/components/duet-pagination/duet-pagination.js +12 -12
  104. package/lib/collection/components/duet-range-slider/duet-range-slider.css +69 -1
  105. package/lib/collection/components/duet-range-slider/duet-range-slider.js +3 -2
  106. package/lib/collection/components/duet-select/duet-select.css +89 -13
  107. package/lib/collection/components/duet-select/duet-select.js +6 -5
  108. package/lib/collection/components/duet-textarea/duet-textarea.css +69 -1
  109. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -3
  110. package/lib/collection/components/duet-toggle/duet-toggle.css +68 -0
  111. package/lib/collection/components/duet-toggle/duet-toggle.js +3 -2
  112. package/lib/collection/utils/a11y-utils.js +9 -5
  113. package/lib/collection/utils/slot-utils.js +18 -4
  114. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  115. package/lib/dist-custom-elements/duet-alert.js +1 -1
  116. package/lib/dist-custom-elements/duet-badge.js +1 -1
  117. package/lib/dist-custom-elements/duet-banner.js +4 -4
  118. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  119. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  120. package/lib/dist-custom-elements/duet-button.js +1 -1
  121. package/lib/dist-custom-elements/duet-callout.js +3 -3
  122. package/lib/dist-custom-elements/duet-caption.js +1 -1
  123. package/lib/dist-custom-elements/duet-card.js +3 -3
  124. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  125. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  126. package/lib/dist-custom-elements/duet-chip.js +1 -1
  127. package/lib/dist-custom-elements/duet-choice-group.js +9 -9
  128. package/lib/dist-custom-elements/duet-choice.js +5 -5
  129. package/lib/dist-custom-elements/duet-collapsible.js +3 -3
  130. package/lib/dist-custom-elements/duet-combobox.js +20 -26
  131. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  132. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  133. package/lib/dist-custom-elements/duet-date-picker.js +22 -27
  134. package/lib/dist-custom-elements/duet-divider.js +1 -1
  135. package/lib/dist-custom-elements/duet-editable-table.js +10 -9
  136. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  137. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  138. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  139. package/lib/dist-custom-elements/duet-footer.js +8 -8
  140. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  141. package/lib/dist-custom-elements/duet-grid.js +1 -1
  142. package/lib/dist-custom-elements/duet-header.js +8 -8
  143. package/lib/dist-custom-elements/duet-heading.js +1 -1
  144. package/lib/dist-custom-elements/duet-hero.js +10 -10
  145. package/lib/dist-custom-elements/duet-icon.js +1 -1
  146. package/lib/dist-custom-elements/duet-input.js +1 -1
  147. package/lib/dist-custom-elements/duet-label.js +62 -1
  148. package/lib/dist-custom-elements/duet-layout.js +2 -2
  149. package/lib/dist-custom-elements/duet-link.js +1 -1
  150. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  151. package/lib/dist-custom-elements/duet-list.js +1 -1
  152. package/lib/dist-custom-elements/duet-logo.js +1 -1
  153. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  154. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  155. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  156. package/lib/dist-custom-elements/duet-menu-bar-item.js +3 -3
  157. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  158. package/lib/dist-custom-elements/duet-menu-bar.js +5 -4
  159. package/lib/dist-custom-elements/duet-modal.js +9 -9
  160. package/lib/dist-custom-elements/duet-multiselect.js +19 -24
  161. package/lib/dist-custom-elements/duet-nav.js +1 -1
  162. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  163. package/lib/dist-custom-elements/duet-notification.js +2 -2
  164. package/lib/dist-custom-elements/duet-number-input.js +15 -21
  165. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  166. package/lib/dist-custom-elements/duet-page-heading.js +3 -3
  167. package/lib/dist-custom-elements/duet-pagination.js +29 -35
  168. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  169. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  170. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  171. package/lib/dist-custom-elements/duet-progress.js +1 -1
  172. package/lib/dist-custom-elements/duet-promo-card.js +4 -4
  173. package/lib/dist-custom-elements/duet-radio-group.js +9 -9
  174. package/lib/dist-custom-elements/duet-radio.js +2 -2
  175. package/lib/dist-custom-elements/duet-range-slider.js +7 -12
  176. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  177. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  178. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  179. package/lib/dist-custom-elements/duet-select.js +1 -1
  180. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  181. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  182. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  183. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  184. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  185. package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
  186. package/lib/dist-custom-elements/duet-slideout.js +4 -4
  187. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  188. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  189. package/lib/dist-custom-elements/duet-step.js +4 -4
  190. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  191. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  192. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  193. package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
  194. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  195. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  196. package/lib/dist-custom-elements/duet-tab-group.js +16 -22
  197. package/lib/dist-custom-elements/duet-tab.js +1 -1
  198. package/lib/dist-custom-elements/duet-table.js +1 -1
  199. package/lib/dist-custom-elements/duet-textarea.js +19 -24
  200. package/lib/dist-custom-elements/duet-toggle.js +7 -12
  201. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  202. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  203. package/lib/dist-custom-elements/duet-toolbar-item.js +3 -3
  204. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  205. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  206. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  207. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  208. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  209. package/lib/dist-custom-elements/duet-tray.js +3 -3
  210. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  211. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  212. package/lib/dist-custom-elements/duet-upload.js +19 -19
  213. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  214. package/lib/dist-custom-elements/index.js +1 -1
  215. package/lib/dist-custom-elements/{p-b33a176e.js → p-19172e2c.js} +1 -1
  216. package/lib/dist-custom-elements/{p-fc92fc89.js → p-1df834b1.js} +1 -1
  217. package/lib/dist-custom-elements/{p-aa62c36f.js → p-1e88beeb.js} +1 -1
  218. package/lib/dist-custom-elements/{p-ed8b17fe.js → p-1f7ae97d.js} +7 -7
  219. package/lib/dist-custom-elements/{p-5270ad3d.js → p-254d2993.js} +2 -2
  220. package/lib/dist-custom-elements/{p-5448ad53.js → p-29782b53.js} +1 -1
  221. package/lib/dist-custom-elements/{p-d0a4a69f.js → p-2c4fc6d3.js} +3 -3
  222. package/lib/dist-custom-elements/{p-4d4c66b0.js → p-35ad7f77.js} +1 -1
  223. package/lib/dist-custom-elements/{p-8c993e48.js → p-3b5e8904.js} +1 -1
  224. package/lib/dist-custom-elements/{p-4f5a1d66.js → p-3c7d413f.js} +1 -1
  225. package/lib/dist-custom-elements/p-42619f94.js +20 -0
  226. package/lib/dist-custom-elements/{p-c9a14c7b.js → p-4c1f4287.js} +3 -3
  227. package/lib/dist-custom-elements/{p-0ac72fc8.js → p-5086d1a0.js} +2 -2
  228. package/lib/dist-custom-elements/{p-b9488320.js → p-55bbb3b6.js} +21 -26
  229. package/lib/dist-custom-elements/{p-a5c06963.js → p-56d9b926.js} +1 -1
  230. package/lib/dist-custom-elements/{p-36804cd7.js → p-5fbb6039.js} +1 -1
  231. package/lib/dist-custom-elements/{p-e5962501.js → p-64139e5c.js} +1 -1
  232. package/lib/dist-custom-elements/{p-18c3a72b.js → p-6a285be8.js} +1 -1
  233. package/lib/dist-custom-elements/{p-824a3b0b.js → p-723b6358.js} +4 -4
  234. package/lib/dist-custom-elements/{p-7ff1b14d.js → p-726ae243.js} +1 -1
  235. package/lib/dist-custom-elements/{p-98b1d4c1.js → p-7f69e1e3.js} +6 -6
  236. package/lib/dist-custom-elements/{p-61282ed8.js → p-86f479be.js} +2 -2
  237. package/lib/dist-custom-elements/{p-cb5df864.js → p-87b1c772.js} +1 -1
  238. package/lib/dist-custom-elements/{p-acacce04.js → p-a0f74881.js} +5 -5
  239. package/lib/dist-custom-elements/{p-38a3168a.js → p-a1e17113.js} +4 -4
  240. package/lib/dist-custom-elements/{p-c57a67d3.js → p-a2b5c68e.js} +3 -3
  241. package/lib/dist-custom-elements/{p-01846eb6.js → p-a9e09647.js} +6 -6
  242. package/lib/dist-custom-elements/{p-b5ea877d.js → p-ad615991.js} +15 -4
  243. package/lib/dist-custom-elements/p-afb6f7fb.js +23 -0
  244. package/lib/dist-custom-elements/{p-8342a3e5.js → p-b4289ed0.js} +1 -1
  245. package/lib/dist-custom-elements/{p-266569ef.js → p-c0a30d29.js} +1 -1
  246. package/lib/dist-custom-elements/{p-644b52bb.js → p-c81244d9.js} +1 -1
  247. package/lib/dist-custom-elements/{p-a6b39855.js → p-d2a5148f.js} +1 -1
  248. package/lib/dist-custom-elements/{p-fb63021d.js → p-d5812145.js} +1 -1
  249. package/lib/dist-custom-elements/{p-f66602b0.js → p-d77db171.js} +1 -1
  250. package/lib/dist-custom-elements/p-e4936fed.js +268 -0
  251. package/lib/dist-custom-elements/{p-92f36210.js → p-e5a55204.js} +10 -10
  252. package/lib/dist-custom-elements/{p-ee079d76.js → p-e774334b.js} +2 -2
  253. package/lib/dist-custom-elements/{p-649a8c3e.js → p-f9994ef4.js} +3 -3
  254. package/lib/dist-custom-elements/{p-39b63c58.js → p-fca5b65b.js} +2 -2
  255. package/lib/dist-custom-elements/{p-2a6a71e4.js → p-ffa44070.js} +1 -1
  256. package/lib/duet/duet.esm.js +1 -1
  257. package/lib/duet/duet.js +1 -1
  258. package/lib/duet/{p-778e721c.entry.js → p-009c7325.entry.js} +1 -1
  259. package/lib/duet/{p-35196930.system.entry.js → p-020be412.system.entry.js} +1 -1
  260. package/lib/duet/p-02200dcc.entry.js +4 -0
  261. package/lib/duet/{p-c7f38ac3.system.entry.js → p-032fbfa1.system.entry.js} +1 -1
  262. package/lib/duet/p-03af0f0d.system.entry.js +4 -0
  263. package/lib/duet/{p-00c7bd0a.system.entry.js → p-042576d6.system.entry.js} +1 -1
  264. package/lib/duet/{p-79bd8c35.system.entry.js → p-0458abd0.system.entry.js} +1 -1
  265. package/lib/duet/{p-d6b53d40.entry.js → p-066b94ca.entry.js} +1 -1
  266. package/lib/duet/{p-d1e5ab5e.entry.js → p-07200cbb.entry.js} +1 -1
  267. package/lib/duet/{p-72508bb9.entry.js → p-084ab781.entry.js} +1 -1
  268. package/lib/duet/{p-3b77a305.system.entry.js → p-0937f800.system.entry.js} +1 -1
  269. package/lib/duet/p-0c4aa4d0.system.entry.js +4 -0
  270. package/lib/duet/{p-2de11c55.system.entry.js → p-0ecb70e0.system.entry.js} +1 -1
  271. package/lib/duet/{p-c032689a.entry.js → p-105f1a75.entry.js} +1 -1
  272. package/lib/duet/{p-0f3fbf65.system.entry.js → p-1183d305.system.entry.js} +1 -1
  273. package/lib/duet/{p-5269e599.system.entry.js → p-14bae734.system.entry.js} +1 -1
  274. package/lib/duet/{p-dd1ec0ef.entry.js → p-150e5f1b.entry.js} +1 -1
  275. package/lib/duet/{p-99443d70.entry.js → p-17aa3a20.entry.js} +1 -1
  276. package/lib/duet/{p-a6ee1072.system.entry.js → p-1d016525.system.entry.js} +1 -1
  277. package/lib/duet/{p-3f690e05.system.entry.js → p-1da5945a.system.entry.js} +1 -1
  278. package/lib/duet/{p-3300a0a4.system.js → p-1e17463d.system.js} +1 -1
  279. package/lib/duet/{p-0d79ddc1.system.entry.js → p-1fd3ec9e.system.entry.js} +1 -1
  280. package/lib/duet/{p-3a1f45d1.system.entry.js → p-20213e01.system.entry.js} +1 -1
  281. package/lib/duet/{p-58497877.system.entry.js → p-2034ac6f.system.entry.js} +1 -1
  282. package/lib/duet/p-23376e2a.entry.js +4 -0
  283. package/lib/duet/{p-e4d4cc92.js → p-2437b4cb.js} +1 -1
  284. package/lib/duet/{p-194e89c3.system.entry.js → p-265fdd97.system.entry.js} +1 -1
  285. package/lib/duet/{p-a236f333.system.entry.js → p-26d1dc6c.system.entry.js} +1 -1
  286. package/lib/duet/{p-603f6dd4.system.entry.js → p-274473a3.system.entry.js} +1 -1
  287. package/lib/duet/{p-c055a0a5.entry.js → p-27a43e79.entry.js} +1 -1
  288. package/lib/duet/{p-19096d3f.system.entry.js → p-27ed5ca7.system.entry.js} +1 -1
  289. package/lib/duet/p-29672737.entry.js +4 -0
  290. package/lib/duet/p-2af3edb3.system.entry.js +4 -0
  291. package/lib/duet/p-2af9e483.entry.js +4 -0
  292. package/lib/duet/p-2b6a7397.js +4 -0
  293. package/lib/duet/{p-3693a39c.entry.js → p-2c9a6e05.entry.js} +1 -1
  294. package/lib/duet/{p-214444f4.js → p-2eae4a0b.js} +1 -1
  295. package/lib/duet/{p-5c17c2ad.entry.js → p-2fa7ecef.entry.js} +1 -1
  296. package/lib/duet/p-319e77d6.entry.js +4 -0
  297. package/lib/duet/{p-19519c35.system.entry.js → p-328d9919.system.entry.js} +1 -1
  298. package/lib/duet/{p-9f466e90.system.entry.js → p-376a0839.system.entry.js} +1 -1
  299. package/lib/duet/{p-5e62f1da.system.entry.js → p-38685b43.system.entry.js} +1 -1
  300. package/lib/duet/{p-b1c78160.system.entry.js → p-38908608.system.entry.js} +1 -1
  301. package/lib/duet/{p-0cde41e1.system.entry.js → p-3987eed8.system.entry.js} +1 -1
  302. package/lib/duet/{p-f6900a3e.entry.js → p-3ab3a8c6.entry.js} +1 -1
  303. package/lib/duet/{p-a1dbb6ae.entry.js → p-3b281171.entry.js} +1 -1
  304. package/lib/duet/{p-77eb9c59.system.entry.js → p-3b3432e2.system.entry.js} +1 -1
  305. package/lib/duet/{p-f29c480a.system.entry.js → p-3b3c341e.system.entry.js} +1 -1
  306. package/lib/duet/{p-dc74c7c2.system.entry.js → p-3b8dbebe.system.entry.js} +1 -1
  307. package/lib/duet/{p-f9a64d11.entry.js → p-3cd483ab.entry.js} +1 -1
  308. package/lib/duet/{p-14c1e05f.system.entry.js → p-3cd80f60.system.entry.js} +1 -1
  309. package/lib/duet/p-3d794db6.system.entry.js +4 -0
  310. package/lib/duet/{p-9e9599ce.system.entry.js → p-3f97122e.system.entry.js} +1 -1
  311. package/lib/duet/p-4289f34a.entry.js +4 -0
  312. package/lib/duet/{p-bf2016fd.entry.js → p-435a217b.entry.js} +1 -1
  313. package/lib/duet/p-472b3fbd.entry.js +4 -0
  314. package/lib/duet/p-48618d75.entry.js +4 -0
  315. package/lib/duet/{p-8bc4d112.entry.js → p-4bd72541.entry.js} +1 -1
  316. package/lib/duet/{p-210045f4.system.entry.js → p-4eb70cc2.system.entry.js} +1 -1
  317. package/lib/duet/{p-d554e96b.entry.js → p-4f212753.entry.js} +1 -1
  318. package/lib/duet/{p-f35be908.entry.js → p-4f527f43.entry.js} +1 -1
  319. package/lib/duet/{p-71d12412.entry.js → p-502bf069.entry.js} +1 -1
  320. package/lib/duet/p-50ca9099.system.entry.js +4 -0
  321. package/lib/duet/p-53366e23.entry.js +4 -0
  322. package/lib/duet/{p-50754042.system.entry.js → p-58f6b887.system.entry.js} +1 -1
  323. package/lib/duet/p-5db9497a.entry.js +4 -0
  324. package/lib/duet/p-5e6b91f6.entry.js +4 -0
  325. package/lib/duet/{p-406af1f3.system.js → p-605e69c8.system.js} +1 -1
  326. package/lib/duet/{p-265b2d3f.system.entry.js → p-61a93486.system.entry.js} +1 -1
  327. package/lib/duet/{p-cab2979b.entry.js → p-63016bc3.entry.js} +1 -1
  328. package/lib/duet/{p-4afd1e0f.system.entry.js → p-639def3e.system.entry.js} +1 -1
  329. package/lib/duet/{p-413ee44a.entry.js → p-67dd83cc.entry.js} +1 -1
  330. package/lib/duet/p-68fd5f9a.entry.js +4 -0
  331. package/lib/duet/{p-778e26b4.system.entry.js → p-6c25b6a4.system.entry.js} +1 -1
  332. package/lib/duet/{p-c8437ddb.system.entry.js → p-6f285100.system.entry.js} +1 -1
  333. package/lib/duet/{p-530144b7.entry.js → p-705c5299.entry.js} +1 -1
  334. package/lib/duet/p-70651da4.system.entry.js +4 -0
  335. package/lib/duet/{p-da7ce3da.entry.js → p-716865fe.entry.js} +1 -1
  336. package/lib/duet/{p-b1f3e71c.entry.js → p-7512d569.entry.js} +1 -1
  337. package/lib/duet/{p-f210b371.system.entry.js → p-7606ec6c.system.entry.js} +1 -1
  338. package/lib/duet/{p-42d0aeb0.system.js → p-76d69a18.system.js} +1 -1
  339. package/lib/duet/{p-706c3914.entry.js → p-772dbed5.entry.js} +1 -1
  340. package/lib/duet/{p-c20e0bcd.entry.js → p-77b21edc.entry.js} +1 -1
  341. package/lib/duet/{p-ad0b50f0.entry.js → p-77e70fca.entry.js} +1 -1
  342. package/lib/duet/p-7813d124.system.entry.js +4 -0
  343. package/lib/duet/p-7a25f374.entry.js +4 -0
  344. package/lib/duet/p-7acabaa7.system.js +4 -0
  345. package/lib/duet/{p-1ac5803b.entry.js → p-7af3fb35.entry.js} +1 -1
  346. package/lib/duet/p-7b8b93c3.entry.js +4 -0
  347. package/lib/duet/{p-1bdd845b.system.js → p-7cce22af.system.js} +1 -1
  348. package/lib/duet/{p-e33c42ff.entry.js → p-7f5c1da2.entry.js} +1 -1
  349. package/lib/duet/{p-f380d364.system.entry.js → p-7fe5e0dc.system.entry.js} +1 -1
  350. package/lib/duet/{p-eb35e521.entry.js → p-806adaa3.entry.js} +1 -1
  351. package/lib/duet/{p-6c501d0a.system.entry.js → p-807bf6da.system.entry.js} +1 -1
  352. package/lib/duet/{p-70adc2c4.entry.js → p-824d882f.entry.js} +1 -1
  353. package/lib/duet/{p-aabf13cc.entry.js → p-8440bd4f.entry.js} +1 -1
  354. package/lib/duet/{p-b5ef2959.system.entry.js → p-84bfc619.system.entry.js} +1 -1
  355. package/lib/duet/{p-19baff31.entry.js → p-851e1a0f.entry.js} +1 -1
  356. package/lib/duet/{p-65a3b7a2.system.entry.js → p-8520e026.system.entry.js} +1 -1
  357. package/lib/duet/{p-ad3fc579.entry.js → p-86176559.entry.js} +1 -1
  358. package/lib/duet/{p-8911e1f0.system.entry.js → p-87e96a18.system.entry.js} +1 -1
  359. package/lib/duet/{p-ac1125e2.entry.js → p-88d8265d.entry.js} +1 -1
  360. package/lib/duet/{p-dea69e25.system.entry.js → p-88fe57e8.system.entry.js} +1 -1
  361. package/lib/duet/{p-b899b000.js → p-8abb0984.js} +1 -1
  362. package/lib/duet/{p-a023bf22.entry.js → p-8ad8b9a8.entry.js} +1 -1
  363. package/lib/duet/{p-4bdae83b.entry.js → p-8b397c1a.entry.js} +1 -1
  364. package/lib/duet/p-8c9eb171.js +4 -0
  365. package/lib/duet/{p-252df607.entry.js → p-8ceddf7a.entry.js} +1 -1
  366. package/lib/duet/{p-702dc745.system.entry.js → p-8d462e3a.system.entry.js} +1 -1
  367. package/lib/duet/{p-abe63ae2.system.entry.js → p-8f31572d.system.entry.js} +1 -1
  368. package/lib/duet/p-8ff30ce6.system.entry.js +4 -0
  369. package/lib/duet/p-947ceeb6.system.entry.js +4 -0
  370. package/lib/duet/{p-3fce7ef4.system.entry.js → p-95836be2.system.entry.js} +1 -1
  371. package/lib/duet/p-965e597c.system.js +4 -0
  372. package/lib/duet/{p-146a6092.entry.js → p-97ec270c.entry.js} +1 -1
  373. package/lib/duet/{p-c5efbb76.system.entry.js → p-9dda3449.system.entry.js} +1 -1
  374. package/lib/duet/p-9fcce08c.system.entry.js +4 -0
  375. package/lib/duet/{p-7d32c253.system.js → p-a19244e5.system.js} +1 -1
  376. package/lib/duet/{p-e062a11a.entry.js → p-a23eec0f.entry.js} +1 -1
  377. package/lib/duet/{p-783e8788.system.entry.js → p-a2b93336.system.entry.js} +1 -1
  378. package/lib/duet/{p-989ecf2e.system.entry.js → p-a437992b.system.entry.js} +1 -1
  379. package/lib/duet/{p-a42c1c73.system.entry.js → p-a48acf0f.system.entry.js} +2 -2
  380. package/lib/duet/{p-296eb384.entry.js → p-a51f3a0b.entry.js} +1 -1
  381. package/lib/duet/{p-f933ada6.system.entry.js → p-ab4c886f.system.entry.js} +1 -1
  382. package/lib/duet/{p-1ec66cb0.system.entry.js → p-abec198c.system.entry.js} +1 -1
  383. package/lib/duet/p-b0b00dad.system.entry.js +4 -0
  384. package/lib/duet/{p-d7c1c492.entry.js → p-b0d79ffe.entry.js} +1 -1
  385. package/lib/duet/{p-b5b5040f.entry.js → p-b865116a.entry.js} +1 -1
  386. package/lib/duet/{p-99f873a0.entry.js → p-bbb56267.entry.js} +1 -1
  387. package/lib/duet/{p-b55e935f.entry.js → p-bbeafbd0.entry.js} +1 -1
  388. package/lib/duet/{p-70fd8af5.system.entry.js → p-bc6e219f.system.entry.js} +1 -1
  389. package/lib/duet/{p-9a219c40.entry.js → p-bed279f6.entry.js} +1 -1
  390. package/lib/duet/{p-cfee6451.entry.js → p-bf5c8102.entry.js} +1 -1
  391. package/lib/duet/{p-1aaa8887.entry.js → p-c1b1801d.entry.js} +1 -1
  392. package/lib/duet/{p-69d6bbfe.system.entry.js → p-c551216e.system.entry.js} +1 -1
  393. package/lib/duet/{p-3662ad90.entry.js → p-c6617f16.entry.js} +1 -1
  394. package/lib/duet/p-c6995496.system.entry.js +4 -0
  395. package/lib/duet/{p-343c72ca.entry.js → p-c7ecec29.entry.js} +1 -1
  396. package/lib/duet/{p-d452cbb7.entry.js → p-ca691c4a.entry.js} +1 -1
  397. package/lib/duet/{p-8a9a7082.entry.js → p-cdb6c612.entry.js} +1 -1
  398. package/lib/duet/{p-a5406a98.entry.js → p-cef3ec26.entry.js} +1 -1
  399. package/lib/duet/{p-d803a966.system.entry.js → p-d04dbf1f.system.entry.js} +1 -1
  400. package/lib/duet/{p-c20c2ae0.entry.js → p-d3aa7a74.entry.js} +1 -1
  401. package/lib/duet/p-d3c304b5.system.js +4 -0
  402. package/lib/duet/{p-93bc8bc7.entry.js → p-d41543d3.entry.js} +1 -1
  403. package/lib/duet/p-d42b2af0.entry.js +4 -0
  404. package/lib/duet/{p-12abe4eb.system.entry.js → p-d5dfa70d.system.entry.js} +1 -1
  405. package/lib/duet/{p-d2ded72c.system.entry.js → p-d62b6ca1.system.entry.js} +1 -1
  406. package/lib/duet/{p-b5eec241.system.entry.js → p-d62da84e.system.entry.js} +1 -1
  407. package/lib/duet/{p-d048f25c.js → p-d7d86092.js} +1 -1
  408. package/lib/duet/{p-f417c864.entry.js → p-d85741b1.entry.js} +1 -1
  409. package/lib/duet/p-dc4b5372.system.entry.js +4 -0
  410. package/lib/duet/{p-351076bc.system.entry.js → p-df19c239.system.entry.js} +1 -1
  411. package/lib/duet/{p-b11c1b81.entry.js → p-dfef2cbe.entry.js} +1 -1
  412. package/lib/duet/{p-1ce82dfa.system.js → p-e1c881da.system.js} +1 -1
  413. package/lib/duet/p-e283e9fe.entry.js +4 -0
  414. package/lib/duet/{p-0cb6800d.entry.js → p-e2daf94c.entry.js} +1 -1
  415. package/lib/duet/{p-4f913952.entry.js → p-e5cb7fc9.entry.js} +1 -1
  416. package/lib/duet/{p-849cdc4a.entry.js → p-e7558f6c.entry.js} +1 -1
  417. package/lib/duet/{p-62e046bf.system.entry.js → p-e797e2f4.system.entry.js} +1 -1
  418. package/lib/duet/{p-6e9ec04c.system.entry.js → p-e95e650d.system.entry.js} +1 -1
  419. package/lib/duet/{p-c00beb34.system.entry.js → p-eb0d15a0.system.entry.js} +1 -1
  420. package/lib/duet/p-eca03d5e.js +4 -0
  421. package/lib/duet/{p-425e3794.system.entry.js → p-eca1904d.system.entry.js} +1 -1
  422. package/lib/duet/p-ed17957c.system.entry.js +4 -0
  423. package/lib/duet/{p-907ef071.system.entry.js → p-ed6a110f.system.entry.js} +1 -1
  424. package/lib/duet/{p-779cfa4a.system.entry.js → p-f0fa9c9a.system.entry.js} +1 -1
  425. package/lib/duet/{p-0cb1aedd.entry.js → p-f2f1e0e9.entry.js} +1 -1
  426. package/lib/duet/{p-a7c7e6a4.system.entry.js → p-f43e134e.system.entry.js} +1 -1
  427. package/lib/duet/{p-b6214d5a.entry.js → p-f78099b6.entry.js} +1 -1
  428. package/lib/duet/{p-c2ece51b.entry.js → p-f8b6380d.entry.js} +1 -1
  429. package/lib/duet/p-fd78f61a.js +4 -0
  430. package/lib/duet/{p-7ba55da2.system.entry.js → p-fdb3098f.system.entry.js} +1 -1
  431. package/lib/duet/p-ffd1290e.system.entry.js +4 -0
  432. package/lib/duet/{p-9ff1b619.entry.js → p-ffe6fbbb.entry.js} +1 -1
  433. package/lib/esm/a11y-utils-8fc393f6.js +23 -0
  434. package/lib/esm/{app-globals-386e1feb.js → app-globals-00959ca9.js} +1 -1
  435. package/lib/esm/duet-action-button.entry.js +2 -2
  436. package/lib/esm/duet-alert.entry.js +3 -3
  437. package/lib/esm/duet-badge.entry.js +1 -1
  438. package/lib/esm/duet-banner.entry.js +2 -2
  439. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  440. package/lib/esm/duet-breadcrumbs.entry.js +2 -2
  441. package/lib/esm/duet-button_2.entry.js +2 -2
  442. package/lib/esm/duet-callout.entry.js +2 -2
  443. package/lib/esm/duet-caption_4.entry.js +5 -4
  444. package/lib/esm/duet-card.entry.js +1 -1
  445. package/lib/esm/duet-checkbox.entry.js +1 -1
  446. package/lib/esm/duet-checkmark.entry.js +1 -1
  447. package/lib/esm/duet-chip_3.entry.js +4 -4
  448. package/lib/esm/duet-choice_2.entry.js +3 -3
  449. package/lib/esm/duet-collapsible.entry.js +2 -2
  450. package/lib/esm/duet-combobox.entry.js +3 -3
  451. package/lib/esm/duet-contact-card.entry.js +2 -2
  452. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  453. package/lib/esm/duet-date-picker.entry.js +8 -7
  454. package/lib/esm/duet-divider_2.entry.js +1 -1
  455. package/lib/esm/duet-editable-table_3.entry.js +4 -4
  456. package/lib/esm/duet-empty-state.entry.js +1 -1
  457. package/lib/esm/duet-fieldset.entry.js +2 -2
  458. package/lib/esm/duet-file-chooser.entry.js +1 -1
  459. package/lib/esm/duet-footer.entry.js +3 -3
  460. package/lib/esm/duet-grid_2.entry.js +1 -1
  461. package/lib/esm/duet-header_2.entry.js +2 -2
  462. package/lib/esm/duet-hero.entry.js +3 -3
  463. package/lib/esm/duet-icon.entry.js +1 -1
  464. package/lib/esm/duet-input_2.entry.js +11 -10
  465. package/lib/esm/duet-layout.entry.js +2 -2
  466. package/lib/esm/duet-list_2.entry.js +1 -1
  467. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  468. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  469. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  470. package/lib/esm/duet-menu-bar-item.entry.js +4 -3
  471. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  472. package/lib/esm/duet-menu-bar.entry.js +5 -4
  473. package/lib/esm/duet-modal.entry.js +4 -4
  474. package/lib/esm/duet-multiselect.entry.js +10 -9
  475. package/lib/esm/duet-nav.entry.js +1 -1
  476. package/lib/esm/duet-notification_2.entry.js +2 -2
  477. package/lib/esm/duet-number-input.entry.js +3 -3
  478. package/lib/esm/duet-overlay.entry.js +1 -1
  479. package/lib/esm/duet-page-heading.entry.js +1 -1
  480. package/lib/esm/duet-pagination_2.entry.js +14 -14
  481. package/lib/esm/duet-progress.entry.js +2 -2
  482. package/lib/esm/duet-promo-card.entry.js +2 -2
  483. package/lib/esm/duet-radio_2.entry.js +2 -2
  484. package/lib/esm/duet-range-slider.entry.js +6 -5
  485. package/lib/esm/duet-scrollable_3.entry.js +3 -3
  486. package/lib/esm/duet-section-layout.entry.js +1 -1
  487. package/lib/esm/duet-select.entry.js +9 -8
  488. package/lib/esm/duet-shaped-image.entry.js +1 -1
  489. package/lib/esm/duet-show-more.entry.js +2 -2
  490. package/lib/esm/duet-slideout-lang.entry.js +2 -2
  491. package/lib/esm/duet-slideout-link.entry.js +1 -1
  492. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  493. package/lib/esm/duet-slideout-panel.entry.js +4 -4
  494. package/lib/esm/duet-slideout.entry.js +4 -4
  495. package/lib/esm/duet-step_2.entry.js +1 -1
  496. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  497. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  498. package/lib/esm/duet-submenu-bar-item.entry.js +4 -3
  499. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  500. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  501. package/lib/esm/duet-textarea.entry.js +8 -7
  502. package/lib/esm/duet-toggle.entry.js +6 -5
  503. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  504. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  505. package/lib/esm/duet-toolbar-item.entry.js +4 -3
  506. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  507. package/lib/esm/duet-toolbar.entry.js +1 -1
  508. package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
  509. package/lib/esm/duet-tooltip.entry.js +3 -3
  510. package/lib/esm/duet-tray.entry.js +2 -2
  511. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  512. package/lib/esm/duet-upload-item.entry.js +3 -3
  513. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  514. package/lib/esm/duet.js +4 -4
  515. package/lib/esm/{errorcodes.utils-f2529568.js → errorcodes.utils-d9431251.js} +1 -1
  516. package/lib/esm/{focus-utils-fb393f52.js → focus-utils-adcd9463.js} +1 -1
  517. package/lib/esm/{index-4e3ad237.js → index-1d0b7c66.js} +1 -1
  518. package/lib/esm/label-ce262202.js +20 -0
  519. package/lib/esm/{language-utils-95643489.js → language-utils-14969cef.js} +1 -1
  520. package/lib/esm/loader.js +4 -4
  521. package/lib/esm/{slot-utils-23c88903.js → slot-utils-4e5ed4eb.js} +16 -5
  522. package/lib/esm-es5/a11y-utils-8fc393f6.js +4 -0
  523. package/lib/esm-es5/{app-globals-386e1feb.js → app-globals-00959ca9.js} +1 -1
  524. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  525. package/lib/esm-es5/duet-alert.entry.js +1 -1
  526. package/lib/esm-es5/duet-badge.entry.js +1 -1
  527. package/lib/esm-es5/duet-banner.entry.js +1 -1
  528. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  529. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  530. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  531. package/lib/esm-es5/duet-callout.entry.js +1 -1
  532. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  533. package/lib/esm-es5/duet-card.entry.js +1 -1
  534. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  535. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  536. package/lib/esm-es5/duet-chip_3.entry.js +1 -1
  537. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  538. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  539. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  540. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  541. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  542. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  543. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  544. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  545. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  546. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  547. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  548. package/lib/esm-es5/duet-footer.entry.js +1 -1
  549. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  550. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  551. package/lib/esm-es5/duet-hero.entry.js +1 -1
  552. package/lib/esm-es5/duet-icon.entry.js +1 -1
  553. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  554. package/lib/esm-es5/duet-layout.entry.js +1 -1
  555. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  556. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  557. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  558. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  559. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  560. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  561. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  562. package/lib/esm-es5/duet-modal.entry.js +1 -1
  563. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  564. package/lib/esm-es5/duet-nav.entry.js +1 -1
  565. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  566. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  567. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  568. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  569. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  570. package/lib/esm-es5/duet-progress.entry.js +1 -1
  571. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  572. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  573. package/lib/esm-es5/duet-range-slider.entry.js +2 -2
  574. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  575. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  576. package/lib/esm-es5/duet-select.entry.js +2 -2
  577. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  578. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  579. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  580. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  581. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  582. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  583. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  584. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  585. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  586. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  587. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  588. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  589. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  590. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  591. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  592. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  593. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  594. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  595. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  596. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  597. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  598. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  599. package/lib/esm-es5/duet-tray.entry.js +1 -1
  600. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  601. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  602. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  603. package/lib/esm-es5/duet.js +1 -1
  604. package/lib/esm-es5/{errorcodes.utils-f2529568.js → errorcodes.utils-d9431251.js} +1 -1
  605. package/lib/esm-es5/focus-utils-adcd9463.js +4 -0
  606. package/lib/esm-es5/{index-4e3ad237.js → index-1d0b7c66.js} +1 -1
  607. package/lib/esm-es5/label-ce262202.js +4 -0
  608. package/lib/esm-es5/{language-utils-95643489.js → language-utils-14969cef.js} +1 -1
  609. package/lib/esm-es5/loader.js +1 -1
  610. package/lib/esm-es5/slot-utils-4e5ed4eb.js +4 -0
  611. package/lib/types/common/label.d.ts +13 -0
  612. package/package.json +3 -3
  613. package/lib/cjs/a11y-utils-76311b95.js +0 -20
  614. package/lib/dist-custom-elements/p-145c94a8.js +0 -273
  615. package/lib/dist-custom-elements/p-d0aaf2cd.js +0 -67
  616. package/lib/dist-custom-elements/p-f0cc5629.js +0 -18
  617. package/lib/duet/p-0245b6df.system.entry.js +0 -4
  618. package/lib/duet/p-03ad2cf3.system.entry.js +0 -4
  619. package/lib/duet/p-0c527115.entry.js +0 -4
  620. package/lib/duet/p-0d730e50.system.entry.js +0 -4
  621. package/lib/duet/p-130939b4.entry.js +0 -4
  622. package/lib/duet/p-1411cba2.entry.js +0 -4
  623. package/lib/duet/p-14b4ee4d.entry.js +0 -4
  624. package/lib/duet/p-1b6e33e3.system.entry.js +0 -4
  625. package/lib/duet/p-21785af3.system.entry.js +0 -4
  626. package/lib/duet/p-293cb37c.entry.js +0 -4
  627. package/lib/duet/p-39733fa6.system.entry.js +0 -4
  628. package/lib/duet/p-405ba8bb.entry.js +0 -4
  629. package/lib/duet/p-4e261200.js +0 -4
  630. package/lib/duet/p-5222dec4.system.entry.js +0 -4
  631. package/lib/duet/p-56c887fb.js +0 -4
  632. package/lib/duet/p-639fd3db.entry.js +0 -4
  633. package/lib/duet/p-6727fc0e.entry.js +0 -4
  634. package/lib/duet/p-6858f043.system.entry.js +0 -4
  635. package/lib/duet/p-7a3ae8a9.system.js +0 -4
  636. package/lib/duet/p-7f519ad1.entry.js +0 -4
  637. package/lib/duet/p-83d125ee.system.entry.js +0 -4
  638. package/lib/duet/p-898a81ab.system.entry.js +0 -4
  639. package/lib/duet/p-9c45ed44.entry.js +0 -4
  640. package/lib/duet/p-9e27e0a8.system.entry.js +0 -4
  641. package/lib/duet/p-9f30783d.system.entry.js +0 -4
  642. package/lib/duet/p-aa436035.system.entry.js +0 -4
  643. package/lib/duet/p-aad77751.system.js +0 -4
  644. package/lib/duet/p-bbc168d3.entry.js +0 -4
  645. package/lib/duet/p-c0f0ba52.entry.js +0 -4
  646. package/lib/duet/p-c6915c43.system.entry.js +0 -4
  647. package/lib/duet/p-cdccf8e6.system.entry.js +0 -4
  648. package/lib/duet/p-d3a5400e.entry.js +0 -4
  649. package/lib/duet/p-d709d282.entry.js +0 -4
  650. package/lib/duet/p-e1d33d05.entry.js +0 -4
  651. package/lib/duet/p-e8465166.entry.js +0 -4
  652. package/lib/duet/p-f0cc5629.js +0 -4
  653. package/lib/esm/a11y-utils-92930863.js +0 -18
  654. package/lib/esm-es5/a11y-utils-92930863.js +0 -4
  655. package/lib/esm-es5/focus-utils-fb393f52.js +0 -4
  656. package/lib/esm-es5/slot-utils-23c88903.js +0 -4
@@ -1,3 +1,71 @@
1
+ .duet-internal-label {
2
+ box-sizing: border-box;
3
+ padding: 0;
4
+ margin: 0;
5
+ background: transparent;
6
+ border: 0;
7
+ -moz-appearance: none;
8
+ -webkit-appearance: none;
9
+ appearance: none;
10
+ margin-bottom: 12px !important;
11
+ position: relative;
12
+ z-index: 100;
13
+ display: inline-flex;
14
+ width: auto;
15
+ margin-top: 8px !important;
16
+ font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
17
+ font-size: 1rem;
18
+ font-weight: 600 !important;
19
+ line-height: 1.25;
20
+ line-height: 1.25;
21
+ color: rgb(8, 42, 77);
22
+ text-align: left;
23
+ word-break: break-word;
24
+ cursor: default;
25
+ }
26
+ .duet-internal-label.duet-p-0 {
27
+ padding: 0 !important;
28
+ }
29
+ .duet-internal-label.duet-m-0 {
30
+ margin: 0 !important;
31
+ }
32
+ .duet-internal-label span {
33
+ font-size: 1rem;
34
+ font-weight: 600 !important;
35
+ word-break: break-word;
36
+ }
37
+ .duet-internal-label.duet-m-0 {
38
+ margin-bottom: 0 !important;
39
+ }
40
+ .duet-internal-label.duet-small-margin {
41
+ margin-top: 8px !important;
42
+ margin-bottom: 4px !important;
43
+ }
44
+ .duet-internal-label.duet-has-tooltip {
45
+ padding-right: 48px;
46
+ }
47
+ @media (min-width: 48em) {
48
+ .duet-internal-label.duet-has-tooltip {
49
+ padding-right: 0;
50
+ }
51
+ }
52
+ .duet-internal-label.duet-internal-label-small {
53
+ font-size: 0.875rem;
54
+ }
55
+ .duet-internal-label.duet-internal-label-small span {
56
+ font-size: 0.875rem;
57
+ }
58
+ .duet-internal-label.duet-weight-normal {
59
+ font-weight: 400 !important;
60
+ }
61
+ .duet-internal-label.duet-weight-normal span {
62
+ font-weight: 400 !important;
63
+ }
64
+ .duet-internal-label.duet-theme-turva {
65
+ font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
66
+ color: rgb(23, 28, 58);
67
+ }
68
+
1
69
  *,
2
70
  *::after,
3
71
  *::before {
@@ -11,6 +79,15 @@
11
79
  appearance: none;
12
80
  }
13
81
 
82
+ :host {
83
+ margin-right: 16px !important;
84
+ }
85
+
86
+ :host(:last-child),
87
+ :host(:last-of-type) {
88
+ margin-right: 0 !important;
89
+ }
90
+
14
91
  :host {
15
92
  box-sizing: border-box;
16
93
  padding: 0;
@@ -20,7 +97,6 @@
20
97
  -moz-appearance: none;
21
98
  -webkit-appearance: none;
22
99
  appearance: none;
23
- margin-right: 16px !important;
24
100
  margin-bottom: 12px !important;
25
101
  display: inline-flex;
26
102
  width: 100%;
@@ -29,9 +105,6 @@
29
105
  text-align: left;
30
106
  vertical-align: bottom;
31
107
  }
32
- :host:last-child, :host:last-of-type {
33
- margin-right: 0 !important;
34
- }
35
108
  @media (min-width: 36em) {
36
109
  :host {
37
110
  width: calc(50% - 16px - 3px);
@@ -205,10 +278,10 @@ duet-caption:not(:last-of-type) {
205
278
  .duet-input.after-chip {
206
279
  padding-left: 8px !important;
207
280
  }
208
- .has-error .duet-input {
281
+ .has-error .duet-input, .has-error .duet-input[disabled] {
209
282
  border-color: rgb(214, 28, 82) !important;
210
283
  }
211
- .has-error .duet-input + .duet-input-icon {
284
+ .has-error .duet-input + .duet-input-icon, .has-error .duet-input[disabled] + .duet-input-icon {
212
285
  color: rgb(214, 28, 82) !important;
213
286
  }
214
287
  .duet-theme-turva.has-error .duet-input {
@@ -361,7 +434,7 @@ duet-caption:not(:last-of-type) {
361
434
  color: rgb(214, 28, 82);
362
435
  }
363
436
 
364
- .duet-label-hidden duet-label {
437
+ .duet-label-hidden label {
365
438
  position: absolute;
366
439
  width: 1px;
367
440
  height: 1px;
@@ -5,6 +5,7 @@ import emailIcon from "@duetds/icons/lib/assets/form-email";
5
5
  import searchIcon from "@duetds/icons/lib/assets/form-search";
6
6
  import { h, Host } from "@stencil/core";
7
7
  import { inheritGlobalTheme } from "../../common";
8
+ import { DuetInternalLabel } from "../../common/label";
8
9
  import { createID } from "../../utils/create-id";
9
10
  import { cleanValue, resetCursor } from "../../utils/input-utils";
10
11
  import { isArrowLeftKey, isArrowRightKey, isBackspaceKey, isEnterKey, isEscapeKey } from "../../utils/keyboard-utils";
@@ -432,7 +433,7 @@ export class DuetInput {
432
433
  this.type !== "password" &&
433
434
  this.type !== "time" &&
434
435
  this.variation !== "button";
435
- return (h(Host, { key: 'e4e873f95bf94f97147a15b2587cce826ffe328d', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (h("duet-visually-hidden", { key: '6c116b58cda98a99d0561e57f42478e6f95fe85b', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), h("div", { key: 'dc417736dc38bf828bb78b5ef7c18b4fd0f55660', class: {
436
+ return (h(Host, { key: '333cc6592b2d5b9894fc4b988ad3ea168fa43364', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (h("duet-visually-hidden", { key: 'b82fbdf57c7808e651be27016b9a52d973ae91a0', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), h("div", { key: '84e07b5c88ebc1cff8aec3aa56503d9095be2bf4', class: {
436
437
  "duet-input-container": true,
437
438
  "duet-theme-turva": this.theme === "turva",
438
439
  [`duet-input-variation-${this.variation}`]: true,
@@ -446,7 +447,7 @@ export class DuetInput {
446
447
  "has-clear": this.clear,
447
448
  "has-focus": this.isFocused,
448
449
  disabled: this.disabled,
449
- } }, h("div", { key: '3120dd57e859e1f11c7f871046ff93ca379f7d33', class: "duet-input-label-container" }, h("duet-label", { key: '1625fdf912a8f117979ac70414b749e5920d6697', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '3e8fb18bae9803bd617d98fc326ff4879113505b', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: 'f9e4dca121a806252b7d523be78ae0db191ab05a', name: "tooltip" })), this.caption && (h("duet-caption", { key: 'c3a0f5039b0a6a78600b26003cf742b6c100b715', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '6df3e2e0abb79ce6bf5347c6e52e03be6ac374e1', class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { key: '3f6dec06ad90dba4cb28b08ed008252423f6db74', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (h("duet-visually-hidden", { key: 'a53cd8aa2761ac6ebd7b5d6ee329573595c9aacf', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), h("input", Object.assign({ key: '37decf03a973f6fa26a76961afc0598ab976b1e7', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
450
+ } }, h("div", { key: '3807adacf6f68441add5bad31f2ab0e9879918f1', class: "duet-input-label-container" }, h(DuetInternalLabel, { key: '7eb559ce3bd02797f3e4c45d4b33732b75d4c1c1', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '71c3501094f969cc96ed9a976dedb290a5ceb620', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: '6baba9baf34d6bd0800ee51f21e61818336f8adf', name: "tooltip" })), this.caption && (h("duet-caption", { key: 'dbb04535b568f18aac343d4de36ab8210d982ce3', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '1ad89ab8fec2b2ead4f2bae22e2c4375dd5ba492', class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (h("duet-caption", { key: 'f9583dc96cc5244f7bfc817c11743214bc2adf18', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (h("duet-visually-hidden", { key: '8f73030c01312a5439a2015e11401ee743bd3e63', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), h("input", Object.assign({ key: '189cad1e64b76eca71acced6f128ad6d1eab4087', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
450
451
  "duet-input": true,
451
452
  disabled: this.disabled,
452
453
  "is-number": this.component === "number",
@@ -454,16 +455,16 @@ export class DuetInput {
454
455
  "after-chip": this.getAllChips().length > 0,
455
456
  "align-right": this.inputAlign === "right",
456
457
  [`input-padding-${this.inputPadding}`]: true,
457
- }, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { key: '2b06ed113322c4e03fdcb04bf528cc9425307013', class: "duet-input-icon" }, h("duet-icon", { key: 'b5d41a945b099d2c5ade8c121738a9d387599c80', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (h("div", { key: 'f89624f414e9005f484f4d31b90edcf6ea81ca44', class: {
458
+ }, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (h("div", { key: '9daad03593568dc78f055cbf40419505a5d025e3', class: "duet-input-icon" }, h("duet-icon", { key: '1b13db87a6de47d331b4380895c6595d30239a47', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (h("div", { key: 'b75b0fa5f2b3f07790f7d77cf9c4019767db0d7f', class: {
458
459
  "duet-input-clear-icon": true,
459
460
  "duet-input-clear-icon-single": !hasInputIcon,
460
461
  "duet-input-clear-icon-double": !!this.icon,
461
462
  "duet-input-clear-icon-button": this.variation === "button",
462
- } }, h("button", { key: 'aeedec82776de92e930bef230fdaed43552002a6', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, h("duet-icon", { key: '92d15bab69bbfc0ea9b635c94b0edc5e5ddf4f3f', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { key: 'e16da8f6c4c252309cd6cf2fd9ad1d3f5ccdb547', class: "duet-input-icon" }, h("duet-icon", { key: 'ee55dc419577e1bd21eca218717c1ec7a64f38c2', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { key: '104d0b90682cd0508d684bebc22b9d4893d7181e', name: "button" }), this.variation === "revealable" && (h("duet-button", { key: '838c0aef8ef924af565ad34a0004f4d5f187418f', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
463
+ } }, h("button", { key: '80c66c59708051be5f379fdd91a344cb0ed9f8f8', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, h("duet-icon", { key: '54deca04f6cdee8a182fb2aa3d51958d6010dbc5', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (h("div", { key: '4fec603dae85338565381f3ebeaed8bbf8819306', class: "duet-input-icon" }, h("duet-icon", { key: '3c70c1392d44731bd3dc3f4c4b68d93c8a6849df', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && h("slot", { key: 'c872cfaae6b7d0fdfd41d0a3b068d4d7e39b5aa7', name: "button" }), this.variation === "revealable" && (h("duet-button", { key: '4c7c6d7057023525b7872958b96df4342af1de66', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
463
464
  ? this.hidePasswordLabel[this.language]
464
- : this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden", { key: '902ec5a2c111186ed9cda34dcd1ad0d6666b74c7' }, h("span", { key: '1c94535e903e542ff97a52cb871e91d4ab244646', "aria-live": "polite" }, this.isPasswordRevealed
465
+ : this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (h("duet-visually-hidden", { key: '51ef610ac3de74e693645a1a1ef61abe92919150' }, h("span", { key: '9468f1b6652e6185e9eb6e8f74e94c8f09f35bb4', "aria-live": "polite" }, this.isPasswordRevealed
465
466
  ? this.passwordShownAriaAnnouncement[this.language]
466
- : this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", { key: '9e346bbb5e1d4a0e78fe8ff3b79401c7988a4e91' })), h("span", { key: '661e5d3ae11da4b71c4b024b6835b230008ddf42', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '66b313ab9b88db56592c542e1294012f6fbf3c10', class: "duet-input-error" }, this.error)))));
467
+ : this.passwordHiddenAriaAnnouncement[this.language]))), h("slot", { key: '8314f654030ef6d2734821d8981d9cf99e3cec3a' })), h("span", { key: 'ea14b3e64d0cacef959eb1af64d8a9a4a9636dde', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '2c33714525b3646ffa87e3ccb51b0c082d10a8f3', class: "duet-input-error" }, this.error)))));
467
468
  }
468
469
  static get is() { return "duet-input"; }
469
470
  static get encapsulation() { return "shadow"; }
@@ -53,10 +53,10 @@
53
53
  }
54
54
  .duet-link:focus {
55
55
  outline: 0;
56
- box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3;
56
+ box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important;
57
57
  }
58
58
  .duet-theme-turva .duet-link:focus, .duet-link:focus.duet-theme-turva {
59
- box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a;
59
+ box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important;
60
60
  }
61
61
  .duet-link.duet-theme-turva {
62
62
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
@@ -119,6 +119,7 @@ export class DuetMenuBar {
119
119
  this.boundMqlFunctions[i] = bound;
120
120
  }
121
121
  }
122
+ this.checkCenterSlot();
122
123
  }
123
124
  disconnectedCallback() {
124
125
  for (let i = 0; i < this.mql.length; i++) {
@@ -152,14 +153,14 @@ export class DuetMenuBar {
152
153
  render() {
153
154
  const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
154
155
  const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
155
- return (h(Host, { key: 'e13a866fd4bd3ea3ae238bdfb4112afb068f0fab' }, h("nav", { key: 'db9045533c937a21efbc304286b5092f04243305', class: {
156
+ return (h(Host, { key: '7424032f4fe4cf9e7391b652faddecf381ffd039' }, h("nav", { key: '8c3201741b36da474a2241e8ba5b3e1dfb53a61e', class: {
156
157
  "duet-menu-bar": true,
157
158
  "duet-theme-turva": this.theme === "turva",
158
159
  "horizontal-nav": isUsedAsAdditionalHorizontalNav,
159
160
  "duet-menu-bar-slim": !this.centerSlotUsed,
160
161
  hidden: this.hidden && this.hideOnScroll,
161
162
  bottom: this.onBottom,
162
- }, "aria-label": this.accessibleLabel }, h("div", { key: '576b5b70223b4d2a3c3fe0d51b6463381ed02fd0', class: "top" }), h("div", { key: '3ea0281105040d3c08cad1f21d6da1b8a5fdb414', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (h("div", { key: '9705c47b5abafad8fca9cda63fc6210a6aa3db8d' }, h("duet-logo", { key: '75eeb4e66ec2fa1474406b004082ef0397daface', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), h("div", { key: '2cd20b518c5f8ece27f1038a476d467b6a319563', class: "list center", role: "list" }, h("div", { key: '6306281ddee87b21b54998ceaa9d00452fdd207d', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), h("slot", { key: '2bed6d063a3826b81a1f2e94562e4441ed26fa5c', name: "center" }), h("div", { key: '9ed25492a82ceafafca374e2466d86d3b6491acb', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), h("div", { key: 'b1cfd7cdd4cfd0450fe01ec99ede3e9860ac365c', class: "list right", role: "list" }, h("slot", { key: '6e9e1132485a765842ef8c99fc98dadf0b11bc63', name: "right" }))), h("div", { key: '168346a69638fbc80bcd180c0582aa167a84bb2e', class: "bottom" }))));
163
+ }, "aria-label": this.accessibleLabel }, h("div", { key: '343657eeb7bbc89db0881a7bb0fe485bfcd6cdd6', class: "top" }), h("div", { key: '7252aede6443560c0dd9d9b1da3be093312468aa', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (h("div", { key: '95c2d74cb086c7ae350a20b2f10555ac8a9ccf18' }, h("duet-logo", { key: '00d5ca62ce150e05e4015f1597692ed9122303e0', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), h("div", { key: 'd11a1fe47483eaa847dd6e1b33fe3f022182056f', class: "list center", role: "list" }, h("div", { key: '70d5324316868d9eac48fcf6f6519fce58f08411', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), h("slot", { key: '3565b69ae8c95cbe9dcda578b6870cfcb680fa3e', name: "center" }), h("div", { key: 'ea2d3738b94bcfec575da5cb1e2896e152780f2c', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), h("div", { key: 'bc825dee9988ee497c9df9ef96a94c76d58e0de9', class: "list right", role: "list" }, h("slot", { key: '3ebc272f053762d22d0fb80bc22093edf171fffa', name: "right" }))), h("div", { key: '6ee303d3e34ebda33fefbd13d0b13ea0d43fbfa6', class: "bottom" }))));
163
164
  }
164
165
  static get is() { return "duet-menu-bar"; }
165
166
  static get encapsulation() { return "shadow"; }
@@ -1,3 +1,71 @@
1
+ .duet-internal-label {
2
+ box-sizing: border-box;
3
+ padding: 0;
4
+ margin: 0;
5
+ background: transparent;
6
+ border: 0;
7
+ -moz-appearance: none;
8
+ -webkit-appearance: none;
9
+ appearance: none;
10
+ margin-bottom: 12px !important;
11
+ position: relative;
12
+ z-index: 100;
13
+ display: inline-flex;
14
+ width: auto;
15
+ margin-top: 8px !important;
16
+ font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
17
+ font-size: 1rem;
18
+ font-weight: 600 !important;
19
+ line-height: 1.25;
20
+ line-height: 1.25;
21
+ color: rgb(8, 42, 77);
22
+ text-align: left;
23
+ word-break: break-word;
24
+ cursor: default;
25
+ }
26
+ .duet-internal-label.duet-p-0 {
27
+ padding: 0 !important;
28
+ }
29
+ .duet-internal-label.duet-m-0 {
30
+ margin: 0 !important;
31
+ }
32
+ .duet-internal-label span {
33
+ font-size: 1rem;
34
+ font-weight: 600 !important;
35
+ word-break: break-word;
36
+ }
37
+ .duet-internal-label.duet-m-0 {
38
+ margin-bottom: 0 !important;
39
+ }
40
+ .duet-internal-label.duet-small-margin {
41
+ margin-top: 8px !important;
42
+ margin-bottom: 4px !important;
43
+ }
44
+ .duet-internal-label.duet-has-tooltip {
45
+ padding-right: 48px;
46
+ }
47
+ @media (min-width: 48em) {
48
+ .duet-internal-label.duet-has-tooltip {
49
+ padding-right: 0;
50
+ }
51
+ }
52
+ .duet-internal-label.duet-internal-label-small {
53
+ font-size: 0.875rem;
54
+ }
55
+ .duet-internal-label.duet-internal-label-small span {
56
+ font-size: 0.875rem;
57
+ }
58
+ .duet-internal-label.duet-weight-normal {
59
+ font-weight: 400 !important;
60
+ }
61
+ .duet-internal-label.duet-weight-normal span {
62
+ font-weight: 400 !important;
63
+ }
64
+ .duet-internal-label.duet-theme-turva {
65
+ font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
66
+ color: rgb(23, 28, 58);
67
+ }
68
+
1
69
  *,
2
70
  *::after,
3
71
  *::before {
@@ -315,7 +383,7 @@
315
383
  color: rgb(214, 28, 82);
316
384
  }
317
385
 
318
- .duet-label-hidden duet-label {
386
+ .duet-label-hidden .duet-internal-label {
319
387
  position: absolute;
320
388
  width: 1px;
321
389
  height: 1px;
@@ -2,6 +2,7 @@
2
2
  * Built with Duet Design System
3
3
  */
4
4
  import { h, Host } from "@stencil/core";
5
+ import { DuetInternalLabel } from "../../common/label";
5
6
  import { inheritGlobalTheme } from "../../common/themeable-component";
6
7
  import { createID } from "../../utils/create-id";
7
8
  import { isArrowDownKey, isArrowLeftKey, isArrowRightKey, isArrowUpKey, isEnterKey, isEscapeKey, isTabKey, } from "../../utils/keyboard-utils";
@@ -223,23 +224,23 @@ export class DuetMultiselect {
223
224
  */
224
225
  render() {
225
226
  var _a;
226
- return (h(Host, { key: '3a671559e08eccdf48ad44b9e9b52b7d7e48e0c6', class: {
227
+ return (h(Host, { key: 'f026bdeb8bb0f3a21e0d475184c114d991c8d34e', class: {
227
228
  "duet-m-0": this.margin === "none",
228
229
  "duet-expand": this.expand,
229
- } }, h("div", { key: 'fdf19e2d8b4d3b2badc1578e9024bb2aa3eb0c79', class: {
230
+ } }, h("div", { key: '569bc0190751f00772059cbd51ba08f2d62777ee', class: {
230
231
  "duet-multiselect-container": true,
231
232
  "duet-label-hidden": this.labelHidden,
232
233
  "duet-theme-turva": this.theme === "turva",
233
234
  "duet-input-top-caption-shown": this.isCaptionVisible,
234
235
  "has-error": !!this.error,
235
- }, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h("duet-label", { key: 'a0fbdb1c0e5fb5bec6fd6bca6e2664daf8167857', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: 'afa2b2750e582751ad2f939c06a926d642674d97', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '6de41caacf1f02a5c1a1d066fd374ff3c4a11c5a', name: "tooltip" }), this.caption && (h("duet-caption", { key: '27d956b0dda43a64bde53c69d5e09c3a1187aee7', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '4f7e7596be60a0108a21644d0673d5f80e28ecd3', class: "duet-multiselect-wrapper" }, h("button", { key: 'bbcf2b3c97dc20be60de1436ab54a12299fe249c', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { key: '6cbf96b0870b6bcce05de05913c5bb7c52fe0f52', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (h("span", { key: '314065c7594a074bc12181cb0e1ee435ee430430', class: "duet-multiselect-badge" }, this.value.length, h("duet-visually-hidden", { key: '7aad3d1e91e90de0a0dfe7f36033e136c748d0ed' }, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), h("svg", { key: 'e72d639f91e3d087689764dd2328c72e8d891702', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'bb0c604921ecb5c00cf369fa4765093c88d62129', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), h("div", { key: 'a0ca77aba5de16cd53113ded0103d776062b84c9', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
236
+ }, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h(DuetInternalLabel, { key: '9ccfbdef3eda53f54915bceb8be96f0d54747856', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '4a8d21958a685c3cd6315993fd5b3d494dacd199', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '319372a0fc0afb4677c04ccb1299051cd37b10b7', name: "tooltip" }), this.caption && (h("duet-caption", { key: 'e49778d6f971a2470b56dafa5d9c366547b0d97d', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: 'c16590fa2fe0ba12853e17418cba4fc448118cda', class: "duet-multiselect-wrapper" }, h("button", { key: '3efc98df5282fb803d1bc6a0c523fda27d73733c', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { key: '4db581abd2111bf21ba6a9a1558e31d08941a829', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (h("span", { key: '204ef6ae4834f01ecc5cdddd5e1c2ad17d748e13', class: "duet-multiselect-badge" }, this.value.length, h("duet-visually-hidden", { key: '613f579cc5815b7afc078625a9950c4b2ff50678' }, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), h("svg", { key: '84f2d116cc6e8174dd4f2195188328eaf14bde41', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '28e23226381c96642cca173e6e38f4f643dd408a', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), h("div", { key: 'bd781fbf42bf6c0123228368f0018b16904e754c', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
236
237
  "duet-multiselect-checkboxes": true,
237
238
  "duet-multiselect-checkboxes-active": this.checkboxesVisible,
238
- }, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (h("div", { key: '867656e4631ed271950191a5144ef7ec14f782eb', class: "duet-multiselect-all-control-buttons" }, h("button", { key: 'b55d9d3e7f6726a76301c32276608b307353e9d9', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), h("button", { key: '94d9f908ea389d09f404906f75121a7d38eac415', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
239
+ }, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (h("div", { key: '0ede9f28954863adf658287122fa470e9e8ed06d', class: "duet-multiselect-all-control-buttons" }, h("button", { key: '3fc7f60c219943b97faf4d68e0bafd82c9ec2e07', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), h("button", { key: 'ca0f4aaaf9206e4474d72f0c70b6292200566f64', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
239
240
  this.processedGroups.map(group => (h("fieldset", null, group.label && h("legend", null, group.label), group.items.map((item, key) => {
240
241
  var _a, _b;
241
242
  return (h("duet-checkbox", { identifier: this.getOptionIdentifier(key), role: "option", label: item.label, value: item.value, key: item.value, checked: (_a = this.value) === null || _a === void 0 ? void 0 : _a.includes(item), "accessible-selected": ((_b = this.value) === null || _b === void 0 ? void 0 : _b.includes(item)) ? "true" : undefined, disabled: !this.checkboxesVisible || item.disabled, onDuetChange: e => this.toggleCheckbox(e, item), onKeyDown: (e) => this.onCheckboxKeyDown(e, key), theme: this.theme }));
242
- })))))), h("span", { key: '823e0b5d814cf797b45c231fded5191e17911527', class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '8ffa0864b4ff78136869432028f26f80957d38a2' }, this.error)))));
243
+ })))))), h("span", { key: 'e467be93fd702a5c5a902e1d2458f4fe25447083', class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'ec391ad7dbf44a8b305a55fd7db7edf3497e6d71' }, this.error)))));
243
244
  }
244
245
  static get is() { return "duet-multiselect"; }
245
246
  static get encapsulation() { return "shadow"; }
@@ -328,7 +328,7 @@ export class DuetPagination {
328
328
  label: i.toString(),
329
329
  });
330
330
  }
331
- const select = (h("duet-select", { disabled: this.disabled, theme: this.theme, class: "duet-pagination-select", variation: "compact", items: JSON.stringify(items), value: this.current.toString(), label: this.accessibleLabels.select_label.replace("{0}", `${this.totalPages}`), labelHidden: true, onDuetChange: e => this.selectClickHandler(e) }));
331
+ const select = (h("duet-select", { disabled: this.disabled, theme: this.theme, class: "duet-pagination-select", variation: "compact", items: JSON.stringify(items), value: this.current.toString(), label: this.accessibleLabels.select_label.replace("{0}", `${this.totalPages}`), labelHidden: true, onDuetChange: e => this.selectClickHandler(e), margin: "none" }));
332
332
  return (h("li", null, select, h("span", { class: "duet-pagination-total-pages", "aria-hidden": "true" }, "/ ", this.totalPages)));
333
333
  }
334
334
  shouldDisplayNavigation() {
@@ -342,32 +342,32 @@ export class DuetPagination {
342
342
  * Always the last one in the class.
343
343
  */
344
344
  render() {
345
- return (h(Host, { key: '63ebab0bf7dea080db742a196ec6cadd4faf3422', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, h("nav", { key: '5b4e1021fb02a66c75a69bd9d38aa122b02f0853', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
345
+ return (h(Host, { key: 'daea491f2370780c5e3e6a4cd10b222c6f204bad', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, h("nav", { key: '0056afc5f4b9f874a19554b938d03df0b13caa5e', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
346
346
  "duet-pagination-nav": true,
347
347
  [`duet-pagination-variation-${this.variation}`]: true,
348
- } }, this.numbersStore !== "" && (h("div", { key: '93e3182cbbc58a95b98717a46d7b12493ec0818d', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, h("duet-badge", { key: '2c4d460cefbb01010e16f981ee02a88c72676697', theme: this.theme }, "jump to page : ", this.numbersStore))), h("ol", { key: '34474987dd9a26aea05634587138e95af4fe450c', id: this.listId, class: {
348
+ } }, this.numbersStore !== "" && (h("div", { key: 'c0fa6438d96e246e62a4ce15c1638c118cc63053', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, h("duet-badge", { key: '09ae84b926b6e97750610c4428d192209311eb52', theme: this.theme }, "jump to page : ", this.numbersStore))), h("ol", { key: 'fcc9993c0f574de2425b2393371f56a5494521bb', id: this.listId, class: {
349
349
  "duet-pagination": true,
350
350
  "duet-pagination-is-dimmed": this.numbersStore !== "",
351
- }, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: 'c69df7d962b26a27a954c7d8bef8f535505a4cd1', class: {
351
+ }, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '8127fcbb52bfda473e30eeeaa34073717065aad5', class: {
352
352
  "duet-pagination-page-button": true,
353
353
  "duet-pagination-button-first": true,
354
- }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '901a11fde18ff828ab5ee44301b430f1551ff721', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), h("li", { key: 'deb4f81302119384f87796c6c571d3bff92394cc', class: {
354
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: 'b3f562761d6472473e40aa2658c1d5382c7ac8a9', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), h("li", { key: '0d47396b8bb09354305c09e4f0e587c8b433e8ea', class: {
355
355
  "duet-pagination-page-button": true,
356
356
  "duet-pagination-button-first": true,
357
- }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '43edc2b4276101f2a199656d97905fbb5c318d01', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
357
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '8fd72a014f15fdd035a3a9fa78ed220d55c3d9e7', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
358
358
  (this.current <= 1 && this.processedPageLinks) ||
359
- this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, { key: 'e7bb804999bcc0049a36cee1cfed6eace4f69a9d' }, h("li", { key: 'bc8e86d51a05ed7207c61130e03adab99972d990', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: 'c8cf1aa4d17fa21f4bac1df94d567ee7c6518926', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, h("div", { key: '949333bff2072db55bc94f2038c0dc17086075f7', class: "duet-pagination-page-number" }, "1"))), h("li", { key: 'a60a0b5db53ce3ab2d53ef5d621cb116bfc54a24', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: 'ac69e69536e75c62726f5d0ebc403575ff059b2b', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, h("div", { key: 'e6fa249f0f887d99b24f8d98f8b2872c7d259ffe', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
360
- this.shouldDisplayNavigation() && (h(Fragment, { key: '68d65a89a09e8f96f8079165c10677ea7e28eb16' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (h("li", { key: '2b3a962f01999ee98fa7404fb492d70facca7ce0', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: '0007c2b7bfb175274c0d9bf0b6c44cb391573a4a', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, h("div", { key: '6fe7f71ea889cf3338600fd1bd0eb4f7ded1c02a', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), h("li", { key: 'e2e34841b26b18aca84c76f43ef2d185528fefe4', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: '8947ea4940b1e8df4759fdf76fc53c2f77febaf7', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
359
+ this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, { key: 'dc791af4a42d6a664dfe1baf2b1c35f47a7d627b' }, h("li", { key: 'd1d84353c99d4076b5bd8ac6383d0e95253f96bf', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: '5cb0dc775e9ca49bf7bf667ae76ef0ee36b6d0c2', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, h("div", { key: '4062749e18165803b2c4937749e77dc230443aa7', class: "duet-pagination-page-number" }, "1"))), h("li", { key: '6d07aebfe3bb2ddc457f3453b36eb7a837a2c5c8', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: '1d465e129c648a19fa45c841dfcf19e90369513f', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, h("div", { key: 'f73557f0b2e790a5b5cfff9cdff6a05eaab02d8c', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
360
+ this.shouldDisplayNavigation() && (h(Fragment, { key: '386478132136a68d5c922d38b667dc96a156576f' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (h("li", { key: '2c7367f40dd3a559cec343a371211d540a23b37b', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { key: 'df7704130f6009b9474f00b03e5c3671ea66a7a1', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, h("div", { key: '366cb74b1e6b6966eae94e513a9fbda1ab8cdbd0', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), h("li", { key: '22971b983614be021c0669a769f7ede8f434364e', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { key: 'a7c6988541fe49affc34d3cdcc27f42fcc06f0ae', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
361
361
  ? this.processedPageLinks[this.processedPageLinks.length - 1]
362
- : undefined }, h("div", { key: '60e347e323fd4361a1cf408ee51e4bc67a9230d3', class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { key: '978ffca86c84b3fed8deaa3842f5ce5d1176699e', class: {
362
+ : undefined }, h("div", { key: '4fffc0cf1c3272ba864a279d7d358f17d0ea71aa', class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { key: '7aeb378f34c1a3a5d7634dba9954fc313e1a2a5d', class: {
363
363
  "duet-pagination-page-button": true,
364
364
  "duet-pagination-button-last": true,
365
- }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '1d9c0a03632a95f0da443958fc9701410407ad24', disabled: !!((this.current === this.totalPages &&
365
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '692fb6352c1cfab7cb27e15196eae4cc492b4596', disabled: !!((this.current === this.totalPages &&
366
366
  this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
367
- (this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: '6387079d576477e9fd25739cc58563a16f3d7f00', class: {
367
+ (this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (h("li", { key: 'cc45b6cc3f4e6ffb875ba66c879122404305370d', class: {
368
368
  "duet-pagination-page-button": true,
369
369
  "duet-pagination-button-last": true,
370
- }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '6b41bfa37ce32dbc2a977aa9110659c8720d04ab', disabled: (this.current === this.totalPages &&
370
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { key: '3028a4c627308fd49384465465882bb4fd9be7f6', disabled: (this.current === this.totalPages &&
371
371
  this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
372
372
  this.disabled, accessibleLabel: this.accessibleLabels.last_page, title: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), "icon-name": "action-move-to-last", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.totalPages - 1] : undefined })))))));
373
373
  }
@@ -1,3 +1,71 @@
1
+ .duet-internal-label {
2
+ box-sizing: border-box;
3
+ padding: 0;
4
+ margin: 0;
5
+ background: transparent;
6
+ border: 0;
7
+ -moz-appearance: none;
8
+ -webkit-appearance: none;
9
+ appearance: none;
10
+ margin-bottom: 12px !important;
11
+ position: relative;
12
+ z-index: 100;
13
+ display: inline-flex;
14
+ width: auto;
15
+ margin-top: 8px !important;
16
+ font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
17
+ font-size: 1rem;
18
+ font-weight: 600 !important;
19
+ line-height: 1.25;
20
+ line-height: 1.25;
21
+ color: rgb(8, 42, 77);
22
+ text-align: left;
23
+ word-break: break-word;
24
+ cursor: default;
25
+ }
26
+ .duet-internal-label.duet-p-0 {
27
+ padding: 0 !important;
28
+ }
29
+ .duet-internal-label.duet-m-0 {
30
+ margin: 0 !important;
31
+ }
32
+ .duet-internal-label span {
33
+ font-size: 1rem;
34
+ font-weight: 600 !important;
35
+ word-break: break-word;
36
+ }
37
+ .duet-internal-label.duet-m-0 {
38
+ margin-bottom: 0 !important;
39
+ }
40
+ .duet-internal-label.duet-small-margin {
41
+ margin-top: 8px !important;
42
+ margin-bottom: 4px !important;
43
+ }
44
+ .duet-internal-label.duet-has-tooltip {
45
+ padding-right: 48px;
46
+ }
47
+ @media (min-width: 48em) {
48
+ .duet-internal-label.duet-has-tooltip {
49
+ padding-right: 0;
50
+ }
51
+ }
52
+ .duet-internal-label.duet-internal-label-small {
53
+ font-size: 0.875rem;
54
+ }
55
+ .duet-internal-label.duet-internal-label-small span {
56
+ font-size: 0.875rem;
57
+ }
58
+ .duet-internal-label.duet-weight-normal {
59
+ font-weight: 400 !important;
60
+ }
61
+ .duet-internal-label.duet-weight-normal span {
62
+ font-weight: 400 !important;
63
+ }
64
+ .duet-internal-label.duet-theme-turva {
65
+ font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
66
+ color: rgb(23, 28, 58);
67
+ }
68
+
1
69
  *,
2
70
  *::after,
3
71
  *::before {
@@ -206,7 +274,7 @@
206
274
  background: rgb(199, 202, 207);
207
275
  }
208
276
 
209
- .duet-label-hidden duet-label,
277
+ .duet-label-hidden .duet-internal-label,
210
278
  .duet-label-hidden output {
211
279
  position: absolute;
212
280
  width: 1px;
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import { colorGray, colorGrayTurva, colorPrimary, colorPrimaryTurva } from "@duetds/tokens";
5
5
  import { h, Host } from "@stencil/core";
6
+ import { DuetInternalLabel } from "../../common/label";
6
7
  import { inheritGlobalTheme } from "../../common/themeable-component";
7
8
  import { createID } from "../../utils/create-id";
8
9
  import isInternetExplorer from "../../utils/is-internet-explorer";
@@ -116,13 +117,13 @@ export class DuetRangeSlider {
116
117
  const rangeStyles = {
117
118
  background: `-webkit-linear-gradient(left,${active} 0%,${active} ${percentage}%,${inactive} ${percentage}%)`,
118
119
  };
119
- return (h(Host, { key: '88829030a8bbb0f4f4029de9ec16b04e3e476798', class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, h("div", { key: 'be11c8a8f243506acbd30ee4676104dbcea9a1ba', class: {
120
+ return (h(Host, { key: '0462822be845868f320cd128459db2c4dd0c3d9b', class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, h("div", { key: '4dad1dcb14b05b79dad097337e2f99827eecaa1e', class: {
120
121
  "duet-range-container": true,
121
122
  "duet-label-hidden": this.labelHidden,
122
123
  "duet-theme-turva": this.theme === "turva",
123
124
  "duet-ie": isInternetExplorer(),
124
125
  "duet-range-disabled": this.disabled,
125
- } }, h("duet-label", { key: 'c732b5fee1e4bfdb9873dfea49c26fdc34d6b03d', theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small" }, this.label), h("output", { key: '43e6503a9b071299e557c6e39b64679e32f8f483', "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), h("input", { key: '2cc4a064e002ac2c4ae45d6fd13f0bdc3401f5de', onInput: this.onInput, onChange: this.onChange, ref: input => (this.nativeInput = input), type: "range", min: this.min, max: this.max, step: this.step, value: this.value, style: rangeStyles, "aria-label": this.label, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} ${this.unit}`, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, name: this.name, disabled: this.disabled, required: this.required, class: "duet-range" }))));
126
+ } }, h(DuetInternalLabel, { key: '90a4b100e8b76d1acb45eb27a611bba1bbf49a69', theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small", for: identifier }, this.label), h("output", { key: 'e3bb3da27713b30b891522bb338688c03e26f630', "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), h("input", { key: 'a47f6a94847e123d96917777681312c340cc2b0d', onInput: this.onInput, onChange: this.onChange, ref: input => (this.nativeInput = input), type: "range", min: this.min, max: this.max, step: this.step, value: this.value, style: rangeStyles, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} ${this.unit}`, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, name: this.name, disabled: this.disabled, required: this.required, class: "duet-range" }))));
126
127
  }
127
128
  static get is() { return "duet-range-slider"; }
128
129
  static get encapsulation() { return "shadow"; }