@duetds/components 6.0.7 → 6.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (524) hide show
  1. package/hydrate/index.js +1362 -216
  2. package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
  8. package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-card.cjs.entry.js +10 -4
  10. package/lib/cjs/duet-checkbox.cjs.entry.js +6 -2
  11. package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
  12. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  13. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  16. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  17. package/lib/cjs/duet-editable-table_3.cjs.entry.js +7 -18
  18. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  19. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  21. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  23. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  24. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  25. package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
  26. package/lib/cjs/duet-layout.cjs.entry.js +8 -2
  27. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +49 -0
  29. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +65 -0
  30. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +46 -0
  31. package/lib/cjs/duet-menu-bar-menu-dropdown-link.cjs.entry.js +58 -0
  32. package/lib/cjs/duet-menu-bar-menu-dropdown.cjs.entry.js +65 -0
  33. package/lib/cjs/duet-menu-bar-menu-link.cjs.entry.js +50 -0
  34. package/lib/cjs/duet-menu-bar-menu.cjs.entry.js +65 -0
  35. package/lib/cjs/duet-menu-bar.cjs.entry.js +76 -0
  36. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  37. package/lib/cjs/duet-multiselect.cjs.entry.js +227 -0
  38. package/lib/cjs/duet-nav.cjs.entry.js +116 -0
  39. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-section-layout.cjs.entry.js +42 -0
  47. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  48. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +54 -0
  52. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +78 -0
  53. package/lib/cjs/duet-toolbar-link.cjs.entry.js +50 -0
  54. package/lib/cjs/duet-toolbar.cjs.entry.js +38 -0
  55. package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  57. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  58. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  59. package/lib/cjs/duet.cjs.js +2 -2
  60. package/lib/cjs/{focus-utils-46880ee6.js → focus-utils-7a45cd29.js} +1 -1
  61. package/lib/cjs/{index-54afad07.js → index-222041ff.js} +1 -1
  62. package/lib/cjs/loader.cjs.js +2 -2
  63. package/lib/cjs/{token-utils-f6e2f4ef.js → token-utils-2e10264d.js} +17 -1
  64. package/lib/cjs/{tokens-4c69b122.js → tokens-21b244ee.js} +1 -0
  65. package/lib/cjs/{tokens.module-1bb2d45e.js → tokens.module-69170ddd.js} +3 -0
  66. package/lib/collection/collection-manifest.json +20 -0
  67. package/lib/collection/components/duet-card/duet-card.css +45 -0
  68. package/lib/collection/components/duet-card/duet-card.js +29 -0
  69. package/lib/collection/components/duet-checkbox/duet-checkbox.js +23 -1
  70. package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -1
  71. package/lib/collection/components/duet-layout/duet-layout.css +45 -0
  72. package/lib/collection/components/duet-layout/duet-layout.js +29 -0
  73. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +62 -0
  74. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +109 -0
  75. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +125 -0
  76. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +150 -0
  77. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +52 -0
  78. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +110 -0
  79. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +61 -0
  80. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +107 -0
  81. package/lib/collection/components/duet-menu-bar-menu/duet-menu-bar-menu.css +113 -0
  82. package/lib/collection/components/duet-menu-bar-menu/duet-menu-bar-menu.js +147 -0
  83. package/lib/collection/components/duet-menu-bar-menu-dropdown/duet-menu-bar-menu-dropdown.css +113 -0
  84. package/lib/collection/components/duet-menu-bar-menu-dropdown/duet-menu-bar-menu-dropdown.js +150 -0
  85. package/lib/collection/components/duet-menu-bar-menu-dropdown-link/duet-menu-bar-menu-dropdown-link.css +60 -0
  86. package/lib/collection/components/duet-menu-bar-menu-dropdown-link/duet-menu-bar-menu-dropdown-link.js +156 -0
  87. package/lib/collection/components/duet-menu-bar-menu-link/duet-menu-bar-menu-link.css +65 -0
  88. package/lib/collection/components/duet-menu-bar-menu-link/duet-menu-bar-menu-link.js +129 -0
  89. package/lib/collection/components/duet-multiselect/duet-multiselect.css +257 -0
  90. package/lib/collection/components/duet-multiselect/duet-multiselect.js +607 -0
  91. package/lib/collection/components/duet-nav/duet-nav.css +24 -0
  92. package/lib/collection/components/duet-nav/duet-nav.js +177 -0
  93. package/lib/collection/components/duet-section-layout/duet-section-layout.css +100 -0
  94. package/lib/collection/components/duet-section-layout/duet-section-layout.js +85 -0
  95. package/lib/collection/components/duet-table/duet-table.js +4 -16
  96. package/lib/collection/components/duet-toolbar/duet-toolbar.css +43 -0
  97. package/lib/collection/components/duet-toolbar/duet-toolbar.js +67 -0
  98. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +117 -0
  99. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +181 -0
  100. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +60 -0
  101. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +133 -0
  102. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +78 -0
  103. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +129 -0
  104. package/lib/collection/utils/token-utils.js +15 -0
  105. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  106. package/lib/dist-custom-elements/duet-alert.js +1 -1
  107. package/lib/dist-custom-elements/duet-badge.js +1 -1
  108. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  109. package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
  110. package/lib/dist-custom-elements/duet-button.js +1 -1
  111. package/lib/dist-custom-elements/duet-caption.js +1 -1
  112. package/lib/dist-custom-elements/duet-card.js +12 -5
  113. package/lib/dist-custom-elements/duet-checkbox.js +1 -155
  114. package/lib/dist-custom-elements/duet-choice-group.js +6 -6
  115. package/lib/dist-custom-elements/duet-choice.js +5 -5
  116. package/lib/dist-custom-elements/duet-collapsible.js +3 -3
  117. package/lib/dist-custom-elements/duet-combobox.js +3 -3
  118. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  119. package/lib/dist-custom-elements/duet-date-picker.js +8 -8
  120. package/lib/dist-custom-elements/duet-divider.js +1 -1
  121. package/lib/dist-custom-elements/duet-editable-table.js +1 -1
  122. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  123. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  124. package/lib/dist-custom-elements/duet-footer.js +4 -4
  125. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  126. package/lib/dist-custom-elements/duet-grid.js +1 -1
  127. package/lib/dist-custom-elements/duet-header.js +9 -9
  128. package/lib/dist-custom-elements/duet-heading.js +1 -1
  129. package/lib/dist-custom-elements/duet-hero.js +9 -9
  130. package/lib/dist-custom-elements/duet-icon.js +1 -1
  131. package/lib/dist-custom-elements/duet-input.js +1 -1
  132. package/lib/dist-custom-elements/duet-label.js +1 -1
  133. package/lib/dist-custom-elements/duet-layout.js +10 -3
  134. package/lib/dist-custom-elements/duet-link.js +1 -1
  135. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  136. package/lib/dist-custom-elements/duet-list.js +1 -1
  137. package/lib/dist-custom-elements/duet-logo.js +1 -1
  138. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.d.ts +11 -0
  139. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +73 -0
  140. package/lib/dist-custom-elements/duet-menu-bar-dropdown.d.ts +11 -0
  141. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +89 -0
  142. package/lib/dist-custom-elements/duet-menu-bar-link.d.ts +11 -0
  143. package/lib/dist-custom-elements/duet-menu-bar-link.js +70 -0
  144. package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown-link.d.ts +11 -0
  145. package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown-link.js +84 -0
  146. package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown.d.ts +11 -0
  147. package/lib/dist-custom-elements/duet-menu-bar-menu-dropdown.js +89 -0
  148. package/lib/dist-custom-elements/duet-menu-bar-menu-link.d.ts +11 -0
  149. package/lib/dist-custom-elements/duet-menu-bar-menu-link.js +75 -0
  150. package/lib/dist-custom-elements/duet-menu-bar-menu.d.ts +11 -0
  151. package/lib/dist-custom-elements/duet-menu-bar-menu.js +83 -0
  152. package/lib/dist-custom-elements/duet-menu-bar.d.ts +11 -0
  153. package/lib/dist-custom-elements/duet-menu-bar.js +99 -0
  154. package/lib/dist-custom-elements/duet-modal.js +7 -7
  155. package/lib/dist-custom-elements/duet-multiselect.d.ts +11 -0
  156. package/lib/dist-custom-elements/duet-multiselect.js +302 -0
  157. package/lib/dist-custom-elements/duet-nav.d.ts +11 -0
  158. package/lib/dist-custom-elements/duet-nav.js +132 -0
  159. package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
  160. package/lib/dist-custom-elements/duet-notification.js +2 -2
  161. package/lib/dist-custom-elements/duet-number-input.js +7 -7
  162. package/lib/dist-custom-elements/duet-pagination.js +7 -7
  163. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  164. package/lib/dist-custom-elements/duet-progress.js +1 -1
  165. package/lib/dist-custom-elements/duet-radio-group.js +6 -6
  166. package/lib/dist-custom-elements/duet-radio.js +1 -1
  167. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  168. package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
  169. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  170. package/lib/dist-custom-elements/duet-section-layout.d.ts +11 -0
  171. package/lib/dist-custom-elements/duet-section-layout.js +59 -0
  172. package/lib/dist-custom-elements/duet-select.js +1 -1
  173. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  174. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  175. package/lib/dist-custom-elements/duet-step.js +4 -4
  176. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  177. package/lib/dist-custom-elements/duet-tab-group.js +8 -8
  178. package/lib/dist-custom-elements/duet-tab.js +1 -1
  179. package/lib/dist-custom-elements/duet-table.js +1 -1
  180. package/lib/dist-custom-elements/duet-textarea.js +8 -8
  181. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  182. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.d.ts +11 -0
  183. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +79 -0
  184. package/lib/dist-custom-elements/duet-toolbar-dropdown.d.ts +11 -0
  185. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +103 -0
  186. package/lib/dist-custom-elements/duet-toolbar-link.d.ts +11 -0
  187. package/lib/dist-custom-elements/duet-toolbar-link.js +75 -0
  188. package/lib/dist-custom-elements/duet-toolbar.d.ts +11 -0
  189. package/lib/dist-custom-elements/duet-toolbar.js +54 -0
  190. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  191. package/lib/dist-custom-elements/duet-tray.js +4 -4
  192. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  193. package/lib/dist-custom-elements/duet-upload.js +18 -18
  194. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  195. package/lib/dist-custom-elements/index.js +1 -1
  196. package/lib/dist-custom-elements/{p-3426a84c.js → p-10c5ec0a.js} +2 -2
  197. package/lib/dist-custom-elements/{p-f23c23e9.js → p-30639e6d.js} +3 -3
  198. package/lib/{esm/tokens.module-385c4cf8.js → dist-custom-elements/p-33e00967.js} +1 -1
  199. package/lib/dist-custom-elements/{p-2f73ed5f.js → p-3691df06.js} +2 -2
  200. package/lib/dist-custom-elements/{p-12a61b16.js → p-3b984f00.js} +2 -2
  201. package/lib/dist-custom-elements/{p-4e94138b.js → p-53aed47b.js} +5 -5
  202. package/lib/dist-custom-elements/{p-836021e7.js → p-59f83f34.js} +2 -2
  203. package/lib/dist-custom-elements/{p-f42b7c16.js → p-629a7253.js} +4 -4
  204. package/lib/dist-custom-elements/{p-01a47ed0.js → p-704cfe64.js} +2 -2
  205. package/lib/dist-custom-elements/{p-bf876e72.js → p-70bfd26c.js} +2 -2
  206. package/lib/dist-custom-elements/{p-a081f721.js → p-809d88d4.js} +3 -3
  207. package/lib/dist-custom-elements/{p-a56649ff.js → p-8f052709.js} +6 -6
  208. package/lib/dist-custom-elements/{p-565c7b5e.js → p-914d8914.js} +2 -2
  209. package/lib/dist-custom-elements/p-936569fb.js +165 -0
  210. package/lib/dist-custom-elements/{p-0a3b3fbb.js → p-936e320e.js} +5 -5
  211. package/lib/dist-custom-elements/{p-c8517782.js → p-9607e182.js} +5 -17
  212. package/lib/dist-custom-elements/{p-76a78894.js → p-990a00b7.js} +2 -2
  213. package/lib/dist-custom-elements/{p-86faf728.js → p-9ed347f9.js} +17 -2
  214. package/lib/dist-custom-elements/{p-d05492d6.js → p-a5395818.js} +2 -2
  215. package/lib/dist-custom-elements/{p-3185bbc5.js → p-a563c612.js} +1 -1
  216. package/lib/dist-custom-elements/{p-b7f5c755.js → p-b715c813.js} +1 -1
  217. package/lib/dist-custom-elements/{p-10a1a3da.js → p-b8a94f80.js} +1 -1
  218. package/lib/dist-custom-elements/{p-f07d95b9.js → p-bcc881ab.js} +1 -1
  219. package/lib/dist-custom-elements/{p-fbb39f58.js → p-bd7fbd74.js} +1 -1
  220. package/lib/dist-custom-elements/{p-dfb36895.js → p-c0cc3992.js} +1 -1
  221. package/lib/dist-custom-elements/{p-02305a1e.js → p-c4d8cad0.js} +1 -1
  222. package/lib/dist-custom-elements/{p-f20bce7d.js → p-c62a4b7f.js} +1 -1
  223. package/lib/dist-custom-elements/{p-2215e15e.js → p-c9848d70.js} +6 -6
  224. package/lib/dist-custom-elements/{p-59480ad8.js → p-cf5f722f.js} +1 -1
  225. package/lib/dist-custom-elements/{p-068d8815.js → p-d629bb70.js} +1 -1
  226. package/lib/dist-custom-elements/{p-fe39bfb6.js → p-dde5cc29.js} +9 -8
  227. package/lib/dist-custom-elements/{p-1940df2f.js → p-f25401f4.js} +1 -1
  228. package/lib/dist-custom-elements/{p-85e4dd88.js → p-fcbb448b.js} +2 -2
  229. package/lib/dist-custom-elements/{p-c36d9eb5.js → p-fd6ca85a.js} +2 -2
  230. package/lib/duet/duet.esm.js +1 -1
  231. package/lib/duet/duet.js +1 -1
  232. package/lib/duet/{p-d98eedc7.entry.js → p-008723a7.entry.js} +1 -1
  233. package/lib/duet/{p-8b0fef4c.system.entry.js → p-00875eb4.system.entry.js} +1 -1
  234. package/lib/duet/{p-c16f5680.system.entry.js → p-019dd9ee.system.entry.js} +1 -1
  235. package/lib/duet/p-02f96400.system.js +4 -0
  236. package/lib/duet/{p-108f093f.system.entry.js → p-038c0be8.system.entry.js} +1 -1
  237. package/lib/duet/{p-e873306b.system.entry.js → p-05a9b2ed.system.entry.js} +1 -1
  238. package/lib/duet/p-081ca907.entry.js +4 -0
  239. package/lib/duet/{p-794e74ca.system.entry.js → p-0b2968fd.system.entry.js} +1 -1
  240. package/lib/duet/{p-0ef9099d.system.entry.js → p-0b4d0648.system.entry.js} +1 -1
  241. package/lib/duet/{p-ed8d9d14.system.entry.js → p-0e26a1f7.system.entry.js} +1 -1
  242. package/lib/duet/{p-00228a70.entry.js → p-0e3add03.entry.js} +1 -1
  243. package/lib/duet/{p-dbdaec86.entry.js → p-14a34528.entry.js} +1 -1
  244. package/lib/duet/p-17063917.system.js +4 -0
  245. package/lib/duet/{p-bd85d575.entry.js → p-17d6a4ae.entry.js} +1 -1
  246. package/lib/duet/{p-0082ff0a.system.entry.js → p-1a46b65f.system.entry.js} +1 -1
  247. package/lib/duet/{p-6a49efbc.js → p-1c98eb39.js} +1 -1
  248. package/lib/duet/p-1cf2522d.js +4 -0
  249. package/lib/duet/{p-f8ae4f24.system.entry.js → p-1d398157.system.entry.js} +1 -1
  250. package/lib/duet/{p-1fd65b6a.system.entry.js → p-21c20799.system.entry.js} +1 -1
  251. package/lib/duet/{p-afdf9c1c.system.entry.js → p-221a80d7.system.entry.js} +1 -1
  252. package/lib/duet/{p-e7f779ed.entry.js → p-23c032d9.entry.js} +1 -1
  253. package/lib/duet/p-2436c0a5.system.entry.js +4 -0
  254. package/lib/duet/{p-8baa5bd1.system.entry.js → p-2801f614.system.entry.js} +1 -1
  255. package/lib/duet/{p-00030749.entry.js → p-28fd9fd5.entry.js} +1 -1
  256. package/lib/duet/p-2d2e2b4b.entry.js +4 -0
  257. package/lib/duet/p-2d84d85d.entry.js +4 -0
  258. package/lib/duet/p-2ed0b7b5.entry.js +4 -0
  259. package/lib/duet/p-2ed52fbc.entry.js +4 -0
  260. package/lib/duet/p-32fb7a16.entry.js +4 -0
  261. package/lib/duet/{p-59edf7bc.system.entry.js → p-3d1a4328.system.entry.js} +1 -1
  262. package/lib/duet/{p-16f67902.system.entry.js → p-3dbbac7c.system.entry.js} +1 -1
  263. package/lib/duet/{p-444b7187.system.entry.js → p-438f4e56.system.entry.js} +1 -1
  264. package/lib/duet/{p-3054a69d.entry.js → p-43f6c489.entry.js} +1 -1
  265. package/lib/duet/{p-69b0c916.system.entry.js → p-46c90395.system.entry.js} +1 -1
  266. package/lib/duet/p-4929228f.entry.js +4 -0
  267. package/lib/duet/p-5283c47e.system.entry.js +4 -0
  268. package/lib/duet/{p-b77057b8.entry.js → p-5360c82c.entry.js} +1 -1
  269. package/lib/duet/{p-8ff5cb03.entry.js → p-54fb6981.entry.js} +1 -1
  270. package/lib/duet/{p-7088d347.entry.js → p-54fdd242.entry.js} +1 -1
  271. package/lib/duet/{p-933a2bd0.system.entry.js → p-551d2285.system.entry.js} +1 -1
  272. package/lib/duet/{p-d74d81a1.system.entry.js → p-5596a05a.system.entry.js} +1 -1
  273. package/lib/duet/p-559f5bd9.system.entry.js +4 -0
  274. package/lib/duet/{p-3fd6ad80.entry.js → p-5716f7cf.entry.js} +1 -1
  275. package/lib/duet/p-5a1feacf.system.entry.js +4 -0
  276. package/lib/duet/p-5d46f619.system.js +4 -0
  277. package/lib/duet/{p-5116e9b7.system.entry.js → p-5da6bb5e.system.entry.js} +1 -1
  278. package/lib/duet/p-5effbb73.system.entry.js +4 -0
  279. package/lib/duet/p-63d9b5be.entry.js +4 -0
  280. package/lib/duet/p-66ecef22.entry.js +4 -0
  281. package/lib/duet/{p-d4bb0408.entry.js → p-67afeaa0.entry.js} +1 -1
  282. package/lib/duet/p-67caf318.system.entry.js +4 -0
  283. package/lib/duet/p-67dfbcb9.system.entry.js +4 -0
  284. package/lib/duet/{p-0433b19b.entry.js → p-6829edbb.entry.js} +1 -1
  285. package/lib/duet/{p-f92491e1.entry.js → p-69bd2658.entry.js} +1 -1
  286. package/lib/duet/{p-13cdbe65.entry.js → p-6f085d5d.entry.js} +1 -1
  287. package/lib/duet/{p-63b7a28e.system.entry.js → p-709b02d5.system.entry.js} +2 -2
  288. package/lib/duet/p-709d05a4.entry.js +4 -0
  289. package/lib/duet/p-73ee04df.system.entry.js +4 -0
  290. package/lib/duet/{p-9cb0def1.system.entry.js → p-754da360.system.entry.js} +1 -1
  291. package/lib/duet/{p-d674ef21.entry.js → p-768b2c68.entry.js} +1 -1
  292. package/lib/duet/{p-7e3d7a7e.system.entry.js → p-78aa261b.system.entry.js} +1 -1
  293. package/lib/duet/{p-9f51f625.entry.js → p-797c482e.entry.js} +1 -1
  294. package/lib/duet/p-79a9746e.js +4 -0
  295. package/lib/duet/{p-c76ec371.system.entry.js → p-7b1eb2c4.system.entry.js} +1 -1
  296. package/lib/duet/p-7d4fb3ca.system.entry.js +4 -0
  297. package/lib/duet/{p-faf74d63.entry.js → p-7ebf9213.entry.js} +1 -1
  298. package/lib/duet/{p-6be76f1d.entry.js → p-7ef938ce.entry.js} +1 -1
  299. package/lib/duet/p-806ef9ec.system.entry.js +4 -0
  300. package/lib/duet/p-8078b081.system.js +4 -0
  301. package/lib/duet/{p-6e648879.entry.js → p-808cae20.entry.js} +1 -1
  302. package/lib/duet/{p-f3e7fc61.system.entry.js → p-80c32801.system.entry.js} +1 -1
  303. package/lib/duet/{p-7ba68318.system.entry.js → p-828c0da8.system.entry.js} +1 -1
  304. package/lib/duet/p-82fb4b79.entry.js +4 -0
  305. package/lib/duet/p-8adfc149.entry.js +4 -0
  306. package/lib/duet/{p-f40277da.system.entry.js → p-8c647ccd.system.entry.js} +1 -1
  307. package/lib/duet/p-8e03dfcf.system.entry.js +4 -0
  308. package/lib/duet/p-8f037a84.system.entry.js +4 -0
  309. package/lib/duet/p-9052b6f5.js +4 -0
  310. package/lib/duet/{p-1219c251.system.js → p-945d09b1.system.js} +1 -1
  311. package/lib/duet/p-9511eeb0.system.entry.js +4 -0
  312. package/lib/duet/p-9b7206f2.entry.js +4 -0
  313. package/lib/duet/p-9eb819d4.entry.js +4 -0
  314. package/lib/duet/{p-607eb013.entry.js → p-9f180230.entry.js} +1 -1
  315. package/lib/duet/{p-b44ae985.system.entry.js → p-a308e5d8.system.entry.js} +1 -1
  316. package/lib/duet/{p-3dadf26a.system.entry.js → p-a896fc94.system.entry.js} +1 -1
  317. package/lib/duet/p-aa2d8671.system.entry.js +4 -0
  318. package/lib/duet/p-aae2908f.entry.js +4 -0
  319. package/lib/duet/{p-187a788e.entry.js → p-ac965a4c.entry.js} +1 -1
  320. package/lib/duet/p-b0cdcf07.system.entry.js +4 -0
  321. package/lib/duet/{p-6372465a.entry.js → p-b77a7f39.entry.js} +1 -1
  322. package/lib/duet/{p-ff4995cc.entry.js → p-bd764d77.entry.js} +1 -1
  323. package/lib/duet/p-be0fb72f.entry.js +4 -0
  324. package/lib/duet/{p-a3ca26e9.system.entry.js → p-c0522118.system.entry.js} +1 -1
  325. package/lib/duet/{p-39c02539.system.entry.js → p-c25bac2c.system.entry.js} +1 -1
  326. package/lib/duet/{p-889cf32a.system.entry.js → p-c3c89ceb.system.entry.js} +1 -1
  327. package/lib/duet/{p-dc163c6e.entry.js → p-c47d6d7f.entry.js} +1 -1
  328. package/lib/duet/p-c4d8cad0.js +4 -0
  329. package/lib/duet/p-c602c7d9.system.entry.js +4 -0
  330. package/lib/duet/{p-e52ea726.entry.js → p-c659f77e.entry.js} +1 -1
  331. package/lib/duet/p-cd81fe71.entry.js +4 -0
  332. package/lib/duet/{p-50551874.entry.js → p-ce2cb1a1.entry.js} +1 -1
  333. package/lib/duet/p-d2f68f18.system.entry.js +4 -0
  334. package/lib/duet/{p-b0bf6662.entry.js → p-d82fa629.entry.js} +1 -1
  335. package/lib/duet/{p-be4c1b3f.entry.js → p-d8e321c6.entry.js} +1 -1
  336. package/lib/duet/{p-b4ffca84.system.entry.js → p-dc56dcf6.system.entry.js} +1 -1
  337. package/lib/duet/p-dcf961de.entry.js +4 -0
  338. package/lib/duet/{p-70a1a9bf.system.js → p-e1dbc0ce.system.js} +1 -1
  339. package/lib/duet/{p-c4a44c55.system.entry.js → p-e2b3fd43.system.entry.js} +1 -1
  340. package/lib/duet/{p-14e9ccd4.entry.js → p-e4455346.entry.js} +1 -1
  341. package/lib/duet/p-e4af296b.entry.js +4 -0
  342. package/lib/duet/p-e658e8eb.system.entry.js +4 -0
  343. package/lib/duet/{p-661839a3.entry.js → p-e8fa961d.entry.js} +1 -1
  344. package/lib/duet/{p-46f86392.entry.js → p-ef10e614.entry.js} +1 -1
  345. package/lib/duet/{p-c1c11d71.system.entry.js → p-ef82e2ef.system.entry.js} +1 -1
  346. package/lib/duet/p-efaf5929.system.entry.js +4 -0
  347. package/lib/duet/{p-cacad773.system.entry.js → p-f07bfed6.system.entry.js} +1 -1
  348. package/lib/duet/p-f1fa5107.entry.js +4 -0
  349. package/lib/duet/{p-90e58b7f.entry.js → p-f26434c2.entry.js} +1 -1
  350. package/lib/duet/{p-24210b97.system.entry.js → p-f414ce87.system.entry.js} +1 -1
  351. package/lib/duet/{p-92c491d9.entry.js → p-f65d9557.entry.js} +1 -1
  352. package/lib/duet/{p-a44366ba.entry.js → p-f78e687a.entry.js} +1 -1
  353. package/lib/duet/{p-f020f7b9.entry.js → p-fbcaf752.entry.js} +1 -1
  354. package/lib/duet/{p-177abbdc.system.entry.js → p-fccbd519.system.entry.js} +1 -1
  355. package/lib/duet/{p-dcb5d509.system.entry.js → p-fe3b4f38.system.entry.js} +1 -1
  356. package/lib/duet/{p-9587a804.entry.js → p-ff6af701.entry.js} +1 -1
  357. package/lib/esm/duet-action-button.entry.js +3 -3
  358. package/lib/esm/duet-alert.entry.js +1 -1
  359. package/lib/esm/duet-badge.entry.js +1 -1
  360. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  361. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  362. package/lib/esm/duet-button_2.entry.js +3 -3
  363. package/lib/esm/duet-caption_4.entry.js +3 -3
  364. package/lib/esm/duet-card.entry.js +10 -4
  365. package/lib/esm/duet-checkbox.entry.js +6 -2
  366. package/lib/esm/duet-choice_2.entry.js +2 -2
  367. package/lib/esm/duet-collapsible.entry.js +2 -2
  368. package/lib/esm/duet-combobox.entry.js +1 -1
  369. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  370. package/lib/esm/duet-date-picker.entry.js +2 -2
  371. package/lib/esm/duet-divider_2.entry.js +1 -1
  372. package/lib/esm/duet-editable-table_3.entry.js +7 -18
  373. package/lib/esm/duet-empty-state.entry.js +1 -1
  374. package/lib/esm/duet-fieldset.entry.js +1 -1
  375. package/lib/esm/duet-footer.entry.js +1 -1
  376. package/lib/esm/duet-grid_2.entry.js +2 -2
  377. package/lib/esm/duet-header_2.entry.js +3 -3
  378. package/lib/esm/duet-hero.entry.js +1 -1
  379. package/lib/esm/duet-icon.entry.js +3 -3
  380. package/lib/esm/duet-input_2.entry.js +1 -1
  381. package/lib/esm/duet-layout.entry.js +8 -2
  382. package/lib/esm/duet-list_2.entry.js +1 -1
  383. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +45 -0
  384. package/lib/esm/duet-menu-bar-dropdown.entry.js +61 -0
  385. package/lib/esm/duet-menu-bar-link.entry.js +42 -0
  386. package/lib/esm/duet-menu-bar-menu-dropdown-link.entry.js +54 -0
  387. package/lib/esm/duet-menu-bar-menu-dropdown.entry.js +61 -0
  388. package/lib/esm/duet-menu-bar-menu-link.entry.js +46 -0
  389. package/lib/esm/duet-menu-bar-menu.entry.js +61 -0
  390. package/lib/esm/duet-menu-bar.entry.js +72 -0
  391. package/lib/esm/duet-modal.entry.js +2 -2
  392. package/lib/esm/duet-multiselect.entry.js +223 -0
  393. package/lib/esm/duet-nav.entry.js +112 -0
  394. package/lib/esm/duet-notification_2.entry.js +1 -1
  395. package/lib/esm/duet-number-input.entry.js +1 -1
  396. package/lib/esm/duet-pagination_2.entry.js +1 -1
  397. package/lib/esm/duet-progress.entry.js +1 -1
  398. package/lib/esm/duet-radio_2.entry.js +1 -1
  399. package/lib/esm/duet-range-slider.entry.js +2 -2
  400. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  401. package/lib/esm/duet-section-layout.entry.js +38 -0
  402. package/lib/esm/duet-select.entry.js +1 -1
  403. package/lib/esm/duet-step_2.entry.js +1 -1
  404. package/lib/esm/duet-textarea.entry.js +1 -1
  405. package/lib/esm/duet-toggle.entry.js +1 -1
  406. package/lib/esm/duet-toolbar-dropdown-link.entry.js +50 -0
  407. package/lib/esm/duet-toolbar-dropdown.entry.js +74 -0
  408. package/lib/esm/duet-toolbar-link.entry.js +46 -0
  409. package/lib/esm/duet-toolbar.entry.js +34 -0
  410. package/lib/esm/duet-tooltip.entry.js +1 -1
  411. package/lib/esm/duet-tray.entry.js +2 -2
  412. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  413. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  414. package/lib/esm/duet.js +2 -2
  415. package/lib/esm/{focus-utils-d5499410.js → focus-utils-ac3a342e.js} +1 -1
  416. package/lib/esm/{index-26388161.js → index-5c6775f8.js} +1 -1
  417. package/lib/esm/loader.js +2 -2
  418. package/lib/esm/{token-utils-ebf797ab.js → token-utils-b531747a.js} +17 -2
  419. package/lib/esm/{tokens-b9d87fda.js → tokens-0963dc8b.js} +1 -1
  420. package/lib/{dist-custom-elements/p-266411cf.js → esm/tokens.module-d3321092.js} +1 -1
  421. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  422. package/lib/esm-es5/duet-alert.entry.js +1 -1
  423. package/lib/esm-es5/duet-badge.entry.js +1 -1
  424. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  425. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  426. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  427. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  428. package/lib/esm-es5/duet-card.entry.js +2 -2
  429. package/lib/esm-es5/duet-checkbox.entry.js +2 -2
  430. package/lib/esm-es5/duet-choice_2.entry.js +2 -2
  431. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  432. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  433. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  434. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  435. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  436. package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
  437. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  438. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  439. package/lib/esm-es5/duet-footer.entry.js +1 -1
  440. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  441. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  442. package/lib/esm-es5/duet-hero.entry.js +1 -1
  443. package/lib/esm-es5/duet-icon.entry.js +1 -1
  444. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  445. package/lib/esm-es5/duet-layout.entry.js +1 -1
  446. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  447. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +4 -0
  448. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +4 -0
  449. package/lib/esm-es5/duet-menu-bar-link.entry.js +4 -0
  450. package/lib/esm-es5/duet-menu-bar-menu-dropdown-link.entry.js +4 -0
  451. package/lib/esm-es5/duet-menu-bar-menu-dropdown.entry.js +4 -0
  452. package/lib/esm-es5/duet-menu-bar-menu-link.entry.js +4 -0
  453. package/lib/esm-es5/duet-menu-bar-menu.entry.js +4 -0
  454. package/lib/esm-es5/duet-menu-bar.entry.js +4 -0
  455. package/lib/esm-es5/duet-modal.entry.js +1 -1
  456. package/lib/esm-es5/duet-multiselect.entry.js +4 -0
  457. package/lib/esm-es5/duet-nav.entry.js +4 -0
  458. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  459. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  460. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  461. package/lib/esm-es5/duet-progress.entry.js +1 -1
  462. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  463. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  464. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  465. package/lib/esm-es5/duet-section-layout.entry.js +4 -0
  466. package/lib/esm-es5/duet-select.entry.js +1 -1
  467. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  468. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  469. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  470. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +4 -0
  471. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +4 -0
  472. package/lib/esm-es5/duet-toolbar-link.entry.js +4 -0
  473. package/lib/esm-es5/duet-toolbar.entry.js +4 -0
  474. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  475. package/lib/esm-es5/duet-tray.entry.js +1 -1
  476. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  477. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  478. package/lib/esm-es5/duet.js +1 -1
  479. package/lib/esm-es5/{focus-utils-d5499410.js → focus-utils-ac3a342e.js} +1 -1
  480. package/lib/esm-es5/{index-26388161.js → index-5c6775f8.js} +1 -1
  481. package/lib/esm-es5/loader.js +1 -1
  482. package/lib/esm-es5/token-utils-b531747a.js +4 -0
  483. package/lib/esm-es5/{tokens-b9d87fda.js → tokens-0963dc8b.js} +1 -1
  484. package/lib/esm-es5/{tokens.module-385c4cf8.js → tokens.module-d3321092.js} +1 -1
  485. package/lib/types/components/duet-card/duet-card.d.ts +6 -0
  486. package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +4 -0
  487. package/lib/types/components/duet-layout/duet-layout.d.ts +6 -0
  488. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +35 -0
  489. package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +49 -0
  490. package/lib/types/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.d.ts +32 -0
  491. package/lib/types/components/duet-menu-bar-link/duet-menu-bar-link.d.ts +32 -0
  492. package/lib/types/components/duet-menu-bar-menu/duet-menu-bar-menu.d.ts +49 -0
  493. package/lib/types/components/duet-menu-bar-menu-dropdown/duet-menu-bar-menu-dropdown.d.ts +49 -0
  494. package/lib/types/components/duet-menu-bar-menu-dropdown-link/duet-menu-bar-menu-dropdown-link.d.ts +40 -0
  495. package/lib/types/components/duet-menu-bar-menu-link/duet-menu-bar-menu-link.d.ts +36 -0
  496. package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +137 -0
  497. package/lib/types/components/duet-nav/duet-nav.d.ts +42 -0
  498. package/lib/types/components/duet-section-layout/duet-section-layout.d.ts +21 -0
  499. package/lib/types/components/duet-table/duet-table.d.ts +1 -12
  500. package/lib/types/components/duet-toolbar/duet-toolbar.d.ts +28 -0
  501. package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +53 -0
  502. package/lib/types/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.d.ts +36 -0
  503. package/lib/types/components/duet-toolbar-link/duet-toolbar-link.d.ts +36 -0
  504. package/lib/types/components.d.ts +717 -0
  505. package/lib/types/utils/token-utils.d.ts +12 -0
  506. package/package.json +8 -7
  507. package/lib/duet/p-02305a1e.js +0 -4
  508. package/lib/duet/p-159ce776.js +0 -4
  509. package/lib/duet/p-1d7bd203.system.entry.js +0 -4
  510. package/lib/duet/p-1fc60a60.system.js +0 -4
  511. package/lib/duet/p-32f7178a.system.js +0 -4
  512. package/lib/duet/p-50081b36.entry.js +0 -4
  513. package/lib/duet/p-532e9db7.js +0 -4
  514. package/lib/duet/p-588be556.js +0 -4
  515. package/lib/duet/p-58eeed4f.system.entry.js +0 -4
  516. package/lib/duet/p-5d160b76.system.entry.js +0 -4
  517. package/lib/duet/p-6caf3423.entry.js +0 -4
  518. package/lib/duet/p-9f37c7e3.entry.js +0 -4
  519. package/lib/duet/p-c1d755c9.system.entry.js +0 -4
  520. package/lib/duet/p-d209191d.system.js +0 -4
  521. package/lib/duet/p-d267c3a2.entry.js +0 -4
  522. package/lib/duet/p-e30dc26c.entry.js +0 -4
  523. package/lib/duet/p-e841deb6.system.js +0 -4
  524. package/lib/esm-es5/token-utils-ebf797ab.js +0 -4
