@ukic/web-components 2.13.0 → 2.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (377) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-81e0057b.js → helpers-d52cddc1.js} +2 -2
  3. package/dist/cjs/helpers-d52cddc1.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 +23 -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 +12 -10
  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 +227 -35
  80. package/dist/collection/components/ic-button/ic-button.js +22 -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 +9 -8
  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 +8 -8
  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 +4 -1
  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 +1 -1
  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 +22 -11
  128. package/dist/components/ic-button2.js.map +1 -1
  129. package/dist/components/ic-card.js +5 -18
  130. package/dist/components/ic-card.js.map +1 -1
  131. package/dist/components/ic-data-entity.js +3 -6
  132. package/dist/components/ic-data-entity.js.map +1 -1
  133. package/dist/components/ic-data-row.js +20 -34
  134. package/dist/components/ic-data-row.js.map +1 -1
  135. package/dist/components/ic-input-component-container2.js +6 -5
  136. package/dist/components/ic-input-component-container2.js.map +1 -1
  137. package/dist/components/ic-menu2.js +5 -4
  138. package/dist/components/ic-menu2.js.map +1 -1
  139. package/dist/components/ic-popover-menu.js +1 -1
  140. package/dist/components/ic-popover-menu.js.map +1 -1
  141. package/dist/components/ic-radio-group.js.map +1 -1
  142. package/dist/components/ic-search-bar.js.map +1 -1
  143. package/dist/components/ic-select.js +22 -13
  144. package/dist/components/ic-select.js.map +1 -1
  145. package/dist/components/ic-toggle-button-group.d.ts +11 -0
  146. package/dist/components/ic-toggle-button-group.js +210 -0
  147. package/dist/components/ic-toggle-button-group.js.map +1 -0
  148. package/dist/components/ic-toggle-button.js +5 -2
  149. package/dist/components/ic-toggle-button.js.map +1 -1
  150. package/dist/components/types.js.map +1 -1
  151. package/dist/core/core.css +1 -1
  152. package/dist/core/core.esm.js +1 -1
  153. package/dist/core/core.esm.js.map +1 -1
  154. package/dist/core/{p-c5e71983.entry.js → p-0038a8fd.entry.js} +2 -2
  155. package/dist/core/{p-dce01eea.entry.js → p-04506779.entry.js} +2 -2
  156. package/dist/core/p-0d0070b3.entry.js +2 -0
  157. package/dist/core/p-0d0070b3.entry.js.map +1 -0
  158. package/dist/core/{p-50df74fb.entry.js → p-0e2628eb.entry.js} +2 -2
  159. package/dist/core/p-0e2628eb.entry.js.map +1 -0
  160. package/dist/core/{p-0df94b9d.entry.js → p-1183031f.entry.js} +2 -2
  161. package/dist/core/p-1183031f.entry.js.map +1 -0
  162. package/dist/core/{p-2fbb52cd.entry.js → p-123b9306.entry.js} +2 -2
  163. package/dist/core/{p-4421203e.entry.js → p-166861e8.entry.js} +2 -2
  164. package/dist/core/p-166861e8.entry.js.map +1 -0
  165. package/dist/core/{p-77a9c4fd.entry.js → p-1ce0d16e.entry.js} +2 -2
  166. package/dist/core/{p-9c835bd7.entry.js → p-1d352487.entry.js} +2 -2
  167. package/dist/core/{p-7ef4f806.entry.js → p-210412e4.entry.js} +2 -2
  168. package/dist/core/{p-596c702b.entry.js → p-22a682e8.entry.js} +2 -2
  169. package/dist/core/{p-8b9d5e1f.entry.js → p-2680b736.entry.js} +2 -2
  170. package/dist/core/p-2680b736.entry.js.map +1 -0
  171. package/dist/core/p-26b7b18f.js.map +1 -1
  172. package/dist/core/{p-898a35c5.entry.js → p-296b7d74.entry.js} +2 -2
  173. package/dist/core/{p-45fb7128.entry.js → p-2f462ec5.entry.js} +2 -2
  174. package/dist/core/{p-85601b9f.entry.js → p-35b8923f.entry.js} +2 -2
  175. package/dist/core/{p-5bbbb507.entry.js → p-4641518f.entry.js} +2 -2
  176. package/dist/core/{p-911592a7.entry.js → p-46ecc4c5.entry.js} +2 -2
  177. package/dist/core/{p-8c55b011.entry.js → p-47a9dca9.entry.js} +2 -2
  178. package/dist/core/p-47d39ce7.entry.js +2 -0
  179. package/dist/core/p-47d39ce7.entry.js.map +1 -0
  180. package/dist/core/{p-dae0cfd0.entry.js → p-4ce5abd7.entry.js} +2 -2
  181. package/dist/core/p-53f2fc84.js +2 -0
  182. package/dist/core/p-53f2fc84.js.map +1 -0
  183. package/dist/core/{p-5bce919a.entry.js → p-5603eec3.entry.js} +2 -2
  184. package/dist/core/{p-584f15f9.entry.js → p-5e729e99.entry.js} +2 -2
  185. package/dist/core/p-5e729e99.entry.js.map +1 -0
  186. package/dist/core/{p-daf7e227.entry.js → p-64705a03.entry.js} +2 -2
  187. package/dist/core/{p-bfbf4c5b.entry.js → p-6a9ddb8a.entry.js} +2 -2
  188. package/dist/core/p-6fae929c.entry.js +2 -0
  189. package/dist/core/p-6fae929c.entry.js.map +1 -0
  190. package/dist/core/{p-b7a2e604.entry.js → p-7438ab1f.entry.js} +2 -2
  191. package/dist/core/p-7438ab1f.entry.js.map +1 -0
  192. package/dist/core/{p-d3059083.entry.js → p-7606c930.entry.js} +2 -2
  193. package/dist/core/{p-231a7230.entry.js → p-76ee6107.entry.js} +2 -2
  194. package/dist/core/{p-77b56204.entry.js → p-7b0397ea.entry.js} +2 -2
  195. package/dist/core/{p-e8d77f95.entry.js → p-80c3424f.entry.js} +2 -2
  196. package/dist/core/{p-3784f352.entry.js → p-8aa9aa25.entry.js} +2 -2
  197. package/dist/core/p-916f4265.entry.js +2 -0
  198. package/dist/core/p-916f4265.entry.js.map +1 -0
  199. package/dist/core/{p-7384a191.entry.js → p-91768ddf.entry.js} +2 -2
  200. package/dist/core/{p-10448c8d.entry.js → p-95d6f3ed.entry.js} +2 -2
  201. package/dist/core/{p-4ece659b.entry.js → p-9c18f048.entry.js} +2 -2
  202. package/dist/core/{p-881be3d5.entry.js → p-a4e7d123.entry.js} +2 -2
  203. package/dist/core/{p-c0e003dc.entry.js → p-a98f57cf.entry.js} +2 -2
  204. package/dist/core/{p-2db45025.entry.js → p-a9e1966f.entry.js} +2 -2
  205. package/dist/core/{p-7a62bb2f.entry.js → p-aa878a3c.entry.js} +2 -2
  206. package/dist/core/{p-4cf909ad.entry.js → p-b781b691.entry.js} +2 -2
  207. package/dist/core/{p-792d194d.entry.js → p-b98ce745.entry.js} +2 -2
  208. package/dist/core/{p-8c0f0a88.entry.js → p-bc7f99b8.entry.js} +2 -2
  209. package/dist/core/p-bc7f99b8.entry.js.map +1 -0
  210. package/dist/core/{p-9d66dd4c.entry.js → p-c053230d.entry.js} +2 -2
  211. package/dist/core/p-c053230d.entry.js.map +1 -0
  212. package/dist/core/{p-89a4057e.entry.js → p-c2789113.entry.js} +2 -2
  213. package/dist/core/{p-6724e9fd.entry.js → p-c7c2aa3c.entry.js} +2 -2
  214. package/dist/core/{p-d01d69a3.entry.js → p-d319ddce.entry.js} +2 -2
  215. package/dist/core/{p-5a243837.entry.js → p-d5f721ca.entry.js} +2 -2
  216. package/dist/core/{p-83f58174.entry.js → p-d9329191.entry.js} +2 -2
  217. package/dist/core/{p-42f5f86d.entry.js → p-dbbea7fa.entry.js} +2 -2
  218. package/dist/core/p-dbbea7fa.entry.js.map +1 -0
  219. package/dist/core/{p-b723f883.entry.js → p-e4863c93.entry.js} +2 -2
  220. package/dist/core/{p-87933302.entry.js → p-e68e31ec.entry.js} +2 -2
  221. package/dist/core/{p-263da6f8.entry.js → p-fbcb77a3.entry.js} +2 -2
  222. package/dist/core/{p-c73081df.entry.js → p-fce3e1aa.entry.js} +2 -2
  223. package/dist/core/{p-eadb62d5.entry.js → p-fea1d095.entry.js} +2 -2
  224. package/dist/esm/core.js +1 -1
  225. package/dist/esm/{helpers-5c2846f4.js → helpers-f1ca9908.js} +2 -2
  226. package/dist/esm/helpers-f1ca9908.js.map +1 -0
  227. package/dist/esm/ic-accordion-group.entry.js +6 -2
  228. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  229. package/dist/esm/ic-accordion.entry.js +1 -1
  230. package/dist/esm/ic-alert.entry.js +1 -1
  231. package/dist/esm/ic-back-to-top.entry.js +1 -1
  232. package/dist/esm/ic-badge.entry.js +4 -3
  233. package/dist/esm/ic-badge.entry.js.map +1 -1
  234. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  235. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  236. package/dist/esm/ic-button_3.entry.js +23 -12
  237. package/dist/esm/ic-button_3.entry.js.map +1 -1
  238. package/dist/esm/ic-card.entry.js +5 -6
  239. package/dist/esm/ic-card.entry.js.map +1 -1
  240. package/dist/esm/ic-checkbox-group.entry.js +1 -1
  241. package/dist/esm/ic-checkbox.entry.js +1 -1
  242. package/dist/esm/ic-chip.entry.js +1 -1
  243. package/dist/esm/ic-data-entity.entry.js +3 -6
  244. package/dist/esm/ic-data-entity.entry.js.map +1 -1
  245. package/dist/esm/ic-data-row.entry.js +21 -35
  246. package/dist/esm/ic-data-row.entry.js.map +1 -1
  247. package/dist/esm/ic-dialog.entry.js +1 -1
  248. package/dist/esm/ic-divider.entry.js +1 -1
  249. package/dist/esm/ic-empty-state.entry.js +1 -1
  250. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  251. package/dist/esm/ic-footer-link.entry.js +1 -1
  252. package/dist/esm/ic-footer.entry.js +1 -1
  253. package/dist/esm/ic-hero.entry.js +1 -1
  254. package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
  255. package/dist/esm/ic-input-component-container_3.entry.js +12 -10
  256. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  257. package/dist/esm/ic-input-label_2.entry.js +1 -1
  258. package/dist/esm/ic-link.entry.js +1 -1
  259. package/dist/esm/ic-menu-group.entry.js +1 -1
  260. package/dist/esm/ic-menu-item.entry.js +1 -1
  261. package/dist/esm/ic-navigation-button.entry.js +1 -1
  262. package/dist/esm/ic-navigation-group.entry.js +1 -1
  263. package/dist/esm/ic-navigation-item.entry.js +1 -1
  264. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  265. package/dist/esm/ic-page-header.entry.js +1 -1
  266. package/dist/esm/ic-pagination-item.entry.js +1 -1
  267. package/dist/esm/ic-pagination.entry.js +1 -1
  268. package/dist/esm/ic-popover-menu.entry.js +1 -1
  269. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  270. package/dist/esm/ic-radio-group.entry.js +1 -1
  271. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  272. package/dist/esm/ic-radio-option.entry.js +1 -1
  273. package/dist/esm/ic-search-bar.entry.js +1 -1
  274. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  275. package/dist/esm/ic-select.entry.js +21 -13
  276. package/dist/esm/ic-select.entry.js.map +1 -1
  277. package/dist/esm/ic-side-navigation.entry.js +1 -1
  278. package/dist/esm/ic-status-tag.entry.js +1 -1
  279. package/dist/esm/ic-step.entry.js +1 -1
  280. package/dist/esm/ic-stepper.entry.js +1 -1
  281. package/dist/esm/ic-switch.entry.js +1 -1
  282. package/dist/esm/ic-tab-group.entry.js +1 -1
  283. package/dist/esm/ic-tab-panel.entry.js +1 -1
  284. package/dist/esm/ic-tab.entry.js +1 -1
  285. package/dist/esm/ic-text-field.entry.js +1 -1
  286. package/dist/esm/ic-theme.entry.js +1 -1
  287. package/dist/esm/ic-toast.entry.js +1 -1
  288. package/dist/esm/ic-toggle-button-group.entry.js +180 -0
  289. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -0
  290. package/dist/esm/ic-toggle-button.entry.js +6 -3
  291. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  292. package/dist/esm/ic-top-navigation.entry.js +1 -1
  293. package/dist/esm/ic-typography.entry.js +1 -1
  294. package/dist/esm/index-d1d2c456.js +4 -0
  295. package/dist/esm/loader.js +1 -1
  296. package/dist/esm/types-6f6b41a5.js.map +1 -1
  297. package/dist/types/components/ic-accordion-group/ic-accordion-group.d.ts +5 -0
  298. package/dist/types/components/ic-button/ic-button.d.ts +3 -0
  299. package/dist/types/components/ic-data-row/ic-data-row.d.ts +1 -6
  300. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +2 -2
  301. package/dist/types/components/ic-menu/ic-menu.d.ts +2 -2
  302. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +1 -1
  303. package/dist/types/components/ic-select/ic-select.d.ts +12 -3
  304. package/dist/types/components/ic-toggle-button/ic-toggle-button.d.ts +1 -0
  305. package/dist/types/components/ic-toggle-button-group/ic-toggle-button-group.d.ts +68 -0
  306. package/dist/types/components/ic-toggle-button-group/ic-toggle-button-group.types.d.ts +7 -0
  307. package/dist/types/components.d.ts +144 -12
  308. package/dist/types/utils/helpers.d.ts +2 -1
  309. package/dist/types/utils/types.d.ts +2 -0
  310. package/hydrate/index.js +294 -86
  311. package/package.json +3 -3
  312. package/vscode-data.json +121 -2
  313. package/dist/cjs/helpers-81e0057b.js.map +0 -1
  314. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js +0 -11
  315. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +0 -1
  316. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js +0 -34
  317. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +0 -1
  318. package/dist/core/p-0df94b9d.entry.js.map +0 -1
  319. package/dist/core/p-42f5f86d.entry.js.map +0 -1
  320. package/dist/core/p-4421203e.entry.js.map +0 -1
  321. package/dist/core/p-50df74fb.entry.js.map +0 -1
  322. package/dist/core/p-56c41889.entry.js +0 -2
  323. package/dist/core/p-56c41889.entry.js.map +0 -1
  324. package/dist/core/p-573322c6.entry.js +0 -2
  325. package/dist/core/p-573322c6.entry.js.map +0 -1
  326. package/dist/core/p-584f15f9.entry.js.map +0 -1
  327. package/dist/core/p-8b9d5e1f.entry.js.map +0 -1
  328. package/dist/core/p-8c0f0a88.entry.js.map +0 -1
  329. package/dist/core/p-9d66dd4c.entry.js.map +0 -1
  330. package/dist/core/p-a741d16f.entry.js +0 -2
  331. package/dist/core/p-a741d16f.entry.js.map +0 -1
  332. package/dist/core/p-b34eb829.js +0 -2
  333. package/dist/core/p-b34eb829.js.map +0 -1
  334. package/dist/core/p-b7a2e604.entry.js.map +0 -1
  335. package/dist/esm/helpers-5c2846f4.js.map +0 -1
  336. package/dist/types/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.d.ts +0 -1
  337. /package/dist/core/{p-c5e71983.entry.js.map → p-0038a8fd.entry.js.map} +0 -0
  338. /package/dist/core/{p-dce01eea.entry.js.map → p-04506779.entry.js.map} +0 -0
  339. /package/dist/core/{p-2fbb52cd.entry.js.map → p-123b9306.entry.js.map} +0 -0
  340. /package/dist/core/{p-77a9c4fd.entry.js.map → p-1ce0d16e.entry.js.map} +0 -0
  341. /package/dist/core/{p-9c835bd7.entry.js.map → p-1d352487.entry.js.map} +0 -0
  342. /package/dist/core/{p-7ef4f806.entry.js.map → p-210412e4.entry.js.map} +0 -0
  343. /package/dist/core/{p-596c702b.entry.js.map → p-22a682e8.entry.js.map} +0 -0
  344. /package/dist/core/{p-898a35c5.entry.js.map → p-296b7d74.entry.js.map} +0 -0
  345. /package/dist/core/{p-45fb7128.entry.js.map → p-2f462ec5.entry.js.map} +0 -0
  346. /package/dist/core/{p-85601b9f.entry.js.map → p-35b8923f.entry.js.map} +0 -0
  347. /package/dist/core/{p-5bbbb507.entry.js.map → p-4641518f.entry.js.map} +0 -0
  348. /package/dist/core/{p-911592a7.entry.js.map → p-46ecc4c5.entry.js.map} +0 -0
  349. /package/dist/core/{p-8c55b011.entry.js.map → p-47a9dca9.entry.js.map} +0 -0
  350. /package/dist/core/{p-dae0cfd0.entry.js.map → p-4ce5abd7.entry.js.map} +0 -0
  351. /package/dist/core/{p-5bce919a.entry.js.map → p-5603eec3.entry.js.map} +0 -0
  352. /package/dist/core/{p-daf7e227.entry.js.map → p-64705a03.entry.js.map} +0 -0
  353. /package/dist/core/{p-bfbf4c5b.entry.js.map → p-6a9ddb8a.entry.js.map} +0 -0
  354. /package/dist/core/{p-d3059083.entry.js.map → p-7606c930.entry.js.map} +0 -0
  355. /package/dist/core/{p-231a7230.entry.js.map → p-76ee6107.entry.js.map} +0 -0
  356. /package/dist/core/{p-77b56204.entry.js.map → p-7b0397ea.entry.js.map} +0 -0
  357. /package/dist/core/{p-e8d77f95.entry.js.map → p-80c3424f.entry.js.map} +0 -0
  358. /package/dist/core/{p-3784f352.entry.js.map → p-8aa9aa25.entry.js.map} +0 -0
  359. /package/dist/core/{p-7384a191.entry.js.map → p-91768ddf.entry.js.map} +0 -0
  360. /package/dist/core/{p-10448c8d.entry.js.map → p-95d6f3ed.entry.js.map} +0 -0
  361. /package/dist/core/{p-4ece659b.entry.js.map → p-9c18f048.entry.js.map} +0 -0
  362. /package/dist/core/{p-881be3d5.entry.js.map → p-a4e7d123.entry.js.map} +0 -0
  363. /package/dist/core/{p-c0e003dc.entry.js.map → p-a98f57cf.entry.js.map} +0 -0
  364. /package/dist/core/{p-2db45025.entry.js.map → p-a9e1966f.entry.js.map} +0 -0
  365. /package/dist/core/{p-7a62bb2f.entry.js.map → p-aa878a3c.entry.js.map} +0 -0
  366. /package/dist/core/{p-4cf909ad.entry.js.map → p-b781b691.entry.js.map} +0 -0
  367. /package/dist/core/{p-792d194d.entry.js.map → p-b98ce745.entry.js.map} +0 -0
  368. /package/dist/core/{p-89a4057e.entry.js.map → p-c2789113.entry.js.map} +0 -0
  369. /package/dist/core/{p-6724e9fd.entry.js.map → p-c7c2aa3c.entry.js.map} +0 -0
  370. /package/dist/core/{p-d01d69a3.entry.js.map → p-d319ddce.entry.js.map} +0 -0
  371. /package/dist/core/{p-5a243837.entry.js.map → p-d5f721ca.entry.js.map} +0 -0
  372. /package/dist/core/{p-83f58174.entry.js.map → p-d9329191.entry.js.map} +0 -0
  373. /package/dist/core/{p-b723f883.entry.js.map → p-e4863c93.entry.js.map} +0 -0
  374. /package/dist/core/{p-87933302.entry.js.map → p-e68e31ec.entry.js.map} +0 -0
  375. /package/dist/core/{p-263da6f8.entry.js.map → p-fbcb77a3.entry.js.map} +0 -0
  376. /package/dist/core/{p-c73081df.entry.js.map → p-fce3e1aa.entry.js.map} +0 -0
  377. /package/dist/core/{p-eadb62d5.entry.js.map → p-fea1d095.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
 
@@ -931,10 +984,149 @@ div.right-icon {
931
984
  padding-right: var(--ic-space-xs);
932
985
  }
933
986
 
987
+ /** Slotted router item **/
988
+ slot[name="router-item"]::slotted(a) {
989
+ pointer-events: all;
990
+ }
991
+
992
+ ::slotted(a) {
993
+ font-size: 0.875rem !important;
994
+ border: none !important;
995
+ vertical-align: middle !important;
996
+ }
997
+
998
+ :host(.white-background) ::slotted(a) {
999
+ background-color: var(--ic-architectural-white) !important;
1000
+ }
1001
+
1002
+ :host(.button-variant-primary) ::slotted(a) {
1003
+ background-color: var(--button-default) !important;
1004
+ }
1005
+
1006
+ :host(.button-variant-primary) ::slotted(a:hover:not(:focus)),
1007
+ :host(.button-variant-primary) ::slotted(a:hover:focus) {
1008
+ background-color: var(--button-default-hover) !important;
1009
+ }
1010
+
1011
+ :host(.button-variant-primary) ::slotted(a:active:not(:focus)),
1012
+ :host(.button-variant-primary) ::slotted(a:active),
1013
+ :host(.button-variant-primary) ::sloted(a:active:focus) {
1014
+ background-color: var(--button-default-active) !important;
1015
+ }
1016
+
1017
+ :host(.button-variant-primary.disabled) ::slotted(a),
1018
+ :host(.button-variant-destructive.disabled) ::slotted(a) {
1019
+ background: var(--ic-architectural-200) !important;
1020
+ }
1021
+
1022
+ :host(.button-variant-primary.light.disabled) ::slotted(a) {
1023
+ background: var(--ic-architectural-600) !important;
1024
+ }
1025
+
1026
+ :host(.button-variant-secondary) ::slotted(a) {
1027
+ border: var(--ic-border-width) solid var(--button-default) !important;
1028
+ }
1029
+
1030
+ :host(.button-variant-secondary) ::slotted(a:hover:not(:focus)),
1031
+ :host(.button-variant-secondary) ::slotted(a:hover:focus) {
1032
+ background-color: var(--button-default-background-hover) !important;
1033
+ border-color: var(--button-default-hover) !important;
1034
+ }
1035
+
1036
+ :host(.button-variant-secondary) ::slotted(a:active:not(:focus)),
1037
+ :host(.button-variant-secondary) ::slotted(a:active:focus),
1038
+ :host(.button-variant-secondary) ::slotted(a:active) {
1039
+ border-color: var(--button-default-active) !important;
1040
+ background-color: var(--button-default-background-active) !important;
1041
+ }
1042
+
1043
+ :host(.button-variant-secondary.disabled) ::slotted(a),
1044
+ :host(.button-variant-secondary.disabled) ::slotted(a:hover),
1045
+ :host(.button-variant-secondary.disabled) ::slotted(a:active),
1046
+ :host(.button-variant-tertiary.disabled) ::slotted(a),
1047
+ :host(.button-variant-tertiary.disabled) ::slotted(a:hover),
1048
+ :host(.button-variant-tertiary.disabled) ::slotted(a:active) {
1049
+ border-color: var(--ic-architectural-300) !important;
1050
+ background: none !important;
1051
+ }
1052
+
1053
+ :host(.button-variant-secondary.light.disabled) ::slotted(a),
1054
+ :host(.button-variant-secondary.light.disabled) ::slotted(a:hover),
1055
+ :host(.button-variant-secondary.light.disabled) ::slotted(a:active),
1056
+ :host(.button-variant-tertiary.light.disabled) ::slotted(a),
1057
+ :host(.button-variant-tertiary.light.disabled) ::slotted(a:hover),
1058
+ :host(.button-variant-tertiary.light.disabled) ::slotted(a:active) {
1059
+ border-color: var(--ic-architectural-500) !important;
1060
+ background: none !important;
1061
+ }
1062
+
1063
+ :host(.button-variant-tertiary) ::slotted(a:hover:not(:focus)),
1064
+ :host(.button-variant-tertiary) ::slotted(a:hover:focus),
1065
+ :host(.button-variant-icon) ::slotted(a:hover:not(:focus)),
1066
+ :host(.button-variant-icon) ::slotted(a:hover:focus) {
1067
+ background-color: var(--button-default-background-hover) !important;
1068
+ }
1069
+
1070
+ :host(.button-variant-tertiary) ::slotted(a:active:not(:focus)),
1071
+ :host(.button-variant-tertiary) ::slotted(a:active:focus),
1072
+ :host(.button-variant-tertiary) ::slotted(a:active),
1073
+ :host(.button-variant-icon) ::slotted(a:active:not(:focus)) {
1074
+ background-color: var(--button-default-background-active) !important;
1075
+ }
1076
+
1077
+ :host(.button-variant-icon.disabled) ::slotted(a),
1078
+ :host(.button-variant-icon.disabled) ::slotted(a:hover),
1079
+ :host(.button-variant-icon.disabled) ::slotted(a:active) {
1080
+ background: none !important;
1081
+ }
1082
+
1083
+ :host(.button-variant-destructive) ::slotted(a) {
1084
+ background-color: var(--ic-action-destructive) !important;
1085
+ }
1086
+
1087
+ :host(.button-variant-destructive) ::slotted(a:hover:not(:focus)),
1088
+ :host(.button-variant-destructive) ::slotted(a:hover:focus) {
1089
+ background-color: var(--ic-action-destructive-hover) !important;
1090
+ }
1091
+
1092
+ :host(.button-variant-destructive) ::slotted(a:active:not(:focus)),
1093
+ :host(.button-variant-destructive) ::slotted(a:active:focus) {
1094
+ background-color: var(--ic-action-destructive-active) !important;
1095
+ }
1096
+
1097
+ :host(.button-size-default) ::slotted(a) {
1098
+ height: var(--height, 2.5rem) !important;
1099
+ padding: var(--ic-space-xs) var(--ic-space-md) !important;
1100
+ }
1101
+
1102
+ :host(.button-size-small) ::slotted(a) {
1103
+ height: var(--height, var(--ic-space-xl)) !important;
1104
+ padding: var(--ic-space-xxs) var(--ic-space-md) !important;
1105
+ }
1106
+
1107
+ :host(.button-size-large) ::slotted(a) {
1108
+ height: var(--height, var(--ic-space-xxl)) !important;
1109
+ padding: var(--ic-space-sm) var(--ic-space-md) !important;
1110
+ }
1111
+
1112
+ :host(.button-size-default.button-variant-icon) ::slotted(a) {
1113
+ height: var(--height, var(--ic-space-xl)) !important;
1114
+ padding: 0.375rem !important;
1115
+ }
1116
+
1117
+ :host(.button-size-small.button-variant-icon) ::slotted(a) {
1118
+ padding: var(--ic-space-xxs) !important;
1119
+ }
1120
+
1121
+ :host(.button-size-large.button-variant-icon) ::slotted(a) {
1122
+ padding: var(--ic-space-xs) !important;
1123
+ }
1124
+
934
1125
  /** High Contrast **/
935
1126
  @media (forced-colors: active) {
936
- .button {
937
- border: 0.125rem solid transparent;
1127
+ .button,
1128
+ ::slotted(a) {
1129
+ border: 0.125rem solid transparent !important;
938
1130
  }
939
1131
  }
940
1132
 
@@ -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
  }
@@ -201,14 +203,16 @@ export class Button {
201
203
  (_a = this.setViewBox()) === null || _a === void 0 ? void 0 : _a.setAttribute("viewBox", "0 0 24 24");
202
204
  }
203
205
  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;
206
+ if (!this.hasRouterSlot()) {
207
+ if (this.fileUpload) {
208
+ this.openFileExplorer();
209
+ }
210
+ if (this.disabled || this.loading) {
211
+ event.stopImmediatePropagation();
212
+ }
213
+ if (this.dropdown) {
214
+ this.dropdownExpanded = !this.dropdownExpanded;
215
+ }
212
216
  }
213
217
  }
