@duetds/components 10.1.1 → 10.2.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 (413) hide show
  1. package/hydrate/index.js +295 -247
  2. package/hydrate/index.mjs +295 -247
  3. package/lib/cjs/{a11y-utils-B_EYQg_6.js → a11y-utils-Dt4L3QkG.js} +1 -1
  4. package/lib/cjs/{app-globals-BFWJwMVq.js → app-globals-1gECxmAH.js} +1 -1
  5. package/lib/cjs/{common-strings-CC6Xpjb8.js → common-strings-DMaSb4Ld.js} +8 -1
  6. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-alert.cjs.entry.js +5 -5
  8. package/lib/cjs/duet-badge.cjs.entry.js +6 -6
  9. package/lib/cjs/duet-banner.cjs.entry.js +3 -3
  10. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  11. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
  12. package/lib/cjs/duet-button_2.cjs.entry.js +5 -5
  13. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  14. package/lib/cjs/duet-caption_4.cjs.entry.js +20 -14
  15. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-checkbox.cjs.entry.js +19 -5
  17. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-chip.cjs.entry.js +4 -4
  19. package/lib/cjs/duet-choice_2.cjs.entry.js +13 -13
  20. package/lib/cjs/duet-collapsible.cjs.entry.js +5 -5
  21. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  22. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  23. package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
  24. package/lib/cjs/duet-date-picker.cjs.entry.js +8 -8
  25. package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
  26. package/lib/cjs/duet-editable-table_3.cjs.entry.js +10 -10
  27. package/lib/cjs/duet-empty-state.cjs.entry.js +4 -4
  28. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  29. package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
  30. package/lib/cjs/duet-footer.cjs.entry.js +9 -9
  31. package/lib/cjs/duet-grid_2.cjs.entry.js +6 -6
  32. package/lib/cjs/duet-header_2.cjs.entry.js +5 -5
  33. package/lib/cjs/duet-hero.cjs.entry.js +10 -10
  34. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  35. package/lib/cjs/duet-indicator.cjs.entry.js +4 -4
  36. package/lib/cjs/duet-input_2.cjs.entry.js +11 -11
  37. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  38. package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
  39. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  41. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  42. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +8 -8
  43. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  44. package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
  45. package/lib/cjs/duet-modal.cjs.entry.js +13 -13
  46. package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
  47. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  48. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  49. package/lib/cjs/duet-number-input.cjs.entry.js +8 -8
  50. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  51. package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
  52. package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
  53. package/lib/cjs/duet-panel.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
  55. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +11 -11
  56. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  57. package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
  58. package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
  59. package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
  60. package/lib/cjs/duet-scrollable_3.cjs.entry.js +15 -15
  61. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  62. package/lib/cjs/duet-select.cjs.entry.js +9 -9
  63. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  64. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  65. package/lib/cjs/duet-share-chart.cjs.entry.js +6 -6
  66. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  67. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  68. package/lib/cjs/duet-slideout-link.cjs.entry.js +8 -8
  69. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
  70. package/lib/cjs/duet-slideout-panel.cjs.entry.js +11 -11
  71. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  72. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-step_2.cjs.entry.js +7 -7
  74. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  75. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
  76. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +7 -7
  77. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  78. package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
  79. package/lib/cjs/duet-textarea.cjs.entry.js +8 -8
  80. package/lib/cjs/duet-toggle.cjs.entry.js +25 -7
  81. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  82. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  83. package/lib/cjs/duet-toolbar-item.cjs.entry.js +9 -9
  84. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  86. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +9 -9
  87. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
  88. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  89. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  90. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  91. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  92. package/lib/cjs/duet.cjs.js +3 -3
  93. package/lib/cjs/{errorcodes.utils-BiQq7F-O.js → errorcodes.utils-DtuBPKs3.js} +1 -1
  94. package/lib/cjs/{focus-utils-8IrILmeG.js → focus-utils-n84nLLND.js} +1 -1
  95. package/lib/cjs/{index-CwMzFaC2.js → index-BfggyC6D.js} +1 -1
  96. package/lib/cjs/{label-Bw-qhJBs.js → label-CFsg_9mi.js} +1 -1
  97. package/lib/cjs/{language-utils-BLi7aaEv.js → language-utils-UQJMUCLw.js} +1 -1
  98. package/lib/cjs/loader.cjs.js +3 -3
  99. package/lib/cjs/{slot-utils-l9-tZvM8.js → slot-utils-BEQnfNX2.js} +1 -1
  100. package/lib/cjs/{themeable-component-DlxAauty.js → themeable-component-BkwBlXGz.js} +1 -1
  101. package/lib/collection/common-strings.js +7 -1
  102. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  103. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  104. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  105. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  106. package/lib/collection/components/duet-checkbox/duet-checkbox.css +11 -2
  107. package/lib/collection/components/duet-checkbox/duet-checkbox.js +24 -2
  108. package/lib/collection/components/duet-chip/duet-chip.js +1 -1
  109. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  110. package/lib/collection/components/duet-choice/duet-choice.js +6 -6
  111. package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
  112. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  113. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  114. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  115. package/lib/collection/components/duet-date-picker/duet-date-picker.js +2 -2
  116. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  117. package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -2
  118. package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
  119. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  120. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  121. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  122. package/lib/collection/components/duet-grid/duet-grid.js +2 -2
  123. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  124. package/lib/collection/components/duet-heading/duet-heading.js +2 -2
  125. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  126. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  127. package/lib/collection/components/duet-indicator/duet-indicator.js +1 -1
  128. package/lib/collection/components/duet-input/duet-input.js +6 -6
  129. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  130. package/lib/collection/components/duet-link/duet-link.css +42 -8
  131. package/lib/collection/components/duet-link/duet-link.js +11 -5
  132. package/lib/collection/components/duet-list/duet-list.js +1 -1
  133. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  134. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  135. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  136. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  137. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  138. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  139. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  140. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  141. package/lib/collection/components/duet-modal/duet-modal.js +7 -7
  142. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  143. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  144. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  145. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
  146. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  147. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  148. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  149. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  150. package/lib/collection/components/duet-panel/duet-panel.js +2 -2
  151. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  152. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +3 -3
  153. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  154. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  155. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  156. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  157. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  158. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  159. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  160. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  161. package/lib/collection/components/duet-select/duet-select.js +5 -5
  162. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  163. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  164. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  165. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  166. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  167. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  168. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  169. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  170. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  171. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  172. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  173. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  174. package/lib/collection/components/duet-step/duet-step.js +2 -2
  175. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  176. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  177. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  178. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  179. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  180. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  181. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  182. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  183. package/lib/collection/components/duet-table/duet-table.js +2 -2
  184. package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
  185. package/lib/collection/components/duet-toggle/duet-toggle.css +22 -9
  186. package/lib/collection/components/duet-toggle/duet-toggle.js +84 -2
  187. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  188. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  189. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  190. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  191. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  192. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  193. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +3 -3
  194. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  195. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  196. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  197. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  198. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  199. package/lib/duet/duet.esm.js +1 -1
  200. package/lib/duet/{p-7cad4a7d.entry.js → p-01ede40e.entry.js} +1 -1
  201. package/lib/duet/{p-1bf0b984.entry.js → p-0c677bac.entry.js} +1 -1
  202. package/lib/duet/{p-49f9404b.entry.js → p-0e6feeaf.entry.js} +1 -1
  203. package/lib/duet/{p-5ee97e54.entry.js → p-10d943ea.entry.js} +1 -1
  204. package/lib/duet/{p-24bd3f6b.entry.js → p-11e17622.entry.js} +1 -1
  205. package/lib/duet/{p-8fb7d2ad.entry.js → p-16db57d6.entry.js} +1 -1
  206. package/lib/duet/{p-fb4af30f.entry.js → p-19dfac00.entry.js} +1 -1
  207. package/lib/duet/{p-e29699ea.entry.js → p-1a9f5440.entry.js} +1 -1
  208. package/lib/duet/{p-4c8ff6a9.entry.js → p-1b1018d1.entry.js} +1 -1
  209. package/lib/duet/p-1e4903a7.entry.js +4 -0
  210. package/lib/duet/{p-be967aa3.entry.js → p-1e82c441.entry.js} +1 -1
  211. package/lib/duet/{p-414306dc.entry.js → p-1f76c77a.entry.js} +1 -1
  212. package/lib/duet/{p-35ab9df3.entry.js → p-2871d3f5.entry.js} +1 -1
  213. package/lib/duet/{p-a1bddbe0.entry.js → p-2a1db046.entry.js} +1 -1
  214. package/lib/duet/{p-b4405bb2.entry.js → p-2b41b6c3.entry.js} +1 -1
  215. package/lib/duet/{p-5214be20.entry.js → p-2d813dd9.entry.js} +1 -1
  216. package/lib/duet/{p-8ef9d397.entry.js → p-2e99a3d1.entry.js} +1 -1
  217. package/lib/duet/{p-c49521b1.entry.js → p-308328c0.entry.js} +1 -1
  218. package/lib/duet/{p-d16bdf01.entry.js → p-31c03dbc.entry.js} +1 -1
  219. package/lib/duet/{p-4b150620.entry.js → p-32ae38d2.entry.js} +1 -1
  220. package/lib/duet/p-3650e089.entry.js +4 -0
  221. package/lib/duet/{p-c96cf3d3.entry.js → p-3b6f0ed3.entry.js} +1 -1
  222. package/lib/duet/{p-6f1841f2.entry.js → p-3c19d851.entry.js} +1 -1
  223. package/lib/duet/{p-2459de04.entry.js → p-3d85dbf7.entry.js} +1 -1
  224. package/lib/duet/{p-f9c54d66.entry.js → p-3dd1304e.entry.js} +1 -1
  225. package/lib/duet/{p-65eed68b.entry.js → p-413ccfee.entry.js} +1 -1
  226. package/lib/duet/{p-c08a6b40.entry.js → p-45f8d839.entry.js} +1 -1
  227. package/lib/duet/{p-6a5089bf.entry.js → p-493b240f.entry.js} +1 -1
  228. package/lib/duet/{p-f0c6161a.entry.js → p-4f16859a.entry.js} +1 -1
  229. package/lib/duet/{p-af604e20.entry.js → p-50f80b6c.entry.js} +1 -1
  230. package/lib/duet/{p-cd9c1ddc.entry.js → p-5302f338.entry.js} +1 -1
  231. package/lib/duet/{p-24e49455.entry.js → p-549e68da.entry.js} +1 -1
  232. package/lib/duet/{p-ae11d834.entry.js → p-6333c633.entry.js} +1 -1
  233. package/lib/duet/{p-fcb7ab98.entry.js → p-6969647c.entry.js} +1 -1
  234. package/lib/duet/{p-24c89cbd.entry.js → p-6b06705f.entry.js} +1 -1
  235. package/lib/duet/{p-38e2f4db.entry.js → p-6b9ac7ea.entry.js} +1 -1
  236. package/lib/duet/{p-c5f27149.entry.js → p-6bddd7b7.entry.js} +1 -1
  237. package/lib/duet/{p-d851fb45.entry.js → p-7515a195.entry.js} +1 -1
  238. package/lib/duet/{p-3caabda3.entry.js → p-7916d25e.entry.js} +1 -1
  239. package/lib/duet/{p-999ff774.entry.js → p-81e55a2f.entry.js} +1 -1
  240. package/lib/duet/{p-8ef3fe6f.entry.js → p-82ed09c9.entry.js} +1 -1
  241. package/lib/duet/{p-1bf130a0.entry.js → p-89cba286.entry.js} +1 -1
  242. package/lib/duet/p-8RjiAqaE.js +4 -0
  243. package/lib/duet/{p-68bb7d28.entry.js → p-8a9ad498.entry.js} +1 -1
  244. package/lib/duet/{p-0f15317c.entry.js → p-8ecfef50.entry.js} +1 -1
  245. package/lib/duet/{p-bafb269a.entry.js → p-8f43c23a.entry.js} +1 -1
  246. package/lib/duet/{p-D2reh8UV.js → p-8odxhfeD.js} +1 -1
  247. package/lib/duet/{p-9c176eae.entry.js → p-9289e2d6.entry.js} +1 -1
  248. package/lib/duet/{p-47d33b6b.entry.js → p-9bcb57a9.entry.js} +1 -1
  249. package/lib/duet/{p-e1eff77c.entry.js → p-9efde101.entry.js} +1 -1
  250. package/lib/duet/{p-Cz75kJ4Z.js → p-BcVbsW_2.js} +1 -1
  251. package/lib/duet/p-BhRNiBUo.js +4 -0
  252. package/lib/duet/{p-CPZ9Rh_9.js → p-BxH0r0DA.js} +1 -1
  253. package/lib/duet/{p-Be4oMqD2.js → p-C7D5HRhY.js} +1 -1
  254. package/lib/duet/p-CKemMSHL.js +4 -0
  255. package/lib/duet/{p-D7O8dU_Q.js → p-DMjxD3N-.js} +1 -1
  256. package/lib/duet/{p-BiXEBkqx.js → p-LYJwm2Mz.js} +1 -1
  257. package/lib/duet/{p-e08191e2.entry.js → p-a408c8ef.entry.js} +1 -1
  258. package/lib/duet/{p-14c52ecc.entry.js → p-a8b8aa7f.entry.js} +1 -1
  259. package/lib/duet/{p-46fdb6a9.entry.js → p-abb3a02c.entry.js} +1 -1
  260. package/lib/duet/{p-5c8619fc.entry.js → p-ad2d810a.entry.js} +1 -1
  261. package/lib/duet/{p-ad94e5b7.entry.js → p-ad86f19c.entry.js} +1 -1
  262. package/lib/duet/{p-0be1cbcc.entry.js → p-ad8929e4.entry.js} +1 -1
  263. package/lib/duet/p-aef55e42.entry.js +4 -0
  264. package/lib/duet/{p-07b33d9a.entry.js → p-b178aa13.entry.js} +1 -1
  265. package/lib/duet/{p-3115c01d.entry.js → p-b8fe3df0.entry.js} +1 -1
  266. package/lib/duet/{p-3937103e.entry.js → p-b9327667.entry.js} +1 -1
  267. package/lib/duet/{p-e06f599b.entry.js → p-b9c35e5e.entry.js} +1 -1
  268. package/lib/duet/{p-23c8a3cf.entry.js → p-bbaa683a.entry.js} +1 -1
  269. package/lib/duet/{p-a886ee0b.entry.js → p-bdb10c77.entry.js} +1 -1
  270. package/lib/duet/{p-96334633.entry.js → p-bdd24cc6.entry.js} +1 -1
  271. package/lib/duet/p-be91dd8c.entry.js +4 -0
  272. package/lib/duet/{p-ec572857.entry.js → p-cb90478e.entry.js} +1 -1
  273. package/lib/duet/{p-5e312efa.entry.js → p-cdc6285c.entry.js} +1 -1
  274. package/lib/duet/{p-1a92ea28.entry.js → p-d1db3194.entry.js} +1 -1
  275. package/lib/duet/{p-ab65780a.entry.js → p-d2c50765.entry.js} +1 -1
  276. package/lib/duet/{p-e51c28bc.entry.js → p-d625732a.entry.js} +1 -1
  277. package/lib/duet/p-d8ddd6aa.entry.js +4 -0
  278. package/lib/duet/{p-46594b20.entry.js → p-d948db17.entry.js} +1 -1
  279. package/lib/duet/{p-0d9FRr_b.js → p-dX4lCxX-.js} +1 -1
  280. package/lib/duet/{p-87fdb2d1.entry.js → p-dc7b2908.entry.js} +1 -1
  281. package/lib/duet/{p-20bfba9e.entry.js → p-dfb7e2a4.entry.js} +1 -1
  282. package/lib/duet/{p-69c2989d.entry.js → p-e042f54a.entry.js} +1 -1
  283. package/lib/duet/{p-e0c9c534.entry.js → p-e197cf15.entry.js} +1 -1
  284. package/lib/duet/p-e21285ad.entry.js +4 -0
  285. package/lib/duet/p-e5173b25.entry.js +4 -0
  286. package/lib/duet/p-e6a05ef9.entry.js +4 -0
  287. package/lib/duet/{p-a94c2063.entry.js → p-ecad641c.entry.js} +1 -1
  288. package/lib/duet/{p-6b6a8585.entry.js → p-ed84afb6.entry.js} +1 -1
  289. package/lib/duet/p-ee7e1387.entry.js +4 -0
  290. package/lib/duet/{p-53a8fc76.entry.js → p-f2cc172e.entry.js} +1 -1
  291. package/lib/duet/p-f55ffe76.entry.js +4 -0
  292. package/lib/duet/{p-64003bfb.entry.js → p-f80c76b3.entry.js} +1 -1
  293. package/lib/duet/{p-e3116610.entry.js → p-f920d7a8.entry.js} +1 -1
  294. package/lib/duet/{p-a79d0152.entry.js → p-fc427a9c.entry.js} +1 -1
  295. package/lib/duet/{p-8e105140.entry.js → p-fd1bf11b.entry.js} +1 -1
  296. package/lib/esm/{a11y-utils-BPzUw6wf.js → a11y-utils-Cc259XJX.js} +1 -1
  297. package/lib/esm/{app-globals-SsQsu12e.js → app-globals-CIsV7gbu.js} +1 -1
  298. package/lib/esm/{common-strings-CVPfl9fc.js → common-strings-8RjiAqaE.js} +8 -2
  299. package/lib/esm/duet-action-button.entry.js +3 -3
  300. package/lib/esm/duet-alert.entry.js +5 -5
  301. package/lib/esm/duet-badge.entry.js +6 -6
  302. package/lib/esm/duet-banner.entry.js +3 -3
  303. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  304. package/lib/esm/duet-breadcrumbs.entry.js +5 -5
  305. package/lib/esm/duet-button_2.entry.js +5 -5
  306. package/lib/esm/duet-callout.entry.js +5 -5
  307. package/lib/esm/duet-caption_4.entry.js +20 -14
  308. package/lib/esm/duet-card.entry.js +3 -3
  309. package/lib/esm/duet-checkbox.entry.js +19 -5
  310. package/lib/esm/duet-checkmark.entry.js +4 -4
  311. package/lib/esm/duet-chip.entry.js +4 -4
  312. package/lib/esm/duet-choice_2.entry.js +13 -13
  313. package/lib/esm/duet-collapsible.entry.js +5 -5
  314. package/lib/esm/duet-combobox.entry.js +4 -4
  315. package/lib/esm/duet-contact-card.entry.js +5 -5
  316. package/lib/esm/duet-cookie-consent.entry.js +3 -3
  317. package/lib/esm/duet-date-picker.entry.js +8 -8
  318. package/lib/esm/duet-divider_2.entry.js +4 -4
  319. package/lib/esm/duet-editable-table_3.entry.js +10 -10
  320. package/lib/esm/duet-empty-state.entry.js +4 -4
  321. package/lib/esm/duet-fieldset.entry.js +6 -6
  322. package/lib/esm/duet-file-chooser.entry.js +3 -3
  323. package/lib/esm/duet-footer.entry.js +9 -9
  324. package/lib/esm/duet-grid_2.entry.js +6 -6
  325. package/lib/esm/duet-header_2.entry.js +5 -5
  326. package/lib/esm/duet-hero.entry.js +10 -10
  327. package/lib/esm/duet-icon.entry.js +5 -5
  328. package/lib/esm/duet-indicator.entry.js +4 -4
  329. package/lib/esm/duet-input_2.entry.js +11 -11
  330. package/lib/esm/duet-layout.entry.js +7 -7
  331. package/lib/esm/duet-list_2.entry.js +5 -5
  332. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  333. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  334. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  335. package/lib/esm/duet-menu-bar-item.entry.js +8 -8
  336. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  337. package/lib/esm/duet-menu-bar.entry.js +6 -6
  338. package/lib/esm/duet-modal.entry.js +13 -13
  339. package/lib/esm/duet-multiselect.entry.js +10 -10
  340. package/lib/esm/duet-nav.entry.js +3 -3
  341. package/lib/esm/duet-notification_2.entry.js +9 -9
  342. package/lib/esm/duet-number-input.entry.js +8 -8
  343. package/lib/esm/duet-overlay.entry.js +3 -3
  344. package/lib/esm/duet-page-heading.entry.js +4 -4
  345. package/lib/esm/duet-pagination_2.entry.js +16 -16
  346. package/lib/esm/duet-panel.entry.js +4 -4
  347. package/lib/esm/duet-phone-input.entry.js +4 -4
  348. package/lib/esm/duet-popup-menu_2.entry.js +11 -11
  349. package/lib/esm/duet-progress.entry.js +3 -3
  350. package/lib/esm/duet-promo-card.entry.js +5 -5
  351. package/lib/esm/duet-radio_2.entry.js +7 -7
  352. package/lib/esm/duet-range-slider.entry.js +6 -6
  353. package/lib/esm/duet-scrollable_3.entry.js +15 -15
  354. package/lib/esm/duet-section-layout.entry.js +4 -4
  355. package/lib/esm/duet-select.entry.js +9 -9
  356. package/lib/esm/duet-shaped-image.entry.js +4 -4
  357. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  358. package/lib/esm/duet-share-chart.entry.js +6 -6
  359. package/lib/esm/duet-show-more.entry.js +5 -5
  360. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  361. package/lib/esm/duet-slideout-link.entry.js +8 -8
  362. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  363. package/lib/esm/duet-slideout-panel.entry.js +11 -11
  364. package/lib/esm/duet-slideout.entry.js +10 -10
  365. package/lib/esm/duet-status-icon.entry.js +3 -3
  366. package/lib/esm/duet-step_2.entry.js +7 -7
  367. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  368. package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
  369. package/lib/esm/duet-submenu-bar-item.entry.js +7 -7
  370. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  371. package/lib/esm/duet-submenu-bar.entry.js +7 -7
  372. package/lib/esm/duet-textarea.entry.js +8 -8
  373. package/lib/esm/duet-toggle.entry.js +25 -7
  374. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  375. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  376. package/lib/esm/duet-toolbar-item.entry.js +9 -9
  377. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  378. package/lib/esm/duet-toolbar.entry.js +4 -4
  379. package/lib/esm/duet-tooltip-button_2.entry.js +9 -9
  380. package/lib/esm/duet-tooltip.entry.js +4 -4
  381. package/lib/esm/duet-tray.entry.js +5 -5
  382. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  383. package/lib/esm/duet-upload-item.entry.js +6 -6
  384. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  385. package/lib/esm/duet.js +4 -4
  386. package/lib/esm/{errorcodes.utils-BSrGsmkE.js → errorcodes.utils-KnjOo5JF.js} +1 -1
  387. package/lib/esm/{focus-utils-pVdst0px.js → focus-utils-Cgrh4d7y.js} +1 -1
  388. package/lib/esm/{index-CPZ9Rh_9.js → index-BxH0r0DA.js} +1 -1
  389. package/lib/esm/{label-DOI1kYHr.js → label-DA-iWWhe.js} +1 -1
  390. package/lib/esm/{language-utils-D2LZ-dAb.js → language-utils-BqCiY8zW.js} +1 -1
  391. package/lib/esm/loader.js +4 -4
  392. package/lib/esm/{slot-utils-Plu0scZN.js → slot-utils-Bi4BkMYE.js} +1 -1
  393. package/lib/esm/{themeable-component-CyP7TR8I.js → themeable-component-EeTaKAPP.js} +1 -1
  394. package/lib/types/common-strings.d.ts +1 -0
  395. package/lib/types/common-types.d.ts +8 -1
  396. package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +6 -0
  397. package/lib/types/components/duet-link/duet-link.d.ts +3 -1
  398. package/lib/types/components/duet-toggle/duet-toggle.d.ts +16 -0
  399. package/lib/types/components.d.ts +28 -2
  400. package/package.json +5 -5
  401. package/lib/duet/p-0557d0e3.entry.js +0 -4
  402. package/lib/duet/p-0596ed8f.entry.js +0 -4
  403. package/lib/duet/p-12037a2a.entry.js +0 -4
  404. package/lib/duet/p-22ecf342.entry.js +0 -4
  405. package/lib/duet/p-4eb8634c.entry.js +0 -4
  406. package/lib/duet/p-760530e9.entry.js +0 -4
  407. package/lib/duet/p-8b3be0f7.entry.js +0 -4
  408. package/lib/duet/p-8d0727d6.entry.js +0 -4
  409. package/lib/duet/p-91ce1d13.entry.js +0 -4
  410. package/lib/duet/p-B01I4GZJ.js +0 -4
  411. package/lib/duet/p-BBJluIMx.js +0 -4
  412. package/lib/duet/p-CVPfl9fc.js +0 -4
  413. package/lib/duet/p-b90b0d7a.entry.js +0 -4