@@ -0,0 +1,181 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { Component, Element, Event, h, Host, Prop } from "@stencil/core";
5
+ import { inheritGlobalTheme } from "../../common/themeable-component";
6
+ export class DuetToolbarDropdown {
7
+ constructor() {
8
+ /**
9
+ * Theme.
10
+ */
11
+ this.theme = "";
12
+ /**
13
+ * Active
14
+ */
15
+ this.active = false;
16
+ /**
17
+ * Open
18
+ */
19
+ this.open = false;
20
+ /**
21
+ * Icon
22
+ */
23
+ this.icon = undefined;
24
+ this.toggleMenu = (e) => {
25
+ const toggle = !this.open;
26
+ this.open = toggle;
27
+ this.duetToolbarDropdownEvent.emit({
28
+ originalEvent: e,
29
+ data: { element: this.element, open: this.open },
30
+ component: "duet-toolbar-dropdown",
31
+ });
32
+ };
33
+ this.onClick = (e) => {
34
+ this.toggleMenu(e);
35
+ e.stopImmediatePropagation();
36
+ };
37
+ }
38
+ /**
39
+ * Component lifecycle events.
40
+ */
41
+ componentWillLoad() {
42
+ inheritGlobalTheme(this);
43
+ }
44
+ /**
45
+ * render() function
46
+ * Always the last one in the class.
47
+ */
48
+ render() {
49
+ let itemsAlign = "right";
50
+ if (this.element && this.element.parentElement) {
51
+ itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
52
+ }
53
+ return (h(Host, null,
54
+ h("div", { class: {
55
+ "duet-toolbar-dropdown": true,
56
+ "duet-theme-turva": this.theme === "turva",
57
+ [itemsAlign]: true,
58
+ } },
59
+ h("button", { "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
60
+ active: this.active,
61
+ open: this.open,
62
+ }, onClick: this.onClick },
63
+ this.icon && h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }),
64
+ h("div", { class: "label" },
65
+ h("slot", { name: "label" }),
66
+ h("duet-icon", { class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))),
67
+ h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
68
+ items: true,
69
+ hidden: !this.open,
70
+ } },
71
+ h("slot", null)))));
72
+ }
73
+ static get is() { return "duet-toolbar-dropdown"; }
74
+ static get encapsulation() { return "shadow"; }
75
+ static get originalStyleUrls() { return {
76
+ "$": ["duet-toolbar-dropdown.scss"]
77
+ }; }
78
+ static get styleUrls() { return {
79
+ "$": ["duet-toolbar-dropdown.css"]
80
+ }; }
81
+ static get properties() { return {
82
+ "theme": {
83
+ "type": "string",
84
+ "mutable": true,
85
+ "complexType": {
86
+ "original": "DuetTheme",
87
+ "resolved": "\"\" | \"default\" | \"turva\"",
88
+ "references": {
89
+ "DuetTheme": {
90
+ "location": "import",
91
+ "path": "../../common-types"
92
+ }
93
+ }
94
+ },
95
+ "required": false,
96
+ "optional": false,
97
+ "docs": {
98
+ "tags": [],
99
+ "text": "Theme."
100
+ },
101
+ "attribute": "theme",
102
+ "reflect": false,
103
+ "defaultValue": "\"\""
104
+ },
105
+ "active": {
106
+ "type": "boolean",
107
+ "mutable": true,
108
+ "complexType": {
109
+ "original": "boolean",
110
+ "resolved": "boolean",
111
+ "references": {}
112
+ },
113
+ "required": false,
114
+ "optional": false,
115
+ "docs": {
116
+ "tags": [],
117
+ "text": "Active"
118
+ },
119
+ "attribute": "active",
120
+ "reflect": true,
121
+ "defaultValue": "false"
122
+ },
123
+ "open": {
124
+ "type": "boolean",
125
+ "mutable": true,
126
+ "complexType": {
127
+ "original": "boolean",
128
+ "resolved": "boolean",
129
+ "references": {}
130
+ },
131
+ "required": false,
132
+ "optional": false,
133
+ "docs": {
134
+ "tags": [],
135
+ "text": "Open"
136
+ },
137
+ "attribute": "open",
138
+ "reflect": true,
139
+ "defaultValue": "false"
140
+ },
141
+ "icon": {
142
+ "type": "string",
143
+ "mutable": true,
144
+ "complexType": {
145
+ "original": "string",
146
+ "resolved": "string",
147
+ "references": {}
148
+ },
149
+ "required": false,
150
+ "optional": false,
151
+ "docs": {
152
+ "tags": [],
153
+ "text": "Icon"
154
+ },
155
+ "attribute": "icon",
156
+ "reflect": true,
157
+ "defaultValue": "undefined"
158
+ }
159
+ }; }
160
+ static get events() { return [{
161
+ "method": "duetToolbarDropdownEvent",
162
+ "name": "duetToolbarDropdownEvent",
163
+ "bubbles": true,
164
+ "cancelable": true,
165
+ "composed": true,
166
+ "docs": {
167
+ "tags": [],
168
+ "text": "Event raised when the dropdown has been opened. You can prevent the\ndefault browser functionality by calling **event.detail.originalEvent.preventDefault()**\ninside your listener. Additionally, the passed data is available via **event.detail.data**."
169
+ },
170
+ "complexType": {
171
+ "original": "DuetToolbarDropdownEventDetails",
172
+ "resolved": "{ originalEvent: Event; data: { element: HTMLElement; open: boolean; }; component: \"duet-toolbar-dropdown\"; }",
173
+ "references": {
174
+ "DuetToolbarDropdownEventDetails": {
175
+ "location": "local"
176
+ }
177
+ }
178
+ }
179
+ }]; }
180
+ static get elementRef() { return "element"; }
181
+ }
@@ -0,0 +1,60 @@
1
+ *,
2
+ *::after,
3
+ *::before {
4
+ box-sizing: border-box;
5
+ padding: 0;
6
+ margin: 0;
7
+ background: transparent;
8
+ border: 0;
9
+ -moz-appearance: none;
10
+ -webkit-appearance: none;
11
+ appearance: none;
12
+ }
13
+
14
+ :host {
15
+ box-sizing: border-box;
16
+ padding: 0;
17
+ margin: 0;
18
+ background: transparent;
19
+ border: 0;
20
+ -moz-appearance: none;
21
+ -webkit-appearance: none;
22
+ appearance: none;
23
+ width: 100%;
24
+ height: 100%;
25
+ }
26
+
27
+ .duet-toolbar-dropdown-link {
28
+ display: flex;
29
+ flex-direction: row;
30
+ gap: 0.5rem;
31
+ align-items: center;
32
+ justify-content: flex-start;
33
+ height: 100%;
34
+ padding: 0.5rem 20px;
35
+ font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
36
+ font-size: 0.875rem;
37
+ font-weight: 400;
38
+ line-height: 1.25;
39
+ color: #00294d;
40
+ text-align: center;
41
+ text-decoration: none;
42
+ }
43
+ .duet-toolbar-dropdown-link.duet-theme-turva {
44
+ font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
45
+ color: #171c3a;
46
+ }
47
+ .duet-toolbar-dropdown-link.active, .duet-toolbar-dropdown-link.active:hover {
48
+ color: white;
49
+ background: #0077b3;
50
+ }
51
+ .duet-toolbar-dropdown-link.active.duet-theme-turva, .duet-toolbar-dropdown-link.active:hover.duet-theme-turva {
52
+ color: white;
53
+ background: #c60c30;
54
+ }
55
+ .duet-toolbar-dropdown-link:hover {
56
+ background: #e6f2f8;
57
+ }
58
+ .duet-toolbar-dropdown-link:hover.duet-theme-turva {
59
+ background: #e4e4e6;
60
+ }
@@ -0,0 +1,133 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { Component, Element, h, Host, Prop } from "@stencil/core";
5
+ import { inheritGlobalTheme } from "../../common/themeable-component";
6
+ export class DuetToolbarDropdownLink {
7
+ constructor() {
8
+ /**
9
+ * Theme.
10
+ */
11
+ this.theme = "";
12
+ /**
13
+ * Href
14
+ */
15
+ this.href = "#";
16
+ /**
17
+ * Icon
18
+ */
19
+ this.icon = undefined;
20
+ /**
21
+ * Active
22
+ */
23
+ this.active = false;
24
+ }
25
+ /**
26
+ * Component lifecycle events.
27
+ */
28
+ componentWillLoad() {
29
+ inheritGlobalTheme(this);
30
+ }
31
+ /**
32
+ * render() function
33
+ * Always the last one in the class.
34
+ */
35
+ render() {
36
+ return (h(Host, null,
37
+ h("a", { class: {
38
+ "duet-toolbar-dropdown-link": true,
39
+ "duet-theme-turva": this.theme === "turva",
40
+ active: this.active,
41
+ }, href: this.href, role: "menuitem" },
42
+ this.icon && h("duet-icon", { name: this.icon, size: "x-small", margin: "none" }),
43
+ h("slot", null))));
44
+ }
45
+ static get is() { return "duet-toolbar-dropdown-link"; }
46
+ static get encapsulation() { return "shadow"; }
47
+ static get originalStyleUrls() { return {
48
+ "$": ["duet-toolbar-dropdown-link.scss"]
49
+ }; }
50
+ static get styleUrls() { return {
51
+ "$": ["duet-toolbar-dropdown-link.css"]
52
+ }; }
53
+ static get properties() { return {
54
+ "theme": {
55
+ "type": "string",
56
+ "mutable": true,
57
+ "complexType": {
58
+ "original": "DuetTheme",
59
+ "resolved": "\"\" | \"default\" | \"turva\"",
60
+ "references": {
61
+ "DuetTheme": {
62
+ "location": "import",
63
+ "path": "../../common-types"
64
+ }
65
+ }
66
+ },
67
+ "required": false,
68
+ "optional": false,
69
+ "docs": {
70
+ "tags": [],
71
+ "text": "Theme."
72
+ },
73
+ "attribute": "theme",
74
+ "reflect": false,
75
+ "defaultValue": "\"\""
76
+ },
77
+ "href": {
78
+ "type": "string",
79
+ "mutable": true,
80
+ "complexType": {
81
+ "original": "string",
82
+ "resolved": "string",
83
+ "references": {}
84
+ },
85
+ "required": false,
86
+ "optional": false,
87
+ "docs": {
88
+ "tags": [],
89
+ "text": "Href"
90
+ },
91
+ "attribute": "href",
92
+ "reflect": false,
93
+ "defaultValue": "\"#\""
94
+ },
95
+ "icon": {
96
+ "type": "string",
97
+ "mutable": true,
98
+ "complexType": {
99
+ "original": "string",
100
+ "resolved": "string",
101
+ "references": {}
102
+ },
103
+ "required": false,
104
+ "optional": false,
105
+ "docs": {
106
+ "tags": [],
107
+ "text": "Icon"
108
+ },
109
+ "attribute": "icon",
110
+ "reflect": true,
111
+ "defaultValue": "undefined"
112
+ },
113
+ "active": {
114
+ "type": "boolean",
115
+ "mutable": true,
116
+ "complexType": {
117
+ "original": "boolean",
118
+ "resolved": "boolean",
119
+ "references": {}
120
+ },
121
+ "required": false,
122
+ "optional": false,
123
+ "docs": {
124
+ "tags": [],
125
+ "text": "Active"
126
+ },
127
+ "attribute": "active",
128
+ "reflect": false,
129
+ "defaultValue": "false"
130
+ }
131
+ }; }
132
+ static get elementRef() { return "element"; }
133
+ }
@@ -0,0 +1,78 @@
1
+ *,
2
+ *::after,
3
+ *::before {
4
+ box-sizing: border-box;
5
+ padding: 0;
6
+ margin: 0;
7
+ background: transparent;
8
+ border: 0;
9
+ -moz-appearance: none;
10
+ -webkit-appearance: none;
11
+ appearance: none;
12
+ }
13
+
14
+ :host {
15
+ box-sizing: border-box;
16
+ padding: 0;
17
+ margin: 0;
18
+ background: transparent;
19
+ border: 0;
20
+ -moz-appearance: none;
21
+ -webkit-appearance: none;
22
+ appearance: none;
23
+ height: 100%;
24
+ }
25
+
26
+ .duet-toolbar-link {
27
+ position: relative;
28
+ display: flex;
29
+ gap: 8px;
30
+ align-items: center;
31
+ justify-content: center;
32
+ height: 100%;
33
+ padding: 0 16px;
34
+ font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
35
+ font-size: 0.875rem;
36
+ font-weight: 400;
37
+ line-height: 1.25;
38
+ color: #004d80;
39
+ text-align: center;
40
+ text-decoration: none;
41
+ }
42
+ .duet-toolbar-link.duet-theme-turva {
43
+ font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
44
+ color: #940925;
45
+ }
46
+ .duet-toolbar-link:hover {
47
+ color: #00294d;
48
+ background: #f3f9fc;
49
+ }
50
+ .duet-toolbar-link:hover.duet-theme-turva {
51
+ color: #171c3a;
52
+ background: #f5f5f7;
53
+ }
54
+ .duet-toolbar-link.active {
55
+ color: #00294d;
56
+ }
57
+ .duet-toolbar-link.active::after {
58
+ position: absolute;
59
+ top: auto;
60
+ bottom: 1px;
61
+ left: 0;
62
+ display: block;
63
+ width: 100%;
64
+ height: 1px;
65
+ content: "";
66
+ background: #0077b3;
67
+ transition: 300ms ease;
68
+ transform: translateY(1px);
69
+ }
70
+ .duet-toolbar-link.active::after.duet-theme-turva {
71
+ background: #c60c30;
72
+ }
73
+ .duet-toolbar-link.active.duet-theme-turva {
74
+ color: #171c3a;
75
+ }
76
+ .duet-toolbar-link.active.duet-theme-turva::after {
77
+ background: #c60c30;
78
+ }
@@ -0,0 +1,129 @@
1
+ /*!
2
+ * Built with Duet Design System
3
+ */
4
+ import { Component, Element, h, Host, Prop } from "@stencil/core";
5
+ import { inheritGlobalTheme } from "../../common/themeable-component";
6
+ export class DuetToolbarLink {
7
+ constructor() {
8
+ /**
9
+ * Theme.
10
+ */
11
+ this.theme = "";
12
+ /**
13
+ * Active
14
+ */
15
+ this.active = false;
16
+ /**
17
+ * Href
18
+ */
19
+ this.href = "#";
20
+ /**
21
+ * Icon
22
+ */
23
+ this.icon = undefined;
24
+ }
25
+ /**
26
+ * Component lifecycle events.
27
+ */
28
+ componentWillLoad() {
29
+ inheritGlobalTheme(this);
30
+ }
31
+ /**
32
+ * render() function
33
+ * Always the last one in the class.
34
+ */
35
+ render() {
36
+ return (h(Host, null,
37
+ h("a", { class: { "duet-toolbar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href },
38
+ this.icon && h("duet-icon", { size: "x-small", name: this.icon, margin: "none" }),
39
+ h("slot", null))));
40
+ }
41
+ static get is() { return "duet-toolbar-link"; }
42
+ static get encapsulation() { return "shadow"; }
43
+ static get originalStyleUrls() { return {
44
+ "$": ["duet-toolbar-link.scss"]
45
+ }; }
46
+ static get styleUrls() { return {
47
+ "$": ["duet-toolbar-link.css"]
48
+ }; }
49
+ static get properties() { return {
50
+ "theme": {
51
+ "type": "string",
52
+ "mutable": true,
53
+ "complexType": {
54
+ "original": "DuetTheme",
55
+ "resolved": "\"\" | \"default\" | \"turva\"",
56
+ "references": {
57
+ "DuetTheme": {
58
+ "location": "import",
59
+ "path": "../../common-types"
60
+ }
61
+ }
62
+ },
63
+ "required": false,
64
+ "optional": false,
65
+ "docs": {
66
+ "tags": [],
67
+ "text": "Theme."
68
+ },
69
+ "attribute": "theme",
70
+ "reflect": false,
71
+ "defaultValue": "\"\""
72
+ },
73
+ "active": {
74
+ "type": "boolean",
75
+ "mutable": true,
76
+ "complexType": {
77
+ "original": "boolean",
78
+ "resolved": "boolean",
79
+ "references": {}
80
+ },
81
+ "required": false,
82
+ "optional": false,
83
+ "docs": {
84
+ "tags": [],
85
+ "text": "Active"
86
+ },
87
+ "attribute": "active",
88
+ "reflect": false,
89
+ "defaultValue": "false"
90
+ },
91
+ "href": {
92
+ "type": "string",
93
+ "mutable": true,
94
+ "complexType": {
95
+ "original": "string",
96
+ "resolved": "string",
97
+ "references": {}
98
+ },
99
+ "required": false,
100
+ "optional": false,
101
+ "docs": {
102
+ "tags": [],
103
+ "text": "Href"
104
+ },
105
+ "attribute": "href",
106
+ "reflect": false,
107
+ "defaultValue": "\"#\""
108
+ },
109
+ "icon": {
110
+ "type": "string",
111
+ "mutable": true,
112
+ "complexType": {
113
+ "original": "string",
114
+ "resolved": "string",
115
+ "references": {}
116
+ },
117
+ "required": false,
118
+ "optional": false,
119
+ "docs": {
120
+ "tags": [],
121
+ "text": "Icon"
122
+ },
123
+ "attribute": "icon",
124
+ "reflect": true,
125
+ "defaultValue": "undefined"
126
+ }
127
+ }; }
128
+ static get elementRef() { return "element"; }
129
+ }
@@ -117,3 +117,18 @@ export function shadeRGBColor(color, percent) {
117
117
  B = B > 255 ? 255 : B;
118
118
  return `rgb(${R},${G},${B})`;
119
119
  }
120
+ // remove wrapping speech marks.
121
+ // media query tokens are wrapped in speech marks,
122
+ // which need to be removed before use with matchMedia.
123
+ const unwrap = (str) => str.substring(1, str.length - 1);
124
+ export const breakpointToToken = {
125
+ "xxx-small": unwrap(tokens.mediaQueryXxxSmall),
126
+ "xx-small": unwrap(tokens.mediaQueryXxSmall),
127
+ "x-small": unwrap(tokens.mediaQueryXSmall),
128
+ small: unwrap(tokens.mediaQuerySmall),
129
+ medium: unwrap(tokens.mediaQueryMedium),
130
+ large: unwrap(tokens.mediaQueryLarge),
131
+ "x-large": unwrap(tokens.mediaQueryXLarge),
132
+ "xx-large": unwrap(tokens.mediaQueryXxLarge),
133
+ "xxx-large": unwrap(tokens.mediaQueryXxxLarge),
134
+ };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-f42b7c16.js';
4
+ import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-629a7253.js';
5
5
 
6
6
  const DuetActionButton = DuetActionButton$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-4e94138b.js';
4
+ import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-53aed47b.js';
5
5
 
6
6
  const DuetAlert = DuetAlert$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-fbb39f58.js';
4
+ import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-bd7fbd74.js';
5
5
 
6
6
  const DuetBadge = DuetBadge$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, b as Host } from './p-1940df2f.js';
4
+ import { p as proxyCustomElement, H, h, b as Host } from './p-f25401f4.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
- import { d as defineCustomElement$2 } from './p-565c7b5e.js';
6
+ import { d as defineCustomElement$2 } from './p-914d8914.js';
7
7
 
8
8
  const duetBreadcrumbCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;height:100%;font-size:0.875rem;color:#00294d;text-decoration:none}.duet-breadcrumb:hover{color:#004d80}.duet-breadcrumb.duet-theme-turva{color:#171c3a}.duet-breadcrumb.duet-theme-turva:hover{color:#940925}.duet-breadcrumb:focus{outline:0}.duet-breadcrumb:active{opacity:0.75}:host(.user-is-tabbing) .duet-breadcrumb:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-breadcrumb.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
9
9
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { p as proxyCustomElement, H, h, F as Fragment, b as Host } from './p-1940df2f.js';
4
+ import { p as proxyCustomElement, H, h, F as Fragment, b as Host } from './p-f25401f4.js';
5
5
  import { i as inheritGlobalTheme } from './p-4ebf1618.js';
6
6
  import { g as getLocaleString } from './p-ede854e1.js';
7
- import { d as defineCustomElement$2 } from './p-565c7b5e.js';
7
+ import { d as defineCustomElement$2 } from './p-914d8914.js';
8
8
 
9
9
  var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
10
10
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetButton$1, d as defineCustomElement$1 } from './p-0a3b3fbb.js';
4
+ import { D as DuetButton$1, d as defineCustomElement$1 } from './p-936e320e.js';
5
5
 
6
6
  const DuetButton = DuetButton$1;
7
7
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-f20bce7d.js';
4
+ import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-c62a4b7f.js';
5
5
 
6
6
  const DuetCaption = DuetCaption$1;
7
7
  const defineCustomElement = defineCustomElement$1;