@duetds/components 9.16.1 → 9.18.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 (923) hide show
  1. package/hydrate/index.js +522 -240
  2. package/lib/cjs/{a11y-utils-113bdcf1.js → a11y-utils-5b56e0b1.js} +1 -1
  3. package/lib/cjs/{app-globals-2ad7d0da.js → app-globals-628c4829.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +6 -6
  5. package/lib/cjs/duet-alert.cjs.entry.js +11 -17
  6. package/lib/cjs/duet-badge.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-banner.cjs.entry.js +6 -6
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
  10. package/lib/cjs/duet-button_2.cjs.entry.js +7 -7
  11. package/lib/cjs/duet-callout.cjs.entry.js +4 -4
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +15 -13
  13. package/lib/cjs/duet-card.cjs.entry.js +12 -10
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-chip.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +6 -6
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +17 -14
  19. package/lib/cjs/duet-combobox.cjs.entry.js +5 -5
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +6 -6
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +8 -8
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
  28. package/lib/cjs/duet-footer.cjs.entry.js +5 -5
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +20 -8
  30. package/lib/cjs/duet-header_2.cjs.entry.js +10 -9
  31. package/lib/cjs/duet-hero.cjs.entry.js +13 -10
  32. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  33. package/lib/cjs/duet-indicator.cjs.entry.js +3 -3
  34. package/lib/cjs/duet-input_2.cjs.entry.js +16 -16
  35. package/lib/cjs/duet-layout.cjs.entry.js +3 -3
  36. package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
  37. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  38. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
  39. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
  40. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
  41. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  42. package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-modal.cjs.entry.js +28 -16
  44. package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
  45. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  46. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -6
  47. package/lib/cjs/duet-number-input.cjs.entry.js +5 -5
  48. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-pagination_2.cjs.entry.js +7 -7
  51. package/lib/cjs/duet-panel.cjs.entry.js +3 -3
  52. package/lib/cjs/duet-phone-input.cjs.entry.js +5 -5
  53. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +7 -7
  54. package/lib/cjs/duet-progress.cjs.entry.js +4 -4
  55. package/lib/cjs/duet-promo-card.cjs.entry.js +7 -7
  56. package/lib/cjs/duet-radio_2.cjs.entry.js +5 -5
  57. package/lib/cjs/duet-range-slider.cjs.entry.js +4 -4
  58. package/lib/cjs/duet-scrollable_3.cjs.entry.js +14 -13
  59. package/lib/cjs/duet-section-layout.cjs.entry.js +2 -2
  60. package/lib/cjs/duet-select.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
  62. package/lib/cjs/duet-share-chart-item.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-share-chart.cjs.entry.js +7 -7
  64. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  65. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  66. package/lib/cjs/duet-slideout-link.cjs.entry.js +6 -6
  67. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +8 -6
  68. package/lib/cjs/duet-slideout-panel.cjs.entry.js +15 -13
  69. package/lib/cjs/duet-slideout.cjs.entry.js +12 -11
  70. package/lib/cjs/duet-status-icon.cjs.entry.js +2 -2
  71. package/lib/cjs/duet-step_2.cjs.entry.js +5 -5
  72. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  73. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +4 -4
  74. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
  75. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-submenu-bar.cjs.entry.js +4 -4
  77. package/lib/cjs/duet-textarea.cjs.entry.js +5 -5
  78. package/lib/cjs/duet-toggle.cjs.entry.js +3 -3
  79. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  80. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
  81. package/lib/cjs/duet-toolbar-item.cjs.entry.js +6 -6
  82. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
  83. package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
  84. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +9 -6
  85. package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
  86. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  87. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  88. package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
  89. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  90. package/lib/cjs/duet.cjs.js +3 -3
  91. package/lib/cjs/{errorcodes.utils-b3a3ed44.js → errorcodes.utils-d6716198.js} +1 -1
  92. package/lib/cjs/{focus-utils-5c4526cd.js → focus-utils-21cb0103.js} +1 -1
  93. package/lib/cjs/{index-caee10a4.js → index-0444d660.js} +1 -1
  94. package/lib/cjs/{language-utils-9e3aebfc.js → language-utils-a34e2467.js} +1 -1
  95. package/lib/cjs/loader.cjs.js +3 -3
  96. package/lib/cjs/{slot-utils-d034ca5f.js → slot-utils-4baa4a9d.js} +6 -1
  97. package/lib/cjs/{themeable-component-98732ad8.js → themeable-component-ee2255e3.js} +1 -1
  98. package/lib/cjs/{token-utils-c73ca50c.js → token-utils-955dd258.js} +37 -37
  99. package/lib/cjs/{tokens-22702e71.js → tokens-bdaa8818.js} +144 -0
  100. package/lib/cjs/{tokens.module-a7c77c13.js → tokens.module-2358195b.js} +96 -0
  101. package/lib/collection/components/duet-action-button/duet-action-button.css +18 -20
  102. package/lib/collection/components/duet-alert/duet-alert.css +13 -23
  103. package/lib/collection/components/duet-alert/duet-alert.js +16 -16
  104. package/lib/collection/components/duet-badge/duet-badge.css +12 -12
  105. package/lib/collection/components/duet-banner/duet-banner.css +6 -28
  106. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +9 -7
  107. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +7 -7
  108. package/lib/collection/components/duet-button/duet-button.css +68 -60
  109. package/lib/collection/components/duet-callout/duet-callout.css +3 -3
  110. package/lib/collection/components/duet-caption/duet-caption.css +4 -4
  111. package/lib/collection/components/duet-card/duet-card.css +25 -18
  112. package/lib/collection/components/duet-card/duet-card.js +6 -4
  113. package/lib/collection/components/duet-checkbox/duet-checkbox.css +19 -12
  114. package/lib/collection/components/duet-checkbox/duet-checkbox.js +1 -1
  115. package/lib/collection/components/duet-chip/duet-chip.css +33 -28
  116. package/lib/collection/components/duet-choice/duet-checkmark.css +2 -2
  117. package/lib/collection/components/duet-choice/duet-choice.css +52 -53
  118. package/lib/collection/components/duet-choice-group/duet-choice-group.css +4 -4
  119. package/lib/collection/components/duet-choice-group/duet-choice-group.js +1 -1
  120. package/lib/collection/components/duet-collapsible/duet-collapsible.css +26 -14
  121. package/lib/collection/components/duet-collapsible/duet-collapsible.js +14 -10
  122. package/lib/collection/components/duet-combobox/duet-combobox.css +4 -4
  123. package/lib/collection/components/duet-contact-card/duet-contact-card.css +5 -5
  124. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +15 -15
  125. package/lib/collection/components/duet-date-picker/duet-date-picker.css +68 -51
  126. package/lib/collection/components/duet-date-picker/duet-date-picker.js +1 -1
  127. package/lib/collection/components/duet-divider/duet-divider.css +5 -5
  128. package/lib/collection/components/duet-editable-table/duet-editable-table.css +2 -2
  129. package/lib/collection/components/duet-empty-state/duet-empty-state.css +8 -8
  130. package/lib/collection/components/duet-fieldset/duet-fieldset.css +7 -7
  131. package/lib/collection/components/duet-fieldset/duet-fieldset.js +6 -5
  132. package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +2 -2
  133. package/lib/collection/components/duet-footer/duet-footer.css +33 -19
  134. package/lib/collection/components/duet-grid/duet-grid.css +2 -6
  135. package/lib/collection/components/duet-grid/duet-grid.js +22 -8
  136. package/lib/collection/components/duet-grid-item/duet-grid-item.css +3 -3
  137. package/lib/collection/components/duet-header/duet-header.css +116 -88
  138. package/lib/collection/components/duet-heading/duet-heading.css +7 -7
  139. package/lib/collection/components/duet-hero/duet-hero.css +27 -24
  140. package/lib/collection/components/duet-hero/duet-hero.js +8 -5
  141. package/lib/collection/components/duet-icon/duet-icon.css +7 -7
  142. package/lib/collection/components/duet-indicator/duet-indicator.css +4 -4
  143. package/lib/collection/components/duet-input/duet-input.css +82 -81
  144. package/lib/collection/components/duet-input/duet-input.js +19 -34
  145. package/lib/collection/components/duet-label/duet-label.css +5 -5
  146. package/lib/collection/components/duet-layout/duet-layout.css +4 -4
  147. package/lib/collection/components/duet-link/duet-link.css +28 -22
  148. package/lib/collection/components/duet-list/duet-list.css +4 -4
  149. package/lib/collection/components/duet-list-item/duet-list-item.css +10 -10
  150. package/lib/collection/components/duet-logo/duet-logo.css +16 -8
  151. package/lib/collection/components/duet-logo/duet-logo.js +2 -1
  152. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +13 -13
  153. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +12 -9
  154. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +19 -16
  155. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +13 -10
  156. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +17 -14
  157. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +16 -13
  158. package/lib/collection/components/duet-modal/duet-modal.css +13 -13
  159. package/lib/collection/components/duet-modal/duet-modal.js +20 -8
  160. package/lib/collection/components/duet-multiselect/duet-multiselect.css +46 -38
  161. package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
  162. package/lib/collection/components/duet-nav/duet-nav.css +4 -4
  163. package/lib/collection/components/duet-notification/duet-notification.css +18 -16
  164. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +30 -26
  165. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +4 -1
  166. package/lib/collection/components/duet-number-input/duet-number-input.css +20 -15
  167. package/lib/collection/components/duet-number-input/duet-number-input.js +1 -1
  168. package/lib/collection/components/duet-overlay/duet-overlay.css +2 -2
  169. package/lib/collection/components/duet-page-heading/duet-page-heading.css +9 -9
  170. package/lib/collection/components/duet-pagination/duet-pagination.css +5 -5
  171. package/lib/collection/components/duet-panel/duet-panel.css +8 -9
  172. package/lib/collection/components/duet-paragraph/duet-paragraph.css +12 -9
  173. package/lib/collection/components/duet-paragraph/duet-paragraph.js +4 -2
  174. package/lib/collection/components/duet-phone-input/duet-phone-input.css +5 -5
  175. package/lib/collection/components/duet-phone-input/duet-phone-input.js +1 -1
  176. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +7 -7
  177. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +23 -15
  178. package/lib/collection/components/duet-progress/duet-progress.css +14 -14
  179. package/lib/collection/components/duet-promo-card/duet-promo-card.css +15 -12
  180. package/lib/collection/components/duet-promo-card/duet-promo-card.js +1 -1
  181. package/lib/collection/components/duet-radio/duet-radio.css +22 -15
  182. package/lib/collection/components/duet-radio-group/duet-radio-group.css +4 -4
  183. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  184. package/lib/collection/components/duet-range-slider/duet-range-slider.css +33 -28
  185. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +5 -5
  186. package/lib/collection/components/duet-scrollable/duet-scrollable.css +20 -20
  187. package/lib/collection/components/duet-section-layout/duet-section-layout.css +4 -4
  188. package/lib/collection/components/duet-select/duet-select.css +36 -31
  189. package/lib/collection/components/duet-select/duet-select.js +1 -1
  190. package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +6 -6
  191. package/lib/collection/components/duet-share-chart/duet-share-chart.css +5 -5
  192. package/lib/collection/components/duet-show-more/duet-show-more.css +13 -10
  193. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  194. package/lib/collection/components/duet-slideout/duet-slideout.css +23 -23
  195. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -3
  196. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +5 -5
  197. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +14 -11
  198. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +34 -25
  199. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +7 -5
  200. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +20 -20
  201. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +5 -3
  202. package/lib/collection/components/duet-spacer/duet-spacer.css +2 -2
  203. package/lib/collection/components/duet-spinner/duet-spinner.css +5 -5
  204. package/lib/collection/components/duet-step/duet-step.css +17 -15
  205. package/lib/collection/components/duet-stepper/duet-stepper.css +4 -4
  206. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +23 -23
  207. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +24 -21
  208. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +16 -13
  209. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +20 -17
  210. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +19 -16
  211. package/lib/collection/components/duet-tab/duet-tab.css +15 -11
  212. package/lib/collection/components/duet-tab-group/duet-tab-group.css +33 -25
  213. package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -4
  214. package/lib/collection/components/duet-table/duet-table.css +22 -18
  215. package/lib/collection/components/duet-textarea/duet-textarea.css +38 -31
  216. package/lib/collection/components/duet-textarea/duet-textarea.js +1 -1
  217. package/lib/collection/components/duet-toggle/duet-toggle.css +11 -9
  218. package/lib/collection/components/duet-toolbar/duet-toolbar.css +6 -6
  219. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +20 -17
  220. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +14 -11
  221. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +23 -21
  222. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +23 -15
  223. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +19 -16
  224. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +32 -25
  225. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +4 -1
  226. package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -4
  227. package/lib/collection/components/duet-tray/duet-tray.css +36 -32
  228. package/lib/collection/components/duet-upload/duet-upload.css +6 -6
  229. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.css +3 -3
  230. package/lib/collection/utils/slot-utils.js +4 -0
  231. package/lib/collection/utils/turva2-color-tokens.js +36 -36
  232. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  233. package/lib/dist-custom-elements/duet-alert.js +1 -1
  234. package/lib/dist-custom-elements/duet-badge.js +1 -1
  235. package/lib/dist-custom-elements/duet-banner.js +6 -6
  236. package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
  237. package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
  238. package/lib/dist-custom-elements/duet-button.js +1 -1
  239. package/lib/dist-custom-elements/duet-callout.js +4 -4
  240. package/lib/dist-custom-elements/duet-caption.js +1 -1
  241. package/lib/dist-custom-elements/duet-card.js +12 -10
  242. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  243. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  244. package/lib/dist-custom-elements/duet-chip.js +1 -1
  245. package/lib/dist-custom-elements/duet-choice-group.js +11 -11
  246. package/lib/dist-custom-elements/duet-choice.js +6 -6
  247. package/lib/dist-custom-elements/duet-collapsible.js +18 -15
  248. package/lib/dist-custom-elements/duet-combobox.js +17 -17
  249. package/lib/dist-custom-elements/duet-contact-card.js +9 -9
  250. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  251. package/lib/dist-custom-elements/duet-date-picker.js +16 -16
  252. package/lib/dist-custom-elements/duet-divider.js +1 -1
  253. package/lib/dist-custom-elements/duet-editable-table.js +8 -8
  254. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  255. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  256. package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
  257. package/lib/dist-custom-elements/duet-footer.js +9 -9
  258. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  259. package/lib/dist-custom-elements/duet-grid.js +1 -1
  260. package/lib/dist-custom-elements/duet-header.js +11 -11
  261. package/lib/dist-custom-elements/duet-heading.js +1 -1
  262. package/lib/dist-custom-elements/duet-hero.js +19 -16
  263. package/lib/dist-custom-elements/duet-icon.js +1 -1
  264. package/lib/dist-custom-elements/duet-indicator.js +1 -1
  265. package/lib/dist-custom-elements/duet-input.js +1 -1
  266. package/lib/dist-custom-elements/duet-label.js +1 -1
  267. package/lib/dist-custom-elements/duet-layout.js +3 -3
  268. package/lib/dist-custom-elements/duet-link.js +1 -1
  269. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  270. package/lib/dist-custom-elements/duet-list.js +1 -1
  271. package/lib/dist-custom-elements/duet-logo.js +1 -1
  272. package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
  273. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
  274. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
  275. package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
  276. package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
  277. package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
  278. package/lib/dist-custom-elements/duet-modal.js +31 -19
  279. package/lib/dist-custom-elements/duet-multiselect.js +17 -17
  280. package/lib/dist-custom-elements/duet-nav.js +2 -2
  281. package/lib/dist-custom-elements/duet-notification-drawer.js +11 -8
  282. package/lib/dist-custom-elements/duet-notification.js +4 -4
  283. package/lib/dist-custom-elements/duet-number-input.js +14 -14
  284. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  285. package/lib/dist-custom-elements/duet-page-heading.js +4 -4
  286. package/lib/dist-custom-elements/duet-pagination.js +15 -15
  287. package/lib/dist-custom-elements/duet-panel.js +2 -2
  288. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  289. package/lib/dist-custom-elements/duet-phone-input.js +19 -19
  290. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  291. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  292. package/lib/dist-custom-elements/duet-progress.js +1 -1
  293. package/lib/dist-custom-elements/duet-promo-card.js +7 -7
  294. package/lib/dist-custom-elements/duet-radio-group.js +11 -11
  295. package/lib/dist-custom-elements/duet-radio.js +2 -2
  296. package/lib/dist-custom-elements/duet-range-slider.js +4 -4
  297. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  298. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  299. package/lib/dist-custom-elements/duet-section-layout.js +2 -2
  300. package/lib/dist-custom-elements/duet-select.js +1 -1
  301. package/lib/dist-custom-elements/duet-shaped-image.js +2 -2
  302. package/lib/dist-custom-elements/duet-share-chart-item.js +1 -1
  303. package/lib/dist-custom-elements/duet-share-chart.js +5 -5
  304. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  305. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  306. package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
  307. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +8 -6
  308. package/lib/dist-custom-elements/duet-slideout-panel.js +14 -12
  309. package/lib/dist-custom-elements/duet-slideout.js +10 -9
  310. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  311. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  312. package/lib/dist-custom-elements/duet-status-icon.js +1 -1
  313. package/lib/dist-custom-elements/duet-step.js +5 -5
  314. package/lib/dist-custom-elements/duet-stepper.js +3 -3
  315. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
  316. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
  317. package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
  318. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  319. package/lib/dist-custom-elements/duet-submenu-bar.js +5 -5
  320. package/lib/dist-custom-elements/duet-tab-group.js +14 -13
  321. package/lib/dist-custom-elements/duet-tab.js +3 -3
  322. package/lib/dist-custom-elements/duet-table.js +1 -1
  323. package/lib/dist-custom-elements/duet-textarea.js +13 -13
  324. package/lib/dist-custom-elements/duet-toggle.js +3 -3
  325. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
  326. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
  327. package/lib/dist-custom-elements/duet-toolbar-item.js +6 -6
  328. package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
  329. package/lib/dist-custom-elements/duet-toolbar.js +2 -2
  330. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  331. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  332. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  333. package/lib/dist-custom-elements/duet-tray.js +5 -5
  334. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  335. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  336. package/lib/dist-custom-elements/duet-upload.js +21 -21
  337. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  338. package/lib/dist-custom-elements/index.js +1 -1
  339. package/lib/dist-custom-elements/{p-747f6fa4.js → p-016c81f0.js} +2 -2
  340. package/lib/dist-custom-elements/{p-63bad120.js → p-08a5f7e9.js} +3 -3
  341. package/lib/dist-custom-elements/{p-4228d649.js → p-0e8e6adf.js} +9 -9
  342. package/lib/dist-custom-elements/{p-fa3ebc1e.js → p-1dc37c4b.js} +2 -2
  343. package/lib/dist-custom-elements/{p-5fac1036.js → p-1f2c89d9.js} +3 -3
  344. package/lib/dist-custom-elements/{p-8aa9471e.js → p-21f8ff7d.js} +10 -10
  345. package/lib/dist-custom-elements/{p-afa85350.js → p-30bc1a35.js} +7 -7
  346. package/lib/dist-custom-elements/{p-d723c019.js → p-376095a8.js} +2 -2
  347. package/lib/dist-custom-elements/{p-5a556f9a.js → p-3ee131dc.js} +3 -3
  348. package/lib/dist-custom-elements/p-4343b5a1.js +318 -0
  349. package/lib/dist-custom-elements/{p-f8c458d0.js → p-7645b4d2.js} +3 -3
  350. package/lib/dist-custom-elements/{p-01808ae4.js → p-8035b482.js} +3 -3
  351. package/lib/dist-custom-elements/{p-1c3b7df5.js → p-80c4e77a.js} +21 -21
  352. package/lib/dist-custom-elements/{p-c5dcc0ea.js → p-86c95505.js} +5 -4
  353. package/lib/dist-custom-elements/{p-979b130b.js → p-889bc211.js} +7 -7
  354. package/lib/dist-custom-elements/{p-1428bca8.js → p-929f4a06.js} +3 -3
  355. package/lib/dist-custom-elements/{p-45a25e1c.js → p-9357efdb.js} +2 -2
  356. package/lib/dist-custom-elements/{p-cbb101aa.js → p-958e3489.js} +3 -3
  357. package/lib/dist-custom-elements/{p-68221361.js → p-a230e7ac.js} +11 -11
  358. package/lib/dist-custom-elements/{p-84c12085.js → p-a49f9fc6.js} +3 -3
  359. package/lib/dist-custom-elements/{p-57091005.js → p-a6f89351.js} +14 -14
  360. package/lib/dist-custom-elements/{p-90ef4cdf.js → p-a70e2b0c.js} +20 -7
  361. package/lib/dist-custom-elements/{p-4f0b365b.js → p-aa626f8d.js} +2 -2
  362. package/lib/dist-custom-elements/{p-2c6c022f.js → p-af586c7d.js} +3 -3
  363. package/lib/dist-custom-elements/{p-e167506b.js → p-b21352e2.js} +2 -2
  364. package/lib/dist-custom-elements/{p-051e8432.js → p-b49de47a.js} +2 -2
  365. package/lib/dist-custom-elements/{p-897cd468.js → p-b5bb4c4e.js} +3 -3
  366. package/lib/dist-custom-elements/{p-4c39b06e.js → p-bf860820.js} +8 -5
  367. package/lib/dist-custom-elements/{p-78b6337a.js → p-c224f527.js} +37 -37
  368. package/lib/dist-custom-elements/{p-186bf66e.js → p-c26b81c2.js} +3 -3
  369. package/lib/dist-custom-elements/{p-09eeb0d8.js → p-c4345060.js} +7 -7
  370. package/lib/dist-custom-elements/{p-6f42296b.js → p-c936343b.js} +96 -0
  371. package/lib/{esm/tokens-57aa1508.js → dist-custom-elements/p-c972a96e.js} +144 -0
  372. package/lib/dist-custom-elements/p-cdc57494.js +148 -0
  373. package/lib/dist-custom-elements/{p-60827675.js → p-d4245e15.js} +3 -3
  374. package/lib/dist-custom-elements/{p-1be25f37.js → p-d4904a7c.js} +1 -1
  375. package/lib/dist-custom-elements/{p-5bf73913.js → p-d6911e61.js} +3 -3
  376. package/lib/dist-custom-elements/{p-e3b560d3.js → p-d80a01fd.js} +5 -5
  377. package/lib/dist-custom-elements/{p-8284b970.js → p-d84ceb08.js} +5 -5
  378. package/lib/dist-custom-elements/{p-8e5437bd.js → p-d8a121cc.js} +3 -3
  379. package/lib/dist-custom-elements/{p-211bbab4.js → p-db56d5a8.js} +2 -2
  380. package/lib/dist-custom-elements/p-dcc8afe8.js +221 -0
  381. package/lib/dist-custom-elements/{p-2c95a055.js → p-e48a192a.js} +7 -5
  382. package/lib/dist-custom-elements/{p-21425713.js → p-f33fb629.js} +2 -2
  383. package/lib/dist-custom-elements/{p-1e3171d9.js → p-f8d1e874.js} +1 -1
  384. package/lib/dist-custom-elements/{p-f21662ea.js → p-fe478fac.js} +5 -1
  385. package/lib/duet/duet.esm.js +1 -1
  386. package/lib/duet/duet.js +1 -1
  387. package/lib/duet/p-00fcf2fb.system.entry.js +4 -0
  388. package/lib/duet/p-033bb755.system.entry.js +4 -0
  389. package/lib/duet/p-04658922.entry.js +4 -0
  390. package/lib/duet/p-04c70e04.system.entry.js +4 -0
  391. package/lib/duet/{p-a28a52b8.system.entry.js → p-065bebcf.system.entry.js} +1 -1
  392. package/lib/duet/{p-98c47715.entry.js → p-06a2c00d.entry.js} +1 -1
  393. package/lib/duet/{p-1d2cadcc.entry.js → p-07cfc2f5.entry.js} +1 -1
  394. package/lib/duet/{p-69a8abac.system.entry.js → p-082e654d.system.entry.js} +1 -1
  395. package/lib/duet/{p-f7f0b74f.entry.js → p-09497e9e.entry.js} +1 -1
  396. package/lib/duet/{p-e2f6279e.entry.js → p-0a280ddc.entry.js} +1 -1
  397. package/lib/duet/{p-fa69c713.system.entry.js → p-0c1a086f.system.entry.js} +1 -1
  398. package/lib/duet/p-0cf7d917.entry.js +4 -0
  399. package/lib/duet/{p-1060aa25.entry.js → p-0e04330c.entry.js} +1 -1
  400. package/lib/duet/{p-c51a586e.system.entry.js → p-0e3375dd.system.entry.js} +1 -1
  401. package/lib/duet/p-0e9de590.entry.js +4 -0
  402. package/lib/duet/p-1060eeeb.system.entry.js +4 -0
  403. package/lib/duet/p-1198fd12.system.entry.js +4 -0
  404. package/lib/duet/p-11f86bdc.system.entry.js +4 -0
  405. package/lib/duet/p-1285b423.system.entry.js +4 -0
  406. package/lib/duet/{p-08f35dcb.js → p-12f16785.js} +1 -1
  407. package/lib/duet/p-1338bc5c.entry.js +4 -0
  408. package/lib/duet/{p-b25490a8.js → p-135e72bf.js} +1 -1
  409. package/lib/duet/p-13a834ce.system.entry.js +4 -0
  410. package/lib/duet/{p-01f6825e.system.entry.js → p-158e2598.system.entry.js} +1 -1
  411. package/lib/duet/p-16a30d86.system.entry.js +4 -0
  412. package/lib/duet/p-17755657.system.entry.js +4 -0
  413. package/lib/duet/p-17ee74b1.system.entry.js +4 -0
  414. package/lib/duet/p-18a0cbe5.system.entry.js +4 -0
  415. package/lib/duet/{p-29f97ffb.entry.js → p-1d9091b2.entry.js} +1 -1
  416. package/lib/duet/p-1dcd8cb6.system.entry.js +4 -0
  417. package/lib/duet/p-1f4af013.entry.js +4 -0
  418. package/lib/duet/p-21cfc7c9.system.entry.js +4 -0
  419. package/lib/duet/p-2b4a068b.system.entry.js +4 -0
  420. package/lib/duet/{p-4452e6e8.entry.js → p-2daf9e75.entry.js} +1 -1
  421. package/lib/duet/p-2e136720.entry.js +4 -0
  422. package/lib/duet/p-2e64593c.system.entry.js +4 -0
  423. package/lib/duet/p-2e69eb33.entry.js +4 -0
  424. package/lib/duet/p-2fce48bf.entry.js +4 -0
  425. package/lib/duet/{p-6592e02c.system.js → p-30af84d3.system.js} +1 -1
  426. package/lib/duet/{p-91ab1514.entry.js → p-311a334f.entry.js} +1 -1
  427. package/lib/duet/{p-e2373985.system.entry.js → p-31463f0b.system.entry.js} +2 -2
  428. package/lib/duet/{p-106cd6ab.js → p-33c69e1b.js} +1 -1
  429. package/lib/duet/p-33f60648.entry.js +4 -0
  430. package/lib/duet/{p-0b275971.entry.js → p-34cdefd2.entry.js} +1 -1
  431. package/lib/duet/{p-ed4b8ef4.system.entry.js → p-357fba6d.system.entry.js} +1 -1
  432. package/lib/duet/{p-57941503.system.js → p-385da7a9.system.js} +1 -1
  433. package/lib/duet/{p-65dac1a2.entry.js → p-3aa5dbed.entry.js} +1 -1
  434. package/lib/duet/p-3c69cc2a.system.entry.js +4 -0
  435. package/lib/duet/p-3e52c8ff.system.entry.js +4 -0
  436. package/lib/duet/p-4030ca2a.system.entry.js +4 -0
  437. package/lib/duet/{p-a19e945f.entry.js → p-439c21e7.entry.js} +1 -1
  438. package/lib/duet/p-43bbba35.system.js +4 -0
  439. package/lib/duet/p-4453a6c6.system.entry.js +4 -0
  440. package/lib/duet/{p-f57a788d.system.entry.js → p-47d32341.system.entry.js} +1 -1
  441. package/lib/duet/{p-39cd22a6.system.entry.js → p-48bd44c3.system.entry.js} +1 -1
  442. package/lib/duet/p-497bdd59.entry.js +4 -0
  443. package/lib/duet/{p-63045d0e.js → p-4ad740e2.js} +1 -1
  444. package/lib/duet/p-4b6e53bd.entry.js +4 -0
  445. package/lib/duet/{p-d433e813.system.entry.js → p-4be139d3.system.entry.js} +1 -1
  446. package/lib/duet/{p-dbe48d3c.entry.js → p-4cd75d1b.entry.js} +1 -1
  447. package/lib/duet/p-4cfd6aa0.system.entry.js +4 -0
  448. package/lib/duet/p-4d91e61a.system.entry.js +4 -0
  449. package/lib/duet/p-50bb0bef.system.entry.js +4 -0
  450. package/lib/duet/p-52e13815.entry.js +4 -0
  451. package/lib/duet/p-541a4093.system.entry.js +4 -0
  452. package/lib/duet/p-59d65494.entry.js +4 -0
  453. package/lib/duet/{p-7f2855e9.entry.js → p-5b88277b.entry.js} +1 -1
  454. package/lib/duet/{p-c797a3e6.entry.js → p-5bb5a55a.entry.js} +1 -1
  455. package/lib/duet/p-5c374688.system.entry.js +4 -0
  456. package/lib/duet/p-5cd1152a.entry.js +4 -0
  457. package/lib/duet/p-5e33ada9.system.entry.js +4 -0
  458. package/lib/duet/p-60cfe03f.entry.js +4 -0
  459. package/lib/duet/{p-28ac2fa8.entry.js → p-618dcd6b.entry.js} +1 -1
  460. package/lib/duet/p-61efcecb.entry.js +4 -0
  461. package/lib/duet/{p-60672e19.entry.js → p-638ab80b.entry.js} +1 -1
  462. package/lib/duet/p-66386c5e.entry.js +4 -0
  463. package/lib/duet/p-6751d70f.entry.js +4 -0
  464. package/lib/duet/p-6829be6c.system.entry.js +4 -0
  465. package/lib/duet/p-68fdf1da.system.entry.js +4 -0
  466. package/lib/duet/p-6d7d56e8.entry.js +4 -0
  467. package/lib/duet/p-70d7644c.system.entry.js +4 -0
  468. package/lib/duet/p-7266991d.entry.js +4 -0
  469. package/lib/duet/p-72efa27a.system.entry.js +4 -0
  470. package/lib/duet/{p-c27dc664.system.entry.js → p-758eb019.system.entry.js} +1 -1
  471. package/lib/duet/p-75c6a8ee.system.entry.js +4 -0
  472. package/lib/duet/p-76e57b3a.system.entry.js +4 -0
  473. package/lib/duet/{p-a966bbcf.system.js → p-77516717.system.js} +1 -1
  474. package/lib/duet/p-783316e7.system.entry.js +4 -0
  475. package/lib/duet/p-79628294.entry.js +4 -0
  476. package/lib/duet/p-7ae39a1c.entry.js +4 -0
  477. package/lib/duet/p-7c6b903a.entry.js +4 -0
  478. package/lib/duet/p-7ca8790f.system.entry.js +4 -0
  479. package/lib/duet/p-7f2ae5ad.entry.js +4 -0
  480. package/lib/duet/p-7f6f7008.system.entry.js +4 -0
  481. package/lib/duet/{p-8fb46b02.system.js → p-80993983.system.js} +1 -1
  482. package/lib/duet/{p-9a6959da.entry.js → p-81677e17.entry.js} +1 -1
  483. package/lib/duet/p-81f0ab52.entry.js +4 -0
  484. package/lib/duet/p-824f8fec.entry.js +4 -0
  485. package/lib/duet/{p-147a0d89.entry.js → p-8316c5a6.entry.js} +1 -1
  486. package/lib/duet/{p-08b08728.entry.js → p-8417d209.entry.js} +1 -1
  487. package/lib/duet/p-855bf182.entry.js +4 -0
  488. package/lib/duet/p-884ee3c8.entry.js +4 -0
  489. package/lib/duet/p-88880de6.entry.js +4 -0
  490. package/lib/duet/p-8901b848.system.entry.js +4 -0
  491. package/lib/duet/{p-1066dc94.entry.js → p-89e30005.entry.js} +1 -1
  492. package/lib/duet/p-8bbea850.system.entry.js +4 -0
  493. package/lib/duet/{p-354763bd.entry.js → p-8d900bdc.entry.js} +1 -1
  494. package/lib/duet/p-8e21c393.entry.js +4 -0
  495. package/lib/duet/{p-8fbb5ff5.entry.js → p-8f1696fc.entry.js} +1 -1
  496. package/lib/duet/{p-f3d5cc54.system.entry.js → p-904d0415.system.entry.js} +1 -1
  497. package/lib/duet/p-916f4438.entry.js +4 -0
  498. package/lib/duet/p-91a5f0c8.entry.js +4 -0
  499. package/lib/duet/{p-880bccc7.entry.js → p-929579ed.entry.js} +1 -1
  500. package/lib/duet/{p-430c421b.system.entry.js → p-92b098f9.system.entry.js} +1 -1
  501. package/lib/duet/{p-364526bf.system.entry.js → p-949a5c17.system.entry.js} +1 -1
  502. package/lib/duet/p-95cd3623.entry.js +4 -0
  503. package/lib/duet/{p-3ba94b3e.entry.js → p-95d2b637.entry.js} +1 -1
  504. package/lib/duet/p-9718c106.js +4 -0
  505. package/lib/duet/p-9a7b5888.system.entry.js +4 -0
  506. package/lib/duet/p-9d9457bf.js +4 -0
  507. package/lib/duet/p-9df05d74.entry.js +4 -0
  508. package/lib/duet/p-9df8182c.system.entry.js +4 -0
  509. package/lib/duet/p-a0e599fa.system.entry.js +4 -0
  510. package/lib/duet/p-a0f78e44.entry.js +4 -0
  511. package/lib/duet/p-a27a9c69.js +4 -0
  512. package/lib/duet/p-a395c023.entry.js +4 -0
  513. package/lib/duet/p-a48d38dd.entry.js +4 -0
  514. package/lib/duet/{p-dde34236.entry.js → p-aa781739.entry.js} +1 -1
  515. package/lib/duet/p-ac388eb7.entry.js +4 -0
  516. package/lib/duet/p-b07f9abb.system.entry.js +4 -0
  517. package/lib/duet/p-b355076f.entry.js +4 -0
  518. package/lib/duet/p-b3c4e717.system.entry.js +4 -0
  519. package/lib/duet/p-b7691d79.system.entry.js +4 -0
  520. package/lib/duet/{p-eb01f00b.system.entry.js → p-b7ce18dd.system.entry.js} +1 -1
  521. package/lib/duet/p-b81ac5ae.system.js +4 -0
  522. package/lib/duet/p-b91fd1ce.system.entry.js +4 -0
  523. package/lib/duet/p-b9f9f07f.entry.js +4 -0
  524. package/lib/duet/p-bd0ab8c6.system.entry.js +4 -0
  525. package/lib/duet/p-bd3c1bb9.entry.js +4 -0
  526. package/lib/duet/{p-3c7cc108.entry.js → p-bf87b23f.entry.js} +1 -1
  527. package/lib/duet/{p-f208d55c.entry.js → p-c03cf41b.entry.js} +1 -1
  528. package/lib/duet/p-c370b95d.entry.js +4 -0
  529. package/lib/duet/p-c5219057.system.entry.js +4 -0
  530. package/lib/duet/{p-666775c7.system.entry.js → p-c7b24194.system.entry.js} +1 -1
  531. package/lib/duet/p-c80618b4.system.js +4 -0
  532. package/lib/duet/p-c972a96e.js +4 -0
  533. package/lib/duet/p-c976593b.entry.js +4 -0
  534. package/lib/duet/p-c97dbc9b.js +4 -0
  535. package/lib/duet/{p-dc172d1c.entry.js → p-c9971904.entry.js} +1 -1
  536. package/lib/duet/p-cab933ea.system.entry.js +4 -0
  537. package/lib/duet/p-caf1ece1.system.entry.js +4 -0
  538. package/lib/duet/p-cb37d121.entry.js +4 -0
  539. package/lib/duet/p-cbb72b0c.system.entry.js +4 -0
  540. package/lib/duet/p-cbf13746.entry.js +4 -0
  541. package/lib/duet/p-cc9ee2cb.system.entry.js +4 -0
  542. package/lib/duet/p-ccb84e6a.system.entry.js +4 -0
  543. package/lib/duet/{p-440018ce.system.entry.js → p-ce677952.system.entry.js} +1 -1
  544. package/lib/duet/{p-2063c660.system.entry.js → p-d10856d3.system.entry.js} +1 -1
  545. package/lib/duet/{p-46ac8eb2.entry.js → p-d3602171.entry.js} +1 -1
  546. package/lib/duet/p-d44312ba.system.js +4 -0
  547. package/lib/duet/p-d4a9606f.entry.js +4 -0
  548. package/lib/duet/p-d4ecb287.js +4 -0
  549. package/lib/duet/{p-db398834.system.js → p-d4f972c3.system.js} +1 -1
  550. package/lib/duet/p-d6b96130.system.entry.js +4 -0
  551. package/lib/duet/p-d79d46f4.system.entry.js +4 -0
  552. package/lib/duet/p-d807313e.system.entry.js +4 -0
  553. package/lib/duet/p-d84ab69c.system.entry.js +4 -0
  554. package/lib/duet/p-da33830e.system.entry.js +4 -0
  555. package/lib/duet/p-db0ba7b6.system.js +4 -0
  556. package/lib/duet/{p-63b3eff1.entry.js → p-dba326f3.entry.js} +1 -1
  557. package/lib/duet/{p-58b1748d.entry.js → p-dca26ec6.entry.js} +1 -1
  558. package/lib/duet/{p-9a099e32.entry.js → p-df9388c0.entry.js} +1 -1
  559. package/lib/duet/p-e1c99881.system.entry.js +4 -0
  560. package/lib/duet/{p-03b9211c.system.entry.js → p-e26e10f1.system.entry.js} +1 -1
  561. package/lib/duet/p-e433ff50.system.entry.js +4 -0
  562. package/lib/duet/p-e5a7f0a5.system.entry.js +4 -0
  563. package/lib/duet/{p-8fa26acd.system.entry.js → p-e663f11f.system.entry.js} +1 -1
  564. package/lib/duet/p-e7dc7c7c.entry.js +4 -0
  565. package/lib/duet/{p-2144ed7e.entry.js → p-e9dee331.entry.js} +1 -1
  566. package/lib/duet/p-ea60fb06.entry.js +4 -0
  567. package/lib/duet/{p-03b5f65a.entry.js → p-ea986606.entry.js} +1 -1
  568. package/lib/duet/{p-ace83b4d.system.js → p-ec4bb6c3.system.js} +1 -1
  569. package/lib/duet/p-ef35ead4.entry.js +4 -0
  570. package/lib/duet/p-ef4f91d2.system.entry.js +4 -0
  571. package/lib/duet/p-ef97420d.system.entry.js +4 -0
  572. package/lib/duet/p-f0e3d159.js +4 -0
  573. package/lib/duet/p-f103010d.entry.js +4 -0
  574. package/lib/duet/p-f59845f1.entry.js +4 -0
  575. package/lib/duet/p-f5c47365.system.entry.js +4 -0
  576. package/lib/duet/{p-632bb443.entry.js → p-f5f409e3.entry.js} +1 -1
  577. package/lib/duet/{p-7132e6b1.system.js → p-f6486434.system.js} +1 -1
  578. package/lib/duet/p-f81da033.system.entry.js +4 -0
  579. package/lib/duet/p-fa184877.system.entry.js +4 -0
  580. package/lib/duet/p-ff27191d.system.entry.js +4 -0
  581. package/lib/duet/{p-a7442f4e.system.entry.js → p-ff3fa3b2.system.entry.js} +1 -1
  582. package/lib/esm/{a11y-utils-fcabbbe4.js → a11y-utils-696f7b73.js} +1 -1
  583. package/lib/esm/{app-globals-df3febf1.js → app-globals-245f0f6e.js} +1 -1
  584. package/lib/esm/duet-action-button.entry.js +6 -6
  585. package/lib/esm/duet-alert.entry.js +11 -17
  586. package/lib/esm/duet-badge.entry.js +4 -4
  587. package/lib/esm/duet-banner.entry.js +6 -6
  588. package/lib/esm/duet-breadcrumb.entry.js +3 -3
  589. package/lib/esm/duet-breadcrumbs.entry.js +6 -6
  590. package/lib/esm/duet-button_2.entry.js +7 -7
  591. package/lib/esm/duet-callout.entry.js +4 -4
  592. package/lib/esm/duet-caption_4.entry.js +15 -13
  593. package/lib/esm/duet-card.entry.js +12 -10
  594. package/lib/esm/duet-checkbox.entry.js +3 -3
  595. package/lib/esm/duet-checkmark.entry.js +3 -3
  596. package/lib/esm/duet-chip.entry.js +4 -4
  597. package/lib/esm/duet-choice_2.entry.js +6 -6
  598. package/lib/esm/duet-collapsible.entry.js +17 -14
  599. package/lib/esm/duet-combobox.entry.js +5 -5
  600. package/lib/esm/duet-contact-card.entry.js +4 -4
  601. package/lib/esm/duet-cookie-consent.entry.js +3 -3
  602. package/lib/esm/duet-date-picker.entry.js +6 -6
  603. package/lib/esm/duet-divider_2.entry.js +6 -6
  604. package/lib/esm/duet-editable-table_3.entry.js +9 -9
  605. package/lib/esm/duet-empty-state.entry.js +3 -3
  606. package/lib/esm/duet-fieldset.entry.js +8 -8
  607. package/lib/esm/duet-file-chooser.entry.js +3 -3
  608. package/lib/esm/duet-footer.entry.js +5 -5
  609. package/lib/esm/duet-grid_2.entry.js +20 -8
  610. package/lib/esm/duet-header_2.entry.js +10 -9
  611. package/lib/esm/duet-hero.entry.js +13 -10
  612. package/lib/esm/duet-icon.entry.js +5 -5
  613. package/lib/esm/duet-indicator.entry.js +3 -3
  614. package/lib/esm/duet-input_2.entry.js +16 -16
  615. package/lib/esm/duet-layout.entry.js +3 -3
  616. package/lib/esm/duet-list_2.entry.js +4 -4
  617. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  618. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
  619. package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
  620. package/lib/esm/duet-menu-bar-item.entry.js +6 -6
  621. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  622. package/lib/esm/duet-menu-bar.entry.js +4 -4
  623. package/lib/esm/duet-modal.entry.js +28 -16
  624. package/lib/esm/duet-multiselect.entry.js +10 -10
  625. package/lib/esm/duet-nav.entry.js +3 -3
  626. package/lib/esm/duet-notification_2.entry.js +9 -6
  627. package/lib/esm/duet-number-input.entry.js +5 -5
  628. package/lib/esm/duet-overlay.entry.js +3 -3
  629. package/lib/esm/duet-page-heading.entry.js +3 -3
  630. package/lib/esm/duet-pagination_2.entry.js +7 -7
  631. package/lib/esm/duet-panel.entry.js +3 -3
  632. package/lib/esm/duet-phone-input.entry.js +5 -5
  633. package/lib/esm/duet-popup-menu_2.entry.js +7 -7
  634. package/lib/esm/duet-progress.entry.js +4 -4
  635. package/lib/esm/duet-promo-card.entry.js +7 -7
  636. package/lib/esm/duet-radio_2.entry.js +5 -5
  637. package/lib/esm/duet-range-slider.entry.js +4 -4
  638. package/lib/esm/duet-scrollable_3.entry.js +14 -13
  639. package/lib/esm/duet-section-layout.entry.js +2 -2
  640. package/lib/esm/duet-select.entry.js +4 -4
  641. package/lib/esm/duet-shaped-image.entry.js +3 -3
  642. package/lib/esm/duet-share-chart-item.entry.js +1 -1
  643. package/lib/esm/duet-share-chart.entry.js +7 -7
  644. package/lib/esm/duet-show-more.entry.js +5 -5
  645. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  646. package/lib/esm/duet-slideout-link.entry.js +6 -6
  647. package/lib/esm/duet-slideout-panel-dropdown.entry.js +8 -6
  648. package/lib/esm/duet-slideout-panel.entry.js +15 -13
  649. package/lib/esm/duet-slideout.entry.js +12 -11
  650. package/lib/esm/duet-status-icon.entry.js +2 -2
  651. package/lib/esm/duet-step_2.entry.js +5 -5
  652. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  653. package/lib/esm/duet-submenu-bar-dropdown.entry.js +4 -4
  654. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  655. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  656. package/lib/esm/duet-submenu-bar.entry.js +4 -4
  657. package/lib/esm/duet-textarea.entry.js +5 -5
  658. package/lib/esm/duet-toggle.entry.js +3 -3
  659. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  660. package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
  661. package/lib/esm/duet-toolbar-item.entry.js +6 -6
  662. package/lib/esm/duet-toolbar-link.entry.js +3 -3
  663. package/lib/esm/duet-toolbar.entry.js +3 -3
  664. package/lib/esm/duet-tooltip-button_2.entry.js +9 -6
  665. package/lib/esm/duet-tooltip.entry.js +5 -5
  666. package/lib/esm/duet-tray.entry.js +5 -5
  667. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  668. package/lib/esm/duet-upload-item.entry.js +4 -4
  669. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  670. package/lib/esm/duet.js +4 -4
  671. package/lib/esm/{errorcodes.utils-2bbac3d7.js → errorcodes.utils-160ddc21.js} +1 -1
  672. package/lib/esm/{focus-utils-86d0936a.js → focus-utils-d6e4011c.js} +1 -1
  673. package/lib/esm/{index-c99b5a3a.js → index-22246570.js} +1 -1
  674. package/lib/esm/{language-utils-0881a2a9.js → language-utils-09809102.js} +1 -1
  675. package/lib/esm/loader.js +4 -4
  676. package/lib/esm/{slot-utils-a65ef46f.js → slot-utils-eb668280.js} +6 -2
  677. package/lib/esm/{themeable-component-e3661133.js → themeable-component-f4a04f2f.js} +1 -1
  678. package/lib/esm/{token-utils-cf052bc0.js → token-utils-d02c20ff.js} +37 -37
  679. package/lib/{dist-custom-elements/p-eb60efcc.js → esm/tokens-1fd83076.js} +144 -0
  680. package/lib/esm/{tokens.module-821694bb.js → tokens.module-7b07911f.js} +96 -0
  681. package/lib/esm-es5/{a11y-utils-fcabbbe4.js → a11y-utils-696f7b73.js} +1 -1
  682. package/lib/esm-es5/{app-globals-df3febf1.js → app-globals-245f0f6e.js} +1 -1
  683. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  684. package/lib/esm-es5/duet-alert.entry.js +2 -2
  685. package/lib/esm-es5/duet-badge.entry.js +1 -1
  686. package/lib/esm-es5/duet-banner.entry.js +1 -1
  687. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  688. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  689. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  690. package/lib/esm-es5/duet-callout.entry.js +1 -1
  691. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  692. package/lib/esm-es5/duet-card.entry.js +2 -2
  693. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  694. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  695. package/lib/esm-es5/duet-chip.entry.js +2 -2
  696. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  697. package/lib/esm-es5/duet-collapsible.entry.js +2 -2
  698. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  699. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  700. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  701. package/lib/esm-es5/duet-date-picker.entry.js +2 -2
  702. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  703. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  704. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  705. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  706. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  707. package/lib/esm-es5/duet-footer.entry.js +1 -1
  708. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  709. package/lib/esm-es5/duet-header_2.entry.js +2 -2
  710. package/lib/esm-es5/duet-hero.entry.js +1 -1
  711. package/lib/esm-es5/duet-icon.entry.js +1 -1
  712. package/lib/esm-es5/duet-indicator.entry.js +1 -1
  713. package/lib/esm-es5/duet-input_2.entry.js +2 -2
  714. package/lib/esm-es5/duet-layout.entry.js +1 -1
  715. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  716. package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
  717. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  718. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
  719. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  720. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  721. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  722. package/lib/esm-es5/duet-modal.entry.js +1 -1
  723. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  724. package/lib/esm-es5/duet-nav.entry.js +1 -1
  725. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  726. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  727. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  728. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  729. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  730. package/lib/esm-es5/duet-panel.entry.js +1 -1
  731. package/lib/esm-es5/duet-phone-input.entry.js +1 -1
  732. package/lib/esm-es5/duet-popup-menu_2.entry.js +2 -2
  733. package/lib/esm-es5/duet-progress.entry.js +1 -1
  734. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  735. package/lib/esm-es5/duet-radio_2.entry.js +2 -2
  736. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  737. package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
  738. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  739. package/lib/esm-es5/duet-select.entry.js +2 -2
  740. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  741. package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
  742. package/lib/esm-es5/duet-share-chart.entry.js +1 -1
  743. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  744. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  745. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  746. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  747. package/lib/esm-es5/duet-slideout-panel.entry.js +2 -2
  748. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  749. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  750. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  751. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  752. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +2 -2
  753. package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
  754. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  755. package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
  756. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  757. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  758. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  759. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  760. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  761. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  762. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  763. package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
  764. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  765. package/lib/esm-es5/duet-tray.entry.js +1 -1
  766. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  767. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  768. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  769. package/lib/esm-es5/duet.js +1 -1
  770. package/lib/esm-es5/{errorcodes.utils-2bbac3d7.js → errorcodes.utils-160ddc21.js} +1 -1
  771. package/lib/esm-es5/{focus-utils-86d0936a.js → focus-utils-d6e4011c.js} +1 -1
  772. package/lib/esm-es5/{index-c99b5a3a.js → index-22246570.js} +1 -1
  773. package/lib/esm-es5/{language-utils-0881a2a9.js → language-utils-09809102.js} +1 -1
  774. package/lib/esm-es5/loader.js +1 -1
  775. package/lib/esm-es5/slot-utils-eb668280.js +4 -0
  776. package/lib/esm-es5/{themeable-component-e3661133.js → themeable-component-f4a04f2f.js} +1 -1
  777. package/lib/esm-es5/token-utils-d02c20ff.js +4 -0
  778. package/lib/esm-es5/tokens-1fd83076.js +4 -0
  779. package/lib/esm-es5/tokens.module-7b07911f.js +4 -0
  780. package/lib/types/components/duet-alert/duet-alert.d.ts +2 -4
  781. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +3 -1
  782. package/lib/types/components/duet-grid/duet-grid.d.ts +5 -3
  783. package/lib/types/components/duet-hero/duet-hero.d.ts +1 -0
  784. package/lib/types/components/duet-input/duet-input.d.ts +5 -10
  785. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
  786. package/lib/types/components.d.ts +24 -5
  787. package/lib/types/utils/slot-utils.d.ts +1 -0
  788. package/package.json +9 -9
  789. package/lib/dist-custom-elements/p-07aea296.js +0 -318
  790. package/lib/dist-custom-elements/p-07d58c18.js +0 -227
  791. package/lib/dist-custom-elements/p-2dc31d71.js +0 -148
  792. package/lib/duet/p-00b27ded.entry.js +0 -4
  793. package/lib/duet/p-021c152c.system.entry.js +0 -4
  794. package/lib/duet/p-032230dd.entry.js +0 -4
  795. package/lib/duet/p-0c012ed1.entry.js +0 -4
  796. package/lib/duet/p-0fec0e03.system.entry.js +0 -4
  797. package/lib/duet/p-118dae54.entry.js +0 -4
  798. package/lib/duet/p-13eec75c.system.js +0 -4
  799. package/lib/duet/p-17db9cab.system.entry.js +0 -4
  800. package/lib/duet/p-17e9f5f2.entry.js +0 -4
  801. package/lib/duet/p-17efced0.js +0 -4
  802. package/lib/duet/p-1971f9b0.system.entry.js +0 -4
  803. package/lib/duet/p-1b7c7390.entry.js +0 -4
  804. package/lib/duet/p-1bb0af1a.entry.js +0 -4
  805. package/lib/duet/p-1e5c76d7.system.entry.js +0 -4
  806. package/lib/duet/p-1e6bf17e.system.entry.js +0 -4
  807. package/lib/duet/p-1f082e57.system.entry.js +0 -4
  808. package/lib/duet/p-219cd158.entry.js +0 -4
  809. package/lib/duet/p-23486542.system.entry.js +0 -4
  810. package/lib/duet/p-23601b3e.system.entry.js +0 -4
  811. package/lib/duet/p-236aec93.entry.js +0 -4
  812. package/lib/duet/p-24c27df5.system.entry.js +0 -4
  813. package/lib/duet/p-2747b44c.system.entry.js +0 -4
  814. package/lib/duet/p-27fecfaa.entry.js +0 -4
  815. package/lib/duet/p-2bbc034f.system.entry.js +0 -4
  816. package/lib/duet/p-2c164336.entry.js +0 -4
  817. package/lib/duet/p-2cf70fac.system.entry.js +0 -4
  818. package/lib/duet/p-3390de84.entry.js +0 -4
  819. package/lib/duet/p-33b6ad8b.system.entry.js +0 -4
  820. package/lib/duet/p-3420a2e4.entry.js +0 -4
  821. package/lib/duet/p-34b57104.system.entry.js +0 -4
  822. package/lib/duet/p-36a29933.js +0 -4
  823. package/lib/duet/p-36b45ca1.entry.js +0 -4
  824. package/lib/duet/p-37687656.entry.js +0 -4
  825. package/lib/duet/p-393f3d40.system.entry.js +0 -4
  826. package/lib/duet/p-3c3bc9fb.system.entry.js +0 -4
  827. package/lib/duet/p-43e7ee1b.system.entry.js +0 -4
  828. package/lib/duet/p-4594e530.entry.js +0 -4
  829. package/lib/duet/p-48049d11.system.entry.js +0 -4
  830. package/lib/duet/p-480ed6f7.entry.js +0 -4
  831. package/lib/duet/p-49d3f1f8.system.entry.js +0 -4
  832. package/lib/duet/p-55ed83fd.entry.js +0 -4
  833. package/lib/duet/p-56d797a7.system.entry.js +0 -4
  834. package/lib/duet/p-578b1556.entry.js +0 -4
  835. package/lib/duet/p-5a623866.system.entry.js +0 -4
  836. package/lib/duet/p-5af19c0d.entry.js +0 -4
  837. package/lib/duet/p-5be1c8ca.system.entry.js +0 -4
  838. package/lib/duet/p-5cbbad67.entry.js +0 -4
  839. package/lib/duet/p-5db55c55.system.entry.js +0 -4
  840. package/lib/duet/p-64959c1d.system.js +0 -4
  841. package/lib/duet/p-66663bdd.entry.js +0 -4
  842. package/lib/duet/p-684278ce.system.entry.js +0 -4
  843. package/lib/duet/p-6950f757.system.entry.js +0 -4
  844. package/lib/duet/p-6b02af30.entry.js +0 -4
  845. package/lib/duet/p-6b371ce8.system.entry.js +0 -4
  846. package/lib/duet/p-6bb80546.system.entry.js +0 -4
  847. package/lib/duet/p-6bc99ba8.entry.js +0 -4
  848. package/lib/duet/p-6e575dd4.system.entry.js +0 -4
  849. package/lib/duet/p-6f05d7e7.entry.js +0 -4
  850. package/lib/duet/p-6f2c6bff.entry.js +0 -4
  851. package/lib/duet/p-6fb94ef4.system.entry.js +0 -4
  852. package/lib/duet/p-7089e938.system.entry.js +0 -4
  853. package/lib/duet/p-73508ab7.entry.js +0 -4
  854. package/lib/duet/p-7397dd4f.system.entry.js +0 -4
  855. package/lib/duet/p-745b87a1.system.entry.js +0 -4
  856. package/lib/duet/p-746cc1a2.system.entry.js +0 -4
  857. package/lib/duet/p-750e4ab4.entry.js +0 -4
  858. package/lib/duet/p-75fdf144.system.js +0 -4
  859. package/lib/duet/p-7732213d.entry.js +0 -4
  860. package/lib/duet/p-7b28d664.entry.js +0 -4
  861. package/lib/duet/p-7b845013.entry.js +0 -4
  862. package/lib/duet/p-808c5e03.system.entry.js +0 -4
  863. package/lib/duet/p-80bf7a6d.js +0 -4
  864. package/lib/duet/p-8283b6dc.system.entry.js +0 -4
  865. package/lib/duet/p-85023f68.entry.js +0 -4
  866. package/lib/duet/p-8810586f.system.entry.js +0 -4
  867. package/lib/duet/p-89363c87.system.entry.js +0 -4
  868. package/lib/duet/p-89636372.entry.js +0 -4
  869. package/lib/duet/p-8d42cd8e.entry.js +0 -4
  870. package/lib/duet/p-9012c4d7.system.entry.js +0 -4
  871. package/lib/duet/p-90448156.system.entry.js +0 -4
  872. package/lib/duet/p-907af7da.system.entry.js +0 -4
  873. package/lib/duet/p-9171868a.system.js +0 -4
  874. package/lib/duet/p-935bb380.system.entry.js +0 -4
  875. package/lib/duet/p-990cd307.system.entry.js +0 -4
  876. package/lib/duet/p-9a68836b.entry.js +0 -4
  877. package/lib/duet/p-9ac8d40d.system.entry.js +0 -4
  878. package/lib/duet/p-9ecf83ca.system.entry.js +0 -4
  879. package/lib/duet/p-a331720c.system.entry.js +0 -4
  880. package/lib/duet/p-a607febe.system.entry.js +0 -4
  881. package/lib/duet/p-aa75307b.entry.js +0 -4
  882. package/lib/duet/p-abe3827d.entry.js +0 -4
  883. package/lib/duet/p-accae6ec.entry.js +0 -4
  884. package/lib/duet/p-ad14a7bb.entry.js +0 -4
  885. package/lib/duet/p-ad570b3d.entry.js +0 -4
  886. package/lib/duet/p-ad6ccb39.js +0 -4
  887. package/lib/duet/p-aeb3d682.system.entry.js +0 -4
  888. package/lib/duet/p-b09cf28d.system.entry.js +0 -4
  889. package/lib/duet/p-b23fd2cf.system.entry.js +0 -4
  890. package/lib/duet/p-b58e595a.system.entry.js +0 -4
  891. package/lib/duet/p-baaac8e6.system.entry.js +0 -4
  892. package/lib/duet/p-bfaf639a.system.entry.js +0 -4
  893. package/lib/duet/p-c1a87168.entry.js +0 -4
  894. package/lib/duet/p-c97d9b65.entry.js +0 -4
  895. package/lib/duet/p-ccdecd17.entry.js +0 -4
  896. package/lib/duet/p-d0b307cc.js +0 -4
  897. package/lib/duet/p-d2d74167.system.entry.js +0 -4
  898. package/lib/duet/p-d7d5874f.system.entry.js +0 -4
  899. package/lib/duet/p-d8739243.system.entry.js +0 -4
  900. package/lib/duet/p-d93881ea.entry.js +0 -4
  901. package/lib/duet/p-da7ff7a2.entry.js +0 -4
  902. package/lib/duet/p-dc332043.entry.js +0 -4
  903. package/lib/duet/p-ddc0706b.system.entry.js +0 -4
  904. package/lib/duet/p-de531c22.system.entry.js +0 -4
  905. package/lib/duet/p-dfb4edcc.system.entry.js +0 -4
  906. package/lib/duet/p-e19b45d6.system.entry.js +0 -4
  907. package/lib/duet/p-e39afbb1.entry.js +0 -4
  908. package/lib/duet/p-e73a7c54.system.entry.js +0 -4
  909. package/lib/duet/p-eaf7a202.system.entry.js +0 -4
  910. package/lib/duet/p-eb19b715.system.entry.js +0 -4
  911. package/lib/duet/p-eb60efcc.js +0 -4
  912. package/lib/duet/p-eb817c52.entry.js +0 -4
  913. package/lib/duet/p-f00388be.system.entry.js +0 -4
  914. package/lib/duet/p-f033bc52.system.js +0 -4
  915. package/lib/duet/p-f92ce1f9.js +0 -4
  916. package/lib/duet/p-fac03927.entry.js +0 -4
  917. package/lib/duet/p-fe6123a8.entry.js +0 -4
  918. package/lib/duet/p-feaa9ad0.entry.js +0 -4
  919. package/lib/duet/p-ff6049c7.system.entry.js +0 -4
  920. package/lib/esm-es5/slot-utils-a65ef46f.js +0 -4
  921. package/lib/esm-es5/token-utils-cf052bc0.js +0 -4
  922. package/lib/esm-es5/tokens-57aa1508.js +0 -4
  923. package/lib/esm-es5/tokens.module-821694bb.js +0 -4
@@ -1,318 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-1be25f37.js';
5
- import { i as inheritGlobalTheme } from './p-3757c660.js';
6
- import { a as DuetStringsExternalDefaults, b as DuetStringsLoadingDefaults } from './p-b7a93f1c.js';
7
- import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-d9b2e80e.js';
8
- import { g as getColorByName } from './p-78b6337a.js';
9
- import { d as defineCustomElement$3 } from './p-2c6c022f.js';
10
- import { d as defineCustomElement$2 } from './p-1428bca8.js';
11
- import { d as defineCustomElement$1 } from './p-fa3ebc1e.js';
12
-
13
- const duetButtonCss = "*,*::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;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;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.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, outline 300ms ease, padding 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:12.5px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:18px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:18px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:10px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:14px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:14px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){min-width:48px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-theme-turva .duet-button{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(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(222, 224, 228)}.duet-button.default:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(222, 224, 228) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary,.duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary,.duet-theme-turva .duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover,.duet-button.input-button-left-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover,.duet-theme-turva .duet-button.input-button-left-primary:hover{background:rgb(126, 2, 35);border-color:rgb(126, 2, 35)}.duet-button.primary:focus,.duet-button.input-button-primary:focus,.duet-button.input-button-left-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus,.duet-theme-turva .duet-button.input-button-left-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-left-secondary,.duet-button.input-button-embedded{color:rgb(8, 42, 77) !important;background:transparent;border-color:rgb(8, 42, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-left-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-left-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-left-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(212, 223, 229) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(222, 224, 228) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled],.duet-button.plain[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled],.duet-theme-turva .duet-button.plain[disabled]:hover{color:rgb(113, 118, 132) !important;cursor:not-allowed;background:transparent !important;border-color:rgb(222, 224, 228) !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(126, 2, 35) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded,.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents,.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-secondary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-embedded .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-secondary .duet-button-contents.icon-right{padding:0 16px}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px}.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.square{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(222, 224, 228)}.duet-button.square:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.square:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(143, 147, 158) !important;cursor:not-allowed;background:rgb(222, 224, 228) !important;border-color:rgb(222, 224, 228) !important;outline-color:rgb(222, 224, 228) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}:host(.duet-theme-turva2) .duet-theme-turva .duet-button{border-radius:8px}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default{color:#e61740 !important;border-color:#fbe1d1}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default:hover{border-color:#e61740;outline-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative{background-color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.default.duet-button-negative:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-primary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-primary{background:#e61740;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded{color:#172a3b !important;border-color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:#e61740 !important;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative{color:#172a3b !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.negative:hover{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain{color:#e61740 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain:hover{color:#8c001e !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.plain[disabled]:hover{color:#5f7a8f !important;background:transparent !important;border-color:#fbe1d1 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square{border-color:#fbe1d1}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square.duet-button-negative{background:#e61740;border-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button.square:hover{border-color:#e61740;outline-color:#e61740}:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button[disabled]:hover,:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled],:host(.duet-theme-turva2) .duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:#7891a4 !important;cursor:not-allowed;background:#d4dde2 !important;border-color:#d4dde2 !important;outline-color:#d4dde2 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-button-is-loading.default{color:#e61740}";
14
- const DuetButtonStyle0 = duetButtonCss;
15
-
16
- const DuetButton = /*@__PURE__*/ proxyCustomElement(class DuetButton extends H {
17
- constructor() {
18
- super();
19
- this.__registerHost();
20
- this.__attachShadow();
21
- this.duetFocus = createEvent(this, "duetFocus", 7);
22
- this.duetBlur = createEvent(this, "duetBlur", 7);
23
- this.proxyButtonSetUp = () => {
24
- const slottedElement = this.element.querySelector("button[slot=proxybutton]");
25
- const button = slottedElement || document.createElement("button");
26
- if (this.url) {
27
- if (slottedElement) {
28
- slottedElement.remove();
29
- }
30
- this.proxyButton = null;
31
- return;
32
- }
33
- button.setAttribute("slot", "proxybutton");
34
- button.style.display = "none";
35
- button.type = this.getButtonType();
36
- button.disabled = this.disabled;
37
- button.setAttribute("form", this.form);
38
- if (!this.form) {
39
- button.removeAttribute("form");
40
- }
41
- // attributes should be removed in cases where name/value is not set
42
- if (this.name != null) {
43
- button.name = this.name;
44
- }
45
- else {
46
- button.removeAttribute("name");
47
- }
48
- if (this.value != null) {
49
- button.value = this.value;
50
- }
51
- else {
52
- button.removeAttribute("value");
53
- }
54
- if (!slottedElement) {
55
- this.element.appendChild(button);
56
- }
57
- this.proxyButton = button;
58
- };
59
- /**
60
- * Component event handling.
61
- */
62
- this.handleClick = (ev) => {
63
- // If this button wants to specifically submit a form
64
- // climb up the dom to see if we're in a <form>
65
- // and if so, then use JS to submit it.
66
- // To understand better, see: https://www.hjorthhansen.dev/shadow-dom-form-participation/
67
- if (this.submit && !this.url && (this.element.closest("form") || this.form)) {
68
- ev.stopPropagation();
69
- ev.preventDefault();
70
- this.proxyButton.click();
71
- }
72
- };
73
- this.onFocus = () => {
74
- this.duetFocus.emit();
75
- };
76
- this.onBlur = () => {
77
- this.duetBlur.emit();
78
- };
79
- this.accessibleLabel = undefined;
80
- this.accessibleControls = undefined;
81
- this.accessiblePopup = "false";
82
- this.accessibleActiveDescendant = undefined;
83
- this.accessibleOwns = undefined;
84
- this.accessibleDescribedBy = undefined;
85
- this.accessibleDetails = undefined;
86
- this.accessibleLabelledBy = undefined;
87
- this.accessibleDescription = undefined;
88
- this.accessibleExpanded = undefined;
89
- this.accessiblePressed = undefined;
90
- this.loading = false;
91
- this.variation = "default";
92
- this.negative = false;
93
- this.theme = "";
94
- this.margin = "auto";
95
- this.form = undefined;
96
- this.padding = "auto";
97
- this.centerText = false;
98
- this.wrapping = "auto";
99
- this.expand = false;
100
- this.fixed = false;
101
- this.disabled = false;
102
- this.name = undefined;
103
- this.value = undefined;
104
- this.identifier = undefined;
105
- this.submit = false;
106
- this.external = false;
107
- this.language = getLanguage();
108
- this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
109
- this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
110
- this.accessibleLabelLoadingDefaults = DuetStringsLoadingDefaults;
111
- this.accessibleLabelLoading = getLocaleString(this.accessibleLabelLoadingDefaults);
112
- this.icon = "";
113
- this.color = "";
114
- this.iconRight = false;
115
- this.iconSize = "medium";
116
- this.size = "medium";
117
- this.iconOnly = false;
118
- this.url = undefined;
119
- }
120
- /**
121
- * Component lifecycle events.
122
- */
123
- componentWillLoad() {
124
- inheritGlobalTheme(this);
125
- if (this.url && this.external && this.icon) {
126
- console.warn("[DUET]: Button used as an external link will override any icon that is set");
127
- }
128
- }
129
- connectedCallback() {
130
- connectLanguageChangeObserver(this, [
131
- {
132
- prop: "accessibleLabelExternal",
133
- defaults: "accessibleLabelExternalDefaults",
134
- },
135
- {
136
- prop: "accessibleLabelLoading",
137
- defaults: "accessibleLabelLoadingDefaults",
138
- },
139
- ]);
140
- }
141
- disconnectedCallback() {
142
- disconnectLanguageChangeObserver(this);
143
- }
144
- componentDidRender() {
145
- if (this.disabled === false) {
146
- this.element.removeAttribute("disabled");
147
- }
148
- if (this.submit) {
149
- this.proxyButtonSetUp();
150
- }
151
- }
152
- getButtonType() {
153
- return this.submit ? "submit" : "button";
154
- }
155
- getButtonIconSize() {
156
- switch (this.iconSize) {
157
- case "small":
158
- return "small";
159
- case "medium-small":
160
- return "medium-small";
161
- case "medium":
162
- return "medium";
163
- case "large":
164
- return "large";
165
- default:
166
- return "medium";
167
- }
168
- }
169
- /**
170
- * Sets focus on the specified `duet-button`. Use this method instead of the global
171
- * `button.focus()`.
172
- */
173
- async setFocus(options) {
174
- if (this.nativeButton) {
175
- this.nativeButton.focus(options);
176
- }
177
- }
178
- /**
179
- * render() function.
180
- * Always the last one in the class.
181
- */
182
- render() {
183
- var _a, _b;
184
- const isExternalLink = this.external && this.url;
185
- // enforce consistency for external links
186
- const icon = isExternalLink ? "action-new-window" : this.icon;
187
- const iconRight = isExternalLink ? true : this.iconRight;
188
- const commonChildren = (h("span", { key: '4b6618222c037ec329c118f7ad247b9fd514e878', class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color, this.theme) } }, icon && (h("span", { key: '67492c9b50231879ba232f7c6bcdadcb2d219875', "aria-hidden": "true", class: {
189
- "duet-button-icon": true,
190
- left: !iconRight,
191
- right: iconRight,
192
- [this.getButtonIconSize()]: true,
193
- } }, h("duet-icon", { key: 'fce0630d78df187c2a7f3946ff3d262c43e5ce95', size: "auto", margin: "none", name: icon, color: "currentColor" }))), h("span", { key: '34d608211bac6921c4aec51f71a9b33e2ac2b7b0', class: "duet-button-contents-slot" }, h("slot", { key: 'b2478d851993c148be6a83a76f9f725469bc9944' }))));
194
- const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
195
- const commonProps = {
196
- onFocus: this.onFocus,
197
- onBlur: this.onBlur,
198
- ref: button => (this.nativeButton = button),
199
- id: this.identifier,
200
- class: {
201
- "duet-m-0": this.margin === "none",
202
- "duet-p-0": this.padding === "none",
203
- "duet-no-wrap": this.wrapping === "none",
204
- "duet-button": true,
205
- "duet-button-is-small": this.size === "small",
206
- [`duet-button-size-${size}`]: true,
207
- "duet-button-icon-only": this.iconOnly,
208
- "duet-button-text-center": this.centerText,
209
- "duet-button-negative": this.negative || this.variation === "negative",
210
- [this.variation]: true,
211
- "input-button": (_a = this.variation) === null || _a === void 0 ? void 0 : _a.startsWith("input-button"),
212
- disabled: this.disabled,
213
- icon: !!icon,
214
- "icon-right": iconRight,
215
- "icon-left": !!icon && !iconRight,
216
- [this.getButtonIconSize()]: true,
217
- },
218
- "aria-controls": this.accessibleControls,
219
- "aria-label": this.accessibleLabel,
220
- "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined,
221
- "aria-activedescendant": this.accessibleActiveDescendant,
222
- "aria-owns": this.accessibleOwns,
223
- "aria-describedby": this.accessibleDescribedBy,
224
- "aria-labelledby": this.accessibleLabelledBy,
225
- "aria-details": this.accessibleDetails,
226
- "aria-description": this.accessibleDescription,
227
- };
228
- return (h(Host, { key: 'c70e2d9cbe884c7b6cc3012721f01ce6d54b4555', class: {
229
- "duet-m-0": this.margin === "none",
230
- "duet-small": this.size === "small",
231
- "duet-x-small": this.size === "x-small",
232
- "duet-fixed": this.fixed,
233
- "duet-expand": this.expand,
234
- [this.variation]: true,
235
- "input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
236
- } }, h("span", { key: 'c8be7792d2ae572befbfbe921a3ec453c073637d', onClick: this.handleClick, class: {
237
- "duet-button-container": true,
238
- "duet-button-is-loading": this.loading,
239
- "duet-theme-turva": this.theme === "turva",
240
- "duet-button-negative": this.negative || this.variation === "negative",
241
- [this.variation]: true,
242
- } }, this.url ? (h("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (h("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && h("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && h("duet-spinner", { key: 'da956cda627d2afc5084ee69629b54ffabcb672b', color: "currentColor" })), h("slot", { key: '0ead01a475d6242c0049a259f9b9c725830d4b80', name: "proxybutton" })));
243
- }
244
- get element() { return this; }
245
- static get style() { return DuetButtonStyle0; }
246
- }, [1, "duet-button", {
247
- "accessibleLabel": [1, "accessible-label"],
248
- "accessibleControls": [1, "accessible-controls"],
249
- "accessiblePopup": [1, "accessible-popup"],
250
- "accessibleActiveDescendant": [1, "accessible-active-descendant"],
251
- "accessibleOwns": [1, "accessible-owns"],
252
- "accessibleDescribedBy": [1, "accessible-described-by"],
253
- "accessibleDetails": [1, "accessible-details"],
254
- "accessibleLabelledBy": [1, "accessible-labelled-by"],
255
- "accessibleDescription": [1, "accessible-description"],
256
- "accessibleExpanded": [4, "accessible-expanded"],
257
- "accessiblePressed": [4, "accessible-pressed"],
258
- "loading": [4],
259
- "variation": [1],
260
- "negative": [4],
261
- "theme": [1025],
262
- "margin": [1],
263
- "form": [1],
264
- "padding": [1],
265
- "centerText": [4, "center-text"],
266
- "wrapping": [1],
267
- "expand": [4],
268
- "fixed": [4],
269
- "disabled": [516],
270
- "name": [1],
271
- "value": [1],
272
- "identifier": [1],
273
- "submit": [516],
274
- "external": [4],
275
- "language": [1537],
276
- "accessibleLabelExternalDefaults": [1, "accessible-label-external-default"],
277
- "accessibleLabelExternal": [1025, "accessible-label-external"],
278
- "accessibleLabelLoadingDefaults": [1, "accessible-label-loading-default"],
279
- "accessibleLabelLoading": [1025, "accessible-label-loading"],
280
- "icon": [1],
281
- "color": [1],
282
- "iconRight": [4, "icon-right"],
283
- "iconSize": [1, "icon-size"],
284
- "size": [1],
285
- "iconOnly": [4, "icon-only"],
286
- "url": [513],
287
- "setFocus": [64]
288
- }]);
289
- function defineCustomElement() {
290
- if (typeof customElements === "undefined") {
291
- return;
292
- }
293
- const components = ["duet-button", "duet-icon", "duet-spinner", "duet-visually-hidden"];
294
- components.forEach(tagName => { switch (tagName) {
295
- case "duet-button":
296
- if (!customElements.get(tagName)) {
297
- customElements.define(tagName, DuetButton);
298
- }
299
- break;
300
- case "duet-icon":
301
- if (!customElements.get(tagName)) {
302
- defineCustomElement$3();
303
- }
304
- break;
305
- case "duet-spinner":
306
- if (!customElements.get(tagName)) {
307
- defineCustomElement$2();
308
- }
309
- break;
310
- case "duet-visually-hidden":
311
- if (!customElements.get(tagName)) {
312
- defineCustomElement$1();
313
- }
314
- break;
315
- } });
316
- }
317
-
318
- export { DuetButton as D, defineCustomElement as d };
@@ -1,227 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-1be25f37.js';
5
- import { D as DuetStatusLabels } from './p-b7a93f1c.js';
6
- import { i as inheritGlobalTheme } from './p-3757c660.js';
7
- import { c as createID } from './p-5e59e970.js';
8
- import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-8db11326.js';
9
- import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-d9b2e80e.js';
10
- import { h as hasSlot } from './p-f21662ea.js';
11
- import { d as defineCustomElement$6 } from './p-07aea296.js';
12
- import { d as defineCustomElement$5 } from './p-2c6c022f.js';
13
- import { d as defineCustomElement$4 } from './p-979b130b.js';
14
- import { d as defineCustomElement$3 } from './p-1428bca8.js';
15
- import { d as defineCustomElement$2 } from './p-63bad120.js';
16
- import { d as defineCustomElement$1 } from './p-fa3ebc1e.js';
17
-
18
- const duetAlertCss = "*,*::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;display:block;width:100%;max-height:999px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;position:relative;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:400;line-height:1.25;color:rgb(8, 42, 77);background:rgb(228, 241, 247);border:1px solid rgb(172, 210, 229);border-radius:12px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-alert-wrapper.warning{color:rgb(38, 26, 4);background:rgb(255, 247, 221);border:1px solid rgb(255, 217, 120)}.duet-alert-wrapper.danger{color:rgb(89, 0, 45);background:rgb(255, 225, 231);border:1px solid rgb(252, 136, 162)}.duet-alert-wrapper.success{color:rgb(4, 38, 33);background:rgb(231, 248, 239);border:1px solid rgb(163, 229, 202)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229);border-radius:0}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 72px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-wrapper .duet-alert.duet-alert-expandable{padding-right:20px}.duet-alert-dismiss{position:absolute;top:3px;right:3px}.duet-alert-dismiss duet-button:hover{background-color:rgb(198, 225, 238);border-radius:8px}.warning .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 232, 160)}.danger .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 173, 190)}.success .duet-alert-dismiss duet-button:hover{background-color:rgb(191, 239, 218)}.duet-alert-container{display:inline-flex;align-items:flex-start;width:100%;margin:0 auto !important}.duet-alert-container .duet-alert-content{flex-grow:1;line-height:1.5}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{position:relative;top:2px;display:inline-block;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-expander{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;width:calc(100% + 32px + 40px);padding:16px;padding-right:20px;padding-left:52px;margin:-16px;margin-left:-52px;font-family:inherit;color:inherit;cursor:pointer;background-color:inherit}.duet-alert-expanded .duet-alert-expander{margin-bottom:-4px}.duet-alert-expander .expanding-title{flex-grow:1;font-size:1rem;line-height:1.5;text-align:left}.duet-alert-expander duet-icon{position:relative;top:4px;transition:rotate 300ms ease}.duet-alert-expanded .duet-alert-expander duet-icon{rotate:180deg}.duet-alert-expander:hover{filter:brightness(85%)}";
19
- const DuetAlertStyle0 = duetAlertCss;
20
-
21
- const DuetAlert = /*@__PURE__*/ proxyCustomElement(class DuetAlert extends H {
22
- constructor() {
23
- super();
24
- this.__registerHost();
25
- this.__attachShadow();
26
- this.duetDismiss = createEvent(this, "duetDismiss", 7);
27
- this.duetCloseComplete = createEvent(this, "duetCloseComplete", 7);
28
- this.descriptiveId = createID("DuetAlert");
29
- this.hasShowMoreSlot = false;
30
- this.handleDismiss = (ev) => {
31
- this.handleHide();
32
- this.duetDismiss.emit({
33
- component: "duet-alert",
34
- originalEvent: ev,
35
- });
36
- };
37
- this.handleShow = () => {
38
- this.isDismissed = false;
39
- };
40
- this.handleHide = () => {
41
- this.isDismissed = true;
42
- this.element.addEventListener("transitionend", () => this.duetCloseComplete.emit(), { once: true });
43
- };
44
- this.handleExpandToggle = () => {
45
- this.isExpanded = !this.isExpanded;
46
- };
47
- this.getRole = () => {
48
- if (!this.announcements) {
49
- return undefined;
50
- }
51
- if (["warning", "danger"].includes(this.variation)) {
52
- return "alert";
53
- }
54
- return "status";
55
- };
56
- this.theme = "";
57
- this.isDismissed = false;
58
- this.isExpanded = false;
59
- this.timeoutID = undefined;
60
- this.accessibleLabelDefaults = {
61
- fi: "Painike viestin sulkemiseen",
62
- sv: "Knapp för att stänga meddelandet",
63
- en: "Button to close the message",
64
- };
65
- this.accessibleLabel = getLocaleString(this.accessibleLabelDefaults);
66
- this.announcements = true;
67
- this.icon = "";
68
- this.autoDismiss = undefined;
69
- this.margin = "auto";
70
- this.padding = "auto";
71
- this.variation = "default";
72
- this.position = "content";
73
- this.dismissible = false;
74
- this.focusable = false;
75
- this.expandingTitle = "";
76
- }
77
- /**
78
- * Component lifecycle events.
79
- */
80
- componentWillLoad() {
81
- inheritGlobalTheme(this);
82
- this.hasShowMoreSlot = hasSlot(this.element, "show-more");
83
- }
84
- componentDidLoad() {
85
- if (this.autoDismiss) {
86
- this.timeoutID = setTimeout(() => this.handleDismiss(), this.autoDismiss);
87
- }
88
- }
89
- connectedCallback() {
90
- connectLanguageChangeObserver(this, { prop: "accessibleLabel", defaults: "accessibleLabelDefaults" });
91
- subscribeTabbingChange(this);
92
- }
93
- disconnectedCallback() {
94
- if (this.timeoutID) {
95
- clearTimeout(this.timeoutID);
96
- }
97
- disconnectLanguageChangeObserver(this);
98
- unsubscribeTabbingChange(this);
99
- }
100
- /**
101
- * Show.
102
- */
103
- async show() {
104
- this.handleShow();
105
- }
106
- /**
107
- * Hide.
108
- */
109
- async hide() {
110
- this.handleHide();
111
- }
112
- /**
113
- * Sets focus on the specified `duet-alert`.
114
- * Works only when focusable property is set to true.
115
- * Use this method instead of the global
116
- * `button.focus()`.
117
- */
118
- async setFocus(options) {
119
- this.alertContainer.focus(options);
120
- }
121
- /**
122
- * There is bug in NVDA screen reader
123
- * that is causing multiple alert readings
124
- * when alert contains other components (link, button etc.).
125
- */
126
- /**
127
- * render() function
128
- * Always the last one in the class.
129
- */
130
- render() {
131
- const variation = ["default", "success", "danger", "warning"].includes(this.variation)
132
- ? this.variation
133
- : "default";
134
- const variationLabel = getLocaleString(DuetStatusLabels[variation]);
135
- return (h(Host, { key: 'b204a657de629955d04058f3c43813aa00980c1e', class: {
136
- "duet-theme-turva": this.theme === "turva",
137
- "duet-alert-is-dismissed": this.isDismissed,
138
- }, role: this.getRole() }, h("div", { key: '0d573c37ae4013f7fdef0d89a7d2cfff38157b44', class: {
139
- "duet-alert-wrapper": true,
140
- "duet-p-0": this.padding === "none",
141
- "duet-m-0": this.margin === "none",
142
- [variation]: true,
143
- [this.position]: true,
144
- "duet-theme-turva": this.theme === "turva",
145
- } }, h("div", { key: 'ecb946bd29811c5ee207804498810a6cd3c83889', class: {
146
- "duet-alert": true,
147
- "duet-alert-expandable": !!this.expandingTitle,
148
- "duet-alert-expanded": this.isExpanded,
149
- "duet-alert-has-icon": !!this.icon || this.position === "below-nav",
150
- "duet-alert-has-show-more": this.hasShowMoreSlot,
151
- "duet-alert-is-dismissible": this.dismissible,
152
- "duet-p-0": this.padding === "none",
153
- "duet-m-0": this.margin === "none",
154
- [variation]: true,
155
- "duet-theme-turva": this.theme === "turva",
156
- } }, h("div", { key: '88e63f17d9d316a933266a2d98be63f1cf6fa939', class: "duet-alert-container", ref: element => {
157
- this.alertContainer = element;
158
- }, tabindex: this.focusable ? "0" : undefined }, this.position !== "below-nav" && (h("div", { key: 'd0e266b3c576ec9c2532053c292c3bfbbc9d92b0', class: "duet-alert-icon" }, (this.icon && h("duet-icon", { key: 'efa5d1133ba832aa3e88fb419b8f2b454b5536c1', size: "auto", name: this.icon, color: "currentColor" })) || (h("duet-status-icon", { key: '7e00c8f29fb7a33a041acfbd82d1c359eadaf605', strong: true, variation: variation, margin: "none", size: "auto" })))), this.position === "below-nav" && (h("div", { key: '0314c3a000a06a357a7850f6c72002df3d32a541', class: "duet-alert-icon below-nav" }, h("duet-status-icon", { key: 'aec093d7be9e0c0d8940a5e0813495f707daefc0', strong: true, variation: variation, margin: "none", size: "auto" }))), h("div", { key: '97522cbf67c23477ae71603418f85f3d1a13d3c2', class: "duet-alert-content", id: this.descriptiveId }, this.expandingTitle && (h("button", { key: '08d8a6d3b089bad3c54727907f6ba1df213a9103', "aria-expanded": this.isExpanded.toString(), "aria-controls": `${this.descriptiveId}-content`, class: "duet-alert-expander", onClick: this.handleExpandToggle }, h("span", { key: '4efe686cc2dff3077ea3efed7a52c79c3b8c090a', class: "expanding-title" }, this.expandingTitle), h("duet-icon", { key: '2da0cd85883d2e850d65e0682c391079bcce2001', name: "action-arrow-down", color: variation === "default" ? "lt-blue-800" : `${variation}-800`, margin: "none", size: "x-small" }))), (!this.expandingTitle || this.isExpanded) && (h("div", { key: 'dd67482dc47bb4b23d8ff7fdbc7f50a09fd7f355', id: `${this.descriptiveId}-content` }, h("duet-visually-hidden", { key: '0f892f87996b79076b9c04e9d66fadbe681cf913' }, variationLabel), h("slot", { key: 'fac36116e1b9128ad398c4cf997d8c0fd3bca795' }))))), this.hasShowMoreSlot && (h("duet-show-more", { key: '10530ff533c94cb9c85eb23cae9ed3475f3567f2', margin: "none", class: "duet-alert-show-more" }, h("slot", { key: '06e77a909ef86b0ae2e83e818e88c75b8caa9969', name: "show-more" }))), this.dismissible && !this.expandingTitle && (h("div", { key: '65f541e6bf54abcfa91757571cffb18013188c39', class: "duet-alert-dismiss" }, h("duet-button", { key: 'a2e00a7f2d07d04bf388544893ddb56d332c8929', variation: "plain", accessibleLabel: this.accessibleLabel, accessibleDescribedBy: this.descriptiveId, iconSize: "medium", icon: "navigation-close", iconOnly: true, margin: "none", color: variation === "default" ? "lt-blue-800" : `${variation}-800`, theme: this.theme, onClick: this.handleDismiss, fixed: true })))))));
159
- }
160
- get element() { return this; }
161
- static get style() { return DuetAlertStyle0; }
162
- }, [1, "duet-alert", {
163
- "theme": [1025],
164
- "accessibleLabelDefaults": [1, "accessible-label-default"],
165
- "accessibleLabel": [1025, "accessible-label"],
166
- "announcements": [4],
167
- "icon": [1],
168
- "autoDismiss": [2, "auto-dismiss"],
169
- "margin": [1],
170
- "padding": [1],
171
- "variation": [1],
172
- "position": [1],
173
- "dismissible": [4],
174
- "focusable": [4],
175
- "expandingTitle": [1, "expanding-title"],
176
- "isDismissed": [32],
177
- "isExpanded": [32],
178
- "timeoutID": [32],
179
- "show": [64],
180
- "hide": [64],
181
- "setFocus": [64]
182
- }]);
183
- function defineCustomElement() {
184
- if (typeof customElements === "undefined") {
185
- return;
186
- }
187
- const components = ["duet-alert", "duet-button", "duet-icon", "duet-show-more", "duet-spinner", "duet-status-icon", "duet-visually-hidden"];
188
- components.forEach(tagName => { switch (tagName) {
189
- case "duet-alert":
190
- if (!customElements.get(tagName)) {
191
- customElements.define(tagName, DuetAlert);
192
- }
193
- break;
194
- case "duet-button":
195
- if (!customElements.get(tagName)) {
196
- defineCustomElement$6();
197
- }
198
- break;
199
- case "duet-icon":
200
- if (!customElements.get(tagName)) {
201
- defineCustomElement$5();
202
- }
203
- break;
204
- case "duet-show-more":
205
- if (!customElements.get(tagName)) {
206
- defineCustomElement$4();
207
- }
208
- break;
209
- case "duet-spinner":
210
- if (!customElements.get(tagName)) {
211
- defineCustomElement$3();
212
- }
213
- break;
214
- case "duet-status-icon":
215
- if (!customElements.get(tagName)) {
216
- defineCustomElement$2();
217
- }
218
- break;
219
- case "duet-visually-hidden":
220
- if (!customElements.get(tagName)) {
221
- defineCustomElement$1();
222
- }
223
- break;
224
- } });
225
- }
226
-
227
- export { DuetAlert as D, defineCustomElement as d };