@ukic/web-components 2.12.0 → 2.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (446) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-56e80cc9.js → helpers-d52cddc1.js} +45 -4
  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 +2 -2
  8. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  9. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  10. package/dist/cjs/ic-badge.cjs.entry.js +4 -3
  11. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
  13. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  14. package/dist/cjs/ic-button_3.cjs.entry.js +34 -10
  15. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-card.cjs.entry.js +7 -7
  17. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  18. package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
  19. package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
  20. package/dist/cjs/ic-chip.cjs.entry.js +1 -1
  21. package/dist/cjs/ic-data-entity.cjs.entry.js +3 -6
  22. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-data-row.cjs.entry.js +21 -35
  24. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-dialog.cjs.entry.js +4 -2
  26. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-empty-state.cjs.entry.js +1 -1
  29. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  30. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  31. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  32. package/dist/cjs/ic-hero.cjs.entry.js +1 -1
  33. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
  34. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +12 -10
  35. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  36. package/dist/cjs/ic-input-label_2.cjs.entry.js +1 -1
  37. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  38. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  39. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  40. package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
  41. package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
  42. package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
  43. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  44. package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
  45. package/dist/cjs/ic-pagination-item.cjs.entry.js +1 -1
  46. package/dist/cjs/ic-pagination.cjs.entry.js +1 -1
  47. package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
  48. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
  50. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
  52. package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
  53. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ic-select.cjs.entry.js +21 -13
  55. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -5
  57. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
  59. package/dist/cjs/ic-step.cjs.entry.js +1 -1
  60. package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
  61. package/dist/cjs/ic-switch.cjs.entry.js +1 -1
  62. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  63. package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
  64. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  65. package/dist/cjs/ic-text-field.cjs.entry.js +1 -1
  66. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  67. package/dist/cjs/ic-toast.cjs.entry.js +1 -1
  68. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +184 -0
  69. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -0
  70. package/dist/cjs/ic-toggle-button.cjs.entry.js +6 -3
  71. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  72. package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
  73. package/dist/cjs/ic-typography.cjs.entry.js +1 -1
  74. package/dist/cjs/index-f982899d.js +4 -0
  75. package/dist/cjs/loader.cjs.js +1 -1
  76. package/dist/cjs/types-dc22e301.js.map +1 -1
  77. package/dist/collection/collection-manifest.json +2 -1
  78. package/dist/collection/components/ic-accordion-group/ic-accordion-group.js +24 -2
  79. package/dist/collection/components/ic-accordion-group/ic-accordion-group.js.map +1 -1
  80. package/dist/collection/components/ic-alert/ic-alert.js +1 -1
  81. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  82. package/dist/collection/components/ic-badge/ic-badge.js +3 -2
  83. package/dist/collection/components/ic-badge/ic-badge.js.map +1 -1
  84. package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js +7 -0
  85. package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js.map +1 -1
  86. package/dist/collection/components/ic-button/ic-button.css +227 -35
  87. package/dist/collection/components/ic-button/ic-button.js +144 -8
  88. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  89. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +6 -5
  90. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -1
  91. package/dist/collection/components/ic-card/ic-card.css +44 -0
  92. package/dist/collection/components/ic-card/ic-card.js +8 -8
  93. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  94. package/dist/collection/components/ic-data-entity/ic-data-entity.js +3 -6
  95. package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +1 -1
  96. package/dist/collection/components/ic-data-row/ic-data-row.js +20 -34
  97. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
  98. package/dist/collection/components/ic-dialog/ic-dialog.css +1 -1
  99. package/dist/collection/components/ic-dialog/ic-dialog.js +20 -0
  100. package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
  101. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +8 -0
  102. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -1
  103. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +4 -0
  104. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +9 -8
  105. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
  106. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +8 -8
  107. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -1
  108. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +7 -0
  109. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -1
  110. package/dist/collection/components/ic-menu/ic-menu.css +13 -7
  111. package/dist/collection/components/ic-menu/ic-menu.js +8 -7
  112. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  113. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +1 -1
  114. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
  115. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  116. package/dist/collection/components/ic-search-bar/ic-search-bar.js +1 -1
  117. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  118. package/dist/collection/components/ic-select/ic-select.js +54 -17
  119. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  120. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +23 -1
  121. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -1
  122. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +0 -4
  123. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  124. package/dist/collection/components/ic-toggle-button/ic-toggle-button.css +62 -2
  125. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +4 -1
  126. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js.map +1 -1
  127. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.css +516 -0
  128. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +431 -0
  129. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js.map +1 -0
  130. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.types.js +2 -0
  131. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.types.js.map +1 -0
  132. package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js +150 -0
  133. package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js.map +1 -0
  134. package/dist/collection/components/ic-tooltip/ic-tooltip.js +1 -1
  135. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  136. package/dist/collection/utils/helpers.js +46 -3
  137. package/dist/collection/utils/helpers.js.map +1 -1
  138. package/dist/collection/utils/types.js.map +1 -1
  139. package/dist/components/helpers.js +44 -4
  140. package/dist/components/helpers.js.map +1 -1
  141. package/dist/components/ic-accordion-group.js +7 -2
  142. package/dist/components/ic-accordion-group.js.map +1 -1
  143. package/dist/components/ic-alert2.js +1 -1
  144. package/dist/components/ic-alert2.js.map +1 -1
  145. package/dist/components/ic-back-to-top.js +1 -1
  146. package/dist/components/ic-badge.js +4 -3
  147. package/dist/components/ic-badge.js.map +1 -1
  148. package/dist/components/ic-breadcrumb-group.js +1 -1
  149. package/dist/components/ic-breadcrumb2.js +1 -1
  150. package/dist/components/ic-button2.js +38 -9
  151. package/dist/components/ic-button2.js.map +1 -1
  152. package/dist/components/ic-card.js +8 -20
  153. package/dist/components/ic-card.js.map +1 -1
  154. package/dist/components/ic-checkbox-group.js +1 -1
  155. package/dist/components/ic-checkbox.js +1 -1
  156. package/dist/components/ic-chip.js +1 -1
  157. package/dist/components/ic-data-entity.js +3 -6
  158. package/dist/components/ic-data-entity.js.map +1 -1
  159. package/dist/components/ic-data-row.js +21 -35
  160. package/dist/components/ic-data-row.js.map +1 -1
  161. package/dist/components/ic-dialog.js +5 -2
  162. package/dist/components/ic-dialog.js.map +1 -1
  163. package/dist/components/ic-divider2.js +1 -1
  164. package/dist/components/ic-footer-link-group.js +1 -1
  165. package/dist/components/ic-footer-link.js +1 -1
  166. package/dist/components/ic-footer.js +1 -1
  167. package/dist/components/ic-hero.js +1 -1
  168. package/dist/components/ic-horizontal-scroll2.js +1 -1
  169. package/dist/components/ic-input-component-container2.js +7 -6
  170. package/dist/components/ic-input-component-container2.js.map +1 -1
  171. package/dist/components/ic-input-label2.js +1 -1
  172. package/dist/components/ic-input-validation2.js +1 -1
  173. package/dist/components/ic-loading-indicator2.js +1 -1
  174. package/dist/components/ic-menu-group.js +1 -1
  175. package/dist/components/ic-menu-item2.js +1 -1
  176. package/dist/components/ic-menu2.js +5 -4
  177. package/dist/components/ic-menu2.js.map +1 -1
  178. package/dist/components/ic-navigation-button.js +1 -1
  179. package/dist/components/ic-navigation-group.js +1 -1
  180. package/dist/components/ic-navigation-item.js +1 -1
  181. package/dist/components/ic-navigation-menu2.js +1 -1
  182. package/dist/components/ic-page-header.js +1 -1
  183. package/dist/components/ic-pagination-item2.js +1 -1
  184. package/dist/components/ic-pagination.js +1 -1
  185. package/dist/components/ic-popover-menu.js +2 -2
  186. package/dist/components/ic-popover-menu.js.map +1 -1
  187. package/dist/components/ic-radio-group.js +1 -1
  188. package/dist/components/ic-radio-group.js.map +1 -1
  189. package/dist/components/ic-radio-option.js +1 -1
  190. package/dist/components/ic-search-bar.js +1 -1
  191. package/dist/components/ic-search-bar.js.map +1 -1
  192. package/dist/components/ic-select.js +23 -14
  193. package/dist/components/ic-select.js.map +1 -1
  194. package/dist/components/ic-side-navigation.js +1 -5
  195. package/dist/components/ic-side-navigation.js.map +1 -1
  196. package/dist/components/ic-step.js +1 -1
  197. package/dist/components/ic-stepper.js +1 -1
  198. package/dist/components/ic-switch.js +1 -1
  199. package/dist/components/ic-tab-panel.js +1 -1
  200. package/dist/components/ic-tab.js +1 -1
  201. package/dist/components/ic-text-field2.js +1 -1
  202. package/dist/components/ic-theme.js +1 -1
  203. package/dist/components/ic-toast.js +1 -1
  204. package/dist/components/ic-toggle-button-group.d.ts +11 -0
  205. package/dist/components/ic-toggle-button-group.js +210 -0
  206. package/dist/components/ic-toggle-button-group.js.map +1 -0
  207. package/dist/components/ic-toggle-button.js +6 -3
  208. package/dist/components/ic-toggle-button.js.map +1 -1
  209. package/dist/components/ic-tooltip2.js +1 -1
  210. package/dist/components/ic-tooltip2.js.map +1 -1
  211. package/dist/components/ic-top-navigation.js +1 -1
  212. package/dist/components/types.js.map +1 -1
  213. package/dist/core/core.css +1 -1
  214. package/dist/core/core.esm.js +1 -1
  215. package/dist/core/core.esm.js.map +1 -1
  216. package/dist/core/{p-19c28c65.entry.js → p-0038a8fd.entry.js} +2 -2
  217. package/dist/core/{p-19c28c65.entry.js.map → p-0038a8fd.entry.js.map} +1 -1
  218. package/dist/core/{p-de87d585.entry.js → p-04506779.entry.js} +2 -2
  219. package/dist/core/p-0d0070b3.entry.js +2 -0
  220. package/dist/core/p-0d0070b3.entry.js.map +1 -0
  221. package/dist/core/{p-c786d62f.entry.js → p-0e2628eb.entry.js} +2 -2
  222. package/dist/core/p-0e2628eb.entry.js.map +1 -0
  223. package/dist/core/{p-59c4bc0a.entry.js → p-1183031f.entry.js} +2 -2
  224. package/dist/core/p-1183031f.entry.js.map +1 -0
  225. package/dist/core/{p-5e6ad4a5.entry.js → p-123b9306.entry.js} +2 -2
  226. package/dist/core/{p-4421203e.entry.js → p-166861e8.entry.js} +2 -2
  227. package/dist/core/p-166861e8.entry.js.map +1 -0
  228. package/dist/core/{p-8be3ec3d.entry.js → p-1ce0d16e.entry.js} +2 -2
  229. package/dist/core/{p-9184e385.entry.js → p-1d352487.entry.js} +2 -2
  230. package/dist/core/{p-c75d6022.entry.js → p-210412e4.entry.js} +2 -2
  231. package/dist/core/{p-42c0e318.entry.js → p-22a682e8.entry.js} +2 -2
  232. package/dist/core/{p-357eaebe.entry.js → p-2680b736.entry.js} +2 -2
  233. package/dist/core/p-2680b736.entry.js.map +1 -0
  234. package/dist/core/p-26b7b18f.js.map +1 -1
  235. package/dist/core/{p-525323ab.entry.js → p-296b7d74.entry.js} +2 -2
  236. package/dist/core/{p-26334b3a.entry.js → p-2f462ec5.entry.js} +2 -2
  237. package/dist/core/{p-8c2322a9.entry.js → p-35b8923f.entry.js} +2 -2
  238. package/dist/core/{p-003c44bd.entry.js → p-4641518f.entry.js} +2 -2
  239. package/dist/core/{p-8a66cab4.entry.js → p-46ecc4c5.entry.js} +2 -2
  240. package/dist/core/{p-32a480d5.entry.js → p-47a9dca9.entry.js} +2 -2
  241. package/dist/core/{p-32a480d5.entry.js.map → p-47a9dca9.entry.js.map} +1 -1
  242. package/dist/core/p-47d39ce7.entry.js +2 -0
  243. package/dist/core/p-47d39ce7.entry.js.map +1 -0
  244. package/dist/core/{p-38bf02aa.entry.js → p-4ce5abd7.entry.js} +2 -2
  245. package/dist/core/p-53f2fc84.js +2 -0
  246. package/dist/core/p-53f2fc84.js.map +1 -0
  247. package/dist/core/{p-b74f92b6.entry.js → p-5603eec3.entry.js} +2 -2
  248. package/dist/core/{p-d3e54a29.entry.js → p-5e729e99.entry.js} +2 -2
  249. package/dist/core/p-5e729e99.entry.js.map +1 -0
  250. package/dist/core/{p-bf93455b.entry.js → p-64705a03.entry.js} +2 -2
  251. package/dist/core/{p-783c2ced.entry.js → p-6a9ddb8a.entry.js} +2 -2
  252. package/dist/core/p-6fae929c.entry.js +2 -0
  253. package/dist/core/p-6fae929c.entry.js.map +1 -0
  254. package/dist/core/{p-b7a2e604.entry.js → p-7438ab1f.entry.js} +2 -2
  255. package/dist/core/p-7438ab1f.entry.js.map +1 -0
  256. package/dist/core/{p-2e7f22af.entry.js → p-7606c930.entry.js} +2 -2
  257. package/dist/core/p-76ee6107.entry.js +2 -0
  258. package/dist/core/p-76ee6107.entry.js.map +1 -0
  259. package/dist/core/{p-3f07c471.entry.js → p-7b0397ea.entry.js} +2 -2
  260. package/dist/core/{p-9808f7c9.entry.js → p-80c3424f.entry.js} +2 -2
  261. package/dist/core/{p-3c752bca.entry.js → p-8aa9aa25.entry.js} +2 -2
  262. package/dist/core/p-916f4265.entry.js +2 -0
  263. package/dist/core/p-916f4265.entry.js.map +1 -0
  264. package/dist/core/{p-8f97463f.entry.js → p-91768ddf.entry.js} +2 -2
  265. package/dist/core/{p-171e25c9.entry.js → p-95d6f3ed.entry.js} +2 -2
  266. package/dist/core/{p-0a0b748c.entry.js → p-9c18f048.entry.js} +2 -2
  267. package/dist/core/{p-c7a08024.entry.js → p-a4e7d123.entry.js} +2 -2
  268. package/dist/core/{p-049bf5e3.entry.js → p-a98f57cf.entry.js} +2 -2
  269. package/dist/core/{p-4f8b7aa3.entry.js → p-a9e1966f.entry.js} +2 -2
  270. package/dist/core/{p-bb1a0018.entry.js → p-aa878a3c.entry.js} +2 -2
  271. package/dist/core/{p-7c724f2c.entry.js → p-b781b691.entry.js} +2 -2
  272. package/dist/core/{p-6bbe0550.entry.js → p-b98ce745.entry.js} +2 -2
  273. package/dist/core/{p-e4d827d4.entry.js → p-bc7f99b8.entry.js} +2 -2
  274. package/dist/core/p-bc7f99b8.entry.js.map +1 -0
  275. package/dist/core/{p-23980b58.entry.js → p-c053230d.entry.js} +2 -2
  276. package/dist/core/p-c053230d.entry.js.map +1 -0
  277. package/dist/core/{p-0d2eb765.entry.js → p-c2789113.entry.js} +2 -2
  278. package/dist/core/{p-330e1439.entry.js → p-c7c2aa3c.entry.js} +2 -2
  279. package/dist/core/{p-0713230f.entry.js → p-d319ddce.entry.js} +2 -2
  280. package/dist/core/{p-1e809ecd.entry.js → p-d5f721ca.entry.js} +2 -2
  281. package/dist/core/{p-0ee13da0.entry.js → p-d9329191.entry.js} +2 -2
  282. package/dist/core/{p-bb41b637.entry.js → p-dbbea7fa.entry.js} +2 -2
  283. package/dist/core/p-dbbea7fa.entry.js.map +1 -0
  284. package/dist/core/{p-4f1792a6.entry.js → p-e4863c93.entry.js} +2 -2
  285. package/dist/core/{p-29b812c0.entry.js → p-e68e31ec.entry.js} +2 -2
  286. package/dist/core/{p-eb2d06c1.entry.js → p-fbcb77a3.entry.js} +2 -2
  287. package/dist/core/{p-9ee138e7.entry.js → p-fce3e1aa.entry.js} +2 -2
  288. package/dist/core/{p-8146336b.entry.js → p-fea1d095.entry.js} +2 -2
  289. package/dist/esm/core.js +1 -1
  290. package/dist/esm/{helpers-821dcdf2.js → helpers-f1ca9908.js} +45 -5
  291. package/dist/esm/helpers-f1ca9908.js.map +1 -0
  292. package/dist/esm/ic-accordion-group.entry.js +6 -2
  293. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  294. package/dist/esm/ic-accordion.entry.js +1 -1
  295. package/dist/esm/ic-alert.entry.js +2 -2
  296. package/dist/esm/ic-alert.entry.js.map +1 -1
  297. package/dist/esm/ic-back-to-top.entry.js +1 -1
  298. package/dist/esm/ic-badge.entry.js +4 -3
  299. package/dist/esm/ic-badge.entry.js.map +1 -1
  300. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  301. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  302. package/dist/esm/ic-button_3.entry.js +34 -10
  303. package/dist/esm/ic-button_3.entry.js.map +1 -1
  304. package/dist/esm/ic-card.entry.js +7 -7
  305. package/dist/esm/ic-card.entry.js.map +1 -1
  306. package/dist/esm/ic-checkbox-group.entry.js +1 -1
  307. package/dist/esm/ic-checkbox.entry.js +1 -1
  308. package/dist/esm/ic-chip.entry.js +1 -1
  309. package/dist/esm/ic-data-entity.entry.js +3 -6
  310. package/dist/esm/ic-data-entity.entry.js.map +1 -1
  311. package/dist/esm/ic-data-row.entry.js +21 -35
  312. package/dist/esm/ic-data-row.entry.js.map +1 -1
  313. package/dist/esm/ic-dialog.entry.js +4 -2
  314. package/dist/esm/ic-dialog.entry.js.map +1 -1
  315. package/dist/esm/ic-divider.entry.js +1 -1
  316. package/dist/esm/ic-empty-state.entry.js +1 -1
  317. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  318. package/dist/esm/ic-footer-link.entry.js +1 -1
  319. package/dist/esm/ic-footer.entry.js +1 -1
  320. package/dist/esm/ic-hero.entry.js +1 -1
  321. package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
  322. package/dist/esm/ic-input-component-container_3.entry.js +12 -10
  323. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  324. package/dist/esm/ic-input-label_2.entry.js +1 -1
  325. package/dist/esm/ic-link.entry.js +1 -1
  326. package/dist/esm/ic-menu-group.entry.js +1 -1
  327. package/dist/esm/ic-menu-item.entry.js +1 -1
  328. package/dist/esm/ic-navigation-button.entry.js +1 -1
  329. package/dist/esm/ic-navigation-group.entry.js +1 -1
  330. package/dist/esm/ic-navigation-item.entry.js +1 -1
  331. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  332. package/dist/esm/ic-page-header.entry.js +1 -1
  333. package/dist/esm/ic-pagination-item.entry.js +1 -1
  334. package/dist/esm/ic-pagination.entry.js +1 -1
  335. package/dist/esm/ic-popover-menu.entry.js +1 -1
  336. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  337. package/dist/esm/ic-radio-group.entry.js +1 -1
  338. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  339. package/dist/esm/ic-radio-option.entry.js +1 -1
  340. package/dist/esm/ic-search-bar.entry.js +1 -1
  341. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  342. package/dist/esm/ic-select.entry.js +21 -13
  343. package/dist/esm/ic-select.entry.js.map +1 -1
  344. package/dist/esm/ic-side-navigation.entry.js +1 -5
  345. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  346. package/dist/esm/ic-status-tag.entry.js +1 -1
  347. package/dist/esm/ic-step.entry.js +1 -1
  348. package/dist/esm/ic-stepper.entry.js +1 -1
  349. package/dist/esm/ic-switch.entry.js +1 -1
  350. package/dist/esm/ic-tab-group.entry.js +1 -1
  351. package/dist/esm/ic-tab-panel.entry.js +1 -1
  352. package/dist/esm/ic-tab.entry.js +1 -1
  353. package/dist/esm/ic-text-field.entry.js +1 -1
  354. package/dist/esm/ic-theme.entry.js +1 -1
  355. package/dist/esm/ic-toast.entry.js +1 -1
  356. package/dist/esm/ic-toggle-button-group.entry.js +180 -0
  357. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -0
  358. package/dist/esm/ic-toggle-button.entry.js +6 -3
  359. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  360. package/dist/esm/ic-top-navigation.entry.js +1 -1
  361. package/dist/esm/ic-typography.entry.js +1 -1
  362. package/dist/esm/index-d1d2c456.js +4 -0
  363. package/dist/esm/loader.js +1 -1
  364. package/dist/esm/types-6f6b41a5.js.map +1 -1
  365. package/dist/types/components/ic-accordion-group/ic-accordion-group.d.ts +5 -0
  366. package/dist/types/components/ic-button/ic-button.d.ts +28 -0
  367. package/dist/types/components/ic-card/ic-card.d.ts +2 -2
  368. package/dist/types/components/ic-data-row/ic-data-row.d.ts +1 -6
  369. package/dist/types/components/ic-dialog/ic-dialog.d.ts +4 -0
  370. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +2 -2
  371. package/dist/types/components/ic-menu/ic-menu.d.ts +2 -2
  372. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +1 -1
  373. package/dist/types/components/ic-select/ic-select.d.ts +12 -3
  374. package/dist/types/components/ic-toggle-button/ic-toggle-button.d.ts +1 -0
  375. package/dist/types/components/ic-toggle-button-group/ic-toggle-button-group.d.ts +68 -0
  376. package/dist/types/components/ic-toggle-button-group/ic-toggle-button-group.types.d.ts +7 -0
  377. package/dist/types/components.d.ts +201 -16
  378. package/dist/types/utils/helpers.d.ts +17 -1
  379. package/dist/types/utils/types.d.ts +2 -0
  380. package/hydrate/index.js +359 -93
  381. package/package.json +5 -3
  382. package/vscode-data.json +142 -3
  383. package/dist/cjs/helpers-56e80cc9.js.map +0 -1
  384. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js +0 -11
  385. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +0 -1
  386. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js +0 -34
  387. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +0 -1
  388. package/dist/core/p-23980b58.entry.js.map +0 -1
  389. package/dist/core/p-357eaebe.entry.js.map +0 -1
  390. package/dist/core/p-3ebe5fa3.entry.js +0 -2
  391. package/dist/core/p-3ebe5fa3.entry.js.map +0 -1
  392. package/dist/core/p-4421203e.entry.js.map +0 -1
  393. package/dist/core/p-59c4bc0a.entry.js.map +0 -1
  394. package/dist/core/p-671b7cac.js +0 -2
  395. package/dist/core/p-671b7cac.js.map +0 -1
  396. package/dist/core/p-8931210a.entry.js +0 -2
  397. package/dist/core/p-8931210a.entry.js.map +0 -1
  398. package/dist/core/p-9e4c8a09.entry.js +0 -2
  399. package/dist/core/p-9e4c8a09.entry.js.map +0 -1
  400. package/dist/core/p-b7a2e604.entry.js.map +0 -1
  401. package/dist/core/p-bb41b637.entry.js.map +0 -1
  402. package/dist/core/p-c1109ec7.entry.js +0 -2
  403. package/dist/core/p-c1109ec7.entry.js.map +0 -1
  404. package/dist/core/p-c786d62f.entry.js.map +0 -1
  405. package/dist/core/p-d3e54a29.entry.js.map +0 -1
  406. package/dist/core/p-e4d827d4.entry.js.map +0 -1
  407. package/dist/esm/helpers-821dcdf2.js.map +0 -1
  408. package/dist/types/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.d.ts +0 -1
  409. /package/dist/core/{p-de87d585.entry.js.map → p-04506779.entry.js.map} +0 -0
  410. /package/dist/core/{p-5e6ad4a5.entry.js.map → p-123b9306.entry.js.map} +0 -0
  411. /package/dist/core/{p-8be3ec3d.entry.js.map → p-1ce0d16e.entry.js.map} +0 -0
  412. /package/dist/core/{p-9184e385.entry.js.map → p-1d352487.entry.js.map} +0 -0
  413. /package/dist/core/{p-c75d6022.entry.js.map → p-210412e4.entry.js.map} +0 -0
  414. /package/dist/core/{p-42c0e318.entry.js.map → p-22a682e8.entry.js.map} +0 -0
  415. /package/dist/core/{p-525323ab.entry.js.map → p-296b7d74.entry.js.map} +0 -0
  416. /package/dist/core/{p-26334b3a.entry.js.map → p-2f462ec5.entry.js.map} +0 -0
  417. /package/dist/core/{p-8c2322a9.entry.js.map → p-35b8923f.entry.js.map} +0 -0
  418. /package/dist/core/{p-003c44bd.entry.js.map → p-4641518f.entry.js.map} +0 -0
  419. /package/dist/core/{p-8a66cab4.entry.js.map → p-46ecc4c5.entry.js.map} +0 -0
  420. /package/dist/core/{p-38bf02aa.entry.js.map → p-4ce5abd7.entry.js.map} +0 -0
  421. /package/dist/core/{p-b74f92b6.entry.js.map → p-5603eec3.entry.js.map} +0 -0
  422. /package/dist/core/{p-bf93455b.entry.js.map → p-64705a03.entry.js.map} +0 -0
  423. /package/dist/core/{p-783c2ced.entry.js.map → p-6a9ddb8a.entry.js.map} +0 -0
  424. /package/dist/core/{p-2e7f22af.entry.js.map → p-7606c930.entry.js.map} +0 -0
  425. /package/dist/core/{p-3f07c471.entry.js.map → p-7b0397ea.entry.js.map} +0 -0
  426. /package/dist/core/{p-9808f7c9.entry.js.map → p-80c3424f.entry.js.map} +0 -0
  427. /package/dist/core/{p-3c752bca.entry.js.map → p-8aa9aa25.entry.js.map} +0 -0
  428. /package/dist/core/{p-8f97463f.entry.js.map → p-91768ddf.entry.js.map} +0 -0
  429. /package/dist/core/{p-171e25c9.entry.js.map → p-95d6f3ed.entry.js.map} +0 -0
  430. /package/dist/core/{p-0a0b748c.entry.js.map → p-9c18f048.entry.js.map} +0 -0
  431. /package/dist/core/{p-c7a08024.entry.js.map → p-a4e7d123.entry.js.map} +0 -0
  432. /package/dist/core/{p-049bf5e3.entry.js.map → p-a98f57cf.entry.js.map} +0 -0
  433. /package/dist/core/{p-4f8b7aa3.entry.js.map → p-a9e1966f.entry.js.map} +0 -0
  434. /package/dist/core/{p-bb1a0018.entry.js.map → p-aa878a3c.entry.js.map} +0 -0
  435. /package/dist/core/{p-7c724f2c.entry.js.map → p-b781b691.entry.js.map} +0 -0
  436. /package/dist/core/{p-6bbe0550.entry.js.map → p-b98ce745.entry.js.map} +0 -0
  437. /package/dist/core/{p-0d2eb765.entry.js.map → p-c2789113.entry.js.map} +0 -0
  438. /package/dist/core/{p-330e1439.entry.js.map → p-c7c2aa3c.entry.js.map} +0 -0
  439. /package/dist/core/{p-0713230f.entry.js.map → p-d319ddce.entry.js.map} +0 -0
  440. /package/dist/core/{p-1e809ecd.entry.js.map → p-d5f721ca.entry.js.map} +0 -0
  441. /package/dist/core/{p-0ee13da0.entry.js.map → p-d9329191.entry.js.map} +0 -0
  442. /package/dist/core/{p-4f1792a6.entry.js.map → p-e4863c93.entry.js.map} +0 -0
  443. /package/dist/core/{p-29b812c0.entry.js.map → p-e68e31ec.entry.js.map} +0 -0
  444. /package/dist/core/{p-eb2d06c1.entry.js.map → p-fbcb77a3.entry.js.map} +0 -0
  445. /package/dist/core/{p-9ee138e7.entry.js.map → p-fce3e1aa.entry.js.map} +0 -0
  446. /package/dist/core/{p-8146336b.entry.js.map → p-fea1d095.entry.js.map} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-d1d2c456.js';
