@duetds/components 6.5.2 → 6.6.0

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 (533) hide show
  1. package/hydrate/index.js +227 -30
  2. package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
  3. package/lib/cjs/duet-alert.cjs.entry.js +2 -2
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-caption_4.cjs.entry.js +4 -2
  9. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-checkmark.cjs.entry.js +38 -0
  12. package/lib/cjs/duet-choice_2.cjs.entry.js +8 -2
  13. package/lib/cjs/duet-collapsible.cjs.entry.js +5 -3
  14. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  16. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-editable-table_3.cjs.entry.js +2 -2
  19. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  21. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-icon.cjs.entry.js +4 -2
  26. package/lib/cjs/duet-input_2.cjs.entry.js +15 -3
  27. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +13 -2
  30. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -2
  32. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-nav.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-page-heading.cjs.entry.js +41 -0
  40. package/lib/cjs/duet-pagination_2.cjs.entry.js +11 -5
  41. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-scrollable_3.cjs.entry.js +33 -7
  45. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-slideout-link.cjs.entry.js +4 -2
  49. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-slideout-panel.cjs.entry.js +16 -5
  51. package/lib/cjs/duet-slideout.cjs.entry.js +3 -3
  52. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -2
  60. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  62. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-tray.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  67. package/lib/cjs/duet.cjs.js +2 -2
  68. package/lib/cjs/{focus-utils-e463fcd1.js → focus-utils-995144a1.js} +1 -1
  69. package/lib/cjs/{index-d28eaddf.js → index-7924dfe2.js} +1 -1
  70. package/lib/cjs/loader.cjs.js +2 -2
  71. package/lib/collection/collection-manifest.json +2 -0
  72. package/lib/collection/components/duet-alert/duet-alert.css +1 -0
  73. package/lib/collection/components/duet-choice/duet-checkmark.css +74 -0
  74. package/lib/collection/components/duet-choice/duet-checkmark.js +142 -0
  75. package/lib/collection/components/duet-choice/duet-choice.js +22 -0
  76. package/lib/collection/components/duet-collapsible/duet-collapsible.css +6 -1
  77. package/lib/collection/components/duet-collapsible/duet-collapsible.js +7 -2
  78. package/lib/collection/components/duet-icon/duet-icon.css +121 -2
  79. package/lib/collection/components/duet-icon/duet-icon.js +20 -0
  80. package/lib/collection/components/duet-input/duet-input.js +14 -2
  81. package/lib/collection/components/duet-link/duet-link.css +37 -0
  82. package/lib/collection/components/duet-link/duet-link.js +20 -0
  83. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +203 -1
  84. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +19 -1
  85. package/lib/collection/components/duet-nav/duet-nav.js +6 -1
  86. package/lib/collection/components/duet-page-heading/duet-page-heading.css +205 -0
  87. package/lib/collection/components/duet-page-heading/duet-page-heading.js +113 -0
  88. package/lib/collection/components/duet-pagination/duet-pagination.js +10 -4
  89. package/lib/collection/components/duet-slideout/duet-slideout.css +0 -3
  90. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +38 -1
  91. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +1 -8
  92. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +35 -2
  93. package/lib/collection/components/duet-tab/duet-tab.js +18 -0
  94. package/lib/collection/components/duet-tab-group/duet-tab-group.css +140 -0
  95. package/lib/collection/components/duet-tab-group/duet-tab-group.js +31 -6
  96. package/lib/collection/components/duet-table/duet-table.js +1 -1
  97. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +38 -1
  98. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  99. package/lib/dist-custom-elements/duet-alert.js +1 -1
  100. package/lib/dist-custom-elements/duet-badge.js +1 -1
  101. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  102. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  103. package/lib/dist-custom-elements/duet-button.js +1 -1
  104. package/lib/dist-custom-elements/duet-caption.js +1 -1
  105. package/lib/dist-custom-elements/duet-card.js +3 -3
  106. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  107. package/lib/dist-custom-elements/duet-checkmark.d.ts +11 -0
  108. package/lib/dist-custom-elements/duet-checkmark.js +9 -0
  109. package/lib/dist-custom-elements/duet-choice-group.js +6 -6
  110. package/lib/dist-custom-elements/duet-choice.js +13 -6
  111. package/lib/dist-custom-elements/duet-collapsible.js +6 -4
  112. package/lib/dist-custom-elements/duet-combobox.js +2 -2
  113. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  114. package/lib/dist-custom-elements/duet-date-picker.js +10 -10
  115. package/lib/dist-custom-elements/duet-divider.js +1 -1
  116. package/lib/dist-custom-elements/duet-editable-table.js +1 -1
  117. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  118. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  119. package/lib/dist-custom-elements/duet-footer.js +4 -4
  120. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  121. package/lib/dist-custom-elements/duet-grid.js +1 -1
  122. package/lib/dist-custom-elements/duet-header.js +8 -8
  123. package/lib/dist-custom-elements/duet-heading.js +1 -1
  124. package/lib/dist-custom-elements/duet-hero.js +9 -9
  125. package/lib/dist-custom-elements/duet-icon.js +1 -1
  126. package/lib/dist-custom-elements/duet-input.js +1 -1
  127. package/lib/dist-custom-elements/duet-label.js +1 -1
  128. package/lib/dist-custom-elements/duet-layout.js +1 -1
  129. package/lib/dist-custom-elements/duet-link.js +1 -1
  130. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  131. package/lib/dist-custom-elements/duet-list.js +1 -1
  132. package/lib/dist-custom-elements/duet-logo.js +1 -1
  133. package/lib/dist-custom-elements/duet-menu-bar-button.js +25 -3
  134. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  135. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +5 -3
  136. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  137. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  138. package/lib/dist-custom-elements/duet-modal.js +7 -7
  139. package/lib/dist-custom-elements/duet-multiselect.js +8 -8
  140. package/lib/dist-custom-elements/duet-nav.js +2 -2
  141. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  142. package/lib/dist-custom-elements/duet-notification.js +2 -2
  143. package/lib/dist-custom-elements/duet-number-input.js +9 -9
  144. package/lib/dist-custom-elements/duet-page-heading.d.ts +11 -0
  145. package/lib/dist-custom-elements/duet-page-heading.js +65 -0
  146. package/lib/dist-custom-elements/duet-pagination.js +17 -11
  147. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  148. package/lib/dist-custom-elements/duet-progress.js +1 -1
  149. package/lib/dist-custom-elements/duet-radio-group.js +6 -6
  150. package/lib/dist-custom-elements/duet-radio.js +1 -1
  151. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  152. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  153. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  154. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  155. package/lib/dist-custom-elements/duet-select.js +1 -1
  156. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  157. package/lib/dist-custom-elements/duet-slideout-link.js +7 -3
  158. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  159. package/lib/dist-custom-elements/duet-slideout-panel.js +16 -5
  160. package/lib/dist-custom-elements/duet-slideout.js +3 -3
  161. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  162. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  163. package/lib/dist-custom-elements/duet-step.js +4 -4
  164. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  165. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  166. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  167. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  168. package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
  169. package/lib/dist-custom-elements/duet-tab-group.js +46 -15
  170. package/lib/dist-custom-elements/duet-tab.js +3 -1
  171. package/lib/dist-custom-elements/duet-table.js +1 -1
  172. package/lib/dist-custom-elements/duet-textarea.js +8 -8
  173. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  174. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +7 -3
  175. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  176. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  177. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  178. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  179. package/lib/dist-custom-elements/duet-tray.js +3 -3
  180. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  181. package/lib/dist-custom-elements/duet-upload.js +18 -18
  182. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  183. package/lib/dist-custom-elements/index.d.ts +2 -0
  184. package/lib/dist-custom-elements/index.js +3 -1
  185. package/lib/dist-custom-elements/{p-68604dde.js → p-090c4f84.js} +1 -1
  186. package/lib/dist-custom-elements/{p-bed64271.js → p-0b3c5fd3.js} +4 -4
  187. package/lib/dist-custom-elements/{p-b93d2f59.js → p-0b46cf7c.js} +1 -1
  188. package/lib/dist-custom-elements/{p-c2cb9c20.js → p-1b40f099.js} +2 -2
  189. package/lib/dist-custom-elements/{p-b0973ee5.js → p-1edc6268.js} +1 -1
  190. package/lib/dist-custom-elements/{p-a515e4af.js → p-25e3ecf6.js} +1 -1
  191. package/lib/dist-custom-elements/{p-f3ac9547.js → p-2bed378b.js} +1 -1
  192. package/lib/dist-custom-elements/{p-9112f395.js → p-2e8d4cbb.js} +3 -3
  193. package/lib/dist-custom-elements/{p-a3dc0179.js → p-31869282.js} +2 -2
  194. package/lib/dist-custom-elements/{p-e4516cf4.js → p-47c90993.js} +1 -1
  195. package/lib/dist-custom-elements/{p-b49b6dfe.js → p-4da5814e.js} +7 -4
  196. package/lib/dist-custom-elements/{p-d2ba9048.js → p-4f601182.js} +2 -2
  197. package/lib/dist-custom-elements/{p-25b67c58.js → p-505b1084.js} +2 -2
  198. package/lib/dist-custom-elements/{p-d7d50d4f.js → p-5243162f.js} +1 -1
  199. package/lib/dist-custom-elements/{p-4cf27349.js → p-58d5e801.js} +1 -1
  200. package/lib/dist-custom-elements/{p-ab0944f2.js → p-5bd12ce0.js} +2 -2
  201. package/lib/dist-custom-elements/{p-4a9c90b4.js → p-62024326.js} +1 -1
  202. package/lib/dist-custom-elements/{p-99260df6.js → p-73fbb616.js} +1 -1
  203. package/lib/dist-custom-elements/{p-dda23bd9.js → p-7cd9c98d.js} +1 -1
  204. package/lib/dist-custom-elements/{p-cae5ee62.js → p-7fdcbaf8.js} +22 -10
  205. package/lib/dist-custom-elements/p-83dc78d3.js +186 -0
  206. package/lib/dist-custom-elements/{p-15968e9a.js → p-94317ac7.js} +1 -1
  207. package/lib/dist-custom-elements/{p-95e95871.js → p-9aaafcd5.js} +6 -6
  208. package/lib/dist-custom-elements/{p-c933203e.js → p-a0db949c.js} +6 -6
  209. package/lib/dist-custom-elements/{p-2646bc44.js → p-c1c93be7.js} +7 -7
  210. package/lib/dist-custom-elements/{p-9e3ea8a4.js → p-c1eea28e.js} +1 -1
  211. package/lib/dist-custom-elements/{p-98ae1730.js → p-d2842398.js} +1 -1
  212. package/lib/dist-custom-elements/{p-8cc35bc1.js → p-dab5118b.js} +1 -1
  213. package/lib/dist-custom-elements/p-db1a354c.js +54 -0
  214. package/lib/dist-custom-elements/{p-a623d58c.js → p-dc195b26.js} +3 -3
  215. package/lib/dist-custom-elements/{p-b80f18af.js → p-ee73ac71.js} +1 -1
  216. package/lib/dist-custom-elements/{p-43343a18.js → p-f3d819f9.js} +2 -2
  217. package/lib/duet/duet.esm.js +1 -1
  218. package/lib/duet/duet.js +1 -1
  219. package/lib/duet/p-0ae5fcca.entry.js +4 -0
  220. package/lib/duet/{p-1bb2ca48.system.entry.js → p-0f74b52f.system.entry.js} +1 -1
  221. package/lib/duet/{p-e5b23434.system.entry.js → p-1153165c.system.entry.js} +1 -1
  222. package/lib/duet/{p-03c19b62.system.entry.js → p-123a086a.system.entry.js} +1 -1
  223. package/lib/duet/{p-3cc241bf.entry.js → p-13177687.entry.js} +1 -1
  224. package/lib/duet/{p-67718cc3.entry.js → p-1490ab5a.entry.js} +1 -1
  225. package/lib/duet/{p-6869a12b.system.entry.js → p-16172210.system.entry.js} +1 -1
  226. package/lib/duet/p-1908e8bc.system.entry.js +4 -0
  227. package/lib/duet/{p-8d8d820a.entry.js → p-1bf30e42.entry.js} +1 -1
  228. package/lib/duet/{p-29749e15.system.entry.js → p-1ff8518c.system.entry.js} +1 -1
  229. package/lib/duet/{p-ec8178ca.system.entry.js → p-20e0e96a.system.entry.js} +1 -1
  230. package/lib/duet/{p-b9e81db8.entry.js → p-21a8e0eb.entry.js} +1 -1
  231. package/lib/duet/{p-186a18d8.entry.js → p-221ca56a.entry.js} +1 -1
  232. package/lib/duet/{p-00fd4357.entry.js → p-22d0724c.entry.js} +1 -1
  233. package/lib/duet/p-23a53ae7.entry.js +4 -0
  234. package/lib/duet/{p-98542cf6.entry.js → p-24179e4c.entry.js} +1 -1
  235. package/lib/duet/p-28fc49de.js +4 -0
  236. package/lib/duet/{p-c606f454.entry.js → p-2a48131b.entry.js} +1 -1
  237. package/lib/duet/{p-eaae6b36.system.js → p-2a7f92fa.system.js} +1 -1
  238. package/lib/duet/{p-8422b441.entry.js → p-2cd36122.entry.js} +1 -1
  239. package/lib/duet/{p-8f6a5e2c.system.entry.js → p-2dc966c6.system.entry.js} +1 -1
  240. package/lib/duet/p-31497c7f.entry.js +4 -0
  241. package/lib/duet/p-32b5532c.entry.js +4 -0
  242. package/lib/duet/{p-4649ec1d.entry.js → p-36aed263.entry.js} +1 -1
  243. package/lib/duet/{p-e57b9976.entry.js → p-36b14352.entry.js} +1 -1
  244. package/lib/duet/{p-c53f21c9.system.entry.js → p-3a44e66a.system.entry.js} +1 -1
  245. package/lib/duet/{p-491611e0.system.entry.js → p-3ae2bc39.system.entry.js} +1 -1
  246. package/lib/duet/{p-0eceb1fe.entry.js → p-3c5b1adb.entry.js} +1 -1
  247. package/lib/duet/{p-990418d6.entry.js → p-3cb7c2b8.entry.js} +1 -1
  248. package/lib/duet/{p-4544887e.system.entry.js → p-3d2a830f.system.entry.js} +1 -1
  249. package/lib/duet/{p-1aa70bf3.entry.js → p-3d82f269.entry.js} +1 -1
  250. package/lib/duet/p-3e0a6231.system.entry.js +4 -0
  251. package/lib/duet/p-3fb428e9.system.entry.js +4 -0
  252. package/lib/duet/{p-d567cab7.system.entry.js → p-4578d79a.system.entry.js} +1 -1
  253. package/lib/duet/{p-9864f91b.system.entry.js → p-45f6cac0.system.entry.js} +1 -1
  254. package/lib/duet/p-49bc849e.system.entry.js +4 -0
  255. package/lib/duet/{p-5a72573d.entry.js → p-4bb30628.entry.js} +1 -1
  256. package/lib/duet/{p-f82d3ee5.system.entry.js → p-4eda4e90.system.entry.js} +1 -1
  257. package/lib/duet/{p-63c45943.system.entry.js → p-4fdb8a65.system.entry.js} +1 -1
  258. package/lib/duet/{p-a8f0d3a9.entry.js → p-533787dd.entry.js} +1 -1
  259. package/lib/duet/{p-3b941474.system.entry.js → p-53ca7657.system.entry.js} +1 -1
  260. package/lib/duet/{p-2089a333.system.entry.js → p-53fb3b65.system.entry.js} +1 -1
  261. package/lib/duet/p-5710f613.entry.js +4 -0
  262. package/lib/duet/{p-867d4e87.system.entry.js → p-58c3a641.system.entry.js} +1 -1
  263. package/lib/duet/{p-9335c92f.entry.js → p-59bb59f1.entry.js} +1 -1
  264. package/lib/duet/{p-ba29d84e.entry.js → p-5f10cf32.entry.js} +1 -1
  265. package/lib/duet/{p-ce8d53d6.system.entry.js → p-5f1ed8ac.system.entry.js} +1 -1
  266. package/lib/duet/{p-45970c94.entry.js → p-5fac76f8.entry.js} +1 -1
  267. package/lib/duet/{p-edbf0850.system.entry.js → p-63913eab.system.entry.js} +1 -1
  268. package/lib/duet/{p-6cc4b6bd.system.entry.js → p-6973b44c.system.entry.js} +1 -1
  269. package/lib/duet/{p-732b050a.entry.js → p-6be424b0.entry.js} +1 -1
  270. package/lib/duet/{p-576b1a97.system.entry.js → p-6cdea556.system.entry.js} +1 -1
  271. package/lib/duet/{p-ae69645e.system.entry.js → p-6cf47dac.system.entry.js} +1 -1
  272. package/lib/duet/{p-1da6954c.js → p-707fc6cf.js} +1 -1
  273. package/lib/duet/{p-076d8525.system.entry.js → p-7090f15a.system.entry.js} +1 -1
  274. package/lib/duet/{p-964c9e93.system.entry.js → p-711fb114.system.entry.js} +1 -1
  275. package/lib/duet/p-714c2b56.entry.js +4 -0
  276. package/lib/duet/{p-8f72abcb.entry.js → p-72d7785c.entry.js} +1 -1
  277. package/lib/duet/{p-90e005cc.entry.js → p-7420063a.entry.js} +1 -1
  278. package/lib/duet/p-75019a0f.entry.js +4 -0
  279. package/lib/duet/p-7526cac0.system.js +4 -0
  280. package/lib/duet/{p-55ec59ba.system.entry.js → p-75817145.system.entry.js} +1 -1
  281. package/lib/duet/{p-ed67528b.system.entry.js → p-75c291a0.system.entry.js} +1 -1
  282. package/lib/duet/{p-8ebf07a2.entry.js → p-76669675.entry.js} +1 -1
  283. package/lib/duet/{p-6181ec36.entry.js → p-78bdcfdd.entry.js} +1 -1
  284. package/lib/duet/{p-6c473cbf.system.entry.js → p-7f52cc01.system.entry.js} +1 -1
  285. package/lib/duet/{p-e91b40e2.system.entry.js → p-80515ee1.system.entry.js} +1 -1
  286. package/lib/duet/{p-bcd2526b.system.entry.js → p-8143f9b5.system.entry.js} +1 -1
  287. package/lib/duet/p-8280a9fe.entry.js +4 -0
  288. package/lib/duet/{p-3669cb32.entry.js → p-84327fb5.entry.js} +1 -1
  289. package/lib/duet/{p-cd5055a1.system.entry.js → p-8dad489b.system.entry.js} +1 -1
  290. package/lib/duet/{p-2be1feb2.system.entry.js → p-8ffe50ff.system.entry.js} +1 -1
  291. package/lib/duet/{p-ff76aad3.entry.js → p-91203227.entry.js} +1 -1
  292. package/lib/duet/{p-c5b583e5.entry.js → p-934dc718.entry.js} +1 -1
  293. package/lib/duet/p-95c34866.system.entry.js +4 -0
  294. package/lib/duet/p-96f06f5b.entry.js +4 -0
  295. package/lib/duet/{p-8d019ca0.system.entry.js → p-9807e8a6.system.entry.js} +1 -1
  296. package/lib/duet/{p-8fcb7700.entry.js → p-9933a4cd.entry.js} +1 -1
  297. package/lib/duet/{p-d6f2d26c.entry.js → p-9b4aec27.entry.js} +1 -1
  298. package/lib/duet/p-9e24f4b5.entry.js +4 -0
  299. package/lib/duet/{p-a92b5519.entry.js → p-9ebaf967.entry.js} +1 -1
  300. package/lib/duet/{p-b3a0b737.entry.js → p-a14705b2.entry.js} +1 -1
  301. package/lib/duet/p-a1f24860.entry.js +4 -0
  302. package/lib/duet/{p-2c6c9c16.entry.js → p-a302c770.entry.js} +1 -1
  303. package/lib/duet/{p-c9e2607d.entry.js → p-a46504b6.entry.js} +1 -1
  304. package/lib/duet/{p-13d603f4.system.entry.js → p-a4c9a9ad.system.entry.js} +1 -1
  305. package/lib/duet/{p-7034d814.entry.js → p-a563600c.entry.js} +1 -1
  306. package/lib/duet/{p-a198ec6f.entry.js → p-a69cbaf1.entry.js} +1 -1
  307. package/lib/duet/{p-35206dee.system.entry.js → p-a7886157.system.entry.js} +1 -1
  308. package/lib/duet/{p-351daa15.entry.js → p-a9bbe66f.entry.js} +1 -1
  309. package/lib/duet/p-aa2ce92b.system.entry.js +4 -0
  310. package/lib/duet/{p-e27c8c99.entry.js → p-ad35ad40.entry.js} +1 -1
  311. package/lib/duet/p-b33f7ad2.entry.js +4 -0
  312. package/lib/duet/p-b5ff7b05.system.entry.js +4 -0
  313. package/lib/duet/{p-2db45e2b.system.entry.js → p-b6a10dd8.system.entry.js} +1 -1
  314. package/lib/duet/{p-433565c9.entry.js → p-b883c31c.entry.js} +1 -1
  315. package/lib/duet/{p-945de64d.system.entry.js → p-b9c37a63.system.entry.js} +1 -1
  316. package/lib/duet/{p-d032551e.entry.js → p-bbe654c7.entry.js} +1 -1
  317. package/lib/duet/p-bcbfe8f2.entry.js +4 -0
  318. package/lib/duet/{p-5ec2343b.system.entry.js → p-c0b2021e.system.entry.js} +1 -1
  319. package/lib/duet/{p-da79ce12.entry.js → p-c0de302a.entry.js} +1 -1
  320. package/lib/duet/{p-eacc99e2.system.entry.js → p-c0f70bd0.system.entry.js} +1 -1
  321. package/lib/duet/p-c1f19d12.entry.js +4 -0
  322. package/lib/duet/{p-584a9687.system.entry.js → p-c3604035.system.entry.js} +1 -1
  323. package/lib/duet/{p-6b6fd2dd.system.entry.js → p-c3d3e73a.system.entry.js} +1 -1
  324. package/lib/duet/{p-8ed60a7f.system.entry.js → p-c5559214.system.entry.js} +1 -1
  325. package/lib/duet/{p-94fca55e.system.js → p-c6acd578.system.js} +1 -1
  326. package/lib/duet/{p-111f753f.system.entry.js → p-c7201ad9.system.entry.js} +1 -1
  327. package/lib/duet/{p-70b6d01c.system.entry.js → p-c816445d.system.entry.js} +1 -1
  328. package/lib/duet/{p-5f4090c2.entry.js → p-c996eaa2.entry.js} +1 -1
  329. package/lib/duet/{p-f3a000ac.entry.js → p-c9defd29.entry.js} +1 -1
  330. package/lib/duet/{p-50827bbe.system.entry.js → p-ce1551ed.system.entry.js} +1 -1
  331. package/lib/duet/{p-41bc24a5.entry.js → p-ce2d5f1f.entry.js} +1 -1
  332. package/lib/duet/{p-54a98fee.system.entry.js → p-ce4d2c6a.system.entry.js} +1 -1
  333. package/lib/duet/{p-10bb0906.entry.js → p-d0516946.entry.js} +1 -1
  334. package/lib/duet/p-d547f6fe.system.entry.js +4 -0
  335. package/lib/duet/{p-7309e6ea.system.entry.js → p-d60301f1.system.entry.js} +1 -1
  336. package/lib/duet/{p-f5bf2165.entry.js → p-deaf017e.entry.js} +1 -1
  337. package/lib/duet/{p-3295c503.system.entry.js → p-df736b00.system.entry.js} +1 -1
  338. package/lib/duet/p-e272e778.system.entry.js +4 -0
  339. package/lib/duet/{p-15529d9c.system.entry.js → p-e5762e3e.system.entry.js} +2 -2
  340. package/lib/duet/p-ea3468e2.system.entry.js +4 -0
  341. package/lib/duet/{p-b277f3c9.entry.js → p-ea80c358.entry.js} +1 -1
  342. package/lib/duet/{p-074fa88a.system.entry.js → p-ecaf90fd.system.entry.js} +1 -1
  343. package/lib/duet/{p-aeacd894.system.entry.js → p-ecf5724b.system.entry.js} +1 -1
  344. package/lib/duet/{p-e06581ab.system.entry.js → p-edc1fa35.system.entry.js} +1 -1
  345. package/lib/duet/{p-357f64e4.system.entry.js → p-ef076528.system.entry.js} +1 -1
  346. package/lib/duet/{p-f692b21a.system.entry.js → p-ef76d461.system.entry.js} +1 -1
  347. package/lib/duet/{p-805c34c6.entry.js → p-f02d7e7d.entry.js} +1 -1
  348. package/lib/duet/{p-da8b3bee.entry.js → p-f1a7e606.entry.js} +1 -1
  349. package/lib/duet/p-f34f65af.entry.js +4 -0
  350. package/lib/duet/{p-172bc679.entry.js → p-f8a68dfd.entry.js} +1 -1
  351. package/lib/duet/{p-7ce5f24c.system.entry.js → p-fc98f0fe.system.entry.js} +1 -1
  352. package/lib/duet/{p-dc282755.entry.js → p-fcbdd6a3.entry.js} +1 -1
  353. package/lib/duet/{p-97e2494e.system.entry.js → p-feaa6888.system.entry.js} +1 -1
  354. package/lib/esm/duet-action-button.entry.js +1 -1
  355. package/lib/esm/duet-alert.entry.js +2 -2
  356. package/lib/esm/duet-badge.entry.js +1 -1
  357. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  358. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  359. package/lib/esm/duet-button_2.entry.js +1 -1
  360. package/lib/esm/duet-caption_4.entry.js +4 -2
  361. package/lib/esm/duet-card.entry.js +1 -1
  362. package/lib/esm/duet-checkbox.entry.js +1 -1
  363. package/lib/esm/duet-checkmark.entry.js +34 -0
  364. package/lib/esm/duet-choice_2.entry.js +8 -2
  365. package/lib/esm/duet-collapsible.entry.js +5 -3
  366. package/lib/esm/duet-combobox.entry.js +1 -1
  367. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  368. package/lib/esm/duet-date-picker.entry.js +2 -2
  369. package/lib/esm/duet-divider_2.entry.js +1 -1
  370. package/lib/esm/duet-editable-table_3.entry.js +2 -2
  371. package/lib/esm/duet-empty-state.entry.js +1 -1
  372. package/lib/esm/duet-fieldset.entry.js +1 -1
  373. package/lib/esm/duet-footer.entry.js +1 -1
  374. package/lib/esm/duet-grid_2.entry.js +1 -1
  375. package/lib/esm/duet-header_2.entry.js +1 -1
  376. package/lib/esm/duet-hero.entry.js +1 -1
  377. package/lib/esm/duet-icon.entry.js +4 -2
  378. package/lib/esm/duet-input_2.entry.js +15 -3
  379. package/lib/esm/duet-layout.entry.js +1 -1
  380. package/lib/esm/duet-list_2.entry.js +1 -1
  381. package/lib/esm/duet-menu-bar-button.entry.js +13 -2
  382. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  383. package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -2
  384. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  385. package/lib/esm/duet-menu-bar.entry.js +1 -1
  386. package/lib/esm/duet-modal.entry.js +2 -2
  387. package/lib/esm/duet-multiselect.entry.js +1 -1
  388. package/lib/esm/duet-nav.entry.js +2 -2
  389. package/lib/esm/duet-notification_2.entry.js +1 -1
  390. package/lib/esm/duet-number-input.entry.js +1 -1
  391. package/lib/esm/duet-page-heading.entry.js +37 -0
  392. package/lib/esm/duet-pagination_2.entry.js +11 -5
  393. package/lib/esm/duet-progress.entry.js +1 -1
  394. package/lib/esm/duet-radio_2.entry.js +1 -1
  395. package/lib/esm/duet-range-slider.entry.js +1 -1
  396. package/lib/esm/duet-scrollable_3.entry.js +33 -7
  397. package/lib/esm/duet-section-layout.entry.js +1 -1
  398. package/lib/esm/duet-select.entry.js +1 -1
  399. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  400. package/lib/esm/duet-slideout-link.entry.js +4 -2
  401. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  402. package/lib/esm/duet-slideout-panel.entry.js +16 -5
  403. package/lib/esm/duet-slideout.entry.js +3 -3
  404. package/lib/esm/duet-step_2.entry.js +1 -1
  405. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  406. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  407. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  408. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  409. package/lib/esm/duet-textarea.entry.js +1 -1
  410. package/lib/esm/duet-toggle.entry.js +1 -1
  411. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -2
  412. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  413. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  414. package/lib/esm/duet-toolbar.entry.js +1 -1
  415. package/lib/esm/duet-tooltip.entry.js +1 -1
  416. package/lib/esm/duet-tray.entry.js +1 -1
  417. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  418. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  419. package/lib/esm/duet.js +2 -2
  420. package/lib/esm/{focus-utils-1131b2e1.js → focus-utils-0619fdea.js} +1 -1
  421. package/lib/esm/{index-0d301ddd.js → index-11a2e0a0.js} +1 -1
  422. package/lib/esm/loader.js +2 -2
  423. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  424. package/lib/esm-es5/duet-alert.entry.js +1 -1
  425. package/lib/esm-es5/duet-badge.entry.js +1 -1
  426. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  427. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  428. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  429. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  430. package/lib/esm-es5/duet-card.entry.js +1 -1
  431. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  432. package/lib/esm-es5/duet-checkmark.entry.js +4 -0
  433. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  434. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  435. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  436. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  437. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  438. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  439. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  440. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  441. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  442. package/lib/esm-es5/duet-footer.entry.js +1 -1
  443. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  444. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  445. package/lib/esm-es5/duet-hero.entry.js +1 -1
  446. package/lib/esm-es5/duet-icon.entry.js +2 -2
  447. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  448. package/lib/esm-es5/duet-layout.entry.js +1 -1
  449. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  450. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  451. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  452. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  453. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  454. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  455. package/lib/esm-es5/duet-modal.entry.js +2 -2
  456. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  457. package/lib/esm-es5/duet-nav.entry.js +1 -1
  458. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  459. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  460. package/lib/esm-es5/duet-page-heading.entry.js +4 -0
  461. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  462. package/lib/esm-es5/duet-progress.entry.js +1 -1
  463. package/lib/esm-es5/duet-radio_2.entry.js +2 -2
  464. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  465. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  466. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  467. package/lib/esm-es5/duet-select.entry.js +1 -1
  468. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  469. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  470. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  471. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  472. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  473. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  474. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  475. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  476. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  477. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  478. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  479. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  480. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  481. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  482. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  483. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  484. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  485. package/lib/esm-es5/duet-tray.entry.js +1 -1
  486. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  487. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  488. package/lib/esm-es5/duet.js +1 -1
  489. package/lib/esm-es5/focus-utils-0619fdea.js +4 -0
  490. package/lib/esm-es5/{index-0d301ddd.js → index-11a2e0a0.js} +1 -1
  491. package/lib/esm-es5/loader.js +1 -1
  492. package/lib/types/components/duet-choice/duet-checkmark.d.ts +34 -0
  493. package/lib/types/components/duet-choice/duet-choice.d.ts +4 -0
  494. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +2 -0
  495. package/lib/types/components/duet-icon/duet-icon.d.ts +4 -0
  496. package/lib/types/components/duet-input/duet-input.d.ts +1 -0
  497. package/lib/types/components/duet-link/duet-link.d.ts +4 -0
  498. package/lib/types/components/duet-menu-bar-button/duet-menu-bar-button.d.ts +51 -1
  499. package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +6 -0
  500. package/lib/types/components/duet-nav/duet-nav.d.ts +5 -0
  501. package/lib/types/components/duet-page-heading/duet-page-heading.d.ts +32 -0
  502. package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +10 -0
  503. package/lib/types/components/duet-slideout-panel/duet-slideout-panel.d.ts +5 -1
  504. package/lib/types/components/duet-tab/duet-tab.d.ts +4 -0
  505. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +4 -1
  506. package/lib/types/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.d.ts +10 -0
  507. package/lib/types/components.d.ts +256 -1
  508. package/package.json +5 -5
  509. package/lib/dist-custom-elements/p-246bd550.js +0 -183
  510. package/lib/duet/p-172ff1de.system.entry.js +0 -4
  511. package/lib/duet/p-28280afb.system.js +0 -4
  512. package/lib/duet/p-337d152b.entry.js +0 -4
  513. package/lib/duet/p-385d60a2.entry.js +0 -4
  514. package/lib/duet/p-3a31f9c0.system.entry.js +0 -4
  515. package/lib/duet/p-3d53ec4a.system.entry.js +0 -4
  516. package/lib/duet/p-5687713d.js +0 -4
  517. package/lib/duet/p-57d581a0.entry.js +0 -4
  518. package/lib/duet/p-5cc1dae6.entry.js +0 -4
  519. package/lib/duet/p-5d6e4a9e.system.entry.js +0 -4
  520. package/lib/duet/p-7d6d0a89.system.entry.js +0 -4
  521. package/lib/duet/p-83b45db7.system.entry.js +0 -4
  522. package/lib/duet/p-87ffe2f3.entry.js +0 -4
  523. package/lib/duet/p-90c2dd61.entry.js +0 -4
  524. package/lib/duet/p-90f46d58.entry.js +0 -4
  525. package/lib/duet/p-bcb088de.entry.js +0 -4
  526. package/lib/duet/p-c485773b.entry.js +0 -4
  527. package/lib/duet/p-c5d9ca19.entry.js +0 -4
  528. package/lib/duet/p-dd383dac.entry.js +0 -4
  529. package/lib/duet/p-de97a5a0.system.entry.js +0 -4
  530. package/lib/duet/p-e800bb84.entry.js +0 -4
  531. package/lib/duet/p-f51f0dae.entry.js +0 -4
  532. package/lib/duet/p-f7a9305b.system.entry.js +0 -4
  533. package/lib/esm-es5/focus-utils-1131b2e1.js +0 -4
