@duetds/components 9.12.2 → 9.14.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 (763) hide show
  1. package/hydrate/index.js +404 -233
  2. package/lib/cjs/{a11y-utils-e59debeb.js → a11y-utils-a934645c.js} +1 -1
  3. package/lib/cjs/{app-globals-f559c48a.js → app-globals-6b9852f3.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
  5. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  6. package/lib/cjs/duet-badge.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-banner.cjs.entry.js +7 -7
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
  10. package/lib/cjs/duet-button_2.cjs.entry.js +12 -12
  11. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +13 -12
  13. package/lib/cjs/duet-card.cjs.entry.js +4 -4
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  16. package/lib/cjs/duet-chip.cjs.entry.js +3 -3
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +4 -4
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
  19. package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +5 -5
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-footer.cjs.entry.js +4 -4
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-header_2.cjs.entry.js +50 -12
  31. package/lib/cjs/duet-hero.cjs.entry.js +4 -4
  32. package/lib/cjs/duet-icon.cjs.entry.js +7 -7
  33. package/lib/cjs/duet-input_2.cjs.entry.js +6 -6
  34. package/lib/cjs/duet-layout.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +11 -42
  42. package/lib/cjs/duet-modal.cjs.entry.js +39 -20
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +9 -9
  44. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +7 -7
  46. package/lib/cjs/duet-number-input.cjs.entry.js +11 -7
  47. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +5 -5
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +17 -17
  50. package/lib/cjs/duet-panel.cjs.entry.js +47 -0
  51. package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
  52. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
  53. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  54. package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
  55. package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  57. package/lib/cjs/duet-scrollable_3.cjs.entry.js +14 -14
  58. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  59. package/lib/cjs/duet-select.cjs.entry.js +4 -4
  60. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  62. package/lib/cjs/duet-share-chart.cjs.entry.js +7 -7
  63. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  64. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  65. package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
  66. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
  67. package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
  68. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  69. package/lib/cjs/duet-status-icon.cjs.entry.js +4 -4
  70. package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
  71. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  72. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -7
  73. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
  74. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  75. package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
  76. package/lib/cjs/duet-textarea.cjs.entry.js +4 -4
  77. package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
  78. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  79. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  80. package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
  81. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  82. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  83. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
  84. package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  86. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  87. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  88. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  89. package/lib/cjs/duet.cjs.js +3 -3
  90. package/lib/cjs/{errorcodes.utils-803bdf0f.js → errorcodes.utils-9ce7ca99.js} +1 -1
  91. package/lib/cjs/{focus-utils-aab4fc49.js → focus-utils-fa11f04b.js} +1 -1
  92. package/lib/cjs/{index-9f14a370.js → index-3d15fb5e.js} +5 -1
  93. package/lib/cjs/{language-utils-db49b98b.js → language-utils-eaec2648.js} +1 -1
  94. package/lib/cjs/loader.cjs.js +3 -3
  95. package/lib/cjs/{slot-utils-018275a5.js → slot-utils-61317778.js} +1 -1
  96. package/lib/cjs/{themeable-component-59982a4b.js → themeable-component-46222401.js} +14 -2
  97. package/lib/cjs/{token-utils-6258d3f7.js → token-utils-658c4c54.js} +103 -7
  98. package/lib/cjs/{tokens-e6fda5ee.js → tokens-22702e71.js} +0 -1
  99. package/lib/collection/collection-manifest.json +1 -0
  100. package/lib/collection/common/themeable-component.js +13 -1
  101. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  102. package/lib/collection/components/duet-banner/duet-banner.css +1 -0
  103. package/lib/collection/components/duet-banner/duet-banner.js +3 -3
  104. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  105. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  106. package/lib/collection/components/duet-button/duet-button.css +19 -4
  107. package/lib/collection/components/duet-button/duet-button.js +5 -5
  108. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  109. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  110. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  111. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  112. package/lib/collection/components/duet-header/duet-header.css +3 -0
  113. package/lib/collection/components/duet-header/duet-header.js +3 -2
  114. package/lib/collection/components/duet-icon/duet-icon.css +5 -0
  115. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  116. package/lib/collection/components/duet-label/duet-label.js +1 -1
  117. package/lib/collection/components/duet-link/duet-link.js +5 -4
  118. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  119. package/lib/collection/components/duet-logo/duet-logo.css +8 -0
  120. package/lib/collection/components/duet-logo/duet-logo.js +70 -5
  121. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +91 -0
  122. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +28 -39
  123. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  124. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  125. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  126. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  127. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  128. package/lib/collection/components/duet-modal/duet-modal.js +98 -15
  129. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  130. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  131. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  132. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  133. package/lib/collection/components/duet-number-input/duet-number-input.js +8 -4
  134. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  135. package/lib/collection/components/duet-page-heading/duet-page-heading.css +12 -1
  136. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  137. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  138. package/lib/collection/components/duet-panel/duet-panel.css +98 -0
  139. package/lib/collection/components/duet-panel/duet-panel.js +225 -0
  140. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  141. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  142. package/lib/collection/components/duet-promo-card/duet-promo-card.js +3 -3
  143. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  144. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  145. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  146. package/lib/collection/components/duet-select/duet-select.js +1 -1
  147. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  148. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  149. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  150. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  151. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  152. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  153. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  154. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  155. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  156. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  157. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  158. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  159. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  160. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  161. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  162. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  163. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  164. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  165. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  166. package/lib/collection/components/duet-table/duet-table.js +2 -2
  167. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  168. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  169. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  170. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  171. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  172. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
  173. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  174. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  175. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  176. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  177. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  178. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  179. package/lib/collection/utils/token-utils.js +59 -7
  180. package/lib/collection/utils/turva2-color-tokens.js +42 -0
  181. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  182. package/lib/dist-custom-elements/duet-alert.js +1 -1
  183. package/lib/dist-custom-elements/duet-badge.js +1 -1
  184. package/lib/dist-custom-elements/duet-banner.js +8 -8
  185. package/lib/dist-custom-elements/duet-breadcrumb.js +8 -8
  186. package/lib/dist-custom-elements/duet-breadcrumbs.js +5 -5
  187. package/lib/dist-custom-elements/duet-button.js +1 -1
  188. package/lib/dist-custom-elements/duet-callout.js +5 -5
  189. package/lib/dist-custom-elements/duet-caption.js +1 -1
  190. package/lib/dist-custom-elements/duet-card.js +5 -5
  191. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  192. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  193. package/lib/dist-custom-elements/duet-chip.js +1 -1
  194. package/lib/dist-custom-elements/duet-choice-group.js +9 -9
  195. package/lib/dist-custom-elements/duet-choice.js +5 -5
  196. package/lib/dist-custom-elements/duet-collapsible.js +5 -5
  197. package/lib/dist-custom-elements/duet-combobox.js +16 -16
  198. package/lib/dist-custom-elements/duet-contact-card.js +11 -11
  199. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  200. package/lib/dist-custom-elements/duet-date-picker.js +14 -14
  201. package/lib/dist-custom-elements/duet-divider.js +1 -1
  202. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  203. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  204. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  205. package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
  206. package/lib/dist-custom-elements/duet-footer.js +8 -8
  207. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  208. package/lib/dist-custom-elements/duet-grid.js +1 -1
  209. package/lib/dist-custom-elements/duet-header.js +14 -13
  210. package/lib/dist-custom-elements/duet-heading.js +1 -1
  211. package/lib/dist-custom-elements/duet-hero.js +10 -10
  212. package/lib/dist-custom-elements/duet-icon.js +1 -1
  213. package/lib/dist-custom-elements/duet-input.js +1 -1
  214. package/lib/dist-custom-elements/duet-label.js +1 -1
  215. package/lib/dist-custom-elements/duet-layout.js +1 -1
  216. package/lib/dist-custom-elements/duet-link.js +1 -1
  217. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  218. package/lib/dist-custom-elements/duet-list.js +1 -1
  219. package/lib/dist-custom-elements/duet-logo.js +1 -1
  220. package/lib/dist-custom-elements/duet-menu-bar-button.js +5 -5
  221. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +5 -5
  222. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +7 -7
  223. package/lib/dist-custom-elements/duet-menu-bar-item.js +5 -5
  224. package/lib/dist-custom-elements/duet-menu-bar-link.js +5 -5
  225. package/lib/dist-custom-elements/duet-menu-bar.js +14 -43
  226. package/lib/dist-custom-elements/duet-modal.js +45 -24
  227. package/lib/dist-custom-elements/duet-multiselect.js +15 -15
  228. package/lib/dist-custom-elements/duet-nav.js +3 -3
  229. package/lib/dist-custom-elements/duet-notification-drawer.js +7 -7
  230. package/lib/dist-custom-elements/duet-notification.js +5 -5
  231. package/lib/dist-custom-elements/duet-number-input.js +19 -15
  232. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  233. package/lib/dist-custom-elements/duet-page-heading.js +7 -7
  234. package/lib/dist-custom-elements/duet-pagination.js +26 -26
  235. package/lib/dist-custom-elements/duet-panel.d.ts +11 -0
  236. package/lib/dist-custom-elements/duet-panel.js +70 -0
  237. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  238. package/lib/dist-custom-elements/duet-phone-input.js +17 -17
  239. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  240. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  241. package/lib/dist-custom-elements/duet-progress.js +1 -1
  242. package/lib/dist-custom-elements/duet-promo-card.js +7 -7
  243. package/lib/dist-custom-elements/duet-radio-group.js +9 -9
  244. package/lib/dist-custom-elements/duet-radio.js +2 -2
  245. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  246. package/lib/dist-custom-elements/duet-range-stepper.js +7 -7
  247. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  248. package/lib/dist-custom-elements/duet-section-layout.js +4 -4
  249. package/lib/dist-custom-elements/duet-select.js +1 -1
  250. package/lib/dist-custom-elements/duet-shaped-image.js +4 -4
  251. package/lib/dist-custom-elements/duet-share-chart-item.js +2 -2
  252. package/lib/dist-custom-elements/duet-share-chart.js +6 -6
  253. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  254. package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
  255. package/lib/dist-custom-elements/duet-slideout-link.js +5 -5
  256. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +7 -7
  257. package/lib/dist-custom-elements/duet-slideout-panel.js +10 -10
  258. package/lib/dist-custom-elements/duet-slideout.js +9 -9
  259. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  260. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  261. package/lib/dist-custom-elements/duet-status-icon.js +1 -1
  262. package/lib/dist-custom-elements/duet-step.js +5 -5
  263. package/lib/dist-custom-elements/duet-stepper.js +4 -4
  264. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +5 -5
  265. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +8 -8
  266. package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
  267. package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
  268. package/lib/dist-custom-elements/duet-submenu-bar.js +10 -10
  269. package/lib/dist-custom-elements/duet-tab-group.js +12 -12
  270. package/lib/dist-custom-elements/duet-tab.js +3 -3
  271. package/lib/dist-custom-elements/duet-table.js +1 -1
  272. package/lib/dist-custom-elements/duet-textarea.js +11 -11
  273. package/lib/dist-custom-elements/duet-toggle.js +3 -3
  274. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +5 -5
  275. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +7 -7
  276. package/lib/dist-custom-elements/duet-toolbar-item.js +6 -6
  277. package/lib/dist-custom-elements/duet-toolbar-link.js +5 -5
  278. package/lib/dist-custom-elements/duet-toolbar.js +4 -4
  279. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  280. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  281. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  282. package/lib/dist-custom-elements/duet-tray.js +6 -6
  283. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  284. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  285. package/lib/dist-custom-elements/duet-upload.js +23 -23
  286. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  287. package/lib/dist-custom-elements/index.js +1 -1
  288. package/lib/dist-custom-elements/{p-32a8ced7.js → p-05fb2c81.js} +5 -5
  289. package/lib/dist-custom-elements/{p-64abcbeb.js → p-0a34fa11.js} +3 -3
  290. package/lib/dist-custom-elements/{p-e024b525.js → p-0e0a0525.js} +4 -4
  291. package/lib/dist-custom-elements/{p-e40817b6.js → p-10893657.js} +2 -2
  292. package/lib/dist-custom-elements/{p-1d53e17e.js → p-25f8ea4b.js} +3 -3
  293. package/lib/dist-custom-elements/{p-3d69644c.js → p-3419cd58.js} +10 -10
  294. package/lib/dist-custom-elements/{p-1b344cf7.js → p-3471fa90.js} +4 -4
  295. package/lib/dist-custom-elements/{p-14f9f7a0.js → p-36f6ec52.js} +2 -2
  296. package/lib/dist-custom-elements/{p-6f57e174.js → p-3757c660.js} +13 -1
  297. package/lib/dist-custom-elements/{p-0b77ee39.js → p-3883f329.js} +6 -6
  298. package/lib/dist-custom-elements/{p-0c936fe5.js → p-3a815628.js} +11 -11
  299. package/lib/dist-custom-elements/{p-69ca7615.js → p-444e732a.js} +9 -8
  300. package/lib/dist-custom-elements/{p-77260ba8.js → p-499da71e.js} +103 -8
  301. package/lib/dist-custom-elements/{p-38225a71.js → p-5e16131c.js} +46 -7
  302. package/lib/dist-custom-elements/{p-71245313.js → p-61b4aec9.js} +13 -13
  303. package/lib/dist-custom-elements/{p-1a647490.js → p-65300e85.js} +12 -12
  304. package/lib/dist-custom-elements/{p-b879c406.js → p-706a9a13.js} +3 -3
  305. package/lib/dist-custom-elements/{p-5fb435c0.js → p-778364d6.js} +4 -4
  306. package/lib/dist-custom-elements/{p-d6d3f142.js → p-81360956.js} +3 -3
  307. package/lib/dist-custom-elements/{p-64f1c43c.js → p-85f0068e.js} +6 -6
  308. package/lib/dist-custom-elements/{p-dbe0ddfd.js → p-92710b68.js} +1 -1
  309. package/lib/dist-custom-elements/{p-93896e54.js → p-96cabce8.js} +8 -8
  310. package/lib/dist-custom-elements/{p-6f7ac4a5.js → p-9ac441e6.js} +5 -5
  311. package/lib/dist-custom-elements/{p-6f969e11.js → p-9f715fa9.js} +5 -5
  312. package/lib/dist-custom-elements/{p-3600a7d8.js → p-a4513f7a.js} +3 -3
  313. package/lib/dist-custom-elements/{p-1f214262.js → p-a69bc735.js} +2 -2
  314. package/lib/dist-custom-elements/{p-ccf00480.js → p-b3835995.js} +5 -5
  315. package/lib/dist-custom-elements/{p-9f5cbda4.js → p-c7f33aed.js} +5 -5
  316. package/lib/dist-custom-elements/{p-4f46d35d.js → p-cc1b78ce.js} +11 -11
  317. package/lib/dist-custom-elements/{p-5c0ef833.js → p-d04e213c.js} +13 -13
  318. package/lib/dist-custom-elements/{p-c4cf8fc4.js → p-d0bc3da2.js} +2 -2
  319. package/lib/dist-custom-elements/{p-16f01714.js → p-d5c72ea3.js} +7 -7
  320. package/lib/dist-custom-elements/{p-7b0e3959.js → p-db2b09ab.js} +2 -2
  321. package/lib/dist-custom-elements/{p-b34c0bc0.js → p-dc970fdb.js} +2 -2
  322. package/lib/dist-custom-elements/{p-e7c96fb9.js → p-e77ffc34.js} +3 -3
  323. package/lib/dist-custom-elements/{p-74971fe9.js → p-e9c8ad74.js} +3 -3
  324. package/lib/dist-custom-elements/{p-d32bd233.js → p-eb60efcc.js} +1 -1
  325. package/lib/dist-custom-elements/{p-ff3742a3.js → p-ee948dc8.js} +5 -5
  326. package/lib/dist-custom-elements/{p-f42fd1a5.js → p-f290964d.js} +7 -7
  327. package/lib/dist-custom-elements/{p-b1100334.js → p-f38adca4.js} +8 -8
  328. package/lib/dist-custom-elements/{p-b7e3ed2c.js → p-f3b2867a.js} +4 -4
  329. package/lib/dist-custom-elements/{p-b760d510.js → p-f479ee47.js} +6 -6
  330. package/lib/dist-custom-elements/{p-daa2778f.js → p-fddb3ec1.js} +1 -1
  331. package/lib/duet/duet.esm.js +1 -1
  332. package/lib/duet/duet.js +1 -1
  333. package/lib/duet/{p-43a8d843.system.entry.js → p-013232a8.system.entry.js} +1 -1
  334. package/lib/duet/{p-40295380.js → p-01fe0f34.js} +1 -1
  335. package/lib/duet/p-063b31ef.entry.js +4 -0
  336. package/lib/duet/{p-ede03d44.system.entry.js → p-07d21021.system.entry.js} +1 -1
  337. package/lib/duet/p-07dd4405.system.entry.js +4 -0
  338. package/lib/duet/{p-72b80f54.entry.js → p-08f594ea.entry.js} +1 -1
  339. package/lib/duet/{p-9cc1306c.entry.js → p-08f64c06.entry.js} +1 -1
  340. package/lib/duet/{p-326ef77a.system.entry.js → p-0bc88aac.system.entry.js} +1 -1
  341. package/lib/duet/{p-85d98f00.entry.js → p-0c16128f.entry.js} +1 -1
  342. package/lib/duet/{p-618232f5.system.entry.js → p-0cef5003.system.entry.js} +1 -1
  343. package/lib/duet/{p-f2277c25.system.entry.js → p-0e013c22.system.entry.js} +1 -1
  344. package/lib/duet/{p-6f5c7766.system.entry.js → p-0e4ff2a3.system.entry.js} +1 -1
  345. package/lib/duet/p-10310520.entry.js +4 -0
  346. package/lib/duet/{p-822bbe28.system.entry.js → p-11262ef8.system.entry.js} +1 -1
  347. package/lib/duet/{p-21208eb0.entry.js → p-119d8a9d.entry.js} +1 -1
  348. package/lib/duet/{p-3e995aa9.entry.js → p-11e013dd.entry.js} +1 -1
  349. package/lib/duet/{p-db1a5bf4.system.entry.js → p-13821573.system.entry.js} +1 -1
  350. package/lib/duet/{p-b87f5ff8.system.entry.js → p-13f4076a.system.entry.js} +1 -1
  351. package/lib/duet/{p-6a455c03.entry.js → p-147f5eb5.entry.js} +1 -1
  352. package/lib/duet/p-16e80004.entry.js +4 -0
  353. package/lib/duet/{p-940ed1a1.entry.js → p-17f215e8.entry.js} +1 -1
  354. package/lib/duet/{p-69d12878.entry.js → p-18b21048.entry.js} +1 -1
  355. package/lib/duet/{p-013ff1b1.entry.js → p-19ad52bc.entry.js} +1 -1
  356. package/lib/duet/{p-6288d368.system.entry.js → p-1a767c08.system.entry.js} +1 -1
  357. package/lib/duet/{p-fa843791.entry.js → p-1c2dcb63.entry.js} +1 -1
  358. package/lib/duet/p-1f495ebe.entry.js +4 -0
  359. package/lib/duet/{p-62a9692f.entry.js → p-20170d5a.entry.js} +1 -1
  360. package/lib/duet/{p-6ab8cc04.system.entry.js → p-201895ea.system.entry.js} +1 -1
  361. package/lib/duet/{p-911830a9.entry.js → p-2162fe62.entry.js} +1 -1
  362. package/lib/duet/{p-1df441b0.system.entry.js → p-22349ab1.system.entry.js} +1 -1
  363. package/lib/duet/{p-dc12856e.system.entry.js → p-22932c08.system.entry.js} +1 -1
  364. package/lib/duet/{p-f87be171.system.entry.js → p-23d5c3fe.system.entry.js} +1 -1
  365. package/lib/duet/{p-a3a2f086.system.entry.js → p-2455cbff.system.entry.js} +1 -1
  366. package/lib/duet/{p-9b88b8f4.entry.js → p-268d9b35.entry.js} +1 -1
  367. package/lib/duet/{p-25da61f0.entry.js → p-2a542c6a.entry.js} +1 -1
  368. package/lib/duet/p-2a96f88a.system.entry.js +4 -0
  369. package/lib/duet/{p-4ded9936.entry.js → p-2c15a77e.entry.js} +1 -1
  370. package/lib/duet/{p-e430fc87.system.entry.js → p-2d14dafa.system.entry.js} +1 -1
  371. package/lib/duet/p-2dd204b0.entry.js +4 -0
  372. package/lib/duet/{p-46ba82ab.system.entry.js → p-2e58b3ab.system.entry.js} +1 -1
  373. package/lib/duet/{p-03eb030a.system.entry.js → p-2e7454bd.system.entry.js} +1 -1
  374. package/lib/duet/p-2ee8e84d.system.entry.js +4 -0
  375. package/lib/duet/{p-24dcf46b.entry.js → p-2fe381b6.entry.js} +1 -1
  376. package/lib/duet/{p-c1db69bc.system.entry.js → p-322c0015.system.entry.js} +1 -1
  377. package/lib/duet/{p-7b43d889.system.entry.js → p-344834d8.system.entry.js} +1 -1
  378. package/lib/duet/{p-fa43f6c2.system.entry.js → p-34485370.system.entry.js} +1 -1
  379. package/lib/duet/{p-f58be348.system.entry.js → p-352b3557.system.entry.js} +1 -1
  380. package/lib/duet/{p-83ea5225.js → p-378546de.js} +1 -1
  381. package/lib/duet/{p-ebf7a3ac.system.entry.js → p-38faf7e7.system.entry.js} +1 -1
  382. package/lib/duet/{p-16432cd4.entry.js → p-3a75e6d3.entry.js} +1 -1
  383. package/lib/duet/p-3b9c02b1.entry.js +4 -0
  384. package/lib/duet/{p-e9b88155.system.entry.js → p-413fc831.system.entry.js} +1 -1
  385. package/lib/duet/p-4215bd92.system.entry.js +4 -0
  386. package/lib/duet/p-42a0205d.entry.js +4 -0
  387. package/lib/duet/{p-2c09d10f.entry.js → p-430ef395.entry.js} +1 -1
  388. package/lib/duet/p-44b3eb2c.entry.js +4 -0
  389. package/lib/duet/{p-6bbb4dd9.entry.js → p-463b0d7a.entry.js} +1 -1
  390. package/lib/duet/{p-21fb0158.entry.js → p-48fb5298.entry.js} +1 -1
  391. package/lib/duet/{p-651d3dec.entry.js → p-4989501c.entry.js} +1 -1
  392. package/lib/duet/{p-98eddabd.entry.js → p-49b696b3.entry.js} +1 -1
  393. package/lib/duet/{p-dab809f9.entry.js → p-49b6f9a1.entry.js} +1 -1
  394. package/lib/duet/{p-e70e9c50.system.entry.js → p-4a54ae2a.system.entry.js} +2 -2
  395. package/lib/duet/{p-1c58f3a1.system.entry.js → p-4c44b9d0.system.entry.js} +1 -1
  396. package/lib/duet/p-4d81e7f6.system.js +4 -0
  397. package/lib/duet/{p-79bccb1f.system.entry.js → p-4e21f876.system.entry.js} +1 -1
  398. package/lib/duet/{p-c6497425.entry.js → p-51717f08.entry.js} +1 -1
  399. package/lib/duet/{p-4f87023e.entry.js → p-51fc30ef.entry.js} +1 -1
  400. package/lib/duet/{p-0f945464.entry.js → p-52746f84.entry.js} +1 -1
  401. package/lib/duet/p-52d80d96.js +4 -0
  402. package/lib/duet/{p-ce063cbd.system.entry.js → p-561dd467.system.entry.js} +1 -1
  403. package/lib/duet/p-564022f1.entry.js +4 -0
  404. package/lib/duet/{p-41bafdf1.system.entry.js → p-56bada0c.system.entry.js} +1 -1
  405. package/lib/duet/{p-1eed0b1c.system.entry.js → p-58d8549a.system.entry.js} +1 -1
  406. package/lib/duet/{p-bf62ea4a.entry.js → p-593df331.entry.js} +1 -1
  407. package/lib/duet/p-59777da7.system.js +4 -0
  408. package/lib/duet/{p-a0a43bf4.entry.js → p-5b583276.entry.js} +1 -1
  409. package/lib/duet/{p-5d2cba5e.system.entry.js → p-5c271084.system.entry.js} +1 -1
  410. package/lib/duet/{p-35580d9e.entry.js → p-5f678caa.entry.js} +1 -1
  411. package/lib/duet/{p-fc9148a1.entry.js → p-628a59a6.entry.js} +1 -1
  412. package/lib/duet/{p-38d5c9e6.entry.js → p-62cb44f1.entry.js} +1 -1
  413. package/lib/duet/{p-af0e060c.system.js → p-670f33d1.system.js} +1 -1
  414. package/lib/duet/p-6a4e23b5.entry.js +4 -0
  415. package/lib/duet/{p-0dac0f34.system.entry.js → p-6a718c27.system.entry.js} +1 -1
  416. package/lib/duet/{p-02922551.entry.js → p-6a900d10.entry.js} +1 -1
  417. package/lib/duet/{p-e50a2f96.system.js → p-6b99bf3d.system.js} +1 -1
  418. package/lib/duet/{p-1f5772a7.entry.js → p-6cf2b2b8.entry.js} +1 -1
  419. package/lib/duet/{p-d5ceec92.system.entry.js → p-6d5e6c51.system.entry.js} +1 -1
  420. package/lib/duet/{p-628dc72c.system.entry.js → p-6db869c9.system.entry.js} +1 -1
  421. package/lib/duet/{p-02785b42.system.entry.js → p-6f46b9da.system.entry.js} +1 -1
  422. package/lib/duet/{p-d8323868.entry.js → p-704b8b7e.entry.js} +1 -1
  423. package/lib/duet/{p-a820ff4d.system.entry.js → p-713918d1.system.entry.js} +1 -1
  424. package/lib/duet/{p-91df376b.entry.js → p-72ad70a2.entry.js} +1 -1
  425. package/lib/duet/{p-bf06650e.js → p-72b4c06f.js} +1 -1
  426. package/lib/duet/{p-5a144646.entry.js → p-75542e0e.entry.js} +1 -1
  427. package/lib/duet/{p-025452a3.system.entry.js → p-75e72c46.system.entry.js} +1 -1
  428. package/lib/duet/p-75fdf144.system.js +4 -0
  429. package/lib/duet/{p-3bffb004.system.entry.js → p-76c797cb.system.entry.js} +1 -1
  430. package/lib/duet/{p-1f45b3af.system.entry.js → p-78024429.system.entry.js} +1 -1
  431. package/lib/duet/p-7856f483.entry.js +4 -0
  432. package/lib/duet/{p-0aa18687.system.entry.js → p-786418b7.system.entry.js} +1 -1
  433. package/lib/duet/{p-0db9de80.system.entry.js → p-7a022fb4.system.entry.js} +1 -1
  434. package/lib/duet/{p-7053f582.entry.js → p-7be7fb2c.entry.js} +1 -1
  435. package/lib/duet/{p-33e24f0b.system.entry.js → p-7ce8fc32.system.entry.js} +2 -2
  436. package/lib/duet/{p-3c7d3755.entry.js → p-7d63b0c0.entry.js} +1 -1
  437. package/lib/duet/{p-61e21220.system.js → p-7fd0a219.system.js} +1 -1
  438. package/lib/duet/p-82680aa5.system.js +4 -0
  439. package/lib/duet/{p-5da25b76.entry.js → p-82733ff7.entry.js} +1 -1
  440. package/lib/duet/{p-f0354143.system.entry.js → p-834d6b2d.system.entry.js} +1 -1
  441. package/lib/duet/{p-32971abc.entry.js → p-83c0cfed.entry.js} +1 -1
  442. package/lib/duet/p-854605a6.js +4 -0
  443. package/lib/duet/{p-d064df5e.js → p-8637a449.js} +1 -1
  444. package/lib/duet/{p-c1a9ca3f.entry.js → p-86929bf6.entry.js} +1 -1
  445. package/lib/duet/{p-10bfafcf.entry.js → p-86d288e5.entry.js} +1 -1
  446. package/lib/duet/{p-587b5b14.system.entry.js → p-870a420d.system.entry.js} +1 -1
  447. package/lib/duet/p-89b2f873.system.js +4 -0
  448. package/lib/duet/{p-e06e9231.entry.js → p-89d45610.entry.js} +1 -1
  449. package/lib/duet/{p-b3b3b6d2.system.entry.js → p-89f89a39.system.entry.js} +1 -1
  450. package/lib/duet/{p-7013ce09.system.entry.js → p-8a9fb89c.system.entry.js} +1 -1
  451. package/lib/duet/p-8bb2ddda.entry.js +4 -0
  452. package/lib/duet/{p-8173dd50.system.entry.js → p-8cbe7888.system.entry.js} +2 -2
  453. package/lib/duet/{p-64709c5e.system.entry.js → p-8e7af8a4.system.entry.js} +1 -1
  454. package/lib/duet/p-8edc7ed6.entry.js +4 -0
  455. package/lib/duet/{p-00e5d987.system.entry.js → p-8f55b49a.system.entry.js} +2 -2
  456. package/lib/duet/{p-a6c30abd.entry.js → p-901f7bd1.entry.js} +1 -1
  457. package/lib/duet/{p-833d7be7.system.entry.js → p-903d05d9.system.entry.js} +1 -1
  458. package/lib/duet/{p-c9c52ec2.entry.js → p-914292d2.entry.js} +1 -1
  459. package/lib/duet/{p-9516f5fc.system.entry.js → p-91be5d76.system.entry.js} +1 -1
  460. package/lib/duet/{p-88317c08.entry.js → p-9361e0ff.entry.js} +1 -1
  461. package/lib/duet/{p-ca812b3c.entry.js → p-936f0051.entry.js} +1 -1
  462. package/lib/duet/{p-c4ea6d92.entry.js → p-961dc1b6.entry.js} +1 -1
  463. package/lib/duet/{p-987e96a5.entry.js → p-98af4e91.entry.js} +1 -1
  464. package/lib/duet/p-9921468e.entry.js +4 -0
  465. package/lib/duet/{p-5d7af988.system.js → p-99ffd1cf.system.js} +1 -1
  466. package/lib/duet/{p-9e73ce43.system.entry.js → p-9ae77fe6.system.entry.js} +1 -1
  467. package/lib/duet/{p-a157e1cc.entry.js → p-9dc97ec5.entry.js} +1 -1
  468. package/lib/duet/{p-2819123b.system.entry.js → p-a2f05f0b.system.entry.js} +1 -1
  469. package/lib/duet/{p-053c4b67.system.entry.js → p-a8527a22.system.entry.js} +1 -1
  470. package/lib/duet/{p-bca76d73.entry.js → p-aaa700a4.entry.js} +1 -1
  471. package/lib/duet/{p-7d861055.entry.js → p-ac643c4d.entry.js} +1 -1
  472. package/lib/duet/p-adcfa80c.system.entry.js +4 -0
  473. package/lib/duet/{p-c8df1d39.entry.js → p-af4c5e2b.entry.js} +1 -1
  474. package/lib/duet/{p-cc2adccb.system.entry.js → p-b083c7df.system.entry.js} +1 -1
  475. package/lib/duet/p-b1b64718.system.entry.js +4 -0
  476. package/lib/duet/{p-a445ce8a.entry.js → p-b4018154.entry.js} +1 -1
  477. package/lib/duet/p-b65f6339.system.js +4 -0
  478. package/lib/duet/{p-563804e0.system.entry.js → p-b728fce7.system.entry.js} +1 -1
  479. package/lib/duet/p-b84841d7.js +4 -0
  480. package/lib/duet/{p-14108f66.entry.js → p-baaa9e94.entry.js} +1 -1
  481. package/lib/duet/{p-d17b23fc.entry.js → p-be26ac3a.entry.js} +1 -1
  482. package/lib/duet/{p-fcf1b096.entry.js → p-c0020521.entry.js} +1 -1
  483. package/lib/duet/p-c157389b.system.entry.js +4 -0
  484. package/lib/duet/{p-89a1fa97.system.entry.js → p-c371758a.system.entry.js} +1 -1
  485. package/lib/duet/{p-8e0952b2.entry.js → p-c4e34a8e.entry.js} +1 -1
  486. package/lib/duet/{p-f074b245.entry.js → p-c60c40a2.entry.js} +1 -1
  487. package/lib/duet/{p-f787b33c.entry.js → p-c70b52b6.entry.js} +1 -1
  488. package/lib/duet/{p-8bf31541.system.entry.js → p-c9751b3c.system.entry.js} +1 -1
  489. package/lib/duet/{p-e9e4825a.system.entry.js → p-cb279bed.system.entry.js} +1 -1
  490. package/lib/duet/{p-0fa3c05b.entry.js → p-cd27da84.entry.js} +1 -1
  491. package/lib/duet/{p-91d5d8cb.entry.js → p-cff34f13.entry.js} +1 -1
  492. package/lib/duet/{p-f9be6c4a.system.entry.js → p-d06d2098.system.entry.js} +1 -1
  493. package/lib/duet/{p-386fdf47.system.entry.js → p-d3e245f0.system.entry.js} +2 -2
  494. package/lib/duet/{p-da1458e1.system.entry.js → p-d6368121.system.entry.js} +1 -1
  495. package/lib/duet/{p-903b934c.system.entry.js → p-d647ef97.system.entry.js} +1 -1
  496. package/lib/duet/{p-5638079e.system.entry.js → p-d6a2cc77.system.entry.js} +2 -2
  497. package/lib/duet/{p-82412ccb.entry.js → p-d6afc825.entry.js} +1 -1
  498. package/lib/duet/{p-705d56cf.entry.js → p-d8fadd2d.entry.js} +1 -1
  499. package/lib/duet/{p-474c40d9.system.entry.js → p-dc3646e2.system.entry.js} +1 -1
  500. package/lib/duet/p-e63f5ff5.js +4 -0
  501. package/lib/duet/{p-3c412042.system.entry.js → p-e6f40951.system.entry.js} +1 -1
  502. package/lib/duet/p-e70fad83.entry.js +4 -0
  503. package/lib/duet/{p-2a1dd592.entry.js → p-e8777cf4.entry.js} +1 -1
  504. package/lib/duet/{p-1bd4baef.system.entry.js → p-eb237688.system.entry.js} +1 -1
  505. package/lib/duet/{p-d32bd233.js → p-eb60efcc.js} +1 -1
  506. package/lib/duet/p-eb7b2984.system.entry.js +4 -0
  507. package/lib/duet/{p-b7a29ea3.system.entry.js → p-ebb0b51d.system.entry.js} +1 -1
  508. package/lib/duet/{p-0b74ce31.entry.js → p-ec22154d.entry.js} +1 -1
  509. package/lib/duet/{p-adeb1555.system.js → p-ed810e76.system.js} +1 -1
  510. package/lib/duet/{p-ef4fea1b.entry.js → p-edb65a28.entry.js} +1 -1
  511. package/lib/duet/{p-8cfba882.system.entry.js → p-f1beb947.system.entry.js} +1 -1
  512. package/lib/duet/{p-21090503.system.entry.js → p-f3587718.system.entry.js} +1 -1
  513. package/lib/duet/{p-e6c3d5b0.system.entry.js → p-f58cbc59.system.entry.js} +1 -1
  514. package/lib/duet/{p-7fe2a579.entry.js → p-f7b6fecb.entry.js} +1 -1
  515. package/lib/duet/{p-5b0acd52.system.entry.js → p-f835eb92.system.entry.js} +1 -1
  516. package/lib/duet/p-f89feeb2.entry.js +4 -0
  517. package/lib/duet/{p-723a5a2f.system.entry.js → p-f947b5c5.system.entry.js} +1 -1
  518. package/lib/duet/{p-fdf1fec8.entry.js → p-f9b9fbf5.entry.js} +1 -1
  519. package/lib/duet/{p-61f97ebd.system.entry.js → p-fae74a37.system.entry.js} +1 -1
  520. package/lib/duet/{p-67d84e6e.system.entry.js → p-fb9c9879.system.entry.js} +1 -1
  521. package/lib/duet/p-fbc59efc.js +4 -0
  522. package/lib/duet/{p-7b01ab6d.system.entry.js → p-fe9adf7c.system.entry.js} +1 -1
  523. package/lib/duet/{p-7ff43e10.system.entry.js → p-ff97f8e4.system.entry.js} +1 -1
  524. package/lib/esm/{a11y-utils-e494647a.js → a11y-utils-87967050.js} +1 -1
  525. package/lib/esm/{app-globals-ba36fb7c.js → app-globals-db5be99e.js} +1 -1
  526. package/lib/esm/duet-action-button.entry.js +4 -4
  527. package/lib/esm/duet-alert.entry.js +4 -4
  528. package/lib/esm/duet-badge.entry.js +4 -4
  529. package/lib/esm/duet-banner.entry.js +7 -7
  530. package/lib/esm/duet-breadcrumb.entry.js +7 -7
  531. package/lib/esm/duet-breadcrumbs.entry.js +6 -6
  532. package/lib/esm/duet-button_2.entry.js +12 -12
  533. package/lib/esm/duet-callout.entry.js +5 -5
  534. package/lib/esm/duet-caption_4.entry.js +13 -12
  535. package/lib/esm/duet-card.entry.js +4 -4
  536. package/lib/esm/duet-checkbox.entry.js +2 -2
  537. package/lib/esm/duet-checkmark.entry.js +4 -4
  538. package/lib/esm/duet-chip.entry.js +3 -3
  539. package/lib/esm/duet-choice_2.entry.js +4 -4
  540. package/lib/esm/duet-collapsible.entry.js +4 -4
  541. package/lib/esm/duet-combobox.entry.js +4 -4
  542. package/lib/esm/duet-contact-card.entry.js +5 -5
  543. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  544. package/lib/esm/duet-date-picker.entry.js +5 -5
  545. package/lib/esm/duet-divider_2.entry.js +4 -4
  546. package/lib/esm/duet-editable-table_3.entry.js +9 -9
  547. package/lib/esm/duet-empty-state.entry.js +2 -2
  548. package/lib/esm/duet-fieldset.entry.js +6 -6
  549. package/lib/esm/duet-file-chooser.entry.js +2 -2
  550. package/lib/esm/duet-footer.entry.js +4 -4
  551. package/lib/esm/duet-grid_2.entry.js +2 -2
  552. package/lib/esm/duet-header_2.entry.js +50 -12
  553. package/lib/esm/duet-hero.entry.js +4 -4
  554. package/lib/esm/duet-icon.entry.js +7 -7
  555. package/lib/esm/duet-input_2.entry.js +6 -6
  556. package/lib/esm/duet-layout.entry.js +2 -2
  557. package/lib/esm/duet-list_2.entry.js +4 -4
  558. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  559. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  560. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  561. package/lib/esm/duet-menu-bar-item.entry.js +7 -7
  562. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  563. package/lib/esm/duet-menu-bar.entry.js +11 -42
  564. package/lib/esm/duet-modal.entry.js +39 -20
  565. package/lib/esm/duet-multiselect.entry.js +9 -9
  566. package/lib/esm/duet-nav.entry.js +3 -3
  567. package/lib/esm/duet-notification_2.entry.js +7 -7
  568. package/lib/esm/duet-number-input.entry.js +11 -7
  569. package/lib/esm/duet-overlay.entry.js +3 -3
  570. package/lib/esm/duet-page-heading.entry.js +5 -5
  571. package/lib/esm/duet-pagination_2.entry.js +17 -17
  572. package/lib/esm/duet-panel.entry.js +43 -0
  573. package/lib/esm/duet-phone-input.entry.js +4 -4
  574. package/lib/esm/duet-popup-menu_2.entry.js +6 -6
  575. package/lib/esm/duet-progress.entry.js +3 -3
  576. package/lib/esm/duet-promo-card.entry.js +6 -6
  577. package/lib/esm/duet-radio_2.entry.js +3 -3
  578. package/lib/esm/duet-range-slider.entry.js +2 -2
  579. package/lib/esm/duet-scrollable_3.entry.js +14 -14
  580. package/lib/esm/duet-section-layout.entry.js +4 -4
  581. package/lib/esm/duet-select.entry.js +4 -4
  582. package/lib/esm/duet-shaped-image.entry.js +4 -4
  583. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  584. package/lib/esm/duet-share-chart.entry.js +7 -7
  585. package/lib/esm/duet-show-more.entry.js +5 -5
  586. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  587. package/lib/esm/duet-slideout-link.entry.js +7 -7
  588. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  589. package/lib/esm/duet-slideout-panel.entry.js +12 -12
  590. package/lib/esm/duet-slideout.entry.js +10 -10
  591. package/lib/esm/duet-status-icon.entry.js +4 -4
  592. package/lib/esm/duet-step_2.entry.js +4 -4
  593. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  594. package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
  595. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  596. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  597. package/lib/esm/duet-submenu-bar.entry.js +8 -8
  598. package/lib/esm/duet-textarea.entry.js +4 -4
  599. package/lib/esm/duet-toggle.entry.js +2 -2
  600. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  601. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  602. package/lib/esm/duet-toolbar-item.entry.js +8 -8
  603. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  604. package/lib/esm/duet-toolbar.entry.js +4 -4
  605. package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
  606. package/lib/esm/duet-tooltip.entry.js +4 -4
  607. package/lib/esm/duet-tray.entry.js +5 -5
  608. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  609. package/lib/esm/duet-upload-item.entry.js +6 -6
  610. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  611. package/lib/esm/duet.js +4 -4
  612. package/lib/esm/{errorcodes.utils-f1b68042.js → errorcodes.utils-f17cc5a4.js} +1 -1
  613. package/lib/esm/{focus-utils-b131ac81.js → focus-utils-28046c5d.js} +1 -1
  614. package/lib/esm/{index-822baec2.js → index-04630419.js} +5 -1
  615. package/lib/esm/{language-utils-2038d09e.js → language-utils-7caf2c7c.js} +1 -1
  616. package/lib/esm/loader.js +4 -4
  617. package/lib/esm/{slot-utils-5410a171.js → slot-utils-e3cda10f.js} +1 -1
  618. package/lib/esm/{themeable-component-4e1ca2f5.js → themeable-component-ddf67193.js} +14 -2
  619. package/lib/esm/{token-utils-7360bb84.js → token-utils-06ae5c10.js} +103 -8
  620. package/lib/esm/{tokens-85fb95d1.js → tokens-57aa1508.js} +1 -1
  621. package/lib/esm-es5/{a11y-utils-e494647a.js → a11y-utils-87967050.js} +1 -1
  622. package/lib/esm-es5/{app-globals-ba36fb7c.js → app-globals-db5be99e.js} +1 -1
  623. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  624. package/lib/esm-es5/duet-alert.entry.js +1 -1
  625. package/lib/esm-es5/duet-badge.entry.js +1 -1
  626. package/lib/esm-es5/duet-banner.entry.js +1 -1
  627. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  628. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  629. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  630. package/lib/esm-es5/duet-callout.entry.js +1 -1
  631. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  632. package/lib/esm-es5/duet-card.entry.js +1 -1
  633. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  634. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  635. package/lib/esm-es5/duet-chip.entry.js +1 -1
  636. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  637. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  638. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  639. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  640. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  641. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  642. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  643. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  644. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  645. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  646. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  647. package/lib/esm-es5/duet-footer.entry.js +1 -1
  648. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  649. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  650. package/lib/esm-es5/duet-hero.entry.js +1 -1
  651. package/lib/esm-es5/duet-icon.entry.js +1 -1
  652. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  653. package/lib/esm-es5/duet-layout.entry.js +1 -1
  654. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  655. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  656. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  657. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  658. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  659. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  660. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  661. package/lib/esm-es5/duet-modal.entry.js +2 -2
  662. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  663. package/lib/esm-es5/duet-nav.entry.js +1 -1
  664. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  665. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  666. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  667. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  668. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  669. package/lib/esm-es5/duet-panel.entry.js +4 -0
  670. package/lib/esm-es5/duet-phone-input.entry.js +1 -1
  671. package/lib/esm-es5/duet-popup-menu_2.entry.js +1 -1
  672. package/lib/esm-es5/duet-progress.entry.js +1 -1
  673. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  674. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  675. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  676. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  677. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  678. package/lib/esm-es5/duet-select.entry.js +1 -1
  679. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  680. package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
  681. package/lib/esm-es5/duet-share-chart.entry.js +1 -1
  682. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  683. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  684. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  685. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
  686. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  687. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  688. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  689. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  690. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  691. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  692. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  693. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  694. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  695. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  696. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  697. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  698. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  699. package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
  700. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  701. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  702. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  703. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  704. package/lib/esm-es5/duet-tray.entry.js +1 -1
  705. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  706. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  707. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  708. package/lib/esm-es5/duet.js +1 -1
  709. package/lib/esm-es5/{errorcodes.utils-f1b68042.js → errorcodes.utils-f17cc5a4.js} +1 -1
  710. package/lib/esm-es5/focus-utils-28046c5d.js +4 -0
  711. package/lib/esm-es5/index-04630419.js +4 -0
  712. package/lib/esm-es5/{language-utils-2038d09e.js → language-utils-7caf2c7c.js} +1 -1
  713. package/lib/esm-es5/loader.js +1 -1
  714. package/lib/esm-es5/{slot-utils-5410a171.js → slot-utils-e3cda10f.js} +1 -1
  715. package/lib/esm-es5/themeable-component-ddf67193.js +4 -0
  716. package/lib/esm-es5/token-utils-06ae5c10.js +4 -0
  717. package/lib/esm-es5/{tokens-85fb95d1.js → tokens-57aa1508.js} +1 -1
  718. package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
  719. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
  720. package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
  721. package/lib/types/components/duet-number-input/duet-number-input.d.ts +3 -1
  722. package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
  723. package/lib/types/components.d.ts +112 -4
  724. package/lib/types/utils/token-utils.d.ts +4 -0
  725. package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
  726. package/package.json +4 -4
  727. package/lib/duet/p-0454a8c6.entry.js +0 -4
  728. package/lib/duet/p-0a7ee399.js +0 -4
  729. package/lib/duet/p-0e7cf850.js +0 -4
  730. package/lib/duet/p-11f51d65.entry.js +0 -4
  731. package/lib/duet/p-1c8887ea.entry.js +0 -4
  732. package/lib/duet/p-23eb5520.entry.js +0 -4
  733. package/lib/duet/p-242bcacd.system.js +0 -4
  734. package/lib/duet/p-27219a43.js +0 -4
  735. package/lib/duet/p-3b7bc2eb.entry.js +0 -4
  736. package/lib/duet/p-437e64f1.system.entry.js +0 -4
  737. package/lib/duet/p-4bb9c12b.system.entry.js +0 -4
  738. package/lib/duet/p-4c6198ef.system.entry.js +0 -4
  739. package/lib/duet/p-4ca291e2.entry.js +0 -4
  740. package/lib/duet/p-4e9fc9dc.system.js +0 -4
  741. package/lib/duet/p-586ba4e6.system.entry.js +0 -4
  742. package/lib/duet/p-594f7ff9.entry.js +0 -4
  743. package/lib/duet/p-5de30279.js +0 -4
  744. package/lib/duet/p-6916bba8.entry.js +0 -4
  745. package/lib/duet/p-78376f40.system.entry.js +0 -4
  746. package/lib/duet/p-8d5ebdab.system.entry.js +0 -4
  747. package/lib/duet/p-9508ee67.system.js +0 -4
  748. package/lib/duet/p-9d336f77.system.js +0 -4
  749. package/lib/duet/p-b159c0a9.entry.js +0 -4
  750. package/lib/duet/p-b9189fc1.js +0 -4
  751. package/lib/duet/p-c1884875.entry.js +0 -4
  752. package/lib/duet/p-c1c77f83.entry.js +0 -4
  753. package/lib/duet/p-d64b13f1.system.entry.js +0 -4
  754. package/lib/duet/p-d80ae90e.system.js +0 -4
  755. package/lib/duet/p-dff0867d.system.js +0 -4
  756. package/lib/duet/p-f0566568.entry.js +0 -4
  757. package/lib/duet/p-f528fb99.entry.js +0 -4
  758. package/lib/duet/p-f713c32c.entry.js +0 -4
  759. package/lib/duet/p-feb01054.entry.js +0 -4
  760. package/lib/esm-es5/focus-utils-b131ac81.js +0 -4
  761. package/lib/esm-es5/index-822baec2.js +0 -4
  762. package/lib/esm-es5/themeable-component-4e1ca2f5.js +0 -4
  763. package/lib/esm-es5/token-utils-7360bb84.js +0 -4
@@ -22,6 +22,18 @@ const inheritGlobalTheme = (component) => {
22
22
  component.theme = theme[2] === "default" ? "" : theme[2];
23
23
  }
24
24
  };
