@duetds/components 8.6.6 → 8.6.7

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 (635) hide show
  1. package/hydrate/index.js +67 -25
  2. package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-banner.cjs.entry.js +1 -1
  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 +1 -1
  9. package/lib/cjs/duet-callout.cjs.entry.js +1 -1
  10. package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-card.cjs.entry.js +1 -1
  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 +32 -3
  15. package/lib/cjs/duet-choice_2.cjs.entry.js +1 -1
  16. package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
  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 +1 -1
  22. package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -1
  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 +1 -1
  28. package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-icon.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-input_2.cjs.entry.js +2 -2
  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 +1 -1
  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 +1 -1
  37. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  39. package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  41. package/lib/cjs/duet-multiselect.cjs.entry.js +3 -6
  42. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  45. package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-popup-menu.cjs.entry.js +2 -2
  50. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
  52. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  53. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-scrollable_3.cjs.entry.js +32 -17
  55. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  62. package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
  63. package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  65. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  66. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
  67. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +1 -1
  68. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  69. package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
  70. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  71. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  72. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  73. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  74. package/lib/cjs/duet-toolbar-item.cjs.entry.js +1 -1
  75. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  76. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  77. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
  78. package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
  79. package/lib/cjs/duet-tray.cjs.entry.js +1 -1
  80. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  81. package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
  82. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  83. package/lib/cjs/duet.cjs.js +2 -2
  84. package/lib/cjs/{focus-utils-042be20b.js → focus-utils-840cdeeb.js} +1 -1
  85. package/lib/cjs/{index-23e333f6.js → index-0e62d0e9.js} +1 -1
  86. package/lib/cjs/loader.cjs.js +2 -2
  87. package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
  88. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  89. package/lib/collection/components/duet-banner/duet-banner.js +1 -1
  90. package/lib/collection/components/duet-button/duet-button.js +5 -5
  91. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  92. package/lib/collection/components/duet-card/duet-card.js +3 -3
  93. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  94. package/lib/collection/components/duet-chip/duet-chip.css +2 -1
  95. package/lib/collection/components/duet-chip/duet-chip.e2e.js +1 -1
  96. package/lib/collection/components/duet-chip/duet-chip.js +36 -7
  97. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  98. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  99. package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
  100. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  101. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  102. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  103. package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
  104. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  105. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  106. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  107. package/lib/collection/components/duet-grid/duet-grid.js +3 -3
  108. package/lib/collection/components/duet-header/duet-header.js +15 -15
  109. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  110. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  111. package/lib/collection/components/duet-input/duet-input.js +9 -9
  112. package/lib/collection/components/duet-label/duet-label.js +2 -2
  113. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  114. package/lib/collection/components/duet-list/duet-list.js +3 -3
  115. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  116. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  117. package/lib/collection/components/duet-modal/duet-modal.js +4 -4
  118. package/lib/collection/components/duet-multiselect/duet-multiselect.e2e.js +22 -0
  119. package/lib/collection/components/duet-multiselect/duet-multiselect.js +8 -11
  120. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  121. package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
  122. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  123. package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
  124. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  125. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
  126. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  127. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  128. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  129. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  130. package/lib/collection/components/duet-scrollable/duet-scrollable.js +28 -15
  131. package/lib/collection/components/duet-select/duet-select.js +5 -5
  132. package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
  133. package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
  134. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  135. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  136. package/lib/collection/components/duet-step/duet-step.js +2 -2
  137. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  138. package/lib/collection/components/duet-tab/duet-tab.js +18 -0
  139. package/lib/collection/components/duet-tab-group/duet-tab-group.css +64 -0
  140. package/lib/collection/components/duet-tab-group/duet-tab-group.js +6 -5
  141. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  142. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  143. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  144. package/lib/collection/components/duet-upload/duet-upload.js +14 -14
  145. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  146. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  147. package/lib/dist-custom-elements/duet-alert.js +1 -1
  148. package/lib/dist-custom-elements/duet-badge.js +1 -1
  149. package/lib/dist-custom-elements/duet-banner.js +3 -3
  150. package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
  151. package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
  152. package/lib/dist-custom-elements/duet-button.js +1 -1
  153. package/lib/dist-custom-elements/duet-callout.js +2 -2
  154. package/lib/dist-custom-elements/duet-caption.js +1 -1
  155. package/lib/dist-custom-elements/duet-card.js +3 -3
  156. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  157. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  158. package/lib/dist-custom-elements/duet-chip.js +1 -1
  159. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  160. package/lib/dist-custom-elements/duet-choice.js +4 -4
  161. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  162. package/lib/dist-custom-elements/duet-combobox.js +12 -12
  163. package/lib/dist-custom-elements/duet-contact-card.js +8 -8
  164. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  165. package/lib/dist-custom-elements/duet-date-picker.js +13 -13
  166. package/lib/dist-custom-elements/duet-divider.js +1 -1
  167. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  168. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  169. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  170. package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
  171. package/lib/dist-custom-elements/duet-footer.js +7 -7
  172. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  173. package/lib/dist-custom-elements/duet-grid.js +1 -1
  174. package/lib/dist-custom-elements/duet-header.js +8 -8
  175. package/lib/dist-custom-elements/duet-heading.js +1 -1
  176. package/lib/dist-custom-elements/duet-hero.js +9 -9
  177. package/lib/dist-custom-elements/duet-icon.js +1 -1
  178. package/lib/dist-custom-elements/duet-input.js +1 -1
  179. package/lib/dist-custom-elements/duet-label.js +1 -1
  180. package/lib/dist-custom-elements/duet-layout.js +1 -1
  181. package/lib/dist-custom-elements/duet-link.js +1 -1
  182. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  183. package/lib/dist-custom-elements/duet-list.js +1 -1
  184. package/lib/dist-custom-elements/duet-logo.js +1 -1
  185. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  186. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  187. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  188. package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
  189. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  190. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  191. package/lib/dist-custom-elements/duet-modal.js +8 -8
  192. package/lib/dist-custom-elements/duet-multiselect.js +11 -14
  193. package/lib/dist-custom-elements/duet-nav.js +1 -1
  194. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  195. package/lib/dist-custom-elements/duet-notification.js +2 -2
  196. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  197. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  198. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  199. package/lib/dist-custom-elements/duet-pagination.js +13 -13
  200. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  201. package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
  202. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  203. package/lib/dist-custom-elements/duet-progress.js +1 -1
  204. package/lib/dist-custom-elements/duet-promo-card.js +3 -3
  205. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  206. package/lib/dist-custom-elements/duet-radio.js +1 -1
  207. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  208. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  209. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  210. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  211. package/lib/dist-custom-elements/duet-select.js +1 -1
  212. package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
  213. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  214. package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
  215. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  216. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  217. package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
  218. package/lib/dist-custom-elements/duet-slideout.js +3 -3
  219. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  220. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  221. package/lib/dist-custom-elements/duet-step.js +4 -4
  222. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  223. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  224. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
  225. package/lib/dist-custom-elements/duet-submenu-bar-item.js +2 -2
  226. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  227. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  228. package/lib/dist-custom-elements/duet-tab-group.js +15 -14
  229. package/lib/dist-custom-elements/duet-tab.js +3 -1
  230. package/lib/dist-custom-elements/duet-table.js +1 -1
  231. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  232. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  233. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  234. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  235. package/lib/dist-custom-elements/duet-toolbar-item.js +2 -2
  236. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  237. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  238. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  239. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  240. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  241. package/lib/dist-custom-elements/duet-tray.js +3 -3
  242. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  243. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  244. package/lib/dist-custom-elements/duet-upload.js +19 -19
  245. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  246. package/lib/dist-custom-elements/index.js +1 -1
  247. package/lib/dist-custom-elements/{p-6d05127a.js → p-04e94433.js} +2 -2
  248. package/lib/dist-custom-elements/{p-c59e4377.js → p-08281e4d.js} +5 -5
  249. package/lib/dist-custom-elements/{p-1bab7558.js → p-0f338f22.js} +10 -10
  250. package/lib/dist-custom-elements/{p-6c3fb452.js → p-0f5db288.js} +1 -1
  251. package/lib/dist-custom-elements/{p-8718ac36.js → p-15a1c388.js} +2 -2
  252. package/lib/dist-custom-elements/{p-0df3de19.js → p-19381ec7.js} +1 -1
  253. package/lib/dist-custom-elements/{p-1c4ec089.js → p-2096e5d8.js} +1 -1
  254. package/lib/dist-custom-elements/{p-16f48cf0.js → p-2e723612.js} +2 -2
  255. package/lib/dist-custom-elements/{p-dee2eee3.js → p-31cbef8d.js} +1 -1
  256. package/lib/dist-custom-elements/{p-296aa9f5.js → p-3394059e.js} +1 -1
  257. package/lib/dist-custom-elements/{p-f8fcb31f.js → p-341bd31d.js} +2 -2
  258. package/lib/dist-custom-elements/{p-4fc377f6.js → p-44989059.js} +1 -1
  259. package/lib/dist-custom-elements/{p-74045091.js → p-48204dc9.js} +1 -1
  260. package/lib/dist-custom-elements/{p-7042df06.js → p-5114cc3a.js} +1 -1
  261. package/lib/dist-custom-elements/{p-6e2cb1f7.js → p-51c249ea.js} +1 -1
  262. package/lib/dist-custom-elements/{p-12b8938d.js → p-6012c538.js} +1 -1
  263. package/lib/dist-custom-elements/{p-ea821fd6.js → p-64761b87.js} +3 -3
  264. package/lib/dist-custom-elements/{p-c12ad8fe.js → p-75526c25.js} +33 -20
  265. package/lib/dist-custom-elements/{p-97bc8883.js → p-7f6edf66.js} +33 -4
  266. package/lib/dist-custom-elements/{p-09fed0c7.js → p-8a6ee5e0.js} +1 -1
  267. package/lib/dist-custom-elements/{p-10cfa2a0.js → p-8bb79007.js} +11 -11
  268. package/lib/dist-custom-elements/{p-eb5db5c3.js → p-8df134bd.js} +1 -1
  269. package/lib/dist-custom-elements/{p-ec2e63c1.js → p-90582013.js} +3 -3
  270. package/lib/dist-custom-elements/{p-6ccb6291.js → p-96f1fc40.js} +1 -1
  271. package/lib/dist-custom-elements/{p-d389686a.js → p-97b70dbe.js} +8 -8
  272. package/lib/dist-custom-elements/{p-9333ad1f.js → p-9afbc6e3.js} +5 -5
  273. package/lib/dist-custom-elements/{p-dcb28cc1.js → p-a41ca7c9.js} +4 -4
  274. package/lib/dist-custom-elements/{p-d8d5aa01.js → p-b155b6bf.js} +6 -6
  275. package/lib/dist-custom-elements/{p-b5c8a564.js → p-c3acf970.js} +1 -1
  276. package/lib/dist-custom-elements/{p-c1f7645d.js → p-d36f7aa3.js} +2 -2
  277. package/lib/dist-custom-elements/{p-b056943d.js → p-e0333cbb.js} +1 -1
  278. package/lib/dist-custom-elements/{p-45469b60.js → p-e17637c5.js} +1 -1
  279. package/lib/dist-custom-elements/{p-cf59c4d9.js → p-eb2964d1.js} +1 -1
  280. package/lib/dist-custom-elements/{p-d2ec2399.js → p-eba143b2.js} +1 -1
  281. package/lib/dist-custom-elements/{p-a6ca6837.js → p-eec65c8c.js} +1 -1
  282. package/lib/dist-custom-elements/{p-b29a4ecf.js → p-eed79b67.js} +1 -1
  283. package/lib/dist-custom-elements/{p-7aecc5f8.js → p-f3f4a4fa.js} +2 -2
  284. package/lib/duet/duet.esm.js +1 -1
  285. package/lib/duet/duet.js +1 -1
  286. package/lib/duet/{p-3ba657dc.system.entry.js → p-007d9cc8.system.entry.js} +1 -1
  287. package/lib/duet/{p-142124b2.system.entry.js → p-014e7c3d.system.entry.js} +1 -1
  288. package/lib/duet/{p-e9aa4934.entry.js → p-028a8123.entry.js} +1 -1
  289. package/lib/duet/{p-00035e73.system.entry.js → p-03b7f722.system.entry.js} +1 -1
  290. package/lib/duet/{p-6cb486a0.entry.js → p-03ed03ce.entry.js} +1 -1
  291. package/lib/duet/{p-131966c2.system.entry.js → p-03f3b049.system.entry.js} +1 -1
  292. package/lib/duet/{p-6faa8f52.system.entry.js → p-04a59c08.system.entry.js} +1 -1
  293. package/lib/duet/{p-bd650916.entry.js → p-058f856d.entry.js} +1 -1
  294. package/lib/duet/{p-e630e96a.entry.js → p-05f468b4.entry.js} +1 -1
  295. package/lib/duet/{p-f0085bde.entry.js → p-06c4d12f.entry.js} +1 -1
  296. package/lib/duet/{p-b342036c.entry.js → p-09c3a137.entry.js} +1 -1
  297. package/lib/duet/{p-b6897920.entry.js → p-0a99cefb.entry.js} +1 -1
  298. package/lib/duet/{p-d8cef4da.system.entry.js → p-0fde5dec.system.entry.js} +1 -1
  299. package/lib/duet/{p-22f07cc3.entry.js → p-106c24c4.entry.js} +1 -1
  300. package/lib/duet/{p-dfd1ab31.system.entry.js → p-115df298.system.entry.js} +1 -1
  301. package/lib/duet/{p-10b7bb7a.entry.js → p-121628c8.entry.js} +1 -1
  302. package/lib/duet/{p-29bc3c02.system.entry.js → p-14565878.system.entry.js} +1 -1
  303. package/lib/duet/{p-bbc72076.entry.js → p-14b593b9.entry.js} +1 -1
  304. package/lib/duet/{p-7aa66c0d.entry.js → p-156a100b.entry.js} +1 -1
  305. package/lib/duet/{p-56f9b9ae.entry.js → p-1adfaca2.entry.js} +1 -1
  306. package/lib/duet/{p-4b6c159b.entry.js → p-1bf339ba.entry.js} +1 -1
  307. package/lib/duet/{p-436f5706.entry.js → p-1cea3d24.entry.js} +1 -1
  308. package/lib/duet/{p-5ffaa443.system.js → p-21099bd7.system.js} +1 -1
  309. package/lib/duet/{p-2e7d3144.system.entry.js → p-22d705be.system.entry.js} +1 -1
  310. package/lib/duet/{p-b32b138c.system.entry.js → p-23171c7d.system.entry.js} +1 -1
  311. package/lib/duet/{p-3f907346.entry.js → p-25642d22.entry.js} +1 -1
  312. package/lib/duet/{p-bebc0345.entry.js → p-26911bab.entry.js} +1 -1
  313. package/lib/duet/p-288c4c93.js +4 -0
  314. package/lib/duet/{p-21206c75.system.entry.js → p-291fa187.system.entry.js} +1 -1
  315. package/lib/duet/{p-b7cae73a.entry.js → p-2b1bfbb0.entry.js} +1 -1
  316. package/lib/duet/{p-eb6b85ab.system.entry.js → p-2b7ec4d8.system.entry.js} +1 -1
  317. package/lib/duet/{p-a2ddc388.entry.js → p-2c2481ee.entry.js} +1 -1
  318. package/lib/duet/{p-506c6579.entry.js → p-2c84eb27.entry.js} +1 -1
  319. package/lib/duet/{p-1e541353.entry.js → p-2f052bf7.entry.js} +1 -1
  320. package/lib/duet/{p-7e7d7e2a.entry.js → p-2f8757e0.entry.js} +1 -1
  321. package/lib/duet/{p-011fffe0.system.entry.js → p-3451c87b.system.entry.js} +1 -1
  322. package/lib/duet/{p-f8e14dfe.system.entry.js → p-36866d07.system.entry.js} +2 -2
  323. package/lib/duet/{p-358235ff.system.entry.js → p-36f9c53c.system.entry.js} +1 -1
  324. package/lib/duet/{p-de6a45f8.system.entry.js → p-3a3065db.system.entry.js} +1 -1
  325. package/lib/duet/{p-0aaeda13.system.entry.js → p-3b690a9a.system.entry.js} +1 -1
  326. package/lib/duet/{p-e2d05479.js → p-3f429dc7.js} +1 -1
  327. package/lib/duet/{p-c31a9505.system.entry.js → p-4019f782.system.entry.js} +1 -1
  328. package/lib/duet/{p-c40c350d.system.entry.js → p-41b5c1b8.system.entry.js} +1 -1
  329. package/lib/duet/{p-f6f03ed2.system.entry.js → p-420fa325.system.entry.js} +1 -1
  330. package/lib/duet/{p-3f7fbc1e.entry.js → p-44ffed92.entry.js} +1 -1
  331. package/lib/duet/{p-b417c57c.system.entry.js → p-45489047.system.entry.js} +2 -2
  332. package/lib/duet/p-460b01fa.system.entry.js +4 -0
  333. package/lib/duet/{p-f859ee68.entry.js → p-46e1edab.entry.js} +1 -1
  334. package/lib/duet/{p-a90963f2.entry.js → p-47c55218.entry.js} +1 -1
  335. package/lib/duet/{p-5e89fbc0.system.entry.js → p-4abb5ba3.system.entry.js} +1 -1
  336. package/lib/duet/{p-48f1d953.entry.js → p-4b343a56.entry.js} +1 -1
  337. package/lib/duet/{p-13a19719.system.entry.js → p-4c75b475.system.entry.js} +1 -1
  338. package/lib/duet/{p-c13b73ce.entry.js → p-4e5091ab.entry.js} +1 -1
  339. package/lib/duet/{p-1ff43531.entry.js → p-50eb2c89.entry.js} +1 -1
  340. package/lib/duet/p-54cbba22.entry.js +4 -0
  341. package/lib/duet/{p-0081e9cc.system.entry.js → p-58dfb75d.system.entry.js} +1 -1
  342. package/lib/duet/{p-5ae98754.system.entry.js → p-59c2fb1f.system.entry.js} +1 -1
  343. package/lib/duet/{p-cb40eace.system.entry.js → p-5ad8c9ca.system.entry.js} +1 -1
  344. package/lib/duet/{p-3e7f45ff.entry.js → p-5add82d3.entry.js} +1 -1
  345. package/lib/duet/{p-66970e56.system.js → p-5cbca2a3.system.js} +1 -1
  346. package/lib/duet/{p-a0fff4ab.entry.js → p-5eef9193.entry.js} +1 -1
  347. package/lib/duet/{p-d95d5454.system.entry.js → p-60fd9239.system.entry.js} +1 -1
  348. package/lib/duet/{p-3dfa5d3d.entry.js → p-6137cb3d.entry.js} +1 -1
  349. package/lib/duet/{p-6abcbe7b.entry.js → p-6431688d.entry.js} +1 -1
  350. package/lib/duet/{p-6345e5b3.system.entry.js → p-64c11637.system.entry.js} +1 -1
  351. package/lib/duet/{p-4f657376.entry.js → p-6575b5d9.entry.js} +1 -1
  352. package/lib/duet/{p-8827bd50.entry.js → p-67268d6d.entry.js} +1 -1
  353. package/lib/duet/{p-66499aef.system.entry.js → p-688a69e6.system.entry.js} +1 -1
  354. package/lib/duet/{p-666529e7.entry.js → p-6c1c1a69.entry.js} +1 -1
  355. package/lib/duet/{p-5646ba3e.system.entry.js → p-70bc7c29.system.entry.js} +1 -1
  356. package/lib/duet/{p-0ad58c69.system.entry.js → p-70c4bcf7.system.entry.js} +1 -1
  357. package/lib/duet/{p-ef2575b8.entry.js → p-71da76d2.entry.js} +1 -1
  358. package/lib/duet/{p-10e06174.entry.js → p-720576d2.entry.js} +1 -1
  359. package/lib/duet/{p-1ae793a6.system.entry.js → p-721626b1.system.entry.js} +1 -1
  360. package/lib/duet/{p-7740f52d.system.entry.js → p-72239455.system.entry.js} +1 -1
  361. package/lib/duet/{p-a6a5cd0d.entry.js → p-72d7417a.entry.js} +1 -1
  362. package/lib/duet/{p-e2265b53.system.entry.js → p-74e444ab.system.entry.js} +1 -1
  363. package/lib/duet/{p-7a0d1b1d.system.entry.js → p-7841c167.system.entry.js} +1 -1
  364. package/lib/duet/{p-3a112577.system.entry.js → p-79abe7bb.system.entry.js} +1 -1
  365. package/lib/duet/{p-4875b405.entry.js → p-7ba54621.entry.js} +1 -1
  366. package/lib/duet/{p-73b1c053.system.entry.js → p-7c543ee1.system.entry.js} +1 -1
  367. package/lib/duet/{p-e1cc5bd7.system.entry.js → p-7d1e82d7.system.entry.js} +1 -1
  368. package/lib/duet/{p-51d7c128.system.entry.js → p-7d67ac59.system.entry.js} +1 -1
  369. package/lib/duet/{p-a42de2c8.entry.js → p-80180d09.entry.js} +1 -1
  370. package/lib/duet/{p-f2549ac7.system.entry.js → p-80f66438.system.entry.js} +1 -1
  371. package/lib/duet/{p-2904f896.system.entry.js → p-81eb1fc9.system.entry.js} +1 -1
  372. package/lib/duet/{p-5dd144b7.entry.js → p-82ac049e.entry.js} +1 -1
  373. package/lib/duet/{p-15deb1d4.entry.js → p-82df1b22.entry.js} +1 -1
  374. package/lib/duet/{p-c4539805.entry.js → p-8c5259e6.entry.js} +1 -1
  375. package/lib/duet/{p-e08d2854.system.entry.js → p-953e59ec.system.entry.js} +1 -1
  376. package/lib/duet/{p-c755eb91.entry.js → p-9635d20e.entry.js} +1 -1
  377. package/lib/duet/{p-85d9c410.system.entry.js → p-97899139.system.entry.js} +2 -2
  378. package/lib/duet/{p-5c0875c6.entry.js → p-98a29331.entry.js} +1 -1
  379. package/lib/duet/{p-3f798c3c.entry.js → p-991d96ec.entry.js} +1 -1
  380. package/lib/duet/{p-a2213fad.system.entry.js → p-9a8d005a.system.entry.js} +1 -1
  381. package/lib/duet/p-9ac521d9.entry.js +4 -0
  382. package/lib/duet/{p-87d9c908.system.entry.js → p-9b3c2d23.system.entry.js} +1 -1
  383. package/lib/duet/{p-1cb306c5.system.entry.js → p-9c547b0e.system.entry.js} +1 -1
  384. package/lib/duet/{p-42bd1c5f.entry.js → p-9dd377f2.entry.js} +1 -1
  385. package/lib/duet/{p-0c4fb3b5.entry.js → p-9ea7c45c.entry.js} +1 -1
  386. package/lib/duet/{p-5c8c2bfa.entry.js → p-a0abe32b.entry.js} +1 -1
  387. package/lib/duet/{p-541ce554.system.entry.js → p-a0c5fb63.system.entry.js} +1 -1
  388. package/lib/duet/{p-99e5e103.system.entry.js → p-a1280750.system.entry.js} +1 -1
  389. package/lib/duet/{p-0176f77a.entry.js → p-a28ea2ea.entry.js} +1 -1
  390. package/lib/duet/{p-c63faa6c.system.entry.js → p-a2cfd532.system.entry.js} +1 -1
  391. package/lib/duet/{p-e4af4d67.system.entry.js → p-a731571b.system.entry.js} +1 -1
  392. package/lib/duet/{p-3f8f502e.entry.js → p-a8705f4b.entry.js} +1 -1
  393. package/lib/duet/{p-70d31599.system.entry.js → p-a8988dc4.system.entry.js} +1 -1
  394. package/lib/duet/{p-165d0b26.entry.js → p-a9e8f4ae.entry.js} +1 -1
  395. package/lib/duet/{p-586b653b.entry.js → p-aa9c34e4.entry.js} +1 -1
  396. package/lib/duet/{p-d6ae391a.entry.js → p-aae219e5.entry.js} +1 -1
  397. package/lib/duet/{p-8d391c0a.entry.js → p-add7dbd0.entry.js} +1 -1
  398. package/lib/duet/{p-938a8293.entry.js → p-ae45181a.entry.js} +1 -1
  399. package/lib/duet/{p-e44854e3.system.entry.js → p-af9b0b10.system.entry.js} +1 -1
  400. package/lib/duet/{p-05743cd3.system.entry.js → p-afc472b2.system.entry.js} +1 -1
  401. package/lib/duet/{p-efb1ed37.entry.js → p-b0b5a0d6.entry.js} +1 -1
  402. package/lib/duet/{p-7f692a32.system.entry.js → p-b4f254d0.system.entry.js} +1 -1
  403. package/lib/duet/{p-6b56757e.system.entry.js → p-b615a5bc.system.entry.js} +1 -1
  404. package/lib/duet/{p-178ed588.entry.js → p-b88cfab2.entry.js} +1 -1
  405. package/lib/duet/{p-1202510c.system.entry.js → p-bac88197.system.entry.js} +1 -1
  406. package/lib/duet/p-bbe2a0ae.entry.js +4 -0
  407. package/lib/duet/{p-7f3874bd.system.entry.js → p-bc4a6658.system.entry.js} +1 -1
  408. package/lib/duet/p-be927548.entry.js +4 -0
  409. package/lib/duet/{p-75b7a5cc.entry.js → p-bf4eded9.entry.js} +1 -1
  410. package/lib/duet/{p-9328bd91.entry.js → p-c186edee.entry.js} +1 -1
  411. package/lib/duet/{p-824ffa69.entry.js → p-c1aef4c1.entry.js} +1 -1
  412. package/lib/duet/{p-dce0a876.system.entry.js → p-c3c28253.system.entry.js} +1 -1
  413. package/lib/duet/{p-7b0383ef.entry.js → p-c5569ea7.entry.js} +1 -1
  414. package/lib/duet/{p-50b5b0de.system.entry.js → p-c5eab3d1.system.entry.js} +1 -1
  415. package/lib/duet/{p-7e82df08.system.entry.js → p-c67cef3e.system.entry.js} +1 -1
  416. package/lib/duet/{p-94971206.entry.js → p-c749e5cf.entry.js} +1 -1
  417. package/lib/duet/{p-33ce8509.entry.js → p-cada8548.entry.js} +1 -1
  418. package/lib/duet/{p-408e106d.system.entry.js → p-ceae567f.system.entry.js} +1 -1
  419. package/lib/duet/{p-b7a1d923.entry.js → p-cf4793f9.entry.js} +1 -1
  420. package/lib/duet/{p-31add5c9.system.entry.js → p-cf650da5.system.entry.js} +1 -1
  421. package/lib/duet/{p-2f762fb3.system.entry.js → p-d0cb32d7.system.entry.js} +1 -1
  422. package/lib/duet/{p-44b751db.system.entry.js → p-d0f846bd.system.entry.js} +1 -1
  423. package/lib/duet/{p-8cf2df1e.entry.js → p-d1051867.entry.js} +1 -1
  424. package/lib/duet/{p-bc3cc227.system.entry.js → p-d2ade445.system.entry.js} +1 -1
  425. package/lib/duet/{p-1acab3d9.system.entry.js → p-d686f11e.system.entry.js} +1 -1
  426. package/lib/duet/{p-6016389e.system.entry.js → p-d78e14b4.system.entry.js} +1 -1
  427. package/lib/duet/{p-996702da.system.js → p-d7a5818b.system.js} +1 -1
  428. package/lib/duet/{p-48ad73dd.entry.js → p-d86b96a1.entry.js} +1 -1
  429. package/lib/duet/{p-406b8c7b.system.entry.js → p-d91587f2.system.entry.js} +1 -1
  430. package/lib/duet/{p-8dd2d2eb.system.entry.js → p-d9fea76b.system.entry.js} +1 -1
  431. package/lib/duet/{p-5e0efc8d.system.entry.js → p-dc17c1fa.system.entry.js} +1 -1
  432. package/lib/duet/{p-c9c6b3cb.entry.js → p-ddb3e2f0.entry.js} +1 -1
  433. package/lib/duet/{p-09124c74.system.entry.js → p-df697654.system.entry.js} +1 -1
  434. package/lib/duet/{p-520c2a43.system.entry.js → p-e1d6bcba.system.entry.js} +1 -1
  435. package/lib/duet/{p-ee604f8c.entry.js → p-e20e7369.entry.js} +1 -1
  436. package/lib/duet/{p-52746bee.entry.js → p-e8ed3b2c.entry.js} +1 -1
  437. package/lib/duet/{p-ad842721.system.entry.js → p-e921a1eb.system.entry.js} +1 -1
  438. package/lib/duet/{p-27183888.system.entry.js → p-eca10f42.system.entry.js} +1 -1
  439. package/lib/duet/{p-afd2b7f1.entry.js → p-ed59b930.entry.js} +1 -1
  440. package/lib/duet/{p-8eeb708e.entry.js → p-ed911961.entry.js} +1 -1
  441. package/lib/duet/{p-85e58a63.system.entry.js → p-ee88a8b9.system.entry.js} +1 -1
  442. package/lib/duet/{p-040e28f6.entry.js → p-eefa0600.entry.js} +1 -1
  443. package/lib/duet/{p-59c57b3f.system.entry.js → p-ef8e5787.system.entry.js} +1 -1
  444. package/lib/duet/p-efb3fbfb.entry.js +4 -0
  445. package/lib/duet/{p-4c45eaf2.system.entry.js → p-f0db7b26.system.entry.js} +1 -1
  446. package/lib/duet/{p-9acdb7c6.system.entry.js → p-f49933c4.system.entry.js} +1 -1
  447. package/lib/duet/{p-a7b80def.entry.js → p-f5f16754.entry.js} +1 -1
  448. package/lib/duet/{p-6c169c2b.system.entry.js → p-f6b0687d.system.entry.js} +1 -1
  449. package/lib/duet/{p-88f4f75a.entry.js → p-f6e4a8b3.entry.js} +1 -1
  450. package/lib/duet/{p-7a99b81e.system.entry.js → p-f96830f9.system.entry.js} +1 -1
  451. package/lib/duet/{p-3c99eda8.entry.js → p-fc571558.entry.js} +1 -1
  452. package/lib/duet/{p-b454e119.entry.js → p-fe58eed0.entry.js} +1 -1
  453. package/lib/esm/duet-action-button.entry.js +1 -1
  454. package/lib/esm/duet-alert.entry.js +1 -1
  455. package/lib/esm/duet-badge.entry.js +1 -1
  456. package/lib/esm/duet-banner.entry.js +1 -1
  457. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  458. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  459. package/lib/esm/duet-button_2.entry.js +1 -1
  460. package/lib/esm/duet-callout.entry.js +1 -1
  461. package/lib/esm/duet-caption_4.entry.js +1 -1
  462. package/lib/esm/duet-card.entry.js +1 -1
  463. package/lib/esm/duet-checkbox.entry.js +1 -1
  464. package/lib/esm/duet-checkmark.entry.js +1 -1
  465. package/lib/esm/duet-chip.entry.js +32 -3
  466. package/lib/esm/duet-choice_2.entry.js +1 -1
  467. package/lib/esm/duet-collapsible.entry.js +1 -1
  468. package/lib/esm/duet-combobox.entry.js +1 -1
  469. package/lib/esm/duet-contact-card.entry.js +1 -1
  470. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  471. package/lib/esm/duet-date-picker.entry.js +2 -2
  472. package/lib/esm/duet-divider_2.entry.js +1 -1
  473. package/lib/esm/duet-editable-table_3.entry.js +1 -1
  474. package/lib/esm/duet-empty-state.entry.js +1 -1
  475. package/lib/esm/duet-fieldset.entry.js +1 -1
  476. package/lib/esm/duet-file-chooser.entry.js +1 -1
  477. package/lib/esm/duet-footer.entry.js +1 -1
  478. package/lib/esm/duet-grid_2.entry.js +1 -1
  479. package/lib/esm/duet-header_2.entry.js +1 -1
  480. package/lib/esm/duet-hero.entry.js +1 -1
  481. package/lib/esm/duet-icon.entry.js +1 -1
  482. package/lib/esm/duet-input_2.entry.js +2 -2
  483. package/lib/esm/duet-layout.entry.js +1 -1
  484. package/lib/esm/duet-list_2.entry.js +1 -1
  485. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  486. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  487. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  488. package/lib/esm/duet-menu-bar-item.entry.js +1 -1
  489. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  490. package/lib/esm/duet-menu-bar.entry.js +1 -1
  491. package/lib/esm/duet-modal.entry.js +2 -2
  492. package/lib/esm/duet-multiselect.entry.js +3 -6
  493. package/lib/esm/duet-nav.entry.js +1 -1
  494. package/lib/esm/duet-notification_2.entry.js +1 -1
  495. package/lib/esm/duet-number-input.entry.js +1 -1
  496. package/lib/esm/duet-overlay.entry.js +1 -1
  497. package/lib/esm/duet-page-heading.entry.js +1 -1
  498. package/lib/esm/duet-pagination_2.entry.js +1 -1
  499. package/lib/esm/duet-popup-menu-item.entry.js +1 -1
  500. package/lib/esm/duet-popup-menu.entry.js +2 -2
  501. package/lib/esm/duet-progress.entry.js +1 -1
  502. package/lib/esm/duet-promo-card.entry.js +1 -1
  503. package/lib/esm/duet-radio_2.entry.js +1 -1
  504. package/lib/esm/duet-range-slider.entry.js +1 -1
  505. package/lib/esm/duet-scrollable_3.entry.js +32 -17
  506. package/lib/esm/duet-section-layout.entry.js +1 -1
  507. package/lib/esm/duet-select.entry.js +1 -1
  508. package/lib/esm/duet-shaped-image.entry.js +1 -1
  509. package/lib/esm/duet-show-more.entry.js +1 -1
  510. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  511. package/lib/esm/duet-slideout-link.entry.js +1 -1
  512. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  513. package/lib/esm/duet-slideout-panel.entry.js +2 -2
  514. package/lib/esm/duet-slideout.entry.js +2 -2
  515. package/lib/esm/duet-step_2.entry.js +1 -1
  516. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  517. package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
  518. package/lib/esm/duet-submenu-bar-item.entry.js +1 -1
  519. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  520. package/lib/esm/duet-submenu-bar.entry.js +1 -1
  521. package/lib/esm/duet-textarea.entry.js +1 -1
  522. package/lib/esm/duet-toggle.entry.js +1 -1
  523. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  524. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  525. package/lib/esm/duet-toolbar-item.entry.js +1 -1
  526. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  527. package/lib/esm/duet-toolbar.entry.js +1 -1
  528. package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
  529. package/lib/esm/duet-tooltip.entry.js +1 -1
  530. package/lib/esm/duet-tray.entry.js +1 -1
  531. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  532. package/lib/esm/duet-upload-item.entry.js +1 -1
  533. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  534. package/lib/esm/duet.js +3 -3
  535. package/lib/esm/{focus-utils-707070f5.js → focus-utils-8cc7f99f.js} +1 -1
  536. package/lib/esm/{index-b7e7a6a1.js → index-466d4709.js} +1 -1
  537. package/lib/esm/loader.js +3 -3
  538. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  539. package/lib/esm-es5/duet-alert.entry.js +1 -1
  540. package/lib/esm-es5/duet-badge.entry.js +1 -1
  541. package/lib/esm-es5/duet-banner.entry.js +1 -1
  542. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  543. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  544. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  545. package/lib/esm-es5/duet-callout.entry.js +1 -1
  546. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  547. package/lib/esm-es5/duet-card.entry.js +1 -1
  548. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  549. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  550. package/lib/esm-es5/duet-chip.entry.js +2 -2
  551. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  552. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  553. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  554. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  555. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  556. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  557. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  558. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  559. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  560. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  561. package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
  562. package/lib/esm-es5/duet-footer.entry.js +1 -1
  563. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  564. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  565. package/lib/esm-es5/duet-hero.entry.js +1 -1
  566. package/lib/esm-es5/duet-icon.entry.js +1 -1
  567. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  568. package/lib/esm-es5/duet-layout.entry.js +1 -1
  569. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  570. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  571. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  572. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  573. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  574. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  575. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  576. package/lib/esm-es5/duet-modal.entry.js +1 -1
  577. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  578. package/lib/esm-es5/duet-nav.entry.js +1 -1
  579. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  580. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  581. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  582. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  583. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  584. package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
  585. package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
  586. package/lib/esm-es5/duet-progress.entry.js +1 -1
  587. package/lib/esm-es5/duet-promo-card.entry.js +1 -1
  588. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  589. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  590. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  591. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  592. package/lib/esm-es5/duet-select.entry.js +1 -1
  593. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  594. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  595. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  596. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  597. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  598. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  599. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  600. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  601. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  602. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  603. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  604. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  605. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  606. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  607. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  608. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  609. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  610. package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
  611. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  612. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  613. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  614. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  615. package/lib/esm-es5/duet-tray.entry.js +1 -1
  616. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  617. package/lib/esm-es5/duet-upload-item.entry.js +1 -1
  618. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  619. package/lib/esm-es5/duet.js +1 -1
  620. package/lib/esm-es5/focus-utils-8cc7f99f.js +4 -0
  621. package/lib/esm-es5/{index-b7e7a6a1.js → index-466d4709.js} +1 -1
  622. package/lib/esm-es5/loader.js +1 -1
  623. package/lib/types/components/duet-chip/duet-chip.d.ts +2 -0
  624. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +1 -1
  625. package/lib/types/components/duet-tab/duet-tab.d.ts +5 -0
  626. package/lib/types/components.d.ts +8 -0
  627. package/package.json +5 -5
  628. package/lib/duet/p-0e1ef69e.entry.js +0 -4
  629. package/lib/duet/p-3add1161.js +0 -4
  630. package/lib/duet/p-6fee4508.entry.js +0 -4
  631. package/lib/duet/p-7d0e5e04.entry.js +0 -4
  632. package/lib/duet/p-a479570d.entry.js +0 -4
  633. package/lib/duet/p-adc701d3.system.entry.js +0 -4
  634. package/lib/duet/p-bc60fa58.entry.js +0 -4
  635. package/lib/esm-es5/focus-utils-707070f5.js +0 -4
