@duetds/components 5.1.9 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (378) hide show
  1. package/hydrate/index.js +216 -33
  2. package/lib/cjs/duet-action-button.cjs.entry.js +16 -8
  3. package/lib/cjs/duet-alert.cjs.entry.js +2 -2
  4. package/lib/cjs/duet-badge.cjs.entry.js +2 -2
  5. package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
  6. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
  7. package/lib/cjs/duet-button_2.cjs.entry.js +17 -2
  8. package/lib/cjs/duet-caption_4.cjs.entry.js +2 -2
  9. package/lib/cjs/duet-card.cjs.entry.js +2 -2
  10. package/lib/cjs/duet-checkbox.cjs.entry.js +15 -3
  11. package/lib/cjs/duet-choice_2.cjs.entry.js +16 -4
  12. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  13. package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
  14. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  15. package/lib/cjs/duet-date-picker.cjs.entry.js +3 -4
  16. package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-editable-table_3.cjs.entry.js +2 -2
  18. package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
  19. package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
  20. package/lib/cjs/duet-footer.cjs.entry.js +2 -2
  21. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  23. package/lib/cjs/duet-hero.cjs.entry.js +2 -2
  24. package/lib/cjs/duet-icon.cjs.entry.js +2 -2
  25. package/lib/cjs/duet-input_2.cjs.entry.js +18 -4
  26. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  27. package/lib/cjs/duet-list_2.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-modal.cjs.entry.js +12 -4
  29. package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-number-input.cjs.entry.js +15 -3
  31. package/lib/cjs/duet-pagination_2.cjs.entry.js +19 -3
  32. package/lib/cjs/duet-progress.cjs.entry.js +15 -3
  33. package/lib/cjs/duet-radio_2.cjs.entry.js +15 -3
  34. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  35. package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  38. package/lib/cjs/duet-textarea.cjs.entry.js +17 -3
  39. package/lib/cjs/duet-toggle.cjs.entry.js +15 -3
  40. package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
  41. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  42. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  44. package/lib/cjs/duet.cjs.js +2 -2
  45. package/lib/cjs/{focus-utils-3ef68d4c.js → focus-utils-bfb10d32.js} +1 -1
  46. package/lib/cjs/{index-e1907091.js → index-a4844346.js} +1 -1
  47. package/lib/cjs/loader.cjs.js +2 -2
  48. package/lib/cjs/{themeable-component-940d3b50.js → themeable-component-fdeaef9f.js} +0 -0
  49. package/lib/collection/{utils/form-components.js → common/a11y-component.js} +0 -0
  50. package/lib/collection/common/form-components.js +4 -0
  51. package/lib/collection/common/index.js +4 -0
  52. package/lib/collection/{utils → common}/themeable-component.js +0 -0
  53. package/lib/collection/components/duet-action-button/duet-action-button.js +57 -13
  54. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  55. package/lib/collection/components/duet-badge/duet-badge.js +1 -1
  56. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +1 -1
  57. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +1 -1
  58. package/lib/collection/components/duet-button/duet-button.js +70 -1
  59. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  60. package/lib/collection/components/duet-card/duet-card.js +1 -1
  61. package/lib/collection/components/duet-checkbox/duet-checkbox.js +68 -2
  62. package/lib/collection/components/duet-choice/duet-choice.js +68 -2
  63. package/lib/collection/components/duet-choice-group/duet-choice-group.js +1 -1
  64. package/lib/collection/components/duet-collapsible/duet-collapsible.js +1 -1
  65. package/lib/collection/components/duet-combobox/duet-combobox.js +1 -1
  66. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  67. package/lib/collection/components/duet-date-picker/duet-date-picker.js +1 -1
  68. package/lib/collection/components/duet-date-picker/utils.js +0 -1
  69. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  70. package/lib/collection/components/duet-editable-table/duet-editable-table.js +1 -1
  71. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  72. package/lib/collection/components/duet-fieldset/duet-fieldset.js +1 -1
  73. package/lib/collection/components/duet-footer/duet-footer.js +1 -1
  74. package/lib/collection/components/duet-grid-item/duet-grid-item.js +1 -1
  75. package/lib/collection/components/duet-header/duet-header.css +1 -1
  76. package/lib/collection/components/duet-header/duet-header.js +1 -1
  77. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  78. package/lib/collection/components/duet-hero/duet-hero.js +1 -1
  79. package/lib/collection/components/duet-icon/duet-icon.js +1 -1
  80. package/lib/collection/components/duet-input/duet-input.js +72 -4
  81. package/lib/collection/components/duet-label/duet-label.js +1 -1
  82. package/lib/collection/components/duet-link/duet-link.js +1 -1
  83. package/lib/collection/components/duet-list/duet-list.js +1 -1
  84. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  85. package/lib/collection/components/duet-modal/duet-modal.js +80 -2
  86. package/lib/collection/components/duet-notification/duet-notification.js +1 -1
  87. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  88. package/lib/collection/components/duet-number-input/duet-number-input.js +68 -2
  89. package/lib/collection/components/duet-pagination/duet-pagination.js +90 -2
  90. package/lib/collection/components/duet-paragraph/duet-paragraph.js +1 -1
  91. package/lib/collection/components/duet-progress/duet-progress.js +68 -2
  92. package/lib/collection/components/duet-radio/duet-radio.js +68 -2
  93. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  94. package/lib/collection/components/duet-range-slider/duet-range-slider.js +1 -1
  95. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  96. package/lib/collection/components/duet-scrollable/duet-scrollable.js +1 -1
  97. package/lib/collection/components/duet-select/duet-select.js +1 -1
  98. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  99. package/lib/collection/components/duet-step/duet-step.js +1 -1
  100. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  101. package/lib/collection/components/duet-tab-group/duet-tab-group.js +1 -1
  102. package/lib/collection/components/duet-table/duet-table.js +1 -1
  103. package/lib/collection/components/duet-textarea/duet-textarea.js +70 -2
  104. package/lib/collection/components/duet-toggle/duet-toggle.js +68 -2
  105. package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
  106. package/lib/collection/components/duet-tray/duet-tray.js +1 -1
  107. package/lib/collection/components/duet-upload/duet-upload.js +1 -1
  108. package/lib/custom-elements-bundle/index.js +187 -41
  109. package/lib/duet/duet.esm.js +1 -1
  110. package/lib/duet/duet.js +1 -1
  111. package/lib/duet/{p-d2c9bb5f.system.entry.js → p-00bf0bb9.system.entry.js} +1 -1
  112. package/lib/duet/{p-6d148390.system.entry.js → p-01478a01.system.entry.js} +2 -2
  113. package/lib/duet/{p-c23ef060.entry.js → p-030e20d7.entry.js} +1 -1
  114. package/lib/duet/{p-906e53f9.entry.js → p-03b6ce80.entry.js} +1 -1
  115. package/lib/duet/{p-007518fb.entry.js → p-04061cef.entry.js} +1 -1
  116. package/lib/duet/p-05e069d8.entry.js +4 -0
  117. package/lib/duet/{p-fbc61588.system.entry.js → p-071ebe1d.system.entry.js} +1 -1
  118. package/lib/duet/p-08eb2200.entry.js +4 -0
  119. package/lib/duet/{p-b5ef3764.entry.js → p-0ae816ee.entry.js} +1 -1
  120. package/lib/duet/{p-4fcde9bd.system.entry.js → p-0bee3151.system.entry.js} +1 -1
  121. package/lib/duet/{p-41ed75d0.system.entry.js → p-10585f06.system.entry.js} +1 -1
  122. package/lib/duet/{p-cce3f6c1.system.js → p-12c89686.system.js} +1 -1
  123. package/lib/duet/{p-d50a26ce.system.entry.js → p-19100783.system.entry.js} +2 -2
  124. package/lib/duet/{p-ca10ad5f.system.entry.js → p-1ff51ad8.system.entry.js} +1 -1
  125. package/lib/duet/{p-2d244cbb.system.entry.js → p-24721182.system.entry.js} +1 -1
  126. package/lib/duet/{p-0e3fad96.entry.js → p-271107d8.entry.js} +1 -1
  127. package/lib/duet/p-285714dd.entry.js +4 -0
  128. package/lib/duet/{p-fcf30d60.system.entry.js → p-30e901f2.system.entry.js} +1 -1
  129. package/lib/duet/p-3260eef0.entry.js +4 -0
  130. package/lib/duet/{p-ef5c2a47.system.entry.js → p-33388bf3.system.entry.js} +1 -1
  131. package/lib/duet/{p-6b03322b.system.js → p-33b3aba4.system.js} +0 -0
  132. package/lib/duet/p-360f8fff.system.entry.js +4 -0
  133. package/lib/duet/{p-56212fca.js → p-37dc064c.js} +1 -1
  134. package/lib/duet/{p-b32178af.entry.js → p-41cc3490.entry.js} +1 -1
  135. package/lib/duet/{p-cd158ec2.system.entry.js → p-423d4211.system.entry.js} +1 -1
  136. package/lib/duet/p-437fe50b.system.entry.js +4 -0
  137. package/lib/duet/{p-d7e383e1.system.entry.js → p-495a1326.system.entry.js} +1 -1
  138. package/lib/duet/p-4972c76e.system.js +4 -0
  139. package/lib/duet/p-4a7f290f.entry.js +4 -0
  140. package/lib/duet/{p-abf8eaf7.js → p-4ebf1618.js} +0 -0
  141. package/lib/duet/{p-4fb88265.entry.js → p-53ad61ed.entry.js} +1 -1
  142. package/lib/duet/{p-7f26e522.entry.js → p-56d3e64f.entry.js} +1 -1
  143. package/lib/duet/p-5a5d8fb1.entry.js +4 -0
  144. package/lib/duet/p-5b1cbe5b.entry.js +4 -0
  145. package/lib/duet/{p-c5b1e054.system.entry.js → p-5f009925.system.entry.js} +1 -1
  146. package/lib/duet/{p-f4bba24d.system.entry.js → p-641edb93.system.entry.js} +1 -1
  147. package/lib/duet/p-64685397.entry.js +4 -0
  148. package/lib/duet/{p-55376e66.system.entry.js → p-66536958.system.entry.js} +1 -1
  149. package/lib/duet/{p-1ce6c0c0.entry.js → p-68cbc3b7.entry.js} +1 -1
  150. package/lib/duet/{p-76dc3268.entry.js → p-6a843f9e.entry.js} +1 -1
  151. package/lib/duet/p-7021d0c6.system.entry.js +4 -0
  152. package/lib/duet/{p-86395c08.entry.js → p-72739cec.entry.js} +1 -1
  153. package/lib/duet/{p-f4b909bd.system.entry.js → p-73cd4f03.system.entry.js} +1 -1
  154. package/lib/duet/{p-fcb0ac03.system.entry.js → p-76e38bb2.system.entry.js} +2 -2
  155. package/lib/duet/{p-eeeadb94.entry.js → p-78de93b3.entry.js} +1 -1
  156. package/lib/duet/{p-36455aba.entry.js → p-790ee851.entry.js} +1 -1
  157. package/lib/duet/{p-8fa561be.system.entry.js → p-7a4764db.system.entry.js} +1 -1
  158. package/lib/duet/{p-43bdb5df.system.entry.js → p-7fe67436.system.entry.js} +2 -2
  159. package/lib/duet/p-88ffd1cc.entry.js +4 -0
  160. package/lib/duet/{p-5d2204fc.entry.js → p-9406ee60.entry.js} +1 -1
  161. package/lib/duet/p-9496d6d4.entry.js +4 -0
  162. package/lib/duet/{p-70f5c86d.entry.js → p-95a0db46.entry.js} +1 -1
  163. package/lib/duet/{p-2911128f.entry.js → p-95e1a336.entry.js} +1 -1
  164. package/lib/duet/p-971f42d6.system.entry.js +4 -0
  165. package/lib/duet/{p-5b0f15e4.entry.js → p-97f1e254.entry.js} +1 -1
  166. package/lib/duet/{p-3ed22b96.system.entry.js → p-98039227.system.entry.js} +1 -1
  167. package/lib/duet/p-98a9556f.js +4 -0
  168. package/lib/duet/p-9920ad3b.entry.js +4 -0
  169. package/lib/duet/{p-b67edf51.system.entry.js → p-99fe93c6.system.entry.js} +1 -1
  170. package/lib/duet/{p-5b609e18.entry.js → p-a2fa0049.entry.js} +1 -1
  171. package/lib/duet/{p-0a8cb1f2.system.entry.js → p-a509cc2b.system.entry.js} +1 -1
  172. package/lib/duet/{p-0fce5ee0.entry.js → p-a76bf729.entry.js} +1 -1
  173. package/lib/duet/{p-7772d2f3.system.entry.js → p-a843e579.system.entry.js} +1 -1
  174. package/lib/duet/{p-6b87a943.system.entry.js → p-afd34b6b.system.entry.js} +1 -1
  175. package/lib/duet/{p-00f69be4.entry.js → p-b08bb1fd.entry.js} +1 -1
  176. package/lib/duet/{p-080ce662.entry.js → p-b0a4dc6d.entry.js} +1 -1
  177. package/lib/duet/{p-2e68b854.system.entry.js → p-b16befbc.system.entry.js} +1 -1
  178. package/lib/duet/{p-f1f59897.system.entry.js → p-b35d6368.system.entry.js} +1 -1
  179. package/lib/duet/{p-d92b2eac.system.entry.js → p-b4ca3864.system.entry.js} +1 -1
  180. package/lib/duet/{p-b953aedb.system.entry.js → p-b51928dc.system.entry.js} +1 -1
  181. package/lib/duet/{p-3504f285.system.entry.js → p-b7462f8c.system.entry.js} +1 -1
  182. package/lib/duet/p-b8623ab8.entry.js +4 -0
  183. package/lib/duet/{p-7f705e70.entry.js → p-bb4d8e7b.entry.js} +1 -1
  184. package/lib/duet/p-bf87d801.entry.js +4 -0
  185. package/lib/duet/p-c0aca70c.entry.js +4 -0
  186. package/lib/duet/{p-43a54146.system.entry.js → p-c1d55269.system.entry.js} +1 -1
  187. package/lib/duet/{p-6fd465b3.entry.js → p-c7657242.entry.js} +1 -1
  188. package/lib/duet/{p-112c7cf4.entry.js → p-cb8ebdd7.entry.js} +1 -1
  189. package/lib/duet/{p-95be8318.system.entry.js → p-d33b5ac5.system.entry.js} +1 -1
  190. package/lib/duet/{p-1c315e22.system.entry.js → p-d4dba079.system.entry.js} +1 -1
  191. package/lib/duet/{p-d5b3feeb.system.entry.js → p-e75c7aa8.system.entry.js} +1 -1
  192. package/lib/duet/{p-1d87a095.system.js → p-e7b761c5.system.js} +1 -1
  193. package/lib/duet/{p-0da0c06d.system.entry.js → p-e8f8374b.system.entry.js} +2 -2
  194. package/lib/duet/{p-eda1280f.entry.js → p-ec6d63fc.entry.js} +1 -1
  195. package/lib/duet/{p-851b469e.system.entry.js → p-ee97a406.system.entry.js} +2 -2
  196. package/lib/duet/{p-8c372ef6.system.entry.js → p-f5613315.system.entry.js} +2 -2
  197. package/lib/duet/{p-ae5872e3.system.entry.js → p-f91e88e3.system.entry.js} +1 -1
  198. package/lib/duet/p-fbec1a47.entry.js +4 -0
  199. package/lib/duet/p-fd0a3ab7.entry.js +4 -0
  200. package/lib/duet/p-fe99b9cb.entry.js +4 -0
  201. package/lib/duet/p-fef3a403.system.entry.js +4 -0
  202. package/lib/esm/duet-action-button.entry.js +16 -8
  203. package/lib/esm/duet-alert.entry.js +2 -2
  204. package/lib/esm/duet-badge.entry.js +2 -2
  205. package/lib/esm/duet-breadcrumb.entry.js +2 -2
  206. package/lib/esm/duet-breadcrumbs.entry.js +2 -2
  207. package/lib/esm/duet-button_2.entry.js +17 -2
  208. package/lib/esm/duet-caption_4.entry.js +2 -2
  209. package/lib/esm/duet-card.entry.js +2 -2
  210. package/lib/esm/duet-checkbox.entry.js +15 -3
  211. package/lib/esm/duet-choice_2.entry.js +16 -4
  212. package/lib/esm/duet-collapsible.entry.js +2 -2
  213. package/lib/esm/duet-combobox.entry.js +2 -2
  214. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  215. package/lib/esm/duet-date-picker.entry.js +3 -4
  216. package/lib/esm/duet-divider_2.entry.js +2 -2
  217. package/lib/esm/duet-editable-table_3.entry.js +2 -2
  218. package/lib/esm/duet-empty-state.entry.js +2 -2
  219. package/lib/esm/duet-fieldset.entry.js +2 -2
  220. package/lib/esm/duet-footer.entry.js +2 -2
  221. package/lib/esm/duet-grid_2.entry.js +2 -2
  222. package/lib/esm/duet-header_2.entry.js +3 -3
  223. package/lib/esm/duet-hero.entry.js +2 -2
  224. package/lib/esm/duet-icon.entry.js +2 -2
  225. package/lib/esm/duet-input_2.entry.js +18 -4
  226. package/lib/esm/duet-layout.entry.js +1 -1
  227. package/lib/esm/duet-list_2.entry.js +2 -2
  228. package/lib/esm/duet-modal.entry.js +12 -4
  229. package/lib/esm/duet-notification_2.entry.js +2 -2
  230. package/lib/esm/duet-number-input.entry.js +15 -3
  231. package/lib/esm/duet-pagination_2.entry.js +19 -3
  232. package/lib/esm/duet-progress.entry.js +15 -3
  233. package/lib/esm/duet-radio_2.entry.js +15 -3
  234. package/lib/esm/duet-range-slider.entry.js +2 -2
  235. package/lib/esm/duet-scrollable_3.entry.js +2 -2
  236. package/lib/esm/duet-select.entry.js +2 -2
  237. package/lib/esm/duet-step_2.entry.js +2 -2
  238. package/lib/esm/duet-textarea.entry.js +17 -3
  239. package/lib/esm/duet-toggle.entry.js +15 -3
  240. package/lib/esm/duet-tooltip.entry.js +2 -2
  241. package/lib/esm/duet-tray.entry.js +2 -2
  242. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  243. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  244. package/lib/esm/duet.js +2 -2
  245. package/lib/esm/{focus-utils-dbdd6235.js → focus-utils-3af074ea.js} +1 -1
  246. package/lib/esm/{index-33a07cd5.js → index-ab2bfa68.js} +1 -1
  247. package/lib/esm/loader.js +2 -2
  248. package/lib/esm/{themeable-component-e8fc98bf.js → themeable-component-cb76be7c.js} +0 -0
  249. package/lib/esm-es5/duet-action-button.entry.js +2 -2
  250. package/lib/esm-es5/duet-alert.entry.js +1 -1
  251. package/lib/esm-es5/duet-badge.entry.js +1 -1
  252. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  253. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  254. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  255. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  256. package/lib/esm-es5/duet-card.entry.js +1 -1
  257. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  258. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  259. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  260. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  261. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  262. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  263. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  264. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  265. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  266. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  267. package/lib/esm-es5/duet-footer.entry.js +1 -1
  268. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  269. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  270. package/lib/esm-es5/duet-hero.entry.js +1 -1
  271. package/lib/esm-es5/duet-icon.entry.js +1 -1
  272. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  273. package/lib/esm-es5/duet-layout.entry.js +1 -1
  274. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  275. package/lib/esm-es5/duet-modal.entry.js +2 -2
  276. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  277. package/lib/esm-es5/duet-number-input.entry.js +2 -2
  278. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  279. package/lib/esm-es5/duet-progress.entry.js +1 -1
  280. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  281. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  282. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  283. package/lib/esm-es5/duet-select.entry.js +1 -1
  284. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  285. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  286. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  287. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  288. package/lib/esm-es5/duet-tray.entry.js +1 -1
  289. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  290. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  291. package/lib/esm-es5/duet.js +1 -1
  292. package/lib/esm-es5/{focus-utils-dbdd6235.js → focus-utils-3af074ea.js} +1 -1
  293. package/lib/esm-es5/{index-33a07cd5.js → index-ab2bfa68.js} +1 -1
  294. package/lib/esm-es5/loader.js +1 -1
  295. package/lib/esm-es5/{themeable-component-e8fc98bf.js → themeable-component-cb76be7c.js} +0 -0
  296. package/lib/types/common/a11y-component.d.ts +13 -0
  297. package/lib/types/{utils → common}/form-components.d.ts +0 -1
  298. package/lib/types/common/index.d.ts +3 -0
  299. package/lib/types/{utils → common}/themeable-component.d.ts +0 -0
  300. package/lib/types/components/duet-action-button/duet-action-button.d.ts +15 -7
  301. package/lib/types/components/duet-alert/duet-alert.d.ts +1 -1
  302. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -1
  303. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +1 -1
  304. package/lib/types/components/duet-breadcrumbs/duet-breadcrumbs.d.ts +1 -1
  305. package/lib/types/components/duet-button/duet-button.d.ts +14 -3
  306. package/lib/types/components/duet-caption/duet-caption.d.ts +1 -1
  307. package/lib/types/components/duet-card/duet-card.d.ts +1 -1
  308. package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +14 -3
  309. package/lib/types/components/duet-choice/duet-choice.d.ts +14 -3
  310. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +1 -1
  311. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +1 -1
  312. package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -1
  313. package/lib/types/components/duet-cookie-consent/duet-cookie-consent.d.ts +1 -1
  314. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +2 -2
  315. package/lib/types/components/duet-divider/duet-divider.d.ts +1 -1
  316. package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +1 -1
  317. package/lib/types/components/duet-empty-state/duet-empty-state.d.ts +1 -1
  318. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +1 -1
  319. package/lib/types/components/duet-footer/duet-footer.d.ts +1 -1
  320. package/lib/types/components/duet-grid-item/duet-grid-item.d.ts +1 -1
  321. package/lib/types/components/duet-header/duet-header.d.ts +1 -1
  322. package/lib/types/components/duet-heading/duet-heading.d.ts +1 -1
  323. package/lib/types/components/duet-hero/duet-hero.d.ts +1 -1
  324. package/lib/types/components/duet-icon/duet-icon.d.ts +1 -1
  325. package/lib/types/components/duet-input/duet-input.d.ts +15 -4
  326. package/lib/types/components/duet-label/duet-label.d.ts +1 -1
  327. package/lib/types/components/duet-link/duet-link.d.ts +1 -1
  328. package/lib/types/components/duet-list/duet-list.d.ts +1 -1
  329. package/lib/types/components/duet-logo/duet-logo.d.ts +1 -1
  330. package/lib/types/components/duet-modal/duet-modal.d.ts +18 -2
  331. package/lib/types/components/duet-notification/duet-notification.d.ts +1 -1
  332. package/lib/types/components/duet-notification-drawer/duet-notification-drawer.d.ts +1 -1
  333. package/lib/types/components/duet-number-input/duet-number-input.d.ts +14 -3
  334. package/lib/types/components/duet-pagination/duet-pagination.d.ts +18 -2
  335. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -1
  336. package/lib/types/components/duet-progress/duet-progress.d.ts +14 -2
  337. package/lib/types/components/duet-radio/duet-radio.d.ts +14 -3
  338. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -1
  339. package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +2 -2
  340. package/lib/types/components/duet-range-stepper/duet-range-stepper.d.ts +1 -1
  341. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +1 -1
  342. package/lib/types/components/duet-select/duet-select.d.ts +2 -2
  343. package/lib/types/components/duet-spinner/duet-spinner.d.ts +1 -1
  344. package/lib/types/components/duet-step/duet-step.d.ts +1 -1
  345. package/lib/types/components/duet-stepper/duet-stepper.d.ts +1 -1
  346. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +1 -1
  347. package/lib/types/components/duet-table/duet-table.d.ts +1 -1
  348. package/lib/types/components/duet-textarea/duet-textarea.d.ts +14 -3
  349. package/lib/types/components/duet-toggle/duet-toggle.d.ts +14 -3
  350. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
  351. package/lib/types/components/duet-tray/duet-tray.d.ts +1 -1
  352. package/lib/types/components/duet-upload/duet-upload.d.ts +2 -2
  353. package/lib/types/components.d.ts +328 -32
  354. package/package.json +5 -5
  355. package/lib/duet/p-14940019.entry.js +0 -4
  356. package/lib/duet/p-1a39ba08.entry.js +0 -4
  357. package/lib/duet/p-2c66423c.system.entry.js +0 -4
  358. package/lib/duet/p-356c2c34.entry.js +0 -4
  359. package/lib/duet/p-41e0b7a6.entry.js +0 -4
  360. package/lib/duet/p-46aab89e.entry.js +0 -4
  361. package/lib/duet/p-539f2a06.system.js +0 -4
  362. package/lib/duet/p-60931fe2.entry.js +0 -4
  363. package/lib/duet/p-65256911.entry.js +0 -4
  364. package/lib/duet/p-6d4f68c7.entry.js +0 -4
  365. package/lib/duet/p-80d48e3c.entry.js +0 -4
  366. package/lib/duet/p-934b6e46.entry.js +0 -4
  367. package/lib/duet/p-aa3a10db.system.entry.js +0 -4
  368. package/lib/duet/p-b97e1c6e.entry.js +0 -4
  369. package/lib/duet/p-c94d980f.system.entry.js +0 -4
  370. package/lib/duet/p-c953e685.entry.js +0 -4
  371. package/lib/duet/p-ce973d95.entry.js +0 -4
  372. package/lib/duet/p-da4808e6.entry.js +0 -4
  373. package/lib/duet/p-da6ec22c.js +0 -4
  374. package/lib/duet/p-e70200b0.entry.js +0 -4
  375. package/lib/duet/p-e93e4714.system.entry.js +0 -4
  376. package/lib/duet/p-fb9b713b.entry.js +0 -4
  377. package/lib/duet/p-fec90322.entry.js +0 -4
  378. package/lib/duet/p-ff54acdd.system.entry.js +0 -4
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,t,n,a){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function r(e){try{s(a.next(e))}catch(t){o(t)}}function d(e){try{s(a["throw"](e))}catch(t){o(t)}}function s(e){e.done?n(e.value):i(e.value).then(r,d)}s((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,i,o,r;return r={next:d(0),throw:d(1),return:d(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function d(e){return function(t){return s([e,t])}}function s(r){if(a)throw new TypeError("Generator is already executing.");while(n)try{if(a=1,i&&(o=r[0]&2?i["return"]:r[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;if(i=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;i=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){n.label=r[1];break}if(r[0]===6&&n.label<o[1]){n.label=o[1];o=r;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(r);break}if(o[2])n.ops.pop();n.trys.pop();continue}r=t.call(e,n)}catch(d){r=[6,d];i=0}finally{a=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * Built with Duet Design System
4
- */System.register(["./p-cce3f6c1.system.js","./p-6b03322b.system.js","./p-b6d51921.system.js","./p-6190e2d6.system.js","./p-053b71e6.system.js","./p-c7ae95bd.system.js","./p-f69b64c9.system.js","./p-18cc5627.system.js"],(function(e){"use strict";var t,n,a,i,o,r,d,s,l,u,h,m;return{setters:[function(e){t=e.r;n=e.h;a=e.H;i=e.g;o=e.F},function(e){r=e.i},function(e){d=e.s},function(e){s=e.g},function(e){l=e.a},function(e){u=e.D},function(e){h=e.a;m=e.g},function(){}],execute:function(){var p=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;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:#657787;vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#747475}:host(.duet-caption-selected){color:#0077b3}:host(.duet-caption-selected.duet-theme-turva){color:#171c3a}:host(.duet-m-0){margin:0 !important}';var g=e("duet_caption",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.selected=false;this.size="medium"}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){return n(a,{class:{"duet-caption":true,"duet-caption-selected":this.selected,"duet-caption-small":this.size==="small","duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none"}},n("slot",null))};return e}());g.style=p;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;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;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-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:#00294d;text-decoration:none;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:italic;font-weight:700;color:#171c3a}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid #e1e3e6}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:#657787}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h1{font-size:7vw}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h2{font-size:5.8vw}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}';var f=e("duet_heading",function(){function e(e){t(this,e);this.level="h2";this.margin="auto";this.border=false;this.weight="auto";this.color="";this.theme="";this.hyphenate=false}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){var e;var t=d(this.level);var a=s(this.color);return n(t,{class:(e={"duet-heading":true,"duet-heading-border":this.border!==false,"duet-heading-border-solid":this.border==="solid","duet-semibold":this.weight==="semibold","duet-heading-hyphenate":this.hyphenate,"duet-m-0":this.margin==="none"},e[this.visualLevel?this.visualLevel:this.level]=true,e["duet-theme-turva"]=this.theme==="turva",e),style:{color:a}},n("slot",null))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());f.style=c;var b='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}.duet-link{display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:#0077b3;text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#c60c30}.duet-link:hover{color:#004d80;text-decoration:none}.duet-link:hover.duet-theme-turva{color:#940925}.duet-link:active{opacity:0.75;transition:none}.duet-link-external{margin-left:4px}';var y=e("duet_link",function(){function e(e){t(this,e);this.language=h();this.accessibleLabelExternalDefaults=u;this.accessibleLabelExternal=m(this.accessibleLabelExternalDefaults);this.theme="";this.url="#";this.external=false}e.prototype.componentWillLoad=function(){r(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeLink.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;return n(a,null,n("a",{href:this.url,class:{"duet-link":true,"duet-link-is-external":this.external,"duet-theme-turva":this.theme==="turva"},target:this.external?"_blank":"_self","aria-label":this.accessibleLabel,id:this.identifier,ref:function(t){return e.nativeLink=t},part:"duet-link",rel:this.external?"noopener":undefined},n("slot",null),this.external&&n(o,null,n("duet-visually-hidden",null,this.accessibleLabelExternal),n("span",{class:"duet-link-external"},n("duet-icon",{icon:l.svg,size:"xx-small",margin:"none",color:"currentColor"})))))};Object.defineProperty(e,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});return e}());y.style=b;var v='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-paragraph{margin-bottom:16px !important;display:block;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:#00294d}.duet-paragraph.duet-p-0{padding:0 !important}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a}.duet-paragraph.duet-paragraph-small{font-size:0.875rem}.duet-paragraph.duet-paragraph-semi-bold{font-weight:600}.duet-paragraph.duet-paragraph-bold{font-weight:700}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.intro{font-size:2.7vw;margin-bottom:28px !important;-webkit-hyphens:inherit;hyphens:inherit}@media (max-width: 37.037037037rem){.duet-paragraph.intro{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-paragraph.intro{font-size:1.25rem}}.duet-paragraph.intro.duet-m-0{margin:0 !important}::slotted(a){font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:#0077b3;text-decoration:underline;transition:300ms ease}::slotted(a).duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#c60c30}::slotted(a):hover{color:#004d80;text-decoration:none}::slotted(a):hover.duet-theme-turva{color:#940925}::slotted(a):active{opacity:0.75;transition:none}';var w=e("duet_paragraph",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.size="medium";this.weight=undefined;this.variation="default";this.color=""}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){var e;var t=s(this.color);return n("p",{class:(e={"duet-paragraph":true,"duet-paragraph-small":this.size==="small","duet-paragraph-semi-bold":this.weight==="semi-bold","duet-paragraph-bold":this.weight==="bold","duet-m-0":this.margin==="none"},e[this.variation]=true,e["duet-theme-turva"]=this.theme==="turva",e),style:{color:t},part:"duet-paragraph"},n("slot",null))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());w.style=v}}}));
4
+ */System.register(["./p-12c89686.system.js","./p-33b3aba4.system.js","./p-b6d51921.system.js","./p-6190e2d6.system.js","./p-053b71e6.system.js","./p-c7ae95bd.system.js","./p-f69b64c9.system.js","./p-18cc5627.system.js"],(function(e){"use strict";var t,n,a,i,o,r,d,s,l,u,h,m;return{setters:[function(e){t=e.r;n=e.h;a=e.H;i=e.g;o=e.F},function(e){r=e.i},function(e){d=e.s},function(e){s=e.g},function(e){l=e.a},function(e){u=e.D},function(e){h=e.a;m=e.g},function(){}],execute:function(){var p=':host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;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:#657787;vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#747475}:host(.duet-caption-selected){color:#0077b3}:host(.duet-caption-selected.duet-theme-turva){color:#171c3a}:host(.duet-m-0){margin:0 !important}';var g=e("duet_caption",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.selected=false;this.size="medium"}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){return n(a,{class:{"duet-caption":true,"duet-caption-selected":this.selected,"duet-caption-small":this.size==="small","duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none"}},n("slot",null))};return e}());g.style=p;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;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;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-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:#00294d;text-decoration:none;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:italic;font-weight:700;color:#171c3a}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid #e1e3e6}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:#657787}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h1{font-size:7vw}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h2{font-size:5.8vw}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}';var f=e("duet_heading",function(){function e(e){t(this,e);this.level="h2";this.margin="auto";this.border=false;this.weight="auto";this.color="";this.theme="";this.hyphenate=false}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){var e;var t=d(this.level);var a=s(this.color);return n(t,{class:(e={"duet-heading":true,"duet-heading-border":this.border!==false,"duet-heading-border-solid":this.border==="solid","duet-semibold":this.weight==="semibold","duet-heading-hyphenate":this.hyphenate,"duet-m-0":this.margin==="none"},e[this.visualLevel?this.visualLevel:this.level]=true,e["duet-theme-turva"]=this.theme==="turva",e),style:{color:a}},n("slot",null))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());f.style=c;var b='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}.duet-link{display:inline;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:#0077b3;text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-link.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#c60c30}.duet-link:hover{color:#004d80;text-decoration:none}.duet-link:hover.duet-theme-turva{color:#940925}.duet-link:active{opacity:0.75;transition:none}.duet-link-external{margin-left:4px}';var y=e("duet_link",function(){function e(e){t(this,e);this.language=h();this.accessibleLabelExternalDefaults=u;this.accessibleLabelExternal=m(this.accessibleLabelExternalDefaults);this.theme="";this.url="#";this.external=false}e.prototype.componentWillLoad=function(){r(this)};e.prototype.setFocus=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.nativeLink.focus(e);return[2]}))}))};e.prototype.render=function(){var e=this;return n(a,null,n("a",{href:this.url,class:{"duet-link":true,"duet-link-is-external":this.external,"duet-theme-turva":this.theme==="turva"},target:this.external?"_blank":"_self","aria-label":this.accessibleLabel,id:this.identifier,ref:function(t){return e.nativeLink=t},part:"duet-link",rel:this.external?"noopener":undefined},n("slot",null),this.external&&n(o,null,n("duet-visually-hidden",null,this.accessibleLabelExternal),n("span",{class:"duet-link-external"},n("duet-icon",{icon:l.svg,size:"xx-small",margin:"none",color:"currentColor"})))))};Object.defineProperty(e,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});return e}());y.style=b;var v='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-paragraph{margin-bottom:16px !important;display:block;width:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:#00294d}.duet-paragraph.duet-p-0{padding:0 !important}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a}.duet-paragraph.duet-paragraph-small{font-size:0.875rem}.duet-paragraph.duet-paragraph-semi-bold{font-weight:600}.duet-paragraph.duet-paragraph-bold{font-weight:700}.duet-paragraph.duet-m-0{margin:0 !important}.duet-paragraph.intro{font-size:2.7vw;margin-bottom:28px !important;-webkit-hyphens:inherit;hyphens:inherit}@media (max-width: 37.037037037rem){.duet-paragraph.intro{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-paragraph.intro{font-size:1.25rem}}.duet-paragraph.intro.duet-m-0{margin:0 !important}::slotted(a){font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-style:normal;font-weight:400;color:#0077b3;text-decoration:underline;transition:300ms ease}::slotted(a).duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#c60c30}::slotted(a):hover{color:#004d80;text-decoration:none}::slotted(a):hover.duet-theme-turva{color:#940925}::slotted(a):active{opacity:0.75;transition:none}';var w=e("duet_paragraph",function(){function e(e){t(this,e);this.theme="";this.margin="auto";this.size="medium";this.weight=undefined;this.variation="default";this.color=""}e.prototype.componentWillLoad=function(){r(this)};e.prototype.render=function(){var e;var t=s(this.color);return n("p",{class:(e={"duet-paragraph":true,"duet-paragraph-small":this.size==="small","duet-paragraph-semi-bold":this.weight==="semi-bold","duet-paragraph-bold":this.weight==="bold","duet-m-0":this.margin==="none"},e[this.variation]=true,e["duet-theme-turva"]=this.theme==="turva",e),style:{color:t},part:"duet-paragraph"},n("slot",null))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());w.style=v}}}));
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as e,c as t,h as o,H as a,g as i}from"./p-37dc064c.js";import{a as s}from"./p-115c79b6.js";import{f as l,t as n}from"./p-d1746325.js";import{i as r}from"./p-4ebf1618.js";import{c}from"./p-c1325e35.js";import{i as p}from"./p-54f35a79.js";import{s as d}from"./p-5a9d75e1.js";const m=class{constructor(o){e(this,o),this.duetToggle=t(this,"duetToggle",7),this.id=c("DuetCollapsible"),this.theme="",this.heading="",this.headingWeight="semibold",this.headingSize=void 0,this.headingLevel=void 0,this.margin="auto",this.open=!1,this.handleKeyDown=e=>{p(e)&&this.handleClick(e)},this.getFontSizeFromTokens=(e=this.headingSize)=>{if(e){const t=e.replace(/-/g,"_");return n[`font_size_${t}`]}return l},this.getEquivalentIconSize=(e=this.headingSize)=>{switch(e){case"x-small":case"small":case"medium":return"xx-small";case"large":return"x-small";case"x-large":return"small";case"xx-large":return"medium";case"xxx-large":return"x-large";case"xxxx-large":return"xxx-large";default:return"xx-small"}},this.handleClick=e=>{e.preventDefault(),this.open=!this.open,this.duetToggle.emit({component:"duet-collapsible",originalEvent:e})}}componentWillLoad(){r(this)}async setFocus(e){this.nativeButton&&(this.element.classList.add("user-is-tabbing"),this.nativeButton.focus(e))}render(){const e=this.headingLevel?d(this.headingLevel):"div";return o(a,{class:{"duet-m-0":"none"===this.margin}},o(e,{class:{"duet-collapsible-heading":!0,"duet-theme-turva":"turva"===this.theme,"duet-collapsible-normal-weight":"normal"===this.headingWeight},style:{"font-size":this.getFontSizeFromTokens()},role:"button",tabindex:"0",ref:e=>this.nativeButton=e,"aria-expanded":this.open?"true":"false","aria-controls":this.id,onClick:this.handleClick,onKeyDown:this.handleKeyDown},o("div",{class:"duet-collapsible-heading-icon"},o("duet-icon",{margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary",size:this.getEquivalentIconSize(),icon:s.svg})),o("div",{class:"duet-collapsible-heading-content",part:"duet-collapsible-heading-content"},this.heading)),o("div",{id:this.id,class:{"duet-collapsible-content":!0,"duet-theme-turva":"turva"===this.theme},part:"duet-collapsible-content"},o("slot",null)))}get element(){return i(this)}};m.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display: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:1rem;font-weight:600;line-height:1.5;color:#00294d}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;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;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:#00294d}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a}:host([open]) .duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:#00294d;cursor:pointer;border-radius:4px}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a}.duet-collapsible-heading .duet-collapsible-heading-content{flex:1}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva) .duet-collapsible-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:#00294d;transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}';export{m as duet_collapsible}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,c as e,h as a,H as r,g as i}from"./p-37dc064c.js";import{i as s}from"./p-4ebf1618.js";import{c as o}from"./p-c1325e35.js";import{c as d}from"./p-56118313.js";const u=({value:t,maxlength:e,label:r,theme:i})=>{if(null==e)return;const s=t.length,o=Math.max(e-s,0);return a("div",{class:"duet-character-count"},a("duet-caption",{margin:"none",theme:i,size:"small"},a("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true",class:"duet-textarea-counter-remaining"},o/e<=.1&&`${o} ${r}`),a("span",{"aria-hidden":"true"},s,"/",e)))},h=class{constructor(a){t(this,a),this.duetInput=e(this,"duetInput",7),this.duetChange=e(this,"duetChange",7),this.duetBlur=e(this,"duetBlur",7),this.duetFocus=e(this,"duetFocus",7),this.textareaId=o("DuetTextarea"),this.topCaptionId=o("DuetCaptionTop"),this.topCaptionPlaceholderId=o("DuetCaptionPlaceholderTop"),this.labelId=o("DuetLabel"),this.errorId=o("DuetError"),this.disallowPatternRegex=null,this.margin="auto",this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.theme="",this.expand=!1,this.disabled=!1,this.required=!1,this.label="label",this.labelHidden=!1,this.echoPlaceholder=!1,this.error="",this.tooltip="",this.tooltipDirection="auto",this.value="",this.disallowPattern=null,this.counter=!1,this.handleInput=t=>{this.disallowPatternRegex&&d(this.nativeInput,this.disallowPatternRegex),this.value=this.nativeInput.value,this.isCaptionVisible=!!this.caption,this.duetInput.emit({originalEvent:t,value:this.value,component:"duet-textarea"})},this.handleChange=t=>{this.value=this.nativeInput.value,this.duetChange.emit({originalEvent:t,value:this.value,component:"duet-textarea"})},this.handleBlur=t=>{this.duetBlur.emit({originalEvent:t,value:this.value,component:"duet-textarea"})},this.handleFocus=t=>{this.duetFocus.emit({originalEvent:t,value:this.value,component:"duet-textarea"})}}disallowedPatternChange(){this.disallowPatternRegex=this.disallowPattern?new RegExp(this.disallowPattern,"g"):null}componentWillLoad(){s(this),this.disallowedPatternChange(),this.isCaptionVisible=!!this.caption,this.counter&&null==this.maxlength&&console.warn("[DUET WARNING]: counter will only take effect if maxlength is set"),this.counter||null==this.counterLabel||console.warn("[DUET WARNING]: counter-label is redundant unless used with counter"),this.counter&&!this.counterLabel&&console.warn("[DUET WARNING]: counter requires counter-label to be set")}async setFocus(t){this.nativeInput.focus(t)}render(){const t=this.identifier||this.textareaId;return a(r,{class:{"duet-m-0":"none"===this.margin,"duet-has-counter":this.counter&&!this.error,"duet-expand":this.expand}},a("div",{class:{"duet-textarea-container":!0,"duet-theme-turva":"turva"===this.theme,"duet-label-hidden":this.labelHidden,"duet-input-top-caption-shown":this.isCaptionVisible,"has-error":!!this.error}},a("duet-label",{theme:"turva"===this.theme?"turva":"default",class:{"duet-has-tooltip":!!this.tooltip},margin:this.isCaptionVisible?"small":"auto",id:this.labelId,for:t},this.label),this.tooltip&&a("duet-tooltip",{direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),this.caption&&a("duet-caption",{id:this.topCaptionId,size:"medium"},this.caption),a("div",{class:"duet-textarea-wrapper"},this.placeholder&&this.echoPlaceholder&&this.value&&a("duet-caption",{id:this.topCaptionPlaceholderId,class:"duet-textarea-placeholder",size:"small"},this.placeholder),a("textarea",{onInput:this.handleInput,onChange:this.handleChange,onBlur:this.handleBlur,onFocus:this.handleFocus,ref:t=>this.nativeInput=t,class:{"duet-textarea":!0,disabled:this.disabled},value:this.value,disabled:this.disabled,"aria-labelledby":this.accessibleLabelledBy?`${this.labelId} ${this.errorId} ${this.accessibleLabelledBy}`:`${this.labelId} ${this.errorId} `,"aria-controls":this.accessibleControls,"aria-autocomplete":this.accessibleAutocomplete,"aria-activedescendant":this.accessibleActiveDescendant,"aria-owns":this.accessibleOwns,"aria-describedby":`${this.isCaptionVisible?this.topCaptionId:""} ${this.accessibleDescribedBy}`,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,placeholder:this.placeholder,spellcheck:"false",required:this.required,minlength:this.minlength,maxlength:this.maxlength,role:this.role,name:this.name,id:t})),a("duet-grid",{alignment:"stretch"},a("duet-grid-item",{margin:"none",fill:!0},a("div",{class:"duet-textarea-help",id:this.errorId,"aria-live":"assertive","aria-relevant":"additions removals"},this.error&&a("span",null,this.error))),a("duet-grid-item",{margin:"none",class:"duet-character-count-caption"},this.counter&&a(u,{theme:this.theme,value:this.value,maxlength:this.maxlength,label:this.counterLabel})))))}get element(){return i(this)}static get watchers(){return{disallowPattern:["disallowedPatternChange"]}}};h.style='*.sc-duet-textarea,*.sc-duet-textarea::after,*.sc-duet-textarea::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-textarea-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:block;width:100%;max-width:100%;text-align:left}.sc-duet-textarea-h:last-child,.sc-duet-textarea-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-textarea-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-textarea-h{width:100% !important}}.duet-m-0.sc-duet-textarea-h{margin:0 !important}duet-tooltip.sc-duet-textarea{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-textarea{position:relative;top:4px;right:auto}}.duet-textarea-container.sc-duet-textarea{position:relative;width:100%;height:100%}.duet-textarea-container.sc-duet-textarea .duet-input-top-caption.sc-duet-textarea{display:none}.duet-textarea-container.duet-input-top-caption-shown.sc-duet-textarea .duet-input-top-caption.sc-duet-textarea{display:flex !important}.duet-textarea-wrapper.sc-duet-textarea{position:relative}.duet-textarea-placeholder.sc-duet-textarea{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:white}.duet-textarea.sc-duet-textarea{padding:15px !important;position:relative;z-index:100;display:block;width:100%;min-width:8rem;min-height:160px;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;font-variant-numeric:tabular-nums;line-height:1.25;color:#00294d;resize:vertical;background:white;border:1px solid #909599;border-radius:4px;transition:150ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#171c3a;border-color:#747475}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea{border-color:#de2362 !important}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea{border-color:#e02a0d !important}.duet-textarea.sc-duet-textarea::-webkit-input-placeholder{color:#657787;opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea::-webkit-input-placeholder{color:#747475}.duet-textarea.sc-duet-textarea:focus::-webkit-input-placeholder{color:#cfd2d4}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus::-webkit-input-placeholder{color:#cfcfd1}.duet-textarea.sc-duet-textarea::-moz-placeholder{color:#657787;opacity:1 !important}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea::-moz-placeholder{color:#747475}.duet-textarea.sc-duet-textarea:focus::-moz-placeholder{color:#cfd2d4}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus::-moz-placeholder{color:#cfcfd1}.duet-textarea.sc-duet-textarea:-ms-input-placeholder{color:#657787}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:-ms-input-placeholder{color:#747475}.duet-textarea.sc-duet-textarea:focus:-ms-input-placeholder{color:#cfd2d4}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus:-ms-input-placeholder{color:#cfcfd1}.duet-textarea[disabled].sc-duet-textarea{color:#657787 !important;cursor:default !important;background:#f5f8fa !important;border-color:#f5f8fa !important}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea{color:#747475 !important;background:#f5f5f7 !important;border-color:#f5f5f7 !important}.duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #909599}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #747475}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #e02a0d}.duet-textarea.sc-duet-textarea:focus{border-color:#0077b3;outline:0;box-shadow:0 0 0 1px #0077b3;transition:none}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{border-color:#171c3a;box-shadow:0 0 0 1px #171c3a}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{box-shadow:0 0 0 1px #e02a0d}.duet-textarea.sc-duet-textarea:not(:focus):not(:hover):invalid{box-shadow:none}.duet-textarea-help.sc-duet-textarea{font-size:0.875rem;line-height:1.25}.duet-textarea-help.sc-duet-textarea span.sc-duet-textarea{display:block;margin-top:8px}.has-error.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{color:#de2362}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{color:#e02a0d}.duet-label-hidden.sc-duet-textarea duet-label.sc-duet-textarea{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-character-count.sc-duet-textarea{display:block;margin:8px 0 0 auto}';export{h as duet_textarea}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import{r as t,c as e,h as i,H as n,g as s}from"./p-37dc064c.js";import{i as u}from"./p-4ebf1618.js";import{c as r}from"./p-c1325e35.js";import{a,b as o,c as h,d as b,e as d}from"./p-54f35a79.js";import{a as c,b as l,g as m}from"./p-ede854e1.js";import"./p-5a9d75e1.js";const p=(t,e)=>{switch(t=t.replace(/\s+/g,"").replace(/[^0-9\.,]+/g,""),e){case"fi-FI":case"sv-SE":t=t.replace(",",".");break;case"en-US":case"en-GB":t=t.replace(/,/g,"");break;default:throw new TypeError(`Unrecognised locale: ${e}`)}return parseFloat(t)},g=(t,e,i)=>Math.min(Math.max(t,e),i),v=class{constructor(i){t(this,i),this.duetChange=e(this,"duetChange",3),this.duetInput=e(this,"duetInput",3),this.duetBlur=e(this,"duetBlur",7),this.duetFocus=e(this,"duetFocus",7),this.inputId=r("DuetInput"),this.language=c(),this.locale=l(this.language).locale,this.unit=l(this.language).money,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLiveDefaults={fi:"{current} euroa valittuna",en:"{current} euros selected",sv:"{current} euro valt"},this.accessibleLive=m(this.accessibleLiveDefaults,this.language),this.accessibleLiveEnabled=!0,this.accessibleAddDefaults={fi:"Lisää summaan",en:"Add to the amount",sv:"Lägg till beloppet"},this.accessibleAdd=m(this.accessibleAddDefaults,this.language),this.accessibleSubtractDefaults={fi:"Vähennä summasta",en:"Subtract from the amount",sv:"Dra från beloppet"},this.accessibleSubtract=m(this.accessibleSubtractDefaults,this.language),this.theme="",this.margin="auto",this.expand=!1,this.min=0,this.labelDefaults={fi:"Nimilappu",en:"Label",sv:"Etikett"},this.label=m(this.labelDefaults,this.language),this.labelHidden=!1,this.max=1e6,this.error="",this.tooltip="",this.step=5e3,this.rounding=!0,this.disabled=!1,this.required=!1,this.handleFocus=()=>{this.focusedValue=this.value},this.handleKeyDown=t=>{a(t)||o(t)?this.add(t):h(t)||b(t)?this.subtract(t):d(t)&&this.clearValue()},this.handleChange=t=>{const e=t.target;if(e&&e.value){let i=this.cleanValue(e.value);(isNaN(i)||null==i)&&(i=this.min||0),this.setValue(i),this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:this.cleanValue(this.value).toString(),valueAsNumber:i})}else this.duetInput.emit({component:"duet-number-input",originalEvent:t,value:null,valueAsNumber:null})},this.handleBlur=t=>{const e=t.target;var i;if(e)if(e.value){let n=this.cleanValue(e.value);this.rounding&&(i=this.step,n=Math.round(n/i)*i),n=g(n,this.min,this.max),n===this.cleanValue(this.value)&&n===this.cleanValue(this.focusedValue)||(this.setValue(n),this.emitChange(t))}else this.duetChange.emit({originalEvent:t,value:null,valueAsNumber:null,component:"duet-number-input"})},this.emitChange=t=>{const e=this.cleanValue(this.value);this.duetChange.emit({originalEvent:t,value:e.toString(),valueAsNumber:e,component:"duet-number-input"})},this.cleanValue=t=>t?p(t,this.locale):null,this.localizeValue=t=>t.toLocaleString(this.locale),this.setValue=t=>{this.value=this.localizeValue(t),this.duetInputElement.value=`${this.value} ${this.unit}`},this.add=t=>{t&&t.preventDefault();const e=this.cleanValue(this.value);if(e===this.max)return;let i=null==e?this.min:e+this.step;i%this.step!=0&&(i-=i%this.step),i=g(i,this.min,this.max),this.value=this.localizeValue(i),this.emitChange(t)},this.subtract=t=>{t&&t.preventDefault();const e=this.cleanValue(this.value);if(e===this.min)return;let i=e-this.step;i%this.step!=0&&(i+=this.step-i%this.step),i=g(i,this.min,this.max),this.value=this.localizeValue(i),this.emitChange(t)}}componentWillLoad(){u(this),this.value&&(this.value=this.localizeValue(p(this.value,this.locale)))}async setFocus(t){this.duetInputElement.setFocus(t)}clearValue(){this.value=null,this.duetInputElement.value=""}formatAnnouncement(){const t=this.cleanValue(this.value);return null==t?"":this.accessibleLive.replace("{current}",t.toString(10))}render(){const t=this.identifier||this.inputId,e=`${this.localizeValue(this.max)} ${this.unit}`.length,s=this.cleanValue(this.value);return i(n,{class:{"duet-theme-turva":"turva"===this.theme,"duet-expand":this.expand,"duet-m-0":"none"===this.margin}},i("div",{class:"duet-number-container"},i("duet-input",{ref:t=>this.duetInputElement=t,onDuetChange:t=>this.handleChange(t),onDuetFocus:this.handleFocus,onDuetBlur:t=>this.handleBlur(t),onKeyDown:t=>this.handleKeyDown(t),label:this.label,value:this.value?`${this.value} ${this.unit}`:"",error:this.error,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":null!=s?s:"",maxlength:e,name:this.name,component:"number",required:this.required,disabled:this.disabled,role:this.role,labelHidden:this.labelHidden,tooltip:this.tooltip,identifier:t,theme:this.theme,margin:"none",expand:!0,numericKeyboard:!0,autoComplete:"off",type:"text",accessibleActiveDescendant:this.accessibleActiveDescendant,accessibleLabelledBy:this.accessibleLabelledBy,accessibleDescription:this.accessibleDescription,accessibleDetails:this.accessibleDetails,accessibleControls:this.accessibleControls,accessibleOwns:this.accessibleOwns,accessibleDescribedBy:this.accessibleDescribedBy},i("div",{class:{"duet-number-buttons":!0,"duet-no-label":this.labelHidden}},i("button",{"aria-controls":t,disabled:this.disabled,"aria-disabled":null==s||s===this.min?"true":"false",class:"duet-number-button duet-number-button-subtract",onClick:this.subtract,type:"button"},i("duet-visually-hidden",null,this.accessibleSubtract," ",this.step),i("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M.75 12.788a.75.75 0 0 1 0-1.5h22.5a.75.75 0 0 1 0 1.5z"/></svg>',size:"small",margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary"})),i("button",{"aria-controls":t,disabled:this.disabled,"aria-disabled":s===this.max?"true":"false",class:"duet-number-button duet-number-button-add",onClick:this.add,type:"button"},i("duet-visually-hidden",null,this.accessibleAdd," ",this.step),i("duet-icon",{icon:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z"/></svg>',size:"small",margin:"none",color:"turva"===this.theme?"secondary-turva":"secondary"})))),this.accessibleLiveEnabled&&i("duet-visually-hidden",{"aria-live":"polite","aria-atomic":"true","aria-relevant":"all"},this.formatAnnouncement())))}get element(){return s(this)}};v.style='*.sc-duet-number-input,*.sc-duet-number-input::after,*.sc-duet-number-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-number-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%;line-height:1.25;text-align:left;vertical-align:bottom}.sc-duet-number-input-h:last-child,.sc-duet-number-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-number-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-number-input-h{width:100% !important}.duet-m-0.sc-duet-number-input-h{margin:0 !important}.duet-number-container.sc-duet-number-input{position:relative;width:100%}.duet-number-buttons.sc-duet-number-input{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;width:96px;height:calc(100% - 2px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input{position:relative;display:inline-flex;align-items:center;justify-content:center;width:50%;height:100%;text-align:center;cursor:pointer;background:transparent;-webkit-appearance:none;appearance:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled{pointer-events:none}.duet-number-buttons.sc-duet-number-input .duet-number-button[aria-disabled=true].sc-duet-number-input duet-icon.sc-duet-number-input,.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:disabled duet-icon.sc-duet-number-input{opacity:0.4}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:active duet-icon.sc-duet-number-input{transform:translateY(1px)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{outline:0}.user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{z-index:2;box-shadow:0 0 0 2px #0077b3}.duet-theme-turva .user-is-tabbing.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:focus{box-shadow:0 0 0 2px #171c3a}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type{border-left:1px solid #cfd2d4}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:"";background:linear-gradient(to left, rgba(207, 210, 212, 0.2) 0%, rgba(207, 210, 212, 0.2) 1px, rgba(207, 210, 212, 0.1) 1px, rgba(207, 210, 212, 0) 100%)}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}.duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{position:absolute;top:20%;left:0;width:1px;height:60%;content:"";background:#e1e3e6}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:first-of-type::before{background:linear-gradient(to left, rgba(207, 207, 209, 0.2) 0%, rgba(207, 207, 209, 0.2) 1px, rgba(207, 207, 209, 0.1) 1px, rgba(207, 207, 209, 0) 100%)}.duet-theme-turva.sc-duet-number-input-h .duet-number-buttons.sc-duet-number-input .duet-number-button.sc-duet-number-input:last-of-type::before{background:#e4e4e6}';export{v as duet_number_input}
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,n,o){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function r(t){try{s(o.next(t))}catch(e){a(e)}}function c(t){try{s(o["throw"](t))}catch(e){a(e)}}function s(t){t.done?n(t.value):i(t.value).then(r,c)}s((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,i,a,r;return r={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function c(t){return function(e){return s([t,e])}}function s(r){if(o)throw new TypeError("Generator is already executing.");while(n)try{if(o=1,i&&(a=r[0]&2?i["return"]:r[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,r[1])).done)return a;if(i=0,a)r=[r[0]&2,a.value];switch(r[0]){case 0:case 1:a=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;i=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]<a[3])){n.label=r[1];break}if(r[0]===6&&n.label<a[1]){n.label=a[1];a=r;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(r);break}if(a[2])n.ops.pop();n.trys.pop();continue}r=e.call(t,n)}catch(c){r=[6,c];i=0}finally{o=a=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
+ /*!
3
+ * Built with Duet Design System
4
+ */System.register(["./p-12c89686.system.js","./p-33b3aba4.system.js","./p-5f6bd5db.system.js","./p-92639d0b.system.js","./p-a63f753e.system.js","./p-f69b64c9.system.js","./p-6190e2d6.system.js","./p-b6d51921.system.js","./p-18cc5627.system.js"],(function(t){"use strict";var e,n,o,i,a,r,c,s,u,d,l,b;return{setters:[function(t){e=t.r;n=t.c;o=t.h;i=t.H;a=t.g},function(t){r=t.i},function(t){c=t.c},function(t){s=t.d},function(t){u=t.i},function(t){d=t.g},function(t){l=t.g;b=t.s},function(){},function(){}],execute:function(){var h="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline-block;margin:0 auto}button.duet-action-button{white-space:nowrap}button.duet-action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:auto !important;padding:0 !important;margin:0 0 0 8px !important;color:#00294d;cursor:pointer;background:#f5f8fa;border-radius:50%;transition:background-color 300ms ease !important}.duet-theme-turva button.duet-action-button{color:#171c3a;background:#f5f5f7}button.duet-action-button duet-icon{display:block}@media (max-width: 35.9375em){button.duet-action-button{width:32px;height:32px}}button.duet-action-button:not(:disabled):hover{background:#e9ecee}.duet-theme-turva button.duet-action-button:not(:disabled):hover{background:#e9e9eb}button.duet-action-button:focus{outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva button.duet-action-button:focus{box-shadow:0 0 0 2px #171c3a !important}button.duet-action-button:active:focus{background:#dddfe1 !important;box-shadow:none}.duet-theme-turva button.duet-action-button:active:focus{background:#ddddde !important}button.duet-action-button:disabled{color:#909599;cursor:default;background:#f5f8fa;opacity:0.75}.duet-theme-turva button.duet-action-button:disabled{color:#747475;background:#f5f5f7}";var f=t("duet_action_button",function(){function t(t){var o=this;e(this,t);this.duetActionEvent=n(this,"duetActionEvent",6);this.numbersStore="";this.theme="";this.iconName="action-arrow-left-small";this.iconColor="currentColor";this.iconSize="xx-small";this.actionName="default-action";this.actionId=undefined;this.actionMeta=undefined;this.disabled=false;this.color="";this.background="";this.accessibleDescribedBy=undefined;this.accessibleDetails=undefined;this.accessibleLabelledBy=undefined;this.accessibleDescription=undefined;this.accessibleLabelsDefaults={en:{label:"Click to activate action"},fi:{label:"Klikkaa toiminnon aktivointiin"},sv:{label:"Klicka för att aktivera åtgärd"}};this.accessibleLabels=d(this.accessibleLabelsDefaults);this.accessibleControls="";this.listId=c("duet-action-button");this.emitPageEvent=s((function(t){o.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:o.actionId,name:o.actionName,meta:o.actionMeta,id:o.listId})}))}t.prototype.onKeyboardDown=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(u(t)){this.emitPageEvent(t)}return[2]}))}))};t.prototype.onMouseHandler=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){t.preventDefault();this.duetActionEvent.emit({component:"duet-action-button",originalEvent:t,action:this.actionName,id:this.actionId,meta:this.actionMeta});return[2]}))}))};t.prototype.componentWillLoad=function(){r(this)};t.prototype.render=function(){var t;var e=this;var n=this.color==="currentColor"?"currentColor":l(this.color,this.theme);var a=l(this.background,this.theme);var r=a?b(a,-.1):a;var c=a?"\n button.duet-action-button {\n background: ".concat(a," !important;\n }\n button.duet-action-button:not(:disabled):hover {\n background: ").concat(r," !important;\n }\n "):"";var s={color:n,"border-color":l(this.iconColor,this.theme),"border-width":"1px","border-style":"solid"};return o(i,{onKeyDown:function(t){return e.onKeyboardDown(t)}},o("style",{innerHTML:c}),o("button",{part:"button",style:s,disabled:this.disabled,id:this.listId,class:(t={"duet-action-button":true,"duet-action-button--disabled":this.disabled},t["duet-action-button--".concat(this.theme)]=this.theme!=="",t),type:"button",onClick:function(t){return e.onMouseHandler(t)},"aria-label":this.accessibleLabels.label,"aria-labelledby":this.accessibleLabelledBy,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,"aria-details":this.accessibleDetails,"aria-controls":this.accessibleControls},o("duet-icon",{part:"icon",name:this.iconName,color:this.iconColor,margin:"none",size:this.iconSize}),o("duet-visually-hidden",null,o("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());f.style=h}}}));
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-33a07cd5.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-ab2bfa68.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
5
6
  import { c as createID } from './create-id-981107da.js';
6
7
  import { d as debounce } from './js-utils-52e0944c.js';
7
8
  import { i as isKeyboardClick } from './keyboard-utils-88ea1007.js';
8
9
  import { g as getLocaleString } from './language-utils-bf701d37.js';
9
- import { i as inheritGlobalTheme } from './themeable-component-e8fc98bf.js';
10
10
  import { g as getColorByName, s as shadeRGBColor } from './token-utils-1f9435bc.js';
11
11
  import './string-utils-5954f458.js';
12
12
  import './tokens.module-f4572ed7.js';
@@ -67,15 +67,23 @@ const DuetActionButton = class {
67
67
  /**
68
68
  * Described By id
69
69
  */
70
- this.ariaDescribedBy = undefined;
70
+ this.accessibleDescribedBy = undefined;
71
+ /**
72
+ * Details of the component
73
+ */
74
+ this.accessibleDetails = undefined;
75
+ /**
76
+ * String of id's that indicate alternative labels elements
77
+ */
78
+ this.accessibleLabelledBy = undefined;
71
79
  /**
72
80
  * Aria description the button
73
81
  */
74
- this.ariaDescription = undefined;
82
+ this.accessibleDescription = undefined;
75
83
  /**
76
84
  * Default pagination labels
77
85
  */
78
- this.ariaLabelsDefaults = {
86
+ this.accessibleLabelsDefaults = {
79
87
  en: {
80
88
  label: "Click to activate action",
81
89
  },
@@ -89,11 +97,11 @@ const DuetActionButton = class {
89
97
  /**
90
98
  * Default pagination labels
91
99
  */
92
- this.ariaLabels = getLocaleString(this.ariaLabelsDefaults);
100
+ this.accessibleLabels = getLocaleString(this.accessibleLabelsDefaults);
93
101
  /**
94
102
  * Used to indicate which dom element with ID this element controls
95
103
  */
96
- this.ariaControls = "";
104
+ this.accessibleControls = "";
97
105
  this.listId = createID("duet-action-button");
98
106
  /**
99
107
  * Private methods.
@@ -161,7 +169,7 @@ const DuetActionButton = class {
161
169
  "duet-action-button": true,
162
170
  "duet-action-button--disabled": this.disabled,
163
171
  [`duet-action-button--${this.theme}`]: this.theme !== "",
164
- }, type: "button", onClick: e => this.onMouseHandler(e), "aria-label": this.ariaLabels.label, "aria-description": this.ariaDescription, "aria-describedby": this.ariaDescribedBy, "aria-controls": this.ariaControls }, h("duet-icon", { part: "icon", name: this.iconName, color: this.iconColor, margin: "none", size: this.iconSize }), h("duet-visually-hidden", null, h("slot", null)))));
172
+ }, type: "button", onClick: e => this.onMouseHandler(e), "aria-label": this.accessibleLabels.label, "aria-labelledby": this.accessibleLabelledBy, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, "aria-details": this.accessibleDetails, "aria-controls": this.accessibleControls }, h("duet-icon", { part: "icon", name: this.iconName, color: this.iconColor, margin: "none", size: this.iconSize }), h("duet-visually-hidden", null, h("slot", null)))));
165
173
  }
166
174
  get element() { return getElement(this); }
167
175
  };
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-33a07cd5.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-ab2bfa68.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
5
6
  import { g as getLocaleString } from './language-utils-bf701d37.js';
6
- import { i as inheritGlobalTheme } from './themeable-component-e8fc98bf.js';
7
7
  import './string-utils-5954f458.js';
8
8
 
9
9
  const duetAlertCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;visibility:hidden;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert{margin-bottom:16px !important;position:relative;width:100%;padding:16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:#00294d;background:#f2f8fb;border:1px solid #0077b3;border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert.duet-p-0{padding:0 !important}.duet-alert.duet-m-0{margin:0 !important}.duet-alert.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a;background:#f3f4f5;border-color:#171c3a}.duet-alert.warning{background:#fffbf4;border-color:#f7b228}.duet-alert.warning.duet-theme-turva{background:#fffaf3;border-color:#faa40f}.duet-alert.danger{background:#fdf4f7;border-color:#de2362}.duet-alert.danger.duet-theme-turva{background:#fdf4f3;border-color:#e02a0d}.duet-alert.success{background:#f2f9f7;border-color:#00875a}.duet-alert.success.duet-theme-turva{background:#f3f9f6;border-color:#08874e}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-is-dismissible .duet-alert-container{text-align:left}";
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-33a07cd5.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-e8fc98bf.js';
4
+ import { r as registerInstance, h, H as Host } from './index-ab2bfa68.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
 
7
7
  const duetBadgeCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{width:100%;padding:4.4444444444px 12px 5.4444444444px;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.75rem;font-style:normal;font-weight:600;line-height:1.25;color:#00294d;text-align:center;word-break:break-word;vertical-align:middle;background:#e6f1f7;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:700;color:#171c3a;background:#e8e8eb}.duet-badge.warning{background:#fef3df}.duet-badge.warning.duet-theme-turva{background:#fef1db}.duet-badge.danger{background:#fce9ef}.duet-badge.danger.duet-theme-turva{background:#fceae7}.duet-badge.success{background:#e6f3ef}.duet-badge.success.duet-theme-turva{background:#e6f3ed}";
8
8
 
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-33a07cd5.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-e8fc98bf.js';
4
+ import { r as registerInstance, h, H as Host } from './index-ab2bfa68.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
 
7
7
  const duetBreadcrumbCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;color:#00294d;text-decoration:none}.duet-breadcrumb:hover{color:#004d80}.duet-breadcrumb.duet-theme-turva{color:#171c3a}.duet-breadcrumb.duet-theme-turva:hover{color:#940925}.duet-breadcrumb:focus{outline:0}.duet-breadcrumb:active{opacity:0.75}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
8
8
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, F as Fragment, H as Host, g as getElement } from './index-33a07cd5.js';
4
+ import { r as registerInstance, h, F as Fragment, H as Host, g as getElement } from './index-ab2bfa68.js';
5
5
  import { a as actionArrowRightSmall } from './action-arrow-right-small-f9d2ba83.js';
6
+ import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
7
  import { g as getLocaleString } from './language-utils-bf701d37.js';
7
- import { i as inheritGlobalTheme } from './themeable-component-e8fc98bf.js';
8
8
  import './string-utils-5954f458.js';
9
9
 
10
10
  const duetBreadcrumbsCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}.duet-breadcrumbs{font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-breadcrumbs ol{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:10px 16px;color:#00294d;list-style:none;background:#f3f9fc;border-bottom:1px solid #e1e3e6}@media (min-width: 62em){.duet-breadcrumbs ol{padding:10px 36px}}.duet-breadcrumbs.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-breadcrumbs.duet-theme-turva ol{color:#171c3a;background:#f5f5f7}.duet-breadcrumbs .duet-breadrumbs-arrow{display:inherit;align-items:center;justify-content:center;width:0.375rem;height:0.375rem}.duet-breadcrumbs .hide{display:none}";
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-33a07cd5.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-ab2bfa68.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
5
6
  import { D as DuetStringsExternalDefaults } from './common-strings-97e04e4b.js';
6
7
  import { a as getLanguage, g as getLocaleString } from './language-utils-bf701d37.js';
7
- import { i as inheritGlobalTheme } from './themeable-component-e8fc98bf.js';
8
8
  import { g as getColorByName } from './token-utils-1f9435bc.js';
9
9
  import './string-utils-5954f458.js';
10
10
  import './tokens.module-f4572ed7.js';
@@ -20,6 +20,18 @@ const DuetButton = class {
20
20
  * Use this property to add an aria-haspopup attribute to a button, if you are using it as a menu button.
21
21
  */
22
22
  this.accessiblePopup = "false";
23
+ /**
24
+ * Details of the component
25
+ */
26
+ this.accessibleDetails = undefined;
27
+ /**
28
+ * String of id's that indicate alternative labels elements
29
+ */
30
+ this.accessibleLabelledBy = undefined;
31
+ /**
32
+ * Aria description the button
33
+ */
34
+ this.accessibleDescription = undefined;
23
35
  /**
24
36
  * Loading state of the button
25
37
  */
@@ -228,6 +240,9 @@ const DuetButton = class {
228
240
  "aria-activedescendant": this.accessibleActiveDescendant,
229
241
  "aria-owns": this.accessibleOwns,
230
242
  "aria-describedby": this.accessibleDescribedBy,
243
+ "aria-labelledby": this.accessibleLabelledBy,
244
+ "aria-details": this.accessibleDetails,
245
+ "aria-description": this.accessibleDescription,
231
246
  };
232
247
  return (h(Host, { onClick: this.handleClick, class: {
233
248
  "duet-m-0": this.margin === "none",
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host, g as getElement, F as Fragment } from './index-33a07cd5.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-e8fc98bf.js';
4
+ import { r as registerInstance, h, H as Host, g as getElement, F as Fragment } from './index-ab2bfa68.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
  import { s as sanitizeString } from './string-utils-5954f458.js';
7
7
  import { g as getColorByName } from './token-utils-1f9435bc.js';
8
8
  import { a as actionNewWindowSmall } from './action-new-window-small-1945be91.js';
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-33a07cd5.js';
4
+ import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-ab2bfa68.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
5
6
  import { c as createID } from './create-id-981107da.js';
6
7
  import { i as isKeyboardClick } from './keyboard-utils-88ea1007.js';
7
8
  import { s as sanitizeString } from './string-utils-5954f458.js';
8
- import { i as inheritGlobalTheme } from './themeable-component-e8fc98bf.js';
9
9
  import { g as getColorByName } from './token-utils-1f9435bc.js';
10
10
  import './tokens.module-f4572ed7.js';
11
11
 
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-33a07cd5.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-ab2bfa68.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
5
6
  import { c as createID } from './create-id-981107da.js';
6
- import { i as inheritGlobalTheme } from './themeable-component-e8fc98bf.js';
7
7
 
8
8
  const duetCheckboxCss = "*.sc-duet-checkbox,*.sc-duet-checkbox::after,*.sc-duet-checkbox::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-checkbox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-checkbox-h:last-child,.sc-duet-checkbox-h:last-of-type{margin-right:0 !important}.sc-duet-checkbox-h:last-child:not(:only-child){margin-bottom:0 !important}.duet-m-0.sc-duet-checkbox-h{margin:0 !important}.duet-label.sc-duet-checkbox{position:relative;z-index:100;display:inline;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:#00294d;vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva.sc-duet-checkbox .duet-label.sc-duet-checkbox{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a}.duet-label.sc-duet-checkbox span.sc-duet-checkbox{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container.sc-duet-checkbox{position:relative;width:100%;height:100%}.duet-checkbox.sc-duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:\"\";background:white;border:1px solid #00294d;border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:#171c3a}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:#00294d;border:1px solid #00294d}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:#171c3a;border-color:#171c3a}.duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox{position:static}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:\"\";background:transparent url(\"data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E\") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled].sc-duet-checkbox{cursor:default}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:#657787}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:#747475}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:#cfd2d4}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:#cfcfd1}.duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:#657787;border:1px solid #657787}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:#747475;border-color:#747475}.duet-label-hidden.sc-duet-checkbox .duet-label.sc-duet-checkbox span.sc-duet-checkbox{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
9
9
 
@@ -21,6 +21,18 @@ const DuetCheckbox = class {
21
21
  * Controls the margin of the component.
22
22
  */
23
23
  this.margin = "auto";
24
+ /**
25
+ * Aria Details of the component
26
+ */
27
+ this.accessibleDetails = undefined;
28
+ /**
29
+ * String of id's that indicate alternative labels elements
30
+ */
31
+ this.accessibleLabelledBy = undefined;
32
+ /**
33
+ * Aria description the button
34
+ */
35
+ this.accessibleDescription = undefined;
24
36
  /**
25
37
  * Set whether the input is required or not. Please note that this is required for
26
38
  * accessible inputs when the user is required to fill them. When using this property
@@ -104,7 +116,7 @@ const DuetCheckbox = class {
104
116
  "duet-checkbox-container": true,
105
117
  "duet-label-hidden": this.labelHidden,
106
118
  "duet-theme-turva": this.theme === "turva",
107
- } }, h("input", { ref: input => (this.nativeInput = input), type: "checkbox", onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, value: this.value, class: { "duet-checkbox": true, disabled: this.disabled }, checked: this.checked, disabled: this.disabled, tabindex: this.accessibleIndex, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, required: this.required, role: this.role, name: this.name, id: identifier }), h("label", { class: "duet-label", htmlFor: identifier }, h("span", null, this.label)))));
119
+ } }, h("input", { ref: input => (this.nativeInput = input), type: "checkbox", onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, value: this.value, class: { "duet-checkbox": true, disabled: this.disabled }, checked: this.checked, disabled: this.disabled, tabindex: this.accessibleIndex, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, required: this.required, role: this.role, name: this.name, id: identifier }), h("label", { class: "duet-label", htmlFor: identifier }, h("span", null, this.label)))));
108
120
  }
109
121
  get element() { return getElement(this); }
110
122
  };
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-33a07cd5.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-ab2bfa68.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
5
6
  import { D as DuetStringsExternalDefaults } from './common-strings-97e04e4b.js';
6
7
  import { c as createID } from './create-id-981107da.js';
7
- import { F as FocusGuard } from './focus-utils-dbdd6235.js';
8
+ import { F as FocusGuard } from './focus-utils-3af074ea.js';
8
9
  import { i as isKeyboardClick, h as isQuestionKey, f as isEscapeKey } from './keyboard-utils-88ea1007.js';
9
10
  import { g as getLocaleString, a as getLanguage } from './language-utils-bf701d37.js';
10
- import { i as inheritGlobalTheme } from './themeable-component-e8fc98bf.js';
11
11
  import { f as findCheckedOption, w as watchForOptions } from './watch-options-dd55bce8.js';
12
12
  import './string-utils-5954f458.js';
13
13
 
@@ -52,6 +52,18 @@ const DuetChoice = class {
52
52
  * @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
53
53
  */
54
54
  this.accessibleLabelInfoButton = getLocaleString(this.accessibleLabelInfoButtonDefaults);
55
+ /**
56
+ * Aria Details of the component
57
+ */
58
+ this.accessibleDetails = undefined;
59
+ /**
60
+ * String of id's that indicate alternative labels elements
61
+ */
62
+ this.accessibleLabelledBy = undefined;
63
+ /**
64
+ * Aria description the button
65
+ */
66
+ this.accessibleDescription = undefined;
55
67
  /**
56
68
  * Additional caption to show inside the label of the choice button.
57
69
  */
@@ -288,7 +300,7 @@ const DuetChoice = class {
288
300
  info: this.isInfoOpen,
289
301
  collapsible: this.collapsible,
290
302
  "duet-p-0": this.padding === "none",
291
- } }, h("input", { class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.disabled || this.groupDisabled, required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input) }), h("label", { htmlFor: identifier, class: { "duet-choice-label": true, "no-hover": this.isHovering }, onClick: this.onClick }, this.icon && (h("div", { class: "duet-choice-card-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", null, h("div", null, this.label), this.caption && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("duet-caption", { margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("slot", { name: "additional" })))), h("div", null, h("div", { class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
303
+ } }, h("input", { class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.disabled || this.groupDisabled, required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input) }), h("label", { htmlFor: identifier, class: { "duet-choice-label": true, "no-hover": this.isHovering }, onClick: this.onClick }, this.icon && (h("div", { class: "duet-choice-card-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", null, h("div", null, this.label), this.caption && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("duet-caption", { margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("slot", { name: "additional" })))), h("div", null, h("div", { class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
292
304
  "duet-choice-info-toggle": true,
293
305
  "duet-theme-turva": this.theme === "turva",
294
306
  }, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.disabled || this.groupDisabled, "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, "aria-flowto": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button" }, h("duet-visually-hidden", { "aria-hidden": !this.isBlurred ? "true" : "false" }, this.accessibleLabelInfoButton), h("div", { class: "duet-choice-info-icon" }, h("duet-icon", { icon: messagingInfo.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-33a07cd5.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-ab2bfa68.js';
5
5
  import { a as actionArrowDownSmall } from './action-arrow-down-small-82273dc8.js';
6
6
  import { f as font_size_medium, t as tokens } from './tokens-8ff8c570.js';
7
+ import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
7
8
  import { c as createID } from './create-id-981107da.js';
8
9
  import { i as isKeyboardClick } from './keyboard-utils-88ea1007.js';
9
10
  import { s as sanitizeString } from './string-utils-5954f458.js';
10
- import { i as inheritGlobalTheme } from './themeable-component-e8fc98bf.js';
11
11
 
12
12
  const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display: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:1rem;font-weight:600;line-height:1.5;color:#00294d}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;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;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:#00294d}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a}:host([open]) .duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;align-items:center;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:#00294d;cursor:pointer;border-radius:4px}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:#171c3a}.duet-collapsible-heading .duet-collapsible-heading-content{flex:1}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva) .duet-collapsible-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:#00294d;transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}";
13
13
 
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { h, F as Fragment, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-33a07cd5.js';
4
+ import { h, F as Fragment, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-ab2bfa68.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
5
6
  import { d as debounce } from './js-utils-52e0944c.js';
6
7
  import { n as isEnterKey, f as isEscapeKey, o as isTabKey, b as isArrowUpKey, c as isArrowDownKey } from './keyboard-utils-88ea1007.js';
7
8
  import { g as getLocaleString, a as getLanguage } from './language-utils-bf701d37.js';
8
9
  import { p as parsePossibleJSON } from './string-utils-5954f458.js';
9
- import { i as inheritGlobalTheme } from './themeable-component-e8fc98bf.js';
10
10
 
11
11
  const SelectSingle = ({ item, search = "", selected }) => {
12
12
  const regEx = search !== "" ? new RegExp("(" + search.split(" ").join("|") + ")", "gi") : undefined;
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-33a07cd5.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-e8fc98bf.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-ab2bfa68.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
 
7
7
  const duetCookieConsentCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:fixed;right:0;bottom:0;left:0;z-index:950;display:block;width:100%;box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 48em){:host{right:28px;bottom:28px;left:auto;width:25rem}}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-cookie-consent{padding:20px;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;color:white !important;background-color:rgba(0, 21, 39, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent{background:rgba(0, 21, 39, 0.8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.duet-cookie-consent.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";background-color:rgba(12, 14, 29, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent.duet-theme-turva{background:rgba(12, 14, 29, 0.8)}}@media (min-width: 48em){.duet-cookie-consent{padding:20px;border-radius:4px}}.duet-cookie-consent-content{display:flex;align-items:center;max-width:1110px;margin:0 auto}.duet-cookie-consent-content .expand{flex:1}::slotted(a){font-weight:600;color:white !important;text-decoration:underline;white-space:nowrap}::slotted(a[target=_blank]){padding-right:16px;background:url(\"data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjUgMmExLjUgMS41IDAgMDEuMTQgM0gzLjc1Yy0uMzggMC0uNy4yOC0uNzQuNjVsLS4wMS4xdjE0LjVjMCAuMzguMjguNy42NS43NGwuMS4wMWgxNC41Yy4zOCAwIC43LS4yOC43NC0uNjVsLjAxLS4xdi02Ljg5YTEuNSAxLjUgMCAwMTMgMHY2Ljg5QTMuNzUgMy43NSAwIDAxMTguMjUgMjRIMy43NUEzLjc1IDMuNzUgMCAwMTAgMjAuMjVWNS43NUEzLjc1IDMuNzUgMCAwMTMuNzUgMnptMTItMmMuNzggMCAxLjQyLjYgMS41IDEuMzZWNy41YTEuNSAxLjUgMCAwMS0zIC4xNFY1LjEybC01LjQ0IDUuNDRhMS41IDEuNSAwIDAxLTIuMjItMmwuMS0uMTJMMTguODggM0gxNi41QTEuNSAxLjUgMCAwMTE1IDEuNjRWMS41YzAtLjc4LjYtMS40MiAxLjM2LTEuNWguMTR6Ii8+PC9zdmc+\") no-repeat right 50%;background-size:12px 10px}::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva ::slotted(a:focus){outline:0;box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
8
8
 
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-33a07cd5.js';
4
+ import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-ab2bfa68.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
5
6
  import { c as createID } from './create-id-981107da.js';
6
- import { F as FocusGuard } from './focus-utils-dbdd6235.js';
7
+ import { F as FocusGuard } from './focus-utils-3af074ea.js';
7
8
  import { a as getLanguage, g as getLocaleString } from './language-utils-bf701d37.js';
8
- import { i as inheritGlobalTheme } from './themeable-component-e8fc98bf.js';
9
9
  import './string-utils-5954f458.js';
10
10
 
11
11
  const formatOptionsShort = { day: "numeric", month: "long" };
@@ -320,7 +320,6 @@ const DatePickerDay = ({ focusedDay, today, day, language, onDaySelect, onKeyboa
320
320
  * @param to
321
321
  */
322
322
  function range(from, to) {
323
- console.log({ from, to });
324
323
  var result = [];
325
324
  for (var i = from; i <= to; i++) {
326
325
  result.push(i);
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, g as getElement, H as Host } from './index-33a07cd5.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-e8fc98bf.js';
4
+ import { r as registerInstance, h, g as getElement, H as Host } from './index-ab2bfa68.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
 
7
7
  const duetDividerCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:36px !important;margin-bottom:28px;background:#e1e3e6}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:#e4e4e6}";
8
8
 
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-33a07cd5.js';
4
+ import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-ab2bfa68.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
5
6
  import { f as fieldSorter, d as debounce } from './js-utils-52e0944c.js';
6
7
  import { i as isKeyboardClick } from './keyboard-utils-88ea1007.js';
7
8
  import { g as getLocaleString, s as sanitizeString } from './language-utils-bf701d37.js';
8
- import { i as inheritGlobalTheme } from './themeable-component-e8fc98bf.js';
9
9
  import { m as mediaQueryMedium, h as mediaQueryLarge, i as mediaQueryXLarge, j as mediaQueryXxLarge, k as mediaQueryXxxLarge, l as mediaQuerySmall, n as sizeNavigation, s as sizeHeader } from './tokens.module-f4572ed7.js';
10
10
  import { c as createID } from './create-id-981107da.js';
11
11
  import './string-utils-5954f458.js';
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-33a07cd5.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-e8fc98bf.js';
4
+ import { r as registerInstance, h, H as Host } from './index-ab2bfa68.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-cb76be7c.js';
6
6
 
7
7
  const duetEmptyStateCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;height:100%}.duet-empty-state{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%;padding:48px;color:#00294d;text-align:center;background:#f5f8fa;border-radius:4px}.duet-empty-state.duet-theme-turva{color:#171c3a;background:#f5f5f7}";
8
8