214
218
  themeChangeHandler(ev) {
@@ -239,6 +243,13 @@ export class Button {
239
243
  const iconEl = this.el.querySelector(`[slot="right-icon"]`);
240
244
  return iconEl !== null;
241
245
  }
246
+ hasRouterSlot() {
247
+ this.routerSlot = this.el.querySelector('[slot="router-item"]');
248
+ if (this.routerSlot) {
249
+ this.routerSlot.ariaLabel = this.routerSlot.textContent;
250
+ }
251
+ return !!this.routerSlot;
252
+ }
242
253
  handleHiddenFormButtonClick(form) {
243
254
  const hiddenFormButton = document.createElement("button");
244
255
  hiddenFormButton.setAttribute("type", this.el.type);
@@ -291,7 +302,7 @@ export class Button {
291
302
  describedBy = this.describedById;
292
303
  }
293
304
  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() &&
305
+ 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
306
  !this.hasLeftIconSlot() &&
296
307
  !this.hasRightIconSlot() &&
297
308
  !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 +334,8 @@ export class Button {
323
334
  ["white-background"]: this.variant === "secondary" &&
324
335
  !this.transparentBackground &&
325
336
  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))));
337
+ }, 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 &&
338
+ (this.hasRouterSlot() ? (h("slot", { name: "router-item" })) : (h(ButtonContent, null))), this.describedByContent && (h("span", { id: describedBy, class: "ic-button-describedby" }, this.describedByContent))));
327
339
  }
328
340
  static get is() { return "ic-button"; }
329
341
  static get encapsulation() { return "shadow"; }