@@ -174,25 +174,25 @@ export class DuetSlideoutPanel {
174
174
  };
175
175
  const exitTranslation = getLocaleString(this.exitLangObject);
176
176
  const backTranslation = getLocaleString(this.backLangObject);
177
- return (h(Host, { key: '91e1bfb50346e6f0b7d7b93f6d9cb16e84df9297' }, h("div", { key: '80891454e08a69f87d42ca5879c85a7e1eab6d5c', class: {
177
+ return (h(Host, { key: '8136756acde9cd9a5038e49c14049295ef2a50ee' }, h("div", { key: 'bd5e9a275c149b6a52172d9349fefb6aef42282e', class: {
178
178
  "duet-slideout-panel": true,
179
179
  "duet-theme-turva": this.theme === "turva",
180
180
  active: this.open,
181
- } }, this.badge && h("duet-indicator", { key: '2dc9f2f3b5eebbc44158f9c7795ee2e9dadbfeef', variation: "change" }), h("button", { key: '86db5918e585201320c57a8770ab850356bda06b', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
181
+ } }, this.badge && h("duet-indicator", { key: '240033e4afa0a5e32dc708eceee5cd3c35fad16f', variation: "change" }), h("button", { key: '2fcac219bc058445a3f744e99beb1ce8d1be7c27', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
182
182
  link: true,
183
183
  active: this.active,
184
184
  "duet-theme-turva": this.theme === "turva",
185
- }, onClick: this.onClick, inert: this.open }, this.icon && (h("div", { key: '635addd38144863b546edd4d8792a26d4e8dd3c4', class: "duet-slideout-icon" }, h("duet-icon", { key: '3610a7e6ebcdf22fe198e4428538d559599c79c0', name: this.icon, size: "small", margin: "none", color: "secondary" }))), h("span", { key: '9b4d70cc570113c1e667ced944bccae1e4613398', class: "label" }, h("span", { key: '6f16630f451ef9ebd920462cd81df2cf92ab5312', class: { "label-text": true, [this.labelSize]: true } }, h("slot", { key: '80688a824da754215dcbfcd668ff8144880147d1', name: "label" })), h("duet-icon", { key: '205d74fef784d3db602fcccf61ba49dfb5995317', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), h("div", { key: '5be9dab7afdb48916100c5bfb8242eb061ba6c96', ref: element => (this.dialog = element), class: {
185
+ }, onClick: this.onClick, inert: this.open }, this.icon && (h("div", { key: '9a7ea3d7682510b7a94c7e7bfff417dabfd833b0', class: "duet-slideout-icon" }, h("duet-icon", { key: '29e67edcad14dd8f20f1a0a319bdbe3bba7d0495', name: this.icon, size: "small", margin: "none", color: "secondary" }))), h("span", { key: '02d2e2107083535c6bf1d2b89c92681ed0ff5257', class: "label" }, h("span", { key: 'ce6a1f30ee04677c584d98a228d0302f0b02c0f8', class: { "label-text": true, [this.labelSize]: true } }, h("slot", { key: 'd7c645fa7153a803b3e63b3614ec65ff1cb775dd', name: "label" })), h("duet-icon", { key: 'fc24304d004fc06d1f44d6611555af3aa57b91f0', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), h("div", { key: '893f838b0476b45a35c5c5df009ea25be382748f', ref: element => (this.dialog = element), class: {
186
186
  dialog: true,
187
187
  hidden: !this.open,
188
- }, style: styles }, h(FocusGuard, { key: 'ad7c4a34db3120b40ed51061125f05d69017b342', moveFocusTo: this.closeButton }), h("div", { key: 'af56281cf6a0a4c7355f48d17b66c5495e7982f9', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: '676eca91428ce8439e68da74b59a0bc8d393f5a5', class: "top" }, h("button", { key: '2d8f3d984de8ca1efccc191115b7657a455c5ef9', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
188
+ }, style: styles }, h(FocusGuard, { key: '75cd1ca13074e4edf114d7e016b30e77503f6766', moveFocusTo: this.closeButton }), h("div", { key: '53f51c39c3e701be9b0fc9f402507a1315669820', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { key: '08f9a0174b2a902a46f6f8a722783740e2c03f01', class: "top" }, h("button", { key: '70ec35736850d5740cf7940e1195202266ba64b3', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
189
189
  back: true,
190
190
  "duet-theme-turva": this.theme === "turva",
191
- }, onClick: this.onClick }, h("duet-icon", { key: 'f4d1be2b1157d12fff10e9f84eb7905d93091e79', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), h("span", { key: '2e0426bee359ed9f3ccf9f044e9c751924003a5c' }, this.label.innerHTML), h("button", { key: 'f4edf9a9df667475a3c00b214e134bce7d9d7ae9', class: { close: true, "duet-theme-turva": this.theme === "turva" }, type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, h("duet-icon", { key: '548ed5fadb9216137fcdc0762b35454ceb21c8d4', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '923603a20dbab28d51a376a9c252c35e33803880', class: "sticky-header" }, h("slot", { key: '07e15709effbee9950d36f03dd91e73b7e9ab336', name: "sticky-header" }))), h("div", { key: '7e63e1cd014106736bb712c20023f62245e43486', tabindex: "-1", role: "menu",
191
+ }, onClick: this.onClick }, h("duet-icon", { key: '8fd080b3ddde0fcc9edc8e3b65c71f038e9a641b', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), h("span", { key: '6c5bf9eee61b85d3b334a3b76f8568a91f3ede8a' }, this.label.innerHTML), h("button", { key: '3de010c98fc4a25b160f0bb321652db95372b529', class: { close: true, "duet-theme-turva": this.theme === "turva" }, type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, h("duet-icon", { key: '3d98d30425ce462e8d14ffa07cb631c452bdbf36', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { key: '9714f189c3e45aa70201006fee01f0daab33acc8', class: "sticky-header" }, h("slot", { key: 'bda41ebde4391bdce90a2d9c3c9c2b3f59a484b1', name: "sticky-header" }))), h("div", { key: '7c97e9932da1cfbca0d045f7744d64a697c6849e', tabindex: "-1", role: "menu",
192
192
  //TODO: slideout menu fades out, needs to be instant
193
193
  id: "menu", "aria-labelledby": "button", class: {
194
194
  items: true,
195
- } }, h("slot", { key: 'fa18b91a1114433c57ecd566934f505e9fc62cf5' })), h(FocusGuard, { key: '7251452b17bbdfd8978f302bfde0e33991b39465', moveFocusTo: this.closeButton })))));
195
+ } }, h("slot", { key: '760f770c9b134fddb61954aa9bda6d2f7c1ec3d5' })), h(FocusGuard, { key: '0f423c9da48756f6e1f7be813e8a9e948e650293', moveFocusTo: this.closeButton })))));
196
196
  }
197
197
  static get is() { return "duet-slideout-panel"; }
198
198
  static get encapsulation() { return "shadow"; }
@@ -52,18 +52,18 @@ export class DuetSlideoutPanelDropdown {
52
52
  * Always the last one in the class.
53
53
  */
54
54
  render() {
55
- return (h(Host, { key: '74023ff3094ea4e1867ae58690abaa3f338053e7' }, h("div", { key: '0a0de8be47b2d48bc9f0c1564d458af29ee2e05f', class: {
55
+ return (h(Host, { key: 'c07d09acdc3ae629d1ade84a8f38ba5a4400c93c' }, h("div", { key: '5c460268ab843fd63034f39baaabb0217610742e', class: {
56
56
  "duet-slideout-panel-dropdown": true,
57
57
  "duet-theme-turva": this.theme === "turva",
58
58
  active: this.open,
59
- } }, h("button", { key: '887b98839351d36434969447057013fd8e7614ed', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
59
+ } }, h("button", { key: 'fda35d3ebe560638a7684ff895a1a07fae2795dc', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
60
60
  active: this.active,
61
61
  "duet-theme-turva": this.theme === "turva",
62
- }, onClick: this.onClick }, this.icon && h("duet-icon", { key: 'a3d25c295dd87dd7d7427c08776e74f93ff06539', name: this.icon, size: "small", margin: "none", color: "secondary" }), h("span", { key: 'f5721ac3bf32dc5d3a02c06c3945169f5191b8bf', class: "label" }, h("slot", { key: '408ea11afbdc9705cf7d972f6173ba5215f06bec', name: "label" }), h("duet-icon", { key: 'eba692bfd3ada8bbfdbe9eb6e51a01054f6f919a', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), h("div", { key: '13c263ac376bd1b412ba8c57aec55504da08557d', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
62
+ }, onClick: this.onClick }, this.icon && h("duet-icon", { key: 'adbef98fc7e1c01c4db93fc890adca55a968c3ed', name: this.icon, size: "small", margin: "none", color: "secondary" }), h("span", { key: '9a9e035c35cfc2bd40ca504dfb755db6598072ab', class: "label" }, h("slot", { key: '69b970d13d166d320f423480e93e721a8ca0791a', name: "label" }), h("duet-icon", { key: '48e456eb714c1f276c30d1830c4335a2c78b7674', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), h("div", { key: 'bb3730e96c82aab35530c476c78880b73ac4c2c2', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
63
63
  items: true,
64
64
  hidden: !this.open,
65
65
  "duet-theme-turva": this.theme === "turva",
66
- } }, h("slot", { key: 'f582b50dca9e8127b6c4f0b6f9507f74f337ce7d' })))));
66
+ } }, h("slot", { key: '206ff67b3dab6d9e5b35814a26e572bca137b925' })))));
67
67
  }
68
68
  static get is() { return "duet-slideout-panel-dropdown"; }
69
69
  static get encapsulation() { return "shadow"; }
@@ -23,7 +23,7 @@ export class DuetSpacer {
23
23
  * Always the last one in the class.
24
24
  */
25
25
  render() {
26
- return (h(Host, { key: '6765403ee0beffd36f0e97c767260714c18bdc19', class: {
26
+ return (h(Host, { key: '7fc6e73749913f00710655bd9f3245417e7ea2d4', class: {
27
27
  "duet-spacer": true,
28
28
  "duet-spacer-xx-small": this.breakpoint === "xx-small",
29
29
  "duet-spacer-x-small": this.breakpoint === "x-small",
@@ -25,7 +25,7 @@ export class DuetSpinner {
25
25
  */
26
26
  render() {
27
27
  const color = !!this.color && this.color === "currentColor" ? "currentColor" : getColorByName(this.color, this.theme);
28
- return (h(Host, { key: '0d9ba3a785f72e0bd9318f4b38bc5b5459075704' }, h("div", { key: '5fed4253f83731359bfdf0a5b266b2352354b1cc', class: {
28
+ return (h(Host, { key: '8c58d59273d8cdf92c3e9bceea4cbdff5a5a4c59' }, h("div", { key: 'f98223ba97758e4c0dbdb41aa0ad61100135e634', class: {
29
29
  "duet-spinner": true,
30
30
  [this.size]: true,
31
31
  "duet-theme-turva": this.theme === "turva",
@@ -85,10 +85,10 @@ export class DuetStatusIcon {
85
85
  }
86
86
  }
87
87
  render() {
88
- return (h(Host, { key: '7f80e70111b54c6828f96f9b4701ed969e592e0e', class: {
88
+ return (h(Host, { key: 'c53538070bb94c61a824cce9bf5065ce69ea989a', class: {
89
89
  [`duet-status-icon-${this.getVariation()}`]: true,
90
90
  "duet-strong-bg": this.strong,
91
- } }, h("duet-icon", { key: '8a5d1ee9135d47f515b8e74bbbaea58d7e6815b6', icon: this.getIcon(), size: this.size, margin: this.margin })));
91
+ } }, h("duet-icon", { key: 'ebd3f5b5c3ef995cb598ee4f9072891594e8c069', icon: this.getIcon(), size: this.size, margin: this.margin })));
92
92
  }
93
93
  static get is() { return "duet-status-icon"; }
94
94
  static get encapsulation() { return "shadow"; }
@@ -93,13 +93,13 @@ export class DuetStep {
93
93
  * Always the last one in the class.
94
94
  */
95
95
  render() {
96
- return (h("div", { key: '369f656f742589a178915ed4e72365d3dda7b907', class: {
96
+ return (h("div", { key: '05fe55382b606ac6290eac4c1d367be79867e1c0', class: {
97
97
  "duet-step": true,
98
98
  [`is-${this.state}`]: true,
99
99
  "rounded-top": this.roundedTop,
100
100
  "rounded-bottom": this.roundedBottom,
101
101
  "duet-theme-turva": this.theme === "turva",
102
- } }, h("div", { key: '486a6f5b91cd3a6435bd02202b2191077469044d', class: "duet-step-heading", id: this.buttonId, role: this.state !== "current" ? "button" : "region", "aria-current": this.state === "current" ? "step" : undefined, tabindex: this.state !== "current" ? "0" : undefined, "aria-disabled": this.isClickDisabled().toString(), "aria-expanded": (this.state === "current").toString(), "aria-controls": this.contentId, "aria-selected": (this.state === "current").toString(), onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: element => (this.buttonElement = element) }, h("div", { key: '80895fe6a9d2581b54ddeb9095f50ab2ae2c40ec', "aria-hidden": "true" }, h("div", { key: '8b38a04e831e7feb20bfbccaf56a017b0c52260d', class: "duet-step-counter" }, this.renderStepCounter())), h("duet-spacer", { key: '2220531e141df3a5cd47dbcecdf5992265af1fff', direction: "horizontal", size: "large", breakpoint: "small" }), h("duet-spacer", { key: '80ba3be5b395b09c02a15ddabc70319bdb710ec2', direction: "horizontal", size: "medium", breakpoint: "x-small" }), h("div", { key: '7426ac138a49a07b9d914c7b92b24dde89fd2220' }, h("duet-heading", { key: '2cf9505b640081b6bc33bf726aa95fb8b49a100e', theme: this.theme, level: this.headingLevel, visualLevel: "h4", color: this.headingColor(), margin: "none" }, this.heading)), h("duet-spacer", { key: '8888b2e5b45f4bc049454ef6166b97af508a09b6', direction: "horizontal", size: "large" }), h("div", { key: '2931ae9df30278381ee5634a45d3bb934ae34215', class: "duet-step-heading-slot" }, h("slot", { key: '0f4314f52c16ef8f3929cea2bf0b5e405168593e', name: "heading-content" }))), h("div", { key: '43264d21b4cb69938551d3e81d4378369c4b23b3', class: "duet-step-content-wrapper" }, h("div", { key: '4913f58605148bb81539d7a24b29b288210f2f3d', class: "duet-step-content", role: "region", "aria-labelledby": this.buttonId, id: this.contentId }, h("slot", { key: '7e7ce320adcd8b1dd456fdb63249c983b03a829e' })))));
102
+ } }, h("div", { key: 'd91175b1d04f510980579ab816591f4fbe06443a', class: "duet-step-heading", id: this.buttonId, role: this.state !== "current" ? "button" : "region", "aria-current": this.state === "current" ? "step" : undefined, tabindex: this.state !== "current" ? "0" : undefined, "aria-disabled": this.isClickDisabled().toString(), "aria-expanded": (this.state === "current").toString(), "aria-controls": this.contentId, "aria-selected": (this.state === "current").toString(), onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: element => (this.buttonElement = element) }, h("div", { key: '36fa6274fd3778ffdf06930c3e2bfec351f98deb', "aria-hidden": "true" }, h("div", { key: '466172a0a1a89a812a3662dba416b698525bf90d', class: "duet-step-counter" }, this.renderStepCounter())), h("duet-spacer", { key: '32c65b333bf51ecbfc5f07111ed48dcc42d38fcc', direction: "horizontal", size: "large", breakpoint: "small" }), h("duet-spacer", { key: 'af1fcbed9aaf4ae897bbdb1bb5922539136ef824', direction: "horizontal", size: "medium", breakpoint: "x-small" }), h("div", { key: '17f37ca23ca6d1f693a69e5ba6dfb1825278dca3' }, h("duet-heading", { key: 'af962b921e329b246fb520dce97bf598584fc984', theme: this.theme, level: this.headingLevel, visualLevel: "h4", color: this.headingColor(), margin: "none" }, this.heading)), h("duet-spacer", { key: 'f5b5926af5fc39dc2c4b9bf556ce4de203ad4a26', direction: "horizontal", size: "large" }), h("div", { key: 'c61808d6e02af405b0d33d5c026bb75118031ada', class: "duet-step-heading-slot" }, h("slot", { key: 'fcd25f6d9fdfd9791eb947942099fb1fbab6e2bc', name: "heading-content" }))), h("div", { key: '15725f6b9d35795e4ab8cf7d1f1fd317983a5eed', class: "duet-step-content-wrapper" }, h("div", { key: 'ddef3d8cb491c9712bd6be806e7d16059e2ae8e3', class: "duet-step-content", role: "region", "aria-labelledby": this.buttonId, id: this.contentId }, h("slot", { key: 'b773ce9a9b621ada546d3bc6af85cd3b6271e662' })))));
103
103
  }
104
104
  static get is() { return "duet-step"; }
105
105
  static get encapsulation() { return "shadow"; }
@@ -118,7 +118,7 @@ export class DuetStepper {
118
118
  * Always the last one in the class.
119
119
  */
120
120
  render() {
121
- return (h(Host, { key: 'df89f1e452d33048371e02ceb399b3392e370b00', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '41faad40942a4fbc0bfec56801d76f6972f87eb4', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, h("duet-visually-hidden", { key: '225714f663a988bfcca3ae1ff3846bf9bafa12fb', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), h("slot", { key: 'e24151a3887c08c59be65fb9b9ab14be52db5fa7' }))));
121
+ return (h(Host, { key: '84ea9dd11aea73c62494d4002383477935446fca', class: { "duet-m-0": this.margin === "none" } }, h("div", { key: 'b86ccce71eb2f2ebda8642834800e4c2396c1e12', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, h("duet-visually-hidden", { key: 'a50b805e73ee6d83464b8b14e6facaa48b2f50bf', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), h("slot", { key: 'bc720b6fd6ba51b646f3e8222a5572017472bd5c' }))));
122
122
  }
123
123
  static get is() { return "duet-stepper"; }
124
124
  static get encapsulation() { return "shadow"; }
@@ -131,19 +131,19 @@ export class DuetSubmenuBar {
131
131
  * Always the last one in the class.
132
132
  */
133
133
  render() {
134
- return (h(Host, { key: '463af77c5ac9d7a775876cfc005df160c5e7fdfa' }, h("nav", { key: 'fcbdbfc332d352007b1122ffa65cd6d13012a559', class: {
134
+ return (h(Host, { key: '5a7dfd7977d5260ecaa751065ffd668bccf7f734' }, h("nav", { key: '8d374c6513e8ec3bb63948dffac4cd9b65eab3d9', class: {
135
135
  "duet-submenu-bar": true,
136
136
  "duet-theme-turva": this.theme === "turva",
137
137
  hidden: this.hidden,
138
- }, "aria-label": this.accessibleLabel }, this.hasItems && (h("button", { key: '98fadd59813f2aae19d4cb5d4734d73a98d4bb7e', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
138
+ }, "aria-label": this.accessibleLabel }, this.hasItems && (h("button", { key: 'd72fd8118d008647c0fc1bafc797d7d7e9670676', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
139
139
  active: this.open,
140
- }, onClick: this.onClick }, h("span", { key: 'dc38b3df13d3a4d1b4a9c78c53a9fc68b932152e', class: "label" }, h("slot", { key: '128302a4e4c2c6e68d9fd8cb96d1439db8daf800', name: "label" }), h("duet-icon", { key: '0d4d0b35713d68685084568f0f95f1818b8deaca', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), h("div", { key: '7396ba0b29224cfa487e725604ff50dab010cdeb', class: {
140
+ }, onClick: this.onClick }, h("span", { key: '7dbd3343077f3e63a20b441f0e6015358da502b4', class: "label" }, h("slot", { key: 'a0a0ae66d22fd5737949ad3094661f172b6c0391', name: "label" }), h("duet-icon", { key: '47c4c4e42e0a8ebd3565627cd0e1982457104ca3', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), h("div", { key: '5986a2c225e9f40da81943d5daefc079756f2370', class: {
141
141
  "menu-container": true,
142
142
  hidden: !this.open,
143
- }, role: "presentation" }, h("div", { key: '4b5178a06a8933dfb9be60276a1a893158c62aaa', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
143
+ }, role: "presentation" }, h("div", { key: 'd8afab7eb5149ac0bebeff39ab93d36d15c499fe', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
144
144
  items: true,
145
145
  hidden: !this.open,
146
- }, ref: element => (this.itemsContainer = element) }, h("div", { key: '71ee3de51b625b340635a30fb39292e25ddfc116', class: "list", role: this.mobile ? "presentation" : "list" }, h("slot", { key: '4baa81a1de7c328e826df2f752075a9c4b05af0f' }), h("div", { key: '38b755c720305c3627d82a5e53af380752616396', class: "list-padding" }))), h("duet-overlay", { key: '62afaa179b2175f4c4c6cd56c6773675cffc061c', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
146
+ }, ref: element => (this.itemsContainer = element) }, h("div", { key: '83ca8fda96f8d9b05fb0ea84d0aa52dbb4183063', class: "list", role: this.mobile ? "presentation" : "list" }, h("slot", { key: 'a71c59db97c47144dc7366c1adbd416d2ac6aae9' }), h("div", { key: '026076d8b73e6af5d46a7f7367de6d4395e34519', class: "list-padding" }))), h("duet-overlay", { key: 'd09747b12a70aefae2789f86380646779a1cc605', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
147
147
  }
148
148
  static get is() { return "duet-submenu-bar"; }
149
149
  static get encapsulation() { return "shadow"; }
@@ -108,18 +108,18 @@ export class DuetSubmenuBarDropdown {
108
108
  * Always the last one in the class.
109
109
  */
110
110
  render() {
111
- return (h(Host, { key: 'b08d71c303bbbb5dc488ccb9df3a6606cbcee45f', role: "listitem" }, h("div", { key: 'f27808ba704701f0857e90d8c4474f11f2bd284d', class: {
111
+ return (h(Host, { key: 'cc7d79d1a2e5e6de18bd62fb408ec474400eff7b', role: "listitem" }, h("div", { key: 'db0d71f4aa6a38e0e130bf2f069ac58c08d09055', class: {
112
112
  "duet-submenu-bar-dropdown": true,
113
113
  "duet-theme-turva": this.theme === "turva",
114
114
  open: this.open,
115
115
  active: this.active,
116
- } }, h("button", { key: 'da50cea3b3daea0da483dc01649345a9fcc27d55', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
116
+ } }, h("button", { key: '8ba0bded589cc4040510538e86b311879ab78cf8', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
117
117
  open: this.open,
118
118
  active: this.active,
119
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '41562541f2cf4bbe9e8d6ccb3214b8fc5b44079f', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '8b2782607b3478bc491ce2fa423257d4233968fa', class: "label" }, h("span", { key: '5b22aff9852f284416e15d60b1a262e963ff228e', class: "label-text" }, h("slot", { key: 'aec50191a12adf0fbd6f9e388c2dc09954d21f83', name: "label" })), h("duet-icon", { key: '154795bda221d38ca73b47a86c97da4c6e4d573b', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '574669c2280fa1e7e4d14666f95fbe912a068119', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
119
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '479134abefc9407012dc7d960da64a2a00849859', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '5d7eabf7611e552d4b0a4b4f45af47528f45ae6f', class: "label" }, h("span", { key: '1067624e6d8997fe6d70ba84e2020160d547c98f', class: "label-text" }, h("slot", { key: 'd1c5e91511f07355f95cdf0908476bb208e8356e', name: "label" })), h("duet-icon", { key: 'ea41a4b8f9cd0e5307e74b517bf264b65eaf4a0f', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '7090489ee9527a38506ae8623fcd48b337ddd7a8', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
120
120
  items: true,
121
121
  hidden: !this.open,
122
- } }, h("slot", { key: '9a69e63aae77e184049ed7d8f7f511d47eca642e' })))));
122
+ } }, h("slot", { key: '2d0d943f66b0238ed10f3c1ebcea5ab6bbceb301' })))));
123
123
  }
124
124
  static get is() { return "duet-submenu-bar-dropdown"; }
125
125
  static get encapsulation() { return "shadow"; }
@@ -49,12 +49,12 @@ export class DuetSubmenuBarDropdownLink {
49
49
  * Always the last one in the class.
50
50
  */
51
51
  render() {
52
- return (h(Host, { key: '206adf55a559a97afad7c5bc107b46f6a099d8c0' }, h("a", { key: 'a61437b76e1ecd5c7d61b773b0b97fe43c457bc5', class: {
52
+ return (h(Host, { key: '661c76d380b6989bfee3c31e1a0858cda9a873ce' }, h("a", { key: '02cadfcabf30ae87b3d2c038841280afd52b763f', class: {
53
53
  "duet-submenu-bar-dropdown-link": true,
54
54
  "duet-theme-turva": this.theme === "turva",
55
55
  highlight: this.highlight,
56
56
  active: this.active,
57
- }, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: '50c64c74c7f21aebcb34252b9a5fbf75c391c0d3', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("span", { key: '0e697759844c9f0255d18fdb41765290f1389581', class: "label-container" }, h("span", { key: '3fafa6fece2c5188ec289dbc6fab760d49c73fb4', class: "label" }, h("slot", { key: '498dacafcd6fa3c3d097e9bcceb9e78c906cc236' })), this.caret && h("duet-icon", { key: 'd7055d84b2cd8de873b0400e7b3434f7670f987a', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (h("duet-icon", { key: '40d559b351fcc4d3f56f26045d065a55b840c740', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
57
+ }, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: '653820943c52d861da92a41cc0bed59e78969b80', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("span", { key: '9e622d1fbbb2d0649da74a2a4945582eb9d72eb1', class: "label-container" }, h("span", { key: '78634234c76e9d17e61ed0e7ad88c1035b340dc4', class: "label" }, h("slot", { key: 'e8eec7289cffbb54eae6ddbebdb4d2a2ce6a634d' })), this.caret && h("duet-icon", { key: 'c0d7df05f2f827dea7bf50ee93b49c6fca66c1e9', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (h("duet-icon", { key: '572888355bf490d4a5ddf095592e116e9d1c05ae', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
58
58
  }
59
59
  static get is() { return "duet-submenu-bar-dropdown-link"; }
60
60
  static get encapsulation() { return "shadow"; }
@@ -80,7 +80,7 @@ export class DuetSubmenuBarItem {
80
80
  render() {
81
81
  const TagName = this.url ? "a" : "button";
82
82
  const role = this.url ? "link" : "button";
83
- return (h(Host, { key: '35be20639e3574ca775aa4b697485c84a1512045', role: "listitem" }, h(TagName, { key: '10e74fbfad350fa687d2ed5c6d5bfa6c3c3b7a08', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: 'e4de062ea87077cdf5ab2f80a72cb746d10b32e9', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '1829e95b6db1e8970ca53e5f8332b0aa97df310a', class: "label" }, h("span", { key: '815b45070604d6a9fc3f875677119480812c448d', class: "label-text" }, h("slot", { key: '195a9798c946491c1ec6318a99b5738e92d68f58' })), (this.trailingIcon || this.external) && (h("duet-icon", { key: '8718695a96ec8294833a18791aeefbe51526308f', class: {
83
+ return (h(Host, { key: '7ee97d49c78004d4ae845e940fb03e6e1ee75bd7', role: "listitem" }, h(TagName, { key: 'dcc4541376b094f3eec8ce84465cdd2c77978bf8', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '74e7c4f39e27a8c9030d02bf33f50ded7220f588', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'ab00e171bc83993c2580c25bbdfa3b77ea58ee89', class: "label" }, h("span", { key: '0cb9766ca34e699f99c1ec699ce0a7d9be8fb0ad', class: "label-text" }, h("slot", { key: '1e7f21511c1dbfb21780b7828397ddb3564c96e5' })), (this.trailingIcon || this.external) && (h("duet-icon", { key: '698c894c3987de2c8c645234e25f600ecf33d8c2', class: {
84
84
  "trailing-icon": !!this.trailingIcon,
85
85
  "trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
86
86
  "external-icon": !!this.external,
@@ -41,7 +41,7 @@ export class DuetSubmenuBarLink {
41
41
  * Always the last one in the class.
42
42
  */
43
43
  render() {
44
- return (h(Host, { key: '43fe2f21e9f7ce5b2ea4a31fb4ac6f9f76b7dea7', role: "listitem" }, h("a", { key: '78ffb34f6f54b32f8c8401139b23b34a5fe9ef95', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (h("duet-icon", { key: 'c42d8f5d5fe3c4b9d4dbcfe3151a1ee2c7be2ec2', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("span", { key: 'a2e72daf94cc2c40ab025e399c949b4f8111bdea', class: "label" }, h("slot", { key: 'a5fb89a7dc0aea64b82a6be83104f8b9971066c8' })))));
44
+ return (h(Host, { key: 'fb8760077be9d8402a747e67fa3f5589c35b1586', role: "listitem" }, h("a", { key: '5b77c9c31a719059b2df6183dd09f0fbb174dde4', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (h("duet-icon", { key: 'd47cacb2b609f6fb89d4955932aa460a13a70e0e', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("span", { key: '962bab30d15d749df6d2823daafba59488fc92df', class: "label" }, h("slot", { key: '57541fbb4f923bbb1fdd6efbe05cddb72f63a147' })))));
45
45
  }
46
46
  static get is() { return "duet-submenu-bar-link"; }
47
47
  static get encapsulation() { return "shadow"; }
@@ -110,7 +110,7 @@ export class DuetTab {
110
110
  * Always the last one in the class.
111
111
  */
112
112
  render() {
113
- return (h("div", { key: 'a022a330a4f4eef2664a452c8f0df2b84e46c429', ref: element => {
113
+ return (h("div", { key: '414606a9161016ce42050bb4d736547d611db39b', ref: element => {
114
114
  if (!this.contentId) {
115
115
  this.tabpanelElement = element;
116
116
  }
@@ -119,7 +119,7 @@ export class DuetTab {
119
119
  "duet-tab": true,
120
120
  selected: this.selected,
121
121
  "has-content-id": !!this.contentId,
122
- }, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, h("slot", { key: 'fcb609d847cf496ada314f386a9b82dab58a7c19' })));
122
+ }, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, h("slot", { key: '743f5b9f0b1487dd9a7abbf01fb41b5bd9f0782c' })));
123
123
  }
124
124
  static get is() { return "duet-tab"; }
125
125
  static get encapsulation() { return "shadow"; }
@@ -281,13 +281,13 @@ export class DuetTabGroup {
281
281
  [largeBreakpoint]: ["default", "plain", "plain-scrolling"].includes(this.variation) ? true : false,
282
282
  "duet-theme-turva": this.theme === "turva",
283
283
  }, onClick: () => this.onTabSelect(index), onKeyDown: ev => this.handleKeyDown(ev) }, this.variation === "checked" ? (h("div", { class: { "checked-tab-content": true, "stackable-checked-tab-content": this.tabs.length <= 3 } }, h("div", { class: { "checked-tab-description": true, "stackable-description": this.tabs.length <= 3 } }, h("p", null, element.label), h("p", { class: { "tab-caption": true, selected: element.selected } }, element.caption)), h("div", { class: { "stackable-checkmark": this.tabs.length <= 3 } }, h("duet-checkmark", { theme: this.theme, checked: element.selected, type: "radio", "presentation-only": true, center: true })))) : (element.label), element.indicator && (h("duet-indicator", { variation: element.indicator, "accessible-label": element.indicatorAccessibleLabel })))));
284
- return (h("div", { key: '8415a139c9a189c4c0ee19aa4cb2774a22eea232', class: {
284
+ return (h("div", { key: '45490c3fc4912de77e292ed0ed18c7146e7606d6', class: {
285
285
  "duet-tab-group": true,
286
286
  "duet-theme-turva": this.theme === "turva",
287
287
  [variationClass]: true,
288
288
  "duet-tab-plain-scrolling": this.variation === "plain-scrolling",
289
289
  "duet-tab-group-scrolls": true,
290
- }, "aria-label": this.accessibleLabel }, h("div", { key: '9d145a51f61427e95d54628daef43256ab5eaa50', role: "tablist", class: {
290
+ }, "aria-label": this.accessibleLabel }, h("div", { key: '46800b3d5e1faf4252a9f2eca77e5a35361c61b9', role: "tablist", class: {
291
291
  "duet-m-0": this.margin === "none" || this.variation === "checked",
292
292
  "duet-tab-group-tabs": true,
293
293
  "duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
@@ -298,11 +298,11 @@ export class DuetTabGroup {
298
298
  } }, this.variation === "checked" ? (buttons) : (h("div", { class: {
299
299
  "duet-tab-group-scrollable-wrapper": true,
300
300
  "duet-tab-group-fill-space-wrapper": this.fillSpace && this.variation === "default",
301
- } }, this.fillSpace && !this.stretch && this.variation === "default" && (h("div", { class: "duet-scrollable-stretch-overlay" }, h("div", { class: "background" }), h("div", { class: "border" }))), h("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center", theme: this.theme, stretch: this.stretch }, buttons)))), h("div", { key: '2bfb5fd10253af2f1a5d26e9a9b106d523ecd35c', class: {
301
+ } }, this.fillSpace && !this.stretch && this.variation === "default" && (h("div", { class: "duet-scrollable-stretch-overlay" }, h("div", { class: "background" }), h("div", { class: "border" }))), h("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center", theme: this.theme, stretch: this.stretch }, buttons)))), h("div", { key: 'f2b527640c52f4217c8dfd7c0b64849068b7eb8d', class: {
302
302
  "duet-tab-group-content": true,
303
303
  "duet-m-0": this.margin === "none",
304
304
  "checked-group-content": this.variation === "checked",
305
- } }, h("slot", { key: 'ed8a0ab42bda63cd27ce2311281d5f4a16db2e40' }))));
305
+ } }, h("slot", { key: '0949201345b7070db4ccf011171183115e518707' }))));
306
306
  }
307
307
  static get is() { return "duet-tab-group"; }
308
308
  static get encapsulation() { return "shadow"; }
@@ -144,7 +144,7 @@ export class DuetTable {
144
144
  });
145
145
  }
146
146
  render() {
147
- return (h(Host, { key: '02ed0a7f4b3c7504b0f6df2ee9e923f5afbca106', class: {
147
+ return (h(Host, { key: 'fda81d8548a6180298f6e227832f9c7105a68736', class: {
148
148
  [`duet-table-${this.variation}`]: true,
149
149
  "duet-table-flattened": !this.matchesBreakpoint,
150
150
  // sticky only valid when in regular table layout
@@ -153,7 +153,7 @@ export class DuetTable {
153
153
  "duet-m-0": this.margin === "none",
154
154
  "duet-theme-turva": this.theme === "turva",
155
155
  "duet-table-hide-head-visually": this.hideHeadVisually,
156
- } }, h("slot", { key: '946a620f959caf19dc712844d81ebc345870757d' })));
156
+ } }, h("slot", { key: 'ac3ae69d0a1141e1feacd1bdf8fb3ba9e9e89080' })));
157
157
  }
158
158
  static get is() { return "duet-table"; }
159
159
  static get encapsulation() { return "shadow"; }
@@ -247,17 +247,17 @@ export class DuetTextarea {
247
247
  */
248
248
  render() {
249
249
  const identifier = this.identifier || this.textareaId;
250
- return (h(Host, { key: '6b4a9a29634b3b4eebba44aa1329c044ad4627e0', class: {
250
+ return (h(Host, { key: '48030acc05f6f8415df8753151991eb3c83ae370', class: {
251
251
  "duet-m-0": this.margin === "none",
252
252
  "duet-has-counter": this.counter && !this.error,
253
253
  "duet-expand": this.expand,
254
- } }, h("div", { key: 'fc6fff054e8c331eaa64eb81ea38fec26ccf2623', class: {
254
+ } }, h("div", { key: 'e8cac00d84bfbef67bb1f30037bb986905fc2d94', class: {
255
255
  "duet-textarea-container": true,
256
256
  "duet-theme-turva": this.theme === "turva",
257
257
  "duet-label-hidden": this.labelHidden,
258
258
  "duet-input-top-caption-shown": this.isCaptionVisible,
259
259
  "has-error": !!this.error,
260
- } }, h(DuetInternalLabel, { key: '72a397fea607b1bf78eb044d2edfe908b531c196', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: 'df27e380533776bbd55e322ee553a4e7307a9c25', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: '0ad23242a566add6660b8d0d05f0945f2881c736', name: "tooltip" }), this.caption && (h("duet-caption", { key: '2140852f453a515fdc400664083170df2c5d25b8', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { key: '3d8086ad2a9120553f7d9348a12f122513743f9e', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '41d5d3fbe9b850ae576456b65c38e70d7b54d1c4', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { key: '958b5b54572eeeb9a14cccc84768c94ac8934751', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, rows: this.rows, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), h("duet-grid", { key: '2eeb3e5cc00bb5323ace41bc47c8704065ed9cf8', alignment: "stretch" }, h("duet-grid-item", { key: 'df795c73d5e1d02b95780b00a3109a08af5265d1', margin: "none", fill: true }, h("div", { key: '0ca123aee248bdefecb272d01744496e14fca789', class: "duet-textarea-help duet-textarea-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'fab26ce8771f27cc8bd7df1b32f027f7e1a77f5c' }, this.error))), h("duet-grid-item", { key: 'af06a4534964dea7090defa29dcae06c463f987a', margin: "none", class: "duet-character-count-caption" }, this.counter && h(CharacterCount, { key: '9feddf09bed0a8dba0e3ec415e02a895e6cf20b7', theme: this.theme, value: this.value, maxlength: this.maxlength }))), this.counter && this.maxlength && (h("duet-visually-hidden", { key: '923f821ec7eea31d6538bec8e9e80d5bed1a8e85', id: this.characterCountId, class: "visually-hidden-counter" }, this.visuallyHiddenCounterText)))));
260
+ } }, h(DuetInternalLabel, { key: '2f25117dc9dfce852022a09efb8a1b0c2117bb0c', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: 'b5c614194a8699068a2b9c9156cc2a1955d8ae8c', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { key: '0a72de201a51d22df2604f3fa1a5fba77f9de897', name: "tooltip" }), this.caption && (h("duet-caption", { key: 'fc1baf023f9c4b81131de5244bfb73c925ab265d', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { key: '3395893df5eacc499f082eade175e6bb0ce0512c', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { key: '6a71fad928ba647c069c05439e86a5e6eefd4e40', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { key: '28c7559a63890bb80d6503e3028ea430f24c739a', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, rows: this.rows, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), h("duet-grid", { key: '66ddcb0507cf754111843d5aa871c80ae8d7207e', alignment: "stretch" }, h("duet-grid-item", { key: '79edd18dd19f6500b2c471e960c5fefc1b9492be', margin: "none", fill: true }, h("div", { key: '38d0f75afeefcd4ba8afb2f87802a64885fbc0ea', class: "duet-textarea-help duet-textarea-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'a03fdd80d3a82221abbdeeff8c368d8208efd2b1' }, this.error))), h("duet-grid-item", { key: 'deb6e76efba3354828dd21acd8a362c91c3d2e4f', margin: "none", class: "duet-character-count-caption" }, this.counter && h(CharacterCount, { key: '282fe11b68a1bdd7c63b8071cfd37a3e33086bbc', theme: this.theme, value: this.value, maxlength: this.maxlength }))), this.counter && this.maxlength && (h("duet-visually-hidden", { key: '06b481e31a4dad73a6538a943274f898410be541', id: this.characterCountId, class: "visually-hidden-counter" }, this.visuallyHiddenCounterText)))));
261
261
  }
262
262
  static get is() { return "duet-textarea"; }
263
263
  static get encapsulation() { return "shadow"; }
@@ -96,6 +96,7 @@
96
96
  width: 100%;
97
97
  vertical-align: bottom;
98
98
  -webkit-tap-highlight-color: transparent;
99
+ cursor: pointer;
99
100
  }
100
101
  :host:last-child, :host:last-of-type {
101
102
  margin-right: 0 !important;
@@ -108,9 +109,12 @@
108
109
  margin: 0 !important;
109
110
  }
110
111
 
111
- duet-label {
112
- display: block !important;
113
- width: 100% !important;
112
+ :host(.duet-toggle-is-disabled) {
113
+ cursor: not-allowed;
114
+ }
115
+
116
+ :host(.duet-toggle-is-loading) {
117
+ cursor: wait;
114
118
  }
115
119
 
116
120
  .duet-side-label {
@@ -118,9 +122,6 @@ duet-label {
118
122
  gap: 12px;
119
123
  align-items: center;
120
124
  }
121
- .duet-side-label duet-label {
122
- width: auto !important;
123
- }
124
125
 
125
126
  .duet-reverse-label {
126
127
  flex-direction: row-reverse;
@@ -158,9 +159,6 @@ duet-label {
158
159
  background-color: rgb(255, 255, 255);
159
160
  box-shadow: -1px 0 2px #660619;
160
161
  }
161
- .duet-switch input:disabled + .duet-slider {
162
- cursor: default;
163
- }
164
162
  .duet-switch input:disabled + .duet-slider::before {
165
163
  box-shadow: none;
166
164
  }
@@ -218,6 +216,15 @@ duet-label {
218
216
  box-shadow: 1px 0 2px 0 #5d6266;
219
217
  transition: 300ms ease;
220
218
  }
219
+ .duet-toggle-is-loading .duet-slider::before {
220
+ transform: translateX(10px) !important;
221
+ }
222
+ .duet-toggle-is-loading .duet-slider {
223
+ cursor: wait;
224
+ }
225
+ .duet-toggle-is-disabled .duet-slider {
226
+ cursor: not-allowed;
227
+ }
221
228
  .duet-theme-turva .duet-slider {
222
229
  background-color: rgb(143, 147, 158);
223
230
  }
@@ -226,6 +233,12 @@ duet-label {
226
233
  box-shadow: 1px 0 2px 0 #00334d;
227
234
  }
228
235
 
236
+ duet-spinner {
237
+ margin: 2px;
238
+ cursor: wait;
239
+ transform: translate(-2px, -2px) scale(80%);
240
+ }
241
+
229
242
  .duet-label-hidden .duet-internal-label {
230
243
  position: absolute !important;
231
244
  top: 0;
@@ -3,6 +3,8 @@
3
3
  */
4
4
  import { h, Host } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common";
6
+ import { DuetStringsCompleteDefaults, DuetStringsLoadingDefaults } from "../../common-strings";
7
+ import { getLanguage } from "../../utils/language-utils";
6
8
  import { DuetInternalLabel } from "../../common/label";
7
9
  import { createID } from "../../utils/create-id";
8
10
  import { subscribeTabbingChange, unsubscribeTabbingChange } from "../../utils/keyboard-utils";
@@ -34,6 +36,10 @@ export class DuetToggle {
34
36
  * Aria description the button
35
37
  */
36
38
  this.accessibleDescription = undefined;
39
+ /**
40
+ * Loading state of the toggle
41
+ */
42
+ this.loading = false;
37
43
  /**
38
44
  * Label for the toggle.
39
45
  */
@@ -66,11 +72,15 @@ export class DuetToggle {
66
72
  * Component event handling.
67
73
  */
68
74
  this.onClick = (ev) => {
75
+ console.log("click");
69
76
  ev.preventDefault();
70
77
  this.setFocus();
71
78
  this.checked = !this.checked;
72
79
  };
73
80
  }
81
+ setLoadingState() {
82
+ this.loadingComplete = !this.loading;
83
+ }
74
84
  checkedChanged(isChecked) {
75
85
  this.duetChange.emit({
76
86
  checked: isChecked,
@@ -109,13 +119,19 @@ export class DuetToggle {
109
119
  */
110
120
  render() {
111
121
  const identifier = this.identifier || this.toggleId;
112
- return (h(Host, { key: '5946ee783a8f51ba38e184fd382e570706bb4abf', onClick: this.disabled ? undefined : this.onClick, class: { "duet-m-0": this.margin === "none" } }, h("div", { key: '36018f42f2af48de650eb6bf67fe521fa5e496d1', class: {
122
+ return (h(Host, { key: '512f0afaafc2cd0bb097f52be094a57d35933d8f', onClick: this.disabled || this.loading ? undefined : this.onClick, class: {
123
+ "duet-m-0": this.margin === "none",
124
+ "duet-toggle-is-disabled": this.disabled,
125
+ "duet-toggle-is-loading": this.loading,
126
+ } }, h("div", { key: '11a884ca254f910c8e066e28d623ee7f074a75cb', class: {
113
127
  "duet-toggle": true,
114
128
  "duet-theme-turva": this.theme === "turva",
115
129
  "duet-side-label": this.labelPosition !== "top",
116
130
  "duet-reverse-label": this.labelPosition === "right",
117
131
  "duet-label-hidden": this.labelHidden,
118
- } }, h(DuetInternalLabel, { key: '145e23905cef93b9c6855962e957545cf839c33f', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), h("label", { key: 'a69515fc5b92895d9a128696f9208c3b4233b258', class: "duet-switch" }, h("input", { key: '3b46c6969fd1018a05684d4cbbbc24421154b08d', type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled, ref: input => (this.nativeInput = input) }), h("div", { key: 'c658e6fdfe43b4c1f6e18ca9da3ea0411357ac30', class: "duet-slider" })))));
132
+ "duet-toggle-is-disabled": this.disabled,
133
+ "duet-toggle-is-loading": this.loading,
134
+ } }, h(DuetInternalLabel, { key: '51c6fbc61a7322024ad75091c2b2c855738afffa', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), h("label", { key: '0657f6a2d4314dbc196a906495c22f94d7d3e551', class: "duet-switch" }, h("input", { key: '0f84f9f1ca13523adf2b4d86b5f9f4186016996a', type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled || this.loading, ref: input => (this.nativeInput = input) }), h("div", { key: '1a6c06cb5c314e5f7431ecbca9b59615dd0ac040', class: "duet-slider" }), this.loading && h("duet-spinner", { key: '94d364fd5f11a06f81b9a0160ab3630ba8bae2c0', color: "primary" }))), this.loading && (h("duet-visually-hidden", { key: '2171c862cedb3bb2eeaee72f9f6b1e9d02eac3e0', "aria-live": "polite" }, this.accessibleLabelLoading || DuetStringsLoadingDefaults[getLanguage()])), this.loadingComplete && (h("duet-visually-hidden", { key: '8671fbb46feeeb3d651cb55f0a9243c77c97ab2c', "aria-live": "polite" }, this.accessibleLabelComplete || DuetStringsCompleteDefaults[getLanguage()]))));
119
135
  }
120
136
  static get is() { return "duet-toggle"; }
121
137
  static get encapsulation() { return "shadow"; }
@@ -319,6 +335,64 @@ export class DuetToggle {
319
335
  "reflect": false,
320
336
  "defaultValue": "undefined"
321
337
  },
338
+ "accessibleLabelLoading": {
339
+ "type": "string",
340
+ "attribute": "accessible-label-loading",
341
+ "mutable": false,
342
+ "complexType": {
343
+ "original": "string",
344
+ "resolved": "string",
345
+ "references": {}
346
+ },
347
+ "required": false,
348
+ "optional": true,
349
+ "docs": {
350
+ "tags": [],
351
+ "text": "Adds accessible announcement for toggle in \"loading\" state\nIf not set, default strings are used: fi: \"Ladataan\", sv: \"Lastning\", en: \"Loading\""
352
+ },
353
+ "getter": false,
354
+ "setter": false,
355
+ "reflect": false
356
+ },
357
+ "accessibleLabelComplete": {
358
+ "type": "string",
359
+ "attribute": "accessible-label-complete",
360
+ "mutable": false,
361
+ "complexType": {
362
+ "original": "string",
363
+ "resolved": "string",
364
+ "references": {}
365
+ },
366
+ "required": false,
367
+ "optional": true,
368
+ "docs": {
369
+ "tags": [],
370
+ "text": "Adds accessible announcement for toggle when \"loading\" state ends.\nIf not set, default strings are used: fi: \"Valmis\", sv: \"F\u00E4rdig\", en: \"Complete\""
371
+ },
372
+ "getter": false,
373
+ "setter": false,
374
+ "reflect": false
375
+ },
376
+ "loading": {
377
+ "type": "boolean",
378
+ "attribute": "loading",
379
+ "mutable": false,
380
+ "complexType": {
381
+ "original": "boolean",
382
+ "resolved": "boolean",
383
+ "references": {}
384
+ },
385
+ "required": false,
386
+ "optional": false,
387
+ "docs": {
388
+ "tags": [],
389
+ "text": "Loading state of the toggle"
390
+ },
391
+ "getter": false,
392
+ "setter": false,
393
+ "reflect": false,
394
+ "defaultValue": "false"
395
+ },
322
396
  "label": {
323
397
  "type": "string",
324
398
  "attribute": "label",
@@ -561,6 +635,11 @@ export class DuetToggle {
561
635
  }
562
636
  };
563
637
  }
638
+ static get states() {
639
+ return {
640
+ "loadingComplete": {}
641
+ };
642
+ }
564
643
  static get events() {
565
644
  return [{
566
645
  "method": "duetChange",
@@ -617,6 +696,9 @@ export class DuetToggle {
617
696
  static get elementRef() { return "element"; }
618
697
  static get watchers() {
619
698
  return [{
699
+ "propName": "loading",
700
+ "methodName": "setLoadingState"
701
+ }, {
620
702
  "propName": "checked",
621
703
  "methodName": "checkedChanged"
622
704
  }];
@@ -36,11 +36,11 @@ export class DuetToolbar {
36
36
  : this.variation === "secondary"
37
37
  ? "secondary"
38
38
  : "default";
39
- return (h(Host, { key: '2434866ef0b95d7b07a2248edc89a4f473d9ecc6' }, h("nav", { key: '9938a3cd11e5230013027cb613c8aa81f95e5bf7', class: {
39
+ return (h(Host, { key: 'c860be4ffbc7d94876629c2039b767516ae67069' }, h("nav", { key: '93355e73bf35ed26d242a3e08140140f09d4cbcf', class: {
40
40
  "duet-toolbar": true,
41
41
  "duet-theme-turva": this.theme === "turva",
42
42
  [variation]: true,
43
- }, "aria-label": this.accessibleLabel }, h("div", { key: '9c915e9ffe872ec9b253bf9c7b7ca58ac5c39bee', class: "container" }, h("div", { key: '7a1ce3f543e9b908638de889a1b6b8270f73d830', class: "list", role: "list" }, h("slot", { key: '396f255c2694dbff16ae2f2584be49e4f5d4fdf5', name: "left" })), h("div", { key: '975122519f64947d2fc01d8a5c9fa63c3052097a', class: "list", role: "list" }, h("slot", { key: '8d070c2c7e5a168d7c426df35a4b742a95696383', name: "right" }))))));
43
+ }, "aria-label": this.accessibleLabel }, h("div", { key: 'a50a6a5ec9b49d85edcbc10a275264e95a6ad93b', class: "container" }, h("div", { key: 'd3187fa520b84678f46876238269b9e3f48aced4', class: "list", role: "list" }, h("slot", { key: 'd0a092e1c45ac428b73d549b94ac932e3f4e871e', name: "left" })), h("div", { key: '90c02bddb8937b6e48648a2b758211ab88ae4b00', class: "list", role: "list" }, h("slot", { key: '8d66429a3b7a5d4ca4c3a570677c5fca14915108', name: "right" }))))));
44
44
  }
45
45
  static get is() { return "duet-toolbar"; }
46
46
  static get encapsulation() { return "shadow"; }