@@ -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 n,g as u}from"./p-e2d05479.js";import{f as s}from"./p-d004da5f.js";import{i as a}from"./p-a58bd561.js";import{c as o}from"./p-5e59e970.js";import{c as r,r as d}from"./p-df7874f9.js";import{f as p,j as l}from"./p-a1b7f2a0.js";import{a as c,c as h,d as b}from"./p-2e36d5bf.js";import{c as m}from"./p-06e608ae.js";import{g as v}from"./p-1784b1d2.js";import"./p-0e052642.js";import"./p-4a901bfc.js";const g={search:s,email:{title:"form-email",tags:"form email",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 23.999c-3.205 0-6.218-1.248-8.484-3.514S.001 15.206.001 12.001s1.248-6.218 3.514-8.485C5.782 1.25 8.795.001 12 .001s6.218 1.248 8.485 3.514A11.92 11.92 0 0 1 24 12v2.25A3.754 3.754 0 0 1 20.25 18a3.77 3.77 0 0 1-3.48-2.365A6.009 6.009 0 0 1 12 18c-3.308 0-6-2.692-6-6s2.692-6 6-6 6 2.692 6 6v2.25c0 1.241 1.009 2.25 2.25 2.25s2.25-1.009 2.25-2.25V12c0-2.804-1.092-5.441-3.075-7.424A10.433 10.433 0 0 0 12 1.501c-2.804 0-5.441 1.092-7.424 3.075S1.501 9.196 1.501 12c0 2.805 1.092 5.441 3.075 7.424s4.619 3.074 7.423 3.074c2.257 0 4.494-.746 6.299-2.1a.749.749 0 1 1 .9 1.199A12.049 12.049 0 0 1 12 23.999zM12 7.5c-2.481 0-4.5 2.019-4.5 4.5s2.019 4.5 4.5 4.5 4.5-2.019 4.5-4.5-2.019-4.5-4.5-4.5z"/></svg>'}},x=class{constructor(e){t(this,e),this.duetInput=i(this,"duetInput",7),this.duetChange=i(this,"duetChange",3),this.duetBlur=i(this,"duetBlur",7),this.duetClear=i(this,"duetClear",7),this.duetFocus=i(this,"duetFocus",7),this.inputId=o("DuetInput"),this.clearId=o("DuetInputClear"),this.labelId=o("DuetLabel"),this.topCaptionId=o("DuetCaptionTop"),this.topCaptionPlaceholderId=o("DuetCaptionPlaceholderTop"),this.errorId=o("DuetError"),this.disallowPatternRegex=null,this.clearLabel={en:"Clear",fi:"Tyhjennä",sv:"Rensa"},this.timeAnnouncement={en:"Time",fi:"Aika",sv:"Tid"},this.showPasswordLabel={en:"Show password",fi:"Näytä salasana",sv:"Visa lösenord"},this.hidePasswordLabel={en:"Hide password",fi:"Piilota salasana",sv:"Dölj lösenord"},this.passwordShownAriaAnnouncement={en:"Password is shown",fi:"Salasana näytetään",sv:"Lösenordet visas"},this.passwordHiddenAriaAnnouncement={en:"Password is hidden",fi:"Salasana on piilotettu",sv:"Lösenordet är dolt"},this.onInput=t=>{this.disallowPatternRegex&&r(this.nativeInput,this.disallowPatternRegex),this.value=this.nativeInput.value||"",this.duetInput.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onBlur=t=>{t.relatedTarget!==this.nativeInput&&t.relatedTarget!==this.togglePasswordRevealedButton&&("revealable"===this.variation&&this.isPasswordRevealed&&(this.isPasswordRevealed=!1),this.isFocused=!1,this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-input"}))},this.onFocus=t=>{this.isFocused=!0,this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.onClear=t=>{this.duetClear.emit({originalEvent:t,value:this.value,component:"duet-input"})},this.getDescribedBy=()=>{const t=[];return this.isCaptionVisible&&this.topCaptionId&&t.push(this.topCaptionId),this.accessibleDescribedBy&&t.push(this.accessibleDescribedBy),this.error&&t.push(this.errorId),t.length>0?t.join(" "):null},this.handleClearClick=t=>{const i=this.clearInput();return this.onClear(t),i},this.keyHandler=t=>(p(t)&&this.clear&&this.handleClearClick(t),l(t)&&"revealable"===this.variation&&(t.target===this.togglePasswordRevealedButton?t.stopPropagation():this.isPasswordRevealed=!1),t),this.togglePasswordRevealed=()=>{this.isPasswordRevealed=!this.isPasswordRevealed},this.getInputType=()=>"revealable"===this.variation?this.isPasswordRevealed?"text":"password":this.type,this.language=c(),this.isPasswordRevealed=void 0,this.isFocused=!1,this.accessibleActiveDescendant=void 0,this.accessibleAutocomplete=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleExpanded=void 0,this.accessibleDescribedBy="",this.accessibleHasPopup=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLiveError="polite",this.debounce=0,this.clear=!1,this.caption=void 0,this.echoPlaceholder=!1,this.theme="",this.expand=!1,this.disabled=!1,this.identifier=void 0,this.margin="auto",this.required=!1,this.type="text",this.variation="default",this.chips=!1,this.label="Label",this.labelColor=void 0,this.labelWeight=void 0,this.error="",this.labelHidden=!1,this.numericKeyboard=!1,this.name=void 0,this.pattern=void 0,this.maxlength=void 0,this.minlength=void 0,this.placeholder=void 0,this.component="input",this.role=void 0,this.icon=void 0,this.autoComplete="on",this.disallowPattern=null,this.value=void 0,this.tooltip="",this.tooltipDirection="auto"}disallowedPatternChange(){this.disallowPatternRegex=this.disallowPattern?new RegExp(this.disallowPattern,"gu"):null}valueChanged(){var t;if((null===(t=null==this?void 0:this.nativeInput)||void 0===t?void 0:t.value)!==this.value){const t=d(this.nativeInput);this.nativeInput.value=this.value,t()}this.isCaptionVisible=!!this.caption;const i=()=>this.duetChange.emit({value:this.value,component:"duet-input"});0===this.debounce?i():(clearTimeout(this.timeoutId),this.timeoutId=setTimeout(i,this.debounce))}componentWillLoad(){a(this),this.disallowedPatternChange(),this.isCaptionVisible=!!this.caption,m(this.element,"tooltip","duet-tooltip",1,!0)}componentDidLoad(){"revealable"===this.variation&&this.nativeInput.form&&this.nativeInput.form.addEventListener("submit",(()=>{this.isPasswordRevealed=!1}))}connectedCallback(){h(this)}disconnectedCallback(){b(this)}async setFocus(t){this.nativeInput&&this.nativeInput.focus(t)}async resetCursor(){if(this.nativeInput){const t=d(this.nativeInput);this.nativeInput.value=this.value,t()}}async clearInput(){this.nativeInput&&(this.nativeInput.value="",this.nativeInput.focus(),this.value="")}getAllChips(){return Array.from(this.element.querySelectorAll(".duet-input-relative duet-chip"))}async addChip(t){const i=this.element.querySelector(".duet-input-relative"),e=i.querySelector("input");i.insertBefore(t,e)}async hasChip({value:t,text:i}){return this.getAllChips().some((e=>e.value===t&&e.textContent===i))}async getChips(){return this.getAllChips()}async clearChips(){this.getAllChips().forEach((t=>t.remove()))}render(){const t=this.identifier||this.inputId,i={};let u;if(this.numericKeyboard&&(i.inputmode="numeric"),this.pattern&&"tel"!==this.type?i.pattern=this.pattern:this.pattern||"tel"!==this.type||(i.pattern="[0-9+ ]+"),this.value){u=new Date;try{u.setHours(Number(this.value.slice(0,2)),Number(this.value.slice(3,5)),0,0)}catch(t){u=void 0}}const s=!this.icon&&"text"!==this.type&&"tel"!==this.type&&"password"!==this.type&&"time"!==this.type&&"button"!==this.variation;return e(n,{class:{"duet-expand":this.expand,"duet-m-0":"none"===this.margin},onKeyUp:t=>this.keyHandler(t)},"time"===this.type&&e("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true"},u?`${this.timeAnnouncement[this.language]} ${u.toLocaleTimeString()}`:""),e("div",{class:{"duet-input-container":!0,"duet-theme-turva":"turva"===this.theme,[`duet-input-variation-${this.variation}`]:!0,"duet-label-hidden":this.labelHidden,"duet-input-top-caption-shown":this.isCaptionVisible,"has-icon":"button"!==this.variation&&(!!this.icon||"text"!==this.type&&"tel"!==this.type&&"password"!==this.type&&"time"!==this.type),"has-error":!!this.error,"has-chips":this.chips,"has-clear":this.clear,"has-focus":this.isFocused,disabled:this.disabled}},e("div",{class:"duet-input-label-container"},e("duet-label",{theme:"turva"===this.theme?"turva":"default",margin:this.isCaptionVisible?"small":"auto",color:this.labelColor,weight:this.labelWeight,id:this.labelId,for:t},this.label),this.tooltip&&e("duet-tooltip",{class:"duet-input-tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label,theme:"turva"===this.theme?"turva":"default"},this.tooltip),e("slot",{name:"tooltip"})),this.caption&&e("duet-caption",{id:this.topCaptionId,size:"medium"},this.caption),e("div",{class:"duet-input-relative"},this.placeholder&&this.echoPlaceholder&&(this.value||"time"===this.type)&&e("duet-caption",{id:this.topCaptionPlaceholderId,class:"duet-input-placeholder",margin:"none",size:"small"},this.placeholder),e("input",Object.assign({ref:t=>this.nativeInput=t,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,type:this.getInputType(),class:{"duet-input":!0,disabled:this.disabled,"is-number":"number"===this.component,"is-date":"date"===this.component,"after-chip":this.getAllChips().length>0},value:this.value,disabled:this.disabled,"aria-invalid":this.error?"true":"false","aria-labelledby":this.accessibleLabelledBy?`${this.labelId} ${this.accessibleLabelledBy}`:this.labelId,"aria-controls":this.accessibleControls,"aria-autocomplete":this.accessibleAutocomplete,"aria-activedescendant":this.accessibleActiveDescendant,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-expanded":this.accessibleExpanded,"aria-haspopup":this.accessibleHasPopup,"aria-owns":this.accessibleOwns,"aria-describedby":this.getDescribedBy(),placeholder:this.placeholder,spellcheck:"false",minlength:this.minlength,maxlength:this.maxlength,autocomplete:"password"===this.type?"off":this.autoComplete,required:this.required,role:this.role,name:this.name,id:t},i)),!this.value&&s&&e("div",{class:"duet-input-icon"},e("duet-icon",{margin:"none",size:"small",icon:g[this.type].svg,color:"currentColor"})),this.clear&&this.value&&e("div",{class:{"duet-input-clear-icon":!0,"duet-input-clear-icon-single":!s,"duet-input-clear-icon-double":!!this.icon,"duet-input-clear-icon-button":"button"===this.variation}},e("button",{onClick:this.handleClearClick,id:this.clearId,"aria-label":this.clearLabel[this.language],"aria-keyshortcuts":"Escape"},e("duet-icon",{margin:"none",size:"medium",name:"action-clear-input",color:"currentColor"}))),this.icon&&"button"!==this.variation&&e("div",{class:"duet-input-icon"},e("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),"button"===this.variation&&e("slot",{name:"button"}),"revealable"===this.variation&&e("duet-button",{ref:t=>this.togglePasswordRevealedButton=t,onBlur:this.onBlur,onFocus:this.onFocus,onClick:this.togglePasswordRevealed,icon:this.isPasswordRevealed?"action-hide":"action-show",accessibleLabel:this.isPasswordRevealed?this.hidePasswordLabel[this.language]:this.showPasswordLabel[this.language],margin:"none",variation:"input-button-embedded",fixed:!0,iconOnly:!0}),"revealable"===this.variation&&void 0!==this.isPasswordRevealed&&e("duet-visually-hidden",null,e("span",{"aria-live":"polite"},this.isPasswordRevealed?this.passwordShownAriaAnnouncement[this.language]:this.passwordHiddenAriaAnnouncement[this.language])),e("slot",null)),e("span",{class:"duet-input-help",id:this.errorId,"aria-atomic":"true","aria-live":this.accessibleLiveError,"aria-relevant":"additions removals"},this.error&&e("span",{class:"duet-input-error"},this.error))))}get element(){return u(this)}static get watchers(){return{disallowPattern:["disallowedPatternChange"],value:["valueChanged"]}}};x.style='*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(0, 41, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 77, 128)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus,.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:rgb(0, 41, 77)}.duet-input-label-container.sc-duet-input{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container.sc-duet-input{justify-content:flex-start}}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;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 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(0, 41, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(144, 149, 153) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.duet-input.after-chip.sc-duet-input{padding-left:8px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(222, 35, 98) !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(224, 42, 13) !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{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) !important;border-color:rgb(116, 116, 117) !important}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(101, 119, 135);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(207, 207, 209)}.duet-input.sc-duet-input::-moz-placeholder{color:rgb(101, 119, 135);opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(207, 207, 209)}.duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(116, 116, 117)}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(207, 207, 209)}.duet-input[disabled].sc-duet-input{color:rgb(0, 41, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(0, 119, 179)}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help.sc-duet-input{display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{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(116, 116, 117)}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(222, 35, 98)}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(224, 42, 13)}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(116, 116, 117)}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230);box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(222, 35, 98)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(224, 42, 13)}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(116, 116, 117)}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{flex-basis:4rem;flex-grow:1;border-width:0 !important}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}';const f=class{constructor(i){t(this,i),this.theme="",this.for=void 0,this.margin="auto",this.size="medium",this.weight="semi-bold",this.color=""}componentWillLoad(){a(this)}render(){const t=v(this.color);return e(n,{class:{"duet-label":!0,"duet-label-small":"small"===this.size,"duet-theme-turva":"turva"===this.theme,"duet-small-margin":"small"===this.margin,"duet-m-0":"none"===this.margin,[`duet-weight-${this.weight}`]:!0}},e("label",{htmlFor:this.for,style:{color:t}},e("span",null,e("slot",null))))}get element(){return u(this)}};f.style='*.sc-duet-label,*.sc-duet-label::after,*.sc-duet-label::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-label-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;line-height:1.25;cursor:default}.duet-p-0.sc-duet-label-h{padding:0 !important}.duet-m-0.sc-duet-label-h{margin:0 !important}.duet-m-0.sc-duet-label-h{margin-bottom:0 !important}.duet-small-margin.sc-duet-label-h{margin-top:8px !important;margin-bottom:4px !important}.duet-has-tooltip.sc-duet-label-h{padding-right:48px}@media (min-width: 48em){.duet-has-tooltip.sc-duet-label-h{padding-right:0}}label.sc-duet-label{margin:0;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600 !important;line-height:1.25;color:rgb(0, 41, 77);text-align:left;word-break:break-word}label.sc-duet-label span.sc-duet-label{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-label-small.sc-duet-label-h label.sc-duet-label{font-size:0.875rem}.duet-label-small.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-size:0.875rem}.duet-weight-normal.sc-duet-label-h label.sc-duet-label{font-weight:400 !important}.duet-weight-normal.sc-duet-label-h label.sc-duet-label span.sc-duet-label{font-weight:400 !important}.duet-theme-turva.sc-duet-label-h label.sc-duet-label{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)}';export{x as duet_input,f as duet_label}
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function o(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,a){function r(t){try{u(n.next(t))}catch(t){a(t)}}function s(t){try{u(n["throw"](t))}catch(t){a(t)}}function u(t){t.done?i(t.value):o(t.value).then(r,s)}u((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,o,a,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return u([t,e])}}function u(s){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(i=0)),i)try{if(n=1,o&&(a=s[0]&2?o["return"]:s[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,s[1])).done)return a;if(o=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;o=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(s[0]===6&&i.label<a[1]){i.label=a[1];a=s;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(s);break}if(a[2])i.ops.pop();i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t];o=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
- /*!
3
- * Built with Duet Design System
4
- */System.register(["./p-5ffaa443.system.js","./p-50f4bca2.system.js","./p-ae21ad57.system.js","./p-34d7dd10.system.js","./p-224f6c46.system.js","./p-c1445714.system.js","./p-e6b5a1c7.system.js","./p-6ef75455.system.js","./p-c86d6786.system.js"],(function(t){"use strict";var e,i,n,o,a,r,s,u,d,c,l,b,h,p,f,g,m,v,k,x,w,y;return{setters:[function(t){e=t.r;i=t.h;n=t.H;o=t.g;a=t.c},function(t){r=t.i},function(t){s=t.h;u=t.g},function(t){d=t.s;c=t.u;l=t.o;b=t.p;h=t.d;p=t.b;f=t.a;g=t.c},function(t){m=t.g;v=t.c;k=t.d;x=t.a},function(t){w=t.d},function(t){y=t.c},function(){},function(){}],execute:function(){var _="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{display:flex}:host .duet-scrollable-items .duet-scrollable-button{position:relative;flex:0 0 auto;flex-basis:40px;padding:10px;cursor:pointer;transition:all 300ms ease}:host .duet-scrollable-items .duet-scrollable-button:active{transform:scale(0.8)}:host .duet-scrollable-items .duet-scrollable-button--left{left:-12px}:host .duet-scrollable-items .duet-scrollable-button--right{right:-12px}:host .duet-scrollable-items .duet-scrollable-button--top{align-self:flex-start}:host .duet-scrollable-items .duet-scrollable-button--bottom{align-self:flex-end}:host .duet-scrollable-items .duet-scrollable-button--occluded{flex-basis:0;flex-shrink:1;width:0;padding:10px 0;overflow:hidden;visibility:hidden}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;gap:20px;padding-top:2px;padding-right:5px;padding-left:5px;margin:0 -5px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items.center{justify-content:center}:host .duet-scrollable-items.center .duet-scrollable-list.collapsed{justify-content:center}.collapse{width:100%;text-align:center}.collapse.hide{visibility:hidden}::slotted(*){flex-shrink:0;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;scroll-snap-align:center}";var j=t("duet_scrollable",function(){function t(t){var i=this;e(this,t);this.currentIndex=0;this.scrollPaneElement=undefined;this.hasCollapseButtonLabelSlot=false;this.resizeObserver=new ResizeObserver((function(t){var e,n,o,a;if((t===null||t===void 0?void 0:t.length)===1){var r=(n=(e=t[0])===null||e===void 0?void 0:e.target)===null||n===void 0?void 0:n.getBoundingClientRect().width;var s=(a=(o=t[0])===null||o===void 0?void 0:o.target)===null||a===void 0?void 0:a.scrollWidth;i.isScrollPaneContentSmallerThanWrapper=s>r+5}}));this.collapsedOnClick=function(){i.collapsed=!i.collapsed};this.scrollPaneAtStart=true;this.isScrollPaneContentSmallerThanWrapper=true;this.scrollPaneAtEnd=false;this.childrenData={};this.theme="";this.identifier="";this.collapsed=false;this.buttons=true;this.buttonAlignment="center";this.center=false;this.selected=0}t.prototype.watchPropHandler=function(t){this.scrollToElement(t,"center")};t.prototype.componentWillLoad=function(){r(this);this.hasCollapseButtonLabelSlot=s(this.element,"collapse-button-label")};t.prototype.componentDidLoad=function(){this.resizeObserver.observe(this.scrollPaneElement)};t.prototype.disconnectedCallback=function(){this.resizeObserver.disconnect()};t.prototype.getScrollPaneElemnets=function(){return u(this.element)};t.prototype.getLastVisibleElement=function(){var t=this.scrollPaneElement.clientWidth;var e=this.getScrollPaneElemnets().findIndex((function(e){return e.getBoundingClientRect().x>t}));return e};t.prototype.getFirstVisibleElement=function(){var t=this.getScrollPaneElemnets().map((function(t){return t.getBoundingClientRect().x-t.getBoundingClientRect().width}));var e=t.findIndex((function(t){return t>0}));return e};t.prototype.updateScrollButtons=function(t){if(t===void 0){t=this.scrollPaneElement}if(!this.buttons){return}if(t.scrollLeft<=0){this.scrollPaneAtStart=true}else if(t.scrollLeft>0){this.scrollPaneAtStart=false}if(t.clientWidth+t.scrollLeft+10>=t.scrollWidth){this.scrollPaneAtEnd=true}else if(t.clientWidth+t.scrollLeft+10<t.scrollWidth){this.scrollPaneAtEnd=false}};t.prototype.scrollToElement=function(t,e){var i=this;if(t===void 0){t=this.currentIndex}var n=this.getScrollPaneElemnets();if(!n||n.length===0){return}if(t+1>=n.length){t=n.length-1}if(t<0){t=0}var o=n[0].getBoundingClientRect().x;var a=5;var r=function(){if(n[0].getBoundingClientRect().x===o){a--;if(a!==0){window.requestAnimationFrame(r);return}i.updateScrollButtons()}else{window.requestAnimationFrame(r);o=n[0].getBoundingClientRect().x}};n[t].scrollIntoView({behavior:"smooth",block:"nearest",inline:e});window.requestAnimationFrame(r)};t.prototype.scrollLeft=function(){this.scrollPaneAtEnd=false;var t=this.getFirstVisibleElement()-1;this.scrollToElement(t,"center")};t.prototype.scrollRight=function(){this.scrollPaneAtStart=false;var t=this.getLastVisibleElement()+1;this.scrollToElement(t,"center")};t.prototype.render=function(){var t,e;var o=this;return i(n,{class:{"duet-theme-turva":this.theme==="turva","duet-theme-default":this.theme==="default"}},this.hasCollapseButtonLabelSlot&&i("div",{class:{collapse:true,hide:!this.isScrollPaneContentSmallerThanWrapper&&!this.collapsed}},i("duet-button",{variation:"plain",margin:"none","center-text":true,onClick:function(){return o.collapsedOnClick()}},i("slot",{name:"collapse-button-label"}))),i("div",{class:{"duet-scrollable-items":true,buttons:this.buttons,center:this.center}},i("button",{part:"".concat(this.identifier,"-button-left"),"aria-hidden":"true",class:(t={"duet-scrollable-button":true},t["duet-scrollable-button--".concat(this.buttonAlignment)]=true,t["duet-scrollable-button--left"]=true,t["duet-scrollable-button--occluded"]=!this.isScrollPaneContentSmallerThanWrapper,t),onClick:function(){return o.scrollLeft()},disabled:this.scrollPaneAtStart,tabindex:"-1",hidden:!this.buttons},i("duet-icon",{name:"action-arrow-left-small",size:"small",margin:"none"})),i("div",{class:{"duet-scrollable-list":true,collapsed:this.collapsed},onScroll:function(){return o.updateScrollButtons()},ref:function(t){return o.scrollPaneElement=t}},i("slot",null)),i("button",{part:"".concat(this.identifier,"-button-right"),"aria-hidden":"true",class:(e={"duet-scrollable-button":true},e["duet-scrollable-button--".concat(this.buttonAlignment)]=true,e["duet-scrollable-button--right"]=true,e["duet-scrollable-button--occluded"]=!this.isScrollPaneContentSmallerThanWrapper,e),onClick:function(){return o.scrollRight()},disabled:this.scrollPaneAtEnd,tabindex:"-1",hidden:!this.buttons},i("duet-icon",{name:"action-arrow-right-small",size:"small",margin:"none"}))))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:["watchPropHandler"]}},enumerable:false,configurable:true});return t}());j.style=_;var S=".sc-duet-tab-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-tab.sc-duet-tab{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:none;width:100%}.duet-tab.selected.sc-duet-tab{display:block}.duet-tab.has-content-id.sc-duet-tab,.duet-tab.has-content-id.selected.sc-duet-tab{display:none}.user-is-tabbing.sc-duet-tab-h .duet-tab.sc-duet-tab:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-tab-h .duet-tab.duet-theme-turva.sc-duet-tab:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";var z=t("duet_tab",function(){function t(t){var i=this;e(this,t);this.setupContentElement=function(){if(i.contentId){i.tabpanelElement=document.getElementById(i.contentId);if(i.tabpanelElement){i.tabpanelElement.setAttribute("role","tabpanel");i.tabpanelElement.setAttribute("tabindex","-1");i.tabpanelElement.removeEventListener("focus",i.tabpanelElementFocusListener);i.tabpanelElement.removeEventListener("blur",i.tabpanelElementBlurListener);i.tabpanelElement.addEventListener("focus",i.tabpanelElementFocusListener);i.tabpanelElement.addEventListener("blur",i.tabpanelElementBlurListener);if(i.accessibleDescription){i.tabpanelElement.setAttribute("aria-description",i.accessibleDescription)}if(i.accessibleLabelledBy){i.tabpanelElement.setAttribute("aria-labelledby",i.accessibleLabelledBy)}if(i.selected){i.tabpanelElement.toggleAttribute("hidden",false)}else{i.tabpanelElement.toggleAttribute("hidden",true)}}}};this.tabpanelElementFocusListener=function(){if(i.element.classList.contains("user-is-tabbing")){i.tabpanelElement.style.outline="0";i.tabpanelElement.style.boxShadow=w(i.theme==="turva"?"focus-turva":"focus")}};this.tabpanelElementBlurListener=function(){i.tabpanelElement.style.outline=null;i.tabpanelElement.style.boxShadow=null};this.theme="";this.label=undefined;this.caption=undefined;this.selected=undefined;this.accessibleDescriptionDefault=null;this.accessibleDescription=this.accessibleDescriptionDefault?m(this.accessibleDescriptionDefault):null;this.accessibleLabelledBy=undefined;this.contentId=undefined}t.prototype.componentWillLoad=function(){r(this)};t.prototype.connectedCallback=function(){v(this,{prop:"accessibleDescription",defaults:"accessibleDescriptionDefault"});d(this);this.setupContentElement()};t.prototype.disconnectedCallback=function(){k(this);c(this);if(this.tabpanelElement){this.tabpanelElement.removeAttribute("role");this.tabpanelElement.removeAttribute("tabindex");this.tabpanelElement.removeAttribute("aria-description");this.tabpanelElement.removeAttribute("aria-labelledby");this.tabpanelElement.removeAttribute("hidden");this.tabpanelElement.removeEventListener("focus",this.tabpanelElementFocusListener.bind(this));this.tabpanelElement.removeEventListener("blur",this.tabpanelElementBlurListener.bind(this));this.tabpanelElement=undefined}};t.prototype.setupSelected=function(t,e){if(!!t===!!e){return}this.setupContentElement()};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.tabpanelElement.focus(t);return[2]}))}))};t.prototype.render=function(){var t=this;return i("div",{ref:function(e){if(!t.contentId){t.tabpanelElement=e}},role:"tabpanel",class:{"duet-theme-turva":this.theme==="turva","duet-tab":true,selected:this.selected,"has-content-id":!!this.contentId},"aria-description":this.accessibleDescription,"aria-labelledby":this.accessibleLabelledBy,tabindex:"-1"},i("slot",null))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:["setupSelected"]}},enumerable:false,configurable:true});return t}());z.style=S;var C='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;display:block;width:100%}.duet-tab-group-tabs{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}.duet-tab-group-tabs.duet-m-0{margin:0 !important}.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden{display:none}@media (min-width: 36em){.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden{display:block}}.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom-color:rgb(228, 228, 230)}.duet-tab-variation-checked .duet-tab-group-tabs{display:flex;gap:4px;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-group-tabs{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}.duet-tab-plain-scrolling .duet-tab-group-tabs{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-plain-scrolling .duet-tab-group-tabs{display:block;overflow:auto}}@media (min-width: 36em){duet-select{display:none !important}}.duet-tab-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:20px;margin-top:-2px;overflow:visible;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-radius:0;transition:150ms ease}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button.duet-m-0{margin:0 !important}.duet-theme-turva .duet-tab-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);border-color:rgb(228, 228, 230)}.duet-tab-button.duet-p-0{padding:0 !important}@media (min-width: 36em){.duet-tab-button{display:inline-block;width:auto;margin-left:-2px;border-right:2px solid rgb(225, 227, 230);border-radius:0}}.duet-tab-button:hover{z-index:200;border-color:rgb(144, 149, 153)}.duet-theme-turva .duet-tab-button:hover{border-color:rgb(116, 116, 117)}.duet-tab-button:active{opacity:0.75;transition:none}.duet-tab-button.selected{z-index:201;color:rgb(255, 255, 255);background:rgb(0, 41, 77);border-color:rgb(0, 41, 77);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(255, 255, 255);background-color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-tab-button:focus{z-index:200;outline:0}:host(.user-is-tabbing) .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-button:first-child{border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.duet-tab-button:first-child{border-top-right-radius:0;border-bottom-left-radius:4px}}.duet-tab-button:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-tab-button:last-child{border-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding-right:0;padding-left:0;margin-left:0;border:0;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(198, 12, 48);border-bottom-color:rgb(198, 12, 48)}.duet-tab-variation-checked .duet-tab-button{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:8px 4px;border-color:rgb(207, 210, 212);border-bottom-color:rgb(0, 119, 179);border-radius:4px 4px 0 0;transition:none}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button{border-color:rgb(207, 210, 212);border-bottom-color:rgb(68, 68, 69)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button{min-width:0;padding:16px}}.duet-tab-variation-checked .duet-tab-button.stackable-tab{min-width:0}.duet-tab-variation-checked .duet-tab-button:first-child{margin-left:auto}.duet-tab-variation-checked .duet-tab-button:last-child{margin-right:auto}.duet-tab-variation-checked .duet-tab-button:active{opacity:1;transition:none}.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(243, 249, 252) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 245, 247) 0%, rgb(255, 255, 255) 100%);border-color:rgb(68, 68, 69);border-bottom-color:#fff}.duet-tab-variation-checked .duet-tab-button .checked-tab-content{display:flex;flex-direction:row;justify-content:space-between}.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:column;height:100%}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:row}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:center}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:left}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{margin-top:4px;font-size:0.875rem;font-weight:400;color:rgb(101, 119, 135)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{font-size:1rem;text-align:left}}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{color:rgb(68, 68, 69)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(68, 68, 69)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:-1;margin-top:8px;margin-bottom:8px}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:1}}.duet-tab-group-content{position:relative;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:left}.duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-tab-group-content:focus,.duet-tab-group-content:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-group-content.checked-group-content{padding:28px 0 28px 0}.duet-tab-group-content.checked-group-content::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:" ";background-color:rgb(0, 119, 179)}.duet-theme-turva .duet-tab-group-content{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-theme-turva .duet-tab-group-content.checked-group-content::after{background-color:rgb(68, 68, 69)}';var I=t("duet_tab_group",function(){function t(t){var n=this;e(this,t);this.duetChange=a(this,"duetChange",3);this.duetTabChange=a(this,"duetTabChange",7);this.duetTabChangeRequested=a(this,"duetTabChangeRequested",7);this.id=y("DuetTabGroup");this.handleKeyDown=function(t){var e;if(h(t)||p(t)){e=t.target.previousElementSibling}else if(f(t)||g(t)){e=t.target.nextElementSibling}if(l(t)&&!b(t)){t.preventDefault();n.element.querySelector("duet-tab[selected]").setFocus()}if(e){t.preventDefault();e.click();e.focus()}};this.onTabSelect=function(t){if(n.tabChangeConfirm){if(t!==n.selected){var e={value:t,component:"duet-tab-group"};n.duetTabChangeRequested.emit(e)}}else{n.openTab(t)}};this.scrollToActive=function(){if(n.variation==="checked"||n.variation==="plain-scrolling"){setTimeout((function(){var t=n.tabsContainer.querySelector(".selected");if(t){t.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})}}),50)}};this.renderTab=function(){var t=n.tabs.map((function(t,e){return i("button",{role:"tab",id:n.getButtonId(e),"aria-selected":t.selected?"true":"false","aria-description":n.getAccessibleDescription(e),tabindex:t.selected?"0":"-1",part:"".concat(n.identifier,"-button ").concat(t.selected?"".concat(n.identifier,"-button--selected"):""),type:"button",class:{"duet-p-0":n.padding==="none","duet-tab-button":true,"stackable-tab":n.variation==="checked"&&n.tabs.length<=3,selected:t.selected},onClick:function(){return n.onTabSelect(e)},onKeyDown:function(t){return n.handleKeyDown(t)}},n.variation==="checked"?i("div",{class:{"checked-tab-content":true,"stackable-checked-tab-content":n.tabs.length<=3}},i("div",{class:{"checked-tab-description":true,"stackable-description":n.tabs.length<=3}},i("p",null,t.label),i("p",{class:{"tab-caption":true,selected:t.selected}},t.caption)),i("div",{class:{"stackable-checkmark":n.tabs.length<=3}},i("duet-checkmark",{theme:n.theme,checked:t.selected,type:"radio","presentation-only":true,center:true}))):t.label)}));if(n.scrolls){return i("duet-scrollable",{selected:n.selected,identifier:n.identifier},t)}return t};this.tabs=[];this.selected=undefined;this.theme="";this.scrolls=false;this.collapses=true;this.accessibleLabel=undefined;this.variation="default";this.language=x();this.labelDefaults={fi:"Valitse",en:"Choose",sv:"Välj"};this.label=m(this.labelDefaults,this.language);this.labelHidden=true;this.identifier=this.id;this.margin="auto";this.padding="auto";this.setTabIndex=true;this.tabChangeConfirm=false}t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){switch(e.label){case 0:if(typeof MutationObserver!=="undefined"){this.mutationO=new MutationObserver((function(){t.updateTabs()}));this.mutationO.observe(this.element,{attributes:true,attributeFilter:["label"],childList:true,characterData:true,subtree:true})}return[4,this.updateTabs()];case 1:e.sent();d(this);return[2]}}))}))};t.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}c(this)};t.prototype.componentWillLoad=function(){r(this)};t.prototype.componentDidLoad=function(){this.scrollToActive()};t.prototype.openTab=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){if(t>=this.tabs.length){throw new Error("[duet-tabs] Index ".concat(t," is out of bounds of tabs length"))}this.selected=t;this.tabs.forEach((function(e,i){e.selected=i===t}));this.scrollToActive();e={value:t,component:"duet-tab-group"};this.duetChange.emit(e);this.duetTabChange.emit(e);return[2]}))}))};t.prototype.refresh=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){console.log("[duet-tabs] Refresh method is deprecated and will be removed in the future version.");return[2]}))}))};t.prototype.getTabs=function(){var t=this;var e=Array.from(this.element.querySelectorAll("duet-tab"));var i=e.filter((function(e){return e.closest("duet-tab-group")===t.element}));if(i.length===0){throw new Error("[duet-tabs] Must have at least one tab")}return i};t.prototype.getButtonId=function(t){return"".concat(this.id,"-button-").concat(t)};t.prototype.getTabId=function(t){return"".concat(this.id,"-tab-").concat(t)};t.prototype.getAccessibleDescription=function(t){var e=this.tabs[t].getAttribute("accessible-description")||null;return e};t.prototype.updateTabs=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){this.selected=undefined;this.tabs=this.getTabs();this.tabs.forEach((function(e,i){e.id=t.getTabId(i);if(e.selected){if(t.selected===undefined){t.selected=i}else{e.selected=false}}}));if(this.selected===undefined){this.selected=0;this.tabs[0].selected=true}return[2]}))}))};t.prototype.render=function(){var t;var e=this;var n=this.variation==="plain-scrolling"?"duet-tab-variation-plain":"duet-tab-variation-".concat(this.variation);var o=this.variation==="checked"||this.variation==="plain-scrolling";return i("div",{class:(t={"duet-tab-group":true,"duet-theme-turva":this.theme==="turva"},t[n]=true,t["duet-tab-plain-scrolling"]=this.variation==="plain-scrolling",t["duet-tab-group-scrolls"]=this.scrolls,t["duet-tab-group-collapses"]=this.collapses,t),"aria-label":this.accessibleLabel},!o&&this.tabs.length>3&&this.collapses&&i("duet-select",{value:this.selected.toString(),expand:true,label:this.label,labelHidden:this.labelHidden,theme:this.theme,onDuetChange:function(t){return e.onTabSelect(Number(t.detail.value))},items:this.tabs.map((function(t,e){return{label:t.label,value:e.toString()}}))}),i("div",{role:"tablist",class:{"duet-m-0":this.margin==="none"||this.variation==="checked","duet-tab-group-tabs":true,"duet-tab-group-hidden":this.tabs.length>3&&!o,"duet-tab-group-collapses":this.collapses},ref:function(t){e.tabsContainer=t}},this.renderTab()),i("div",{class:{"duet-tab-group-content":true,"duet-m-0":this.margin==="none","checked-group-content":this.variation==="checked"}},i("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());I.style=C}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{r as e,h as r,H as s,g as a}from"./p-e2d05479.js";import{i as o}from"./p-a58bd561.js";import{c as t}from"./p-5e59e970.js";import{g as i,c as n,d as p}from"./p-2e36d5bf.js";import"./p-0e052642.js";const d=class{constructor(r){e(this,r),this.progressId=t("DuetProgress"),this.progressLabelId=t("DuetProgressLabel"),this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabel=void 0,this.accessibleLabelUploadDefaults={fi:["lähetys valmis","lähetys käynnissä"],sv:["Uppladdningen är klar","Uppladdning pågår"],en:["upload completed","upload in progress"]},this.accessibleLabelUpload=i(this.accessibleLabelUploadDefaults),this.progress=0,this.caption=void 0,this.height="10px",this.theme=""}componentWillLoad(){o(this)}connectedCallback(){n(this,{prop:"accessibleLabelUpload",defaults:"accessibleLabelUploadDefaults"})}disconnectedCallback(){p(this)}render(){return r(s,null,r("div",{"aria-live":this.accessibleLabel?"polite":"off","aria-hidden":this.accessibleLabel?"false":"true","aria-atomic":"true",style:{height:this.height},id:this.progressId,class:{"duet-progress":!0,"duet-progress-done":100===this.progress,"duet-progress-start":0===this.progress,"duet-progress-inprogress":this.progress<99&&0!==this.progress,"duet-theme-turva":"turva"===this.theme}},r("duet-visually-hidden",null,r("label",{htmlFor:this.progressLabelId},r("span",null,this.accessibleLabel,0!==this.progress&&`, ${this.accessibleLabelUpload[this.progress<99?1:0]}`))),this.caption&&r("div",{class:"duet-progress-caption"},r("span",null,this.caption)),r("progress",{id:this.progressLabelId,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,role:"progressbar",value:this.progress,max:"100","aria-valuemin":"0","aria-valuemax":"100"},r("div",{class:"progress-bar"},r("span",{style:{width:`${this.progress}%;`}},"Progress: ",this.progress,"%")))))}get element(){return a(this)}};d.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;width:100%;height:inherit}.duet-progress{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;min-height:1px;}.duet-progress .progress-bar{position:relative;display:block;width:100%;height:inherit;min-height:1px;background-color:rgb(243, 249, 252);border-radius:0;box-shadow:none}.duet-theme-turva .duet-progress .progress-bar{background-color:rgb(252, 243, 244)}.duet-progress .progress-bar>span{display:block;height:inherit;text-indent:-9999px;background-color:rgb(0, 119, 179);border-radius:0}.duet-theme-turva .duet-progress .progress-bar>span{background-color:rgb(198, 12, 48)}.duet-progress progress[value]{display:flex;width:100%;height:inherit;min-height:1px;color:rgb(0, 119, 179);border:0 none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.duet-progress progress[value]::-webkit-progress-bar{background-color:rgb(243, 249, 252);border-radius:0}.duet-progress progress[value]::-webkit-progress-value{background-color:rgb(0, 119, 179);background-size:35px 20px, 100% 100%, 100% 100%;border-radius:0;-webkit-animation:animate-stripes 5s linear infinite;animation:animate-stripes 5s linear infinite}.duet-progress progress[value] ::-moz-progress-bar{background-color:rgb(243, 249, 252)}.duet-progress.duet-theme-turva progress[value]{color:rgb(198, 12, 48)}.duet-progress.duet-theme-turva progress[value]::-webkit-progress-bar{background-color:rgb(252, 243, 244)}.duet-progress.duet-theme-turva progress[value]::-webkit-progress-value{background-color:rgb(198, 12, 48)}.duet-progress.duet-theme-turva progress[value] ::-moz-progress-bar{background-color:rgb(252, 243, 244)}";export{d as duet_progress}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Built with Duet Design System
3
- */
4
- import{h}from"./index-b7e7a6a1.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};