@duetds/components 5.1.3 → 5.1.6

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 (298) hide show
  1. package/hydrate/index.js +225 -36
  2. package/lib/cjs/action-arrow-right-small-a25eb475.js +8 -0
  3. package/lib/cjs/duet-action-button.cjs.entry.js +17 -6
  4. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +3 -4
  8. package/lib/cjs/duet-button_2.cjs.entry.js +5 -4
  9. package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
  10. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  11. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  12. package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
  13. package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
  14. package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  16. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  17. package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
  18. package/lib/cjs/duet-editable-table_3.cjs.entry.js +105 -27
  19. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  20. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  21. package/lib/cjs/duet-footer.cjs.entry.js +23 -4
  22. package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
  23. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  24. package/lib/cjs/duet-hero.cjs.entry.js +1 -1
  25. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  26. package/lib/cjs/duet-input_2.cjs.entry.js +56 -4
  27. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  30. package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
  37. package/lib/cjs/duet-select.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  39. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  40. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
  42. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  43. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  45. package/lib/cjs/duet.cjs.js +2 -2
  46. package/lib/cjs/{focus-utils-85b1fb81.js → focus-utils-9ccade35.js} +1 -1
  47. package/lib/cjs/{index-a29ba279.js → index-014f74e2.js} +1 -1
  48. package/lib/cjs/loader.cjs.js +2 -2
  49. package/lib/cjs/{token-utils-f402e205.js → token-utils-50a1f7e2.js} +16 -1
  50. package/lib/cjs/{tokens-8596cece.js → tokens-29450bcb.js} +3 -0
  51. package/lib/cjs/{tokens.module-6b2df1c2.js → tokens.module-ef598645.js} +2 -0
  52. package/lib/collection/components/duet-action-button/duet-action-button.css +2 -2
  53. package/lib/collection/components/duet-action-button/duet-action-button.js +14 -2
  54. package/lib/collection/components/duet-button/duet-button.css +48 -16
  55. package/lib/collection/components/duet-button/duet-button.js +2 -1
  56. package/lib/collection/components/duet-footer/duet-footer.css +154 -0
  57. package/lib/collection/components/duet-footer/duet-footer.js +135 -5
  58. package/lib/collection/components/duet-input/duet-input.css +49 -0
  59. package/lib/collection/components/duet-input/duet-input.js +132 -3
  60. package/lib/collection/components/duet-step/duet-step.js +1 -1
  61. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  62. package/lib/collection/components/duet-table/duet-table.js +1 -1
  63. package/lib/collection/components/duet-upload/duet-upload.js +136 -27
  64. package/lib/collection/components/duet-upload/upload-editable-item-pending.js +7 -0
  65. package/lib/collection/utils/token-utils.js +14 -0
  66. package/lib/custom-elements-bundle/index.js +216 -41
  67. package/lib/duet/duet.esm.js +1 -1
  68. package/lib/duet/duet.js +1 -1
  69. package/lib/duet/{p-632e25d1.system.entry.js → p-00e6a13d.system.entry.js} +1 -1
  70. package/lib/duet/{p-ac1e6f4b.system.js → p-0447601c.system.js} +1 -1
  71. package/lib/duet/{p-bc8c3ace.system.js → p-04b00c25.system.js} +1 -1
  72. package/lib/duet/{p-c435f7e8.entry.js → p-06fde0d1.entry.js} +1 -1
  73. package/lib/duet/{p-94dc3e07.system.entry.js → p-13d2c818.system.entry.js} +1 -1
  74. package/lib/duet/p-13df0560.system.entry.js +4 -0
  75. package/lib/duet/{p-62cc6d2a.entry.js → p-17c7514e.entry.js} +1 -1
  76. package/lib/duet/p-18cc5627.system.js +4 -0
  77. package/lib/duet/{p-ebd9782a.system.entry.js → p-19073b04.system.entry.js} +1 -1
  78. package/lib/duet/{p-497750f2.entry.js → p-1953f729.entry.js} +1 -1
  79. package/lib/duet/{p-b9120f45.system.entry.js → p-1faf5cfe.system.entry.js} +1 -1
  80. package/lib/duet/{p-bd322f8f.js → p-206285a6.js} +1 -1
  81. package/lib/duet/{p-28b24806.system.entry.js → p-21f33ec5.system.entry.js} +1 -1
  82. package/lib/duet/{p-c2ad83a9.entry.js → p-23779e01.entry.js} +1 -1
  83. package/lib/duet/{p-f2ad1371.entry.js → p-23b467cc.entry.js} +1 -1
  84. package/lib/duet/{p-3bf4c99a.entry.js → p-2999ea4f.entry.js} +1 -1
  85. package/lib/duet/p-2a9db427.system.entry.js +4 -0
  86. package/lib/duet/{p-e4d54f1e.system.entry.js → p-2daca660.system.entry.js} +1 -1
  87. package/lib/duet/{p-18e17e10.entry.js → p-2ed50edc.entry.js} +1 -1
  88. package/lib/duet/{p-8d4c33ed.system.entry.js → p-322ab135.system.entry.js} +1 -1
  89. package/lib/duet/{p-e530ae17.entry.js → p-35957177.entry.js} +1 -1
  90. package/lib/duet/p-377f68c5.system.entry.js +4 -0
  91. package/lib/duet/{p-ad07f399.js → p-398a79a0.js} +1 -1
  92. package/lib/duet/p-3cc51ea1.entry.js +4 -0
  93. package/lib/duet/{p-7dec1cfd.entry.js → p-412a2ce3.entry.js} +1 -1
  94. package/lib/duet/{p-6910ace8.system.entry.js → p-458c1110.system.entry.js} +1 -1
  95. package/lib/duet/p-47058313.entry.js +4 -0
  96. package/lib/duet/{p-aaed5ea2.entry.js → p-4727c5c5.entry.js} +1 -1
  97. package/lib/duet/{p-3e1145b2.entry.js → p-5104272f.entry.js} +1 -1
  98. package/lib/duet/{p-7e17fd75.system.entry.js → p-513d8f06.system.entry.js} +1 -1
  99. package/lib/duet/{p-0e6dd740.entry.js → p-5186bfcf.entry.js} +1 -1
  100. package/lib/duet/{p-acdd49f6.entry.js → p-520d1c93.entry.js} +1 -1
  101. package/lib/duet/p-54e3d301.system.entry.js +4 -0
  102. package/lib/duet/{p-28feed35.system.entry.js → p-56ed6884.system.entry.js} +1 -1
  103. package/lib/duet/p-5752ff1c.entry.js +4 -0
  104. package/lib/duet/p-583c5a60.entry.js +4 -0
  105. package/lib/duet/{p-995ecd9d.system.entry.js → p-5c085a4a.system.entry.js} +1 -1
  106. package/lib/duet/p-6190e2d6.system.js +4 -0
  107. package/lib/duet/{p-ca79fa1a.js → p-6194272d.js} +1 -1
  108. package/lib/duet/{p-f0f60ea3.entry.js → p-62915653.entry.js} +1 -1
  109. package/lib/duet/{p-c06452b7.system.entry.js → p-7020d5a8.system.entry.js} +1 -1
  110. package/lib/duet/{p-9318e1c2.system.entry.js → p-71c7fa31.system.entry.js} +1 -1
  111. package/lib/duet/{p-ffbe9ffc.entry.js → p-7a5bf551.entry.js} +1 -1
  112. package/lib/duet/p-7cbb6eba.js +4 -0
  113. package/lib/duet/{p-57f58be7.entry.js → p-7de2b748.entry.js} +1 -1
  114. package/lib/duet/{p-a6b6a918.system.entry.js → p-7fcbf42e.system.entry.js} +1 -1
  115. package/lib/duet/{p-5a434b4e.system.entry.js → p-84237fd2.system.entry.js} +1 -1
  116. package/lib/duet/{p-dea3d7f9.system.entry.js → p-8c8f15ed.system.entry.js} +1 -1
  117. package/lib/duet/{p-d460ac7d.entry.js → p-8fed1e36.entry.js} +1 -1
  118. package/lib/duet/{p-a3857cd4.system.entry.js → p-90870281.system.entry.js} +1 -1
  119. package/lib/duet/{p-b683fec1.system.entry.js → p-914a5315.system.entry.js} +1 -1
  120. package/lib/duet/{p-8ee6f874.system.entry.js → p-96e42603.system.entry.js} +1 -1
  121. package/lib/duet/p-97900023.entry.js +4 -0
  122. package/lib/duet/{p-20814483.entry.js → p-99bbbecd.entry.js} +1 -1
  123. package/lib/duet/p-9cca0bb4.js +4 -0
  124. package/lib/duet/p-9e759a4a.system.entry.js +4 -0
  125. package/lib/duet/{p-bd122a6e.system.entry.js → p-9e8afa21.system.entry.js} +1 -1
  126. package/lib/duet/{p-f8dd1339.entry.js → p-9ff69b54.entry.js} +1 -1
  127. package/lib/duet/{p-955b90c3.system.entry.js → p-a2eafa77.system.entry.js} +1 -1
  128. package/lib/duet/{p-2b250ac6.system.entry.js → p-a53ca782.system.entry.js} +1 -1
  129. package/lib/duet/{p-3f65158e.entry.js → p-a74ed7f0.entry.js} +1 -1
  130. package/lib/duet/p-a83aa6f3.entry.js +4 -0
  131. package/lib/duet/p-a93a04b9.system.js +4 -0
  132. package/lib/duet/p-a9bd0a4b.entry.js +4 -0
  133. package/lib/duet/{p-f42c4e0f.system.entry.js → p-abdf47c8.system.entry.js} +1 -1
  134. package/lib/duet/p-ad196791.system.js +4 -0
  135. package/lib/duet/{p-5e591b97.entry.js → p-ae7580c4.entry.js} +1 -1
  136. package/lib/duet/{p-cd07c340.entry.js → p-b04e51be.entry.js} +1 -1
  137. package/lib/duet/{p-456f44e9.system.entry.js → p-b1f08a11.system.entry.js} +1 -1
  138. package/lib/duet/{p-7df54c59.entry.js → p-b477f0b1.entry.js} +1 -1
  139. package/lib/duet/{p-2c31428e.system.entry.js → p-b504bfcc.system.entry.js} +1 -1
  140. package/lib/duet/{p-3e4a5b9c.entry.js → p-b8a6c198.entry.js} +1 -1
  141. package/lib/duet/{p-4268681b.entry.js → p-ba2d5d3b.entry.js} +1 -1
  142. package/lib/duet/p-bb05bcf9.entry.js +4 -0
  143. package/lib/duet/{p-ff5ddd90.system.entry.js → p-bbdbff69.system.entry.js} +1 -1
  144. package/lib/duet/{p-b7420414.entry.js → p-c1ec46db.entry.js} +1 -1
  145. package/lib/duet/{p-28e309f1.entry.js → p-c63e58e3.entry.js} +1 -1
  146. package/lib/duet/{p-adb092e7.entry.js → p-ce936701.entry.js} +1 -1
  147. package/lib/duet/{p-48307b31.entry.js → p-ced1983f.entry.js} +1 -1
  148. package/lib/duet/p-cf67a60b.entry.js +4 -0
  149. package/lib/duet/{p-28e6da82.system.entry.js → p-d132dde7.system.entry.js} +1 -1
  150. package/lib/duet/p-d1746325.js +4 -0
  151. package/lib/duet/p-d312b69e.system.entry.js +4 -0
  152. package/lib/duet/{p-b6cbe383.entry.js → p-d64b4b43.entry.js} +1 -1
  153. package/lib/duet/{p-5969399b.system.entry.js → p-dccd1711.system.entry.js} +1 -1
  154. package/lib/duet/{p-a056cc14.system.entry.js → p-dd58a713.system.entry.js} +1 -1
  155. package/lib/duet/{p-712c9016.system.entry.js → p-df8c5af0.system.entry.js} +1 -1
  156. package/lib/duet/{p-83be3810.entry.js → p-e21029cc.entry.js} +1 -1
  157. package/lib/duet/{p-cfe414d2.system.entry.js → p-e7d9d84b.system.entry.js} +1 -1
  158. package/lib/duet/{p-1c67e70d.system.entry.js → p-ed5c2f24.system.entry.js} +1 -1
  159. package/lib/duet/{p-53849160.entry.js → p-ef888954.entry.js} +1 -1
  160. package/lib/duet/{p-0304408d.system.entry.js → p-f3d0d952.system.entry.js} +1 -1
  161. package/lib/duet/p-f476cb84.system.js +4 -0
  162. package/lib/duet/{p-b9d3eeb1.system.entry.js → p-f8927797.system.entry.js} +1 -1
  163. package/lib/duet/{p-8e0bad03.entry.js → p-fb70b22b.entry.js} +1 -1
  164. package/lib/duet/{p-f4664942.system.entry.js → p-fb81d343.system.entry.js} +2 -2
  165. package/lib/duet/{p-21d7cb5d.system.entry.js → p-fece90db.system.entry.js} +1 -1
  166. package/lib/esm/action-arrow-right-small-f9d2ba83.js +6 -0
  167. package/lib/esm/duet-action-button.entry.js +17 -6
  168. package/lib/esm/duet-alert.entry.js +1 -1
  169. package/lib/esm/duet-badge.entry.js +1 -1
  170. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  171. package/lib/esm/duet-breadcrumbs.entry.js +2 -3
  172. package/lib/esm/duet-button_2.entry.js +5 -4
  173. package/lib/esm/duet-caption_4.entry.js +3 -3
  174. package/lib/esm/duet-card.entry.js +3 -3
  175. package/lib/esm/duet-checkbox.entry.js +1 -1
  176. package/lib/esm/duet-choice_2.entry.js +2 -2
  177. package/lib/esm/duet-collapsible.entry.js +2 -2
  178. package/lib/esm/duet-combobox.entry.js +1 -1
  179. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  180. package/lib/esm/duet-date-picker.entry.js +2 -2
  181. package/lib/esm/duet-divider_2.entry.js +1 -1
  182. package/lib/esm/duet-editable-table_3.entry.js +105 -27
  183. package/lib/esm/duet-empty-state.entry.js +1 -1
  184. package/lib/esm/duet-fieldset.entry.js +1 -1
  185. package/lib/esm/duet-footer.entry.js +23 -4
  186. package/lib/esm/duet-grid_2.entry.js +2 -2
  187. package/lib/esm/duet-header_2.entry.js +3 -3
  188. package/lib/esm/duet-hero.entry.js +1 -1
  189. package/lib/esm/duet-icon.entry.js +3 -3
  190. package/lib/esm/duet-input_2.entry.js +56 -4
  191. package/lib/esm/duet-layout.entry.js +1 -1
  192. package/lib/esm/duet-list_2.entry.js +1 -1
  193. package/lib/esm/duet-modal.entry.js +2 -2
  194. package/lib/esm/duet-notification_2.entry.js +1 -1
  195. package/lib/esm/duet-number-input.entry.js +1 -1
  196. package/lib/esm/duet-pagination_2.entry.js +1 -1
  197. package/lib/esm/duet-progress.entry.js +1 -1
  198. package/lib/esm/duet-radio_2.entry.js +1 -1
  199. package/lib/esm/duet-range-slider.entry.js +2 -2
  200. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  201. package/lib/esm/duet-select.entry.js +1 -1
  202. package/lib/esm/duet-step_2.entry.js +2 -2
  203. package/lib/esm/duet-textarea.entry.js +1 -1
  204. package/lib/esm/duet-toggle.entry.js +1 -1
  205. package/lib/esm/duet-tooltip.entry.js +1 -1
  206. package/lib/esm/duet-tray.entry.js +2 -2
  207. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  208. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  209. package/lib/esm/duet.js +2 -2
  210. package/lib/esm/{focus-utils-429ccac4.js → focus-utils-fe498b6c.js} +1 -1
  211. package/lib/esm/{index-089c3eed.js → index-715101b6.js} +1 -1
  212. package/lib/esm/loader.js +2 -2
  213. package/lib/esm/{token-utils-e9a69acf.js → token-utils-1f9435bc.js} +16 -2
  214. package/lib/esm/{tokens-e110dc89.js → tokens-8ff8c570.js} +3 -0
  215. package/lib/esm/{tokens.module-49cbf963.js → tokens.module-f4572ed7.js} +2 -0
  216. package/lib/esm-es5/action-arrow-right-small-f9d2ba83.js +4 -0
  217. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  218. package/lib/esm-es5/duet-alert.entry.js +1 -1
  219. package/lib/esm-es5/duet-badge.entry.js +1 -1
  220. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  221. package/lib/esm-es5/duet-breadcrumbs.entry.js +2 -2
  222. package/lib/esm-es5/duet-button_2.entry.js +2 -2
  223. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  224. package/lib/esm-es5/duet-card.entry.js +1 -1
  225. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  226. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  227. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  228. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  229. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  230. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  231. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  232. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  233. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  234. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  235. package/lib/esm-es5/duet-footer.entry.js +2 -2
  236. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  237. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  238. package/lib/esm-es5/duet-hero.entry.js +1 -1
  239. package/lib/esm-es5/duet-icon.entry.js +1 -1
  240. package/lib/esm-es5/duet-input_2.entry.js +2 -2
  241. package/lib/esm-es5/duet-layout.entry.js +1 -1
  242. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  243. package/lib/esm-es5/duet-modal.entry.js +1 -1
  244. package/lib/esm-es5/duet-notification_2.entry.js +1 -1
  245. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  246. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  247. package/lib/esm-es5/duet-progress.entry.js +1 -1
  248. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  249. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  250. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  251. package/lib/esm-es5/duet-select.entry.js +1 -1
  252. package/lib/esm-es5/duet-step_2.entry.js +2 -2
  253. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  254. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  255. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  256. package/lib/esm-es5/duet-tray.entry.js +1 -1
  257. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  258. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  259. package/lib/esm-es5/duet.js +1 -1
  260. package/lib/esm-es5/focus-utils-fe498b6c.js +4 -0
  261. package/lib/esm-es5/{index-089c3eed.js → index-715101b6.js} +1 -1
  262. package/lib/esm-es5/loader.js +1 -1
  263. package/lib/esm-es5/token-utils-1f9435bc.js +4 -0
  264. package/lib/esm-es5/tokens-8ff8c570.js +4 -0
  265. package/lib/esm-es5/{tokens.module-49cbf963.js → tokens.module-f4572ed7.js} +1 -1
  266. package/lib/types/components/duet-button/duet-button.d.ts +1 -1
  267. package/lib/types/components/duet-footer/duet-footer.d.ts +30 -1
  268. package/lib/types/components/duet-input/duet-input.d.ts +23 -0
  269. package/lib/types/components/duet-upload/duet-upload.d.ts +18 -1
  270. package/lib/types/components/duet-upload/upload-editable-item-pending.d.ts +6 -0
  271. package/lib/types/components.d.ts +71 -3
  272. package/lib/types/utils/token-utils.d.ts +1 -0
  273. package/package.json +5 -5
  274. package/lib/duet/p-021f4ce6.entry.js +0 -4
  275. package/lib/duet/p-165aeec8.system.entry.js +0 -4
  276. package/lib/duet/p-27189fa0.entry.js +0 -4
  277. package/lib/duet/p-4cb2c888.entry.js +0 -4
  278. package/lib/duet/p-4e2532c7.system.js +0 -4
  279. package/lib/duet/p-52b6d127.entry.js +0 -4
  280. package/lib/duet/p-694ebf05.entry.js +0 -4
  281. package/lib/duet/p-7888e2d8.entry.js +0 -4
  282. package/lib/duet/p-7ce6ba93.system.entry.js +0 -4
  283. package/lib/duet/p-80e16593.entry.js +0 -4
  284. package/lib/duet/p-8143f3de.js +0 -4
  285. package/lib/duet/p-86777eb7.system.js +0 -4
  286. package/lib/duet/p-93f9ccbc.system.entry.js +0 -4
  287. package/lib/duet/p-94def463.entry.js +0 -4
  288. package/lib/duet/p-ad4570bf.system.entry.js +0 -4
  289. package/lib/duet/p-b2d00c4b.system.entry.js +0 -4
  290. package/lib/duet/p-b48323e2.system.entry.js +0 -4
  291. package/lib/duet/p-c5c212fd.entry.js +0 -4
  292. package/lib/duet/p-cb445018.js +0 -4
  293. package/lib/duet/p-ddb6344c.system.js +0 -4
  294. package/lib/duet/p-fa99eaa4.system.js +0 -4
  295. package/lib/esm-es5/focus-utils-429ccac4.js +0 -4
  296. package/lib/esm-es5/token-utils-e9a69acf.js +0 -4
  297. package/lib/esm-es5/tokens-e110dc89.js +0 -4
  298. package/lib/html.html-data.json +0 -5325