2
- import { x as IC_INHERITED_ARIA, w as inheritAttributes, j as removeDisabledFalse, k as getThemeFromContext, i as isSlotUsed, d as isPropDefined, a as onComponentRequiredPropUndefined } from './helpers-821dcdf2.js';
2
+ import { x as IC_INHERITED_ARIA, T as renderFileHiddenInput, w as inheritAttributes, j as removeDisabledFalse, k as getThemeFromContext, i as isSlotUsed, d as isPropDefined, a as onComponentRequiredPropUndefined } from './helpers-f1ca9908.js';
3
3
  import { I as IcThemeForegroundEnum } from './types-6f6b41a5.js';
4
4
  import { c as createPopper } from './popper-0fbeff6d.js';
5
5
 
@@ -7,7 +7,7 @@ const arrowDropdown = `<svg width="24" height="24" viewBox="0 0 24 24" fill="non
7
7
  <path d="M7 9.5L12 14.5L17 9.5H7Z" fill="currentColor"/>
8
8
  </svg>`;
9
9
 
10
- const icButtonCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;position:relative;--button-default:var(--ic-action-default);--button-default-hover:var(--ic-action-default-hover);--button-default-active:var(--ic-action-default-active);--button-default-background-hover:var(--ic-action-default-bg-hover);--button-default-background-active:var(--ic-action-default-bg-active);--icon-width:100%;--icon-height:100%}.button{font-family:var(--ic-font-body-family);text-decoration:none;font-weight:600;font-size:0.875rem;transition:var(--ic-easing-transition-fast);border-radius:var(--ic-border-radius);min-width:var(--min-width, 6.25rem);display:inline-flex;flex-direction:row;justify-content:center;align-items:center;background:none;border:none;box-sizing:border-box;white-space:nowrap;vertical-align:middle}:host(.with-badge) .button{border-radius:0.2188rem}.button:hover{cursor:pointer}.button:focus,:host .button:focus,:host(.light) .button:focus{box-shadow:var(--ic-border-focus)}.button:focus-visible{outline:var(--ic-hc-focus-outline)}:host(.dark) .button{--button-default:var(--ic-action-dark);--button-default-hover:var(--ic-action-dark);--button-default-active:var(--ic-action-dark);--button-default-background-hover:var(--ic-action-dark-bg-hover);--button-default-background-active:var(--ic-action-dark-bg-active)}:host(.light) .button{--button-default:var(--ic-action-light);--button-default-hover:var(--ic-action-light);--button-default-active:var(--ic-action-light);--button-default-background-hover:var(--ic-action-light-bg-hover);--button-default-background-active:var(--ic-action-light-bg-active)}:host(.white-background) .button{--button-default-background-hover:var(--ic-action-default-bg-hover-no-alpha);--button-default-background-active:var(\n --ic-action-default-bg-active-no-alpha\n );background-color:var(--ic-architectural-white)}:host(.white-background.dark) .button{--button-default-background-hover:var(--ic-action-dark-bg-hover-no-alpha);--button-default-background-active:var(--ic-action-dark-bg-active-no-alpha)}:host(.button-variant-primary.light) .button{color:var(--ic-color-primary-text);--button-default-hover:var(--ic-action-light-hover);--button-default-active:var(--ic-action-light-active)}:host(.button-variant-primary.dark) .button{--button-default-hover:var(--ic-action-dark-hover);--button-default-active:var(--ic-action-dark-active)}:host(.disabled),:host(.disabled) .button,:host(.loading),:host(.loading) .button{pointer-events:none}:host(.top-icon) .button{flex-direction:column;--height:fit-content}:host(.top-icon) .button .icon-container{margin-right:0}:host(.button-variant-primary) .button{color:var(--ic-architectural-white);background-color:var(--button-default)}:host(.button-variant-primary) .button:hover:not(:focus){background-color:var(--button-default-hover)}:host(.button-variant-primary) .button:hover:focus{background-color:var(--button-default-hover);border-color:var(--button-default-hover)}:host(.button-variant-primary:not(.light)) .button:hover:focus{color:var(--ic-architectural-white)}:host(.button-variant-primary) .button:active:not(:focus),:host(.button-variant-primary.loading) .button{background-color:var(--button-default-active)}:host(.button-variant-primary) .button:active:focus{background-color:var(--button-default-active)}:host(.button-variant-primary) .button:active{background-color:var(--button-default-active)}:host(.button-variant-primary:not(.light)) .button:active{color:var(--ic-architectural-white)}:host(.button-variant-primary.disabled) .button{background:var(--ic-architectural-200);color:var(--ic-architectural-300)}:host(.button-variant-primary.light.disabled) .button{background:var(--ic-architectural-600);color:var(--ic-architectural-500)}:host(.button-variant-secondary) .button{border:var(--ic-border-width) solid var(--button-default);color:var(--button-default)}:host(.button-variant-secondary) .button:hover:not(:focus),:host(.button-variant-secondary) .button:hover:focus{background-color:var(--button-default-background-hover);border-color:var(--button-default-hover);color:var(--button-default-hover)}:host(.button-variant-secondary) .button:active:not(:focus),:host(.button-variant-secondary) .button:active:focus,:host(.button-variant-secondary) .button:active{border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-secondary.loading) .button{border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-secondary.disabled) .button,:host(.button-variant-secondary.disabled) .button:hover,:host(.button-variant-secondary.disabled) .button:active{border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}:host(.button-variant-secondary.light.disabled) .button,:host(.button-variant-secondary.light.disabled) .button:hover,:host(.button-variant-secondary.light.disabled) .button:active{border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}:host(.button-variant-tertiary) .button{color:var(--button-default)}:host(.button-variant-tertiary) .button:hover:not(:focus),:host(.button-variant-tertiary) .button:hover:focus{background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-tertiary) .button:active:not(:focus),:host(.button-variant-tertiary) .button:active:focus,:host(.button-variant-tertiary) .button:active,:host(.button-variant-tertiary.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-tertiary.disabled) .button,:host(.button-variant-tertiary.disabled) .button:hover,:host(.button-variant-tertiary.disabled) .button:active{border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}:host(.button-variant-tertiary.light.disabled) .button,:host(.button-variant-tertiary.light.disabled) .button:hover,:host(.button-variant-tertiary.light.disabled) .button:active{border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}:host(.button-variant-icon) .button{color:var(--button-default);min-width:0;gap:var(--ic-space-xs);margin:var(--ic-space-1px) 0}:host(.button-variant-icon) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important}:host(.button-variant-icon) .button:hover:not(:focus),:host(.button-variant-icon) .button:hover:focus{background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-icon) .button:active:not(:focus),:host(.button-variant-icon.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-icon.disabled) .button,:host(.button-variant-icon.disabled) .button:hover,:host(.button-variant-icon.disabled) .button:active{color:var(--ic-architectural-300);background:none}:host(.button-variant-destructive) .button{color:var(--ic-architectural-white);background-color:var(--ic-action-destructive);text-transform:uppercase}:host(.button-variant-destructive) .button:hover:not(:focus),:host(.button-variant-destructive) .button:hover:focus{background-color:var(--ic-action-destructive-hover)}:host(.button-variant-destructive) .button:active:not(:focus),:host(.button-variant-destructive) .button:active:focus,:host(.button-variant-destructive.loading) .button{background-color:var(--ic-action-destructive-active)}:host(.button-variant-destructive.disabled) .button{background:var(--ic-architectural-200);color:var(--ic-architectural-300)}:host(.button-size-default) .button{height:var(--height, 2.5rem);padding:var(--ic-space-xs) var(--ic-space-md)}:host(.button-size-small) .button{height:var(--height, var(--ic-space-xl));padding:var(--ic-space-xxs) var(--ic-space-md)}:host(.button-size-large) .button{height:var(--height, var(--ic-space-xxl));padding:var(--ic-space-sm) var(--ic-space-md)}:host(.button-size-default.button-variant-icon) .button{height:var(--height, var(--ic-space-xl));width:var(--ic-space-xl);padding:0.375rem}:host(.button-size-small.button-variant-icon) .button{height:var(--height, var(--ic-space-lg));width:var(--ic-space-lg);padding:var(--ic-space-xxs)}:host(.button-size-large.button-variant-icon) .button{height:var(--height, 2.5rem);width:2.5rem;padding:var(--ic-space-xs)}:host(.full-width),:host(.full-width) .button{width:100%}div.loading-container{position:relative;align-items:center;width:100%}ic-loading-indicator{--outer-color:transparent}@keyframes loading-animation{0%{width:0%;left:0%}25%{width:0%;left:0%;opacity:0}50%{width:100%;left:0%;opacity:1}75%{width:0%;left:100%}100%{width:0%;left:100%;opacity:0}}div.icon-container{box-sizing:border-box;width:var(--ic-space-lg);height:var(--ic-space-lg);display:flex;justify-content:center;align-items:center;margin-right:var(--ic-space-xs)}div.right-icon{margin-right:auto;margin-left:var(--ic-space-xs)}::slotted(:not(ic-badge)){width:var(--icon-width) !important;height:var(--icon-height) !important;fill:currentcolor !important;pointer-events:none}:host(.button-variant-icon) .button .icon-container{margin:0;pointer-events:none}:host(.search-submit-button) ::slotted(svg){--icon-height:1.25rem;--icon-width:1.25rem}:host(.search-submit-button-small) ::slotted(svg){--icon-height:1rem;--icon-width:1rem}:host(.clear-button){margin:0 var(--ic-space-xxs)}:host(.clear-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:not(:active):focus{box-shadow:none;background-color:var(--ic-action-default-bg-hover)}:host(.search-submit-button){display:flex;align-items:center;margin:0 var(--ic-space-xxs)}:host(.menu-close-button) ::slotted(svg){--icon-height:0.875rem;--icon-width:0.875rem}:host(.popout-menu-button) .button{height:var(--height);justify-content:left;border-radius:0;white-space:pre-line;text-align:start}:host(.popout-menu-button) div.icon-container{flex:none}:host(.popout-menu-button) .button:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}.ic-button-describedby{display:none}:host .ic-tooltip{display:block}:host .arrow-dropdown{margin-top:auto}:host .dropdown-expanded{transform:rotate(180deg);margin-bottom:var(--ic-space-xxxs)}:host(.dropdown-no-icon) .button{padding-right:var(--ic-space-xs)}@media (forced-colors: active){.button{border:0.125rem solid transparent}}:host(.flip) ::slotted(svg){transform:scaleX(-1)}";
10
+ const icButtonCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;position:relative;--button-default:var(--ic-action-default);--button-default-hover:var(--ic-action-default-hover);--button-default-active:var(--ic-action-default-active);--button-default-background-hover:var(--ic-action-default-bg-hover);--button-default-background-active:var(--ic-action-default-bg-active);--icon-width:100%;--icon-height:100%}.button,::slotted(a){font-family:var(--ic-font-body-family);text-decoration:none;font-weight:600;font-size:0.875rem;transition:var(--ic-easing-transition-fast);border-radius:var(--ic-border-radius);min-width:var(--min-width, 6.25rem);display:inline-flex;flex-direction:row;justify-content:center;align-items:center;background:none;border:none;box-sizing:border-box;white-space:nowrap;vertical-align:middle}:host(.with-badge) .button{border-radius:0.2188rem}.button:hover,::slotted(a:hover){cursor:pointer}.button:focus,:host .button:focus,:host(.light) .button:focus,::slotted(a:focus){box-shadow:var(--ic-border-focus)}.button:focus-visible,::slotted(a:focus-visible){outline:var(--ic-hc-focus-outline)}:host(.dark) .button,:host(.dark) ::slotted(a){--button-default:var(--ic-action-dark);--button-default-hover:var(--ic-action-dark);--button-default-active:var(--ic-action-dark);--button-default-background-hover:var(--ic-action-dark-bg-hover);--button-default-background-active:var(--ic-action-dark-bg-active)}:host(.light) .button,:host(.light) ::slotted(a){--button-default:var(--ic-action-light);--button-default-hover:var(--ic-action-light);--button-default-active:var(--ic-action-light);--button-default-background-hover:var(--ic-action-light-bg-hover);--button-default-background-active:var(--ic-action-light-bg-active)}:host(.white-background) .button,:host(.white-background) ::slotted(a){--button-default-background-hover:var(--ic-action-default-bg-hover-no-alpha);--button-default-background-active:var(\n --ic-action-default-bg-active-no-alpha\n );background-color:var(--ic-architectural-white)}:host(.white-background.dark) .button,:host(.white-background.dark) ::slotted(a){--button-default-background-hover:var(--ic-action-dark-bg-hover-no-alpha);--button-default-background-active:var(--ic-action-dark-bg-active-no-alpha)}:host(.button-variant-primary.light) .button,:host(.button-variant-primary.light) ::slotted(a){color:var(--ic-color-primary-text);--button-default-hover:var(--ic-action-light-hover);--button-default-active:var(--ic-action-light-active)}:host(.button-variant-primary.dark) .button,:host(.button-variant-primary.dark) ::slotted(a){--button-default-hover:var(--ic-action-dark-hover);--button-default-active:var(--ic-action-dark-active)}:host(.disabled),:host(.disabled) .button,:host(.disabled) ::slotted(a),:host(.loading),:host(.loading) .button{pointer-events:none}:host(.top-icon) .button{flex-direction:column;--height:fit-content}:host(.top-icon) .button .icon-container{margin-right:0}:host(.button-variant-primary) .button,:host(.button-variant-primary) ::slotted(a){color:var(--ic-architectural-white);background-color:var(--button-default)}:host(.button-variant-primary) .button:hover:not(:focus){background-color:var(--button-default-hover)}:host(.button-variant-primary) .button:hover:focus{background-color:var(--button-default-hover);border-color:var(--button-default-hover)}:host(.button-variant-primary:not(.light)) .button:hover:focus,:host(.button-variant-primary:not(.light)) ::slotted(a:hover:focus){color:var(--ic-architectural-white)}:host(.button-variant-primary) .button:active:not(:focus),:host(.button-variant-primary.loading) .button{background-color:var(--button-default-active)}:host(.button-variant-primary) .button:active:focus{background-color:var(--button-default-active)}:host(.button-variant-primary) .button:active{background-color:var(--button-default-active)}:host(.button-variant-primary:not(.light)) .button:active,:host(.button-variant-primary:not(.light)) ::slotted(a:active){color:var(--ic-architectural-white)}:host(.button-variant-primary.disabled) .button,:host(.button-variant-primary.disabled) ::slotted(a){background:var(--ic-architectural-200);color:var(--ic-architectural-300)}:host(.button-variant-primary.light.disabled) .button,:host(.button-variant-primary.light.disabled) ::slotted(a){background:var(--ic-architectural-600);color:var(--ic-architectural-500)}:host(.button-variant-secondary) .button,:host(.button-variant-secondary) ::slotted(a){border:var(--ic-border-width) solid var(--button-default);color:var(--button-default)}:host(.button-variant-secondary) .button:hover:not(:focus),:host(.button-variant-secondary) .button:hover:focus,:host(.button-variant-secondary) ::slotted(a:hover:not(:focus)),:host(.button-variant-secondary) ::slotted(a:hover:focus){background-color:var(--button-default-background-hover);border-color:var(--button-default-hover);color:var(--button-default-hover)}:host(.button-variant-secondary) .button:active:not(:focus),:host(.button-variant-secondary) .button:active:focus,:host(.button-variant-secondary) .button:active,:host(.button-variant-secondary) ::slotted(a:active:not(:focus)),:host(.button-variant-secondary) ::slotted(a:active:focus),:host(.button-variant-secondary) ::slotted(a:active){border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-secondary.loading) .button{border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-secondary.disabled) .button,:host(.button-variant-secondary.disabled) .button:hover,:host(.button-variant-secondary.disabled) .button:active,:host(.button-variant-secondary.disabled) ::slotted(a),:host(.button-variant-secondary.disabled) ::slotted(a:hover),:host(.button-variant-secondary.disabled) ::slotted(a:active){border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}:host(.button-variant-secondary.light.disabled) .button,:host(.button-variant-secondary.light.disabled) .button:hover,:host(.button-variant-secondary.light.disabled) .button:active,:host(.button-variant-secondary.light.disabled) ::slotted(a),:host(.button-variant-secondary.light.disabled) ::slotted(a:hover),:host(.button-variant-secondary.light.disabled) ::slotted(a:active){border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}:host(.button-variant-tertiary) .button,:host(.button-variant-tertiary) ::slotted(a){color:var(--button-default)}:host(.button-variant-tertiary) .button:hover:not(:focus),:host(.button-variant-tertiary) .button:hover:focus,:host(.button-variant-tertiary) ::slotted(a:hover:not(:focus)),:host(.button-variant-tertiary) ::slotted(a:hover:focus){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-tertiary) .button:active:not(:focus),:host(.button-variant-tertiary) .button:active:focus,:host(.button-variant-tertiary) .button:active,:host(.button-variant-tertiary) ::slotted(a:active:not(:focus)),:host(.button-variant-tertiary) ::slotted(a:active:focus),:host(.button-variant-tertiary) ::slotted(a:active),:host(.button-variant-tertiary.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-tertiary.disabled) .button,:host(.button-variant-tertiary.disabled) .button:hover,:host(.button-variant-tertiary.disabled) .button:active,:host(.button-variant-tertiary.disabled) ::slotted(a),:host(.button-variant-tertiary.disabled) ::slotted(a:hover),:host(.button-variant-tertiary.disabled) ::slotted(a:active){border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}:host(.button-variant-tertiary.light.disabled) .button,:host(.button-variant-tertiary.light.disabled) .button:hover,:host(.button-variant-tertiary.light.disabled) .button:active,:host(.button-variant-tertiary.light.disabled) ::slotted(a),:host(.button-variant-tertiary.light.disabled) ::slotted(a:hover),:host(.button-variant-tertiary.light.disabled) ::slotted(a:active){border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}:host(.button-variant-icon) .button,:host(.button-variant-icon) ::slotted(a){color:var(--button-default);min-width:0;gap:var(--ic-space-xs);margin:var(--ic-space-1px) 0}:host(.button-variant-icon) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important}:host(.button-variant-icon) .button:hover:not(:focus),:host(.button-variant-icon) .button:hover:focus,:host(.button-variant-icon) ::slotted(a:hover:not(:focus)),:host(.button-variant-icon) ::slotted(a:hover:focus){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-icon) .button:active:not(:focus),:host(.button-variant-icon) ::slotted(a:active:not(:focus)),:host(.button-variant-icon.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-icon.disabled) .button,:host(.button-variant-icon.disabled) .button:hover,:host(.button-variant-icon.disabled) .button:active,:host(.button-variant-icon.disabled) ::slotted(a),:host(.button-variant-icon.disabled) ::slotted(a:hover),:host(.button-variant-icon.disabled) ::slotted(a:active){color:var(--ic-architectural-300);background:none}:host(.button-variant-destructive) .button,:host(.button-variant-destructive) ::slotted(a){color:var(--ic-architectural-white);background-color:var(--ic-action-destructive);text-transform:uppercase}:host(.button-variant-destructive) .button:hover:not(:focus),:host(.button-variant-destructive) .button:hover:focus{background-color:var(--ic-action-destructive-hover)}:host(.button-variant-destructive) .button:active:not(:focus),:host(.button-variant-destructive) .button:active:focus,:host(.button-variant-destructive.loading) .button{background-color:var(--ic-action-destructive-active)}:host(.button-variant-destructive.disabled) .button,:host(.button-variant-destructive.disabled) ::slotted(a){background:var(--ic-architectural-200);color:var(--ic-architectural-300)}:host(.button-size-default) .button{height:var(--height, 2.5rem);padding:var(--ic-space-xs) var(--ic-space-md)}:host(.button-size-small) .button{height:var(--height, var(--ic-space-xl));padding:var(--ic-space-xxs) var(--ic-space-md)}:host(.button-size-large) .button{height:var(--height, var(--ic-space-xxl));padding:var(--ic-space-sm) var(--ic-space-md)}:host(.button-size-default.button-variant-icon) .button,:host(.button-size-default.button-variant-icon) ::slotted(a){height:var(--height, var(--ic-space-xl));width:var(--ic-space-xl);padding:0.375rem}:host(.button-size-small.button-variant-icon) .button,:host(.button-size-small.button-variant-icon) ::slotted(a){height:var(--height, var(--ic-space-lg));width:var(--ic-space-lg);padding:var(--ic-space-xxs)}:host(.button-size-large.button-variant-icon) .button,:host(.button-size-large.button-variant-icon) ::slotted(a){height:var(--height, 2.5rem);width:2.5rem;padding:var(--ic-space-xs)}:host(.full-width),:host(.full-width) .button,:host(.full-width) ::slotted(a){width:100%}div.loading-container{position:relative;align-items:center;width:100%}ic-loading-indicator{--outer-color:transparent}@keyframes loading-animation{0%{width:0%;left:0%}25%{width:0%;left:0%;opacity:0}50%{width:100%;left:0%;opacity:1}75%{width:0%;left:100%}100%{width:0%;left:100%;opacity:0}}div.icon-container{box-sizing:border-box;width:var(--ic-space-lg);height:var(--ic-space-lg);display:flex;justify-content:center;align-items:center;margin-right:var(--ic-space-xs)}div.right-icon{margin-right:auto;margin-left:var(--ic-space-xs)}::slotted(:not(ic-badge)){width:var(--icon-width) !important;height:var(--icon-height) !important;fill:currentcolor !important;pointer-events:none}:host(.button-variant-icon) .button .icon-container{margin:0;pointer-events:none}:host(.search-submit-button) ::slotted(svg){--icon-height:1.25rem;--icon-width:1.25rem}:host(.search-submit-button-small) ::slotted(svg){--icon-height:1rem;--icon-width:1rem}:host(.clear-button){margin:0 var(--ic-space-xxs)}:host(.clear-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:not(:active):focus{box-shadow:none;background-color:var(--ic-action-default-bg-hover)}:host(.search-submit-button){display:flex;align-items:center;margin:0 var(--ic-space-xxs)}:host(.menu-close-button) ::slotted(svg){--icon-height:0.875rem;--icon-width:0.875rem}:host(.popout-menu-button) .button{height:var(--height);justify-content:left;border-radius:0;white-space:pre-line;text-align:start}:host(.popout-menu-button) div.icon-container{flex:none}:host(.popout-menu-button) .button:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}.ic-button-describedby{display:none}:host .ic-tooltip{display:block}:host .arrow-dropdown{margin-top:auto}:host .dropdown-expanded{transform:rotate(180deg);margin-bottom:var(--ic-space-xxxs)}:host(.dropdown-no-icon) .button{padding-right:var(--ic-space-xs)}slot[name=\"router-item\"]::slotted(a){pointer-events:all}::slotted(a){font-size:0.875rem !important;border:none !important;vertical-align:middle !important}:host(.white-background) ::slotted(a){background-color:var(--ic-architectural-white) !important}:host(.button-variant-primary) ::slotted(a){background-color:var(--button-default) !important}:host(.button-variant-primary) ::slotted(a:hover:not(:focus)),:host(.button-variant-primary) ::slotted(a:hover:focus){background-color:var(--button-default-hover) !important}:host(.button-variant-primary) ::slotted(a:active:not(:focus)),:host(.button-variant-primary) ::slotted(a:active),:host(.button-variant-primary) ::sloted(a:active:focus){background-color:var(--button-default-active) !important}:host(.button-variant-primary.disabled) ::slotted(a),:host(.button-variant-destructive.disabled) ::slotted(a){background:var(--ic-architectural-200) !important}:host(.button-variant-primary.light.disabled) ::slotted(a){background:var(--ic-architectural-600) !important}:host(.button-variant-secondary) ::slotted(a){border:var(--ic-border-width) solid var(--button-default) !important}:host(.button-variant-secondary) ::slotted(a:hover:not(:focus)),:host(.button-variant-secondary) ::slotted(a:hover:focus){background-color:var(--button-default-background-hover) !important;border-color:var(--button-default-hover) !important}:host(.button-variant-secondary) ::slotted(a:active:not(:focus)),:host(.button-variant-secondary) ::slotted(a:active:focus),:host(.button-variant-secondary) ::slotted(a:active){border-color:var(--button-default-active) !important;background-color:var(--button-default-background-active) !important}:host(.button-variant-secondary.disabled) ::slotted(a),:host(.button-variant-secondary.disabled) ::slotted(a:hover),:host(.button-variant-secondary.disabled) ::slotted(a:active),:host(.button-variant-tertiary.disabled) ::slotted(a),:host(.button-variant-tertiary.disabled) ::slotted(a:hover),:host(.button-variant-tertiary.disabled) ::slotted(a:active){border-color:var(--ic-architectural-300) !important;background:none !important}:host(.button-variant-secondary.light.disabled) ::slotted(a),:host(.button-variant-secondary.light.disabled) ::slotted(a:hover),:host(.button-variant-secondary.light.disabled) ::slotted(a:active),:host(.button-variant-tertiary.light.disabled) ::slotted(a),:host(.button-variant-tertiary.light.disabled) ::slotted(a:hover),:host(.button-variant-tertiary.light.disabled) ::slotted(a:active){border-color:var(--ic-architectural-500) !important;background:none !important}:host(.button-variant-tertiary) ::slotted(a:hover:not(:focus)),:host(.button-variant-tertiary) ::slotted(a:hover:focus),:host(.button-variant-icon) ::slotted(a:hover:not(:focus)),:host(.button-variant-icon) ::slotted(a:hover:focus){background-color:var(--button-default-background-hover) !important}:host(.button-variant-tertiary) ::slotted(a:active:not(:focus)),:host(.button-variant-tertiary) ::slotted(a:active:focus),:host(.button-variant-tertiary) ::slotted(a:active),:host(.button-variant-icon) ::slotted(a:active:not(:focus)){background-color:var(--button-default-background-active) !important}:host(.button-variant-icon.disabled) ::slotted(a),:host(.button-variant-icon.disabled) ::slotted(a:hover),:host(.button-variant-icon.disabled) ::slotted(a:active){background:none !important}:host(.button-variant-destructive) ::slotted(a){background-color:var(--ic-action-destructive) !important}:host(.button-variant-destructive) ::slotted(a:hover:not(:focus)),:host(.button-variant-destructive) ::slotted(a:hover:focus){background-color:var(--ic-action-destructive-hover) !important}:host(.button-variant-destructive) ::slotted(a:active:not(:focus)),:host(.button-variant-destructive) ::slotted(a:active:focus){background-color:var(--ic-action-destructive-active) !important}:host(.button-size-default) ::slotted(a){height:var(--height, 2.5rem) !important;padding:var(--ic-space-xs) var(--ic-space-md) !important}:host(.button-size-small) ::slotted(a){height:var(--height, var(--ic-space-xl)) !important;padding:var(--ic-space-xxs) var(--ic-space-md) !important}:host(.button-size-large) ::slotted(a){height:var(--height, var(--ic-space-xxl)) !important;padding:var(--ic-space-sm) var(--ic-space-md) !important}:host(.button-size-default.button-variant-icon) ::slotted(a){height:var(--height, var(--ic-space-xl)) !important;padding:0.375rem !important}:host(.button-size-small.button-variant-icon) ::slotted(a){padding:var(--ic-space-xxs) !important}:host(.button-size-large.button-variant-icon) ::slotted(a){padding:var(--ic-space-xs) !important}@media (forced-colors: active){.button,::slotted(a){border:0.125rem solid transparent !important}}:host(.flip) ::slotted(svg){transform:scaleX(-1)}";
11
11
 
12
12
  var __rest = (undefined && undefined.__rest) || function (s, e) {
13
13
  var t = {};
@@ -26,6 +26,7 @@ const Button = class {
26
26
  constructor(hostRef) {
27
27
  registerInstance(this, hostRef);
28
28
  this.icBlur = createEvent(this, "icBlur", 7);
29
+ this.icFileSelection = createEvent(this, "icFileSelection", 7);
29
30
  this.icFocus = createEvent(this, "icFocus", 7);
30
31
  this.buttonIdNum = buttonIds++;
31
32
  this.hasTooltip = false;
@@ -49,6 +50,7 @@ const Button = class {
49
50
  };
50
51
  this.handleClick = () => {
51
52
  if ((this.el.type === "submit" || this.el.type === "reset") &&
53
+ !this.hasRouterSlot() &&
52
54
  !!this.el.closest("FORM")) {
53
55
  this.handleHiddenFormButtonClick(this.el.closest("FORM"));
54
56
  }
@@ -90,6 +92,10 @@ const Button = class {
90
92
  this.hasTooltip =
91
93
  !this.disableTooltip && (!!this.title || this.variant === "icon");
92
94
  };
95
+ // file explorer is only opened if the property fileUpload is set to 'true'
96
+ this.openFileExplorer = () => {
97
+ renderFileHiddenInput(this.icFileSelection, this.el, this.multiple, this.fileInputName, this.selectedFiles, this.disabled, this.accept);
98
+ };
93
99
  this.isTooltipSilent = () => {
94
100
  if (this.variant === "icon") {
95
101
  if (this.title)
@@ -106,6 +112,7 @@ const Button = class {
106
112
  this.ariaLabel = null;
107
113
  this.describedByContent = null;
108
114
  this.title = null;
115
+ this.accept = "*";
109
116
  this.appearance = "default";
110
117
  this.ariaControlsId = undefined;
111
118
  this.ariaOwnsId = undefined;
@@ -114,6 +121,8 @@ const Button = class {
114
121
  this.download = false;
115
122
  this.dropdown = false;
116
123
  this.dropdownExpanded = false;
124
+ this.fileUpload = false;
125
+ this.fileInputName = `ic-button-file-upload-input-${buttonIds++}`;
117
126
  this.form = undefined;
118
127
  this.formaction = undefined;
119
128
  this.formenctype = undefined;
@@ -124,8 +133,10 @@ const Button = class {
124
133
  this.href = undefined;
125
134
  this.hreflang = undefined;
126
135
  this.loading = false;
136
+ this.multiple = false;
127
137
  this.referrerpolicy = undefined;
128
138
  this.rel = undefined;
139
+ this.selectedFiles = undefined;
129
140
  this.size = "default";
130
141
  this.target = undefined;
131
142
  this.tooltipPlacement = "bottom";
@@ -194,11 +205,16 @@ const Button = class {
194
205
  (_a = this.setViewBox()) === null || _a === void 0 ? void 0 : _a.setAttribute("viewBox", "0 0 24 24");
195
206
  }
196
207
  handleHostClick(event) {
197
- if (this.disabled || this.loading) {
198
- event.stopImmediatePropagation();
199
- }
200
- if (this.dropdown) {
201
- this.dropdownExpanded = !this.dropdownExpanded;
208
+ if (!this.hasRouterSlot()) {
209
+ if (this.fileUpload) {
210
+ this.openFileExplorer();
211
+ }
212
+ if (this.disabled || this.loading) {
213
+ event.stopImmediatePropagation();
214
+ }
215
+ if (this.dropdown) {
216
+ this.dropdownExpanded = !this.dropdownExpanded;
217
+ }
202
218
  }
203
219
  }
204
220
  themeChangeHandler(ev) {
@@ -229,6 +245,13 @@ const Button = class {
229
245
  const iconEl = this.el.querySelector(`[slot="right-icon"]`);
230
246
  return iconEl !== null;
231
247
  }
248
+ hasRouterSlot() {
249
+ this.routerSlot = this.el.querySelector('[slot="router-item"]');
250
+ if (this.routerSlot) {
251
+ this.routerSlot.ariaLabel = this.routerSlot.textContent;
252
+ }
253
+ return !!this.routerSlot;
254
+ }
232
255
  handleHiddenFormButtonClick(form) {
233
256
  const hiddenFormButton = document.createElement("button");
234
257
  hiddenFormButton.setAttribute("type", this.el.type);
@@ -281,7 +304,7 @@ const Button = class {
281
304
  describedBy = this.describedById;
282
305
  }
283
306
  const ButtonContent = () => {
284
- 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() &&
307
+ 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() &&
285
308
  !this.hasLeftIconSlot() &&
286
309
  !this.hasRightIconSlot() &&
287
310
  !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" ||
@@ -313,7 +336,8 @@ const Button = class {
313
336
  ["white-background"]: this.variant === "secondary" &&
314
337
  !this.transparentBackground &&
315
338
  this.appearance !== "light",
316
- }, 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))));
339
+ }, 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 &&
340
+ (this.hasRouterSlot() ? (h("slot", { name: "router-item" })) : (h(ButtonContent, null))), this.describedByContent && (h("span", { id: describedBy, class: "ic-button-describedby" }, this.describedByContent))));
317
341
  }
318
342
  static get delegatesFocus() { return true; }
319
343
  get el() { return getElement(this); }
@@ -699,7 +723,7 @@ const Tooltip = class {
699
723
  }
700
724
  render() {
701
725
  const { label, maxLines, silent } = this;
702
- return (h(Host, { class: { "ic-tooltip": true } }, h("div", { ref: (el) => (this.toolTip = el), role: "tooltip", class: "ic-tooltip-container", "aria-hidden": silent }, h("ic-typography", { maxLines: maxLines, variant: "caption" }, label), h("div", { ref: (el) => (this.arrow = el), class: "ic-tooltip-arrow" })), h("slot", null)));
726
+ return (h(Host, { class: { "ic-tooltip": true } }, h("div", { ref: (el) => (this.toolTip = el), role: "tooltip", class: "ic-tooltip-container", "aria-hidden": `${silent}` }, h("ic-typography", { maxLines: maxLines, variant: "caption" }, label), h("div", { ref: (el) => (this.arrow = el), class: "ic-tooltip-arrow" })), h("slot", null)));
703
727
  }
704
728
  get el() { return getElement(this); }
705
729
  };