@ukic/web-components 2.13.0 → 2.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (396) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-81e0057b.js → helpers-3d0705ed.js} +8 -3
  3. package/dist/cjs/helpers-3d0705ed.js.map +1 -0
  4. package/dist/cjs/ic-accordion-group.cjs.entry.js +6 -2
  5. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
  6. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  7. package/dist/cjs/ic-alert.cjs.entry.js +1 -1
  8. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  9. package/dist/cjs/ic-badge.cjs.entry.js +4 -3
  10. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  11. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
  12. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  13. package/dist/cjs/ic-button_3.cjs.entry.js +29 -12
  14. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-card.cjs.entry.js +5 -6
  16. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
  18. package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
  19. package/dist/cjs/ic-chip.cjs.entry.js +1 -1
  20. package/dist/cjs/ic-data-entity.cjs.entry.js +3 -6
  21. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
  22. package/dist/cjs/ic-data-row.cjs.entry.js +21 -35
  23. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  24. package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
  25. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  26. package/dist/cjs/ic-empty-state.cjs.entry.js +1 -1
  27. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  29. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  30. package/dist/cjs/ic-hero.cjs.entry.js +1 -1
  31. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
  32. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +13 -11
  33. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  34. package/dist/cjs/ic-input-label_2.cjs.entry.js +1 -1
  35. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  36. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  37. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  38. package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
  39. package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
  40. package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
  41. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  42. package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
  43. package/dist/cjs/ic-pagination-item.cjs.entry.js +1 -1
  44. package/dist/cjs/ic-pagination.cjs.entry.js +1 -1
  45. package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
  46. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
  48. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
  50. package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
  51. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-select.cjs.entry.js +21 -13
  53. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
  55. package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
  56. package/dist/cjs/ic-step.cjs.entry.js +1 -1
  57. package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
  58. package/dist/cjs/ic-switch.cjs.entry.js +1 -1
  59. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  60. package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
  61. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  62. package/dist/cjs/ic-text-field.cjs.entry.js +1 -1
  63. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  64. package/dist/cjs/ic-toast.cjs.entry.js +1 -1
  65. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +184 -0
  66. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -0
  67. package/dist/cjs/ic-toggle-button.cjs.entry.js +6 -3
  68. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
  70. package/dist/cjs/ic-typography.cjs.entry.js +1 -1
  71. package/dist/cjs/index-f982899d.js +4 -0
  72. package/dist/cjs/loader.cjs.js +1 -1
  73. package/dist/cjs/types-dc22e301.js.map +1 -1
  74. package/dist/collection/collection-manifest.json +2 -1
  75. package/dist/collection/components/ic-accordion-group/ic-accordion-group.js +24 -2
  76. package/dist/collection/components/ic-accordion-group/ic-accordion-group.js.map +1 -1
  77. package/dist/collection/components/ic-badge/ic-badge.js +3 -2
  78. package/dist/collection/components/ic-badge/ic-badge.js.map +1 -1
  79. package/dist/collection/components/ic-button/ic-button.css +229 -36
  80. package/dist/collection/components/ic-button/ic-button.js +31 -10
  81. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  82. package/dist/collection/components/ic-card/ic-card.css +44 -0
  83. package/dist/collection/components/ic-card/ic-card.js +3 -4
  84. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  85. package/dist/collection/components/ic-data-entity/ic-data-entity.js +3 -6
  86. package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +1 -1
  87. package/dist/collection/components/ic-data-row/ic-data-row.js +20 -34
  88. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
  89. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +4 -0
  90. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +10 -9
  91. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
  92. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +22 -9
  93. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -1
  94. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +7 -0
  95. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -1
  96. package/dist/collection/components/ic-menu/ic-menu.css +13 -7
  97. package/dist/collection/components/ic-menu/ic-menu.js +8 -7
  98. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  99. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +1 -1
  100. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
  101. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  102. package/dist/collection/components/ic-search-bar/ic-search-bar.js +1 -1
  103. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  104. package/dist/collection/components/ic-select/ic-select.js +54 -17
  105. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  106. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +23 -1
  107. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -1
  108. package/dist/collection/components/ic-toggle-button/ic-toggle-button.css +62 -2
  109. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +4 -1
  110. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js.map +1 -1
  111. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.css +516 -0
  112. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +431 -0
  113. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js.map +1 -0
  114. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.types.js +2 -0
  115. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.types.js.map +1 -0
  116. package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js +150 -0
  117. package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js.map +1 -0
  118. package/dist/collection/utils/helpers.js +26 -2
  119. package/dist/collection/utils/helpers.js.map +1 -1
  120. package/dist/collection/utils/types.js.map +1 -1
  121. package/dist/components/helpers.js +8 -3
  122. package/dist/components/helpers.js.map +1 -1
  123. package/dist/components/ic-accordion-group.js +7 -2
  124. package/dist/components/ic-accordion-group.js.map +1 -1
  125. package/dist/components/ic-badge.js +3 -2
  126. package/dist/components/ic-badge.js.map +1 -1
  127. package/dist/components/ic-button2.js +32 -13
  128. package/dist/components/ic-button2.js.map +1 -1
  129. package/dist/components/ic-card.js +6 -19
  130. package/dist/components/ic-card.js.map +1 -1
  131. package/dist/components/ic-checkbox-group.js +1 -1
  132. package/dist/components/ic-checkbox.js +1 -1
  133. package/dist/components/ic-chip.js +1 -1
  134. package/dist/components/ic-data-entity.js +3 -6
  135. package/dist/components/ic-data-entity.js.map +1 -1
  136. package/dist/components/ic-data-row.js +20 -34
  137. package/dist/components/ic-data-row.js.map +1 -1
  138. package/dist/components/ic-input-component-container2.js +7 -6
  139. package/dist/components/ic-input-component-container2.js.map +1 -1
  140. package/dist/components/ic-link2.js +1 -1
  141. package/dist/components/ic-menu-item2.js +1 -1
  142. package/dist/components/ic-menu2.js +5 -4
  143. package/dist/components/ic-menu2.js.map +1 -1
  144. package/dist/components/ic-navigation-button.js +1 -1
  145. package/dist/components/ic-pagination-item2.js +1 -1
  146. package/dist/components/ic-pagination.js +1 -1
  147. package/dist/components/ic-popover-menu.js +1 -1
  148. package/dist/components/ic-popover-menu.js.map +1 -1
  149. package/dist/components/ic-radio-group.js +1 -1
  150. package/dist/components/ic-radio-group.js.map +1 -1
  151. package/dist/components/ic-radio-option.js +1 -1
  152. package/dist/components/ic-search-bar.js +1 -1
  153. package/dist/components/ic-search-bar.js.map +1 -1
  154. package/dist/components/ic-select.js +23 -14
  155. package/dist/components/ic-select.js.map +1 -1
  156. package/dist/components/ic-switch.js +1 -1
  157. package/dist/components/ic-tab.js +1 -1
  158. package/dist/components/ic-text-field2.js +1 -1
  159. package/dist/components/ic-toggle-button-group.d.ts +11 -0
  160. package/dist/components/ic-toggle-button-group.js +210 -0
  161. package/dist/components/ic-toggle-button-group.js.map +1 -0
  162. package/dist/components/ic-toggle-button.js +6 -3
  163. package/dist/components/ic-toggle-button.js.map +1 -1
  164. package/dist/components/types.js.map +1 -1
  165. package/dist/core/core.css +1 -1
  166. package/dist/core/core.esm.js +1 -1
  167. package/dist/core/core.esm.js.map +1 -1
  168. package/dist/core/{p-42f5f86d.entry.js → p-04d2f198.entry.js} +2 -2
  169. package/dist/core/p-04d2f198.entry.js.map +1 -0
  170. package/dist/core/{p-10448c8d.entry.js → p-04dd9fe8.entry.js} +2 -2
  171. package/dist/core/{p-4cf909ad.entry.js → p-14ea9cc7.entry.js} +2 -2
  172. package/dist/core/{p-4421203e.entry.js → p-166861e8.entry.js} +2 -2
  173. package/dist/core/p-166861e8.entry.js.map +1 -0
  174. package/dist/core/{p-2fbb52cd.entry.js → p-18137908.entry.js} +2 -2
  175. package/dist/core/{p-5bce919a.entry.js → p-1e84a765.entry.js} +2 -2
  176. package/dist/core/{p-50df74fb.entry.js → p-22cbe39b.entry.js} +2 -2
  177. package/dist/core/p-22cbe39b.entry.js.map +1 -0
  178. package/dist/core/p-268355c1.js +2 -0
  179. package/dist/core/p-268355c1.js.map +1 -0
  180. package/dist/core/p-26b7b18f.js.map +1 -1
  181. package/dist/core/p-2e3845be.entry.js +2 -0
  182. package/dist/core/p-2e3845be.entry.js.map +1 -0
  183. package/dist/core/{p-8b9d5e1f.entry.js → p-2edbdbaf.entry.js} +2 -2
  184. package/dist/core/p-2edbdbaf.entry.js.map +1 -0
  185. package/dist/core/{p-911592a7.entry.js → p-4e3d46f2.entry.js} +2 -2
  186. package/dist/core/{p-c73081df.entry.js → p-5421ceb4.entry.js} +2 -2
  187. package/dist/core/{p-dce01eea.entry.js → p-5479d3e5.entry.js} +2 -2
  188. package/dist/core/p-563c2522.entry.js +2 -0
  189. package/dist/core/p-563c2522.entry.js.map +1 -0
  190. package/dist/core/{p-77a9c4fd.entry.js → p-65d3c0f1.entry.js} +2 -2
  191. package/dist/core/p-6fae929c.entry.js +2 -0
  192. package/dist/core/p-6fae929c.entry.js.map +1 -0
  193. package/dist/core/{p-b7a2e604.entry.js → p-7438ab1f.entry.js} +2 -2
  194. package/dist/core/p-7438ab1f.entry.js.map +1 -0
  195. package/dist/core/{p-89a4057e.entry.js → p-77503f4f.entry.js} +2 -2
  196. package/dist/core/{p-d3059083.entry.js → p-77a00075.entry.js} +2 -2
  197. package/dist/core/{p-daf7e227.entry.js → p-7cdea5bf.entry.js} +2 -2
  198. package/dist/core/{p-e8d77f95.entry.js → p-8352d752.entry.js} +2 -2
  199. package/dist/core/{p-9d66dd4c.entry.js → p-880bcf91.entry.js} +2 -2
  200. package/dist/core/p-880bcf91.entry.js.map +1 -0
  201. package/dist/core/p-8841668b.entry.js +2 -0
  202. package/dist/core/p-8841668b.entry.js.map +1 -0
  203. package/dist/core/{p-5a243837.entry.js → p-8a77a417.entry.js} +2 -2
  204. package/dist/core/{p-6724e9fd.entry.js → p-8cbbe579.entry.js} +2 -2
  205. package/dist/core/{p-7ef4f806.entry.js → p-917b15da.entry.js} +2 -2
  206. package/dist/core/{p-83f58174.entry.js → p-934c2a94.entry.js} +2 -2
  207. package/dist/core/{p-bfbf4c5b.entry.js → p-9b4fd843.entry.js} +2 -2
  208. package/dist/core/{p-b723f883.entry.js → p-9c157974.entry.js} +2 -2
  209. package/dist/core/{p-7a62bb2f.entry.js → p-a222554a.entry.js} +2 -2
  210. package/dist/core/{p-0df94b9d.entry.js → p-aac0195e.entry.js} +2 -2
  211. package/dist/core/p-aac0195e.entry.js.map +1 -0
  212. package/dist/core/{p-263da6f8.entry.js → p-ab14339d.entry.js} +2 -2
  213. package/dist/core/{p-231a7230.entry.js → p-b1e74a89.entry.js} +2 -2
  214. package/dist/core/{p-792d194d.entry.js → p-b7bf772b.entry.js} +2 -2
  215. package/dist/core/{p-45fb7128.entry.js → p-ba31ee69.entry.js} +2 -2
  216. package/dist/core/{p-87933302.entry.js → p-ba8d968c.entry.js} +2 -2
  217. package/dist/core/{p-85601b9f.entry.js → p-c0525936.entry.js} +2 -2
  218. package/dist/core/{p-4ece659b.entry.js → p-c1bb5018.entry.js} +2 -2
  219. package/dist/core/{p-eadb62d5.entry.js → p-c2173562.entry.js} +2 -2
  220. package/dist/core/{p-584f15f9.entry.js → p-c43946b0.entry.js} +2 -2
  221. package/dist/core/p-c43946b0.entry.js.map +1 -0
  222. package/dist/core/{p-2db45025.entry.js → p-cc0ab439.entry.js} +2 -2
  223. package/dist/core/{p-3784f352.entry.js → p-cd2d2141.entry.js} +2 -2
  224. package/dist/core/{p-898a35c5.entry.js → p-cdb51adf.entry.js} +2 -2
  225. package/dist/core/{p-c0e003dc.entry.js → p-d5cadfa1.entry.js} +2 -2
  226. package/dist/core/{p-596c702b.entry.js → p-dfef57d3.entry.js} +2 -2
  227. package/dist/core/{p-9c835bd7.entry.js → p-e47f887a.entry.js} +2 -2
  228. package/dist/core/{p-c5e71983.entry.js → p-e7483ee5.entry.js} +2 -2
  229. package/dist/core/{p-881be3d5.entry.js → p-e7b676fc.entry.js} +2 -2
  230. package/dist/core/{p-8c0f0a88.entry.js → p-f026466e.entry.js} +2 -2
  231. package/dist/core/p-f026466e.entry.js.map +1 -0
  232. package/dist/core/{p-dae0cfd0.entry.js → p-f24084fa.entry.js} +2 -2
  233. package/dist/core/{p-77b56204.entry.js → p-f58da6ae.entry.js} +2 -2
  234. package/dist/core/{p-7384a191.entry.js → p-f7019830.entry.js} +2 -2
  235. package/dist/core/{p-d01d69a3.entry.js → p-f926174d.entry.js} +2 -2
  236. package/dist/core/{p-5bbbb507.entry.js → p-fc83d8d7.entry.js} +2 -2
  237. package/dist/core/{p-8c55b011.entry.js → p-fc91292d.entry.js} +2 -2
  238. package/dist/esm/core.js +1 -1
  239. package/dist/esm/{helpers-5c2846f4.js → helpers-4262def4.js} +8 -3
  240. package/dist/esm/helpers-4262def4.js.map +1 -0
  241. package/dist/esm/ic-accordion-group.entry.js +6 -2
  242. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  243. package/dist/esm/ic-accordion.entry.js +1 -1
  244. package/dist/esm/ic-alert.entry.js +1 -1
  245. package/dist/esm/ic-back-to-top.entry.js +1 -1
  246. package/dist/esm/ic-badge.entry.js +4 -3
  247. package/dist/esm/ic-badge.entry.js.map +1 -1
  248. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  249. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  250. package/dist/esm/ic-button_3.entry.js +29 -12
  251. package/dist/esm/ic-button_3.entry.js.map +1 -1
  252. package/dist/esm/ic-card.entry.js +5 -6
  253. package/dist/esm/ic-card.entry.js.map +1 -1
  254. package/dist/esm/ic-checkbox-group.entry.js +1 -1
  255. package/dist/esm/ic-checkbox.entry.js +1 -1
  256. package/dist/esm/ic-chip.entry.js +1 -1
  257. package/dist/esm/ic-data-entity.entry.js +3 -6
  258. package/dist/esm/ic-data-entity.entry.js.map +1 -1
  259. package/dist/esm/ic-data-row.entry.js +21 -35
  260. package/dist/esm/ic-data-row.entry.js.map +1 -1
  261. package/dist/esm/ic-dialog.entry.js +1 -1
  262. package/dist/esm/ic-divider.entry.js +1 -1
  263. package/dist/esm/ic-empty-state.entry.js +1 -1
  264. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  265. package/dist/esm/ic-footer-link.entry.js +1 -1
  266. package/dist/esm/ic-footer.entry.js +1 -1
  267. package/dist/esm/ic-hero.entry.js +1 -1
  268. package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
  269. package/dist/esm/ic-input-component-container_3.entry.js +13 -11
  270. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  271. package/dist/esm/ic-input-label_2.entry.js +1 -1
  272. package/dist/esm/ic-link.entry.js +1 -1
  273. package/dist/esm/ic-menu-group.entry.js +1 -1
  274. package/dist/esm/ic-menu-item.entry.js +1 -1
  275. package/dist/esm/ic-navigation-button.entry.js +1 -1
  276. package/dist/esm/ic-navigation-group.entry.js +1 -1
  277. package/dist/esm/ic-navigation-item.entry.js +1 -1
  278. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  279. package/dist/esm/ic-page-header.entry.js +1 -1
  280. package/dist/esm/ic-pagination-item.entry.js +1 -1
  281. package/dist/esm/ic-pagination.entry.js +1 -1
  282. package/dist/esm/ic-popover-menu.entry.js +1 -1
  283. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  284. package/dist/esm/ic-radio-group.entry.js +1 -1
  285. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  286. package/dist/esm/ic-radio-option.entry.js +1 -1
  287. package/dist/esm/ic-search-bar.entry.js +1 -1
  288. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  289. package/dist/esm/ic-select.entry.js +21 -13
  290. package/dist/esm/ic-select.entry.js.map +1 -1
  291. package/dist/esm/ic-side-navigation.entry.js +1 -1
  292. package/dist/esm/ic-status-tag.entry.js +1 -1
  293. package/dist/esm/ic-step.entry.js +1 -1
  294. package/dist/esm/ic-stepper.entry.js +1 -1
  295. package/dist/esm/ic-switch.entry.js +1 -1
  296. package/dist/esm/ic-tab-group.entry.js +1 -1
  297. package/dist/esm/ic-tab-panel.entry.js +1 -1
  298. package/dist/esm/ic-tab.entry.js +1 -1
  299. package/dist/esm/ic-text-field.entry.js +1 -1
  300. package/dist/esm/ic-theme.entry.js +1 -1
  301. package/dist/esm/ic-toast.entry.js +1 -1
  302. package/dist/esm/ic-toggle-button-group.entry.js +180 -0
  303. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -0
  304. package/dist/esm/ic-toggle-button.entry.js +6 -3
  305. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  306. package/dist/esm/ic-top-navigation.entry.js +1 -1
  307. package/dist/esm/ic-typography.entry.js +1 -1
  308. package/dist/esm/index-d1d2c456.js +4 -0
  309. package/dist/esm/loader.js +1 -1
  310. package/dist/esm/types-6f6b41a5.js.map +1 -1
  311. package/dist/types/components/ic-accordion-group/ic-accordion-group.d.ts +5 -0
  312. package/dist/types/components/ic-button/ic-button.d.ts +4 -0
  313. package/dist/types/components/ic-data-row/ic-data-row.d.ts +1 -6
  314. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +2 -2
  315. package/dist/types/components/ic-menu/ic-menu.d.ts +2 -2
  316. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +1 -1
  317. package/dist/types/components/ic-select/ic-select.d.ts +12 -3
  318. package/dist/types/components/ic-toggle-button/ic-toggle-button.d.ts +1 -0
  319. package/dist/types/components/ic-toggle-button-group/ic-toggle-button-group.d.ts +68 -0
  320. package/dist/types/components/ic-toggle-button-group/ic-toggle-button-group.types.d.ts +7 -0
  321. package/dist/types/components.d.ts +144 -12
  322. package/dist/types/utils/helpers.d.ts +8 -2
  323. package/dist/types/utils/types.d.ts +2 -0
  324. package/hydrate/index.js +307 -88
  325. package/package.json +3 -3
  326. package/vscode-data.json +121 -2
  327. package/dist/cjs/helpers-81e0057b.js.map +0 -1
  328. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js +0 -11
  329. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +0 -1
  330. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js +0 -34
  331. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +0 -1
  332. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js +0 -13
  333. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +0 -1
  334. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js +0 -33
  335. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +0 -1
  336. package/dist/core/p-0df94b9d.entry.js.map +0 -1
  337. package/dist/core/p-42f5f86d.entry.js.map +0 -1
  338. package/dist/core/p-4421203e.entry.js.map +0 -1
  339. package/dist/core/p-50df74fb.entry.js.map +0 -1
  340. package/dist/core/p-56c41889.entry.js +0 -2
  341. package/dist/core/p-56c41889.entry.js.map +0 -1
  342. package/dist/core/p-573322c6.entry.js +0 -2
  343. package/dist/core/p-573322c6.entry.js.map +0 -1
  344. package/dist/core/p-584f15f9.entry.js.map +0 -1
  345. package/dist/core/p-8b9d5e1f.entry.js.map +0 -1
  346. package/dist/core/p-8c0f0a88.entry.js.map +0 -1
  347. package/dist/core/p-9d66dd4c.entry.js.map +0 -1
  348. package/dist/core/p-a741d16f.entry.js +0 -2
  349. package/dist/core/p-a741d16f.entry.js.map +0 -1
  350. package/dist/core/p-b34eb829.js +0 -2
  351. package/dist/core/p-b34eb829.js.map +0 -1
  352. package/dist/core/p-b7a2e604.entry.js.map +0 -1
  353. package/dist/esm/helpers-5c2846f4.js.map +0 -1
  354. package/dist/types/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.d.ts +0 -1
  355. package/dist/types/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.d.ts +0 -1
  356. /package/dist/core/{p-10448c8d.entry.js.map → p-04dd9fe8.entry.js.map} +0 -0
  357. /package/dist/core/{p-4cf909ad.entry.js.map → p-14ea9cc7.entry.js.map} +0 -0
  358. /package/dist/core/{p-2fbb52cd.entry.js.map → p-18137908.entry.js.map} +0 -0
  359. /package/dist/core/{p-5bce919a.entry.js.map → p-1e84a765.entry.js.map} +0 -0
  360. /package/dist/core/{p-911592a7.entry.js.map → p-4e3d46f2.entry.js.map} +0 -0
  361. /package/dist/core/{p-c73081df.entry.js.map → p-5421ceb4.entry.js.map} +0 -0
  362. /package/dist/core/{p-dce01eea.entry.js.map → p-5479d3e5.entry.js.map} +0 -0
  363. /package/dist/core/{p-77a9c4fd.entry.js.map → p-65d3c0f1.entry.js.map} +0 -0
  364. /package/dist/core/{p-89a4057e.entry.js.map → p-77503f4f.entry.js.map} +0 -0
  365. /package/dist/core/{p-d3059083.entry.js.map → p-77a00075.entry.js.map} +0 -0
  366. /package/dist/core/{p-daf7e227.entry.js.map → p-7cdea5bf.entry.js.map} +0 -0
  367. /package/dist/core/{p-e8d77f95.entry.js.map → p-8352d752.entry.js.map} +0 -0
  368. /package/dist/core/{p-5a243837.entry.js.map → p-8a77a417.entry.js.map} +0 -0
  369. /package/dist/core/{p-6724e9fd.entry.js.map → p-8cbbe579.entry.js.map} +0 -0
  370. /package/dist/core/{p-7ef4f806.entry.js.map → p-917b15da.entry.js.map} +0 -0
  371. /package/dist/core/{p-83f58174.entry.js.map → p-934c2a94.entry.js.map} +0 -0
  372. /package/dist/core/{p-bfbf4c5b.entry.js.map → p-9b4fd843.entry.js.map} +0 -0
  373. /package/dist/core/{p-b723f883.entry.js.map → p-9c157974.entry.js.map} +0 -0
  374. /package/dist/core/{p-7a62bb2f.entry.js.map → p-a222554a.entry.js.map} +0 -0
  375. /package/dist/core/{p-263da6f8.entry.js.map → p-ab14339d.entry.js.map} +0 -0
  376. /package/dist/core/{p-231a7230.entry.js.map → p-b1e74a89.entry.js.map} +0 -0
  377. /package/dist/core/{p-792d194d.entry.js.map → p-b7bf772b.entry.js.map} +0 -0
  378. /package/dist/core/{p-45fb7128.entry.js.map → p-ba31ee69.entry.js.map} +0 -0
  379. /package/dist/core/{p-87933302.entry.js.map → p-ba8d968c.entry.js.map} +0 -0
  380. /package/dist/core/{p-85601b9f.entry.js.map → p-c0525936.entry.js.map} +0 -0
  381. /package/dist/core/{p-4ece659b.entry.js.map → p-c1bb5018.entry.js.map} +0 -0
  382. /package/dist/core/{p-eadb62d5.entry.js.map → p-c2173562.entry.js.map} +0 -0
  383. /package/dist/core/{p-2db45025.entry.js.map → p-cc0ab439.entry.js.map} +0 -0
  384. /package/dist/core/{p-3784f352.entry.js.map → p-cd2d2141.entry.js.map} +0 -0
  385. /package/dist/core/{p-898a35c5.entry.js.map → p-cdb51adf.entry.js.map} +0 -0
  386. /package/dist/core/{p-c0e003dc.entry.js.map → p-d5cadfa1.entry.js.map} +0 -0
  387. /package/dist/core/{p-596c702b.entry.js.map → p-dfef57d3.entry.js.map} +0 -0
  388. /package/dist/core/{p-9c835bd7.entry.js.map → p-e47f887a.entry.js.map} +0 -0
  389. /package/dist/core/{p-c5e71983.entry.js.map → p-e7483ee5.entry.js.map} +0 -0
  390. /package/dist/core/{p-881be3d5.entry.js.map → p-e7b676fc.entry.js.map} +0 -0
  391. /package/dist/core/{p-dae0cfd0.entry.js.map → p-f24084fa.entry.js.map} +0 -0
  392. /package/dist/core/{p-77b56204.entry.js.map → p-f58da6ae.entry.js.map} +0 -0
  393. /package/dist/core/{p-7384a191.entry.js.map → p-f7019830.entry.js.map} +0 -0
  394. /package/dist/core/{p-d01d69a3.entry.js.map → p-f926174d.entry.js.map} +0 -0
  395. /package/dist/core/{p-5bbbb507.entry.js.map → p-fc83d8d7.entry.js.map} +0 -0
  396. /package/dist/core/{p-8c55b011.entry.js.map → p-fc91292d.entry.js.map} +0 -0