@@ -17,6 +17,17 @@ export class DuetMenuBarButton {
17
17
  }
18
18
  };
19
19
  this.iconSize = "x-small";
20
+ this.accessibleLabel = undefined;
21
+ this.accessibleControls = undefined;
22
+ this.accessiblePopup = "false";
23
+ this.accessibleActiveDescendant = undefined;
24
+ this.accessibleOwns = undefined;
25
+ this.accessibleDescribedBy = undefined;
26
+ this.accessibleDetails = undefined;
27
+ this.accessibleLabelledBy = undefined;
28
+ this.accessibleDescription = undefined;
29
+ this.accessibleExpanded = undefined;
30
+ this.accessiblePressed = undefined;
20
31
  this.theme = "";
21
32
  this.icon = undefined;
22
33
  }
@@ -62,7 +73,7 @@ export class DuetMenuBarButton {
62
73
  return (h(Host, { onfocus: () => this.setFocus() }, h("button", { ref: button => (this.nativeButton = button), class: {
63
74
  "duet-menu-bar-button": true,
64
75
  "duet-theme-turva": this.theme === "turva",
65
- } }, this.icon && h("duet-icon", { size: this.iconSize, name: this.icon, margin: "none" }), h("slot", null))));
76
+ }, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && h("duet-icon", { size: this.iconSize, name: this.icon, margin: "none" }), h("slot", null))));
66
77
  }