@@ -39,6 +39,10 @@
39
39
  }
40
40
  }
41
41
 
42
+ :host(.input-button) {
43
+ z-index: 250;
44
+ }
45
+
42
46
  :host(.duet-small) {
43
47
  margin-right: 2px !important;
44
48
  margin-bottom: 8px !important;
@@ -85,7 +89,6 @@
85
89
  font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
86
90
  font-size: 1rem;
87
91
  font-weight: 600;
88
- font-variant-numeric: tabular-nums;
89
92
  -webkit-hyphens: auto;
90
93
  hyphens: auto;
91
94
  line-height: 1.1;
@@ -105,6 +108,9 @@
105
108
  .duet-button.duet-m-0 {
106
109
  margin: 0 !important;
107
110
  }
111
+ .duet-button:not(.input-button-primary, .input-button-secondary) {
112
+ font-variant-numeric: tabular-nums;
113
+ }
108
114
  .duet-button.duet-button-text-center {
109
115
  text-align: center !important;
110
116
  }
@@ -243,61 +249,61 @@
243
249
  color: #c60c30 !important;
244
250
  border-color: #c60c30;
245
251
  }
246
- .duet-button.primary {
252
+ .duet-button.primary, .duet-button.input-button-primary {
247
253
  color: white !important;
248
254
  background: #0077b3;
249
255
  border-color: #0077b3;
250
256
  }
251
- .duet-theme-turva .duet-button.primary {
257
+ .duet-theme-turva .duet-button.primary, .duet-theme-turva .duet-button.input-button-primary {
252
258
  color: white !important;
253
259
  background: #c60c30;
254
260
  border-color: #c60c30;
255
261
  }
256
- .duet-button.primary:hover {
262
+ .duet-button.primary:hover, .duet-button.input-button-primary:hover {
257
263
  background: #005f8f;
258
264
  border-color: #005f8f;
259
265
  box-shadow: 0 4px 20px rgba(34, 34, 34, 0.1);
260
266
  }
261
- .duet-theme-turva .duet-button.primary:hover {
267
+ .duet-theme-turva .duet-button.primary:hover, .duet-theme-turva .duet-button.input-button-primary:hover {
262
268
  background: #940925;
263
269
  border-color: #940925;
264
270
  }
265
- .duet-button.primary:focus {
271
+ .duet-button.primary:focus, .duet-button.input-button-primary:focus {
266
272
  outline: 0;
267
273
  box-shadow: 0 0 0 1px white, 0 0 0 4px rgba(0, 119, 179, 0.75);
268
274
  }
269
- .duet-theme-turva .duet-button.primary:focus {
275
+ .duet-theme-turva .duet-button.primary:focus, .duet-theme-turva .duet-button.input-button-primary:focus {
270
276
  box-shadow: 0 0 0 1px white, 0 0 0 4px rgba(23, 28, 58, 0.7);
271
277
  }
272
- .duet-button.secondary {
278
+ .duet-button.secondary, .duet-button.input-button-secondary {
273
279
  color: #00294d !important;
274
280
  background: transparent;
275
281
  border-color: #00294d;
276
282
  }
277
- .duet-theme-turva .duet-button.secondary {
283
+ .duet-theme-turva .duet-button.secondary, .duet-theme-turva .duet-button.input-button-secondary {
278
284
  color: #171c3a !important;
279
285
  border-color: #171c3a;
280
286
  }
281
- .duet-button.secondary:hover {
287
+ .duet-button.secondary:hover, .duet-button.input-button-secondary:hover {
282
288
  color: #0077b3 !important;
283
289
  border-color: #0077b3;
284
290
  }
285
- .duet-theme-turva .duet-button.secondary:hover {
291
+ .duet-theme-turva .duet-button.secondary:hover, .duet-theme-turva .duet-button.input-button-secondary:hover {
286
292
  color: #c60c30 !important;
287
293
  border-color: #c60c30;
288
294
  }
289
- .duet-button.secondary.duet-button-negative {
295
+ .duet-button.secondary.duet-button-negative, .duet-button.input-button-secondary.duet-button-negative {
290
296
  color: #e1e3e6 !important;
291
297
  border-color: white;
292
298
  }
293
- .duet-theme-turva .duet-button.secondary.duet-button-negative {
299
+ .duet-theme-turva .duet-button.secondary.duet-button-negative, .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative {
294
300
  color: #e4e4e6 !important;
295
301
  }
296
- .duet-button.secondary.duet-button-negative:hover {
302
+ .duet-button.secondary.duet-button-negative:hover, .duet-button.input-button-secondary.duet-button-negative:hover {
297
303
  color: #0077b3 !important;
298
304
  border-color: #0077b3;
299
305
  }
300
- .duet-theme-turva .duet-button.secondary.duet-button-negative:hover {
306
+ .duet-theme-turva .duet-button.secondary.duet-button-negative:hover, .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover {
301
307
  color: #c60c30 !important;
302
308
  border-color: #c60c30;
303
309
  }
@@ -461,6 +467,32 @@
461
467
  margin: 0;
462
468
  transform: translateX(-50%) translateY(-50%);
463
469
  }
470
+ .duet-button.duet-button.input-button-primary, .duet-button.duet-button.input-button-secondary {
471
+ box-sizing: content-box;
472
+ min-width: 48px;
473
+ min-height: 48px;
474
+ padding: 0 !important;
475
+ border-width: 1px;
476
+ border-top-left-radius: 0;
477
+ border-top-right-radius: 4px;
478
+ border-bottom-right-radius: 4px;
479
+ border-bottom-left-radius: 0;
480
+ }
481
+ .duet-button.duet-button.input-button-primary .duet-button-contents, .duet-button.duet-button.input-button-secondary .duet-button-contents {
482
+ position: static;
483
+ }
484
+ .duet-button.duet-button.input-button-primary .duet-button-icon.left.large,
485
+ .duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,
486
+ .duet-button.duet-button.input-button-primary .duet-button-icon.left.small, .duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,
487
+ .duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,
488
+ .duet-button.duet-button.input-button-secondary .duet-button-icon.left.small {
489
+ position: absolute;
490
+ top: 50% !important;
491
+ left: 50% !important;
492
+ padding: 0;
493
+ margin: 0;
494
+ transform: translateX(-50%) translateY(-50%);
495
+ }
464
496
  .duet-button[disabled], .duet-button[disabled]:hover, .duet-button.duet-button-negative[disabled], .duet-button.duet-button-negative[disabled]:hover {
465
497
  color: #657787 !important;
466
498
  background: #e1e3e6 !important;
@@ -473,7 +505,7 @@
473
505
  border-color: #e4e4e6 !important;
474
506
  }
475
507
 
476
- .duet-button-is-loading.primary {
508
+ .duet-button-is-loading.primary, .duet-button-is-loading.input-button-primary {
477
509
  color: white;
478
510
  }
479
511
  .duet-button-is-loading.default {
@@ -229,6 +229,7 @@ export class DuetButton {
229
229
  "duet-small": this.size === "small",
230
230
  "duet-fixed": this.fixed,
231
231
  "duet-expand": this.expand,
232
+ "input-button": this.variation === "input-button-primary" || this.variation === "input-button-secondary",
232
233
  } },
233
234
  h("div", { class: {
234
235
  "duet-button-container": true,
@@ -413,7 +414,7 @@ export class DuetButton {
413
414
  "mutable": false,
414
415
  "complexType": {
415
416
  "original": "DuetButtonVariation",
416
- "resolved": "\"default\" | \"destructive\" | \"destructive-primary\" | \"destructive-secondary\" | \"negative\" | \"plain\" | \"primary\" | \"secondary\"",
417
+ "resolved": "\"default\" | \"destructive\" | \"destructive-primary\" | \"destructive-secondary\" | \"input-button-primary\" | \"input-button-secondary\" | \"negative\" | \"plain\" | \"primary\" | \"secondary\"",
417
418
  "references": {
418
419
  "DuetButtonVariation": {
419
420
  "location": "local"
@@ -309,6 +309,160 @@ a:hover .duet-footer-arrow {
309
309
  color: #171c3a;
310
310
  }
311
311
 
312
+ .duet-footer-multilevel duet-logo {
313
+ margin-left: 0.5rem !important;
314
+ }
315
+ @media (min-width: 62em) {
316
+ .duet-footer-multilevel duet-logo {
317
+ margin-left: -0.5rem !important;
318
+ }
319
+ }
320
+ .duet-footer-multilevel .duet-footer-link {
321
+ padding: 0.5rem 1.25rem !important;
322
+ border: 0;
323
+ }
324
+ .duet-footer-multilevel .duet-footer-link:first-of-type {
325
+ margin: 0;
326
+ }
327
+ .duet-footer-multilevel .duet-footer-link .duet-footer-arrow {
328
+ margin-left: 0.5rem;
329
+ }
330
+ .duet-footer-multilevel .duet-footer-link .duet-footer-arrow duet-icon {
331
+ width: 0.75rem;
332
+ height: 0.75rem;
333
+ }
334
+ @media (min-width: 62em) {
335
+ .duet-footer-multilevel .duet-footer-link {
336
+ padding: 0.75rem 0 !important;
337
+ }
338
+ }
339
+ .duet-footer-multilevel .duet-footer-top {
340
+ flex-direction: column;
341
+ gap: 1rem 0;
342
+ align-items: flex-start;
343
+ }
344
+ @media (min-width: 62em) {
345
+ .duet-footer-multilevel .multilevel {
346
+ display: flex;
347
+ justify-content: space-between;
348
+ width: 100%;
349
+ }
350
+ }
351
+ .duet-footer-multilevel .multilevel-main-item {
352
+ margin-top: 1.25rem;
353
+ }
354
+ @media (min-width: 62em) {
355
+ .duet-footer-multilevel .multilevel-main-item {
356
+ margin-top: 0;
357
+ }
358
+ }
359
+ .duet-footer-multilevel .multilevel-main-item .duet-footer-link {
360
+ padding: 0 0.5 1.25rem !important;
361
+ font-weight: 700;
362
+ }
363
+ @media (min-width: 62em) {
364
+ .duet-footer-multilevel .multilevel-main-item .duet-footer-link {
365
+ padding: 0 0 0.5rem !important;
366
+ }
367
+ }
368
+ @media (min-width: 62em) {
369
+ .duet-footer-multilevel .multilevel-primary-items {
370
+ column-gap: 0;
371
+ width: 100%;
372
+ columns: 3;
373
+ }
374
+ .duet-footer-multilevel .multilevel-primary-items .duet-footer-link {
375
+ display: inline-flex;
376
+ }
377
+ }
378
+ .duet-footer-multilevel .multilevel-secondary-items .duet-footer-link {
379
+ padding: 0.875rem 1.25rem !important;
380
+ font-weight: 700;
381
+ }
382
+ .duet-footer-multilevel .multilevel-secondary-items .duet-footer-link:first-child {
383
+ padding: 1.25rem 1.25rem 0.875rem !important;
384
+ }
385
+ @media (min-width: 62em) {
386
+ .duet-footer-multilevel .multilevel-secondary-items {
387
+ display: grid;
388
+ grid-template-columns: repeat(3, 1fr);
389
+ width: 100%;
390
+ }
391
+ .duet-footer-multilevel .multilevel-secondary-items .duet-footer-link,
392
+ .duet-footer-multilevel .multilevel-secondary-items .duet-footer-link:first-child {
393
+ display: inline-flex;
394
+ padding: 1rem 0 !important;
395
+ }
396
+ }
397
+ .duet-footer-multilevel .multilevel-right .duet-footer-link:first-child {
398
+ padding-top: 0.875rem !important;
399
+ font-weight: 700;
400
+ }
401
+ @media (min-width: 62em) {
402
+ .duet-footer-multilevel .multilevel-right .duet-footer-link {
403
+ padding: 0.375rem 0 !important;
404
+ font-size: 0.875rem;
405
+ font-weight: 400;
406
+ }
407
+ .duet-footer-multilevel .multilevel-right .duet-footer-link:first-child {
408
+ padding-top: 0 !important;
409
+ font-size: 1rem;
410
+ font-weight: 600;
411
+ }
412
+ .duet-footer-multilevel .multilevel-right .tertiary-main-item .duet-footer-arrow {
413
+ display: none;
414
+ }
415
+ }
416
+ .duet-footer-multilevel .duet-footer-menu {
417
+ padding: 1.25rem !important;
418
+ line-height: 2.5;
419
+ }
420
+ @media (min-width: 62em) {
421
+ .duet-footer-multilevel .duet-footer-menu {
422
+ padding-right: 0 !important;
423
+ padding-left: 0 !important;
424
+ text-align: right;
425
+ }
426
+ }
427
+ .duet-footer-multilevel .duet-footer-copyright {
428
+ display: none;
429
+ font-size: 0.875rem;
430
+ }
431
+ @media (min-width: 62em) {
432
+ .duet-footer-multilevel .duet-footer-copyright {
433
+ position: absolute;
434
+ left: 48px;
435
+ display: inline;
436
+ }
437
+ }
438
+ @media (min-width: 76.25em) {
439
+ .duet-footer-multilevel .duet-footer-copyright {
440
+ left: 0;
441
+ }
442
+ }
443
+ .duet-footer-multilevel .duet-footer-copyright.duet-footer-copyright-mobile {
444
+ display: block;
445
+ padding-top: 0.5rem;
446
+ padding-bottom: 1.25rem;
447
+ text-align: center;
448
+ }
449
+ @media (min-width: 62em) {
450
+ .duet-footer-multilevel .duet-footer-copyright.duet-footer-copyright-mobile {
451
+ display: none;
452
+ }
453
+ }
454
+ .duet-footer-multilevel.duet-theme-turva .duet-footer-copyright-mobile {
455
+ padding-left: 1.25rem;
456
+ text-align: left;
457
+ }
458
+ .duet-footer-multilevel.duet-theme-turva .duet-footer-icon {
459
+ color: #171c3a;
460
+ background: white;
461
+ }
462
+ .duet-footer-multilevel.duet-theme-turva a:hover .duet-footer-icon {
463
+ background: #e6e6e6;
464
+ }
465
+
312
466
  .duet-footer-external {
313
467
  display: inline-block;
314
468
  margin-left: 4px;
@@ -1,7 +1,9 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
+ import arrowDownSmallIcon from "@duetds/icons/lib/assets/action-arrow-down-small";
4
5
  import arrowRightIcon from "@duetds/icons/lib/assets/action-arrow-right";
6
+ import arrowRightSmallIcon from "@duetds/icons/lib/assets/action-arrow-right-small";
5
7
  import newWindowIcon from "@duetds/icons/lib/assets/action-new-window";
6
8
  import newWindowIconSmall from "@duetds/icons/lib/assets/action-new-window-small";
7
9
  import { Component, Element, Event, Fragment, h, Prop, State, Watch } from "@stencil/core";
@@ -14,12 +16,18 @@ const i18n = {
14
16
  sv: { lahi: "© LokalTapiola", turva: "© Turva" },
15
17
  en: { lahi: "© LocalTapiola", turva: "© Turva" },
16
18
  };
19
+ const i18nMultilevel = {
20
+ fi: { lahi: "© LähiTapiola", turva: "© Keskinäinen Vakuutusyhtiö Turva" },
21
+ sv: { lahi: "© LokalTapiola", turva: "© Keskinäinen Vakuutusyhtiö Turva" },
22
+ en: { lahi: "© LocalTapiola", turva: "© Keskinäinen Vakuutusyhtiö Turva" },
23
+ };
17
24
  const createEvent = (ev, data) => ({
18
25
  component: "duet-footer",
19
26
  data,
20
27
  originalEvent: ev,
21
28
  });
22
29
  /**
30
+ * @slot extra - A slot for extra links.
23
31
  * @part top - piercing selector for styling the top part of the footer
24
32
  * @part menu - piercing selector for styling the menu section of the footer
25
33
  */
@@ -29,7 +37,11 @@ export class DuetFooter {
29
37
  * State() variables
30
38
  * Inlined decorator, alphabetical order.
31
39
  */
40
+ this.processedMainItem = null;
32
41
  this.processedItems = null;
42
+ this.processedSecondaryItems = null;
43
+ this.processedTertiaryMainItem = null;
44
+ this.processedTertiaryItems = null;
33
45
  this.processedMenu = null;
34
46
  /**
35
47
  * Theme of the navigation.
@@ -104,7 +116,11 @@ export class DuetFooter {
104
116
  * Local methods
105
117
  */
106
118
  async refresh() {
119
+ this.processedMainItem = parsePossibleJSON(this.mainItem);
107
120
  this.processedItems = parsePossibleJSON(this.items);
121
+ this.processedSecondaryItems = parsePossibleJSON(this.secondaryItems);
122
+ this.processedTertiaryMainItem = parsePossibleJSON(this.tertiaryMainItem);
123
+ this.processedTertiaryItems = parsePossibleJSON(this.tertiaryItems);
108
124
  this.processedMenu = parsePossibleJSON(this.menu);
109
125
  }
110
126
  /**
@@ -112,19 +128,21 @@ export class DuetFooter {
112
128
  * Always the last one in the class.
113
129
  */
114
130
  render() {
115
- const text = getLocaleString(i18n);
131
+ const text = this.variation === "multilevel" ? getLocaleString(i18nMultilevel) : getLocaleString(i18n);
116
132
  const copyrightLabel = this.theme === "turva" ? text.turva : text.lahi;
117
133
  return (h("footer", { class: {
118
134
  "duet-footer": true,
119
135
  "duet-m-0": this.margin === "none",
120
136
  "duet-theme-turva": this.theme === "turva",
121
137
  "duet-footer-simple": this.variation === "simple",
138
+ "duet-footer-multilevel": this.variation === "multilevel",
122
139
  } },
123
140
  h("div", { class: "duet-footer-wrapper" },
124
141
  h("div", { class: "duet-footer-top", part: "top" },
125
142
  this.variation !== "simple" && (h("duet-logo", { href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme })),
126
143
  this.processedItems &&
127
144
  this.variation !== "simple" &&
145
+ this.variation !== "multilevel" &&
128
146
  this.processedItems.map(item => (h("a", { class: "duet-footer-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleItemClick(event, item) },
129
147
  h("div", { class: "duet-footer-icon" },
130
148
  h("duet-icon", { size: "medium", margin: "none", name: item.icon, color: "currentColor" })),
@@ -132,11 +150,50 @@ export class DuetFooter {
132
150
  item.external && h("duet-visually-hidden", null,
133
151
  ", ",
134
152
  this.accessibleLabelExternal),
135
- h("div", { class: "duet-footer-arrow" }, item.external ? (h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })) : (h("duet-icon", { icon: arrowRightIcon.svg, size: "auto", margin: "none", color: "currentColor" }))))))),
153
+ h("div", { class: "duet-footer-arrow" }, item.external ? (h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })) : (h("duet-icon", { icon: arrowRightIcon.svg, size: "auto", margin: "none", color: "currentColor" })))))),
154
+ this.processedItems && this.variation === "multilevel" && (h("div", { class: "multilevel" },
155
+ h("div", { class: "multilevel-left" },
156
+ h("div", { class: "multilevel-main-item" }, this.processedMainItem && (h("a", { class: "duet-footer-link", href: this.processedMainItem.href, id: this.processedMainItem.id, target: this.processedMainItem.external ? "_blank" : "_self", onClick: event => this.handleItemClick(event, this.processedMainItem) },
157
+ h("span", null, this.processedMainItem.label),
158
+ this.processedMainItem.external && (h("duet-visually-hidden", null,
159
+ ", ",
160
+ this.accessibleLabelExternal)),
161
+ h("div", { class: "duet-footer-arrow" }, this.processedMainItem.external && (h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))))),
162
+ h("div", { class: "multilevel-primary-items" }, this.processedItems.map(item => (h("a", { class: "duet-footer-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleItemClick(event, item) },
163
+ h("div", { class: "duet-footer-icon" },
164
+ h("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor" })),
165
+ h("span", null, item.label),
166
+ item.external && h("duet-visually-hidden", null,
167
+ ", ",
168
+ this.accessibleLabelExternal),
169
+ h("div", { class: "duet-footer-arrow" }, item.external && (h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" }))))))),
170
+ h("div", { class: "multilevel-secondary-items" }, this.processedSecondaryItems &&
171
+ this.processedSecondaryItems.map(item => (h("a", { class: "duet-footer-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleItemClick(event, item) },
172
+ h("span", null, item.label),
173
+ item.external && (h("duet-visually-hidden", null,
174
+ ", ",
175
+ this.accessibleLabelExternal)),
176
+ h("div", { class: "duet-footer-arrow" }, item.external ? (h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })) : (h("duet-icon", { icon: arrowRightSmallIcon.svg, size: "auto", margin: "none", color: "currentColor" })))))))),
177
+ h("div", { class: "multilevel-right" },
178
+ this.processedTertiaryMainItem && (h("span", { class: "duet-footer-link tertiary-main-item", id: this.processedTertiaryMainItem.id },
179
+ h("span", null, this.processedTertiaryMainItem.label),
180
+ this.processedTertiaryMainItem.external && (h("duet-visually-hidden", null,
181
+ ", ",
182
+ this.accessibleLabelExternal)),
183
+ h("div", { class: "duet-footer-arrow" },
184
+ h("duet-icon", { icon: arrowDownSmallIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))),
185
+ this.processedTertiaryItems &&
186
+ this.processedTertiaryItems.map(item => (h("a", { class: "duet-footer-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleItemClick(event, item) },
187
+ h("span", null, item.label),
188
+ item.external && h("duet-visually-hidden", null,
189
+ ", ",
190
+ this.accessibleLabelExternal),
191
+ h("div", { class: "duet-footer-arrow" }, item.external && (h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))))),
192
+ h("slot", { name: "extra" }),
136
193
  h("p", { class: "duet-footer-menu", part: "menu" },
137
194
  h("span", { class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`),
138
195
  this.processedMenu && (h(Fragment, null,
139
- h("span", { class: "duet-footer-divider", role: "presentation", "aria-hidden": "true" }, "/"),
196
+ this.variation !== "multilevel" && (h("span", { class: "duet-footer-divider", role: "presentation", "aria-hidden": "true" }, "/")),
140
197
  this.processedMenu.map(item => (h("a", { href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleMenuClick(event, item) },
141
198
  item.label,
142
199
  item.external && (h(Fragment, null,
@@ -145,7 +202,8 @@ export class DuetFooter {
145
202
  this.accessibleLabelExternal),
146
203
  h("div", { class: "duet-footer-external" },
147
204
  h("duet-icon", { icon: newWindowIconSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })))),
148
- h("span", { class: "duet-footer-divider", role: "presentation", "aria-hidden": "true" }, "/"))))))))));
205
+ h("span", { class: "duet-footer-divider", role: "presentation", "aria-hidden": "true" }, "/"))))))),
206
+ this.variation === "multilevel" && (h("p", { class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`)))));
149
207
  }
150
208
  static get is() { return "duet-footer"; }
151
209
  static get encapsulation() { return "shadow"; }
@@ -184,7 +242,7 @@ export class DuetFooter {
184
242
  "mutable": false,
185
243
  "complexType": {
186
244
  "original": "DuetFooterVariation",
187
- "resolved": "\"default\" | \"simple\"",
245
+ "resolved": "\"default\" | \"multilevel\" | \"simple\"",
188
246
  "references": {
189
247
  "DuetFooterVariation": {
190
248
  "location": "local"
@@ -271,6 +329,23 @@ export class DuetFooter {
271
329
  "reflect": false,
272
330
  "defaultValue": "getLanguage()"
273
331
  },
332
+ "mainItem": {
333
+ "type": "any",
334
+ "mutable": false,
335
+ "complexType": {
336
+ "original": "any",
337
+ "resolved": "any",
338
+ "references": {}
339
+ },
340
+ "required": false,
341
+ "optional": false,
342
+ "docs": {
343
+ "tags": [],
344
+ "text": "Main item of footer links. Item have to include mandatory\n\"label\" and \"href\". Additionally, you can pass an \"id\"\nthat is added as an HTML identifier for the anchor tag."
345
+ },
346
+ "attribute": "main-item",
347
+ "reflect": false
348
+ },
274
349
  "items": {
275
350
  "type": "any",
276
351
  "mutable": false,
@@ -288,6 +363,57 @@ export class DuetFooter {
288
363
  "attribute": "items",
289
364
  "reflect": false
290
365
  },
366
+ "secondaryItems": {
367
+ "type": "any",
368
+ "mutable": false,
369
+ "complexType": {
370
+ "original": "any",
371
+ "resolved": "any",
372
+ "references": {}
373
+ },
374
+ "required": false,
375
+ "optional": false,
376
+ "docs": {
377
+ "tags": [],
378
+ "text": "An array of items for the secondary footer links. Items have to include mandatory\n\"label\" and \"href\". Additionally, you can pass an \"id\"\nthat is added as an HTML identifier for the anchor tag."
379
+ },
380
+ "attribute": "secondary-items",
381
+ "reflect": false
382
+ },
383
+ "tertiaryMainItem": {
384
+ "type": "any",
385
+ "mutable": false,
386
+ "complexType": {
387
+ "original": "any",
388
+ "resolved": "any",
389
+ "references": {}
390
+ },
391
+ "required": false,
392
+ "optional": false,
393
+ "docs": {
394
+ "tags": [],
395
+ "text": "Main item of tertiary footer links. Item have to include mandatory\n\"label\" and \"href\". Additionally, you can pass an \"id\"\nthat is added as an HTML identifier for the anchor tag."
396
+ },
397
+ "attribute": "tertiary-main-item",
398
+ "reflect": false
399
+ },
400
+ "tertiaryItems": {
401
+ "type": "any",
402
+ "mutable": false,
403
+ "complexType": {
404
+ "original": "any",
405
+ "resolved": "any",
406
+ "references": {}
407
+ },
408
+ "required": false,
409
+ "optional": false,
410
+ "docs": {
411
+ "tags": [],
412
+ "text": "An array of items for the tertiary footer links. Items have to include mandatory\n\"label\" and \"href\". Additionally, you can pass an \"id\"\nthat is added as an HTML identifier for the anchor tag."
413
+ },
414
+ "attribute": "tertiary-items",
415
+ "reflect": false
416
+ },
291
417
  "accessibleLabelExternalDefaults": {
292
418
  "type": "string",
293
419
  "mutable": false,
@@ -354,7 +480,11 @@ export class DuetFooter {
354
480
  }
355
481
  }; }
356
482
  static get states() { return {
483
+ "processedMainItem": {},
357
484
  "processedItems": {},
485
+ "processedSecondaryItems": {},
486
+ "processedTertiaryMainItem": {},
487
+ "processedTertiaryItems": {},
358
488
  "processedMenu": {}
359
489
  }; }
360
490
  static get events() { return [{
@@ -100,6 +100,32 @@ duet-caption:not(:last-of-type) {
100
100
  width: 100%;
101
101
  height: 100%;
102
102
  }
103
+ .duet-input-container.has-clear .duet-input-clear-icon {
104
+ position: relative;
105
+ z-index: 250;
106
+ }
107
+ .duet-input-container.has-clear .duet-input-clear-icon button {
108
+ position: absolute;
109
+ top: -24px;
110
+ right: 0;
111
+ min-width: 48px;
112
+ min-height: 48px;
113
+ }
114
+ .duet-input-container.has-clear .duet-input-clear-icon button:focus {
115
+ outline: 0;
116
+ box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3;
117
+ }
118
+ .duet-theme-turva .duet-input-container.has-clear .duet-input-clear-icon button:focus {
119
+ box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a;
120
+ }
121
+ .duet-input-container.has-clear .duet-input-clear-icon button:active {
122
+ opacity: 0.75;
123
+ transition: none;
124
+ }
125
+ .duet-input-container.has-clear.has-icon .duet-input-clear-icon {
126
+ top: -24px;
127
+ right: 24px;
128
+ }
103
129
 
104
130
  .duet-input {
105
131
  position: relative;
@@ -299,4 +325,27 @@ duet-caption:not(:last-of-type) {
299
325
  .duet-input-relative {
300
326
  position: relative;
301
327
  width: 100%;
328
+ }
329
+
330
+ .duet-input-variation-button {
331
+ position: relative;
332
+ width: 100%;
333
+ }
334
+ .duet-input-variation-button .duet-input-relative {
335
+ display: flex;
336
+ flex-direction: row;
337
+ flex-wrap: nowrap;
338
+ align-content: center;
339
+ align-items: center;
340
+ justify-content: flex-start;
341
+ width: auto;
342
+ }
343
+ .duet-input-variation-button .duet-input-relative duet-button {
344
+ z-index: 250;
345
+ margin-bottom: 0;
346
+ }
347
+ .duet-input-variation-button .duet-input-relative .duet-input {
348
+ border-right-width: 0 !important;
349
+ border-top-right-radius: 0 !important;
350
+ border-bottom-right-radius: 0 !important;
302
351
  }