@duetds/components 8.1.5 → 8.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (616) hide show
  1. package/hydrate/index.js +114 -76
  2. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +3 -3
  5. package/lib/cjs/duet-banner.cjs.entry.js +7 -5
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  8. package/lib/cjs/duet-button_2.cjs.entry.js +6 -6
  9. package/lib/cjs/duet-callout.cjs.entry.js +4 -3
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
  11. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  12. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  13. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-chip.cjs.entry.js +22 -3
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +3 -3
  23. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  29. package/lib/cjs/duet-hero.cjs.entry.js +3 -2
  30. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  31. package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
  32. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  36. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-modal.cjs.entry.js +3 -3
  40. package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-pagination_2.cjs.entry.js +3 -3
  46. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +3 -2
  47. package/lib/cjs/duet-popup-menu.cjs.entry.js +14 -13
  48. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-promo-card.cjs.entry.js +5 -4
  50. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  52. package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-slideout.cjs.entry.js +32 -51
  62. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
  65. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  66. package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
  67. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  68. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  73. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
  74. package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
  75. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  76. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  78. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  79. package/lib/cjs/duet.cjs.js +2 -2
  80. package/lib/cjs/{focus-utils-ec077a62.js → focus-utils-1780ee53.js} +1 -1
  81. package/lib/cjs/{index-00f527af.js → index-8595e0c1.js} +1 -1
  82. package/lib/cjs/loader.cjs.js +2 -2
  83. package/lib/cjs/slot-utils-6c81bd09.js +20 -0
  84. package/lib/cjs/{token-utils-a5356b00.js → token-utils-c672402d.js} +1 -1
  85. package/lib/cjs/{tokens-51cfbe11.js → tokens-c3eecae6.js} +1 -1
  86. package/lib/cjs/{tokens.module-ce5f9579.js → tokens.module-bc323a09.js} +1 -1
  87. package/lib/collection/components/duet-badge/duet-badge.css +1 -0
  88. package/lib/collection/components/duet-badge/duet-badge.js +1 -1
  89. package/lib/collection/components/duet-banner/duet-banner.css +3 -0
  90. package/lib/collection/components/duet-banner/duet-banner.js +8 -1
  91. package/lib/collection/components/duet-button/duet-button.css +1 -0
  92. package/lib/collection/components/duet-button/duet-button.js +2 -2
  93. package/lib/collection/components/duet-callout/duet-callout.css +18 -1
  94. package/lib/collection/components/duet-callout/duet-callout.js +3 -2
  95. package/lib/collection/components/duet-chip/duet-chip.css +2 -2
  96. package/lib/collection/components/duet-chip/duet-chip.js +55 -1
  97. package/lib/collection/components/duet-hero/duet-hero.js +5 -4
  98. package/lib/collection/components/duet-icon/duet-icon.css +1 -0
  99. package/lib/collection/components/duet-icon/duet-icon.js +1 -1
  100. package/lib/collection/components/duet-modal/duet-modal.css +1 -1
  101. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +43 -14
  102. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +20 -1
  103. package/lib/collection/components/duet-promo-card/duet-promo-card.js +8 -1
  104. package/lib/collection/components/duet-slideout/duet-slideout.js +32 -51
  105. package/lib/collection/utils/slot-utils.js +16 -0
  106. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  107. package/lib/dist-custom-elements/duet-alert.js +1 -1
  108. package/lib/dist-custom-elements/duet-badge.js +1 -1
  109. package/lib/dist-custom-elements/duet-banner.js +10 -14
  110. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  111. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  112. package/lib/dist-custom-elements/duet-button.js +1 -1
  113. package/lib/dist-custom-elements/duet-callout.js +6 -11
  114. package/lib/dist-custom-elements/duet-caption.js +1 -1
  115. package/lib/dist-custom-elements/duet-card.js +4 -4
  116. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  117. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  118. package/lib/dist-custom-elements/duet-chip.js +25 -4
  119. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  120. package/lib/dist-custom-elements/duet-choice.js +5 -5
  121. package/lib/dist-custom-elements/duet-collapsible.js +3 -3
  122. package/lib/dist-custom-elements/duet-combobox.js +2 -2
  123. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  124. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  125. package/lib/dist-custom-elements/duet-date-picker.js +12 -12
  126. package/lib/dist-custom-elements/duet-divider.js +1 -1
  127. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  128. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  129. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  130. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  131. package/lib/dist-custom-elements/duet-footer.js +4 -4
  132. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  133. package/lib/dist-custom-elements/duet-grid.js +1 -1
  134. package/lib/dist-custom-elements/duet-header.js +9 -9
  135. package/lib/dist-custom-elements/duet-heading.js +1 -1
  136. package/lib/dist-custom-elements/duet-hero.js +11 -10
  137. package/lib/dist-custom-elements/duet-icon.js +1 -1
  138. package/lib/dist-custom-elements/duet-input.js +1 -1
  139. package/lib/dist-custom-elements/duet-label.js +1 -1
  140. package/lib/dist-custom-elements/duet-layout.js +1 -1
  141. package/lib/dist-custom-elements/duet-link.js +1 -1
  142. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  143. package/lib/dist-custom-elements/duet-list.js +1 -1
  144. package/lib/dist-custom-elements/duet-logo.js +1 -1
  145. package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
  146. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  147. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
  148. package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
  149. package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
  150. package/lib/dist-custom-elements/duet-modal.js +8 -8
  151. package/lib/dist-custom-elements/duet-multiselect.js +9 -9
  152. package/lib/dist-custom-elements/duet-nav.js +1 -1
  153. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  154. package/lib/dist-custom-elements/duet-notification.js +2 -2
  155. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  156. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  157. package/lib/dist-custom-elements/duet-pagination.js +14 -14
  158. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  159. package/lib/dist-custom-elements/duet-popup-menu-item.js +5 -3
  160. package/lib/dist-custom-elements/duet-popup-menu.js +15 -13
  161. package/lib/dist-custom-elements/duet-progress.js +1 -1
  162. package/lib/dist-custom-elements/duet-promo-card.js +6 -5
  163. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  164. package/lib/dist-custom-elements/duet-radio.js +1 -1
  165. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  166. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  167. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  168. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  169. package/lib/dist-custom-elements/duet-select.js +1 -1
  170. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  171. package/lib/dist-custom-elements/duet-show-more.js +5 -5
  172. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  173. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  174. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  175. package/lib/dist-custom-elements/duet-slideout-panel.js +3 -3
  176. package/lib/dist-custom-elements/duet-slideout.js +35 -52
  177. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  178. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  179. package/lib/dist-custom-elements/duet-step.js +4 -4
  180. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  181. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  182. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
  183. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  184. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  185. package/lib/dist-custom-elements/duet-tab-group.js +13 -13
  186. package/lib/dist-custom-elements/duet-tab.js +1 -1
  187. package/lib/dist-custom-elements/duet-table.js +1 -1
  188. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  189. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  190. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  191. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  192. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  193. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  194. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  195. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  196. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  197. package/lib/dist-custom-elements/duet-tray.js +4 -4
  198. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  199. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  200. package/lib/dist-custom-elements/duet-upload.js +18 -18
  201. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  202. package/lib/dist-custom-elements/index.js +1 -1
  203. package/lib/dist-custom-elements/{p-d517fc9a.js → p-0297efef.js} +10 -10
  204. package/lib/dist-custom-elements/{p-975a4689.js → p-0aef3ad3.js} +2 -2
  205. package/lib/dist-custom-elements/{p-583e21a8.js → p-13916d96.js} +2 -2
  206. package/lib/dist-custom-elements/p-15d5aa46.js +60 -0
  207. package/lib/dist-custom-elements/p-188d76d4.js +205 -0
  208. package/lib/dist-custom-elements/{p-3cc835d7.js → p-1b55b8aa.js} +1 -1
  209. package/lib/dist-custom-elements/{p-7bcdcf71.js → p-27efc5ff.js} +3 -3
  210. package/lib/dist-custom-elements/{p-7d7291bf.js → p-30fe9f1c.js} +8 -8
  211. package/lib/dist-custom-elements/{p-7bb90fcc.js → p-3bb00966.js} +10 -10
  212. package/lib/dist-custom-elements/{p-9b174e03.js → p-4086f5d7.js} +2 -2
  213. package/lib/dist-custom-elements/{p-6d0197c3.js → p-5c8435c6.js} +5 -5
  214. package/lib/dist-custom-elements/{p-a4605d27.js → p-63997028.js} +6 -6
  215. package/lib/dist-custom-elements/{p-d10e4492.js → p-679f9f84.js} +1 -1
  216. package/lib/dist-custom-elements/{p-1e82d8a1.js → p-6a6a112e.js} +2 -2
  217. package/lib/dist-custom-elements/{p-3d6047c0.js → p-7b59279f.js} +2 -2
  218. package/lib/dist-custom-elements/{p-9c2d3a9d.js → p-80cc1a6e.js} +2 -2
  219. package/lib/dist-custom-elements/{p-475baac7.js → p-811f6b14.js} +1 -1
  220. package/lib/dist-custom-elements/{p-bb1ac896.js → p-8313084c.js} +1 -1
  221. package/lib/dist-custom-elements/{p-4d3e1b52.js → p-8371f4c9.js} +4 -4
  222. package/lib/dist-custom-elements/{p-8735b4db.js → p-8aeece22.js} +2 -2
  223. package/lib/dist-custom-elements/{p-254a95d4.js → p-8f9c9ce8.js} +2 -2
  224. package/lib/dist-custom-elements/{p-0156b860.js → p-929cc9d5.js} +1 -1
  225. package/lib/dist-custom-elements/{p-3158e24f.js → p-98aea896.js} +1 -1
  226. package/lib/dist-custom-elements/{p-471a62cc.js → p-9e103db0.js} +1 -1
  227. package/lib/dist-custom-elements/{p-9a9a04bd.js → p-9f454015.js} +3 -3
  228. package/lib/dist-custom-elements/{p-66f15eba.js → p-a5057e42.js} +2 -2
  229. package/lib/dist-custom-elements/p-bb24a019.js +18 -0
  230. package/lib/dist-custom-elements/{p-6b977095.js → p-d072d3f7.js} +8 -8
  231. package/lib/dist-custom-elements/{p-4c5751cd.js → p-d07f9fcc.js} +1 -1
  232. package/lib/dist-custom-elements/{p-2b56c0d7.js → p-d37a3cec.js} +1 -1
  233. package/lib/{esm/tokens-04106a43.js → dist-custom-elements/p-d81ec707.js} +1 -1
  234. package/lib/dist-custom-elements/{p-b590a133.js → p-d87fd2f0.js} +3 -3
  235. package/lib/dist-custom-elements/{p-4a55dff3.js → p-dbaac77a.js} +5 -5
  236. package/lib/dist-custom-elements/{p-f3d25b08.js → p-e5e0a9d5.js} +2 -2
  237. package/lib/dist-custom-elements/{p-da8acaf1.js → p-e93fe17b.js} +2 -2
  238. package/lib/dist-custom-elements/{p-cab60e87.js → p-ee518783.js} +1 -1
  239. package/lib/dist-custom-elements/{p-e078836c.js → p-ef9c200e.js} +1 -1
  240. package/lib/dist-custom-elements/{p-fc6bb9ab.js → p-f992d96f.js} +2 -2
  241. package/lib/duet/duet.esm.js +1 -1
  242. package/lib/duet/duet.js +1 -1
  243. package/lib/duet/{p-de41a03b.entry.js → p-00af1839.entry.js} +1 -1
  244. package/lib/duet/{p-6216e282.entry.js → p-03504efc.entry.js} +1 -1
  245. package/lib/duet/{p-8b1b9953.system.entry.js → p-07639744.system.entry.js} +1 -1
  246. package/lib/duet/{p-d852ae7e.system.entry.js → p-0b1e9389.system.entry.js} +1 -1
  247. package/lib/duet/p-0b2e2097.system.entry.js +4 -0
  248. package/lib/duet/{p-ceb5b489.system.entry.js → p-0c4251d2.system.entry.js} +1 -1
  249. package/lib/duet/{p-757b1ab3.entry.js → p-0d546b56.entry.js} +1 -1
  250. package/lib/duet/{p-b012ba6c.entry.js → p-0ee8f124.entry.js} +1 -1
  251. package/lib/duet/p-0f6f152d.entry.js +4 -0
  252. package/lib/duet/{p-fdb9f8df.system.entry.js → p-0fb3d28c.system.entry.js} +1 -1
  253. package/lib/duet/{p-bac92652.entry.js → p-1069a865.entry.js} +1 -1
  254. package/lib/duet/{p-abbd8ae3.entry.js → p-10e05065.entry.js} +1 -1
  255. package/lib/duet/p-13241469.system.entry.js +4 -0
  256. package/lib/duet/{p-f6803f4c.entry.js → p-145de3e0.entry.js} +1 -1
  257. package/lib/duet/{p-e12b3d60.system.js → p-15fde8cc.system.js} +1 -1
  258. package/lib/duet/{p-0ec40046.entry.js → p-189f31b8.entry.js} +1 -1
  259. package/lib/duet/{p-8cfac25d.entry.js → p-1d3f4925.entry.js} +1 -1
  260. package/lib/duet/p-1ebb5d23.entry.js +4 -0
  261. package/lib/duet/{p-330db26d.entry.js → p-1fcccba8.entry.js} +1 -1
  262. package/lib/duet/{p-10f289cb.entry.js → p-204a1ab8.entry.js} +1 -1
  263. package/lib/duet/{p-c8c9fc58.system.entry.js → p-2073966b.system.entry.js} +1 -1
  264. package/lib/duet/{p-c0483523.system.entry.js → p-22df3386.system.entry.js} +1 -1
  265. package/lib/duet/{p-b2996b8c.system.entry.js → p-23043e9e.system.entry.js} +1 -1
  266. package/lib/duet/{p-9bd338fd.system.js → p-23354cf7.system.js} +1 -1
  267. package/lib/duet/{p-932be5dd.system.entry.js → p-26a30f41.system.entry.js} +1 -1
  268. package/lib/duet/{p-5d023790.system.entry.js → p-26e6c296.system.entry.js} +1 -1
  269. package/lib/duet/{p-15a4a165.system.entry.js → p-2975e980.system.entry.js} +1 -1
  270. package/lib/duet/{p-7dcdefb0.system.entry.js → p-2f2a6fbf.system.entry.js} +1 -1
  271. package/lib/duet/{p-9514ee57.system.entry.js → p-3120a193.system.entry.js} +1 -1
  272. package/lib/duet/{p-e4efc7ea.system.entry.js → p-31215119.system.entry.js} +1 -1
  273. package/lib/duet/{p-0440798d.entry.js → p-342a250d.entry.js} +1 -1
  274. package/lib/duet/{p-28a033de.system.entry.js → p-3809955c.system.entry.js} +1 -1
  275. package/lib/duet/{p-4adb4139.entry.js → p-39aac14c.entry.js} +1 -1
  276. package/lib/duet/{p-d92ad0d1.system.entry.js → p-3e7d63ff.system.entry.js} +1 -1
  277. package/lib/duet/{p-79f01df6.entry.js → p-414cc15d.entry.js} +1 -1
  278. package/lib/duet/{p-7d9cffe7.system.entry.js → p-4350eaaa.system.entry.js} +1 -1
  279. package/lib/duet/{p-b2a54e37.entry.js → p-462326bc.entry.js} +1 -1
  280. package/lib/duet/{p-65007ed4.system.entry.js → p-46bc086c.system.entry.js} +1 -1
  281. package/lib/duet/p-485f3748.system.entry.js +4 -0
  282. package/lib/duet/{p-c481631f.system.entry.js → p-508c6401.system.entry.js} +1 -1
  283. package/lib/duet/p-50ebc951.system.entry.js +4 -0
  284. package/lib/duet/{p-3bda5078.system.entry.js → p-51b802fe.system.entry.js} +1 -1
  285. package/lib/duet/{p-0198349d.entry.js → p-5224b8e7.entry.js} +1 -1
  286. package/lib/duet/{p-cea2cb32.entry.js → p-52811ee4.entry.js} +1 -1
  287. package/lib/duet/{p-0777ebba.entry.js → p-529b0ef8.entry.js} +1 -1
  288. package/lib/duet/{p-662da762.js → p-52bcdf36.js} +1 -1
  289. package/lib/duet/{p-67d8175e.system.entry.js → p-530dc869.system.entry.js} +1 -1
  290. package/lib/duet/{p-049d43f7.entry.js → p-531c259f.entry.js} +1 -1
  291. package/lib/duet/{p-17373631.entry.js → p-57a29655.entry.js} +1 -1
  292. package/lib/duet/{p-aab21f91.entry.js → p-57b54fc2.entry.js} +1 -1
  293. package/lib/duet/{p-930f8fe7.system.entry.js → p-5983c4c1.system.entry.js} +1 -1
  294. package/lib/duet/{p-1fbb9af9.entry.js → p-59d78e4a.entry.js} +1 -1
  295. package/lib/duet/p-5a5fb62b.system.entry.js +4 -0
  296. package/lib/duet/{p-cf1e1237.system.entry.js → p-5a8c6db7.system.entry.js} +1 -1
  297. package/lib/duet/{p-1e67f010.system.entry.js → p-5b2d1616.system.entry.js} +1 -1
  298. package/lib/duet/p-5b8477c2.system.js +4 -0
  299. package/lib/duet/{p-75eb9381.system.entry.js → p-5bd11cd6.system.entry.js} +1 -1
  300. package/lib/duet/{p-2f98c466.system.entry.js → p-5ed4cad9.system.entry.js} +1 -1
  301. package/lib/duet/{p-f1f7ee14.entry.js → p-600af4ae.entry.js} +1 -1
  302. package/lib/duet/{p-54cf9288.system.entry.js → p-6073f3e6.system.entry.js} +1 -1
  303. package/lib/duet/p-61a76b2b.system.js +4 -0
  304. package/lib/duet/p-61ab4c50.system.entry.js +4 -0
  305. package/lib/duet/{p-55e1e8e8.system.entry.js → p-62a1697f.system.entry.js} +1 -1
  306. package/lib/duet/{p-55f3f985.entry.js → p-62cd7e30.entry.js} +1 -1
  307. package/lib/duet/{p-e36f923b.entry.js → p-62d30a58.entry.js} +1 -1
  308. package/lib/duet/{p-eb790693.entry.js → p-6374b7ea.entry.js} +1 -1
  309. package/lib/duet/{p-a22130db.entry.js → p-641be297.entry.js} +1 -1
  310. package/lib/duet/{p-154ca6bb.entry.js → p-64737ee3.entry.js} +1 -1
  311. package/lib/duet/{p-9b62ef83.entry.js → p-6484d791.entry.js} +1 -1
  312. package/lib/duet/{p-4347cce6.system.entry.js → p-692d016e.system.entry.js} +1 -1
  313. package/lib/duet/{p-18b36a30.entry.js → p-697addd1.entry.js} +1 -1
  314. package/lib/duet/p-6e53e390.system.entry.js +4 -0
  315. package/lib/duet/{p-ddc7c96e.system.entry.js → p-73ec169a.system.entry.js} +1 -1
  316. package/lib/duet/{p-0081d434.system.entry.js → p-7576d859.system.entry.js} +1 -1
  317. package/lib/duet/{p-d350968c.system.entry.js → p-7694b9fa.system.entry.js} +2 -2
  318. package/lib/duet/{p-7ac648a3.system.entry.js → p-7b57105a.system.entry.js} +1 -1
  319. package/lib/duet/{p-dd7d3b2b.entry.js → p-7bced88e.entry.js} +1 -1
  320. package/lib/duet/{p-44ac28ab.entry.js → p-7ceb2a64.entry.js} +1 -1
  321. package/lib/duet/{p-afea9845.entry.js → p-7d4f3ee9.entry.js} +1 -1
  322. package/lib/duet/{p-576cd780.entry.js → p-7f06df0d.entry.js} +1 -1
  323. package/lib/duet/{p-174f2859.entry.js → p-7fed706e.entry.js} +1 -1
  324. package/lib/duet/{p-673fdacb.system.entry.js → p-7ff65dc0.system.entry.js} +1 -1
  325. package/lib/duet/{p-5f877026.system.entry.js → p-802d6f86.system.entry.js} +1 -1
  326. package/lib/duet/{p-16b80d3b.js → p-81c39b69.js} +1 -1
  327. package/lib/duet/{p-eac79871.entry.js → p-8214bafd.entry.js} +1 -1
  328. package/lib/duet/p-876456fd.entry.js +4 -0
  329. package/lib/duet/{p-d585ac25.entry.js → p-87653f71.entry.js} +1 -1
  330. package/lib/duet/{p-2c917cc6.entry.js → p-877c5c97.entry.js} +1 -1
  331. package/lib/duet/{p-b0fd435f.system.entry.js → p-89aa11c5.system.entry.js} +1 -1
  332. package/lib/duet/p-8a08dc1c.system.entry.js +4 -0
  333. package/lib/duet/{p-e2a0e33f.system.entry.js → p-8b7288e6.system.entry.js} +1 -1
  334. package/lib/duet/{p-ebd1b7ae.system.entry.js → p-8c8752c1.system.entry.js} +1 -1
  335. package/lib/duet/{p-71bd1c3c.entry.js → p-8c9f4ffd.entry.js} +1 -1
  336. package/lib/duet/{p-965f292c.system.entry.js → p-8ca7b2fa.system.entry.js} +1 -1
  337. package/lib/duet/{p-2e037205.system.entry.js → p-8dbc03c1.system.entry.js} +1 -1
  338. package/lib/duet/{p-ca21be58.entry.js → p-90f13f5e.entry.js} +1 -1
  339. package/lib/duet/p-9333f3f2.entry.js +4 -0
  340. package/lib/duet/{p-610b364b.system.js → p-95eca09b.system.js} +1 -1
  341. package/lib/duet/{p-73c27f4f.entry.js → p-97c30079.entry.js} +1 -1
  342. package/lib/duet/p-99269e38.system.js +4 -0
  343. package/lib/duet/p-9a43d193.entry.js +4 -0
  344. package/lib/duet/{p-65b45177.system.entry.js → p-9a5fd97c.system.entry.js} +1 -1
  345. package/lib/duet/p-9a7c25f2.entry.js +4 -0
  346. package/lib/duet/{p-196afde9.system.entry.js → p-9ad8c8d4.system.entry.js} +1 -1
  347. package/lib/duet/{p-e49e8a54.system.entry.js → p-9d328100.system.entry.js} +1 -1
  348. package/lib/duet/{p-d832433b.system.entry.js → p-9de27a8f.system.entry.js} +1 -1
  349. package/lib/duet/{p-e5c0b71a.js → p-9dff8650.js} +1 -1
  350. package/lib/duet/{p-8be10d34.entry.js → p-9f939b40.entry.js} +1 -1
  351. package/lib/duet/{p-563dfb63.system.entry.js → p-9fd8cf3b.system.entry.js} +1 -1
  352. package/lib/duet/{p-70dd63d2.entry.js → p-9fffb1b4.entry.js} +1 -1
  353. package/lib/duet/{p-9f29048f.entry.js → p-a13bb243.entry.js} +1 -1
  354. package/lib/duet/{p-780dd22d.entry.js → p-a37947f2.entry.js} +1 -1
  355. package/lib/duet/{p-e9928179.system.entry.js → p-a658fd46.system.entry.js} +1 -1
  356. package/lib/duet/{p-23548d24.entry.js → p-a6a7278c.entry.js} +1 -1
  357. package/lib/duet/{p-39a3beb3.entry.js → p-a71dfbc3.entry.js} +1 -1
  358. package/lib/duet/{p-a34e7225.entry.js → p-a7788ac6.entry.js} +1 -1
  359. package/lib/duet/{p-1fec3835.system.entry.js → p-a871d5b1.system.entry.js} +1 -1
  360. package/lib/duet/{p-7aff0f7c.entry.js → p-a904b928.entry.js} +1 -1
  361. package/lib/duet/{p-ae30e4ce.entry.js → p-a9fb2dad.entry.js} +1 -1
  362. package/lib/duet/{p-33666f2e.entry.js → p-a9fee462.entry.js} +1 -1
  363. package/lib/duet/{p-f5fee877.entry.js → p-aad8ab06.entry.js} +1 -1
  364. package/lib/duet/{p-5b528cd1.system.entry.js → p-ac10c490.system.entry.js} +1 -1
  365. package/lib/duet/{p-5908bf36.entry.js → p-ac607868.entry.js} +1 -1
  366. package/lib/duet/{p-dd5b17d0.system.entry.js → p-acad0f72.system.entry.js} +1 -1
  367. package/lib/duet/p-aefc858d.entry.js +4 -0
  368. package/lib/duet/{p-0c5ed102.entry.js → p-af1bc725.entry.js} +1 -1
  369. package/lib/duet/{p-f9b3965d.system.entry.js → p-af4af7bb.system.entry.js} +1 -1
  370. package/lib/duet/p-b099522e.system.entry.js +4 -0
  371. package/lib/duet/{p-4218b915.system.entry.js → p-b1afb239.system.entry.js} +1 -1
  372. package/lib/duet/{p-074fcd6b.system.entry.js → p-b1e84ea2.system.entry.js} +1 -1
  373. package/lib/duet/p-b2608fe2.system.entry.js +4 -0
  374. package/lib/duet/p-b2744aa5.entry.js +4 -0
  375. package/lib/duet/{p-b710add2.system.entry.js → p-b3a4cb83.system.entry.js} +1 -1
  376. package/lib/duet/{p-2abdfdf5.entry.js → p-b4ebdbc3.entry.js} +1 -1
  377. package/lib/duet/{p-753f2b28.entry.js → p-b61c49de.entry.js} +1 -1
  378. package/lib/duet/p-bb24a019.js +4 -0
  379. package/lib/duet/{p-bb35b92e.system.entry.js → p-bb507da0.system.entry.js} +1 -1
  380. package/lib/duet/{p-5339aeea.entry.js → p-c233d99d.entry.js} +1 -1
  381. package/lib/duet/{p-b9cb8ccb.system.entry.js → p-c2552968.system.entry.js} +1 -1
  382. package/lib/duet/{p-b9ea34d3.system.entry.js → p-c521eae3.system.entry.js} +1 -1
  383. package/lib/duet/{p-3f23694f.entry.js → p-d20b8b82.entry.js} +1 -1
  384. package/lib/duet/{p-d57d7d49.system.entry.js → p-d241457a.system.entry.js} +1 -1
  385. package/lib/duet/{p-b2b02430.entry.js → p-d577a8d9.entry.js} +1 -1
  386. package/lib/duet/{p-1498e92a.system.entry.js → p-d6b7c83c.system.entry.js} +1 -1
  387. package/lib/duet/{p-5e849463.js → p-d81ec707.js} +1 -1
  388. package/lib/duet/{p-639fd377.system.entry.js → p-d9af65c8.system.entry.js} +1 -1
  389. package/lib/duet/{p-3bfdf5dc.system.entry.js → p-db73a673.system.entry.js} +1 -1
  390. package/lib/duet/{p-94147b17.system.entry.js → p-def2db15.system.entry.js} +1 -1
  391. package/lib/duet/{p-b89fe252.entry.js → p-e006f206.entry.js} +1 -1
  392. package/lib/duet/{p-37b3c823.entry.js → p-e108f77f.entry.js} +1 -1
  393. package/lib/duet/{p-21774475.system.js → p-e1868c94.system.js} +1 -1
  394. package/lib/duet/{p-7fb66081.system.entry.js → p-e4cec0cd.system.entry.js} +1 -1
  395. package/lib/duet/{p-61b870ac.entry.js → p-e55b0091.entry.js} +1 -1
  396. package/lib/duet/{p-ca0f9f08.system.entry.js → p-e634de62.system.entry.js} +1 -1
  397. package/lib/duet/{p-762c0edb.system.entry.js → p-e87e976f.system.entry.js} +1 -1
  398. package/lib/duet/{p-ce88ecc6.entry.js → p-e9dc6d6c.entry.js} +1 -1
  399. package/lib/duet/{p-c7fdc7dc.system.entry.js → p-ebc55747.system.entry.js} +1 -1
  400. package/lib/duet/p-ecb2cbbf.entry.js +4 -0
  401. package/lib/duet/{p-f7f16a52.entry.js → p-efa1441d.entry.js} +1 -1
  402. package/lib/duet/p-f041d166.entry.js +4 -0
  403. package/lib/duet/{p-b9157c7e.js → p-f2aa1623.js} +1 -1
  404. package/lib/duet/{p-b8c89970.entry.js → p-f4551b33.entry.js} +1 -1
  405. package/lib/duet/{p-a70815fa.system.entry.js → p-f52a6fc5.system.entry.js} +1 -1
  406. package/lib/duet/p-f5909e7f.entry.js +4 -0
  407. package/lib/duet/{p-bf2fd03b.entry.js → p-f603773e.entry.js} +1 -1
  408. package/lib/duet/{p-a75b2646.system.entry.js → p-fd8935c8.system.entry.js} +1 -1
  409. package/lib/duet/{p-42b9b16c.system.entry.js → p-fef7a17b.system.entry.js} +1 -1
  410. package/lib/esm/duet-action-button.entry.js +3 -3
  411. package/lib/esm/duet-alert.entry.js +1 -1
  412. package/lib/esm/duet-badge.entry.js +3 -3
  413. package/lib/esm/duet-banner.entry.js +7 -5
  414. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  415. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  416. package/lib/esm/duet-button_2.entry.js +6 -6
  417. package/lib/esm/duet-callout.entry.js +4 -3
  418. package/lib/esm/duet-caption_4.entry.js +3 -3
  419. package/lib/esm/duet-card.entry.js +3 -3
  420. package/lib/esm/duet-checkbox.entry.js +1 -1
  421. package/lib/esm/duet-checkmark.entry.js +1 -1
  422. package/lib/esm/duet-chip.entry.js +22 -3
  423. package/lib/esm/duet-choice_2.entry.js +2 -2
  424. package/lib/esm/duet-collapsible.entry.js +2 -2
  425. package/lib/esm/duet-combobox.entry.js +1 -1
  426. package/lib/esm/duet-contact-card.entry.js +1 -1
  427. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  428. package/lib/esm/duet-date-picker.entry.js +2 -2
  429. package/lib/esm/duet-divider_2.entry.js +3 -3
  430. package/lib/esm/duet-editable-table_3.entry.js +3 -3
  431. package/lib/esm/duet-empty-state.entry.js +1 -1
  432. package/lib/esm/duet-fieldset.entry.js +1 -1
  433. package/lib/esm/duet-file-chooser.entry.js +1 -1
  434. package/lib/esm/duet-footer.entry.js +1 -1
  435. package/lib/esm/duet-grid_2.entry.js +2 -2
  436. package/lib/esm/duet-header_2.entry.js +3 -3
  437. package/lib/esm/duet-hero.entry.js +3 -2
  438. package/lib/esm/duet-icon.entry.js +5 -5
  439. package/lib/esm/duet-input_2.entry.js +3 -3
  440. package/lib/esm/duet-layout.entry.js +1 -1
  441. package/lib/esm/duet-list_2.entry.js +1 -1
  442. package/lib/esm/duet-menu-bar-button.entry.js +2 -2
  443. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  444. package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
  445. package/lib/esm/duet-menu-bar-link.entry.js +2 -2
  446. package/lib/esm/duet-menu-bar.entry.js +2 -2
  447. package/lib/esm/duet-modal.entry.js +3 -3
  448. package/lib/esm/duet-multiselect.entry.js +1 -1
  449. package/lib/esm/duet-nav.entry.js +1 -1
  450. package/lib/esm/duet-notification_2.entry.js +1 -1
  451. package/lib/esm/duet-number-input.entry.js +1 -1
  452. package/lib/esm/duet-page-heading.entry.js +1 -1
  453. package/lib/esm/duet-pagination_2.entry.js +3 -3
  454. package/lib/esm/duet-popup-menu-item.entry.js +3 -2
  455. package/lib/esm/duet-popup-menu.entry.js +14 -13
  456. package/lib/esm/duet-progress.entry.js +1 -1
  457. package/lib/esm/duet-promo-card.entry.js +5 -4
  458. package/lib/esm/duet-radio_2.entry.js +1 -1
  459. package/lib/esm/duet-range-slider.entry.js +2 -2
  460. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  461. package/lib/esm/duet-section-layout.entry.js +1 -1
  462. package/lib/esm/duet-select.entry.js +1 -1
  463. package/lib/esm/duet-shaped-image.entry.js +1 -1
  464. package/lib/esm/duet-show-more.entry.js +1 -1
  465. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  466. package/lib/esm/duet-slideout-link.entry.js +1 -1
  467. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  468. package/lib/esm/duet-slideout-panel.entry.js +4 -4
  469. package/lib/esm/duet-slideout.entry.js +33 -52
  470. package/lib/esm/duet-step_2.entry.js +1 -1
  471. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  472. package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
  473. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  474. package/lib/esm/duet-submenu-bar.entry.js +2 -2
  475. package/lib/esm/duet-textarea.entry.js +1 -1
  476. package/lib/esm/duet-toggle.entry.js +1 -1
  477. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  478. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  479. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  480. package/lib/esm/duet-toolbar.entry.js +1 -1
  481. package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
  482. package/lib/esm/duet-tooltip.entry.js +2 -2
  483. package/lib/esm/duet-tray.entry.js +2 -2
  484. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  485. package/lib/esm/duet-upload-item.entry.js +1 -1
  486. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  487. package/lib/esm/duet.js +3 -3
  488. package/lib/esm/{focus-utils-2a29f64e.js → focus-utils-d168d36c.js} +1 -1
  489. package/lib/esm/{index-909a963e.js → index-5c989c52.js} +1 -1
  490. package/lib/esm/loader.js +3 -3
  491. package/lib/esm/slot-utils-07ba4363.js +18 -0
  492. package/lib/esm/{token-utils-ece867a8.js → token-utils-d09165bc.js} +1 -1
  493. package/lib/{dist-custom-elements/p-5e849463.js → esm/tokens-30d01e1d.js} +1 -1
  494. package/lib/esm/{tokens.module-7a2f9c49.js → tokens.module-c9866649.js} +1 -1
  495. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  496. package/lib/esm-es5/duet-alert.entry.js +1 -1
  497. package/lib/esm-es5/duet-badge.entry.js +1 -1
  498. package/lib/esm-es5/duet-banner.entry.js +1 -1
  499. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  500. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  501. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  502. package/lib/esm-es5/duet-callout.entry.js +1 -1
  503. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  504. package/lib/esm-es5/duet-card.entry.js +1 -1
  505. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  506. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  507. package/lib/esm-es5/duet-chip.entry.js +1 -1
  508. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  509. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  510. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  511. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  512. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  513. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  514. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  515. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  516. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  517. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  518. package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
  519. package/lib/esm-es5/duet-footer.entry.js +1 -1
  520. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  521. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  522. package/lib/esm-es5/duet-hero.entry.js +2 -2
  523. package/lib/esm-es5/duet-icon.entry.js +1 -1
  524. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  525. package/lib/esm-es5/duet-layout.entry.js +1 -1
  526. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  527. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  528. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  529. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  530. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  531. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  532. package/lib/esm-es5/duet-modal.entry.js +1 -1
  533. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  534. package/lib/esm-es5/duet-nav.entry.js +1 -1
  535. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  536. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  537. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  538. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  539. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  540. package/lib/esm-es5/duet-popup-menu.entry.js +2 -2
  541. package/lib/esm-es5/duet-progress.entry.js +1 -1
  542. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  543. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  544. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  545. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  546. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  547. package/lib/esm-es5/duet-select.entry.js +1 -1
  548. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  549. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  550. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  551. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  552. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  553. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  554. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  555. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  556. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  557. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  558. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  559. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  560. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  561. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  562. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  563. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  564. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  565. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  566. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  567. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  568. package/lib/esm-es5/duet-tray.entry.js +1 -1
  569. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  570. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  571. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  572. package/lib/esm-es5/duet.js +1 -1
  573. package/lib/esm-es5/focus-utils-d168d36c.js +4 -0
  574. package/lib/esm-es5/{index-909a963e.js → index-5c989c52.js} +1 -1
  575. package/lib/esm-es5/loader.js +1 -1
  576. package/lib/esm-es5/slot-utils-07ba4363.js +4 -0
  577. package/lib/esm-es5/{token-utils-ece867a8.js → token-utils-d09165bc.js} +1 -1
  578. package/lib/esm-es5/{tokens-04106a43.js → tokens-30d01e1d.js} +1 -1
  579. package/lib/esm-es5/{tokens.module-7a2f9c49.js → tokens.module-c9866649.js} +1 -1
  580. package/lib/types/components/duet-banner/duet-banner.d.ts +5 -0
  581. package/lib/types/components/duet-callout/duet-callout.d.ts +1 -1
  582. package/lib/types/components/duet-chip/duet-chip.d.ts +13 -1
  583. package/lib/types/components/duet-hero/duet-hero.d.ts +3 -3
  584. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +7 -3
  585. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +4 -0
  586. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +6 -0
  587. package/lib/types/components/duet-slideout/duet-slideout.d.ts +1 -3
  588. package/lib/types/components.d.ts +36 -2
  589. package/lib/types/utils/slot-utils.d.ts +2 -0
  590. package/package.json +7 -7
  591. package/lib/dist-custom-elements/p-1c7bd169.js +0 -60
  592. package/lib/dist-custom-elements/p-c493eecb.js +0 -205
  593. package/lib/duet/p-031b59ba.system.entry.js +0 -4
  594. package/lib/duet/p-05f62501.entry.js +0 -4
  595. package/lib/duet/p-12f3d121.system.entry.js +0 -4
  596. package/lib/duet/p-207544a2.entry.js +0 -4
  597. package/lib/duet/p-25109b90.system.entry.js +0 -4
  598. package/lib/duet/p-3fb7b966.entry.js +0 -4
  599. package/lib/duet/p-50a679f4.entry.js +0 -4
  600. package/lib/duet/p-50dbbb82.system.entry.js +0 -4
  601. package/lib/duet/p-6f806923.system.js +0 -4
  602. package/lib/duet/p-7bdbb023.entry.js +0 -4
  603. package/lib/duet/p-844e7c4c.entry.js +0 -4
  604. package/lib/duet/p-8a264125.system.entry.js +0 -4
  605. package/lib/duet/p-acfdeb70.entry.js +0 -4
  606. package/lib/duet/p-b0dfe576.system.entry.js +0 -4
  607. package/lib/duet/p-b0fa4550.system.js +0 -4
  608. package/lib/duet/p-cca98ade.entry.js +0 -4
  609. package/lib/duet/p-ce879ecd.system.entry.js +0 -4
  610. package/lib/duet/p-d038c90c.system.entry.js +0 -4
  611. package/lib/duet/p-d3141c64.entry.js +0 -4
  612. package/lib/duet/p-d54396be.system.entry.js +0 -4
  613. package/lib/duet/p-e91cced0.entry.js +0 -4
  614. package/lib/duet/p-ee815760.system.entry.js +0 -4
  615. package/lib/duet/p-f715214a.entry.js +0 -4
  616. package/lib/esm-es5/focus-utils-2a29f64e.js +0 -4
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,h as o,H as e,g as i}from"./p-662da762.js";import{i as a}from"./p-a58bd561.js";import{g as r}from"./p-e5c0b71a.js";import"./p-b9157c7e.js";const n=class{constructor(o){t(this,o),this.theme="",this.margin="auto",this.backgroundColor="",this.textColor="secondary",this.image="",this.headingLevel="h3",this.url=void 0}componentWillLoad(){a(this),this.hasPreHeadingSlot=!!this.element.querySelector('[slot="pre-heading"]'),this.hasHeadingSlot=!!this.element.querySelector('[slot="heading"]'),this.hasDescriptionSlot=!!this.element.querySelector('[slot="description"]'),this.hasActionSlot=!!this.element.querySelector('[slot="action"]')}render(){const t=r(this.backgroundColor,this.theme);return o(e,{class:{"duet-m-0":"none"===this.margin}},o("aside",{class:{"duet-promo-card":!0,"duet-theme-turva":"turva"===this.theme,"no-bg-color":!this.backgroundColor},style:{backgroundColor:t||"none"}},o(this.url?"a":"div",{href:this.url,class:"content-wrapper"},o("img",{class:"image",src:this.image,alt:"",role:"presentation"}),o("div",{class:"content"},this.hasPreHeadingSlot&&o("div",{class:"pre-heading"},o("slot",{name:"pre-heading"})),this.hasHeadingSlot&&o("div",{class:"heading"},o("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:this.textColor},o("div",null,o("slot",{name:"heading"})))),this.hasDescriptionSlot&&o("div",{class:"description"},o("duet-paragraph",{theme:this.theme,margin:"none",color:this.textColor},o("div",null,o("slot",{name:"description"})))),this.hasActionSlot&&o("div",{class:"action"},o("slot",{name:"action"}))))))}get element(){return i(this)}};n.style='*,*::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:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height: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-style:normal;color:rgb(0, 41, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.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"}';export{n as duet_promo_card}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-610b364b.system.js","./p-50f4bca2.system.js"],(function(t){"use strict";var e,o,a,n,i;return{setters:[function(t){e=t.r;o=t.h;a=t.H;n=t.g},function(t){i=t.i}],execute:function(){var l=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}blockquote,figure{margin:0}.duet-callout{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center;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"}.duet-callout .container{display:flex;flex-direction:column;gap:8px;align-items:center;max-width:688px;text-align:center}.duet-callout .callout-icon{width:50px;padding-bottom:8px}.duet-callout .author{color:rgb(0, 41, 77)}.duet-callout.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-callout.duet-theme-turva .author{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}';var r=t("duet_callout",function(){function t(t){e(this,t);this.hasAuthorSlot=false;this.theme="";this.margin="auto"}t.prototype.componentWillLoad=function(){i(this);this.hasAuthorSlot=!!this.element.querySelector('[slot="author"]')};t.prototype.render=function(){var t='<svg viewBox="0 0 22 17" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>\n </svg>\n ';return o(a,null,o("div",{class:{"duet-callout":true,"duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none"}},o("figure",{class:"container"},o("duet-icon",{class:"callout-icon",shape:"brand-rotated",background:"primary-lighter","background-opacity":"0.75","background-rotation":this.theme==="turva"?"0":"7",color:"secondary",icon:t,size:"auto",margin:"none",theme:this.theme}),o("blockquote",null,o("duet-paragraph",{variation:"intro",weight:"semi-bold",margin:"none",theme:this.theme},o("slot",null))),this.hasAuthorSlot&&o("figcaption",{class:"author"},o("span",null,"— "),o("span",null,o("slot",{name:"author"}))))))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());r.style=l}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-610b364b.system.js"],(function(t){"use strict";var n;return{setters:[function(t){n=t.h}],execute:function(){var e=t("f",(function(t){if("setFocus"in t){t.setFocus()}else{t.focus()}}));var u=t("F",(function(t){var u=t.moveFocusTo;return n("div",{class:"duet-focus-guard","aria-hidden":"true",tabIndex:0,onFocus:function(){return e(u)}})}))}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as i,h as e,H as s,g as o}from"./p-662da762.js";import{d as a,e as d}from"./p-141e14d0.js";import{i as n}from"./p-a58bd561.js";import{h as l}from"./p-11230037.js";import{f as r,F as h}from"./p-16b80d3b.js";import{f as u}from"./p-2bb2b022.js";import{a as p,c,d as m,g}from"./p-2e36d5bf.js";import{T as b}from"./p-ccdff614.js";import{g as v}from"./p-e5c0b71a.js";import"./p-0e052642.js";import"./p-b9157c7e.js";const y=class{constructor(e){t(this,e),this.duetSlideoutEvent=i(this,"duetSlideoutEvent",7),this.exitLangObject={en:"Exit the menu",fi:"Poistu valikosta",sv:"Avsluta menyn"},this.topLevelOpenMenuBarLangObject={en:"Exit this menu to find top level items",fi:"Poistu tästä valikosta löytääksesi ylätason kohteet",sv:"Stäng den här menyn för att hitta objekt på toppnivå"},this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(null===navigator||void 0===navigator?void 0:navigator.userAgent),this.hasStickyHeaderSlot=!1,this.handleBodyScrolling=()=>{this.displaying&&this.open?a(this.dialog,{reserveScrollBarGap:!0}):d(this.dialog)},this.setOpenButton=t=>{if(t)try{const i=t;i.accessiblePopup="true",i.accessibleExpanded=!1,this.openButton=i}catch(t){}},this.openButtonEventListener=t=>{t.stopPropagation(),t.preventDefault(),this.onClick(t)},this.getOpenPanel=()=>this.element.querySelector("duet-slideout-panel[open]"),this.toggleMenu=t=>{if(this.open=!this.open,this.openButton&&(this.openButton.accessibleExpanded=this.open),this.duetSlideoutEvent.emit({originalEvent:t,data:{element:this.element,open:this.open},component:"duet-slideout"}),this.open){const t=this.getOpenPanel();this.teleport.go(!0),t?(t.setFocus(),this.handleBodyScrolling()):setTimeout((()=>{this.closeButton.focus(),this.handleBodyScrolling()}),200)}else setTimeout((()=>{r(this.openButton),this.handleBodyScrolling(),this.teleport.resume()}),200)},this.bgOnClick=t=>{this.open&&this.toggleMenu(t)},this.onClick=t=>{this.toggleMenu(t)},this.language=p(),this.displaying=!1,this.openPanel=!1,this.theme="",this.accessibleRole="menubar",this.open=!1,this.opener=void 0,this.backgroundColor="gray-lightest"}componentWillLoad(){n(this),this.hasStickyHeaderSlot=l(this.element,"sticky-header"),this.teleport=new b(this.element)}connectedCallback(){c(this),this.opener&&(this.setOpenButton(document.getElementById(this.opener)),this.openButton.addEventListener("click",this.openButtonEventListener)),this.mutationObserver=new MutationObserver((()=>{this.openPanel=!!this.getOpenPanel()})),this.mutationObserver.observe(this.element,{childList:!0,attributeFilter:["open"],subtree:!0})}componentDidRender(){this.intersectionObserver&&this.intersectionObserver.disconnect(),this.intersectionObserver=new IntersectionObserver((t=>{this.displaying=t[0].isIntersecting,this.handleBodyScrolling()})),this.intersectionObserver.observe(this.dialog)}disconnectedCallback(){m(this),d(this.dialog),this.intersectionObserver&&this.intersectionObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),this.openButton&&this.openButton.removeEventListener("click",this.openButtonEventListener)}handleKeyUp(t){u(t)&&this.open&&this.toggleMenu(t)}async setFocus(t){var i;null===(i=this.openButton)||void 0===i||i.focus(t)}async toggle(){const t=new CustomEvent("toggle");this.toggleMenu(t),setTimeout((()=>{this.closeButton.focus()}),200)}async show(){this.open||(this.setOpenButton(document.activeElement),this.toggleMenu(new CustomEvent("toggle")))}async hide(){this.open&&this.toggleMenu(new CustomEvent("toggle"))}render(){const t={background:v(this.backgroundColor,this.theme)},i=g(this.topLevelOpenMenuBarLangObject),o=g(this.exitLangObject);return e(s,null,e("div",{class:{"duet-slideout":!0,"duet-theme-turva":"turva"===this.theme}},e("div",{class:{"desktop-bg":!0,hidden:!this.open},onClick:this.bgOnClick}),e("div",{ref:t=>this.dialog=t,tabindex:"-1",role:"dialog",id:"dialog","aria-labelledby":"button","aria-modal":!this.isSafariBrowser,"aria-flowto":"slot-container",class:{dialog:!0,hidden:!this.open},style:t},e(h,{moveFocusTo:this.closeButton}),e("div",{class:{"top-container":!0,"has-sticky-header-slot":this.hasStickyHeaderSlot}},e("div",{class:"top"},e("button",{ref:t=>this.closeButton=t,"aria-haspopup":"dialog","aria-controls":"dialog","aria-expanded":this.open?"true":"false","aria-label":`${o}`,type:"button",class:{"slideout-close":!0,active:this.open},onClick:this.onClick,inert:this.openPanel},e("duet-icon",{name:"navigation-close",size:"small",margin:"none",color:"secondary"}))),e("div",{class:"sticky-header"},e("slot",{name:"sticky-header"}))),e("div",{id:"slot-container",role:this.accessibleRole,"aria-label":this.openPanel?i:null,class:{items:!0}},e("slot",null)),e(h,{moveFocusTo:this.closeButton}))))}get element(){return o(this)}};y.style='*,*::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;position:absolute;height:100%}::slotted(*){position:relative;width:100%;visibility:hidden;opacity:0}:host([open]) ::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height: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.5;color:rgb(0, 41, 77)}.duet-slideout.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";color:rgb(23, 28, 58)}.duet-slideout .desktop-bg{display:none}@media (min-width: 62em){.duet-slideout .desktop-bg{position:fixed;top:0;left:0;z-index:400;display:block;width:100%;height:100%;visibility:hidden;background:rgba(0, 41, 77, 0.6);opacity:0;transition:600ms ease}.duet-slideout .desktop-bg:not(.hidden){visibility:visible;opacity:1;transition:600ms ease}}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgba(23, 28, 58, 0.6)}}.duet-slideout .dialog{position:fixed;top:0;bottom:0;left:0;z-index:400;width:100%;height:100%;padding-bottom:75px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1) inset}@media (min-width: 62em){.duet-slideout .dialog{right:0;left:auto;width:500px;padding-bottom:0;transition:right 300ms ease;transition-delay:0s}}.duet-slideout .dialog .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout .dialog .top-container.has-sticky-header-slot .top{background:rgb(243, 249, 252)}.duet-slideout .dialog .top-container.has-sticky-header-slot .sticky-header{display:block}.duet-slideout .dialog .top{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px}.duet-slideout .dialog .top button{cursor:pointer}.duet-slideout .dialog .top button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout .dialog .top duet-icon{padding:16px}.duet-slideout .dialog .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}.duet-slideout .dialog .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:0 1.5rem}.duet-slideout .dialog.hidden{pointer-events:none;visibility:hidden}@media (min-width: 62em){.duet-slideout .dialog.hidden{right:-500px;transition:300ms ease}}.duet-slideout.duet-theme-turva .dialog{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}.duet-slideout.duet-theme-turva 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(23, 28, 58)}.duet-slideout.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 245, 247)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-slideout.duet-theme-turva .dialog .top button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}slot{color:rgb(0, 41, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}';export{y as duet_slideout}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-610b364b.system.js","./p-50f4bca2.system.js","./p-9bd338fd.system.js","./p-21774475.system.js"],(function(t){"use strict";var e,o,i,n,a,r;return{setters:[function(t){e=t.r;o=t.h;i=t.H;n=t.g},function(t){a=t.i},function(t){r=t.g},function(){}],execute:function(){var s='*,*::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:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height: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-style:normal;color:rgb(0, 41, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}.duet-promo-card .content{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card.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"}';var d=t("duet_promo_card",function(){function t(t){e(this,t);this.theme="";this.margin="auto";this.backgroundColor="";this.textColor="secondary";this.image="";this.headingLevel="h3";this.url=undefined}t.prototype.componentWillLoad=function(){a(this);this.hasPreHeadingSlot=!!this.element.querySelector('[slot="pre-heading"]');this.hasHeadingSlot=!!this.element.querySelector('[slot="heading"]');this.hasDescriptionSlot=!!this.element.querySelector('[slot="description"]');this.hasActionSlot=!!this.element.querySelector('[slot="action"]')};t.prototype.render=function(){var t=r(this.backgroundColor,this.theme);var e={backgroundColor:t?t:"none"};var n=this.url?"a":"div";return o(i,{class:{"duet-m-0":this.margin==="none"}},o("aside",{class:{"duet-promo-card":true,"duet-theme-turva":this.theme==="turva","no-bg-color":!this.backgroundColor},style:e},o(n,{href:this.url,class:"content-wrapper"},o("img",{class:"image",src:this.image,alt:"",role:"presentation"}),o("div",{class:"content"},this.hasPreHeadingSlot&&o("div",{class:"pre-heading"},o("slot",{name:"pre-heading"})),this.hasHeadingSlot&&o("div",{class:"heading"},o("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h3",margin:"none",color:this.textColor},o("div",null,o("slot",{name:"heading"})))),this.hasDescriptionSlot&&o("div",{class:"description"},o("duet-paragraph",{theme:this.theme,margin:"none",color:this.textColor},o("div",null,o("slot",{name:"description"})))),this.hasActionSlot&&o("div",{class:"action"},o("slot",{name:"action"}))))))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());d.style=s}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,d){function o(t){try{u(n.next(t))}catch(t){d(t)}}function r(t){try{u(n["throw"](t))}catch(t){d(t)}}function u(t){t.done?i(t.value):a(t.value).then(o,r)}u((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},n,a,d,o;return o={next:r(0),throw:r(1),return:r(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function r(t){return function(e){return u([t,e])}}function u(r){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,r[0]&&(i=0)),i)try{if(n=1,a&&(d=r[0]&2?a["return"]:r[0]?a["throw"]||((d=a["return"])&&d.call(a),0):a.next)&&!(d=d.call(a,r[1])).done)return d;if(a=0,d)r=[r[0]&2,d.value];switch(r[0]){case 0:case 1:d=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;a=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(d=i.trys,d=d.length>0&&d[d.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!d||r[1]>d[0]&&r[1]<d[3])){i.label=r[1];break}if(r[0]===6&&i.label<d[1]){i.label=d[1];d=r;break}if(d&&i.label<d[2]){i.label=d[2];i.ops.push(r);break}if(d[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];a=0}finally{n=d=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-610b364b.system.js","./p-50f4bca2.system.js","./p-9bd338fd.system.js","./p-21774475.system.js"],(function(t){"use strict";var e,i,n,a,d,o,r,u;return{setters:[function(t){e=t.E;i=t.r;n=t.h;a=t.H;d=t.g},function(t){o=t.i},function(t){r=t.g;u=t.r},function(){}],execute:function(){var c=function(t){if(typeof document==="undefined"||!t){return}var e=document.createElement("div");e.innerHTML=t;for(var i=e.childNodes.length-1;i>=0;i--){var n=e.childNodes[i];if(n.nodeName.toLowerCase()!=="svg"){e.removeChild(e.childNodes[i])}}return e.firstElementChild};var s=function(t){if(t.nodeName.toLowerCase()==="script"){return false}for(var e=0;e<t.attributes.length;e++){var i=t.attributes[e];if(i.name.toLowerCase().indexOf("on")===0){return false}}if(t.children){for(var e=0;e<t.children.length;e++){if(!s(t.children[e])){return false}}}return true};var h=function(t){{return"".concat(e.cdnURIProd,"/icons/").concat(e.duetIconVersion,"/lib/assets/").concat(t,".svg")}};var p={};function l(t){if(p[t]){return p[t]}function e(){return __awaiter(this,void 0,void 0,(function(){var e,i,n,a;return __generator(this,(function(d){switch(d.label){case 0:return[4,fetch(t)];case 1:e=d.sent();if(!e.ok){throw new Error("SVG request failed: ".concat(e.status," ").concat(e.statusText))}return[4,e.text()];case 2:i=d.sent();n=c(i);if(!s(n)){throw new Error("SVG validation failed")}a=document.createElement("div");a.appendChild(n);return[2,a.innerHTML]}}))}))}var i=e();return p[t]=i}var x="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:inline-block;width:auto;max-width:100%;color:inherit;-webkit-tap-highlight-color:transparent}@media (max-width: 35.9375em){:host(.duet-icon-has-outline){margin-bottom:0 !important}}@media (max-width: 35.9375em){:host(.duet-icon-has-background){margin-bottom:0 !important}}:host(.duet-m-0){margin:0 !important}@media (max-width: 35.9375em){:host(.duet-m-0){margin:0 !important}}.duet-icon{-webkit-user-select:none;user-select:none;width:100%;height:100%;transform-origin:top center}.duet-icon.duet-icon-has-outline{padding:12px;border-style:solid;border-width:1px}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-outline{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background{padding:16px;color:rgb(255, 255, 255)}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-background{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background.duet-theme-turva,.duet-icon.duet-icon-has-background.duet-theme-default{color:rgb(255, 255, 255)}.duet-icon.duet-icon-shape-circle{border-radius:50%}.duet-icon.duet-icon-shape-brand{border-radius:25%}.duet-icon.duet-icon-has-background.xxx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xxx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xx-small .duet-icon-svg{width:16px;height:16px}@media (max-width: 35.9375em){.duet-icon.duet-icon-not-responsive{transform:scale(1) !important}}.duet-icon.duet-theme-default{color:rgb(0, 119, 179)}.duet-icon.duet-theme-turva{color:rgb(198, 12, 48)}.duet-icon.auto .duet-icon-svg{width:100%;height:100%}.duet-icon.xxx-small .duet-icon-svg{width:7px;height:7px}.duet-icon.duet-icon-has-background.xxx-small{padding:6px}.duet-icon.duet-icon-has-outline.xxx-small{padding:4px}.duet-icon.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small{padding:8px}.duet-icon.duet-icon-has-outline.xx-small{padding:7px}.duet-icon.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-has-outline.x-small{padding:10px}.duet-icon.duet-icon-has-background.x-small{padding:12px}.duet-icon.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-has-background.small{padding:14px}.duet-icon.large .duet-icon-svg{width:30px;height:30px}.duet-icon.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.xxx-large .duet-icon-svg{width:48px;height:48px}@media (min-width: 48em){.duet-icon.xxx-large .duet-icon-svg{width:72px;height:72px}}.duet-icon.duet-icon-shape-brand.rotated{transform:rotate(20deg) scale(0.875);transform-origin:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva{display:flex;align-items:center;justify-content:center;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");mask-repeat:no-repeat}.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg{min-width:auto}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-small{width:18px;height:15px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-small{width:32px;height:30px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.small{width:36px;height:34px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.medium{width:48px;height:44px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.large{width:62px;height:56px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-large{width:76px;height:68px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-large{width:95px;height:86px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xxx-large{width:144px;height:130px;padding:0}.duet-icon.duet-icon-shape-brand.xxx-small{padding:0}.duet-icon.duet-icon-shape-brand.xxx-small .duet-icon-svg{width:0;height:0}.duet-icon.duet-icon-shape-brand.xx-small{padding:4px}.duet-icon.duet-icon-shape-brand.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-shape-brand.x-small{padding:8px}.duet-icon.duet-icon-shape-brand.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-shape-brand.small{padding:8px}.duet-icon.duet-icon-shape-brand.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-shape-brand.medium{padding:12px}.duet-icon.duet-icon-shape-brand.medium .duet-icon-svg{width:24px;height:24px}.duet-icon.duet-icon-shape-brand.large{padding:16px}.duet-icon.duet-icon-shape-brand.large .duet-icon-svg{width:30px;height:30px}.duet-icon.duet-icon-shape-brand.x-large{padding:20px}.duet-icon.duet-icon-shape-brand.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.duet-icon-shape-brand.xx-large{padding:24px}.duet-icon.duet-icon-shape-brand.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.duet-icon-shape-brand.xxx-large{padding:36px}.duet-icon.duet-icon-shape-brand.xxx-large .duet-icon-svg{width:72px;height:72px}.duet-icon .duet-icon-svg{display:block;width:24px;min-width:100%;height:24px;font-size:0}.duet-icon .duet-icon-svg.rotated{transform:rotate(-20deg) scale(1.14)}.duet-icon svg{width:100%;min-width:100%;fill:currentColor}";var g=t("duet_icon",function(){function t(t){i(this,t);this.svgContent=undefined;this.theme="";this.icon=undefined;this.src=undefined;this.name="action-add";this.margin="auto";this.responsive=true;this.color="";this.background="";this.backgroundOpacity=1;this.backgroundRotation=0;this.size="medium";this.outline="";this.shape="circle"}t.prototype.componentWillLoad=function(){o(this);if(this.src&&this.icon){console.warn("[DUET COMPONENTS]: <duet-icon> should have either have src or icon attributes, but not both. icon attribute will take precedence","icon:",this.icon,"src:",this.src)}this.loadIcon()};t.prototype.loadIcon=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,i;return __generator(this,(function(n){switch(n.label){case 0:if(this.icon){this.svgContent=this.icon;return[2]}t=this.src?this.src:h(this.name);n.label=1;case 1:n.trys.push([1,3,,4]);e=this;return[4,l(t)];case 2:e.svgContent=n.sent();return[3,4];case 3:i=n.sent();console.warn("[DUET COMPONENTS]: <duet-icon> could not load SVG from URL: ".concat(t,"."),i);return[3,4];case 4:return[2]}}))}))};t.prototype.render=function(){var t;var e=this.color==="currentColor"?"currentColor":r(this.color,this.theme)||r(this.outline,this.theme);var i=this.backgroundRotation?{transform:"rotate(".concat(this.backgroundRotation,"deg)"),"transform-origin":"center center"}:{};var d=Object.assign({color:e,background:u(r(this.background,this.theme),this.backgroundOpacity),"border-color":r(this.outline,this.theme)},i);var o=this.backgroundRotation?{transform:"rotate(-".concat(this.backgroundRotation,"deg)"),"transform-origin":"center center"}:{};var c=Object.assign({},o);var s=this.shape==="brand-rotated"?"duet-icon-shape-brand":"duet-icon-shape-".concat(this.shape);return n(a,{class:{"duet-m-0":this.margin==="none","duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background}},n("div",{"aria-hidden":"true",style:d,class:(t={"duet-icon":true},t[this.size]=true,t["duet-theme-turva"]=this.theme==="turva",t["duet-theme-default"]=this.theme==="default",t["duet-icon-has-outline"]=!!this.outline,t["duet-icon-has-background"]=!!this.background,t[s]=true,t.rotated=this.shape==="brand-rotated"&&this.theme!=="turva",t["duet-icon-not-responsive"]=!this.responsive,t)},n("span",{"aria-hidden":"true",class:{"duet-icon-svg":true,rotated:this.shape==="brand-rotated"&&this.theme!=="turva"},innerHTML:this.svgContent,style:c})))};Object.defineProperty(t.prototype,"element",{get:function(){return d(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{src:["loadIcon"],icon:["loadIcon"],name:["loadIcon"]}},enumerable:false,configurable:true});return t}());g.style=x}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{E as t,r as e,h as i,H as d,g as n}from"./p-662da762.js";import{i as o}from"./p-a58bd561.js";import{g as a,r}from"./p-e5c0b71a.js";import"./p-b9157c7e.js";const s=t=>{if("script"===t.nodeName.toLowerCase())return!1;for(let e=0;e<t.attributes.length;e++)if(0===t.attributes[e].name.toLowerCase().indexOf("on"))return!1;if(t.children)for(let e=0;e<t.children.length;e++)if(!s(t.children[e]))return!1;return!0},u={};const h=class{constructor(t){e(this,t),this.svgContent=void 0,this.theme="",this.icon=void 0,this.src=void 0,this.name="action-add",this.margin="auto",this.responsive=!0,this.color="",this.background="",this.backgroundOpacity=1,this.backgroundRotation=0,this.size="medium",this.outline="",this.shape="circle"}componentWillLoad(){o(this),this.src&&this.icon&&console.warn("[DUET COMPONENTS]: <duet-icon> should have either have src or icon attributes, but not both. icon attribute will take precedence","icon:",this.icon,"src:",this.src),this.loadIcon()}async loadIcon(){if(this.icon)return void(this.svgContent=this.icon);const e=this.src?this.src:`${t.cdnURIProd}/icons/${t.duetIconVersion}/lib/assets/${this.name}.svg`;try{this.svgContent=await function(t){if(u[t])return u[t];const e=async function(){const e=await fetch(t);if(!e.ok)throw new Error(`SVG request failed: ${e.status} ${e.statusText}`);const i=(t=>{if("undefined"==typeof document||!t)return;const e=document.createElement("div");e.innerHTML=t;for(let t=e.childNodes.length-1;t>=0;t--)"svg"!==e.childNodes[t].nodeName.toLowerCase()&&e.removeChild(e.childNodes[t]);return e.firstElementChild})(await e.text());if(!s(i))throw new Error("SVG validation failed");const d=document.createElement("div");return d.appendChild(i),d.innerHTML}();return u[t]=e}(e)}catch(t){console.warn(`[DUET COMPONENTS]: <duet-icon> could not load SVG from URL: ${e}.`,t)}}render(){const t="currentColor"===this.color?"currentColor":a(this.color,this.theme)||a(this.outline,this.theme),e=this.backgroundRotation?{transform:`rotate(${this.backgroundRotation}deg)`,"transform-origin":"center center"}:{},n=Object.assign({color:t,background:r(a(this.background,this.theme),this.backgroundOpacity),"border-color":a(this.outline,this.theme)},e),o=Object.assign({},this.backgroundRotation?{transform:`rotate(-${this.backgroundRotation}deg)`,"transform-origin":"center center"}:{});return i(d,{class:{"duet-m-0":"none"===this.margin,"duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background}},i("div",{"aria-hidden":"true",style:n,class:{"duet-icon":!0,[this.size]:!0,"duet-theme-turva":"turva"===this.theme,"duet-theme-default":"default"===this.theme,"duet-icon-has-outline":!!this.outline,"duet-icon-has-background":!!this.background,["brand-rotated"===this.shape?"duet-icon-shape-brand":`duet-icon-shape-${this.shape}`]:!0,rotated:"brand-rotated"===this.shape&&"turva"!==this.theme,"duet-icon-not-responsive":!this.responsive}},i("span",{"aria-hidden":"true",class:{"duet-icon-svg":!0,rotated:"brand-rotated"===this.shape&&"turva"!==this.theme},innerHTML:this.svgContent,style:o})))}get element(){return n(this)}static get watchers(){return{src:["loadIcon"],icon:["loadIcon"],name:["loadIcon"]}}};h.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:inline-block;width:auto;max-width:100%;color:inherit;-webkit-tap-highlight-color:transparent}@media (max-width: 35.9375em){:host(.duet-icon-has-outline){margin-bottom:0 !important}}@media (max-width: 35.9375em){:host(.duet-icon-has-background){margin-bottom:0 !important}}:host(.duet-m-0){margin:0 !important}@media (max-width: 35.9375em){:host(.duet-m-0){margin:0 !important}}.duet-icon{-webkit-user-select:none;user-select:none;width:100%;height:100%;transform-origin:top center}.duet-icon.duet-icon-has-outline{padding:12px;border-style:solid;border-width:1px}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-outline{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background{padding:16px;color:rgb(255, 255, 255)}@media (max-width: 35.9375em){.duet-icon.duet-icon-has-background{outline:1px solid transparent;transform:scale(0.8)}}.duet-icon.duet-icon-has-background.duet-theme-turva,.duet-icon.duet-icon-has-background.duet-theme-default{color:rgb(255, 255, 255)}.duet-icon.duet-icon-shape-circle{border-radius:50%}.duet-icon.duet-icon-shape-brand{border-radius:25%}.duet-icon.duet-icon-has-background.xxx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xxx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small .duet-icon-svg,.duet-icon.duet-icon-has-outline.xx-small .duet-icon-svg{width:16px;height:16px}@media (max-width: 35.9375em){.duet-icon.duet-icon-not-responsive{transform:scale(1) !important}}.duet-icon.duet-theme-default{color:rgb(0, 119, 179)}.duet-icon.duet-theme-turva{color:rgb(198, 12, 48)}.duet-icon.auto .duet-icon-svg{width:100%;height:100%}.duet-icon.xxx-small .duet-icon-svg{width:7px;height:7px}.duet-icon.duet-icon-has-background.xxx-small{padding:6px}.duet-icon.duet-icon-has-outline.xxx-small{padding:4px}.duet-icon.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-has-background.xx-small{padding:8px}.duet-icon.duet-icon-has-outline.xx-small{padding:7px}.duet-icon.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-has-outline.x-small{padding:10px}.duet-icon.duet-icon-has-background.x-small{padding:12px}.duet-icon.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-has-background.small{padding:14px}.duet-icon.large .duet-icon-svg{width:30px;height:30px}.duet-icon.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.xxx-large .duet-icon-svg{width:48px;height:48px}@media (min-width: 48em){.duet-icon.xxx-large .duet-icon-svg{width:72px;height:72px}}.duet-icon.duet-icon-shape-brand.rotated{transform:rotate(20deg) scale(0.875);transform-origin:center}.duet-icon.duet-icon-shape-brand.duet-theme-turva{display:flex;align-items:center;justify-content:center;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 144 130' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M67.4002 0.00277722C71.354 0.0260204 75.7751 0.261773 80.1626 0.90262C83.3916 1.37412 86.6046 1.97513 89.824 2.51802C91.5585 2.81022 93.3026 3.05925 95.0291 3.3996C102.623 4.89215 109.884 7.35924 116.592 11.4152C122.597 15.0478 127.726 19.7163 131.919 25.4756C135.024 29.7374 137.515 34.3662 139.4 39.3319C140.317 41.7459 141.075 44.2262 141.854 46.695C142.021 47.2196 141.984 47.8157 142.021 48.3801C142.354 53.5833 142.664 58.7864 143.018 63.9879C143.237 67.2021 143.528 70.4097 143.768 73.6206C144.067 77.5985 144.095 81.578 143.746 85.5576C143.501 88.3567 143.106 91.1293 142.437 93.8537C141.117 99.2395 138.941 104.207 135.603 108.58C132.414 112.759 128.49 116.036 123.975 118.561C120.429 120.544 116.702 122.058 112.824 123.175C109.121 124.241 105.361 125.011 101.548 125.493C100.916 125.572 100.351 125.768 99.783 126.074C98.1525 126.95 96.3956 127.47 94.6163 127.912C91.4225 128.705 88.1775 129.168 84.9149 129.495C83.0572 129.681 81.1978 129.838 79.3385 129.995C79.1337 130.012 78.9097 129.985 78.7161 129.916C76.2087 129.009 73.6566 128.255 71.0356 127.825C68.8547 127.467 66.6529 127.135 64.4512 127.047C58.4156 126.809 52.54 125.717 46.7989 123.809C40.8193 121.822 35.1245 119.181 29.8458 115.634C24.3911 111.97 19.5668 107.566 15.4705 102.313C10.9582 96.5267 7.406 90.1597 4.73864 83.2598C2.95772 78.6544 1.67604 73.8978 0.898394 68.9935C0.328759 65.3975 0.0183391 61.7798 0.000737963 58.1373C-0.0120628 55.3132 0.141547 52.4992 0.471168 49.6934C0.867992 46.3131 1.46643 42.9728 2.35449 39.6955C2.6121 38.7458 3.02813 37.8327 3.44735 36.9395C4.105 35.5366 4.70343 34.0773 5.54829 32.8006C7.15959 30.3683 8.51487 27.8182 9.53734 25.0705C9.60134 24.8962 9.71655 24.7302 9.84136 24.5957C12.1119 22.1535 14.5201 19.8674 17.0514 17.7191C23.9622 11.8551 31.6315 7.39743 40.0769 4.39076C44.0019 2.99285 48.023 1.97015 52.1144 1.24795C56.6011 0.45934 62.4495 -0.0420489 67.4002 0.00277722Z' /%3E%3C/svg%3E\");mask-repeat:no-repeat}.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg{min-width:auto}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-small{width:18px;height:15px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-small{width:32px;height:30px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.small{width:36px;height:34px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.medium{width:48px;height:44px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.large{width:62px;height:56px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.x-large{width:76px;height:68px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xx-large{width:95px;height:86px;padding:0}.duet-icon.duet-icon-shape-brand.duet-theme-turva.xxx-large{width:144px;height:130px;padding:0}.duet-icon.duet-icon-shape-brand.xxx-small{padding:0}.duet-icon.duet-icon-shape-brand.xxx-small .duet-icon-svg{width:0;height:0}.duet-icon.duet-icon-shape-brand.xx-small{padding:4px}.duet-icon.duet-icon-shape-brand.xx-small .duet-icon-svg{width:10px;height:10px}.duet-icon.duet-icon-shape-brand.x-small{padding:8px}.duet-icon.duet-icon-shape-brand.x-small .duet-icon-svg{width:16px;height:16px}.duet-icon.duet-icon-shape-brand.small{padding:8px}.duet-icon.duet-icon-shape-brand.small .duet-icon-svg{width:20px;height:20px}.duet-icon.duet-icon-shape-brand.medium{padding:12px}.duet-icon.duet-icon-shape-brand.medium .duet-icon-svg{width:24px;height:24px}.duet-icon.duet-icon-shape-brand.large{padding:16px}.duet-icon.duet-icon-shape-brand.large .duet-icon-svg{width:30px;height:30px}.duet-icon.duet-icon-shape-brand.x-large{padding:20px}.duet-icon.duet-icon-shape-brand.x-large .duet-icon-svg{width:36px;height:36px}.duet-icon.duet-icon-shape-brand.xx-large{padding:24px}.duet-icon.duet-icon-shape-brand.xx-large .duet-icon-svg{width:48px;height:48px}.duet-icon.duet-icon-shape-brand.xxx-large{padding:36px}.duet-icon.duet-icon-shape-brand.xxx-large .duet-icon-svg{width:72px;height:72px}.duet-icon .duet-icon-svg{display:block;width:24px;min-width:100%;height:24px;font-size:0}.duet-icon .duet-icon-svg.rotated{transform:rotate(-20deg) scale(1.14)}.duet-icon svg{width:100%;min-width:100%;fill:currentColor}";export{h as duet_icon}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- System.register(["./p-610b364b.system.js","./p-50f4bca2.system.js","./p-6ef75455.system.js","./p-9bd338fd.system.js","./p-21774475.system.js"],(function(t){"use strict";var e,a,n,i,r,o,s;return{setters:[function(t){e=t.h;a=t.r;n=t.H;i=t.g},function(t){r=t.i},function(t){o=t.p},function(t){s=t.g},function(){}],execute:function(){var u=function(t){var a=t.img,n=t.sources;return e("picture",null,n&&n.map((function(t){return e("source",{srcSet:t.srcset,media:t.media,type:t.type,sizes:t.sizes})})),e("img",Object.assign({},a)))};var l='*,*::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:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-banner{display:grid;width:100%;height: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-style:normal;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}.duet-banner.auto{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.auto .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.auto .visual .image-container{top:-130px;left:-40px}.duet-banner.auto .visual .icon{bottom:30px;left:15px}@media (min-width: 62em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{top:-30px;left:-30px}.duet-banner.auto .visual .image{top:-15px;left:30px}.duet-banner.auto .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}.duet-banner.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-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;transform:none;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E");mask-repeat:no-repeat}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}.duet-banner.duet-theme-turva.auto .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:15px}@media (min-width: 62em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:auto;left:295px}}';var d=t("duet_banner",function(){function t(t){a(this,t);this.theme="";this.margin="auto";this.backgroundColor="primary-lighter";this.iconColor="gray-lightest";this.iconBackgroundColor="primary";this.textColor="secondary";this.size="auto";this.image="";this.sources=undefined;this.icon="";this.headingLevel="h2"}t.prototype.componentWillLoad=function(){r(this);this.hasHeadingSlot=!!this.element.querySelector('[slot="heading"]');this.hasDescriptionSlot=!!this.element.querySelector('[slot="description"]');this.hasActionSlot=!!this.element.querySelector('[slot="action"]')};t.prototype.render=function(){var t;var a=this.theme==="turva"&&this.backgroundColor==="primary-lighter"?"gray-lighter":this.backgroundColor;var i=s(a,this.theme);var r={backgroundColor:i};var l={img:{src:this.image,alt:"",loading:"lazy",class:"image",role:"presentation"},sources:o(this.sources)};return e(n,{class:{"duet-m-0":this.margin==="none"}},e("aside",{class:(t={"duet-banner":true,"duet-theme-turva":this.theme==="turva"},t[this.size]=true,t),style:r},e("div",{class:"visual"},e("div",{class:"image-container"},this.image&&e(u,Object.assign({},l))),this.icon&&e("duet-icon",{theme:this.theme,class:"icon",name:this.icon,shape:"brand",size:"xx-large",color:this.iconColor,background:this.iconBackgroundColor,"background-rotation":"7","background-opacity":"0.85",margin:"none"})),e("div",{class:"content"},this.hasHeadingSlot&&e("div",{class:"heading"},e("duet-heading",{theme:this.theme,level:this.headingLevel,"visual-level":"h2",margin:"none",color:this.textColor},e("div",null,e("slot",{name:"heading"})))),this.hasDescriptionSlot&&e("div",{class:"description"},e("duet-paragraph",{theme:this.theme,margin:"none",color:this.textColor},e("div",null,e("slot",{name:"description"})))),this.hasActionSlot&&e("div",{class:"action"},e("slot",{name:"action"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());d.style=l}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as s,h as i,H as e,g as o}from"./p-662da762.js";import{c as n,o as a,f as r}from"./p-00c8a755.js";import{i as p}from"./p-a58bd561.js";import{f as h,c as d,b as c,o as u}from"./p-2bb2b022.js";import{T as m}from"./p-ccdff614.js";const l=class{constructor(i){t(this,i),this.duetToggle=s(this,"duetToggle",7),this.updatePlacement=async()=>{if(!this.controller)return;const t=await n(this.controller,this.element,{middleware:[a({mainAxis:this.mainAxisOffset,crossAxis:this.crossAxisOffset}),r()],placement:this.placement,strategy:this.position});this.menuY=t.y,this.menuX=t.x},this.open=!1,this.menuY=void 0,this.menuX=void 0,this.accessibleLabel=void 0,this.theme="",this.controller=void 0,this.placement="bottom-start",this.position="absolute",this.mainAxisOffset=0,this.crossAxisOffset=0}componentWillLoad(){p(this),this.teleport=new m(this.element)}componentDidLoad(){this.updatePlacement()}handleKeyUp(t){this.open&&h(t)&&(this.focusController(),this.hide())}async handleKeyDown(t){if(this.open){if(d(t)){t.preventDefault();const s=await this.getFocusedItemIndex();-1!==s&&(s<this.itemElements.length-1?this.itemElements[s+1].setFocus():this.itemElements[0].setFocus())}if(c(t)){t.preventDefault();const s=await this.getFocusedItemIndex();-1!==s&&(0===s?this.itemElements[this.itemElements.length-1].setFocus():this.itemElements[s-1].setFocus())}u(t)&&(t.preventDefault(),this.hide())}}handleClick(t){const s=t.composedPath().every((t=>t!==this.element&&t!==this.controller));this.open&&s&&this.hide()}async isOpen(){return this.open}async show(){this.open=!0,this.teleport.go(),this.itemElements[0].setFocus(),this.duetToggle.emit({open:this.open,component:"duet-popup-menu"}),this.updatePlacement()}async hide(){this.open=!1,this.duetToggle.emit({open:this.open,component:"duet-popup-menu"}),this.focusController(),this.teleport.resume(200)}async toggle(){this.open?this.hide():this.show()}focusController(){this.controller&&("setFocus"in this.controller?this.controller.setFocus():this.controller.focus())}get itemElements(){return Array.from(this.element.querySelectorAll(":scope > duet-popup-menu-item"))}async getFocusedItemIndex(){const t=this.itemElements;for(let s=0;s<t.length;s++)if(await t[s].isFocused())return s;return-1}render(){return i(e,{class:this.position},i("div",{style:{top:`${this.menuY}px`,left:`${this.menuX}px`},class:{open:this.open,"duet-popup-menu-list":!0,"duet-theme-turva":"turva"===this.theme},role:"menu","aria-label":this.accessibleLabel},i("slot",null)))}get element(){return o(this)}};l.style="*,*::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}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(0, 41, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}";export{l as duet_popup_menu}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function c(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n["throw"](e))}catch(e){o(e)}}function u(e){e.done?i(e.value):r(e.value).then(c,a)}u((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,c;return c={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(e){return function(t){return u([e,t])}}function u(a){if(n)throw new TypeError("Generator is already executing.");while(c&&(c=0,a[0]&&(i=0)),i)try{if(n=1,r&&(o=a[0]&2?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;if(r=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;r=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(a[0]===6&&i.label<o[1]){i.label=o[1];o=a;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(a);break}if(o[2])i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e];r=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-610b364b.system.js","./p-50f4bca2.system.js","./p-e6b5a1c7.system.js","./p-5795b0d9.system.js"],(function(e){"use strict";var t,i,n,r,o,c,a,u,d;return{setters:[function(e){t=e.r;i=e.c;n=e.h;r=e.H;o=e.g},function(e){c=e.i},function(e){a=e.c},function(e){u=e.s;d=e.u}],execute:function(){var h='*,*::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;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(144, 149, 153);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(23, 28, 58)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(101, 119, 135) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:7px 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;color:rgb(0, 41, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{background:rgb(230, 242, 248);border-color:rgb(230, 242, 248)}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(205, 229, 241);border-color:rgb(205, 229, 241)}.duet-chip-container.duet-chip-filter-checked button,.duet-chip-container.duet-chip-filter-checked label,.duet-chip-container.duet-chip-radio-checked button,.duet-chip-container.duet-chip-radio-checked label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(228, 228, 230);border-color:rgb(228, 228, 230)}.duet-chip-container div.duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container div.duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(243, 249, 252);border-color:rgb(243, 249, 252)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input{display:flex;align-items:center;padding-right:0 !important}.duet-chip-container.duet-chip-input .duet-chip-input-button{flex-grow:1}.duet-chip-container.duet-chip-input .duet-chip-remove-button{width:26px;padding:8px 16px 8px 0;margin:-8px 0}:host(.user-is-tabbing) .duet-chip-focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input{position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;cursor:pointer;opacity:0}';var s=e("duet_chip",function(){function e(e){var n=this;t(this,e);this.duetChange=i(this,"duetChange",3);this.duetFocus=i(this,"duetFocus",7);this.duetBlur=i(this,"duetBlur",7);this.chipId=a("DuetChip");this.popupSetUp=function(){var e=document.querySelector("duet-popup-menu#".concat(n.popup));if(e){n.popupElement=e;e.controller=n.element;var t=n.element.textContent;var i=n.value;if(!e.id){e.id="popup-menu"}e.addEventListener("duetToggle",(function(e){n.popupOpen=e.detail.open}));var r=function(){e.querySelectorAll("duet-popup-menu-item").forEach((function(e){e.active=false}))};e.querySelectorAll("duet-popup-menu-item").forEach((function(e){e.addEventListener("click",(function(o){var c;var a=(c=e.value)!==null&&c!==void 0?c:e.innerText;if(!e.active){r();e.active=true;n.element.textContent=e.innerText;n.value=a;n.checked=true}else{r();n.element.textContent=t;n.value=i;n.checked=false}n.emitChange(o);setTimeout((function(){if(n.popupElement.isOpen()){n.popupElement.hide()}}))}))}))}};this.onFocus=function(e){n.focus=true;n.duetFocus.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.onBlur=function(e){n.focus=false;n.duetBlur.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.emitChange=function(e){n.duetChange.emit({originalEvent:e,checked:n.checked,value:n.value,component:"duet-chip"})};this.onFilterChange=function(e){n.checked=!n.checked;n.emitChange(e)};this.onRadioChange=function(e){var t=n.focusableElement;var i=t.checked;n.checked=i;n.emitChange(e)};this.onFilterClick=function(e){if(n.disabled){e.stopPropagation();e.preventDefault();return}if(n.popupElement){e.stopPropagation();e.preventDefault();n.popupElement.toggle()}};this.onRemoveClick=function(e){e.stopPropagation();e.preventDefault();n.element.remove()};this.focus=false;this.popupElement=undefined;this.popupOpen=undefined;this.accessibleLabel=undefined;this.variation="button";this.popup=undefined;this.icon="";this.theme="";this.identifier=undefined;this.value=undefined;this.name=undefined;this.checked=false;this.disabled=false}e.prototype.clearOtherRadioButtons=function(){var e=this;if(this.variation==="radio"&&this.checked){var t=document.querySelectorAll('duet-chip[variation="radio"][name="'.concat(this.name,'"]'));t.forEach((function(t){if(t!==e.element){t.checked=false}}))}};e.prototype.componentWillLoad=function(){c(this);this.popupSetUp()};e.prototype.connectedCallback=function(){u(this)};e.prototype.disconnectedCallback=function(){d(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){setTimeout((function(){return t.focusableElement.focus(e)}),200);return[2]}))}))};e.prototype.render=function(){var e;var t=this;var i;var o=this.identifier||this.chipId;var c=(e={"duet-chip-container":true},e["duet-chip-".concat(this.variation)]=true,e["duet-chip-focus"]=this.focus,e["duet-chip-has-icon"]=!!this.icon,e["duet-chip-has-popup"]=this.variation==="filter"&&!!this.popupElement,e["duet-theme-turva"]=this.theme==="turva",e["duet-chip-filter-checked"]=this.variation==="filter"&&this.checked,e["duet-chip-radio-checked"]=this.variation==="radio"&&this.checked,e["duet-chip-filter-popup-open"]=this.popupOpen,e["duet-chip-disabled"]=this.disabled,e);var a={onFocus:this.onFocus,onBlur:this.onBlur,ref:function(e){return t.focusableElement=e}};return n(r,null,this.variation==="button"&&n("div",{class:c},n("button",Object.assign({id:o,"aria-label":this.accessibleLabel,"aria-disabled":this.disabled?"true":undefined,name:this.name,value:this.value,onClick:this.disabled?function(e){return e.stopPropagation()}:undefined},a),n("div",{class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",null))),this.variation==="input"&&n("div",{class:c},n("button",Object.assign({id:o,class:"duet-chip-input-button","aria-label":this.accessibleLabel},a),n("div",{class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),n("slot",null)),n("button",{class:"duet-chip-remove-button",onClick:this.onRemoveClick},n("duet-icon",{name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),this.variation==="filter"&&n("div",{class:c},n("input",Object.assign({"aria-haspopup":this.popupElement&&"menu","aria-controls":(i=this.popupElement)===null||i===void 0?void 0:i.id,"aria-expanded":this.popupElement?this.popupOpen?"true":"false":undefined,"aria-disabled":this.disabled?"true":undefined,id:o,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},a)),n("label",{htmlFor:o},n("div",{class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",null),this.popupElement&&n("div",{class:"duet-chip-popup-disclosure"},n("duet-icon",{name:"action-arrow-down-small",size:"xxx-small",margin:"none",color:"currentColor"})))),this.variation==="radio"&&n("div",{class:c},n("input",Object.assign({"aria-disabled":this.disabled?"true":undefined,id:o,type:"radio",name:this.name,value:this.value,checked:this.checked,onChange:this.onRadioChange,onClick:this.disabled?function(e){return e.preventDefault()}:undefined},a)),n("label",{htmlFor:o},n("div",{class:"duet-chip-icon-container"},this.icon&&n("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),n("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),n("slot",null))))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["clearOtherRadioButtons"]}},enumerable:false,configurable:true});return e}());s.style=h}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as t,c as i,h as e,H as o,g as c}from"./p-662da762.js";import{i as n}from"./p-a58bd561.js";import{c as r}from"./p-5e59e970.js";import{s as a,u as d}from"./p-2bb2b022.js";const h=class{constructor(e){t(this,e),this.duetChange=i(this,"duetChange",3),this.duetFocus=i(this,"duetFocus",7),this.duetBlur=i(this,"duetBlur",7),this.chipId=r("DuetChip"),this.popupSetUp=()=>{const t=document.querySelector(`duet-popup-menu#${this.popup}`);if(t){this.popupElement=t,t.controller=this.element;const i=this.element.textContent,e=this.value;t.id||(t.id="popup-menu"),t.addEventListener("duetToggle",(t=>{this.popupOpen=t.detail.open}));const o=()=>{t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.active=!1}))};t.querySelectorAll("duet-popup-menu-item").forEach((t=>{t.addEventListener("click",(c=>{var n;const r=null!==(n=t.value)&&void 0!==n?n:t.innerText;t.active?(o(),this.element.textContent=i,this.value=e,this.checked=!1):(o(),t.active=!0,this.element.textContent=t.innerText,this.value=r,this.checked=!0),this.emitChange(c),setTimeout((()=>{this.popupElement.isOpen()&&this.popupElement.hide()}))}))}))}},this.onFocus=t=>{this.focus=!0,this.duetFocus.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onBlur=t=>{this.focus=!1,this.duetBlur.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.emitChange=t=>{this.duetChange.emit({originalEvent:t,checked:this.checked,value:this.value,component:"duet-chip"})},this.onFilterChange=t=>{this.checked=!this.checked,this.emitChange(t)},this.onRadioChange=t=>{this.checked=this.focusableElement.checked,this.emitChange(t)},this.onFilterClick=t=>{if(this.disabled)return t.stopPropagation(),void t.preventDefault();this.popupElement&&(t.stopPropagation(),t.preventDefault(),this.popupElement.toggle())},this.onRemoveClick=t=>{t.stopPropagation(),t.preventDefault(),this.element.remove()},this.focus=!1,this.popupElement=void 0,this.popupOpen=void 0,this.accessibleLabel=void 0,this.variation="button",this.popup=void 0,this.icon="",this.theme="",this.identifier=void 0,this.value=void 0,this.name=void 0,this.checked=!1,this.disabled=!1}clearOtherRadioButtons(){"radio"===this.variation&&this.checked&&document.querySelectorAll(`duet-chip[variation="radio"][name="${this.name}"]`).forEach((t=>{t!==this.element&&(t.checked=!1)}))}componentWillLoad(){n(this),this.popupSetUp()}connectedCallback(){a(this)}disconnectedCallback(){d(this)}async setFocus(t){setTimeout((()=>this.focusableElement.focus(t)),200)}render(){var t;const i=this.identifier||this.chipId,c={"duet-chip-container":!0,[`duet-chip-${this.variation}`]:!0,"duet-chip-focus":this.focus,"duet-chip-has-icon":!!this.icon,"duet-chip-has-popup":"filter"===this.variation&&!!this.popupElement,"duet-theme-turva":"turva"===this.theme,"duet-chip-filter-checked":"filter"===this.variation&&this.checked,"duet-chip-radio-checked":"radio"===this.variation&&this.checked,"duet-chip-filter-popup-open":this.popupOpen,"duet-chip-disabled":this.disabled},n={onFocus:this.onFocus,onBlur:this.onBlur,ref:t=>this.focusableElement=t};return e(o,null,"button"===this.variation&&e("div",{class:c},e("button",Object.assign({id:i,"aria-label":this.accessibleLabel,"aria-disabled":this.disabled?"true":void 0,name:this.name,value:this.value,onClick:this.disabled?t=>t.stopPropagation():void 0},n),e("div",{class:"duet-chip-icon-container"},this.icon&&e("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),e("slot",null))),"input"===this.variation&&e("div",{class:c},e("button",Object.assign({id:i,class:"duet-chip-input-button","aria-label":this.accessibleLabel},n),e("div",{class:"duet-chip-icon-container"},this.icon&&e("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"})),e("slot",null)),e("button",{class:"duet-chip-remove-button",onClick:this.onRemoveClick},e("duet-icon",{name:"activity-close",size:"xx-small",margin:"none",color:"currentColor"}))),"filter"===this.variation&&e("div",{class:c},e("input",Object.assign({"aria-haspopup":this.popupElement&&"menu","aria-controls":null===(t=this.popupElement)||void 0===t?void 0:t.id,"aria-expanded":this.popupElement?this.popupOpen?"true":"false":void 0,"aria-disabled":this.disabled?"true":void 0,id:i,type:"checkbox",name:this.name,value:this.value,checked:this.checked,onClick:this.onFilterClick,onChange:this.onFilterChange},n)),e("label",{htmlFor:i},e("div",{class:"duet-chip-icon-container"},this.icon&&e("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),e("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),e("slot",null),this.popupElement&&e("div",{class:"duet-chip-popup-disclosure"},e("duet-icon",{name:"action-arrow-down-small",size:"xxx-small",margin:"none",color:"currentColor"})))),"radio"===this.variation&&e("div",{class:c},e("input",Object.assign({"aria-disabled":this.disabled?"true":void 0,id:i,type:"radio",name:this.name,value:this.value,checked:this.checked,onChange:this.onRadioChange,onClick:this.disabled?t=>t.preventDefault():void 0},n)),e("label",{htmlFor:i},e("div",{class:"duet-chip-icon-container"},this.icon&&e("duet-icon",{name:this.icon,size:"x-small",margin:"none",color:"currentColor"}),e("duet-icon",{name:"messaging-checked-small",size:"xx-small",margin:"none",color:"currentColor",class:"check-mark"})),e("slot",null))))}get element(){return c(this)}static get watchers(){return{checked:["clearOtherRadioButtons"]}}};h.style='*,*::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;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(144, 149, 153);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(23, 28, 58)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(101, 119, 135) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:7px 16px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:600;color:rgb(0, 41, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{background:rgb(230, 242, 248);border-color:rgb(230, 242, 248)}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(205, 229, 241);border-color:rgb(205, 229, 241)}.duet-chip-container.duet-chip-filter-checked button,.duet-chip-container.duet-chip-filter-checked label,.duet-chip-container.duet-chip-radio-checked button,.duet-chip-container.duet-chip-radio-checked label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(228, 228, 230);border-color:rgb(228, 228, 230)}.duet-chip-container div.duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container div.duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(243, 249, 252);border-color:rgb(243, 249, 252)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input{display:flex;align-items:center;padding-right:0 !important}.duet-chip-container.duet-chip-input .duet-chip-input-button{flex-grow:1}.duet-chip-container.duet-chip-input .duet-chip-remove-button{width:26px;padding:8px 16px 8px 0;margin:-8px 0}:host(.user-is-tabbing) .duet-chip-focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input{position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;cursor:pointer;opacity:0}';export{h as duet_chip}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{h}from"./index-909a963e.js";var focusElement=function(e){if("setFocus"in e){e.setFocus()}else{e.focus()}};var FocusGuard=function(e){var u=e.moveFocusTo;return h("div",{class:"duet-focus-guard","aria-hidden":"true",tabIndex:0,onFocus:function(){return focusElement(u)}})};export{FocusGuard as F,focusElement as f};