67
78
  static get is() { return "duet-menu-bar-button"; }
68
79
  static get encapsulation() { return "shadow"; }
@@ -78,6 +89,197 @@ export class DuetMenuBarButton {
78
89
  }
79
90
  static get properties() {
80
91
  return {
92
+ "accessibleLabel": {
93
+ "type": "string",
94
+ "mutable": false,
95
+ "complexType": {
96
+ "original": "string",
97
+ "resolved": "string",
98
+ "references": {}
99
+ },
100
+ "required": false,
101
+ "optional": false,
102
+ "docs": {
103
+ "tags": [],
104
+ "text": "Adds accessible label for the button that is only shown for screen readers.\nTypically, this label text replaces the visible text on the button for\nusers who use assistive technology."
105
+ },
106
+ "attribute": "accessible-label",
107
+ "reflect": false
108
+ },
109
+ "accessibleControls": {
110
+ "type": "string",
111
+ "mutable": false,
112
+ "complexType": {
113
+ "original": "string",
114
+ "resolved": "string",
115
+ "references": {}
116
+ },
117
+ "required": false,
118
+ "optional": false,
119
+ "docs": {
120
+ "tags": [],
121
+ "text": "Use this property to add an aria-controls attribute to the button. Use\nthe attribute to point to the unique id of the content that the button manages."
122
+ },
123
+ "attribute": "accessible-controls",
124
+ "reflect": false
125
+ },
126
+ "accessiblePopup": {
127
+ "type": "string",
128
+ "mutable": false,
129
+ "complexType": {
130
+ "original": "string",
131
+ "resolved": "string",
132
+ "references": {}
133
+ },
134
+ "required": false,
135
+ "optional": false,
136
+ "docs": {
137
+ "tags": [],
138
+ "text": "Use this property to add an aria-haspopup attribute to a button, if you are using it as a menu button."
139
+ },
140
+ "attribute": "accessible-popup",
141
+ "reflect": false,
142
+ "defaultValue": "\"false\""
143
+ },
144
+ "accessibleActiveDescendant": {
145
+ "type": "string",
146
+ "mutable": false,
147
+ "complexType": {
148
+ "original": "string",
149
+ "resolved": "string",
150
+ "references": {}
151
+ },
152
+ "required": false,
153
+ "optional": false,
154
+ "docs": {
155
+ "tags": [],
156
+ "text": "Indicates the id of a related component\u2019s visually focused element."
157
+ },
158
+ "attribute": "accessible-active-descendant",
159
+ "reflect": false
160
+ },
161
+ "accessibleOwns": {
162
+ "type": "string",
163
+ "mutable": false,
164
+ "complexType": {
165
+ "original": "string",
166
+ "resolved": "string",
167
+ "references": {}
168
+ },
169
+ "required": false,
170
+ "optional": false,
171
+ "docs": {
172
+ "tags": [],
173
+ "text": "Indicates the id of a component owned by the button."
174
+ },
175
+ "attribute": "accessible-owns",
176
+ "reflect": false
177
+ },
178
+ "accessibleDescribedBy": {
179
+ "type": "string",
180
+ "mutable": false,
181
+ "complexType": {
182
+ "original": "string",
183
+ "resolved": "string",
184
+ "references": {}
185
+ },
186
+ "required": false,
187
+ "optional": false,
188
+ "docs": {
189
+ "tags": [],
190
+ "text": "Indicates the id of a component that describes the button."
191
+ },
192
+ "attribute": "accessible-described-by",
193
+ "reflect": false
194
+ },
195
+ "accessibleDetails": {
196
+ "type": "string",
197
+ "mutable": false,
198
+ "complexType": {
199
+ "original": "string",
200
+ "resolved": "string",
201
+ "references": {}
202
+ },
203
+ "required": false,
204
+ "optional": false,
205
+ "docs": {
206
+ "tags": [],
207
+ "text": "Details of the component"
208
+ },
209
+ "attribute": "accessible-details",
210
+ "reflect": false,
211
+ "defaultValue": "undefined"
212
+ },
213
+ "accessibleLabelledBy": {
214
+ "type": "string",
215
+ "mutable": false,
216
+ "complexType": {
217
+ "original": "string",
218
+ "resolved": "string",
219
+ "references": {}
220
+ },
221
+ "required": false,
222
+ "optional": false,
223
+ "docs": {
224
+ "tags": [],
225
+ "text": "String of id's that indicate alternative labels elements"
226
+ },
227
+ "attribute": "accessible-labelled-by",
228
+ "reflect": false,
229
+ "defaultValue": "undefined"
230
+ },
231
+ "accessibleDescription": {
232
+ "type": "string",
233
+ "mutable": false,
234
+ "complexType": {
235
+ "original": "string",
236
+ "resolved": "string",
237
+ "references": {}
238
+ },
239
+ "required": false,
240
+ "optional": false,
241
+ "docs": {
242
+ "tags": [],
243
+ "text": "Aria description the button"
244
+ },
245
+ "attribute": "accessible-description",
246
+ "reflect": false,
247
+ "defaultValue": "undefined"
248
+ },
249
+ "accessibleExpanded": {
250
+ "type": "boolean",
251
+ "mutable": false,
252
+ "complexType": {
253
+ "original": "boolean",
254
+ "resolved": "boolean",
255
+ "references": {}
256
+ },
257
+ "required": false,
258
+ "optional": false,
259
+ "docs": {
260
+ "tags": [],
261
+ "text": "If a button expands or collapses adjacent content, then use the ariaExpanded\nprop to add the aria-expanded attribute to the button. Set the value to convey\nthe current expanded (true) or collapsed (false) state of the content."
262
+ },
263
+ "attribute": "accessible-expanded",
264
+ "reflect": false
265
+ },
266
+ "accessiblePressed": {
267
+ "type": "boolean",
268
+ "mutable": false,
269
+ "complexType": {
270
+ "original": "boolean",
271
+ "resolved": "boolean",
272
+ "references": {}
273
+ },
274
+ "required": false,
275
+ "optional": false,
276
+ "docs": {
277
+ "tags": [],
278
+ "text": "Tells screen reader the element is pressed."
279
+ },
280
+ "attribute": "accessible-pressed",
281
+ "reflect": false
282
+ },
81
283
  "theme": {
82
284
  "type": "string",
83
285
  "mutable": true,
@@ -19,6 +19,7 @@ export class DuetMenuBarDropdown {
19
19
  return "right";
20
20
  }
21
21
  };
22
+ this.accessibleLabel = undefined;
22
23
  this.theme = "";
23
24
  this.open = false;
24
25
  this.icon = undefined;
@@ -45,7 +46,7 @@ export class DuetMenuBarDropdown {
45
46
  "duet-theme-turva": this.theme === "turva",
46
47
  active: this.open,
47
48
  [`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
48
- } }, h("button", { "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
49
+ } }, h("button", { "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
49
50
  active: this.open,
50
51
  }, onClick: this.onClick }, this.icon && h("duet-icon", { name: this.icon, size: "x-small", margin: "none" }), h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small" }))), h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
51
52
  items: true,
@@ -66,6 +67,23 @@ export class DuetMenuBarDropdown {
66
67
  }
67
68
  static get properties() {
68
69
  return {
70
+ "accessibleLabel": {
71
+ "type": "string",
72
+ "mutable": false,
73
+ "complexType": {
74
+ "original": "string",
75
+ "resolved": "string",
76
+ "references": {}
77
+ },
78
+ "required": false,
79
+ "optional": false,
80
+ "docs": {
81
+ "tags": [],
82
+ "text": "Adds accessible label for the button that is only shown for screen readers.\nTypically, this label text replaces the visible text on the button for\nusers who use assistive technology."
83
+ },
84
+ "attribute": "accessible-label",
85
+ "reflect": false
86
+ },
69
87
  "theme": {
70
88
  "type": "string",
71
89
  "mutable": true,
@@ -3,6 +3,11 @@
3
3
  */
4
4
  import { h, Host } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common/themeable-component";
6
+ /**
7
+ * @slot default - Slot for keyboard accessible initially hidden links. Use duet-link with tab-to-link attribute.
8
+ * @slot mobile - Slot for navigation in small viewports (less than 992px wide).
9
+ * @slot desktop - Slot for navigation in large viewports (992px wide or more).
10
+ */
6
11
  export class DuetMenuBar {
7
12
  constructor() {
8
13
  this.theme = "";
@@ -18,7 +23,7 @@ export class DuetMenuBar {
18
23
  * Always the last one in the class.
19
24
  */
20
25
  render() {
21
- return (h(Host, null, h("nav", null, h("slot", { name: "mobile" }), h("slot", { name: "desktop" }))));
26
+ return (h(Host, null, h("nav", null, h("slot", null), h("slot", { name: "mobile" }), h("slot", { name: "desktop" }))));
22
27
  }
23
28
  static get is() { return "duet-nav"; }
24
29
  static get encapsulation() { return "shadow"; }
@@ -0,0 +1,205 @@
1
+ *,
2
+ *::after,
3
+ *::before {
4
+ box-sizing: border-box;
5
+ padding: 0;
6
+ margin: 0;
7
+ background: transparent;
8
+ border: 0;
9
+ -moz-appearance: none;
10
+ -webkit-appearance: none;
11
+ appearance: none;
12
+ }
13
+
14
+ :host {
15
+ box-sizing: border-box;
16
+ padding: 0;
17
+ margin: 0;
18
+ background: transparent;
19
+ border: 0;
20
+ -moz-appearance: none;
21
+ -webkit-appearance: none;
22
+ appearance: none;
23
+ display: block;
24
+ width: 100%;
25
+ }
26
+
27
+ .duet-page-heading {
28
+ position: relative;
29
+ display: block;
30
+ width: 100%;
31
+ width: 100%;
32
+ height: 104px;
33
+ margin: 0 auto;
34
+ overflow: hidden;
35
+ font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
36
+ color: #00294d;
37
+ background: white;
38
+ }
39
+ .duet-page-heading.duet-p-0 {
40
+ padding: 0 !important;
41
+ }
42
+ .duet-page-heading.duet-m-0 {
43
+ margin: 0 !important;
44
+ }
45
+ @media (min-width: 48em) {
46
+ .duet-page-heading {
47
+ height: 165px;
48
+ }
49
+ }
50
+ .duet-page-heading.fluid, .duet-page-heading.narrow {
51
+ padding: 0 16px;
52
+ }
53
+ @media (min-width: 36em) {
54
+ .duet-page-heading.fluid {
55
+ padding: 0 28px;
56
+ }
57
+ }
58
+ @media (min-width: 62em) {
59
+ .duet-page-heading.fluid {
60
+ padding: 0 56px;
61
+ }
62
+ }
63
+ @media (min-width: 76.25em) {
64
+ .duet-page-heading.fluid {
65
+ max-width: 1110px;
66
+ padding: 0;
67
+ }
68
+ }
69
+ .duet-page-heading.narrow {
70
+ max-width: 888px;
71
+ }
72
+ @media (min-width: 36em) {
73
+ .duet-page-heading.narrow {
74
+ padding: 0 48px;
75
+ }
76
+ }
77
+ @media (min-width: 48em) {
78
+ .duet-page-heading.narrow {
79
+ padding: 0 72px;
80
+ }
81
+ }
82
+ .duet-page-heading .heading {
83
+ position: absolute;
84
+ bottom: 0;
85
+ max-width: 744px;
86
+ padding: 48px 90px 16px 0;
87
+ }
88
+ .custom .duet-page-heading .heading {
89
+ right: 0;
90
+ left: 0;
91
+ margin: 0 auto;
92
+ }
93
+ @media (min-width: 48em) {
94
+ .duet-page-heading .heading {
95
+ padding: 72px 150px 40px 0;
96
+ }
97
+ }
98
+ .duet-page-heading .background {
99
+ position: relative;
100
+ max-width: 744px;
101
+ height: 100%;
102
+ margin: 0 auto;
103
+ }
104
+ .duet-page-heading .background .background-mask {
105
+ position: absolute;
106
+ top: -20px;
107
+ right: 0;
108
+ display: block;
109
+ width: 286px;
110
+ height: 331px;
111
+ background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIxIiBoZWlnaHQ9IjI1NyIgdmlld0JveD0iMCAwIDcyMSAyNTciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8yODIw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TcuNzIxIDUzNC40MDEgMjIyLjI0NUM1NTYuNjQ0IDIyNi43NTcgNTc5Ljg2NSAyMjYuNTA5IDYwNC4xMTUgMjIxLjU2N0M2MDkuNjQzIDIyMC42MTYgNjE1LjI2MyAyMTkuNDY4IDYyMC45MjEgMjE4LjA5OUM2MjYuNTY3IDIxNi43NTYgNjMyLjI3NyAyMTUuMTkyIDYzOC4wNTMgMjEzLjQxOUM2NTkuMDU3IDIwNy41MjUgNjc4LjU2MiAxOTkuMzkgNjk2LjU0MSAxODkuMDc3IiBmaWxsPSIjRjVGNUY3Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjgyMF82OTk5MSI+CjxyZWN0IHdpZHRoPSI3MjEiIGhlaWdodD0iMjU2Ljg0OCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K");
112
+ background-repeat: no-repeat;
113
+ background-size: contain;
114
+ }
115
+ @media (min-width: 48em) {
116
+ .duet-page-heading .background .background-mask {
117
+ top: -40px;
118
+ width: 502px;
119
+ height: 577px;
120
+ }
121
+ }
122
+ .duet-page-heading .background .brand-shape {
123
+ position: absolute;
124
+ top: -157px;
125
+ right: -10%;
126
+ width: 185px;
127
+ height: 185px;
128
+ background: #0077b3;
129
+ border-radius: 20%;
130
+ mix-blend-mode: normal;
131
+ opacity: 0.2;
132
+ transform: rotate(7deg);
133
+ }
134
+ @media (min-width: 48em) {
135
+ .duet-page-heading .background .brand-shape {
136
+ top: -260px;
137
+ right: -5%;
138
+ width: 325px;
139
+ height: 325px;
140
+ }
141
+ }
142
+ .duet-page-heading .background .brand-shape.second-shape {
143
+ top: -182px;
144
+ right: 25%;
145
+ width: 207px;
146
+ height: 207px;
147
+ background: #0b7288;
148
+ opacity: 0.1;
149
+ }
150
+ @media (min-width: 48em) {
151
+ .duet-page-heading .background .brand-shape.second-shape {
152
+ top: -325px;
153
+ width: 365px;
154
+ height: 365px;
155
+ }
156
+ }
157
+ .duet-page-heading .background .brand-shaped-icon {
158
+ position: absolute;
159
+ top: 20px;
160
+ right: 16px;
161
+ display: flex;
162
+ align-items: center;
163
+ justify-content: center;
164
+ width: 85px;
165
+ width: 60px;
166
+ height: 85px;
167
+ height: 60px;
168
+ background: rgba(0, 119, 179, 0.75);
169
+ border-radius: 25%;
170
+ mix-blend-mode: normal;
171
+ transform: rotate(7deg);
172
+ }
173
+ @media (min-width: 48em) {
174
+ .duet-page-heading .background .brand-shaped-icon {
175
+ right: 36px;
176
+ width: 93px;
177
+ height: 93px;
178
+ }
179
+ }
180
+ .duet-page-heading .background .brand-shaped-icon duet-icon {
181
+ width: 60px;
182
+ height: 60px;
183
+ transform: rotate(-7deg);
184
+ }
185
+ @media (min-width: 48em) {
186
+ .duet-page-heading .background .brand-shaped-icon duet-icon {
187
+ width: 75px;
188
+ height: 75px;
189
+ }
190
+ }
191
+ .duet-page-heading.duet-theme-turva {
192
+ font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
193
+ color: #00294d;
194
+ }
195
+ .duet-page-heading.duet-theme-turva .brand-shaped-icon {
196
+ background: rgba(198, 12, 48, 0.9);
197
+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");
198
+ -webkit-mask-repeat: no-repeat;
199
+ mask-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");
200
+ mask-repeat: no-repeat;
201
+ }
202
+ .duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon {
203
+ position: relative;
204
+ top: -3px;
205
+ }
@@ -0,0 +1,113 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { h } from "@stencil/core";
5
+ import { inheritGlobalTheme } from "../../common/themeable-component";
6
+ /**
7
+ * @slot heading - This is a slot for heading content.
8
+ */
9
+ export class DuetPageHeading {
10
+ constructor() {
11
+ this.theme = "";
12
+ this.icon = "";
13
+ this.layout = "custom";
14
+ }
15
+ /**
16
+ * Component lifecycle events.
17
+ */
18
+ componentWillLoad() {
19
+ inheritGlobalTheme(this);
20
+ }
21
+ /**
22
+ * render() function
23
+ * Always the last one in the class.
24
+ */
25
+ render() {
26
+ return (h("div", { class: {
27
+ "duet-page-heading": true,
28
+ "duet-theme-turva": this.theme === "turva",
29
+ [this.layout]: true,
30
+ } }, h("div", { class: "background" }, this.theme === "turva" && h("div", { class: "background-mask" }), this.theme !== "turva" && h("div", { class: "brand-shape" }), this.theme !== "turva" && h("div", { class: "brand-shape second-shape" }), this.icon && (h("div", { class: "brand-shaped-icon" }, h("duet-icon", { background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), h("div", { class: "heading" }, h("slot", { name: "heading" }))));
31
+ }
32
+ static get is() { return "duet-page-heading"; }
33
+ static get encapsulation() { return "shadow"; }
34
+ static get originalStyleUrls() {
35
+ return {
36
+ "$": ["duet-page-heading.scss"]
37
+ };
38
+ }
39
+ static get styleUrls() {
40
+ return {
41
+ "$": ["duet-page-heading.css"]
42
+ };
43
+ }
44
+ static get properties() {
45
+ return {
46
+ "theme": {
47
+ "type": "string",
48
+ "mutable": true,
49
+ "complexType": {
50
+ "original": "DuetTheme",
51
+ "resolved": "\"\" | \"default\" | \"turva\"",
52
+ "references": {
53
+ "DuetTheme": {
54
+ "location": "import",
55
+ "path": "../../common-types"
56
+ }
57
+ }
58
+ },
59
+ "required": false,
60
+ "optional": false,
61
+ "docs": {
62
+ "tags": [],
63
+ "text": "Theme of the hero area."
64
+ },
65
+ "attribute": "theme",
66
+ "reflect": false,
67
+ "defaultValue": "\"\""
68
+ },
69
+ "icon": {
70
+ "type": "string",
71
+ "mutable": true,
72
+ "complexType": {
73
+ "original": "DuetIconName",
74
+ "resolved": "string",
75
+ "references": {
76
+ "DuetIconName": {
77
+ "location": "import",
78
+ "path": "../../common-types"
79
+ }
80
+ }
81
+ },
82
+ "required": false,
83
+ "optional": false,
84
+ "docs": {
85
+ "tags": [],
86
+ "text": "Icon."
87
+ },
88
+ "attribute": "icon",
89
+ "reflect": false,
90
+ "defaultValue": "\"\""
91
+ },
92
+ "layout": {
93
+ "type": "string",
94
+ "mutable": true,
95
+ "complexType": {
96
+ "original": "\"custom\" | \"fluid\" | \"narrow\"",
97
+ "resolved": "\"custom\" | \"fluid\" | \"narrow\"",
98
+ "references": {}
99
+ },
100
+ "required": false,
101
+ "optional": false,
102
+ "docs": {
103
+ "tags": [],
104
+ "text": "Layout."
105
+ },
106
+ "attribute": "layout",
107
+ "reflect": false,
108
+ "defaultValue": "\"custom\""
109
+ }
110
+ };
111
+ }
112
+ static get elementRef() { return "element"; }
113
+ }
@@ -228,7 +228,13 @@ export class DuetPagination {
228
228
  "duet-pagination-item-is-active": i === this.current,
229
229
  }, role: "menuitem" }, h("duet-button", { class: {
230
230
  "duet-pagination-link": true,
231
- }, color: i !== this.current ? "secondary" : "primary", "data-id": i, "center-text": true, variation: "plain", margin: "none", accessibleLabel: `${this.accessibleLabels.go_to} ${i}`, onClick: e => this.pageClickHandler(e) }, h("div", { class: "duet-pagination-page-number", "aria-hidden": true }, i))));
231
+ }, color: i !== this.current
232
+ ? this.theme !== "turva"
233
+ ? "secondary"
234
+ : "secondary-turva"
235
+ : this.theme !== "turva"
236
+ ? "primary"
237
+ : "primary-turva", "data-id": i, "center-text": true, variation: "plain", margin: "none", accessibleLabel: `${this.accessibleLabels.go_to} ${i}`, onClick: e => this.pageClickHandler(e), theme: this.theme }, h("div", { class: "duet-pagination-page-number", "aria-hidden": true }, i))));
232
238
  } while (i < this.visibleItems + this.internalSectionIndex * this.visibleItems);
233
239
  return items;
234
240
  }
@@ -246,17 +252,17 @@ export class DuetPagination {
246
252
  return (h(Host, { onKeyDown: e => this.onKeyboardDown(e) }, h("nav", { 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: {
247
253
  "duet-pagination-nav": true,
248
254
  [`duet-pagination-variation-${this.variation}`]: true,
249
- } }, this.numbersStore !== "" && (h("div", { "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, h("duet-badge", null, "jump to page : ", this.numbersStore))), h("ol", { id: this.listId, class: {
255
+ } }, this.numbersStore !== "" && (h("div", { "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, h("duet-badge", { theme: this.theme }, "jump to page : ", this.numbersStore))), h("ol", { id: this.listId, class: {
250
256
  "duet-pagination": true,
251
257
  "duet-pagination-is-dimmed": this.numbersStore !== "",
252
258
  }, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, h("li", { class: {
253
259
  "duet-pagination-page-button": true,
254
260
  "duet-pagination-button-first": true,
255
- }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { disabled: this.internalSectionIndex === 0 && this.current <= 1, "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small" })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, null, h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: "secondary", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e) }, h("div", { class: "duet-pagination-page-number" }, "1"))), h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: "secondary", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1) }, h("div", { class: "duet-pagination-page-number", "aria-hidden": "true" }, "..."))))), this.renderPageNumbers(), this.internalSectionIndex * (this.visibleItems + 2) < this.totalPages && this.shouldDisplayNavigation() && (h(Fragment, null, h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: "secondary", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1) }, h("div", { class: "duet-pagination-page-number", "aria-hidden": "true" }, "..."))), h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: "secondary", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e) }, h("div", { class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { class: {
261
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { disabled: this.internalSectionIndex === 0 && this.current <= 1, "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, null, h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { 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 }, h("div", { class: "duet-pagination-page-number" }, "1"))), h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { 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", { class: "duet-pagination-page-number", "aria-hidden": "true" }, "..."))))), this.renderPageNumbers(), this.internalSectionIndex * (this.visibleItems + 2) < this.totalPages && this.shouldDisplayNavigation() && (h(Fragment, null, h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { 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", { class: "duet-pagination-page-number", "aria-hidden": "true" }, "..."))), h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { 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 }, h("div", { class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { class: {
256
262
  "duet-pagination-page-button": true,
257
263
  "duet-pagination-button-last": true,
258
264
  }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { disabled: this.current === this.totalPages &&
259
- this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-arrow-right-small" }))))));
265
+ this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-arrow-right-small", theme: this.theme }))))));
260
266
  }
261
267
  static get is() { return "duet-pagination"; }
262
268
  static get encapsulation() { return "shadow"; }