25
+ const getObservingElements = (rootElement) => {
26
+ const elements = Array.from(rootElement.querySelectorAll(".duet-theme-observer"));
27
+ if (rootElement.shadowRoot) {
28
+ elements.push(...getObservingElements(rootElement.shadowRoot));
29
+ }
30
+ elements.forEach(nestedElement => {
31
+ if (nestedElement.shadowRoot) {
32
+ elements.push(...getObservingElements(nestedElement.shadowRoot));
33
+ }
34
+ });
35
+ return elements;
36
+ };
25
37
  const setAllObservingElementsTheme = (mutations) => {
26
38
  mutations.forEach(mutation => {
27
39
  var _a, _b, _c;
@@ -33,7 +45,7 @@ const setAllObservingElementsTheme = (mutations) => {
33
45
  const themeParts = /(duet-theme-)([a-z0-9]*)/gi.exec(classList);
34
46
  const theme = (themeParts === null || themeParts === void 0 ? void 0 : themeParts.length) > 2 && themeParts[2].startsWith("turva") ? "turva" : "";
35
47
  const isTurva2 = classList.includes("duet-theme-turva2");
36
- const elements = Array.from(document.querySelectorAll("body .duet-theme-observer"));
48
+ const elements = getObservingElements(document.body);
37
49
  elements.forEach(el => {
38
50
  el.theme = theme;
39
51
  if (isTurva2) {
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-daa2778f.js';
5
- import { i as inheritGlobalTheme } from './p-6f57e174.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-fddb3ec1.js';
5
+ import { i as inheritGlobalTheme } from './p-3757c660.js';
6
6
  import { c as createID } from './p-5e59e970.js';
7
7
  import { h as hasSlot } from './p-f21662ea.js';
8
- import { d as defineCustomElement$1 } from './p-b34c0bc0.js';
8
+ import { d as defineCustomElement$1 } from './p-dc970fdb.js';
9
9
 
10
10
  const duetFieldsetCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:block;width:100%}:host(.duet-m-0){margin:0 !important}fieldset{position:relative;width:100%;min-width:0;border:0}fieldset legend{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-legend-wrapper{position:relative;display:block;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;background:transparent}.duet-legend-wrapper.duet-legend-compact:not(.duet-legend-has-caption){line-height:1.25}.duet-theme-turva .duet-legend-wrapper{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-fieldset-label{margin-bottom:12px !important;margin-top:8px}.duet-legend-has-caption .duet-fieldset-label{margin-bottom:6px !important}.duet-legend-has-tooltip .duet-fieldset-label{padding-right:36px}@media (min-width: 48em){.duet-legend-has-tooltip .duet-fieldset-label{margin-bottom:3px !important;padding-right:0}}@media (min-width: 48em){.duet-legend-has-tooltip.duet-legend-has-caption .duet-fieldset-label{margin-bottom:-3px !important}}.duet-fieldset-caption{margin-bottom:12px !important}.duet-fieldset-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-fieldset-help span{display:block;margin-top:12px}.duet-fieldset-help span.duet-m-0{margin-top:0}.duet-theme-turva .duet-fieldset-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(214, 28, 82)}::slotted(duet-tooltip){position:absolute;top:4px;right:0}@media (min-width: 48em){::slotted(duet-tooltip){position:relative;right:auto}}.duet-legend-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-legend-wrapper{color:#172a3b}";
11
11
  const DuetFieldsetStyle0 = duetFieldsetCss;
@@ -53,20 +53,20 @@ const DuetFieldset = /*@__PURE__*/ proxyCustomElement(class DuetFieldset extends
53
53
  * Always the last one in the class.
54
54
  */
55
55
  render() {
56
- return (h(Host, { key: 'f726d0b72feacdec4db21ae0411101dfc7f0d3d3', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: '6bb1c19ea550def43a5f03221baf3ee8af180bb5', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
56
+ return (h(Host, { key: 'faf60f2966a89f4867cf37db394585f73fff686e', class: { "duet-m-0": this.margin === "none" } }, h("fieldset", { key: 'f020b6ec6801a8b83c9a5bc93a43d7a35d7506ce', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
57
57
  // NVDA and VoiceOver do not yet support aria-errormessage
58
58
  // once they do, we can remove errors from the aria-describedby
59
59
  // aria-errormessage={this.error ? this.errorId : null}
60
60
  class: {
61
61
  "duet-fieldset": true,
62
62
  "duet-theme-turva": this.theme === "turva",
63
- } }, h("legend", { key: '1676e322f31fd9fa58a55f8ed0c6dda84732b52c', id: this.labelId }, h(this.labelHeadingLevel, { key: '99da350e5e2c8711a9630f0e1d4d2febe240866e' }, this.label), this.caption && h("span", { key: '8fc86022dd8eaf22ce4bb2c12462536dac3a8beb' }, this.caption)), h("div", { key: '031289135288fcf2c770b83af8eff5210074fe06', class: {
63
+ } }, h("legend", { key: '66b5ccbde158c98f27fbc6a46a4e6a6df23ff898', id: this.labelId }, h(this.labelHeadingLevel, { key: '45be33f32735066278ab2b9f3b809014d0f9676b' }, this.label), this.caption && h("span", { key: 'e544fb508d9001319a7f3a4f3b4b5ec8166f8025' }, this.caption)), h("div", { key: 'f0ad41b915201af1a2f9d95e9f9829d0bfdae2e6', class: {
64
64
  "duet-legend-wrapper": true,
65
65
  "duet-legend-has-caption": !!this.caption,
66
66
  "duet-legend-has-tooltip": this.hasTooltip,
67
67
  "duet-legend-hidden": this.labelHidden,
68
68
  "duet-legend-compact": this.compactLabel,
69
- } }, h("div", { key: 'bc8f52a6b862528563d84d3006e75b5c5ca2d6a2', class: "duet-fieldset-label" }, h("span", { key: '4cb146f9f8117839d0bd9905eea641c5fc621df7', "aria-hidden": "true" }, this.label), h("slot", { key: '772582e335f1b7ab97444562aec5fdef6693b329', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: 'f7f14842a6810b614d216fd52a82f45c0a0679b9', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: '1475746ae64b82e0f2f0873f07856a3a194c2a08', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: '33fc5d538526077ceb6e8440953ff87c24af2f93' }), h("span", { key: '578b464392328627dae2d27f9ebadaf466fb4ce3', class: "duet-fieldset-help duet-fieldset-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'df8510c53b94b5a76fc6f0eba822034661427631', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
69
+ } }, h("div", { key: '5a632f1718ae040c523fec5d67abe8b7150c62a6', class: "duet-fieldset-label" }, h("span", { key: '96af5bd097ce6c732cabfeeed24ad70acbc0242f', "aria-hidden": "true" }, this.label), h("slot", { key: 'a9d4abbfbc6586fc072f15d0ada1e0678581eea3', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (h("div", { key: '09060f463be57b59b6a313dbf51961197a567f40', class: "duet-fieldset-caption", "aria-hidden": "true" }, h("duet-caption", { key: 'd5f8281d4970d4e26290d3163188afea4b286694', theme: this.theme, margin: "none" }, this.caption)))), h("slot", { key: '3e8180e636e2ec3000f4d21dd9ee50dc12f396f6' }), h("span", { key: 'fc0dc472b4ef27d06a1272f621c936f14ffa1de4', class: "duet-fieldset-help duet-fieldset-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '8586a6c9b1a32ed3e780a0d7233664bce741c3b6', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
70
70
  }
71
71
  get element() { return this; }
72
72
  static get style() { return DuetFieldsetStyle0; }
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-daa2778f.js';
5
- import { i as inheritGlobalTheme } from './p-6f57e174.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-fddb3ec1.js';
5
+ import { i as inheritGlobalTheme } from './p-3757c660.js';
6
6
  import { h as hasSlot, a as getElementsFromDefaultSlot } from './p-f21662ea.js';
7
- import { d as defineCustomElement$4 } from './p-1a647490.js';
8
- import { d as defineCustomElement$3 } from './p-16f01714.js';
9
- import { d as defineCustomElement$2 } from './p-6f969e11.js';
10
- import { d as defineCustomElement$1 } from './p-14f9f7a0.js';
7
+ import { d as defineCustomElement$4 } from './p-65300e85.js';
8
+ import { d as defineCustomElement$3 } from './p-d5c72ea3.js';
9
+ import { d as defineCustomElement$2 } from './p-9f715fa9.js';
10
+ import { d as defineCustomElement$1 } from './p-36f6ec52.js';
11
11
 
12
12
  const duetScrollableCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{position:relative;display:flex}:host .duet-scrollable-items.buttons .duet-scrollable-button-container{position:relative;flex:0 0 auto;flex-basis:40px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--occluded{flex-basis:0;flex-shrink:1;width:0;padding:10px 0;overflow:hidden;visibility:hidden}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute{position:absolute;top:0;z-index:210;width:auto;height:100%;padding:0 16px;background-color:rgb(255, 255, 255)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.left{left:0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.right{right:0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button{position:absolute;display:flex;flex:0 0 auto;flex-basis:40px;align-items:center;height:100%;cursor:pointer;transition:transform 300ms ease}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button:active duet-icon{transition:transform 300ms ease;transform:scale(0.8)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--left{left:0;padding:10px 10px 10px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--right{right:0;padding:10px 0 10px 10px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--top{align-items:flex-start}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--bottom{align-items:flex-end}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute{padding:0 7px;border:1px solid rgb(212, 223, 229)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--left{border-radius:8px 0 0 8px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--right{border-radius:0 8px 8px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(0, 119, 179);border-width:2px;}.duet-theme-turva :host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button[hidden]{display:none !important}:host .duet-scrollable-items.duet-theme-turva .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;padding-inline:10px;margin-inline:-10px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;-webkit-mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);-webkit-mask-size:50% 100%, 50% 100%;-webkit-mask-position:left, right;-webkit-mask-repeat:no-repeat;mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);mask-size:50% 100%, 50% 100%;mask-position:left, right;mask-repeat:no-repeat;}:host .duet-scrollable-items .duet-scrollable-list--absolute{padding-right:0;padding-left:2px;margin-inline:0;-webkit-mask:none !important;mask:none !important}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items .duet-scrollable-list.gap-none{gap:0}:host .duet-scrollable-items .duet-scrollable-list.gap-large{gap:20px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--xx-small{padding-top:4px;padding-bottom:4px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--x-small{padding-top:8px;padding-bottom:8px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--small{padding-top:12px;padding-bottom:12px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--medium{padding-top:16px;padding-bottom:16px}:host .duet-scrollable-items .duet-scrollable-list.duet-scrollable-stretch{width:100%}:host .duet-scrollable-items.center{justify-content:center}:host .duet-scrollable-items.center .duet-scrollable-list.collapsed{justify-content:center}.collapse{width:100%;text-align:center}.collapse.hide{visibility:hidden}::slotted(*){flex-shrink:0;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;scroll-snap-align:center}:host(.duet-theme-turva2) .duet-theme-turva .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:#7891a4}:host(.duet-theme-turva2) .duet-scrollable-items.duet-theme-turva .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:#7891a4}";
13
13
  const DuetScrollableStyle0 = duetScrollableCss;
@@ -235,18 +235,18 @@ const DuetScrollable = /*@__PURE__*/ proxyCustomElement(class DuetScrollable ext
235
235
  * Always the last one in the class.
236
236
  */
237
237
  render() {
238
- return (h(Host, { key: 'fc5cbda348d0355f0d099d89dd8418207b762788', class: {
238
+ return (h(Host, { key: '6901fea371dda6fd20b8c14a15f007356a4f0a38', class: {
239
239
  "duet-theme-turva": this.theme === "turva",
240
240
  "duet-theme-default": this.theme === "default",
241
- } }, this.hasCollapseButtonLabelSlot && (h("div", { key: '3e9bd6fc04f24564eb9cb3a6a2810a4eae817316', class: {
241
+ } }, this.hasCollapseButtonLabelSlot && (h("div", { key: '59b5b0b6b1a791fadf53a07f33466cb10ed3dedb', class: {
242
242
  collapse: true,
243
243
  hide: !this.needsScrolling && !this.collapsed,
244
- } }, h("duet-button", { key: 'bb24a52b6f19eb479d5d89611382093095eec895', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, h("slot", { key: '3f0973a591d40475081199c18df434406de413c4', name: "collapse-button-label" })))), h("div", { key: '7fecc01c6395afef2353c3eb4e3447c1e019daf1', class: {
244
+ } }, h("duet-button", { key: 'ef2ce19aa8cbf5829d7f54d3b79a53d84e79f4a3', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, h("slot", { key: '2c0f7231015097adadcd7143cef863b8c75da68c', name: "collapse-button-label" })))), h("div", { key: 'efdef383e022816af6dfd91ae609ab81d5ef1fa1', class: {
245
245
  "duet-scrollable-items": true,
246
246
  buttons: this.buttons,
247
247
  center: this.center,
248
248
  "duet-theme-turva": this.theme === "turva",
249
- } }, this.buttons && this.renderButton("left"), h("div", { key: 'eef96129135056ddd374f36b2aa85e385a675dca', class: {
249
+ } }, this.buttons && this.renderButton("left"), h("div", { key: 'a429707e2ff1d17f2865300ee65a42c1ff4217f1', class: {
250
250
  "duet-scrollable-list": true,
251
251
  [`duet-scrollable-list--${this.buttonPosition}`]: true,
252
252
  [`gap-${this.gap}`]: true,
@@ -254,7 +254,7 @@ const DuetScrollable = /*@__PURE__*/ proxyCustomElement(class DuetScrollable ext
254
254
  [`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
255
255
  [`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
256
256
  "duet-scrollable-stretch": this.stretch,
257
- }, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: 'd7b6a4370e3ab8766a882fd00768e71266f2f4b1' })), this.buttons && this.renderButton("right"))));
257
+ }, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, h("slot", { key: '792a604368bc6fe33577173b8986babb17e95050' })), this.buttons && this.renderButton("right"))));
258
258
  }
259
259
  get element() { return this; }
260
260
  static get watchers() { return {
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-daa2778f.js';
4
+ import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-fddb3ec1.js';
5
5
  import { a as actionNewWindowSmall } from './p-f11208c3.js';
6
6
  import { D as DuetStringsExternalDefaults, b as DuetStringsDownloadLinkDefaults } from './p-9b044291.js';
7
- import { i as inheritGlobalTheme } from './p-6f57e174.js';
7
+ import { i as inheritGlobalTheme } from './p-3757c660.js';
8
8
  import { g as getAccessibleLinkLabel } from './p-1e3171d9.js';
9
9
  import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-d9b2e80e.js';
10
- import { g as getColorByName } from './p-77260ba8.js';
11
- import { d as defineCustomElement$1 } from './p-16f01714.js';
10
+ import { g as getColorByName } from './p-499da71e.js';
11
+ import { d as defineCustomElement$1 } from './p-d5c72ea3.js';
12
12
 
13
13
  var actionArrowRight={"title":"action-arrow-right","tags":"action arrow right caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M5.499 24a.752.752 0 0 1-.53-1.281L15.689 12 4.969 1.28c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53c.141-.142.33-.22.53-.22s.389.078.53.22l10.72 10.72a1.5 1.5 0 0 1 .001 2.119L6.029 23.78a.743.743 0 0 1-.53.22z\"/></svg>"};
14
14
 
@@ -126,12 +126,13 @@ const DuetLink = /*@__PURE__*/ proxyCustomElement(class DuetLink extends H {
126
126
  * Always the last one in the class.
127
127
  */
128
128
  render() {
129
- const Tag = !this.url ? "button" : "a";
129
+ const Tag = !this.url && this.variation !== "default" ? "button" : "a";
130
+ const role = !this.url && this.variation === "default" ? "button" : null;
130
131
  const isButton = Tag === "button";
131
- return (h(Host, { key: '4a88142674554658affc1d30f3768a219fe6cf81', class: {
132
+ return (h(Host, { key: 'd248d82ba7bfbff36991e0556e609b323b6014c6', class: {
132
133
  [`duet-link-${this.variation}`]: true,
133
134
  "duet-m-0": this.margin === "none",
134
- } }, h(Tag, { key: 'af4ce006460b99458976ab723981aeefc1cd0c84', href: this.url, class: {
135
+ } }, h(Tag, { key: '2ae7983d8583c570630c527645ff52c3ddeba010', href: this.url, class: {
135
136
  "duet-link": true,
136
137
  "duet-link-is-external": this.external,
137
138
  "duet-link-is-download": !!this.download,
@@ -142,7 +143,7 @@ const DuetLink = /*@__PURE__*/ proxyCustomElement(class DuetLink extends H {
142
143
  "duet-p-0": this.padding === "none",
143
144
  [this.padding]: true,
144
145
  [this.variation]: true,
145
- }, target: this.download || !this.url ? null : this.external ? "_blank" : "_self", download: this.resolvedDownload, "aria-label": this.ariaLabel, "aria-expanded": this.accessibleExpanded != null && isButton ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null && isButton ? this.accessiblePopup.toString() : undefined, id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined }, this.renderContent())));
146
+ }, target: this.download || !this.url ? null : this.external ? "_blank" : "_self", download: this.resolvedDownload, "aria-label": this.ariaLabel, "aria-expanded": this.accessibleExpanded != null && isButton ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null && isButton ? this.accessiblePopup.toString() : undefined, id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined, role: role }, this.renderContent())));
146
147
  }
147
148
  static get delegatesFocus() { return true; }
148
149
  get element() { return this; }
@@ -3,7 +3,59 @@
3
3
  */
4
4
  import { m as mediaQueryXxSmall, a as mediaQueryXSmall, b as mediaQuerySmall, c as mediaQueryMedium, d as mediaQueryLarge, e as mediaQueryXLarge, f as mediaQueryXxLarge, g as mediaQueryXxxLarge, h as mediaQueryXxxSmall, t as tokens } from './p-6f42296b.js';
5
5
 
6
+ const turva2ColorTokens = {
7
+ "color-turva2-red-00": "#fff2f2",
8
+ "color-turva2-red-50": "#ffecec",
9
+ "color-turva2-red-100": "#ffe5e6",
10
+ "color-turva2-red-200": "#ffc9cc",
11
+ "color-turva2-red-300": "#f9a4ac",
12
+ "color-turva2-red-400": "#f37785",
13
+ "color-turva2-red-500": "#ec4560",
14
+ "color-turva2-red-600": "#e61740",
15
+ "color-turva2-red-700": "#b90329",
16
+ "color-turva2-red-800": "#8c001e",
17
+ "color-turva2-red-900": "#600014",
18
+ "color-turva2-red-1000": "#33000a",
19
+ "color-turva2-gray-00": "#f5f6f7",
20
+ "color-turva2-gray-50": "#e4e9ed",
21
+ "color-turva2-gray-100": "#d4dde2",
22
+ "color-turva2-gray-200": "#b2c2cd",
23
+ "color-turva2-gray-300": "#94a9b9",
24
+ "color-turva2-gray-400": "#7891a4",
25
+ "color-turva2-gray-500": "#5f7a8f",
26
+ "color-turva2-gray-600": "#48647a",
27
+ "color-turva2-gray-700": "#354f65",
28
+ "color-turva2-gray-800": "#253c50",
29
+ "color-turva2-gray-900": "#172a3b",
30
+ "color-turva2-gray-1000": "#061726",
31
+ "color-turva-nude-00": "#fdf7f2",
32
+ "color-turva-nude-50": "#fbebe1",
33
+ "color-turva-nude-100": "#fbe1d1",
34
+ "color-turva-nude-200": "#f1cab2",
35
+ "color-turva-nude-300": "#d8ae96",
36
+ "color-turva-nude-400": "#be937c",
37
+ "color-turva-nude-500": "#a57a65",
38
+ "color-turva-nude-600": "#8c624f",
39
+ "color-turva-nude-700": "#724c3c",
40
+ "color-turva-nude-800": "#59382b",
41
+ "color-turva-nude-900": "#40261c",
42
+ "color-turva-nude-1000": "#26150f",
43
+ };
44
+
6
45
  const allowedThemes = ["turva"];
46
+ const MATCH_CAPITAL_CASE = /[A-Z]/g;
47
+ function isTurva2() {
48
+ var _a;
49
+ if (typeof document === "undefined") {
50
+ return false;
51
+ }
52
+ return !!((_a = document.documentElement.attributes.getNamedItem("class")) === null || _a === void 0 ? void 0 : _a.value.includes("duet-theme-turva2"));
53
+ }
54
+ function isCamelCase(str) {
55
+ const camel = MATCH_CAPITAL_CASE.test(str);
56
+ const barredString = !str.includes("_") && !str.includes("-") && !str.includes(" ");
57
+ return camel && barredString;
58
+ }
7
59
  function isDashCase(str) {
8
60
  const dash = str.includes("-");
9
61
  const barredString = str.includes(" ") || str.includes("_");
@@ -49,18 +101,61 @@ function addTheme(str, theme) {
49
101
  }
50
102
  return str;
51
103
  }
104
+ /**
105
+ * Add "-turva" to color names (or "Turva" to camelCase color names)
106
+ */
107
+ function postfixTheme(name, theme) {
108
+ if (!name) {
109
+ return undefined;
110
+ }
111
+ if (["", "default"].includes(theme)) {
112
+ return name;
113
+ }
114
+ if ((isDashCase(name) && name.endsWith(`-${theme}`)) || (isCamelCase(name) && name.endsWith(capitalize(theme)))) {
115
+ return name;
116
+ }
117
+ if (tokens[`color${camelize(name)}${capitalizeFirstLetter(theme)}`]) {
118
+ return !isCamelCase(name) ? `${name}-${theme}` : `${name}${capitalize(theme)}`;
119
+ }
120
+ return name;
121
+ }
52
122
  function getColorByName(name, theme = "") {
53
123
  if (!name) {
54
124
  return undefined;
55
125
  }
56
- const defaultColor = convertToColorName(name);
57
- const themedColor = convertToColorName(name, theme);
58
- // lets just try to get the color first to save some cycles
59
- let resolvedToken = tokens[themedColor];
60
- if (!resolvedToken) {
61
- resolvedToken = tokens[defaultColor];
126
+ if ((theme === "turva" || name.endsWith("-turva")) && isTurva2()) {
127
+ switch (name.replace(/-turva$/, "")) {
128
+ case "primary-lightest":
129
+ return turva2ColorTokens["color-turva2-nude-00"];
130
+ case "primary-lighter":
131
+ return turva2ColorTokens["color-turva2-nude-50"];
132
+ case "primary-light":
133
+ return turva2ColorTokens["color-turva2-nude-200"];
134
+ case "primary":
135
+ return turva2ColorTokens["color-turva2-red-600"];
136
+ case "primary-darker":
137
+ return turva2ColorTokens["color-turva2-red-700"];
138
+ case "primary-dark":
139
+ return turva2ColorTokens["color-turva2-red-800"];
140
+ case "secondary":
141
+ return turva2ColorTokens["color-turva2-gray-900"];
142
+ case "gray-lighter":
143
+ return turva2ColorTokens["color-turva2-gray-00"];
144
+ case "gray-light":
145
+ return turva2ColorTokens["color-turva2-gray-100"];
146
+ case "gray":
147
+ return turva2ColorTokens["color-turva2-gray-200"];
148
+ case "gray-dark":
149
+ return turva2ColorTokens["color-turva2-gray-400"];
150
+ case "gray-darker":
151
+ return turva2ColorTokens["color-turva2-gray-500"];
152
+ // carry on to old turva colors
153
+ }
62
154
  }
63
- return resolvedToken;
155
+ const defaultColor = convertToColorName(name);
156
+ const themedColor = theme && convertToColorName(name, theme);
157
+ // return themed color if it exists
158
+ return tokens[themedColor] || tokens[defaultColor];
64
159
  }
65
160
  function convertToColorName(name = "", theme = "") {
66
161
  let colorResolution = name;
@@ -135,4 +230,4 @@ const breakpointToToken = {
135
230
  const breakpointTokensUpTo = Object.keys(breakpointToToken).filter(key => key.indexOf("x-small") !== -1);
136
231
  Object.keys(breakpointToToken).filter(key => !breakpointTokensUpTo.includes(key));
137
232
 
138
- export { breakpointToToken as a, breakpointTokensUpTo as b, capitalizeFirstLetter as c, getShadowByName as d, getColorByName as g, rgbaColorFromRgb as r, shadeRGBColor as s };
233
+ export { breakpointToToken as a, breakpointTokensUpTo as b, capitalizeFirstLetter as c, getShadowByName as d, getColorByName as g, postfixTheme as p, rgbaColorFromRgb as r, shadeRGBColor as s };
@@ -1,22 +1,39 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, d as Host } from './p-daa2778f.js';
4
+ import { p as proxyCustomElement, H, h, d as Host } from './p-fddb3ec1.js';
5
5
  import { k as colorGrayLightest, l as colorBrandGrayTurva, n as colorPrimaryTurva, o as colorPrimary } from './p-6f42296b.js';
6
- import { i as inheritGlobalTheme } from './p-6f57e174.js';
6
+ import { i as inheritGlobalTheme } from './p-3757c660.js';
7
7
  import { c as createID } from './p-5e59e970.js';
8
8
  import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-d9b2e80e.js';
9
9
 
10
- const duetLogoCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-logo{-webkit-user-select:none;user-select:none;display:block;width:154px;height:40px;border-radius:4px}.duet-logo:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-logo:focus,.duet-logo:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-logo.duet-logo-en{width:166px}.duet-logo.duet-logo-sv{width:167px}.duet-logo.duet-theme-turva{width:110px;height:40px}.duet-logo svg{display:block;width:100%;height:auto}.duet-logo.large{width:184.8px;height:48px}.duet-logo.large.duet-logo-en{width:199.2px}.duet-logo.large.duet-logo-sv{width:200.4px}.duet-logo.large.duet-theme-turva{width:149.6px;height:54.4px}:host(.duet-theme-turva2) .duet-logo{width:92px;height:22.2px}:host(.duet-theme-turva2) .duet-logo.large{width:124.3243243243px;height:30px}";
10
+ const duetLogoCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-logo{-webkit-user-select:none;user-select:none;display:block;width:154px;height:40px;border-radius:4px}.duet-logo:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-logo:focus,.duet-logo:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-logo.duet-logo-en{width:166px}.duet-logo.duet-logo-sv{width:167px}.duet-logo.duet-theme-turva{width:110px;height:40px}.duet-logo svg{display:block;width:100%;height:auto}.duet-logo.large{width:184.8px;height:48px}.duet-logo.large.duet-logo-en{width:199.2px}.duet-logo.large.duet-logo-sv{width:200.4px}.duet-logo.large.duet-theme-turva{width:149.6px;height:54.4px}.duet-logo.duet-logo-only-symbol{width:28px;height:28px}:host(.duet-theme-turva2) .duet-logo{width:92px;height:22.2px}:host(.duet-theme-turva2) .duet-logo.large{width:124.3243243243px;height:30px}:host(.duet-theme-turva2) .duet-logo.duet-logo-only-symbol{width:28px;height:28px}";
11
11
  const DuetLogoStyle0 = duetLogoCss;
12
12
 
13
+ const getTurva2 = () => { var _a; return (_a = document.documentElement.attributes.getNamedItem("class")) === null || _a === void 0 ? void 0 : _a.value.includes("duet-theme-turva2"); };
13
14
  const TurvaLogo = ({ inverse, logoId }) => {
14
- var _a;
15
15
  const logoColor = inverse ? colorGrayLightest : colorBrandGrayTurva;
16
16
  const textColor = inverse ? colorGrayLightest : colorPrimaryTurva;
17
17
  const turva2LogoColor = inverse ? colorGrayLightest : "#e61740"; // turva2-red-600 - hard coded as not yet available as token
18
+ const isTurva2 = getTurva2();
19
+ return isTurva2 ? (h("svg", { role: "img", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": logoId, viewBox: "0 0 460 111" }, h("title", { id: logoId }, "Turva"), h("path", { fill: turva2LogoColor, d: "M376.31,6.532L353.12,6.532C351.181,6.585 348.968,6.454 348.169,8.504L335.005,45.585C335.005,45.585 332.621,52.566 331.6,56.371C330.84,59.194 327.113,59.305 326.432,56.299C325.588,52.559 323.119,45.637 323.119,45.637L311.311,9.316C310.439,6.572 308.979,6.539 306.53,6.539L279.678,6.539C277.262,6.539 277.537,7.803 277.963,8.884L313.177,98.22C314.323,101.049 315.633,101.455 317.945,101.455L338.98,101.455C341.869,101.455 342.707,99.195 343.132,98.22L378.425,9.715C378.773,8.818 379.362,6.539 376.297,6.539L376.31,6.532Z" }), h("path", { fill: turva2LogoColor, d: "M459.516,96.346C454.277,83.268 433.732,31.15 425.821,9.722C424.662,6.821 423.686,6.539 421.689,6.539L399.651,6.539C397.647,6.539 396.783,7.541 395.885,9.925C387.024,33.495 362.341,94.31 361.535,96.346C360.704,98.455 360.717,101.455 363.277,101.455L387.358,101.455C389.52,101.455 389.827,100.63 391.032,98.22C391.36,97.558 394.097,91.461 395.034,89.103C395.329,88.357 396.049,87.872 396.848,87.872L422.298,87.813C423.084,87.813 423.791,88.271 424.099,88.992C425.225,91.605 428.598,98.815 428.932,99.621C429.574,101.167 430.235,101.455 432.095,101.455L457.768,101.455C460.328,101.455 460.341,98.455 459.51,96.346L459.516,96.346ZM417.916,66.253L402.559,66.286C401.144,66.286 400.463,65.075 400.974,63.529C401.308,62.52 408.224,43.574 408.551,42.611C408.551,42.592 408.571,42.579 408.584,42.559C408.925,41.485 409.272,40.365 409.501,39.507C409.809,38.354 411.452,38.387 411.714,39.553C411.898,40.352 412.376,41.937 412.52,42.408C413.064,44.209 419.449,63.313 419.508,63.49C420.019,65.035 419.344,66.247 417.923,66.247L417.916,66.253Z" }), h("path", { fill: turva2LogoColor, d: "M162.312,28.57L162.312,27.3C162.312,25.734 163.838,24.719 165.122,25.44C168.953,27.575 173.662,29.389 178.96,30.843C179.432,30.974 179.897,30.613 179.897,30.129L179.897,9.748C179.897,7.148 179.327,6.46 176.616,6.46L153.15,6.46C150.432,6.46 149.869,7.148 149.869,9.748L149.869,60.327C149.869,75.547 142.207,78.356 136.457,78.356C130.707,78.356 123.031,74.99 123.031,60.327L123.031,9.748C123.031,7.148 122.461,6.46 119.75,6.46L96.311,6.46C93.593,6.46 93.03,7.148 93.03,9.748L93.03,65.599C93.03,99.621 125.493,104.618 136.496,104.618C149.057,104.618 179.897,100.158 179.897,65.599L179.897,51.511C179.897,50.974 179.602,50.483 179.13,50.215C169.019,44.504 162.306,36.553 162.306,28.563L162.312,28.57Z" }), h("path", { fill: turva2LogoColor, d: "M282.593,98.252C279.561,93.989 261.976,67.203 261.976,67.203C258.662,62.213 263.967,65.854 271.472,55.546C283.497,39.022 275.684,11.68 252.166,7.823C244.025,6.153 235.492,6.467 231.025,6.467L199,6.467C196.282,6.467 195.719,7.155 195.719,9.755L195.719,33.338C195.719,33.718 196.001,34.039 196.381,34.078C201.371,34.628 206.558,34.91 211.817,34.91C230.174,34.91 247.771,31.432 258.512,25.446C259.795,24.732 261.321,25.741 261.321,27.306L261.321,28.577C261.321,43.666 237.417,58.604 211.817,58.604C206.623,58.604 201.502,57.989 196.63,56.882C196.165,56.777 195.719,57.124 195.719,57.602L195.719,98.174C195.719,100.774 196.289,101.461 199,101.461L221.739,101.461C224.457,101.461 225.02,100.774 225.02,98.174L225.039,71.047C225.039,69.954 229.44,70.111 230.776,71.702C235.086,76.843 242.899,92.928 246.547,96.857C248.852,99.346 253.011,101.461 260.287,101.461L278.958,101.461C281.231,101.461 283.765,99.916 282.586,98.265L282.593,98.252Z" }), h("path", { fill: turva2LogoColor, d: "M77.377,6.388L3.281,6.388C0.563,6.388 0,7.076 0,9.676L0,31.556C0,33.809 0,34.7 2.331,34.7L24.297,34.7C26.432,34.7 26.491,35.46 26.491,37.359L26.504,98.174C26.504,100.774 27.074,101.461 29.785,101.461L51.24,101.461C53.958,101.461 54.521,100.774 54.521,98.174L54.521,37.221C54.521,35.427 54.632,34.7 56.715,34.7L78.026,34.7C80.161,34.7 80.665,33.665 80.665,31.936L80.665,9.682C80.665,7.083 80.095,6.395 77.384,6.395L77.377,6.388Z" }))) : (h("svg", { role: "img", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": logoId, viewBox: "0 0 305 111" }, h("title", { id: logoId }, "Turva"), h("path", { fill: logoColor, d: "M79 90.1A40.5 40.5 0 0 0 98.3 58H79v32.2z" }), h("path", { fill: logoColor, d: "M45.1 57.9V46.4h52.3a40.5 40.5 0 1 0-30 48.5V58H45z" }), h("path", { fill: textColor, d: "M278.9 80.3v-9.8l-7.4.4c-2.4.3-4.3.6-5.7 1-1.7.4-4 1.3-5 2.3-1 1-2.3 2.8-2.3 4.6 0 2 .8 3.8 2 4.8s3.3 2 5.7 2a22 22 0 0 0 12.7-5.3zm4.2 8H279v-4.1l-3 1.9-2.8 1.5a17.4 17.4 0 0 1-7.4 1.6c-3 0-6.3-.7-8-2.3a9.6 9.6 0 0 1-3.4-7.2 9 9 0 0 1 1.8-5.9c1.1-1.6 3.1-3.3 5.2-4.2 2.1-1 4.7-1.6 7.7-1.9 3.4-.4 6.8-.6 9.8-.7v-1.1a6 6 0 0 0-.7-3.3 8 8 0 0 0-2.6-2.5c-.8-.5-2.2-1-3.4-1.1a25.7 25.7 0 0 0-8.8.4c-1.9.4-3.3 1-5.4 1.7h-.3v-4.3c1.2-.3 2.3-.7 4.5-1a37.7 37.7 0 0 1 12.8 0c1.8.4 2.9 1 4.2 2 1.3 1 2.3 2.3 3 3.8.7 1.5 1 3.2 1 4.7v22zM250.1 56l-14 32.4h-4.8L217.4 56h4.5l12 27.7L245.6 56zM137.7 88.2l-2.7.7c-.9.2-2 .4-4.2.4a9 9 0 0 1-7.2-3c-1.9-1.8-2.6-5-2.6-9.3V60.2h-5.2V56h5.2V47h4.2v9h12.6v4.2h-12.6v14.2c0 1.8 0 4.3.2 5.4 0 1 .3 2.5.8 3.4.5.8 1.4 1.4 2.2 1.8.8.4 2.7.5 4.1.5 1-.1 1.7-.2 2.7-.5l2.2-.6h.3v3.8zM176.4 88.4h-4.2v-3.9c-2 1.6-4.5 2.8-6.3 3.6-1.8.8-3.8 1.3-6 1.3-3.6 0-6-1.2-8-3.4s-2.5-5.5-2.5-9.9v-20h4.2V74c0 1.8.1 3.8.3 5 .2 1.3.5 3 1 3.8a5 5 0 0 0 2.2 2c1 .5 2.2.7 4 .7 1.5 0 3.1-.4 5-1.2 1.7-.8 4.5-2.4 6-3.6V56.1h4.3v32.3zM210.4 61h-.3a21.6 21.6 0 0 0-5.4-.7c-1.9 0-3.6.4-5.3 1.2a31 31 0 0 0-5.4 3.7v23.2h-4.3V56h4.3v5.2c2.3-1.9 5-3.2 6.7-4 1.8-.8 3.6-1.2 5.5-1.2a22.3 22.3 0 0 1 4.2.4v4.4z" })));
20
+ };
21
+ const TurvaLogoSymbol = ({ inverse, logoId }) => {
22
+ var _a;
23
+ const logoColor = inverse ? colorGrayLightest : colorBrandGrayTurva;
24
+ const turva2LogoColor = inverse ? colorGrayLightest : "#e61740"; // turva2-red-600 - hard coded as not yet available as token
18
25
  const isTurva2 = (_a = document.documentElement.attributes.getNamedItem("class")) === null || _a === void 0 ? void 0 : _a.value.includes("duet-theme-turva2");
19
- return isTurva2 ? (h("svg", { role: "img", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": logoId, viewBox: "0 0 460 111" }, h("path", { fill: turva2LogoColor, d: "M376.31,6.532L353.12,6.532C351.181,6.585 348.968,6.454 348.169,8.504L335.005,45.585C335.005,45.585 332.621,52.566 331.6,56.371C330.84,59.194 327.113,59.305 326.432,56.299C325.588,52.559 323.119,45.637 323.119,45.637L311.311,9.316C310.439,6.572 308.979,6.539 306.53,6.539L279.678,6.539C277.262,6.539 277.537,7.803 277.963,8.884L313.177,98.22C314.323,101.049 315.633,101.455 317.945,101.455L338.98,101.455C341.869,101.455 342.707,99.195 343.132,98.22L378.425,9.715C378.773,8.818 379.362,6.539 376.297,6.539L376.31,6.532Z" }), h("path", { fill: turva2LogoColor, d: "M459.516,96.346C454.277,83.268 433.732,31.15 425.821,9.722C424.662,6.821 423.686,6.539 421.689,6.539L399.651,6.539C397.647,6.539 396.783,7.541 395.885,9.925C387.024,33.495 362.341,94.31 361.535,96.346C360.704,98.455 360.717,101.455 363.277,101.455L387.358,101.455C389.52,101.455 389.827,100.63 391.032,98.22C391.36,97.558 394.097,91.461 395.034,89.103C395.329,88.357 396.049,87.872 396.848,87.872L422.298,87.813C423.084,87.813 423.791,88.271 424.099,88.992C425.225,91.605 428.598,98.815 428.932,99.621C429.574,101.167 430.235,101.455 432.095,101.455L457.768,101.455C460.328,101.455 460.341,98.455 459.51,96.346L459.516,96.346ZM417.916,66.253L402.559,66.286C401.144,66.286 400.463,65.075 400.974,63.529C401.308,62.52 408.224,43.574 408.551,42.611C408.551,42.592 408.571,42.579 408.584,42.559C408.925,41.485 409.272,40.365 409.501,39.507C409.809,38.354 411.452,38.387 411.714,39.553C411.898,40.352 412.376,41.937 412.52,42.408C413.064,44.209 419.449,63.313 419.508,63.49C420.019,65.035 419.344,66.247 417.923,66.247L417.916,66.253Z" }), h("path", { fill: turva2LogoColor, d: "M162.312,28.57L162.312,27.3C162.312,25.734 163.838,24.719 165.122,25.44C168.953,27.575 173.662,29.389 178.96,30.843C179.432,30.974 179.897,30.613 179.897,30.129L179.897,9.748C179.897,7.148 179.327,6.46 176.616,6.46L153.15,6.46C150.432,6.46 149.869,7.148 149.869,9.748L149.869,60.327C149.869,75.547 142.207,78.356 136.457,78.356C130.707,78.356 123.031,74.99 123.031,60.327L123.031,9.748C123.031,7.148 122.461,6.46 119.75,6.46L96.311,6.46C93.593,6.46 93.03,7.148 93.03,9.748L93.03,65.599C93.03,99.621 125.493,104.618 136.496,104.618C149.057,104.618 179.897,100.158 179.897,65.599L179.897,51.511C179.897,50.974 179.602,50.483 179.13,50.215C169.019,44.504 162.306,36.553 162.306,28.563L162.312,28.57Z" }), h("path", { fill: turva2LogoColor, d: "M282.593,98.252C279.561,93.989 261.976,67.203 261.976,67.203C258.662,62.213 263.967,65.854 271.472,55.546C283.497,39.022 275.684,11.68 252.166,7.823C244.025,6.153 235.492,6.467 231.025,6.467L199,6.467C196.282,6.467 195.719,7.155 195.719,9.755L195.719,33.338C195.719,33.718 196.001,34.039 196.381,34.078C201.371,34.628 206.558,34.91 211.817,34.91C230.174,34.91 247.771,31.432 258.512,25.446C259.795,24.732 261.321,25.741 261.321,27.306L261.321,28.577C261.321,43.666 237.417,58.604 211.817,58.604C206.623,58.604 201.502,57.989 196.63,56.882C196.165,56.777 195.719,57.124 195.719,57.602L195.719,98.174C195.719,100.774 196.289,101.461 199,101.461L221.739,101.461C224.457,101.461 225.02,100.774 225.02,98.174L225.039,71.047C225.039,69.954 229.44,70.111 230.776,71.702C235.086,76.843 242.899,92.928 246.547,96.857C248.852,99.346 253.011,101.461 260.287,101.461L278.958,101.461C281.231,101.461 283.765,99.916 282.586,98.265L282.593,98.252Z" }), h("path", { fill: turva2LogoColor, d: "M77.377,6.388L3.281,6.388C0.563,6.388 0,7.076 0,9.676L0,31.556C0,33.809 0,34.7 2.331,34.7L24.297,34.7C26.432,34.7 26.491,35.46 26.491,37.359L26.504,98.174C26.504,100.774 27.074,101.461 29.785,101.461L51.24,101.461C53.958,101.461 54.521,100.774 54.521,98.174L54.521,37.221C54.521,35.427 54.632,34.7 56.715,34.7L78.026,34.7C80.161,34.7 80.665,33.665 80.665,31.936L80.665,9.682C80.665,7.083 80.095,6.395 77.384,6.395L77.377,6.388Z" }))) : (h("svg", { role: "img", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": logoId, viewBox: "0 0 305 111" }, h("title", { id: logoId }, "Turva"), h("path", { fill: logoColor, d: "M79 90.1A40.5 40.5 0 0 0 98.3 58H79v32.2z" }), h("path", { fill: logoColor, d: "M45.1 57.9V46.4h52.3a40.5 40.5 0 1 0-30 48.5V58H45z" }), h("path", { fill: textColor, d: "M278.9 80.3v-9.8l-7.4.4c-2.4.3-4.3.6-5.7 1-1.7.4-4 1.3-5 2.3-1 1-2.3 2.8-2.3 4.6 0 2 .8 3.8 2 4.8s3.3 2 5.7 2a22 22 0 0 0 12.7-5.3zm4.2 8H279v-4.1l-3 1.9-2.8 1.5a17.4 17.4 0 0 1-7.4 1.6c-3 0-6.3-.7-8-2.3a9.6 9.6 0 0 1-3.4-7.2 9 9 0 0 1 1.8-5.9c1.1-1.6 3.1-3.3 5.2-4.2 2.1-1 4.7-1.6 7.7-1.9 3.4-.4 6.8-.6 9.8-.7v-1.1a6 6 0 0 0-.7-3.3 8 8 0 0 0-2.6-2.5c-.8-.5-2.2-1-3.4-1.1a25.7 25.7 0 0 0-8.8.4c-1.9.4-3.3 1-5.4 1.7h-.3v-4.3c1.2-.3 2.3-.7 4.5-1a37.7 37.7 0 0 1 12.8 0c1.8.4 2.9 1 4.2 2 1.3 1 2.3 2.3 3 3.8.7 1.5 1 3.2 1 4.7v22zM250.1 56l-14 32.4h-4.8L217.4 56h4.5l12 27.7L245.6 56zM137.7 88.2l-2.7.7c-.9.2-2 .4-4.2.4a9 9 0 0 1-7.2-3c-1.9-1.8-2.6-5-2.6-9.3V60.2h-5.2V56h5.2V47h4.2v9h12.6v4.2h-12.6v14.2c0 1.8 0 4.3.2 5.4 0 1 .3 2.5.8 3.4.5.8 1.4 1.4 2.2 1.8.8.4 2.7.5 4.1.5 1-.1 1.7-.2 2.7-.5l2.2-.6h.3v3.8zM176.4 88.4h-4.2v-3.9c-2 1.6-4.5 2.8-6.3 3.6-1.8.8-3.8 1.3-6 1.3-3.6 0-6-1.2-8-3.4s-2.5-5.5-2.5-9.9v-20h4.2V74c0 1.8.1 3.8.3 5 .2 1.3.5 3 1 3.8a5 5 0 0 0 2.2 2c1 .5 2.2.7 4 .7 1.5 0 3.1-.4 5-1.2 1.7-.8 4.5-2.4 6-3.6V56.1h4.3v32.3zM210.4 61h-.3a21.6 21.6 0 0 0-5.4-.7c-1.9 0-3.6.4-5.3 1.2a31 31 0 0 0-5.4 3.7v23.2h-4.3V56h4.3v5.2c2.3-1.9 5-3.2 6.7-4 1.8-.8 3.6-1.2 5.5-1.2a22.3 22.3 0 0 1 4.2.4v4.4z" })));
26
+ return isTurva2 ? (h("svg", { id: "a", xmlns: "http://www.w3.org/2000/svg", width: "500", height: "500", viewBox: "0 0 500 500" }, h("title", { id: logoId }, "Turva"), h("circle", { cx: "250", cy: "250", r: "250", fill: turva2LogoColor }), h("path", { d: "M346.35,113.78h-190.26c-6.97,0-8.43,1.76-8.43,8.44v.19s0,55.98,0,55.98c0,5.78,0,8.06,5.98,8.06h51.63c5.49,0,5.63,1.95,5.63,6.82l.03,94.19c0,6.68,1.46,8.44,8.43,8.44h64.6c6.97,0,8.43-1.76,8.43-8.44v-94.53c0-5.51.98-6.47,6.43-6.47h49.17c5.49,0,6.78-2.66,6.78-7.1v-57.14c0-6.68-1.46-8.44-8.43-8.44Z", fill: "#fff" }), h("path", { d: "M250,339.02c-62.43,0-122.26-11.83-158.77-32.18-4.37-2.44-9.56,1.01-9.56,6.33v4.32c0,51.3,81.28,102.09,168.33,102.09s168.33-50.79,168.33-102.09v-4.32c0-5.32-5.18-8.76-9.56-6.33-36.51,20.35-96.34,32.18-158.77,32.18Z", fill: "#fff" }))) : (h("svg", { width: "28", height: "28", viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("title", { id: logoId }, "Turva"), h("path", { d: "M9.56842 10.8425V14.8074H17.259V27.617C16.2117 27.867 15.1199 28 13.9966 28C6.2665 28 0 21.7324 0 14C0 6.26802 6.2665 0 13.9966 0C20.6416 0 26.2045 4.63095 27.6359 10.8425H9.56842Z", fill: logoColor }), h("path", { d: "M27.9695 14.8073C27.7012 19.5272 25.0971 23.6203 21.2944 25.9486V14.8073H27.9695Z", fill: logoColor })));
27
+ };
28
+ const ltTitle = {
29
+ fi: "LähiTapiola",
30
+ sv: "LokalTapiola",
31
+ en: "LocalTapiola",
32
+ };
33
+ const DefaultLogoSymbol = ({ inverse, logoId, language }) => {
34
+ const logoColor = inverse ? colorGrayLightest : colorPrimary;
35
+ const title = ltTitle[language];
36
+ return (h("svg", { role: "img", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": logoId, viewBox: "0 0 81 81" }, h("title", { id: logoId }, title), h("path", { fill: logoColor, d: "M5.164,53.864C-1.721,46.977 -1.721,35.816 5.164,28.927L28.93,5.164C34.364,-0.27 42.466,-1.417 49.024,1.73L48.979,1.773L48.921,1.83L25.541,25.21L25.484,25.268C23.198,27.554 23.198,31.262 25.484,33.548C27.77,35.834 31.478,35.834 33.766,33.548L37.915,29.396C40.257,27.055 42.595,27.011 44.631,29.049L53.557,37.931C55.983,40.356 56.229,42.367 53.557,45.036L45.102,53.492C42.757,55.834 40.553,56.052 37.995,53.492L21.766,37.262C19.481,34.979 15.773,34.979 13.487,37.265C11.201,39.551 11.201,43.258 13.487,45.544L34.13,66.187C38.183,70.239 44.747,70.239 48.798,66.186L66.25,48.734C70.302,44.685 70.302,38.117 66.25,34.064L52.918,20.735C50.836,18.65 51.023,16.29 53.139,14.175L57.431,9.882C57.626,9.685 57.803,9.478 57.967,9.264L74.647,25.946C83.18,34.479 83.18,48.314 74.647,56.844L56.85,74.644C48.314,83.179 34.48,83.179 25.946,74.644L5.164,53.864Z" })));
20
37
  };
21
38
  const i18n = {
22
39
  fi: {
@@ -49,6 +66,7 @@ const DuetLogo = /*@__PURE__*/ proxyCustomElement(class DuetLogo extends H {
49
66
  * Own Properties.
50
67
  */
51
68
  this.logoId = createID("DuetLogo");
69
+ this.isTurva2 = false;
52
70
  this.theme = "";
53
71
  this.margin = "auto";
54
72
  this.inverse = false;
@@ -61,6 +79,10 @@ const DuetLogo = /*@__PURE__*/ proxyCustomElement(class DuetLogo extends H {
61
79
  };
62
80
  this.accessibleLabel = getLocaleString(this.accessibleLabelDefaults);
63
81
  this.language = getLanguage();
82
+ this.onlySymbol = false;
83
+ }
84
+ setTurva2State() {
85
+ this.isTurva2 = getTurva2();
64
86
  }
65
87
  /**
66
88
  * Component lifecycle events.
@@ -70,9 +92,23 @@ const DuetLogo = /*@__PURE__*/ proxyCustomElement(class DuetLogo extends H {
70
92
  }
71
93
  connectedCallback() {
72
94
  connectLanguageChangeObserver(this, { prop: "accessibleLabel", defaults: "accessibleLabelDefaults" });
95
+ {
96
+ this.classMutationObserver = new MutationObserver(this.setTurva2State.bind(this));
97
+ this.classMutationObserver.observe(this.element, {
98
+ subtree: false,
99
+ childList: false,
100
+ characterData: false,
101
+ attributes: true,
102
+ attributeFilter: ["class"],
103
+ attributeOldValue: true,
104
+ });
105
+ }
73
106
  }
74
107
  disconnectedCallback() {
75
108
  disconnectLanguageChangeObserver(this);
109
+ {
110
+ this.classMutationObserver.disconnect();
111
+ }
76
112
  }
77
113
  /**
78
114
  * Sets focus on the specified `duet-logo`. Use this method instead of the global
@@ -89,13 +125,14 @@ const DuetLogo = /*@__PURE__*/ proxyCustomElement(class DuetLogo extends H {
89
125
  */
90
126
  render() {
91
127
  const TagName = this.href ? "a" : "div";
92
- return (h(Host, { key: 'e2be654fa774bc533a7a4a4b1a983368901e1d42', class: { "duet-m-0": this.margin === "none" } }, h(TagName, { key: '8a5fc145b623f33eb5ec1526b0b5b90f5c6ff7fa', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
128
+ return (h(Host, { key: 'd13dacb8208ebc04186228277d6a0eb4ef3cfeb7', class: { "duet-m-0": this.margin === "none" } }, h(TagName, { key: '92f33026307d3230324abdc39694b7a5207c04c3', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
93
129
  "duet-logo": true,
94
130
  [this.size]: true,
131
+ "duet-logo-only-symbol": this.onlySymbol,
95
132
  "duet-theme-turva": this.theme === "turva",
96
133
  "duet-logo-en": this.language === "en",
97
134
  "duet-logo-sv": this.language === "sv",
98
- } }, this.theme === "turva" ? (h(TurvaLogo, { logoId: this.logoId, inverse: this.inverse })) : (h(DefaultLogo, { logoId: this.logoId, inverse: this.inverse, language: this.language })))));
135
+ } }, this.theme === "turva" ? (this.onlySymbol ? (h(TurvaLogoSymbol, { logoId: this.logoId, inverse: this.inverse })) : (h(TurvaLogo, { logoId: this.logoId, inverse: this.inverse }))) : this.onlySymbol ? (h(DefaultLogoSymbol, { logoId: this.logoId, inverse: this.inverse, language: this.language })) : (h(DefaultLogo, { logoId: this.logoId, inverse: this.inverse, language: this.language })))));
99
136
  }
100
137
  get element() { return this; }
101
138
  static get style() { return DuetLogoStyle0; }
@@ -108,6 +145,8 @@ const DuetLogo = /*@__PURE__*/ proxyCustomElement(class DuetLogo extends H {
108
145
  "accessibleLabelDefaults": [1040],
109
146
  "accessibleLabel": [1537, "accessible-label"],
110
147
  "language": [1537],
148
+ "onlySymbol": [4, "only-symbol"],
149
+ "isTurva2": [32],
111
150
  "setFocus": [64]
112
151
  }]);
113
152
  function defineCustomElement() {
@@ -1,19 +1,19 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h } from './p-daa2778f.js';
5
- import { i as inheritGlobalTheme } from './p-6f57e174.js';
4
+ import { p as proxyCustomElement, H, h } from './p-fddb3ec1.js';
5
+ import { i as inheritGlobalTheme } from './p-3757c660.js';
6
6
  import { g as getLocaleString } from './p-d9b2e80e.js';
7
7
  import { p as parsePossibleJSON } from './p-9c3c64b9.js';
8
- import { d as defineCustomElement$9 } from './p-ccf00480.js';
9
- import { d as defineCustomElement$8 } from './p-e024b525.js';
10
- import { d as defineCustomElement$7 } from './p-b879c406.js';
11
- import { d as defineCustomElement$6 } from './p-16f01714.js';
12
- import { d as defineCustomElement$5 } from './p-69ca7615.js';
13
- import { d as defineCustomElement$4 } from './p-9f5cbda4.js';
14
- import { d as defineCustomElement$3 } from './p-d6d3f142.js';
15
- import { d as defineCustomElement$2 } from './p-7b0e3959.js';
16
- import { d as defineCustomElement$1 } from './p-14f9f7a0.js';
8
+ import { d as defineCustomElement$9 } from './p-b3835995.js';
9
+ import { d as defineCustomElement$8 } from './p-0e0a0525.js';
10
+ import { d as defineCustomElement$7 } from './p-706a9a13.js';
11
+ import { d as defineCustomElement$6 } from './p-d5c72ea3.js';
12
+ import { d as defineCustomElement$5 } from './p-444e732a.js';
13
+ import { d as defineCustomElement$4 } from './p-c7f33aed.js';
14
+ import { d as defineCustomElement$3 } from './p-81360956.js';
15
+ import { d as defineCustomElement$2 } from './p-db2b09ab.js';
16
+ import { d as defineCustomElement$1 } from './p-36f6ec52.js';
17
17
 
18
18
  const getError = (code, errorCodes) => {
19
19
  let error = {
@@ -130,9 +130,9 @@ const DuetUploadItem = /*@__PURE__*/ proxyCustomElement(class DuetUploadItem ext
130
130
  const { uid, meta, item } = this.data;
131
131
  const Badges = meta && meta.badges ? (h("span", null, meta.badges.map(badgeText => (h("duet-badge", { color: "primary" }, badgeText))))) : undefined;
132
132
  const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
133
- return (h("div", { key: '47b3f6734e4ec029b85e75707475f33cb344fe99', class: {
133
+ return (h("div", { key: 'a0d382c608507d07d924abb73bcbbeffa09e0aee', class: {
134
134
  "upload-item-row": true,
135
- } }, this.showCategory && (h("div", { key: '9f3245fc9798dd7ee33f3effd527cba287b2f0f9', class: "item-categories" }, h("duet-heading", { key: '4d6390d907e4f0be74cf5f6d0024b7e2cfde3b4d', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), h("div", { key: '78328ed91fcd4ea4388444334f2dab84f84667be', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (h("duet-heading", { key: '74ecff305108fc3131f5c0b38c1473420053378e', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), h("div", { key: '39b5f7cdc1a411c5aa933b3248f103835c272359', class: "item-actions" }, this.actions.map(actionItem => {
135
+ } }, this.showCategory && (h("div", { key: '4f7b9bb8c9494e062171d29e5cfc12a9a3e1027b', class: "item-categories" }, h("duet-heading", { key: '477b02e94e76c857191fa6cd51f51bfd240bbbe7', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), h("div", { key: 'a12f1ea980d26df9122daf3dec6a4441716c88ff', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (h("duet-heading", { key: '8cdca136f7a623a5b58fc863e02f15552ff73f0e', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), h("div", { key: '33a97bcbb4daaf167e89fed5aacae4409b982177', class: "item-actions" }, this.actions.map(actionItem => {
136
136
  return (h("duet-action-button", { actionMeta: Object.assign({}, meta || {}), actionId: uid || null, actionName: actionItem.name, theme: this.theme, iconName: actionItem.icon, iconColor: actionItem.color, iconSize: actionItem.size, background: actionItem.background, "accessible-label": `${actionDescription} ${getLocaleString(actionItem.label)} `, accessibleTitle: this.getActionButtonTitle(actionItem), ref: button => (this.actionButton = button) }));
137
137
  }))));
138
138
  }