@duetds/components 10.3.1 → 10.5.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 (452) hide show
  1. package/hydrate/index.js +501 -306
  2. package/hydrate/index.mjs +501 -306
  3. package/lib/cjs/{a11y-utils-dXXDBTyF.js → a11y-utils-DaAO4N9d.js} +1 -1
  4. package/lib/cjs/{app-globals-CyPV2FZK.js → app-globals-CHNvdfQj.js} +1 -1
  5. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-alert.cjs.entry.js +4 -4
  7. package/lib/cjs/duet-badge.cjs.entry.js +29 -6
  8. package/lib/cjs/duet-banner.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  10. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
  11. package/lib/cjs/duet-button_2.cjs.entry.js +5 -5
  12. package/lib/cjs/duet-callout.cjs.entry.js +5 -5
  13. package/lib/cjs/duet-caption_4.cjs.entry.js +12 -12
  14. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  15. package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
  16. package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
  17. package/lib/cjs/duet-chip.cjs.entry.js +8 -9
  18. package/lib/cjs/duet-choice_2.cjs.entry.js +22 -22
  19. package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-combobox.cjs.entry.js +26 -10
  21. package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
  22. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  23. package/lib/cjs/duet-date-picker.cjs.entry.js +11 -10
  24. package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
  25. package/lib/cjs/duet-editable-table_3.cjs.entry.js +10 -10
  26. package/lib/cjs/duet-empty-state.cjs.entry.js +33 -7
  27. package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
  28. package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
  29. package/lib/cjs/duet-footer.cjs.entry.js +8 -8
  30. package/lib/cjs/duet-grid_2.cjs.entry.js +15 -8
  31. package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
  32. package/lib/cjs/duet-hero.cjs.entry.js +9 -9
  33. package/lib/cjs/duet-icon.cjs.entry.js +5 -5
  34. package/lib/cjs/duet-indicator.cjs.entry.js +5 -5
  35. package/lib/cjs/duet-input_2.cjs.entry.js +79 -18
  36. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  37. package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
  38. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
  39. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
  40. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
  41. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
  42. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
  43. package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
  44. package/lib/cjs/duet-modal.cjs.entry.js +12 -12
  45. package/lib/cjs/duet-multiselect.cjs.entry.js +11 -11
  46. package/lib/cjs/duet-nav.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
  48. package/lib/cjs/duet-number-input.cjs.entry.js +13 -11
  49. package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
  50. package/lib/cjs/duet-page-heading.cjs.entry.js +20 -5
  51. package/lib/cjs/duet-pagination_2.cjs.entry.js +17 -18
  52. package/lib/cjs/duet-panel.cjs.entry.js +4 -4
  53. package/lib/cjs/duet-phone-input.cjs.entry.js +17 -5
  54. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +21 -11
  55. package/lib/cjs/duet-progress.cjs.entry.js +3 -3
  56. package/lib/cjs/duet-promo-card.cjs.entry.js +5 -5
  57. package/lib/cjs/duet-radio_2.cjs.entry.js +10 -11
  58. package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
  59. package/lib/cjs/duet-scrollable_3.cjs.entry.js +15 -15
  60. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-select.cjs.entry.js +10 -10
  62. package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
  63. package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
  64. package/lib/cjs/duet-share-chart.cjs.entry.js +6 -6
  65. package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
  66. package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
  67. package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
  68. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
  69. package/lib/cjs/duet-slideout-panel.cjs.entry.js +11 -11
  70. package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
  71. package/lib/cjs/duet-status-icon.cjs.entry.js +7 -3
  72. package/lib/cjs/duet-step_2.cjs.entry.js +6 -6
  73. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
  74. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
  75. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
  76. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
  77. package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -7
  78. package/lib/cjs/duet-textarea.cjs.entry.js +14 -21
  79. package/lib/cjs/duet-toggle.cjs.entry.js +8 -8
  80. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
  81. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
  82. package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
  83. package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
  84. package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
  85. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +13 -11
  86. package/lib/cjs/duet-tooltip.cjs.entry.js +24 -7
  87. package/lib/cjs/duet-tray.cjs.entry.js +5 -5
  88. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  89. package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
  90. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  91. package/lib/cjs/duet.cjs.js +3 -3
  92. package/lib/cjs/{errorcodes.utils-DQ-I8x2z.js → errorcodes.utils-Dkf_MfrJ.js} +1 -1
  93. package/lib/cjs/{focus-utils-DstNW4_h.js → focus-utils-BuGg0Oha.js} +1 -1
  94. package/lib/cjs/{index-B_QTwXEx.js → index-ZxE6MB5V.js} +5 -5
  95. package/lib/cjs/{label-yAj5CKm3.js → label-CpPOBfjS.js} +1 -1
  96. package/lib/cjs/{language-utils-DjtvVntE.js → language-utils-C7Z0KYg-.js} +1 -1
  97. package/lib/cjs/loader.cjs.js +3 -3
  98. package/lib/cjs/{slot-utils-YUU0XWn9.js → slot-utils-BXdHT3A1.js} +2 -2
  99. package/lib/cjs/{themeable-component-h3OzJgCb.js → themeable-component-CIDaln0Z.js} +1 -1
  100. package/lib/collection/components/duet-badge/duet-badge.css +66 -5
  101. package/lib/collection/components/duet-badge/duet-badge.js +49 -2
  102. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  103. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  104. package/lib/collection/components/duet-button/duet-button.css +5 -0
  105. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  106. package/lib/collection/components/duet-chip/duet-chip.js +5 -6
  107. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  108. package/lib/collection/components/duet-choice/duet-choice.js +12 -39
  109. package/lib/collection/components/duet-choice-group/duet-choice-group.js +6 -8
  110. package/lib/collection/components/duet-combobox/duet-combobox.js +22 -6
  111. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  112. package/lib/collection/components/duet-date-picker/duet-date-picker.css +0 -1
  113. package/lib/collection/components/duet-date-picker/duet-date-picker.js +5 -2
  114. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  115. package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -2
  116. package/lib/collection/components/duet-empty-state/duet-empty-state.css +55 -2
  117. package/lib/collection/components/duet-empty-state/duet-empty-state.js +124 -6
  118. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  119. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  120. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  121. package/lib/collection/components/duet-grid/duet-grid.css +23 -0
  122. package/lib/collection/components/duet-grid/duet-grid.js +29 -2
  123. package/lib/collection/components/duet-grid-item/duet-grid-item.css +5 -0
  124. package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
  125. package/lib/collection/components/duet-heading/duet-heading.css +62 -0
  126. package/lib/collection/components/duet-heading/duet-heading.js +40 -2
  127. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  128. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  129. package/lib/collection/components/duet-indicator/duet-indicator.js +2 -2
  130. package/lib/collection/components/duet-input/duet-input.css +49 -5
  131. package/lib/collection/components/duet-input/duet-input.js +152 -15
  132. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  133. package/lib/collection/components/duet-link/duet-link.js +2 -2
  134. package/lib/collection/components/duet-list/duet-list.js +1 -1
  135. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  136. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  137. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
  138. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  139. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  140. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  141. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  142. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  143. package/lib/collection/components/duet-modal/duet-modal.js +7 -7
  144. package/lib/collection/components/duet-multiselect/duet-multiselect.css +11 -2
  145. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  146. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  147. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  148. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
  149. package/lib/collection/components/duet-number-input/duet-number-input.js +10 -9
  150. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  151. package/lib/collection/components/duet-page-heading/duet-page-heading.css +20 -1
  152. package/lib/collection/components/duet-page-heading/duet-page-heading.js +58 -2
  153. package/lib/collection/components/duet-pagination/duet-pagination.js +12 -13
  154. package/lib/collection/components/duet-panel/duet-panel.js +2 -2
  155. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  156. package/lib/collection/components/duet-phone-input/duet-phone-input.js +13 -1
  157. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +13 -3
  158. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  159. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  160. package/lib/collection/components/duet-radio/duet-radio.js +6 -7
  161. package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
  162. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  163. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  164. package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
  165. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  166. package/lib/collection/components/duet-select/duet-select.css +11 -2
  167. package/lib/collection/components/duet-select/duet-select.js +5 -5
  168. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  169. package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
  170. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
  171. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  172. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  173. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  174. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
  175. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  176. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  177. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  178. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  179. package/lib/collection/components/duet-status-icon/duet-status-icon.css +39 -0
  180. package/lib/collection/components/duet-status-icon/duet-status-icon.js +13 -2
  181. package/lib/collection/components/duet-step/duet-step.js +2 -2
  182. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  183. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  184. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  185. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  186. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  187. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  188. package/lib/collection/components/duet-tab/duet-tab.js +2 -2
  189. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  190. package/lib/collection/components/duet-table/duet-table.js +2 -2
  191. package/lib/collection/components/duet-textarea/duet-textarea.css +11 -2
  192. package/lib/collection/components/duet-textarea/duet-textarea.js +8 -15
  193. package/lib/collection/components/duet-toggle/duet-toggle.js +3 -3
  194. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  195. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  196. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  197. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  198. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  199. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +18 -4
  200. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +25 -3
  201. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +1 -1
  202. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +3 -3
  203. package/lib/collection/components/duet-tooltip/duet-tooltip.js +47 -4
  204. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  205. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  206. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  207. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  208. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  209. package/lib/collection/utils/math.utils.js +1 -0
  210. package/lib/collection/utils/slot-utils.js +1 -1
  211. package/lib/duet/duet.esm.js +1 -1
  212. package/lib/duet/{p-c8e520b6.entry.js → p-02d8e844.entry.js} +1 -1
  213. package/lib/duet/p-06297bd8.entry.js +4 -0
  214. package/lib/duet/p-0c04f9f5.entry.js +4 -0
  215. package/lib/duet/p-110c7572.entry.js +4 -0
  216. package/lib/duet/p-18a8ea12.entry.js +4 -0
  217. package/lib/duet/{p-d8bc628c.entry.js → p-19863cdf.entry.js} +1 -1
  218. package/lib/duet/p-1bca9931.entry.js +4 -0
  219. package/lib/duet/{p-0cc2921b.entry.js → p-1da7703d.entry.js} +1 -1
  220. package/lib/duet/{p-690beb31.entry.js → p-20a8ef81.entry.js} +1 -1
  221. package/lib/duet/p-268b3066.entry.js +4 -0
  222. package/lib/duet/{p-2e126e15.entry.js → p-2dd7d75e.entry.js} +1 -1
  223. package/lib/duet/{p-5fb1092c.entry.js → p-2f8a47e2.entry.js} +1 -1
  224. package/lib/duet/{p-608ebd47.entry.js → p-30108edc.entry.js} +1 -1
  225. package/lib/duet/{p-3a45c3a4.entry.js → p-317a1fc0.entry.js} +1 -1
  226. package/lib/duet/{p-ae778cb1.entry.js → p-317e81f3.entry.js} +1 -1
  227. package/lib/duet/p-3277233e.entry.js +4 -0
  228. package/lib/duet/{p-efa1cd0b.entry.js → p-3690576a.entry.js} +1 -1
  229. package/lib/duet/{p-d7506eaa.entry.js → p-38973524.entry.js} +1 -1
  230. package/lib/duet/{p-3d00efb7.entry.js → p-3b2fba0f.entry.js} +1 -1
  231. package/lib/duet/{p-4b8293b3.entry.js → p-3f35fce3.entry.js} +1 -1
  232. package/lib/duet/p-3f3c6e64.entry.js +4 -0
  233. package/lib/duet/{p-06f17fe7.entry.js → p-3f7afd87.entry.js} +1 -1
  234. package/lib/duet/p-407f7f03.entry.js +4 -0
  235. package/lib/duet/p-40fa7371.entry.js +4 -0
  236. package/lib/duet/p-42ec7305.entry.js +4 -0
  237. package/lib/duet/p-43e076b5.entry.js +4 -0
  238. package/lib/duet/p-443af533.entry.js +4 -0
  239. package/lib/duet/{p-2d963ab0.entry.js → p-461d4089.entry.js} +1 -1
  240. package/lib/duet/p-4af6a8ed.entry.js +4 -0
  241. package/lib/duet/{p-ecf69f6d.entry.js → p-4b7f1244.entry.js} +1 -1
  242. package/lib/duet/{p-18eada94.entry.js → p-516397ba.entry.js} +1 -1
  243. package/lib/duet/p-5284c707.entry.js +4 -0
  244. package/lib/duet/{p-1e168d4b.entry.js → p-52beb436.entry.js} +1 -1
  245. package/lib/duet/p-5c9f443c.entry.js +4 -0
  246. package/lib/duet/{p-968546f6.entry.js → p-5f5f72d4.entry.js} +1 -1
  247. package/lib/duet/p-5lFzA17H.js +4 -0
  248. package/lib/duet/{p-a6bec2da.entry.js → p-61ec0e1c.entry.js} +1 -1
  249. package/lib/duet/{p-07b9b6c3.entry.js → p-6b469225.entry.js} +1 -1
  250. package/lib/duet/{p-10a326fa.entry.js → p-6ef683d5.entry.js} +1 -1
  251. package/lib/duet/{p-de4b0518.entry.js → p-70612314.entry.js} +1 -1
  252. package/lib/duet/{p-6cffc5b7.entry.js → p-70961edb.entry.js} +1 -1
  253. package/lib/duet/p-7294c37d.entry.js +4 -0
  254. package/lib/duet/{p-7ce31e10.entry.js → p-72b504ef.entry.js} +1 -1
  255. package/lib/duet/p-734249e0.entry.js +4 -0
  256. package/lib/duet/{p-4856f07c.entry.js → p-7353ee4c.entry.js} +1 -1
  257. package/lib/duet/p-74aac967.entry.js +4 -0
  258. package/lib/duet/{p-ed750cdf.entry.js → p-7c08fd87.entry.js} +1 -1
  259. package/lib/duet/{p-44a97d21.entry.js → p-7eea47d5.entry.js} +1 -1
  260. package/lib/duet/{p-86166f8d.entry.js → p-7fd39204.entry.js} +1 -1
  261. package/lib/duet/{p-898d5701.entry.js → p-8012c7bc.entry.js} +1 -1
  262. package/lib/duet/{p-162a0691.entry.js → p-829db926.entry.js} +1 -1
  263. package/lib/duet/p-83238bf3.entry.js +4 -0
  264. package/lib/duet/{p-25b4886a.entry.js → p-833802f9.entry.js} +1 -1
  265. package/lib/duet/{p-2ac11077.entry.js → p-86ffd3cb.entry.js} +1 -1
  266. package/lib/duet/{p-8a28f86e.entry.js → p-871620d3.entry.js} +1 -1
  267. package/lib/duet/{p-d2e74e89.entry.js → p-8ace1eb4.entry.js} +1 -1
  268. package/lib/duet/p-8b0dfbd7.entry.js +4 -0
  269. package/lib/duet/p-93ff8fe4.entry.js +4 -0
  270. package/lib/duet/{p-a8229728.entry.js → p-9ae7aaef.entry.js} +1 -1
  271. package/lib/duet/{p-f71d04ce.entry.js → p-9c9811ba.entry.js} +1 -1
  272. package/lib/duet/{p-f15ab3b8.entry.js → p-9e1a59d1.entry.js} +1 -1
  273. package/lib/duet/{p-DrqQiRTn.js → p-B2cboDWM.js} +1 -1
  274. package/lib/duet/{p-CW11pVgw.js → p-B8-N_qjs.js} +1 -1
  275. package/lib/duet/p-BzYmwX5_.js +4 -0
  276. package/lib/duet/{p-BUWuSkQW.js → p-C5Yfx2kd.js} +1 -1
  277. package/lib/duet/{p-DFAnksuG.js → p-CFqvB5PA.js} +1 -1
  278. package/lib/duet/p-Cg4m_WHe.js +4 -0
  279. package/lib/duet/{p-B6Z_1gqI.js → p-R3pTP2Oy.js} +1 -1
  280. package/lib/duet/p-a068c086.entry.js +4 -0
  281. package/lib/duet/p-a483117e.entry.js +4 -0
  282. package/lib/duet/p-a5177d32.entry.js +4 -0
  283. package/lib/duet/{p-65350441.entry.js → p-a8876b3d.entry.js} +1 -1
  284. package/lib/duet/{p-5c9530f1.entry.js → p-a9104184.entry.js} +1 -1
  285. package/lib/duet/{p-b4c18ee6.entry.js → p-b1326cbb.entry.js} +1 -1
  286. package/lib/duet/{p-17413943.entry.js → p-b747f6e9.entry.js} +1 -1
  287. package/lib/duet/{p-12b2d402.entry.js → p-bdbf0fae.entry.js} +1 -1
  288. package/lib/duet/{p-b6dc4395.entry.js → p-c1afac0d.entry.js} +1 -1
  289. package/lib/duet/p-c2026c6b.entry.js +4 -0
  290. package/lib/duet/{p-301b8664.entry.js → p-c216e746.entry.js} +1 -1
  291. package/lib/duet/{p-bfc75bb9.entry.js → p-c54be349.entry.js} +1 -1
  292. package/lib/duet/{p-fca9c5c4.entry.js → p-cb6c4158.entry.js} +1 -1
  293. package/lib/duet/{p-278ef4d8.entry.js → p-cbcee3e2.entry.js} +1 -1
  294. package/lib/duet/{p-0ccecf5b.entry.js → p-d3b5c997.entry.js} +1 -1
  295. package/lib/duet/{p-ec689a7c.entry.js → p-d3baa815.entry.js} +1 -1
  296. package/lib/duet/{p-f55f8bd9.entry.js → p-d5f90dbc.entry.js} +1 -1
  297. package/lib/duet/{p-b9a54319.entry.js → p-d6f0afa5.entry.js} +1 -1
  298. package/lib/duet/{p-d83f38c7.entry.js → p-d779fe42.entry.js} +1 -1
  299. package/lib/duet/{p-806c4ab8.entry.js → p-dedf6a32.entry.js} +1 -1
  300. package/lib/duet/{p-5fb783eb.entry.js → p-e08dce92.entry.js} +1 -1
  301. package/lib/duet/{p-fe00331c.entry.js → p-e7f2359a.entry.js} +1 -1
  302. package/lib/duet/{p-419b96b6.entry.js → p-efa4eecc.entry.js} +1 -1
  303. package/lib/duet/p-f040706c.entry.js +4 -0
  304. package/lib/duet/{p-17c063a3.entry.js → p-fa13ffe9.entry.js} +1 -1
  305. package/lib/duet/{p-93abd97a.entry.js → p-fe829b53.entry.js} +1 -1
  306. package/lib/duet/p-s8EL6NG5.js +4 -0
  307. package/lib/esm/{a11y-utils-D66Lzlz5.js → a11y-utils-ChN5Nhxh.js} +1 -1
  308. package/lib/esm/{app-globals-G9KPoeGD.js → app-globals-4kCk2rkO.js} +1 -1
  309. package/lib/esm/duet-action-button.entry.js +3 -3
  310. package/lib/esm/duet-alert.entry.js +4 -4
  311. package/lib/esm/duet-badge.entry.js +29 -6
  312. package/lib/esm/duet-banner.entry.js +3 -3
  313. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  314. package/lib/esm/duet-breadcrumbs.entry.js +5 -5
  315. package/lib/esm/duet-button_2.entry.js +5 -5
  316. package/lib/esm/duet-callout.entry.js +5 -5
  317. package/lib/esm/duet-caption_4.entry.js +12 -12
  318. package/lib/esm/duet-card.entry.js +3 -3
  319. package/lib/esm/duet-checkbox.entry.js +3 -3
  320. package/lib/esm/duet-checkmark.entry.js +4 -4
  321. package/lib/esm/duet-chip.entry.js +8 -9
  322. package/lib/esm/duet-choice_2.entry.js +22 -22
  323. package/lib/esm/duet-collapsible.entry.js +3 -3
  324. package/lib/esm/duet-combobox.entry.js +26 -10
  325. package/lib/esm/duet-contact-card.entry.js +5 -5
  326. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  327. package/lib/esm/duet-date-picker.entry.js +11 -10
  328. package/lib/esm/duet-divider_2.entry.js +4 -4
  329. package/lib/esm/duet-editable-table_3.entry.js +10 -10
  330. package/lib/esm/duet-empty-state.entry.js +33 -7
  331. package/lib/esm/duet-fieldset.entry.js +6 -6
  332. package/lib/esm/duet-file-chooser.entry.js +3 -3
  333. package/lib/esm/duet-footer.entry.js +8 -8
  334. package/lib/esm/duet-grid_2.entry.js +15 -8
  335. package/lib/esm/duet-header_2.entry.js +4 -4
  336. package/lib/esm/duet-hero.entry.js +9 -9
  337. package/lib/esm/duet-icon.entry.js +5 -5
  338. package/lib/esm/duet-indicator.entry.js +5 -5
  339. package/lib/esm/duet-input_2.entry.js +79 -18
  340. package/lib/esm/duet-layout.entry.js +7 -7
  341. package/lib/esm/duet-list_2.entry.js +5 -5
  342. package/lib/esm/duet-menu-bar-button.entry.js +4 -4
  343. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
  344. package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
  345. package/lib/esm/duet-menu-bar-item.entry.js +7 -7
  346. package/lib/esm/duet-menu-bar-link.entry.js +4 -4
  347. package/lib/esm/duet-menu-bar.entry.js +6 -6
  348. package/lib/esm/duet-modal.entry.js +12 -12
  349. package/lib/esm/duet-multiselect.entry.js +11 -11
  350. package/lib/esm/duet-nav.entry.js +3 -3
  351. package/lib/esm/duet-notification_2.entry.js +9 -9
  352. package/lib/esm/duet-number-input.entry.js +13 -11
  353. package/lib/esm/duet-overlay.entry.js +3 -3
  354. package/lib/esm/duet-page-heading.entry.js +20 -5
  355. package/lib/esm/duet-pagination_2.entry.js +17 -18
  356. package/lib/esm/duet-panel.entry.js +4 -4
  357. package/lib/esm/duet-phone-input.entry.js +17 -5
  358. package/lib/esm/duet-popup-menu_2.entry.js +21 -11
  359. package/lib/esm/duet-progress.entry.js +3 -3
  360. package/lib/esm/duet-promo-card.entry.js +5 -5
  361. package/lib/esm/duet-radio_2.entry.js +10 -11
  362. package/lib/esm/duet-range-slider.entry.js +6 -6
  363. package/lib/esm/duet-scrollable_3.entry.js +15 -15
  364. package/lib/esm/duet-section-layout.entry.js +4 -4
  365. package/lib/esm/duet-select.entry.js +10 -10
  366. package/lib/esm/duet-shaped-image.entry.js +4 -4
  367. package/lib/esm/duet-share-chart-item.entry.js +2 -2
  368. package/lib/esm/duet-share-chart.entry.js +6 -6
  369. package/lib/esm/duet-show-more.entry.js +5 -5
  370. package/lib/esm/duet-slideout-lang.entry.js +4 -4
  371. package/lib/esm/duet-slideout-link.entry.js +7 -7
  372. package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
  373. package/lib/esm/duet-slideout-panel.entry.js +11 -11
  374. package/lib/esm/duet-slideout.entry.js +10 -10
  375. package/lib/esm/duet-status-icon.entry.js +7 -3
  376. package/lib/esm/duet-step_2.entry.js +6 -6
  377. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
  378. package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
  379. package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
  380. package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
  381. package/lib/esm/duet-submenu-bar.entry.js +7 -7
  382. package/lib/esm/duet-textarea.entry.js +14 -21
  383. package/lib/esm/duet-toggle.entry.js +8 -8
  384. package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
  385. package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
  386. package/lib/esm/duet-toolbar-item.entry.js +8 -8
  387. package/lib/esm/duet-toolbar-link.entry.js +4 -4
  388. package/lib/esm/duet-toolbar.entry.js +4 -4
  389. package/lib/esm/duet-tooltip-button_2.entry.js +13 -11
  390. package/lib/esm/duet-tooltip.entry.js +25 -8
  391. package/lib/esm/duet-tray.entry.js +5 -5
  392. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  393. package/lib/esm/duet-upload-item.entry.js +6 -6
  394. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  395. package/lib/esm/duet.js +4 -4
  396. package/lib/esm/{errorcodes.utils-C6zptXiM.js → errorcodes.utils-DuFCu_27.js} +1 -1
  397. package/lib/esm/{focus-utils-YZ2ticmM.js → focus-utils-CFswdkeD.js} +1 -1
  398. package/lib/esm/{index-DrqQiRTn.js → index-B2cboDWM.js} +5 -5
  399. package/lib/esm/{label-CnTwCD-3.js → label-CJxIWUOT.js} +1 -1
  400. package/lib/esm/{language-utils-BEG0cFmw.js → language-utils-C4M4ASkT.js} +1 -1
  401. package/lib/esm/loader.js +4 -4
  402. package/lib/esm/{slot-utils-Dzrezpl3.js → slot-utils--sNK1DNn.js} +2 -2
  403. package/lib/esm/{themeable-component-BLql61nC.js → themeable-component-BBi3552X.js} +1 -1
  404. package/lib/types/common-types.d.ts +11 -28
  405. package/lib/types/components/duet-badge/duet-badge.d.ts +14 -0
  406. package/lib/types/components/duet-chip/duet-chip.d.ts +1 -1
  407. package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -0
  408. package/lib/types/components/duet-empty-state/duet-empty-state.d.ts +24 -4
  409. package/lib/types/components/duet-grid/duet-grid.d.ts +5 -0
  410. package/lib/types/components/duet-heading/duet-heading.d.ts +10 -0
  411. package/lib/types/components/duet-input/duet-input.d.ts +31 -3
  412. package/lib/types/components/duet-number-input/duet-number-input.d.ts +2 -1
  413. package/lib/types/components/duet-page-heading/duet-page-heading.d.ts +10 -0
  414. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +2 -0
  415. package/lib/types/components/duet-radio/duet-radio.d.ts +0 -1
  416. package/lib/types/components/duet-textarea/duet-textarea.d.ts +0 -5
  417. package/lib/types/components/duet-tooltip/duet-tooltip-button.d.ts +1 -0
  418. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +6 -0
  419. package/lib/types/components.d.ts +151 -14
  420. package/lib/types/utils/math.utils.d.ts +1 -0
  421. package/package.json +5 -5
  422. package/lib/duet/p-0a80de40.entry.js +0 -4
  423. package/lib/duet/p-162993d2.entry.js +0 -4
  424. package/lib/duet/p-234f4365.entry.js +0 -4
  425. package/lib/duet/p-245c0535.entry.js +0 -4
  426. package/lib/duet/p-29599dc5.entry.js +0 -4
  427. package/lib/duet/p-3d0a716c.entry.js +0 -4
  428. package/lib/duet/p-3eba33cd.entry.js +0 -4
  429. package/lib/duet/p-550bfab9.entry.js +0 -4
  430. package/lib/duet/p-5c60eca3.entry.js +0 -4
  431. package/lib/duet/p-67b3a01a.entry.js +0 -4
  432. package/lib/duet/p-6e1b9cc8.entry.js +0 -4
  433. package/lib/duet/p-9172ba70.entry.js +0 -4
  434. package/lib/duet/p-BQVGvl4H.js +0 -4
  435. package/lib/duet/p-CLZq8YfV.js +0 -4
  436. package/lib/duet/p-D2JvSVnG.js +0 -4
  437. package/lib/duet/p-ELbbzMVZ.js +0 -4
  438. package/lib/duet/p-a3ad5622.entry.js +0 -4
  439. package/lib/duet/p-a73b7110.entry.js +0 -4
  440. package/lib/duet/p-b1d91a91.entry.js +0 -4
  441. package/lib/duet/p-b9be36c8.entry.js +0 -4
  442. package/lib/duet/p-bdae48d3.entry.js +0 -4
  443. package/lib/duet/p-bdf6a296.entry.js +0 -4
  444. package/lib/duet/p-c8d10c67.entry.js +0 -4
  445. package/lib/duet/p-ce4d9add.entry.js +0 -4
  446. package/lib/duet/p-da275568.entry.js +0 -4
  447. package/lib/duet/p-dc5682d8.entry.js +0 -4
  448. package/lib/duet/p-e050ed5c.entry.js +0 -4
  449. package/lib/duet/p-e9c2eb66.entry.js +0 -4
  450. package/lib/duet/p-ec5f40a5.entry.js +0 -4
  451. package/lib/duet/p-f68a4a23.entry.js +0 -4
  452. package/lib/duet/p-f8e26f21.entry.js +0 -4
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B_QTwXEx.js');
7
- var themeableComponent = require('./themeable-component-h3OzJgCb.js');
6
+ var index = require('./index-ZxE6MB5V.js');
7
+ var themeableComponent = require('./themeable-component-CIDaln0Z.js');
8
8
  var tokenUtils = require('./token-utils-DY3-olMV.js');