@@ -459,7 +459,8 @@ video {
459
459
  --icon-height: 100%;
460
460
  }
461
461
 
462
- .button {
462
+ .button,
463
+ ::slotted(a) {
463
464
  font-family: var(--ic-font-body-family);
464
465
  text-decoration: none;
465
466
  font-weight: 600;
@@ -482,21 +483,25 @@ video {
482
483
  border-radius: 0.2188rem;
483
484
  }
484
485
 
485
- .button:hover {
486
+ .button:hover,
487
+ ::slotted(a:hover) {
486
488
  cursor: pointer;
487
489
  }
488
490
 
489
491
  .button:focus,
490
492
  :host .button:focus,
491
- :host(.light) .button:focus {
493
+ :host(.light) .button:focus,
494
+ ::slotted(a:focus) {
492
495
  box-shadow: var(--ic-border-focus);
493
496
  }
494
497
 
495
- .button:focus-visible {
498
+ .button:focus-visible,
499
+ ::slotted(a:focus-visible) {
496
500
  outline: var(--ic-hc-focus-outline);
497
501
  }
498
502
 
499
- :host(.dark) .button {
503
+ :host(.dark) .button,
504
+ :host(.dark) ::slotted(a) {
500
505
  --button-default: var(--ic-action-dark);
501
506
  --button-default-hover: var(--ic-action-dark);
502
507
  --button-default-active: var(--ic-action-dark);
@@ -504,7 +509,8 @@ video {
504
509
  --button-default-background-active: var(--ic-action-dark-bg-active);
505
510
  }
506
511
 
507
- :host(.light) .button {
512
+ :host(.light) .button,
513
+ :host(.light) ::slotted(a) {
508
514
  --button-default: var(--ic-action-light);
509
515
  --button-default-hover: var(--ic-action-light);
510
516
  --button-default-active: var(--ic-action-light);
@@ -512,7 +518,8 @@ video {
512
518
  --button-default-background-active: var(--ic-action-light-bg-active);
513
519
  }
514
520
 
515
- :host(.white-background) .button {
521
+ :host(.white-background) .button,
522
+ :host(.white-background) ::slotted(a) {
516
523
  --button-default-background-hover: var(--ic-action-default-bg-hover-no-alpha);
517
524
  --button-default-background-active: var(
518
525
  --ic-action-default-bg-active-no-alpha
@@ -521,25 +528,29 @@ video {
521
528
  background-color: var(--ic-architectural-white);
522
529
  }
523
530
 
524
- :host(.white-background.dark) .button {
531
+ :host(.white-background.dark) .button,
532
+ :host(.white-background.dark) ::slotted(a) {
525
533
  --button-default-background-hover: var(--ic-action-dark-bg-hover-no-alpha);
526
534
  --button-default-background-active: var(--ic-action-dark-bg-active-no-alpha);
527
535
  }
528
536
 
529
- :host(.button-variant-primary.light) .button {
537
+ :host(.button-variant-primary.light) .button,
538
+ :host(.button-variant-primary.light) ::slotted(a) {
530
539
  color: var(--ic-color-primary-text);
531
540
 
532
541
  --button-default-hover: var(--ic-action-light-hover);
533
542
  --button-default-active: var(--ic-action-light-active);
534
543
  }
535
544
 
536
- :host(.button-variant-primary.dark) .button {
545
+ :host(.button-variant-primary.dark) .button,
546
+ :host(.button-variant-primary.dark) ::slotted(a) {
537
547
  --button-default-hover: var(--ic-action-dark-hover);
538
548
  --button-default-active: var(--ic-action-dark-active);
539
549
  }
540
550
 
541
551
  :host(.disabled),
542
552
  :host(.disabled) .button,
553
+ :host(.disabled) ::slotted(a),
543
554
  :host(.loading),
544
555
  :host(.loading) .button {
545
556
  pointer-events: none;
@@ -558,7 +569,8 @@ video {
558
569
 
559
570
  /* Primary */
560
571
 
561
- :host(.button-variant-primary) .button {
572
+ :host(.button-variant-primary) .button,
573
+ :host(.button-variant-primary) ::slotted(a) {
562
574
  color: var(--ic-architectural-white);
563
575
  background-color: var(--button-default);
564
576
  }
@@ -572,7 +584,8 @@ video {
572
584
  border-color: var(--button-default-hover);
573
585
  }
574
586
 
575
- :host(.button-variant-primary:not(.light)) .button:hover:focus {
587
+ :host(.button-variant-primary:not(.light)) .button:hover:focus,
588
+ :host(.button-variant-primary:not(.light)) ::slotted(a:hover:focus) {
576
589
  color: var(--ic-architectural-white);
577
590
  }
578
591
 
@@ -589,29 +602,35 @@ video {
589
602
  background-color: var(--button-default-active);
590
603
  }
591
604
 
592
- :host(.button-variant-primary:not(.light)) .button:active {
605
+ :host(.button-variant-primary:not(.light)) .button:active,
606
+ :host(.button-variant-primary:not(.light)) ::slotted(a:active) {
593
607
  color: var(--ic-architectural-white);
594
608
  }
595
609
 
596
- :host(.button-variant-primary.disabled) .button {
610
+ :host(.button-variant-primary.disabled) .button,
611
+ :host(.button-variant-primary.disabled) ::slotted(a) {
597
612
  background: var(--ic-architectural-200);
598
613
  color: var(--ic-architectural-300);
599
614
  }
600
615
 
601
- :host(.button-variant-primary.light.disabled) .button {
616
+ :host(.button-variant-primary.light.disabled) .button,
617
+ :host(.button-variant-primary.light.disabled) ::slotted(a) {
602
618
  background: var(--ic-architectural-600);
603
619
  color: var(--ic-architectural-500);
604
620
  }
605
621
 
606
622
  /* Secondary */
607
623
 
608
- :host(.button-variant-secondary) .button {
624
+ :host(.button-variant-secondary) .button,
625
+ :host(.button-variant-secondary) ::slotted(a) {
609
626
  border: var(--ic-border-width) solid var(--button-default);
610
627
  color: var(--button-default);
611
628
  }
612
629
 
613
630
  :host(.button-variant-secondary) .button:hover:not(:focus),
614
- :host(.button-variant-secondary) .button:hover:focus {
631
+ :host(.button-variant-secondary) .button:hover:focus,
632
+ :host(.button-variant-secondary) ::slotted(a:hover:not(:focus)),
633
+ :host(.button-variant-secondary) ::slotted(a:hover:focus) {
615
634
  background-color: var(--button-default-background-hover);
616
635
  border-color: var(--button-default-hover);
617
636
  color: var(--button-default-hover);
@@ -619,7 +638,10 @@ video {
619
638
 
620
639
  :host(.button-variant-secondary) .button:active:not(:focus),
621
640
  :host(.button-variant-secondary) .button:active:focus,
622
- :host(.button-variant-secondary) .button:active {
641
+ :host(.button-variant-secondary) .button:active,
642
+ :host(.button-variant-secondary) ::slotted(a:active:not(:focus)),
643
+ :host(.button-variant-secondary) ::slotted(a:active:focus),
644
+ :host(.button-variant-secondary) ::slotted(a:active) {
623
645
  border-color: var(--button-default-active);
624
646
  background-color: var(--button-default-background-active);
625
647
  color: var(--button-default-active);
@@ -633,7 +655,10 @@ video {
633
655
 
634
656
  :host(.button-variant-secondary.disabled) .button,
635
657
  :host(.button-variant-secondary.disabled) .button:hover,
636
- :host(.button-variant-secondary.disabled) .button:active {
658
+ :host(.button-variant-secondary.disabled) .button:active,
659
+ :host(.button-variant-secondary.disabled) ::slotted(a),
660
+ :host(.button-variant-secondary.disabled) ::slotted(a:hover),
661
+ :host(.button-variant-secondary.disabled) ::slotted(a:active) {
637
662
  border-color: var(--ic-architectural-300);
638
663
  color: var(--ic-architectural-300);
639
664
  background: none;
@@ -641,7 +666,10 @@ video {
641
666
 
642
667
  :host(.button-variant-secondary.light.disabled) .button,
643
668
  :host(.button-variant-secondary.light.disabled) .button:hover,
644
- :host(.button-variant-secondary.light.disabled) .button:active {
669
+ :host(.button-variant-secondary.light.disabled) .button:active,
670
+ :host(.button-variant-secondary.light.disabled) ::slotted(a),
671
+ :host(.button-variant-secondary.light.disabled) ::slotted(a:hover),
672
+ :host(.button-variant-secondary.light.disabled) ::slotted(a:active) {
645
673
  border-color: var(--ic-architectural-500);
646
674
  color: var(--ic-architectural-500);
647
675
  background: none;
@@ -649,12 +677,15 @@ video {
649
677
 
650
678
  /* Tertiary */
651
679
 
652
- :host(.button-variant-tertiary) .button {
680
+ :host(.button-variant-tertiary) .button,
681
+ :host(.button-variant-tertiary) ::slotted(a) {
653
682
  color: var(--button-default);
654
683
  }
655
684
 
656
685
  :host(.button-variant-tertiary) .button:hover:not(:focus),
657
- :host(.button-variant-tertiary) .button:hover:focus {
686
+ :host(.button-variant-tertiary) .button:hover:focus,
687
+ :host(.button-variant-tertiary) ::slotted(a:hover:not(:focus)),
688
+ :host(.button-variant-tertiary) ::slotted(a:hover:focus) {
658
689
  background-color: var(--button-default-background-hover);
659
690
  color: var(--button-default-hover);
660
691
  }
@@ -662,6 +693,9 @@ video {
662
693
  :host(.button-variant-tertiary) .button:active:not(:focus),
663
694
  :host(.button-variant-tertiary) .button:active:focus,
664
695
  :host(.button-variant-tertiary) .button:active,
696
+ :host(.button-variant-tertiary) ::slotted(a:active:not(:focus)),
697
+ :host(.button-variant-tertiary) ::slotted(a:active:focus),
698
+ :host(.button-variant-tertiary) ::slotted(a:active),
665
699
  :host(.button-variant-tertiary.loading) .button {
666
700
  background-color: var(--button-default-background-active);
667
701
  color: var(--button-default-active);
@@ -669,7 +703,10 @@ video {
669
703
 
670
704
  :host(.button-variant-tertiary.disabled) .button,
671
705
  :host(.button-variant-tertiary.disabled) .button:hover,
672
- :host(.button-variant-tertiary.disabled) .button:active {
706
+ :host(.button-variant-tertiary.disabled) .button:active,
707
+ :host(.button-variant-tertiary.disabled) ::slotted(a),
708
+ :host(.button-variant-tertiary.disabled) ::slotted(a:hover),
709
+ :host(.button-variant-tertiary.disabled) ::slotted(a:active) {
673
710
  border-color: var(--ic-architectural-300);
674
711
  color: var(--ic-architectural-300);
675
712
  background: none;
@@ -677,7 +714,10 @@ video {
677
714
 
678
715
  :host(.button-variant-tertiary.light.disabled) .button,
679
716
  :host(.button-variant-tertiary.light.disabled) .button:hover,
680
- :host(.button-variant-tertiary.light.disabled) .button:active {
717
+ :host(.button-variant-tertiary.light.disabled) .button:active,
718
+ :host(.button-variant-tertiary.light.disabled) ::slotted(a),
719
+ :host(.button-variant-tertiary.light.disabled) ::slotted(a:hover),
720
+ :host(.button-variant-tertiary.light.disabled) ::slotted(a:active) {
681
721
  border-color: var(--ic-architectural-500);
682
722
  color: var(--ic-architectural-500);
683
723
  background: none;
@@ -685,7 +725,8 @@ video {
685
725
 
686
726
  /* Icon */
687
727
 
688
- :host(.button-variant-icon) .button {
728
+ :host(.button-variant-icon) .button,
729
+ :host(.button-variant-icon) ::slotted(a) {
689
730
  color: var(--button-default);
690
731
  min-width: 0;
691
732
  gap: var(--ic-space-xs);
@@ -698,12 +739,15 @@ video {
698
739
  }
699
740
 
700
741
  :host(.button-variant-icon) .button:hover:not(:focus),
701
- :host(.button-variant-icon) .button:hover:focus {
742
+ :host(.button-variant-icon) .button:hover:focus,
743
+ :host(.button-variant-icon) ::slotted(a:hover:not(:focus)),
744
+ :host(.button-variant-icon) ::slotted(a:hover:focus) {
702
745
  background-color: var(--button-default-background-hover);
703
746
  color: var(--button-default-hover);
704
747
  }
705
748
 
706
749
  :host(.button-variant-icon) .button:active:not(:focus),
750
+ :host(.button-variant-icon) ::slotted(a:active:not(:focus)),
707
751
  :host(.button-variant-icon.loading) .button {
708
752
  background-color: var(--button-default-background-active);
709
753
  color: var(--button-default-active);
@@ -711,14 +755,18 @@ video {
711
755
 
712
756
  :host(.button-variant-icon.disabled) .button,
713
757
  :host(.button-variant-icon.disabled) .button:hover,
714
- :host(.button-variant-icon.disabled) .button:active {
758
+ :host(.button-variant-icon.disabled) .button:active,
759
+ :host(.button-variant-icon.disabled) ::slotted(a),
760
+ :host(.button-variant-icon.disabled) ::slotted(a:hover),
761
+ :host(.button-variant-icon.disabled) ::slotted(a:active) {
715
762
  color: var(--ic-architectural-300);
716
763
  background: none;
717
764
  }
718
765
 
719
766
  /* Destructive */
720
767
 
721
- :host(.button-variant-destructive) .button {
768
+ :host(.button-variant-destructive) .button,
769
+ :host(.button-variant-destructive) ::slotted(a) {
722
770
  color: var(--ic-architectural-white);
723
771
  background-color: var(--ic-action-destructive);
724
772
  text-transform: uppercase;
@@ -735,7 +783,8 @@ video {
735
783
  background-color: var(--ic-action-destructive-active);
736
784
  }
737
785
 
738
- :host(.button-variant-destructive.disabled) .button {
786
+ :host(.button-variant-destructive.disabled) .button,
787
+ :host(.button-variant-destructive.disabled) ::slotted(a) {
739
788
  background: var(--ic-architectural-200);
740
789
  color: var(--ic-architectural-300);
741
790
  }
@@ -757,19 +806,22 @@ video {
757
806
  padding: var(--ic-space-sm) var(--ic-space-md);
758
807
  }
759
808
 
760
- :host(.button-size-default.button-variant-icon) .button {
809
+ :host(.button-size-default.button-variant-icon) .button,
810
+ :host(.button-size-default.button-variant-icon) ::slotted(a) {
761
811
  height: var(--height, var(--ic-space-xl));
762
812
  width: var(--ic-space-xl);
763
813
  padding: 0.375rem;
764
814
  }
765
815
 
766
- :host(.button-size-small.button-variant-icon) .button {
816
+ :host(.button-size-small.button-variant-icon) .button,
817
+ :host(.button-size-small.button-variant-icon) ::slotted(a) {
767
818
  height: var(--height, var(--ic-space-lg));
768
819
  width: var(--ic-space-lg);
769
820
  padding: var(--ic-space-xxs);
770
821
  }
771
822
 
772
- :host(.button-size-large.button-variant-icon) .button {
823
+ :host(.button-size-large.button-variant-icon) .button,
824
+ :host(.button-size-large.button-variant-icon) ::slotted(a) {
773
825
  height: var(--height, 2.5rem);
774
826
  width: 2.5rem;
775
827
  padding: var(--ic-space-xs);
@@ -777,7 +829,8 @@ video {
777
829
 
778
830
  /* Width */
779
831
  :host(.full-width),
780
- :host(.full-width) .button {
832
+ :host(.full-width) .button,
833
+ :host(.full-width) ::slotted(a) {
781
834
  width: 100%;
782
835
  }
783
836
 
@@ -868,7 +921,8 @@ div.right-icon {
868
921
  margin: 0 var(--ic-space-xxs);
869
922
  }
870
923
 
871
- :host(.clear-button) .button:focus {
924
+ :host(.clear-button) .button:focus,
925
+ :host(.calendar-button) .button:focus {
872
926
  box-shadow: none;
873
927
  }
874
928
 
@@ -931,10 +985,149 @@ div.right-icon {
931
985
  padding-right: var(--ic-space-xs);
932
986
  }
933
987
 
988
+ /** Slotted router item **/
989
+ slot[name="router-item"]::slotted(a) {
990
+ pointer-events: all;
991
+ }
992
+
993
+ ::slotted(a) {
994
+ font-size: 0.875rem !important;
995
+ border: none !important;
996
+ vertical-align: middle !important;
997
+ }
998
+
999
+ :host(.white-background) ::slotted(a) {
1000
+ background-color: var(--ic-architectural-white) !important;
1001
+ }
1002
+
1003
+ :host(.button-variant-primary) ::slotted(a) {
1004
+ background-color: var(--button-default) !important;
1005
+ }
1006
+
1007
+ :host(.button-variant-primary) ::slotted(a:hover:not(:focus)),
1008
+ :host(.button-variant-primary) ::slotted(a:hover:focus) {
1009
+ background-color: var(--button-default-hover) !important;
1010
+ }
1011
+
1012
+ :host(.button-variant-primary) ::slotted(a:active:not(:focus)),
1013
+ :host(.button-variant-primary) ::slotted(a:active),
1014
+ :host(.button-variant-primary) ::sloted(a:active:focus) {
1015
+ background-color: var(--button-default-active) !important;
1016
+ }
1017
+
1018
+ :host(.button-variant-primary.disabled) ::slotted(a),
1019
+ :host(.button-variant-destructive.disabled) ::slotted(a) {
1020
+ background: var(--ic-architectural-200) !important;
1021
+ }
1022
+
1023
+ :host(.button-variant-primary.light.disabled) ::slotted(a) {
1024
+ background: var(--ic-architectural-600) !important;
1025
+ }
1026
+
1027
+ :host(.button-variant-secondary) ::slotted(a) {
1028
+ border: var(--ic-border-width) solid var(--button-default) !important;
1029
+ }
1030
+
1031
+ :host(.button-variant-secondary) ::slotted(a:hover:not(:focus)),
1032
+ :host(.button-variant-secondary) ::slotted(a:hover:focus) {
1033
+ background-color: var(--button-default-background-hover) !important;
1034
+ border-color: var(--button-default-hover) !important;
1035
+ }
1036
+
1037
+ :host(.button-variant-secondary) ::slotted(a:active:not(:focus)),
1038
+ :host(.button-variant-secondary) ::slotted(a:active:focus),
1039
+ :host(.button-variant-secondary) ::slotted(a:active) {
1040
+ border-color: var(--button-default-active) !important;
1041
+ background-color: var(--button-default-background-active) !important;
1042
+ }
1043
+
1044
+ :host(.button-variant-secondary.disabled) ::slotted(a),
1045
+ :host(.button-variant-secondary.disabled) ::slotted(a:hover),
1046
+ :host(.button-variant-secondary.disabled) ::slotted(a:active),
1047
+ :host(.button-variant-tertiary.disabled) ::slotted(a),
1048
+ :host(.button-variant-tertiary.disabled) ::slotted(a:hover),
1049
+ :host(.button-variant-tertiary.disabled) ::slotted(a:active) {
1050
+ border-color: var(--ic-architectural-300) !important;
1051
+ background: none !important;
1052
+ }
1053
+
1054
+ :host(.button-variant-secondary.light.disabled) ::slotted(a),
1055
+ :host(.button-variant-secondary.light.disabled) ::slotted(a:hover),
1056
+ :host(.button-variant-secondary.light.disabled) ::slotted(a:active),
1057
+ :host(.button-variant-tertiary.light.disabled) ::slotted(a),
1058
+ :host(.button-variant-tertiary.light.disabled) ::slotted(a:hover),
1059
+ :host(.button-variant-tertiary.light.disabled) ::slotted(a:active) {
1060
+ border-color: var(--ic-architectural-500) !important;
1061
+ background: none !important;
1062
+ }
1063
+
1064
+ :host(.button-variant-tertiary) ::slotted(a:hover:not(:focus)),
1065
+ :host(.button-variant-tertiary) ::slotted(a:hover:focus),
1066
+ :host(.button-variant-icon) ::slotted(a:hover:not(:focus)),
1067
+ :host(.button-variant-icon) ::slotted(a:hover:focus) {
1068
+ background-color: var(--button-default-background-hover) !important;
1069
+ }
1070
+
1071
+ :host(.button-variant-tertiary) ::slotted(a:active:not(:focus)),
1072
+ :host(.button-variant-tertiary) ::slotted(a:active:focus),
1073
+ :host(.button-variant-tertiary) ::slotted(a:active),
1074
+ :host(.button-variant-icon) ::slotted(a:active:not(:focus)) {
1075
+ background-color: var(--button-default-background-active) !important;
1076
+ }
1077
+
1078
+ :host(.button-variant-icon.disabled) ::slotted(a),
1079
+ :host(.button-variant-icon.disabled) ::slotted(a:hover),
1080
+ :host(.button-variant-icon.disabled) ::slotted(a:active) {
1081
+ background: none !important;
1082
+ }
1083
+
1084
+ :host(.button-variant-destructive) ::slotted(a) {
1085
+ background-color: var(--ic-action-destructive) !important;
1086
+ }
1087
+
1088
+ :host(.button-variant-destructive) ::slotted(a:hover:not(:focus)),
1089
+ :host(.button-variant-destructive) ::slotted(a:hover:focus) {
1090
+ background-color: var(--ic-action-destructive-hover) !important;
1091
+ }
1092
+
1093
+ :host(.button-variant-destructive) ::slotted(a:active:not(:focus)),
1094
+ :host(.button-variant-destructive) ::slotted(a:active:focus) {
1095
+ background-color: var(--ic-action-destructive-active) !important;
1096
+ }
1097
+
1098
+ :host(.button-size-default) ::slotted(a) {
1099
+ height: var(--height, 2.5rem) !important;
1100
+ padding: var(--ic-space-xs) var(--ic-space-md) !important;
1101
+ }
1102
+
1103
+ :host(.button-size-small) ::slotted(a) {
1104
+ height: var(--height, var(--ic-space-xl)) !important;
1105
+ padding: var(--ic-space-xxs) var(--ic-space-md) !important;
1106
+ }
1107
+
1108
+ :host(.button-size-large) ::slotted(a) {
1109
+ height: var(--height, var(--ic-space-xxl)) !important;
1110
+ padding: var(--ic-space-sm) var(--ic-space-md) !important;
1111
+ }
1112
+
1113
+ :host(.button-size-default.button-variant-icon) ::slotted(a) {
1114
+ height: var(--height, var(--ic-space-xl)) !important;
1115
+ padding: 0.375rem !important;
1116
+ }
1117
+
1118
+ :host(.button-size-small.button-variant-icon) ::slotted(a) {
1119
+ padding: var(--ic-space-xxs) !important;
1120
+ }
1121
+
1122
+ :host(.button-size-large.button-variant-icon) ::slotted(a) {
1123
+ padding: var(--ic-space-xs) !important;
1124
+ }
1125
+
934
1126
  /** High Contrast **/
935
1127
  @media (forced-colors: active) {
936
- .button {
937
- border: 0.125rem solid transparent;
1128
+ .button,
1129
+ ::slotted(a) {
1130
+ border: 0.125rem solid transparent !important;
938
1131
  }
939
1132
  }
940
1133
 
@@ -22,6 +22,7 @@ let buttonIds = 0;
22
22
  * @slot right-icon - Content will be placed to the right of the button label.
23
23
  * @slot top-icon - Content will be placed above the button label.
24
24
  * @slot badge - Badge component overlaying the top right of the button.
25
+ * @slot router-item - Handle routing by nesting your routes in this slot. Setting loading to true will have no impact on this slot.
25
26
  */
26
27
  export class Button {
27
28
  constructor() {
@@ -47,6 +48,7 @@ export class Button {
47
48
  };
48
49
  this.handleClick = () => {
49
50
  if ((this.el.type === "submit" || this.el.type === "reset") &&
51
+ !this.hasRouterSlot() &&
50
52
  !!this.el.closest("FORM")) {
51
53
  this.handleHiddenFormButtonClick(this.el.closest("FORM"));
52
54
  }
@@ -140,6 +142,9 @@ export class Button {
140
142
  this.type = "button";
141
143
  this.variant = "primary";
142
144
  }
145
+ watchDisabledHandler() {
146
+ removeDisabledFalse(this.disabled, this.el);
147
+ }
143
148
  disconnectedCallback() {
144
149
  if (this.mutationObserver !== null && this.mutationObserver !== undefined) {
145
150
  this.mutationObserver.disconnect();
@@ -201,14 +206,16 @@ export class Button {
201
206
  (_a = this.setViewBox()) === null || _a === void 0 ? void 0 : _a.setAttribute("viewBox", "0 0 24 24");
202
207
  }
203
208
  handleHostClick(event) {
204
- if (this.fileUpload) {
205
- this.openFileExplorer();
206
- }
207
- if (this.disabled || this.loading) {
208
- event.stopImmediatePropagation();
209
- }
210
- if (this.dropdown) {
211
- this.dropdownExpanded = !this.dropdownExpanded;
209
+ if (!this.hasRouterSlot()) {
210
+ if (this.fileUpload) {
211
+ this.openFileExplorer();
212
+ }
213
+ if (this.disabled || this.loading) {
214
+ event.stopImmediatePropagation();
215
+ }
216
+ if (this.dropdown) {
217
+ this.dropdownExpanded = !this.dropdownExpanded;
218
+ }
212
219
  }
213
220
  }
214
221
  themeChangeHandler(ev) {
@@ -239,6 +246,13 @@ export class Button {
239
246
  const iconEl = this.el.querySelector(`[slot="right-icon"]`);
240
247
  return iconEl !== null;
241
248
  }
249
+ hasRouterSlot() {
250
+ this.routerSlot = this.el.querySelector('[slot="router-item"]');
251
+ if (this.routerSlot) {
252
+ this.routerSlot.ariaLabel = this.routerSlot.textContent;
253
+ }
254
+ return !!this.routerSlot;
255
+ }
242
256
  handleHiddenFormButtonClick(form) {
243
257
  const hiddenFormButton = document.createElement("button");
244
258
  hiddenFormButton.setAttribute("type", this.el.type);
@@ -291,7 +305,7 @@ export class Button {
291
305
  describedBy = this.describedById;
292
306
  }
293
307
  const ButtonContent = () => {
294
- return (h(TagType, Object.assign({ class: "button", "aria-disabled": this.loading || this.disabled ? "true" : null, "aria-label": this.loading ? "Loading" : ariaLabel }, buttonAttrs, inheritedAttributes, { onFocus: this.onFocus, onBlur: this.onBlur, ref: (el) => (this.buttonEl = el), "aria-describedby": describedBy, part: "button" }), this.hasIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "icon" }))), this.hasLeftIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "left-icon" }))), this.hasTopIconSlot() &&
308
+ return (h(TagType, Object.assign({ class: "button", "aria-disabled": this.loading || this.disabled ? "true" : null, "aria-label": this.loading ? "Loading" : ariaLabel, "aria-expanded": this.dropdown && `${this.dropdownExpanded}` }, buttonAttrs, inheritedAttributes, { onFocus: this.onFocus, onBlur: this.onBlur, ref: (el) => (this.buttonEl = el), "aria-describedby": describedBy, part: "button" }), this.hasIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "icon" }))), this.hasLeftIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "left-icon" }))), this.hasTopIconSlot() &&
295
309
  !this.hasLeftIconSlot() &&
296
310
  !this.hasRightIconSlot() &&
297
311
  !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "top-icon" }))), this.loading ? (h("div", { class: "loading-container" }, h("ic-loading-indicator", { type: "linear", appearance: this.variant === "primary" ||
@@ -323,7 +337,8 @@ export class Button {
323
337
  ["white-background"]: this.variant === "secondary" &&
324
338
  !this.transparentBackground &&
325
339
  this.appearance !== "light",
326
- }, onClick: this.handleClick, "aria-owns": this.ariaOwnsId, "aria-controls": this.ariaControlsId, "aria-expanded": this.dropdown && `${this.dropdownExpanded}` }, this.hasTooltip && (h("ic-tooltip", { id: describedBy, label: title || ariaLabel, target: buttonId, placement: this.tooltipPlacement, silent: this.isTooltipSilent() }, h(ButtonContent, null))), isSlotUsed(this.el, "badge") && h("slot", { name: "badge" }), !this.hasTooltip && h(ButtonContent, null), this.describedByContent && (h("span", { id: describedBy, class: "ic-button-describedby" }, this.describedByContent))));
340
+ }, onClick: this.handleClick, "aria-owns": this.ariaOwnsId, "aria-controls": this.ariaControlsId, "aria-expanded": this.dropdown && `${this.dropdownExpanded}` }, this.hasTooltip && (h("ic-tooltip", { id: describedBy, label: title || ariaLabel, target: buttonId, placement: this.tooltipPlacement, silent: this.isTooltipSilent() }, this.hasRouterSlot() ? (h("slot", { name: "router-item" })) : (h(ButtonContent, null)))), isSlotUsed(this.el, "badge") && h("slot", { name: "badge" }), !this.hasTooltip &&
341
+ (this.hasRouterSlot() ? (h("slot", { name: "router-item" })) : (h(ButtonContent, null))), this.describedByContent && (h("span", { id: describedBy, class: "ic-button-describedby" }, this.describedByContent))));
327
342
  }
328
343
  static get is() { return "ic-button"; }
329
344
  static get encapsulation() { return "shadow"; }
@@ -1012,6 +1027,12 @@ export class Button {
1012
1027
  };
1013
1028
  }
1014
1029
  static get elementRef() { return "el"; }
1030
+ static get watchers() {
1031
+ return [{
1032
+ "propName": "disabled",
1033
+ "methodName": "watchDisabledHandler"
1034
+ }];
1035
+ }
1015
1036
  static get listeners() {
1016
1037
  return [{
1017
1038
  "name": "click",