9
9
  require('./tokens.module-CTbvyezn.js');
10
10
 
@@ -219,11 +219,11 @@ const DuetIcon = class {
219
219
  : {};
220
220
  const iconStyles = Object.assign({}, iconRotationStyles);
221
221
  const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
222
- return (index.h(index.Host, { key: '2f6837b926530cee2afc83a590aa1ccb0dfeca03', class: {
222
+ return (index.h(index.Host, { key: 'f6a74ccabd59055d22eec3654bde9c81fd4a9ce3', class: {
223
223
  "duet-m-0": this.margin === "none",
224
224
  "duet-icon-has-outline": !!this.outline,
225
225
  "duet-icon-has-background": !!this.background,
226
- } }, index.h("span", { key: '6fa86044b5f3966537f38590bd12b28b698a080b', "aria-hidden": "true", style: styles, class: {
226
+ } }, index.h("span", { key: 'f2ea10e9ec8459d5a5995781e193c6d8df7fb1ef', "aria-hidden": "true", style: styles, class: {
227
227
  "duet-icon": true,
228
228
  "duet-theme-turva": this.theme === "turva",
229
229
  "duet-theme-default": this.theme === "default",
@@ -232,7 +232,7 @@ const DuetIcon = class {
232
232
  [shapeStyle]: true,
233
233
  rotated: this.shape === "brand-rotated" && this.theme !== "turva",
234
234
  "duet-icon-not-responsive": !this.responsive,
235
- } }, index.h("span", { key: '4ba33bca7da0ccbc0f11b1b5693e7912d0a0d45d', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
235
+ } }, index.h("span", { key: '3d93b31d1831fa77b71a5f574a38d838636c7757', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
236
236
  }
237
237
  get element() { return index.getElement(this); }
238
238
  static get watchers() { return {
@@ -3,9 +3,9 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B_QTwXEx.js');
7
- var themeableComponent = require('./themeable-component-h3OzJgCb.js');
8
- var languageUtils = require('./language-utils-DjtvVntE.js');
6
+ var index = require('./index-ZxE6MB5V.js');
7
+ var themeableComponent = require('./themeable-component-CIDaln0Z.js');
8
+ var languageUtils = require('./language-utils-C7Z0KYg-.js');
9
9
  require('./string-utils-B35hEUBv.js');
10
10
 
11
11
  const duetIndicatorCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;position:relative}.duet-indicator{position:absolute;top:0;right:0;display:inline-block;width:8px;height:8px;border-radius:50%}.duet-indicator-new{background:rgb(0, 119, 179)}.duet-indicator-change{background:rgb(247, 178, 40)}.duet-indicator-error{background:rgb(185, 16, 74)}.duet-indicator-success{background:rgb(29, 106, 88)}.duet-indicator-new.duet-theme-turva{background-color:rgb(230, 23, 64)}";
@@ -52,11 +52,11 @@ const DuetIndicator = class {
52
52
  themeableComponent.inheritGlobalTheme(this);
53
53
  }
54
54
  render() {
55
- return (index.h(index.Host, { key: 'dec9ae44791d7c11742399064ae9f5abcb25a0da' }, index.h("span", { key: '869ad4db73c79b071b6b1cc4667926874f836351', class: {
55
+ return (index.h(index.Host, { key: '6c412435545134515ed6bb4eb8f5e1ec8701dce7' }, index.h("span", { key: 'f7c0f6b5019c3d9abcd01b8da701ad123910b5b3', class: {
56
56
  "duet-indicator": true,
57
57
  [`duet-indicator-${this.variation}`]: true,
58
58
  "duet-theme-turva": this.theme === "turva",
59
- } }), index.h("duet-visually-hidden", { key: '95d24f44ddab59732430691a257eebe5de008870' }, this.getAccessibleLabel())));
59
+ } }), index.h("duet-visually-hidden", { key: 'c4ceeb86a4ab008a251f1ce9f4f6271c3fab73ef' }, this.getAccessibleLabel())));
60
60
  }
61
61
  get element() { return index.getElement(this); }
62
62
  };
@@ -3,16 +3,16 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B_QTwXEx.js');
6
+ var index = require('./index-ZxE6MB5V.js');
7
7
  var _commonjsHelpers = require('./_commonjsHelpers-4N64IRaP.js');
8
8
  var formSearch = require('./form-search-CzPfHB80.js');
9
- var themeableComponent = require('./themeable-component-h3OzJgCb.js');
10
- var label = require('./label-yAj5CKm3.js');
9
+ var themeableComponent = require('./themeable-component-CIDaln0Z.js');
10
+ var label = require('./label-CpPOBfjS.js');
11
11
  var createId = require('./create-id-DtslnIOq.js');
12
12
  var inputUtils = require('./input-utils-DUKdslOM.js');
13
13
  var keyboardUtils = require('./keyboard-utils-D9UlHbik.js');
14
- var languageUtils = require('./language-utils-DjtvVntE.js');
15
- var slotUtils = require('./slot-utils-YUU0XWn9.js');
14
+ var languageUtils = require('./language-utils-C7Z0KYg-.js');
15
+ var slotUtils = require('./slot-utils-BXdHT3A1.js');
16
16
  var tokenUtils = require('./token-utils-DY3-olMV.js');
17
17
  require('./string-utils-B35hEUBv.js');
18
18
  require('./tokens.module-CTbvyezn.js');
@@ -30,7 +30,7 @@ function requireFormEmail () {
30
30
  var formEmailExports = requireFormEmail();
31
31
  var emailIcon = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(formEmailExports);
32
32
 
33
- const duetInputCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{margin-right:16px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host(.form-distribute:last-of-type:not(:last-child)){margin-right:16px !important}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;vertical-align:bottom;text-align:left}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}input[type=time]::-webkit-datetime-edit-fields-wrapper{padding:0}input[type=time]::-webkit-calendar-picker-indicator{display:none}duet-tooltip,::slotted(duet-tooltip){position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){right:auto}}duet-caption:not(:last-of-type){margin-bottom:0}.duet-input-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-input-container{position:relative;width:100%;height:100%}.duet-input-container.has-clear .duet-input-clear-icon{position:relative;z-index:250}.duet-input-container.has-clear .duet-input-clear-icon button{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear .duet-input-clear-icon button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-input-container.has-clear .duet-input-clear-icon button:focus,.duet-input-container.has-clear .duet-input-clear-icon button:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-input-container.has-clear .duet-input-clear-icon button:active{opacity:0.75;transition:none}.duet-input-container.has-clear .duet-input-clear-icon.input-padding-xx-small button{top:-12px}.duet-input-container.has-clear .duet-input-clear-icon.input-padding-x-small button{top:-16px}.duet-input-container.has-clear .duet-input-clear-icon.input-padding-small button{top:-20px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single button{top:-48px;right:0}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-xx-small button{top:-36px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-x-small button{top:-40px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-small button{top:-44px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double button{top:-24px;right:12px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-xx-small button{top:-12px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-x-small button{top:-16px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-small button{top:-20px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-button button{top:-24px;right:0}.duet-input-container.has-clear.has-icon .duet-input-clear-icon{top:-24px;right:24px}.duet-input-label-container{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container{justify-content:flex-start}}.duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;outline-color:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;transition:border 150ms ease !important}.duet-input.input-padding-small{padding:8px 10px !important}.duet-input.input-padding-x-small{padding:4px 6px !important}.duet-input.input-padding-xx-small{padding:0px 2px !important}.duet-input.is-number{padding-right:112px !important}.duet-input.is-date{padding-right:64px !important}.duet-input.after-chip{padding-left:8px !important}.has-error .duet-input{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important}.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.has-icon .duet-input{padding-right:48px !important}.duet-input.align-right{text-align:right}.duet-input::-ms-clear{display:none}.duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input::placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-input:focus::placeholder{color:rgb(181, 198, 208)}.duet-input[disabled]{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;outline:none !important;background:rgb(228, 236, 239) !important;border-color:rgb(228, 236, 239) !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-input:hover:not(:disabled):not(:focus){outline:2px solid;outline-color:rgb(127, 150, 165) !important;outline-offset:-1px}.duet-theme-turva .duet-input:hover:not(:disabled):not(:focus),.duet-input:hover:not(:disabled):not(:focus).duet-theme-turva{outline-color:rgb(120, 145, 164) !important}.has-error .duet-input:hover:not(:disabled):not(:focus){outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important}.duet-input:focus{outline:2px solid;outline-color:rgb(0, 119, 179) !important;outline-offset:-1px}.duet-theme-turva .duet-input:focus,.duet-input:focus.duet-theme-turva{outline-color:rgb(23, 42, 59) !important}.has-error .duet-input:focus{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255) !important}.duet-input:focus+.duet-input-icon{color:rgb(0, 119, 179)}.duet-input[type=search]:not(:placeholder-shown):focus+.duet-input-icon{display:none}.duet-input:not(:focus):not(:hover):invalid{outline:none !important}.duet-input[type=number]::-webkit-inner-spin-button,.duet-input[type=number]::-webkit-outer-spin-button,.duet-input[type=time]::-webkit-inner-spin-button,.duet-input[type=time]::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help span{display:block;margin-top:8px}.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-label-hidden label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}.duet-input-relative{position:relative;width:100%}.duet-input-variation-button,.duet-input-variation-button-left{position:relative;width:100%}.duet-input-variation-button .duet-input-relative,.duet-input-variation-button-left .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button .duet-input-relative duet-button,.duet-input-variation-button-left .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-button-left .duet-input-relative{border-radius:4px}.duet-input-variation-button .duet-input-relative .duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-button-left .duet-input-relative .duet-input{border-left-width:0 !important;border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.duet-input-variation-revealable{position:relative;width:100%}.duet-input-variation-revealable ::-ms-reveal{display:none}.duet-input-variation-revealable .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;outline:initial;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 150ms ease}.duet-input-variation-revealable .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-revealable .duet-input-relative .duet-input{border-width:0 !important}.duet-input-variation-revealable .duet-input-relative .duet-input:focus,.duet-input-variation-revealable .duet-input-relative .duet-input:hover{outline:none !important;border-width:0 !important}.duet-input-variation-revealable.disabled .duet-input-relative{outline:none;background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-input-variation-revealable.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus .duet-input-relative{outline:2px solid;outline-offset:-1px;outline-color:rgb(62, 84, 102);border-color:rgb(0, 119, 179)}.duet-input-variation-revealable:hover:not(.disabled):not(.has-focus) .duet-input-relative{outline:2px solid;outline-color:rgb(127, 150, 165) !important;outline-offset:-1px}.duet-theme-turva .duet-input-variation-revealable:hover:not(.disabled):not(.has-focus) .duet-input-relative,.duet-input-variation-revealable:hover:not(.disabled):not(.has-focus) .duet-input-relative.duet-theme-turva{outline-color:rgb(120, 145, 164) !important}.duet-input-variation-revealable.has-error:hover:not(.disabled) .duet-input-relative{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important}.duet-input-container.has-chips.has-focus .duet-input-relative{outline:2px solid;outline-color:rgb(0, 119, 179) !important;outline-offset:-1px}.duet-theme-turva .duet-input-container.has-chips.has-focus .duet-input-relative,.duet-input-container.has-chips.has-focus .duet-input-relative.duet-theme-turva{outline-color:rgb(23, 42, 59) !important}.duet-input-container.has-chips:hover:not(:disabled):not(.has-focus) .duet-input-relative{outline:2px solid;outline-color:rgb(127, 150, 165) !important;outline-offset:-1px}.duet-theme-turva .duet-input-container.has-chips:hover:not(:disabled):not(.has-focus) .duet-input-relative,.duet-input-container.has-chips:hover:not(:disabled):not(.has-focus) .duet-input-relative.duet-theme-turva{outline-color:rgb(120, 145, 164) !important}.duet-input-container.has-chips.has-error .duet-input-relative{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important}.duet-input-container.has-chips.has-error.has-focus .duet-input-relative{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255) !important}.duet-input-container.has-chips.has-error:hover:not(:disabled):not(.has-focus) .duet-input-relative{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important}.duet-input-container.has-chips .duet-input-relative{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;padding-right:2px;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 150ms ease}.duet-input-container.has-chips .duet-input-relative .duet-input{flex-grow:1;flex-basis:4rem;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips .duet-input-relative .duet-input:focus,.duet-input-container.has-chips .duet-input-relative .duet-input:hover{outline:none !important;border-width:0 !important}.duet-theme-turva .duet-input-icon{color:rgb(23, 42, 59)}.duet-theme-turva.duet-input-container.has-clear .duet-input-clear-icon button{color:rgb(8, 42, 77)}.duet-theme-turva.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva:not(.has-error) .duet-input{border-color:rgb(120, 145, 164) !important}.duet-theme-turva .duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59) !important}.duet-theme-turva .duet-input::placeholder{color:rgb(120, 145, 164)}.duet-theme-turva .duet-input:focus::placeholder{color:rgb(178, 194, 205)}.duet-theme-turva .duet-input:focus+.duet-input-icon{color:rgb(23, 42, 59)}.duet-theme-turva .duet-input-variation-button-left.has-focus .duet-input-relative{border-color:rgb(23, 42, 59)}.duet-theme-turva .duet-input-variation-revealable.has-focus .duet-input-relative{border-color:rgb(23, 42, 59)}.duet-theme-turva .duet-input-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(120, 145, 164)}.duet-theme-turva.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-theme-turva .duet-input-variation-revealable .duet-input-relative{border-color:rgb(120, 145, 164)}.duet-theme-turva.duet-input-variation-revealable.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-theme-turva.duet-input-variation-revealable.has-focus .duet-input-relative{outline:2px solid;outline-offset:-1px;outline-color:rgb(53, 79, 101);border-color:rgb(23, 42, 59)}.duet-theme-turva .duet-input-container.has-chips.has-focus .duet-input-relative{outline:2px solid;outline-offset:2px;outline-color:rgb(53, 79, 101)}.duet-theme-turva .duet-input-container.has-chips .duet-input-relative{border-color:rgb(120, 145, 164)}";
33
+ const duetInputCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{margin-right:16px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host(.form-distribute:last-of-type:not(:last-child)){margin-right:16px !important}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;vertical-align:bottom;text-align:left}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}input[type=time]::-webkit-datetime-edit-fields-wrapper{padding:0}input[type=time]::-webkit-calendar-picker-indicator{display:none}duet-tooltip,::slotted(duet-tooltip){position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){right:auto}}duet-caption:not(:last-of-type){margin-bottom:0}.duet-input-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-input-container{position:relative;width:100%;height:100%}.duet-input-container.has-clear .duet-input-clear-icon{position:relative;z-index:250}.duet-input-container.has-clear .duet-input-clear-icon button{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear .duet-input-clear-icon button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-input-container.has-clear .duet-input-clear-icon button:focus,.duet-input-container.has-clear .duet-input-clear-icon button:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-input-container.has-clear .duet-input-clear-icon button:active{opacity:0.75;transition:none}.duet-input-container.has-clear .duet-input-clear-icon.input-padding-xx-small button{top:-12px}.duet-input-container.has-clear .duet-input-clear-icon.input-padding-x-small button{top:-16px}.duet-input-container.has-clear .duet-input-clear-icon.input-padding-small button{top:-20px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single button{top:-48px;right:0}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-xx-small button{top:-36px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-x-small button{top:-40px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-small button{top:-44px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double button{top:-24px;right:12px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-xx-small button{top:-12px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-x-small button{top:-16px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-small button{top:-20px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-button button{top:-24px;right:0}.duet-input-container.has-clear.has-icon .duet-input-clear-icon{top:-24px;right:24px}.duet-input-label-container{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container{justify-content:flex-start}}.duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;outline-color:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;transition:border 150ms ease !important}.duet-input.input-padding-small{padding:8px 10px !important}.duet-input.input-padding-x-small{padding:4px 6px !important}.duet-input.input-padding-xx-small{padding:0px 2px !important}.duet-input.is-number{padding-right:112px !important}.duet-input.is-date{padding-right:64px !important}.duet-input.after-chip{padding-left:8px !important}.has-error .duet-input{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important}.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.has-icon .duet-input{padding-right:48px !important}.duet-input.align-right{text-align:right}.duet-input::-ms-clear{display:none}.duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input::placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-input:focus::placeholder{color:rgb(181, 198, 208)}.duet-input[disabled]{color:rgb(98, 121, 138) !important;cursor:not-allowed !important;outline:none !important;background:rgb(228, 236, 239) !important;border-color:rgb(181, 198, 208) !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-input:hover:not(:disabled):not(:focus){outline:2px solid;outline-color:rgb(127, 150, 165) !important;outline-offset:-1px}.duet-theme-turva .duet-input:hover:not(:disabled):not(:focus),.duet-input:hover:not(:disabled):not(:focus).duet-theme-turva{outline-color:rgb(120, 145, 164) !important}.has-error .duet-input:hover:not(:disabled):not(:focus){outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important}.duet-input:focus{outline:2px solid;outline-color:rgb(0, 119, 179) !important;outline-offset:-1px}.duet-theme-turva .duet-input:focus,.duet-input:focus.duet-theme-turva{outline-color:rgb(23, 42, 59) !important}.has-error .duet-input:focus{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255) !important}.duet-input:focus+.duet-input-icon{color:rgb(0, 119, 179)}.duet-input[type=search]:not(:placeholder-shown):focus+.duet-input-icon{display:none}.duet-input:not(:focus):not(:hover):invalid{outline:none !important}.duet-input[type=number]::-webkit-inner-spin-button,.duet-input[type=number]::-webkit-outer-spin-button,.duet-input[type=time]::-webkit-inner-spin-button,.duet-input[type=time]::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help span{display:block;margin-top:8px}.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-label-hidden label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}.duet-input-relative{position:relative;width:100%}.duet-input-variation-button,.duet-input-variation-button-left{position:relative;width:100%}.duet-input-variation-button .duet-input-relative,.duet-input-variation-button-left .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button .duet-input-relative duet-button,.duet-input-variation-button-left .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-button-left .duet-input-relative{border-radius:4px}.duet-input-variation-button .duet-input-relative .duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-button-left .duet-input-relative .duet-input{border-left-width:0 !important;border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.duet-input-variation-revealable{position:relative;width:100%}.duet-input-variation-revealable ::-ms-reveal{display:none}.duet-input-variation-revealable .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;outline:initial;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 150ms ease}.duet-input-variation-revealable .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-revealable .duet-input-relative .duet-input{border-width:0 !important}.duet-input-variation-revealable .duet-input-relative .duet-input:focus,.duet-input-variation-revealable .duet-input-relative .duet-input:hover{outline:none !important;border-width:0 !important}.duet-input-variation-revealable.disabled .duet-input-relative{outline:none;background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-input-variation-revealable.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus .duet-input-relative{outline:2px solid;outline-offset:-1px;outline-color:rgb(62, 84, 102);border-color:rgb(0, 119, 179)}.duet-input-variation-revealable:hover:not(.disabled):not(.has-focus) .duet-input-relative{outline:2px solid;outline-color:rgb(127, 150, 165) !important;outline-offset:-1px}.duet-theme-turva .duet-input-variation-revealable:hover:not(.disabled):not(.has-focus) .duet-input-relative,.duet-input-variation-revealable:hover:not(.disabled):not(.has-focus) .duet-input-relative.duet-theme-turva{outline-color:rgb(120, 145, 164) !important}.duet-input-variation-revealable.has-error:hover:not(.disabled) .duet-input-relative{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important}.duet-input-container.has-adornment.has-focus .duet-input-relative,.duet-input-container.has-chips.has-focus .duet-input-relative{outline:2px solid;outline-color:rgb(0, 119, 179) !important;outline-offset:-1px}.duet-theme-turva .duet-input-container.has-adornment.has-focus .duet-input-relative,.duet-input-container.has-adornment.has-focus .duet-input-relative.duet-theme-turva,.duet-theme-turva .duet-input-container.has-chips.has-focus .duet-input-relative,.duet-input-container.has-chips.has-focus .duet-input-relative.duet-theme-turva{outline-color:rgb(23, 42, 59) !important}.duet-input-container.has-adornment:hover:not(:disabled):not(.has-focus) .duet-input-relative,.duet-input-container.has-chips:hover:not(:disabled):not(.has-focus) .duet-input-relative{outline:2px solid;outline-color:rgb(127, 150, 165) !important;outline-offset:-1px}.duet-theme-turva .duet-input-container.has-adornment:hover:not(:disabled):not(.has-focus) .duet-input-relative,.duet-input-container.has-adornment:hover:not(:disabled):not(.has-focus) .duet-input-relative.duet-theme-turva,.duet-theme-turva .duet-input-container.has-chips:hover:not(:disabled):not(.has-focus) .duet-input-relative,.duet-input-container.has-chips:hover:not(:disabled):not(.has-focus) .duet-input-relative.duet-theme-turva{outline-color:rgb(120, 145, 164) !important}.duet-input-container.has-adornment.has-error .duet-input-relative,.duet-input-container.has-chips.has-error .duet-input-relative{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important}.duet-input-container.has-adornment.has-error.has-focus .duet-input-relative,.duet-input-container.has-chips.has-error.has-focus .duet-input-relative{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255) !important}.duet-input-container.has-adornment.has-error:hover:not(:disabled):not(.has-focus) .duet-input-relative,.duet-input-container.has-chips.has-error:hover:not(:disabled):not(.has-focus) .duet-input-relative{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important}.duet-input-container.has-adornment .duet-input-relative,.duet-input-container.has-chips .duet-input-relative{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;padding-right:2px;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 150ms ease}.duet-input-container.has-adornment .duet-input-relative .duet-input,.duet-input-container.has-chips .duet-input-relative .duet-input{flex-grow:1;flex-basis:4rem;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-adornment .duet-input-relative .duet-input:focus,.duet-input-container.has-adornment .duet-input-relative .duet-input:hover,.duet-input-container.has-chips .duet-input-relative .duet-input:focus,.duet-input-container.has-chips .duet-input-relative .duet-input:hover{outline:none !important;border-width:0 !important}.duet-input-container.has-adornment .duet-input-relative .duet-input{padding:12px 14px !important;margin:initial !important}.duet-input-container.has-adornment .duet-input-relative .input-adornment{color:rgb(98, 121, 138)}.duet-input-container.has-adornment .duet-input-relative .input-adornment.prefix{padding-left:14px}.duet-input-container.has-adornment .duet-input-relative .input-adornment.suffix{padding-right:14px}.duet-input-container.has-prefix .duet-input-relative .duet-input{padding-left:8px !important}.duet-input-container.has-suffix .duet-input-relative .duet-input{padding-right:8px !important}.duet-theme-turva .duet-input-icon{color:rgb(23, 42, 59)}.duet-theme-turva.duet-input-container.has-clear .duet-input-clear-icon button{color:rgb(8, 42, 77)}.duet-theme-turva.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva:not(.has-error) .duet-input{border-color:rgb(120, 145, 164) !important}.duet-theme-turva .duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59) !important}.duet-theme-turva .duet-input[disabled]{color:rgb(95, 122, 143) !important;cursor:not-allowed !important;outline:none !important;background:rgb(228, 233, 237) !important;border-color:rgb(178, 194, 205) !important;opacity:1 !important;-webkit-text-fill-color:rgb(23, 42, 59) !important}.duet-theme-turva .duet-input::placeholder{color:rgb(120, 145, 164)}.duet-theme-turva .duet-input:focus::placeholder{color:rgb(178, 194, 205)}.duet-theme-turva .duet-input:focus+.duet-input-icon{color:rgb(23, 42, 59)}.duet-theme-turva .duet-input-variation-button-left.has-focus .duet-input-relative{border-color:rgb(23, 42, 59)}.duet-theme-turva .duet-input-variation-revealable.has-focus .duet-input-relative{border-color:rgb(23, 42, 59)}.duet-theme-turva .duet-input-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(120, 145, 164)}.duet-theme-turva.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-theme-turva .duet-input-variation-revealable .duet-input-relative{border-color:rgb(120, 145, 164)}.duet-theme-turva.duet-input-variation-revealable.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-theme-turva.duet-input-variation-revealable.has-focus .duet-input-relative{outline:2px solid;outline-offset:-1px;outline-color:rgb(53, 79, 101);border-color:rgb(23, 42, 59)}.duet-theme-turva .duet-input-container.has-chips.has-focus .duet-input-relative{outline:2px solid;outline-offset:2px;outline-color:rgb(53, 79, 101)}.duet-theme-turva .duet-input-container.has-chips .duet-input-relative{border-color:rgb(120, 145, 164)}";
34
34
 
35
35
  const icons = {
36
36
  search: formSearch.searchIcon,
@@ -51,6 +51,8 @@ const DuetInput = class {
51
51
  this.proxyId = createId.createID("DuetInput");
52
52
  this.clearId = createId.createID("DuetInputClear");
53
53
  this.labelId = createId.createID("DuetLabel");
54
+ this.prefixId = createId.createID("DuetInputPrefix");
55
+ this.suffixId = createId.createID("DuetInputSuffix");
54
56
  this.topCaptionId = createId.createID("DuetCaptionTop");
55
57
  this.topCaptionPlaceholderId = createId.createID("DuetCaptionPlaceholderTop");
56
58
  this.chipCountId = createId.createID("DuetInputChipCount");
@@ -197,7 +199,7 @@ const DuetInput = class {
197
199
  */
198
200
  this.labelHidden = false;
199
201
  /**
200
- * Enable numeric keyboard for the input.
202
+ * Enable numeric keyboard for the input. Note that on iOS the numeric keyboard does not contain minus.
201
203
  */
202
204
  this.numericKeyboard = false;
203
205
  /**
@@ -206,7 +208,9 @@ const DuetInput = class {
206
208
  */
207
209
  this.component = "input";
208
210
  /**
209
- * Enable or disable automatic completion by the browser
211
+ * Set the type of automatic completion by the browser. If possible use the standard tokens like "name", "given-name",
212
+ * "family-name", "postal-code", "street-address" etc. The component adds automatically "tel" and "email". If you must
213
+ * disable autocomplete use "off" (but avoid disabling unless absolutely necessary).
210
214
  */
211
215
  this.autoComplete = "on";
212
216
  /**
@@ -228,6 +232,10 @@ const DuetInput = class {
228
232
  * Component event handling.
229
233
  */
230
234
  this.onInput = (ev) => {
235
+ if (this.maxlength && this.nativeInput.value.length > this.maxlength) {
236
+ // Android doesn't honor maxlength
237
+ this.nativeInput.value = this.nativeInput.value.slice(0, this.maxlength);
238
+ }
231
239
  if (this.disallowPatternRegex) {
232
240
  inputUtils.cleanValue(this.nativeInput, this.disallowPatternRegex);
233
241
  }
@@ -275,6 +283,8 @@ const DuetInput = class {
275
283
  /**
276
284
  * Private functions
277
285
  */
286
+ // As comma may be used as decimal separator normalize value to have dot before parsing as number
287
+ this.valueAsNormalizedFloat = () => { var _a; return Number.parseFloat((_a = this.value) === null || _a === void 0 ? void 0 : _a.replace(/,/g, ".")); };
278
288
  this.getAriaDescribedBy = () => {
279
289
  const describedBy = [];
280
290
  if (this.isCaptionVisible && this.topCaptionId) {
@@ -295,6 +305,19 @@ const DuetInput = class {
295
305
  }
296
306
  return describedBy.length > 0 ? describedBy.join(" ") : null;
297
307
  };
308
+ this.getAriaLabelledBy = () => {
309
+ const labelledBy = [this.labelId];
310
+ if (!!this.fieldPrefix) {
311
+ labelledBy.push(this.prefixId);
312
+ }
313
+ if (!!this.fieldSuffix) {
314
+ labelledBy.push(this.suffixId);
315
+ }
316
+ if (!!this.accessibleLabelledBy) {
317
+ labelledBy.push(this.accessibleLabelledBy);
318
+ }
319
+ return labelledBy.join(" ");
320
+ };
298
321
  this.handleClearClick = (event) => {
299
322
  const clearing = this.clearInput();
300
323
  this.onClear(event);
@@ -385,7 +408,31 @@ const DuetInput = class {
385
408
  * This is a proxy for the enclosed native inputs validity
386
409
  */
387
410
  get validity() {
388
- return this.nativeInput.validity;
411
+ var _a, _b;
412
+ // Copy the value of the native validity state to a proxy object, as native validity is readonly.
413
+ const validity = {
414
+ badInput: false,
415
+ customError: false,
416
+ patternMismatch: false,
417
+ rangeOverflow: false,
418
+ rangeUnderflow: false,
419
+ stepMismatch: false,
420
+ tooLong: false,
421
+ tooShort: false,
422
+ typeMismatch: false,
423
+ valid: true,
424
+ valueMissing: false,
425
+ };
426
+ Object.keys(validity).forEach(key => (validity[key] = this.nativeInput.validity[key]));
427
+ if (typeof this.max !== "undefined" && ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) && this.max < this.valueAsNormalizedFloat()) {
428
+ validity.rangeOverflow = true;
429
+ validity.valid = false;
430
+ }
431
+ if (typeof this.min !== "undefined" && ((_b = this.value) === null || _b === void 0 ? void 0 : _b.length) && this.min > this.valueAsNormalizedFloat()) {
432
+ validity.rangeUnderflow = true;
433
+ validity.valid = false;
434
+ }
435
+ return validity;
389
436
  }
390
437
  /**
391
438
  * @internal
@@ -400,7 +447,8 @@ const DuetInput = class {
400
447
  themeableComponent.inheritGlobalTheme(this);
401
448
  this.disallowedPatternChange();
402
449
  this.isCaptionVisible = !!this.caption;
403
- slotUtils.checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
450
+ // Accept also slot element so that other components using duet-input can pass their tooltip slots here.
451
+ slotUtils.checkNamedSlotElement(this.element, "tooltip", "duet-tooltip, slot", 1, true);
404
452
  }
405
453
  componentDidLoad() {
406
454
  if (this.variation === "revealable" && this.nativeInput.form) {
@@ -508,6 +556,16 @@ const DuetInput = class {
508
556
  }
509
557
  }
510
558
  }
559
+ getAutocomplete() {
560
+ if (this.type === "password") {
561
+ return "off";
562
+ }
563
+ // If attribute includes "email", e.g. "work email", don't overwrite it
564
+ if (this.type === "email" && this.autoComplete !== "off" && !this.autoComplete.includes("email")) {
565
+ return "email";
566
+ }
567
+ return this.autoComplete;
568
+ }
511
569
  /**
512
570
  * Add a chip to the input. Property "chips" must be true.
513
571
  */
@@ -547,7 +605,7 @@ const DuetInput = class {
547
605
  const identifier = this.identifier || this.inputId;
548
606
  const inputProps = {};
549
607
  if (this.numericKeyboard) {
550
- inputProps.inputmode = "numeric";
608
+ inputProps.inputmode = "decimal";
551
609
  }
552
610
  // Set validation regexes
553
611
  if (this.pattern && this.type !== "tel") {
@@ -572,7 +630,7 @@ const DuetInput = class {
572
630
  this.type !== "password" &&
573
631
  this.type !== "time" &&
574
632
  this.variation !== "button";
575
- return (index.h(index.Host, { key: '1eb6191aaab4c5bd1077c68882b28d04fe1affef', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (index.h("duet-visually-hidden", { key: '606e2f2ae2ab2b48318b7fd8f4d2192e9c1d9ea8', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), index.h("div", { key: '80a74a720c101407751f1004d0ded71d9f5b0cca', class: {
633
+ return (index.h(index.Host, { key: '776ea6ee90a20ff356574b64890a7b98d9947e6c', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (index.h("duet-visually-hidden", { key: 'a56addb34f4bcf57a59e060921e3dacab36a98b7', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), index.h("div", { key: '04447fa85e1470adbfc2307f7b2fd5758454e0b7', class: {
576
634
  "duet-input-container": true,
577
635
  "duet-theme-turva": this.theme === "turva",
578
636
  [`duet-input-variation-${this.variation}`]: true,
@@ -585,12 +643,15 @@ const DuetInput = class {
585
643
  "has-chips": this.chips,
586
644
  "has-clear": this.clear,
587
645
  "has-focus": this.isFocused,
646
+ "has-adornment": !!this.fieldPrefix || !!this.fieldSuffix,
647
+ "has-prefix": !!this.fieldPrefix,
648
+ "has-suffix": !!this.fieldSuffix,
588
649
  disabled: this.disabled,
589
- } }, index.h("div", { key: 'e75d978a35f9329df71ec9e85f0eed8433addb13', class: "duet-input-label-container" }, index.h(label.DuetInternalLabel, { key: '42155bef67e2f2ed2bc401abbed050e9b147c5b0', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (index.h("duet-tooltip", { key: '0b17713442d9e85a071fd8f891ad8b18e6d41c1b', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), index.h("slot", { key: '574024190707b602760edf56f6f081cdc5ce3a06', name: "tooltip" })), this.caption && (index.h("duet-caption", { key: '3bfd4db6bcb18def8439d3b3532fed1f4ec2c3ed', id: this.topCaptionId, size: "medium" }, this.caption)), index.h("div", { key: '0db5fecd76df4b90a6990d382e5af5ea655597a2', class: {
650
+ } }, index.h("div", { key: 'f5f3de4654fac36f5ffb7e0302ffccb56263728a', class: "duet-input-label-container" }, index.h(label.DuetInternalLabel, { key: '566d4df4f7cfe09b50f4aedaf342cef70e7fc80a', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (index.h("duet-tooltip", { key: '7560dd36ade42746228061727b2fb2b38dce7ed6', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), index.h("slot", { key: '9b8a15f4f79269696a24c9fd989186f95dfc1e62', name: "tooltip" })), this.caption && (index.h("duet-caption", { key: 'c425ac21ec5942adfe5a4e48ae20080ab661bf4d', id: this.topCaptionId, size: "medium" }, this.caption)), index.h("div", { key: 'ac98b112529396687ec21a938c55ce1b3d86f091', class: {
590
651
  "duet-input-relative": true,
591
652
  "duet-theme-turva": this.theme === "turva",
592
653
  "has-error": !!this.error,
593
- } }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (index.h("duet-caption", { key: 'd501c8b4037074997020bca7c3ea488e85eecd00', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (index.h("duet-visually-hidden", { key: '80ada9143fc5d0a80be79225176321dde4c2b751', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${languageUtils.getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), this.variation === "button-left" && index.h("slot", { key: 'd2f2297577b918f9b00dffe210310f8b5902b8f4', name: "button-left" }), index.h("input", Object.assign({ key: 'c73b07336a423b55fc1365d51db107df4ec3c9d0', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
654
+ } }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (index.h("duet-caption", { key: 'db332864c2b97112aa2b9347da3d6c2468f77b0b', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (index.h("duet-visually-hidden", { key: 'e92de63c87071f00143ee9db06c94361970b704a', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${languageUtils.getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), this.variation === "button-left" && index.h("slot", { key: '274e2fe6a604c30aa879ac72a33154f1fb3c8fc9', name: "button-left" }), this.fieldPrefix && (index.h("span", { key: '2bd5154e89d13c7562283684a3087c3c48481fb9', class: "input-adornment prefix", id: this.prefixId }, this.fieldPrefix)), index.h("input", Object.assign({ key: '0b77d2e90b3acdb1452d73ad2a736e924200009a', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
594
655
  "duet-input": true,
595
656
  disabled: this.disabled,
596
657
  "is-number": this.component === "number",
@@ -598,17 +659,17 @@ const DuetInput = class {
598
659
  "after-chip": this.getAllChips().length > 0,
599
660
  "align-right": this.inputAlign === "right",
600
661
  [`input-padding-${this.inputPadding}`]: true,
601
- }, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (index.h("div", { key: '1c17a9d9d010a4f780603790a88dee696a2b9cc4', class: "duet-input-icon" }, index.h("duet-icon", { key: '31a464daf54eb879f7e29821dfea02e2e0a3ea1a', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (index.h("div", { key: 'ceeb34206ddc6e2b5aa413e1811cf9884b88aa02', class: {
662
+ }, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.getAriaLabelledBy(), "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.getAutocomplete(), required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), this.fieldSuffix && (index.h("span", { key: '00f86f44a74b91127a1c11b696b51983d62a7c28', class: "input-adornment suffix", id: this.suffixId }, this.fieldSuffix)), !this.value && hasInputIcon && (index.h("div", { key: 'f1d531cc26ab9de06b90e38a4b790069fe920d88', class: "duet-input-icon" }, index.h("duet-icon", { key: 'fb14ea462e583a24e6bbd0337666dfa4ef9c9a1a', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (index.h("div", { key: 'f2e415cb5d8c5eaa0bbb1bb0cad942d8a976e9a5', class: {
602
663
  "duet-input-clear-icon": true,
603
664
  "duet-input-clear-icon-single": !hasInputIcon,
604
665
  "duet-input-clear-icon-double": !!this.icon,
605
666
  "duet-input-clear-icon-button": this.variation === "button",
606
667
  [`input-padding-${this.inputPadding}`]: true,
607
- } }, index.h("button", { key: '1857977acef2e30274a24d1d79f517e2f4c85622', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, index.h("duet-icon", { key: '7873a22bdde0030f84d65a12eb9eef6f7e5b4f05', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (index.h("div", { key: '772cbb355e2e10bd6ed14b8f5f3f7759943d564e', class: "duet-input-icon" }, index.h("duet-icon", { key: 'a814a80c20d9b449b780bfb76300c0bfd2a81179', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && index.h("slot", { key: 'e5dc657f02e11f18fce79ac4ae100ec22d7c6262', name: "button" }), this.variation === "revealable" && (index.h("duet-button", { key: 'f6f4f1af8a5597235245bfa13c569a3b8b15b58c', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
668
+ } }, index.h("button", { key: '7046a5f2c94bf429f4fc46dd4a9d590171975f04', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, index.h("duet-icon", { key: 'd33b0603197b14c98b4b8d76773f0c2325d365a9', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (index.h("div", { key: 'f5b6861e2cd8f9affe011fc08700092296ef50c8', class: "duet-input-icon" }, index.h("duet-icon", { key: 'af0f1a819e505da950eec079950eb2a6c13c5254', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && index.h("slot", { key: 'db2a27e9e1683615a207b34f63a2981e0bbfe3e8', name: "button" }), this.variation === "revealable" && (index.h("duet-button", { key: 'f2c727cd4f07ea799ad033e737f490d14a285ded', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
608
669
  ? this.hidePasswordLabel[this.language]
609
- : this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (index.h("duet-visually-hidden", { key: '8194008037516aa17ab2ee14066ee3b936dee6dd' }, index.h("span", { key: '3eaba770a22e3c7fce643f29204cba36837ae6ca', "aria-live": "polite" }, this.isPasswordRevealed
670
+ : this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (index.h("duet-visually-hidden", { key: 'd240447d7431097c99bd50fa6241a48d87b48ae0' }, index.h("span", { key: '47d29c787f119d0dae23436a69b192855b7bca63', "aria-live": "polite" }, this.isPasswordRevealed
610
671
  ? this.passwordShownAriaAnnouncement[this.language]
611
- : this.passwordHiddenAriaAnnouncement[this.language]))), index.h("slot", { key: '85d82cb13cee107e0bbf8a45a882954cb680b1ef' })), index.h("span", { key: '7dc23251785bd369b7485d5e07c7b13b8594b3bd', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && index.h("span", { key: '6e5d9037b73b4aac9643ce004fafa25eb0a2ad9d', class: "duet-input-error" }, this.error)))));
672
+ : this.passwordHiddenAriaAnnouncement[this.language]))), index.h("slot", { key: 'cd872ef0355479149e3b926e98e33ebccc1d0faa' })), index.h("span", { key: 'bbbbc5e7b7b1ddd8064bdda229ad110686075dd2', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && index.h("span", { key: '91876b01063f2de6147210b06daad0e5a3c71b3c', class: "duet-input-error" }, this.error)))));
612
673
  }
613
674
  get element() { return index.getElement(this); }
614
675
  static get watchers() { return {
@@ -3,9 +3,9 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B_QTwXEx.js');
6
+ var index = require('./index-ZxE6MB5V.js');
7
7
  var isInternetExplorer = require('./is-internet-explorer-BTLb_loH.js');
8
- var slotUtils = require('./slot-utils-YUU0XWn9.js');
8
+ var slotUtils = require('./slot-utils-BXdHT3A1.js');
9
9
 
10
10
  const duetLayoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){::slotted([slot=page-heading]){width:calc(100% + 56px);margin:0 -28px 0 -28px}}@media (min-width: 62em){::slotted([slot=page-heading]){width:calc(100% + 112px);margin:0 -56px 0 -56px}}:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 96px);margin:0 -48px 0 -48px}}@media (min-width: 48em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 144px);margin:0 -72px 0 -72px}}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;flex:1 0 auto;width:100%}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-middle) .heading-wrapper{padding:0 !important}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}.duet-layout.duet-center{display:flex;align-items:center;justify-content:center;width:100%;max-width:888px}@media (min-width: 36em){.duet-layout.duet-center{padding:0 48px}}@media (min-width: 48em){.duet-layout.duet-center{padding:0 72px}}@media (min-width: 62em){.duet-layout.duet-center{width:100%}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main,.duet-sidebar,.duet-layout-top,.duet-layout-bottom{display:block;width:100%}.duet-layout-top{position:relative;display:block;width:100%}.duet-layout-top .duet-layout-top-wrapper{padding:0 20px;margin:0 auto}@media (min-width: 36em){.duet-layout-top .duet-layout-top-wrapper{padding:0 28px}}@media (min-width: 62em){.duet-layout-top .duet-layout-top-wrapper{padding:0 56px}}@media (min-width: 76.25em){.duet-layout-top .duet-layout-top-wrapper{max-width:1110px;padding:0}}.duet-center .duet-layout-top-wrapper{max-width:888px}@media (min-width: 36em){.duet-center .duet-layout-top-wrapper{padding:0 48px}}@media (min-width: 48em){.duet-center .duet-layout-top-wrapper{padding:0 72px}}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}@media (min-width: 62em){.duet-sidebar{min-width:256px;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container{width:auto;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container.has-tabs{margin-top:89px}}@media (min-width: 62em){.duet-sidebar-container.sticky{position:sticky}.duet-sidebar-container.sticky.with-links{top:calc(3rem + 20px)}.duet-sidebar-container.sticky.without-links{top:calc(4rem + 20px)}}";
11
11
 
@@ -66,24 +66,24 @@ const DuetLayout = class {
66
66
  * Always the last one in the class.
67
67
  */
68
68
  render() {
69
- return (index.h(index.Host, { key: '2cdbe38f663ea0d8cc15fd500ecda5f411b9e0ad', class: {
69
+ return (index.h(index.Host, { key: '7796cda5c4db65768c100838b80382b318b3ac73', class: {
70
70
  center: this.center,
71
71
  "duet-middle": this.middle,
72
72
  "duet-ie": isInternetExplorer.isInternetExplorer(),
73
- } }, index.h("div", { key: '3844cb119e6ee20b71358c128536e493c0cefa10', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (index.h("div", { key: 'fc18a4c1bf4b0779f72fbe64409a7b34bf352761', class: {
73
+ } }, index.h("div", { key: '1b4f06b0ccaf2a93e30cb57085b3260c9d138d1f', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (index.h("div", { key: '9b64258743ef0f5802e2853b2251788fc3c7f02d', class: {
74
74
  "duet-layout-top": true,
75
75
  "duet-center": this.center,
76
- } }, index.h("div", { key: '3737558d8a28f5d5036e7a80dcaaf0b4414e62fb', class: "duet-layout-top-wrapper" }, index.h("slot", { key: '7fb843ff9f8debeb3690193a15fd76c1bcf4e12d', name: "top" })))), index.h("div", { key: 'adfd7395cbb2e39f853b88a14f991b00f8476090', class: {
76
+ } }, index.h("div", { key: '8de64147ed6cd7c0942f5f477da01c1ee4a8a0ce', class: "duet-layout-top-wrapper" }, index.h("slot", { key: '5b3dcec144e1e7a7707f52b18b8b1dc1d3cb13e7', name: "top" })))), index.h("div", { key: '57ef787cdd754a6749f76ce151ed15bb779b110b', class: {
77
77
  "duet-layout": true,
78
78
  "has-sidebar": this.hasSidebar,
79
79
  "duet-center": this.center,
80
80
  [`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
81
- } }, index.h("main", { key: '0506f7e5ae428fbab490af792a6c9662b7b4e9fd', class: "duet-main" }, this.hasPageHeading && index.h("slot", { key: '820596fd9584dc5abfc82f2aae4b1fafe6d1f7a5', name: "page-heading" }), index.h("slot", { key: '8f513267e5becd3d5f079983895ebd7c4a409e74', name: "main" })), this.hasSidebar && (index.h("aside", { key: 'c3689c4105724962cffbedef78edbfa5d51e114b', class: "duet-sidebar" }, index.h("div", { key: 'b327b7c652bf43acaf36442b9aa47e0289d52d0c', class: {
81
+ } }, index.h("main", { key: '11712887cb73595787e00eb4ae51be583e222d69', class: "duet-main" }, this.hasPageHeading && index.h("slot", { key: '024128c99761e9ce2df803f1a7af98da0bb39d48', name: "page-heading" }), index.h("slot", { key: '5ec1793d46d607633b527d9497e9c160f1879f4a', name: "main" })), this.hasSidebar && (index.h("aside", { key: 'c68315f8b323267fabd94fb2f45fa29294c6e17a', class: "duet-sidebar" }, index.h("div", { key: '5222f4a3bc1b36710f1efc85cd09c31cd676d661', class: {
82
82
  "duet-sidebar-container": true,
83
83
  "has-tabs": this.tabs,
84
84
  sticky: this.sticky,
85
85
  [this.stickyDistance]: this.sticky,
86
- } }, index.h("slot", { key: '75ea637d7fc09abde7ffb80b306b4f688811e415', name: "sidebar" }))))))));
86
+ } }, index.h("slot", { key: '2c51db0affb26210fbbf38b7776d66f64c530f6f', name: "sidebar" }))))))));
87
87
  }
88
88
  get element() { return index.getElement(this); }
89
89
  };
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B_QTwXEx.js');
7
- var themeableComponent = require('./themeable-component-h3OzJgCb.js');
6
+ var index = require('./index-ZxE6MB5V.js');
7
+ var themeableComponent = require('./themeable-component-CIDaln0Z.js');
8
8
  var watchOptions = require('./watch-options-D4JNsU3B.js');
9
9
 
10
10
  const duetListCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%}.duet-list-component{margin-bottom:16px !important;width:100%}.duet-list-component.duet-p-0{padding:0 !important}.duet-list-component.duet-m-0{margin:0 !important}";
@@ -107,7 +107,7 @@ const DuetList = class {
107
107
  * Always the last one in the class.
108
108
  */
109
109
  render() {
110
- return (index.h("dl", { key: '8db79297c536ab67ccc4692ce3fba04812ad38f0', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, index.h("slot", { key: '9644e8591deac7c8e4ac380f65e93ffb54154e70' })));
110
+ return (index.h("dl", { key: '8b5a83409655ee3c79b0d076851d5f35ac038766', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, index.h("slot", { key: 'f9e3dfbf22a5055c0ee910c4347f2d69b7971d59' })));
111
111
  }
112
112
  get element() { return index.getElement(this); }
113
113
  static get watchers() { return {
@@ -152,7 +152,7 @@ const DuetListItem = class {
152
152
  * Always the last one in the class.
153
153
  */
154
154
  render() {
155
- return (index.h(index.Host, { key: '47185c0399f547a7d80ac43adf617b617e33e604', class: {
155
+ return (index.h(index.Host, { key: '2fc646c6ec771484ba741b13db4e05af02190613', class: {
156
156
  "duet-theme-turva": this.theme === "turva",
157
157
  "duet-no-stacking": !this.responsive,
158
158
  "duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
@@ -160,7 +160,7 @@ const DuetListItem = class {
160
160
  "duet-list-item-breakpoint-medium": this.breakpoint === "medium",
161
161
  "duet-list-item-breakpoint-large": this.breakpoint === "large",
162
162
  "duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
163
- } }, index.h("dt", { key: '6ae3c144789f6f61efd296b660b88b180a5e0e38' }, index.h("slot", { key: 'c33e76c13b822b05a938e421d6eb53ef95e403f7', name: "label" })), index.h("dd", { key: '31bda43d4a91ec3b4a44746a0ddde2f7b91845c2' }, index.h("slot", { key: 'c1ce54a0b9a7dd7256a7dcf3a32bef70bb063621', name: "value" }))));
163
+ } }, index.h("dt", { key: 'a6f04cd679b723dec94b73f49a1f01e765cc2c2c' }, index.h("slot", { key: '3406e6b4499bc4e1ccbb65c8c20861a940058120', name: "label" })), index.h("dd", { key: '12904de4492dd50e266c323d2d038a514e4ed4f1' }, index.h("slot", { key: '1b5922436da8b77d4687c2fe55e7f58c5af37647', name: "value" }))));
164
164
  }
165
165
  get element() { return index.getElement(this); }
166
166
  };
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B_QTwXEx.js');
7
- var themeableComponent = require('./themeable-component-h3OzJgCb.js');
6
+ var index = require('./index-ZxE6MB5V.js');
7
+ var themeableComponent = require('./themeable-component-CIDaln0Z.js');
8
8
 
9
9
  const duetMenuBarButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;height:100%}.duet-menu-bar-button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;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:inherit;color:inherit;text-align:center;text-decoration:none;cursor:pointer}.duet-menu-bar-button:focus{outline:2px solid;outline-offset:-4px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-menu-bar-button:focus,.duet-menu-bar-button:focus.duet-theme-turva{outline:2px solid;outline-offset:-4px;outline-color:rgba(53, 79, 101, 0.8)}.duet-menu-bar-button .menu-bar-button-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-button .menu-bar-button-icon{width:16px;height:16px}}@media (min-width: 62em){.duet-menu-bar-button{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-button{padding:0 28px}}@media (min-width: 62em){.duet-menu-bar-button:hover{color:rgb(0, 119, 179)}}.duet-theme-turva.duet-menu-bar-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}@media (min-width: 62em){.duet-theme-turva.duet-menu-bar-button:hover{color:rgb(230, 23, 64)}}";
10
10
 
@@ -55,10 +55,10 @@ const DuetMenuBarButton = class {
55
55
  * Always the last one in the class.
56
56
  */
57
57
  render() {
58
- return (index.h(index.Host, { key: '5e64c2ede59d8e16972663cace2e98dffca3a060', role: "listitem", onfocus: () => this.setFocus() }, index.h("button", { key: '362525c4f563bd1a5ffad7b8fee029d904fb72c8', ref: button => (this.nativeButton = button), class: {
58
+ return (index.h(index.Host, { key: '27fb2c633e88b04b7397830d15c881240d29a91b', role: "listitem", onfocus: () => this.setFocus() }, index.h("button", { key: '29791cfd8473dc9407238460bcb1e169f183f074', ref: button => (this.nativeButton = button), class: {
59
59
  "duet-menu-bar-button": true,
60
60
  "duet-theme-turva": this.theme === "turva",
61
- }, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (index.h("duet-icon", { key: '439d74e7bdfb1396a7c1e2940c3bcf142c3150b6', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), index.h("slot", { key: '61a36d95ee1b2962b3f966dc99678c7e00c00692' }))));
61
+ }, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (index.h("duet-icon", { key: 'e037dac1385bef39b070602ba5bfb278470a49dd', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), index.h("slot", { key: '95fd0aef38328dece2756ceed18c904c0c447d76' }))));
62
62
  }
63
63
  get element() { return index.getElement(this); }
64
64
  };
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B_QTwXEx.js');
7
- var themeableComponent = require('./themeable-component-h3OzJgCb.js');
6
+ var index = require('./index-ZxE6MB5V.js');
7
+ var themeableComponent = require('./themeable-component-CIDaln0Z.js');
8
8
  var keyboardUtils = require('./keyboard-utils-D9UlHbik.js');
9
9
 
10
10
  const duetMenuBarDropdownLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%}.duet-menu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 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;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-decoration:none}.duet-menu-bar-dropdown-link:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-menu-bar-dropdown-link:focus,.duet-menu-bar-dropdown-link:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-menu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-menu-bar-dropdown-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:rgb(23, 42, 59)}.duet-menu-bar-dropdown-link.duet-theme-turva:hover{background:rgb(251, 235, 225)}";
@@ -54,11 +54,11 @@ const DuetMenuBarDropdownLink = class {
54
54
  * Always the last one in the class.
55
55
  */
56
56
  render() {
57
- return (index.h(index.Host, { key: '6d31641d480353ee7f924029a31c94dc1747f1ed' }, index.h("a", { key: 'ea374446994ad7ea0780b8f4320247c718f08219', class: {
57
+ return (index.h(index.Host, { key: '44c02bb0c92ca03579e70dc6f79178099f38de61' }, index.h("a", { key: '26b45ac19043800a070894afec67517d051b6ccc', class: {
58
58
  "duet-menu-bar-dropdown-link": true,
59
59
  [`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
60
60
  "duet-theme-turva": this.theme === "turva",
61
- }, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (index.h("duet-icon", { key: '486173db589cdbf851d3a5dd9171990af84707bb', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), index.h("slot", { key: 'd284cabdff17ad2590e80ed02894fe87425507b0' }))));
61
+ }, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (index.h("duet-icon", { key: '4d481450931bbf089d2f6d5ee7076aca7c3978f1', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), index.h("slot", { key: 'b47043814429787c833949bac92bae95b2001419' }))));
62
62
  }
63
63
  get element() { return index.getElement(this); }
64
64
  };
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-B_QTwXEx.js');
7
- var themeableComponent = require('./themeable-component-h3OzJgCb.js');
6
+ var index = require('./index-ZxE6MB5V.js');
7
+ var themeableComponent = require('./themeable-component-CIDaln0Z.js');
8
8
  var keyboardUtils = require('./keyboard-utils-D9UlHbik.js');
9
9
 
10
10
  const duetMenuBarDropdownCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;height:100%}@media (min-width: 62em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 16px}}@media (min-width: 76.25em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 28px}}.duet-menu-bar-dropdown{position:relative;height:100%}.duet-menu-bar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;cursor:pointer}.duet-menu-bar-dropdown button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-menu-bar-dropdown button:focus,.duet-menu-bar-dropdown button:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}@media (min-width: 62em){.duet-menu-bar-dropdown button{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-dropdown button{padding:0 28px}}.duet-menu-bar-dropdown button:hover{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-menu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button.active .caret{transform:rotate(180deg)}.duet-menu-bar-dropdown button.active::after{position:absolute;top:auto;bottom:2px;left:0;display:block;width:100%;height:2px;content:\"\";background:rgb(0, 119, 179);transform:translateY(2px);transition:300ms ease}.duet-menu-bar-dropdown .menu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-dropdown .menu-bar-dropdown-icon{width:16px;height:16px}}.duet-menu-bar-dropdown .items{position:absolute;top:70%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:225px;padding:8px;color:rgb(8, 42, 77);background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15)}.duet-menu-bar-dropdown .items.hidden{display:none}.duet-menu-bar-dropdown.duet-theme-turva button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}.duet-menu-bar-dropdown.duet-theme-turva button:hover{color:rgb(230, 23, 64)}.duet-menu-bar-dropdown.duet-theme-turva button.active{color:rgb(230, 23, 64)}.duet-menu-bar-dropdown.duet-theme-turva button.active::after{background:rgb(230, 23, 64)}.duet-menu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}";
@@ -68,17 +68,17 @@ const DuetMenuBarDropdown = class {
68
68
  * Always the last one in the class.
69
69
  */
70
70
  render() {
71
- return (index.h(index.Host, { key: '870e7ba2d40001532dabdb4c9468b73570e1ade7', role: "listitem" }, index.h("div", { key: '7c60bf682acd9d11e8633f862f07391a706de817', class: {
71
+ return (index.h(index.Host, { key: 'c46c77a3b37d72d4f026c5027a8bed6dc33621c5', role: "listitem" }, index.h("div", { key: 'bed24491075bfc2c5dcf225c5262a1af76e7a34f', class: {
72
72
  "duet-menu-bar-dropdown": true,
73
73
  "duet-theme-turva": this.theme === "turva",
74
74
  active: this.open,
75
75
  [`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
76
- } }, index.h("button", { key: 'c0bdf57ef46ae179d3c0d6e7f45bdd7ffe10769b', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
76
+ } }, index.h("button", { key: 'bee18f72f97fe86364cdf6afa685602feea7f694', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
77
77
  active: this.open,
78
- }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (index.h("duet-icon", { key: 'c97e52d72933959ecbd6b9519940427735cdeccc', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), index.h("div", { key: 'd831c0f2defb108643ac9a11f6be93f4f98a8dbc', class: "label" }, index.h("slot", { key: 'c396567614cd3badd2b373a1922ea907f75750a8', name: "label" }), index.h("duet-icon", { key: '4e8adfdf9998028a514fa386275affa9c4fe29be', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), index.h("div", { key: '683257ed3f02ee4cde289c0efe48af7f06fa50c5', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
78
+ }, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (index.h("duet-icon", { key: '9b5beb13681712fe262c14ba74de6b30ab481dff', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), index.h("div", { key: 'debea3ea41d1b4358dbf774b54558d8921b92006', class: "label" }, index.h("slot", { key: 'fffcc54cdfb0032577c066e374c3465eafac3206', name: "label" }), index.h("duet-icon", { key: 'a36c591292ca2c2b445e04f53721f788a4005934', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), index.h("div", { key: '3794aa5366239e4db4286303ef75f30778e3b911', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
79
79
  items: true,
80
80
  hidden: !this.open,
81
- } }, index.h("slot", { key: '281de42fd56a1c9be76c9b4218d4354032a56834' })))));
81
+ } }, index.h("slot", { key: '4a0657ee88ab885d6e177b654e0e9231d0027ec1' })))));
82
82
  }
83
83
  get element() { return index.getElement(this); }
84
84
  };