@ukic/web-components 2.18.1 → 2.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (375) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-3e526fb8.js → helpers-88e018cf.js} +13 -2
  3. package/dist/{core/p-6088297e.js.map → cjs/helpers-88e018cf.js.map} +1 -1
  4. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  5. package/dist/cjs/ic-alert.cjs.entry.js +1 -1
  6. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  7. package/dist/cjs/ic-badge.cjs.entry.js +3 -10
  8. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  9. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
  10. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  11. package/dist/cjs/ic-button_3.cjs.entry.js +34 -85
  12. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-card.cjs.entry.js +1 -1
  14. package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
  15. package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
  16. package/dist/cjs/ic-chip.cjs.entry.js +25 -2
  17. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  18. package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
  19. package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
  20. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  21. package/dist/cjs/ic-empty-state.cjs.entry.js +1 -1
  22. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  23. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  24. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  25. package/dist/cjs/ic-hero.cjs.entry.js +1 -1
  26. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
  27. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-input-label_2.cjs.entry.js +1 -1
  29. package/dist/cjs/ic-link.cjs.entry.js +33 -15
  30. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  32. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  33. package/dist/cjs/ic-navigation-button.cjs.entry.js +26 -5
  34. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
  36. package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
  37. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  38. package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
  39. package/dist/cjs/ic-pagination-item.cjs.entry.js +1 -1
  40. package/dist/cjs/ic-pagination.cjs.entry.js +1 -1
  41. package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
  42. package/dist/cjs/ic-radio-group.cjs.entry.js +40 -26
  43. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ic-radio-option.cjs.entry.js +9 -4
  45. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
  47. package/dist/cjs/ic-select.cjs.entry.js +24 -6
  48. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
  50. package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
  51. package/dist/cjs/ic-step.cjs.entry.js +5 -2
  52. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-stepper.cjs.entry.js +2 -1
  54. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-switch.cjs.entry.js +1 -1
  56. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  57. package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
  58. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  59. package/dist/cjs/ic-text-field.cjs.entry.js +26 -7
  60. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-theme.cjs.entry.js +3 -10
  62. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-toast.cjs.entry.js +1 -1
  64. package/dist/cjs/ic-toggle-button.cjs.entry.js +1 -1
  65. package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
  66. package/dist/cjs/ic-typography.cjs.entry.js +1 -1
  67. package/dist/cjs/loader.cjs.js +1 -1
  68. package/dist/cjs/types-dc22e301.js.map +1 -1
  69. package/dist/collection/components/ic-badge/ic-badge.js +5 -12
  70. package/dist/collection/components/ic-badge/ic-badge.js.map +1 -1
  71. package/dist/collection/components/ic-badge/ic-badge.types.js.map +1 -1
  72. package/dist/collection/components/ic-button/ic-button.js +32 -83
  73. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  74. package/dist/collection/components/ic-chip/ic-chip.css +4 -3
  75. package/dist/collection/components/ic-chip/ic-chip.js +51 -1
  76. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  77. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +44 -0
  78. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -1
  79. package/dist/collection/components/ic-link/ic-link.js +33 -15
  80. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  81. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +12 -0
  82. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -1
  83. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +6 -2
  84. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +26 -5
  85. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  86. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +11 -0
  87. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -1
  88. package/dist/collection/components/ic-radio-group/ic-radio-group.js +39 -25
  89. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  90. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +30 -0
  91. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -1
  92. package/dist/collection/components/ic-radio-option/ic-radio-option.js +32 -3
  93. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  94. package/dist/collection/components/ic-select/ic-select.js +24 -6
  95. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  96. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +11 -0
  97. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -1
  98. package/dist/collection/components/ic-step/ic-step.css +93 -1
  99. package/dist/collection/components/ic-step/ic-step.js +3 -0
  100. package/dist/collection/components/ic-step/ic-step.js.map +1 -1
  101. package/dist/collection/components/ic-stepper/ic-stepper.js +19 -0
  102. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  103. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +18 -0
  104. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -1
  105. package/dist/collection/components/ic-text-field/ic-text-field.js +26 -7
  106. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  107. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js +12 -0
  108. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +1 -1
  109. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +11 -0
  110. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -1
  111. package/dist/collection/components/ic-theme/ic-theme.js +3 -10
  112. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
  113. package/dist/collection/utils/helpers.js +11 -0
  114. package/dist/collection/utils/helpers.js.map +1 -1
  115. package/dist/collection/utils/types.js.map +1 -1
  116. package/dist/components/helpers.js +12 -1
  117. package/dist/components/helpers.js.map +1 -1
  118. package/dist/components/ic-badge.js +3 -10
  119. package/dist/components/ic-badge.js.map +1 -1
  120. package/dist/components/ic-button2.js +33 -84
  121. package/dist/components/ic-button2.js.map +1 -1
  122. package/dist/components/ic-card.js +1 -1
  123. package/dist/components/ic-checkbox-group.js +1 -1
  124. package/dist/components/ic-checkbox.js +1 -1
  125. package/dist/components/ic-chip.js +29 -3
  126. package/dist/components/ic-chip.js.map +1 -1
  127. package/dist/components/ic-link2.js +34 -16
  128. package/dist/components/ic-link2.js.map +1 -1
  129. package/dist/components/ic-loading-indicator2.js +1 -1
  130. package/dist/components/ic-loading-indicator2.js.map +1 -1
  131. package/dist/components/ic-menu-item2.js +1 -1
  132. package/dist/components/ic-navigation-button.js +27 -6
  133. package/dist/components/ic-navigation-button.js.map +1 -1
  134. package/dist/components/ic-pagination-item2.js +1 -1
  135. package/dist/components/ic-pagination.js +1 -1
  136. package/dist/components/ic-radio-group.js +40 -26
  137. package/dist/components/ic-radio-group.js.map +1 -1
  138. package/dist/components/ic-radio-option.js +11 -5
  139. package/dist/components/ic-radio-option.js.map +1 -1
  140. package/dist/components/ic-search-bar.js +1 -1
  141. package/dist/components/ic-select.js +25 -7
  142. package/dist/components/ic-select.js.map +1 -1
  143. package/dist/components/ic-step.js +4 -1
  144. package/dist/components/ic-step.js.map +1 -1
  145. package/dist/components/ic-stepper.js +2 -0
  146. package/dist/components/ic-stepper.js.map +1 -1
  147. package/dist/components/ic-switch.js +1 -1
  148. package/dist/components/ic-tab.js +1 -1
  149. package/dist/components/ic-text-field2.js +27 -8
  150. package/dist/components/ic-text-field2.js.map +1 -1
  151. package/dist/components/ic-theme.js +3 -10
  152. package/dist/components/ic-theme.js.map +1 -1
  153. package/dist/components/ic-toggle-button.js +1 -1
  154. package/dist/components/types.js.map +1 -1
  155. package/dist/core/core.esm.js +1 -1
  156. package/dist/core/core.esm.js.map +1 -1
  157. package/dist/core/p-00c21dd7.entry.js +2 -0
  158. package/dist/core/p-00c21dd7.entry.js.map +1 -0
  159. package/dist/core/{p-d34959e1.entry.js → p-02ad4585.entry.js} +2 -2
  160. package/dist/core/{p-7559d77c.entry.js → p-03796d51.entry.js} +2 -2
  161. package/dist/core/p-04cc2b25.entry.js +2 -0
  162. package/dist/core/p-04cc2b25.entry.js.map +1 -0
  163. package/dist/core/{p-97b805cb.entry.js → p-051583a5.entry.js} +2 -2
  164. package/dist/core/p-078f7f23.entry.js +2 -0
  165. package/dist/core/p-078f7f23.entry.js.map +1 -0
  166. package/dist/core/p-0c097626.entry.js +2 -0
  167. package/dist/core/p-0c097626.entry.js.map +1 -0
  168. package/dist/core/{p-e16edd06.entry.js → p-1197f0d4.entry.js} +2 -2
  169. package/dist/core/{p-ec7bf9d3.entry.js → p-1a6fab3e.entry.js} +2 -2
  170. package/dist/core/p-1b1270a1.entry.js +2 -0
  171. package/dist/core/p-1b1270a1.entry.js.map +1 -0
  172. package/dist/core/{p-2d753f6e.entry.js → p-1c3b619f.entry.js} +2 -2
  173. package/dist/core/p-24bed047.entry.js +2 -0
  174. package/dist/core/{p-8560228f.entry.js.map → p-24bed047.entry.js.map} +1 -1
  175. package/dist/core/p-26b7b18f.js.map +1 -1
  176. package/dist/core/{p-2b58ca8d.entry.js → p-2b326b17.entry.js} +2 -2
  177. package/dist/core/{p-739c0dc6.entry.js → p-2d4e7985.entry.js} +2 -2
  178. package/dist/core/p-2d4e7985.entry.js.map +1 -0
  179. package/dist/core/p-2f91e86a.entry.js +2 -0
  180. package/dist/core/p-2f91e86a.entry.js.map +1 -0
  181. package/dist/core/{p-b6a6c89f.entry.js → p-328bc6a2.entry.js} +2 -2
  182. package/dist/core/{p-e1239a95.entry.js → p-32e2ae6f.entry.js} +2 -2
  183. package/dist/core/{p-8846ae12.entry.js → p-346578e4.entry.js} +2 -2
  184. package/dist/core/{p-217cbca5.entry.js → p-3f53446c.entry.js} +2 -2
  185. package/dist/core/p-44ea7a6d.entry.js +2 -0
  186. package/dist/core/p-44ea7a6d.entry.js.map +1 -0
  187. package/dist/core/{p-6b88deb8.entry.js → p-498273cb.entry.js} +2 -2
  188. package/dist/core/{p-b12d380e.entry.js → p-4f3fe190.entry.js} +2 -2
  189. package/dist/core/{p-e7c303c1.entry.js → p-52a4c223.entry.js} +2 -2
  190. package/dist/core/p-52a4c223.entry.js.map +1 -0
  191. package/dist/core/{p-bb9d3d13.entry.js → p-5481b048.entry.js} +2 -2
  192. package/dist/core/{p-8f3f9566.entry.js → p-692ccc73.entry.js} +2 -2
  193. package/dist/core/{p-9aa9af2c.entry.js → p-6f9dcfb5.entry.js} +2 -2
  194. package/dist/core/{p-9637066f.entry.js → p-731515cf.entry.js} +2 -2
  195. package/dist/core/p-74f9082d.entry.js +2 -0
  196. package/dist/core/{p-84355a36.entry.js.map → p-74f9082d.entry.js.map} +1 -1
  197. package/dist/core/{p-71756d3b.entry.js → p-8153def1.entry.js} +2 -2
  198. package/dist/core/{p-8053ad3f.entry.js → p-8b65be1e.entry.js} +2 -2
  199. package/dist/core/{p-8e0be26c.entry.js → p-8e37e832.entry.js} +2 -2
  200. package/dist/core/{p-1e2a0991.entry.js → p-8ed04819.entry.js} +2 -2
  201. package/dist/core/p-8fe2b073.entry.js +2 -0
  202. package/dist/core/{p-855ee8f9.entry.js.map → p-8fe2b073.entry.js.map} +1 -1
  203. package/dist/core/{p-280077b1.entry.js → p-9f29ab99.entry.js} +2 -2
  204. package/dist/core/p-a13236ef.entry.js +2 -0
  205. package/dist/core/{p-2bf36b00.entry.js.map → p-a13236ef.entry.js.map} +1 -1
  206. package/dist/core/{p-9939eaf8.entry.js → p-adf468f4.entry.js} +2 -2
  207. package/dist/core/{p-06df74da.entry.js → p-af5eacc1.entry.js} +2 -2
  208. package/dist/core/{p-d932577f.entry.js → p-b451f27c.entry.js} +2 -2
  209. package/dist/core/{p-6e3aa59a.entry.js → p-ba1c3cf7.entry.js} +2 -2
  210. package/dist/core/{p-7599e6a9.entry.js → p-ba40f44a.entry.js} +2 -2
  211. package/dist/core/p-bceaf300.entry.js +2 -0
  212. package/dist/core/p-bceaf300.entry.js.map +1 -0
  213. package/dist/core/p-c3acbefe.entry.js +2 -0
  214. package/dist/core/p-c3acbefe.entry.js.map +1 -0
  215. package/dist/core/{p-5e5a29a4.entry.js → p-c919c571.entry.js} +2 -2
  216. package/dist/core/p-d19d157d.entry.js +2 -0
  217. package/dist/core/p-d19d157d.entry.js.map +1 -0
  218. package/dist/core/{p-56352316.entry.js → p-d7f4779d.entry.js} +2 -2
  219. package/dist/core/{p-6088297e.js → p-e4d0d1fb.js} +2 -2
  220. package/dist/core/p-e4d0d1fb.js.map +1 -0
  221. package/dist/core/{p-924495ee.entry.js → p-e5957ce0.entry.js} +2 -2
  222. package/dist/core/{p-b9c53ac1.entry.js → p-e68485ee.entry.js} +2 -2
  223. package/dist/core/{p-db78e715.entry.js → p-e8e0fa96.entry.js} +2 -2
  224. package/dist/core/{p-2ff18bd8.entry.js → p-f50a57f3.entry.js} +2 -2
  225. package/dist/core/p-f8df0716.entry.js +2 -0
  226. package/dist/core/{p-4de169ff.entry.js.map → p-f8df0716.entry.js.map} +1 -1
  227. package/dist/core/{p-ca7ca3b8.entry.js → p-fd737b7e.entry.js} +2 -2
  228. package/dist/esm/core.js +1 -1
  229. package/dist/esm/{helpers-b6bbde90.js → helpers-24ba0b83.js} +13 -2
  230. package/dist/esm/helpers-24ba0b83.js.map +1 -0
  231. package/dist/esm/ic-accordion.entry.js +1 -1
  232. package/dist/esm/ic-alert.entry.js +1 -1
  233. package/dist/esm/ic-back-to-top.entry.js +1 -1
  234. package/dist/esm/ic-badge.entry.js +3 -10
  235. package/dist/esm/ic-badge.entry.js.map +1 -1
  236. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  237. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  238. package/dist/esm/ic-button_3.entry.js +34 -85
  239. package/dist/esm/ic-button_3.entry.js.map +1 -1
  240. package/dist/esm/ic-card.entry.js +1 -1
  241. package/dist/esm/ic-checkbox-group.entry.js +1 -1
  242. package/dist/esm/ic-checkbox.entry.js +1 -1
  243. package/dist/esm/ic-chip.entry.js +25 -2
  244. package/dist/esm/ic-chip.entry.js.map +1 -1
  245. package/dist/esm/ic-data-row.entry.js +1 -1
  246. package/dist/esm/ic-dialog.entry.js +1 -1
  247. package/dist/esm/ic-divider.entry.js +1 -1
  248. package/dist/esm/ic-empty-state.entry.js +1 -1
  249. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  250. package/dist/esm/ic-footer-link.entry.js +1 -1
  251. package/dist/esm/ic-footer.entry.js +1 -1
  252. package/dist/esm/ic-hero.entry.js +1 -1
  253. package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
  254. package/dist/esm/ic-input-component-container_3.entry.js +1 -1
  255. package/dist/esm/ic-input-label_2.entry.js +1 -1
  256. package/dist/esm/ic-link.entry.js +34 -16
  257. package/dist/esm/ic-link.entry.js.map +1 -1
  258. package/dist/esm/ic-menu-group.entry.js +1 -1
  259. package/dist/esm/ic-menu-item.entry.js +1 -1
  260. package/dist/esm/ic-navigation-button.entry.js +27 -6
  261. package/dist/esm/ic-navigation-button.entry.js.map +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-radio-group.entry.js +40 -26
  270. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  271. package/dist/esm/ic-radio-option.entry.js +9 -4
  272. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  273. package/dist/esm/ic-search-bar.entry.js +1 -1
  274. package/dist/esm/ic-select.entry.js +25 -7
  275. package/dist/esm/ic-select.entry.js.map +1 -1
  276. package/dist/esm/ic-side-navigation.entry.js +1 -1
  277. package/dist/esm/ic-status-tag.entry.js +1 -1
  278. package/dist/esm/ic-step.entry.js +5 -2
  279. package/dist/esm/ic-step.entry.js.map +1 -1
  280. package/dist/esm/ic-stepper.entry.js +2 -1
  281. package/dist/esm/ic-stepper.entry.js.map +1 -1
  282. package/dist/esm/ic-switch.entry.js +1 -1
  283. package/dist/esm/ic-tab-group.entry.js +1 -1
  284. package/dist/esm/ic-tab-panel.entry.js +1 -1
  285. package/dist/esm/ic-tab.entry.js +1 -1
  286. package/dist/esm/ic-text-field.entry.js +27 -8
  287. package/dist/esm/ic-text-field.entry.js.map +1 -1
  288. package/dist/esm/ic-theme.entry.js +3 -10
  289. package/dist/esm/ic-theme.entry.js.map +1 -1
  290. package/dist/esm/ic-toast.entry.js +1 -1
  291. package/dist/esm/ic-toggle-button.entry.js +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/loader.js +1 -1
  295. package/dist/esm/types-6f6b41a5.js.map +1 -1
  296. package/dist/types/components/ic-badge/ic-badge.d.ts +2 -2
  297. package/dist/types/components/ic-badge/ic-badge.types.d.ts +0 -5
  298. package/dist/types/components/ic-button/ic-button.d.ts +2 -10
  299. package/dist/types/components/ic-chip/ic-chip.d.ts +8 -1
  300. package/dist/types/components/ic-link/ic-link.d.ts +6 -2
  301. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +3 -0
  302. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +3 -0
  303. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +4 -0
  304. package/dist/types/components/ic-select/ic-select.d.ts +2 -0
  305. package/dist/types/components/ic-stepper/ic-stepper.d.ts +4 -0
  306. package/dist/types/components/ic-text-field/ic-text-field.d.ts +2 -0
  307. package/dist/types/components.d.ts +21 -4
  308. package/dist/types/utils/helpers.d.ts +2 -1
  309. package/dist/types/utils/types.d.ts +5 -0
  310. package/hydrate/index.js +213 -162
  311. package/package.json +2 -2
  312. package/vscode-data.json +16 -0
  313. package/dist/cjs/helpers-3e526fb8.js.map +0 -1
  314. package/dist/core/p-06dcdfff.entry.js +0 -2
  315. package/dist/core/p-06dcdfff.entry.js.map +0 -1
  316. package/dist/core/p-28dfe4a3.entry.js +0 -2
  317. package/dist/core/p-28dfe4a3.entry.js.map +0 -1
  318. package/dist/core/p-2bf36b00.entry.js +0 -2
  319. package/dist/core/p-2c1d7440.entry.js +0 -2
  320. package/dist/core/p-2c1d7440.entry.js.map +0 -1
  321. package/dist/core/p-4851e1a7.entry.js +0 -2
  322. package/dist/core/p-4851e1a7.entry.js.map +0 -1
  323. package/dist/core/p-4de169ff.entry.js +0 -2
  324. package/dist/core/p-4ebf2e93.entry.js +0 -2
  325. package/dist/core/p-4ebf2e93.entry.js.map +0 -1
  326. package/dist/core/p-5eb3d65a.entry.js +0 -2
  327. package/dist/core/p-5eb3d65a.entry.js.map +0 -1
  328. package/dist/core/p-653f38a3.entry.js +0 -2
  329. package/dist/core/p-653f38a3.entry.js.map +0 -1
  330. package/dist/core/p-739c0dc6.entry.js.map +0 -1
  331. package/dist/core/p-84355a36.entry.js +0 -2
  332. package/dist/core/p-855ee8f9.entry.js +0 -2
  333. package/dist/core/p-8560228f.entry.js +0 -2
  334. package/dist/core/p-aa1d2c11.entry.js +0 -2
  335. package/dist/core/p-aa1d2c11.entry.js.map +0 -1
  336. package/dist/core/p-b602729a.entry.js +0 -2
  337. package/dist/core/p-b602729a.entry.js.map +0 -1
  338. package/dist/core/p-e3a47979.entry.js +0 -2
  339. package/dist/core/p-e3a47979.entry.js.map +0 -1
  340. package/dist/core/p-e7c303c1.entry.js.map +0 -1
  341. package/dist/esm/helpers-b6bbde90.js.map +0 -1
  342. /package/dist/core/{p-d34959e1.entry.js.map → p-02ad4585.entry.js.map} +0 -0
  343. /package/dist/core/{p-7559d77c.entry.js.map → p-03796d51.entry.js.map} +0 -0
  344. /package/dist/core/{p-97b805cb.entry.js.map → p-051583a5.entry.js.map} +0 -0
  345. /package/dist/core/{p-e16edd06.entry.js.map → p-1197f0d4.entry.js.map} +0 -0
  346. /package/dist/core/{p-ec7bf9d3.entry.js.map → p-1a6fab3e.entry.js.map} +0 -0
  347. /package/dist/core/{p-2d753f6e.entry.js.map → p-1c3b619f.entry.js.map} +0 -0
  348. /package/dist/core/{p-2b58ca8d.entry.js.map → p-2b326b17.entry.js.map} +0 -0
  349. /package/dist/core/{p-b6a6c89f.entry.js.map → p-328bc6a2.entry.js.map} +0 -0
  350. /package/dist/core/{p-e1239a95.entry.js.map → p-32e2ae6f.entry.js.map} +0 -0
  351. /package/dist/core/{p-8846ae12.entry.js.map → p-346578e4.entry.js.map} +0 -0
  352. /package/dist/core/{p-217cbca5.entry.js.map → p-3f53446c.entry.js.map} +0 -0
  353. /package/dist/core/{p-6b88deb8.entry.js.map → p-498273cb.entry.js.map} +0 -0
  354. /package/dist/core/{p-b12d380e.entry.js.map → p-4f3fe190.entry.js.map} +0 -0
  355. /package/dist/core/{p-bb9d3d13.entry.js.map → p-5481b048.entry.js.map} +0 -0
  356. /package/dist/core/{p-8f3f9566.entry.js.map → p-692ccc73.entry.js.map} +0 -0
  357. /package/dist/core/{p-9aa9af2c.entry.js.map → p-6f9dcfb5.entry.js.map} +0 -0
  358. /package/dist/core/{p-9637066f.entry.js.map → p-731515cf.entry.js.map} +0 -0
  359. /package/dist/core/{p-71756d3b.entry.js.map → p-8153def1.entry.js.map} +0 -0
  360. /package/dist/core/{p-8053ad3f.entry.js.map → p-8b65be1e.entry.js.map} +0 -0
  361. /package/dist/core/{p-8e0be26c.entry.js.map → p-8e37e832.entry.js.map} +0 -0
  362. /package/dist/core/{p-1e2a0991.entry.js.map → p-8ed04819.entry.js.map} +0 -0
  363. /package/dist/core/{p-280077b1.entry.js.map → p-9f29ab99.entry.js.map} +0 -0
  364. /package/dist/core/{p-9939eaf8.entry.js.map → p-adf468f4.entry.js.map} +0 -0
  365. /package/dist/core/{p-06df74da.entry.js.map → p-af5eacc1.entry.js.map} +0 -0
  366. /package/dist/core/{p-d932577f.entry.js.map → p-b451f27c.entry.js.map} +0 -0
  367. /package/dist/core/{p-6e3aa59a.entry.js.map → p-ba1c3cf7.entry.js.map} +0 -0
  368. /package/dist/core/{p-7599e6a9.entry.js.map → p-ba40f44a.entry.js.map} +0 -0
  369. /package/dist/core/{p-5e5a29a4.entry.js.map → p-c919c571.entry.js.map} +0 -0
  370. /package/dist/core/{p-56352316.entry.js.map → p-d7f4779d.entry.js.map} +0 -0
  371. /package/dist/core/{p-924495ee.entry.js.map → p-e5957ce0.entry.js.map} +0 -0
  372. /package/dist/core/{p-b9c53ac1.entry.js.map → p-e68485ee.entry.js.map} +0 -0
  373. /package/dist/core/{p-db78e715.entry.js.map → p-e8e0fa96.entry.js.map} +0 -0
  374. /package/dist/core/{p-2ff18bd8.entry.js.map → p-f50a57f3.entry.js.map} +0 -0
  375. /package/dist/core/{p-ca7ca3b8.entry.js.map → p-fd737b7e.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, T as renderFileHiddenInput, j as removeDisabledFalse, w as inheritAttributes, k as getThemeFromContext, i as isSlotUsed, c as isPropDefined, a as onComponentRequiredPropUndefined } from './helpers-b6bbde90.js';
2
+ import { x as IC_INHERITED_ARIA, r as removeDisabledFalse, w as inheritAttributes, T as renderFileHiddenInput, k as getThemeFromContext, i as isSlotUsed, d as isPropDefined, a as onComponentRequiredPropUndefined } from './helpers-24ba0b83.js';
3
3
  import { I as IcThemeForegroundEnum } from './types-6f6b41a5.js';
4
4
  import { c as createPopper } from './popper-0fbeff6d.js';
5
5
 
@@ -35,24 +35,16 @@ const Button = class {
35
35
  this.describedById = null;
36
36
  this.mutationObserver = null;
37
37
  this.hostMutationObserver = null;
38
- this.setViewBox = () => {
39
- let iconEl;
40
- if (this.hasLeftIconSlot()) {
41
- iconEl = this.el.querySelector(`[slot="left-icon"]`);
42
- }
43
- else if (this.hasRightIconSlot()) {
44
- iconEl = this.el.querySelector(`[slot="right-icon"]`);
45
- }
46
- else {
47
- iconEl = null;
48
- }
49
- return iconEl;
50
- };
51
38
  this.handleClick = () => {
52
39
  if ((this.el.type === "submit" || this.el.type === "reset") &&
53
40
  !this.hasRouterSlot() &&
54
41
  !!this.el.closest("FORM")) {
55
- this.handleHiddenFormButtonClick(this.el.closest("FORM"));
42
+ const hiddenFormButton = document.createElement("button");
43
+ hiddenFormButton.setAttribute("type", this.el.type);
44
+ hiddenFormButton.style.display = "none";
45
+ this.el.closest("FORM").appendChild(hiddenFormButton);
46
+ hiddenFormButton.click();
47
+ hiddenFormButton.remove();
56
48
  }
57
49
  };
58
50
  this.onFocus = () => {
@@ -61,11 +53,6 @@ const Button = class {
61
53
  this.onBlur = () => {
62
54
  this.icBlur.emit();
63
55
  };
64
- this.loadingWidth = () => {
65
- if (this.loading) {
66
- this.el.style.setProperty("--min-width", `${this.el.getBoundingClientRect().width}px`);
67
- }
68
- };
69
56
  // triggered when text content of sibling element in light DOM changes
70
57
  this.mutationCallback = () => {
71
58
  this.describedByContent = this.describedByEl.innerText;
@@ -92,23 +79,6 @@ const Button = class {
92
79
  this.hasTooltip =
93
80
  !this.disableTooltip && (!!this.title || this.variant === "icon");
94
81
  };
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
- };
99
- this.isTooltipSilent = () => {
100
- if (this.variant === "icon") {
101
- if (this.title)
102
- return true;
103
- else if (this.ariaLabel)
104
- return true;
105
- else
106
- return false;
107
- }
108
- else {
109
- return false;
110
- }
111
- };
112
82
  this.ariaLabel = null;
113
83
  this.describedByContent = null;
114
84
  this.title = null;
@@ -157,29 +127,26 @@ const Button = class {
157
127
  }
158
128
  }
159
129
  componentWillUpdate() {
160
- this.loadingWidth();
130
+ if (this.loading) {
131
+ this.el.style.setProperty("--min-width", `${this.el.getBoundingClientRect().width}px`);
132
+ }
161
133
  this.setHasTooltip();
162
134
  }
163
135
  componentWillLoad() {
164
- const allInheritedAttributes = inheritAttributes(this.el, [
165
- ...IC_INHERITED_ARIA,
166
- "title",
167
- ]);
168
- const { title, "aria-label": ariaLabel } = allInheritedAttributes, restInheritedAttributes = __rest(allInheritedAttributes, ["title", "aria-label"]);
136
+ const _a = inheritAttributes(this.el, [...IC_INHERITED_ARIA, "title"]), { title, "aria-label": ariaLabel } = _a, restInheritedAttributes = __rest(_a, ["title", "aria-label"]);
169
137
  this.title = title;
170
138
  this.ariaLabel = ariaLabel;
171
139
  this.inheritedAttributes = restInheritedAttributes;
172
140
  removeDisabledFalse(this.disabled, this.el);
173
141
  this.el.setAttribute("exportparts", "button");
174
- const id = this.el.id;
175
- this.id = id !== undefined ? id : null;
142
+ this.id = this.el.id || null;
176
143
  this.setHasTooltip();
177
144
  if (!this.hasTooltip) {
178
145
  const describedById = this.inheritedAttributes["aria-describedby"];
179
146
  if (describedById !== undefined) {
180
147
  this.describedById = describedById;
181
148
  const el = this.el.parentElement.querySelector(`#${describedById}`);
182
- if (el !== undefined && el !== null) {
149
+ if (el) {
183
150
  this.describedByContent = el.innerText;
184
151
  this.describedByEl = el;
185
152
  }
@@ -204,13 +171,17 @@ const Button = class {
204
171
  }
205
172
  }
206
173
  componentWillRender() {
207
- var _a;
208
- (_a = this.setViewBox()) === null || _a === void 0 ? void 0 : _a.setAttribute("viewBox", "0 0 24 24");
174
+ const iconEl = this.hasIconSlot("left")
175
+ ? this.el.querySelector(`[slot="left-icon"]`)
176
+ : this.hasIconSlot("right")
177
+ ? this.el.querySelector(`[slot="right-icon"]`)
178
+ : null;
179
+ iconEl === null || iconEl === void 0 ? void 0 : iconEl.setAttribute("viewBox", "0 0 24 24");
209
180
  }
210
181
  handleHostClick(event) {
211
182
  if (!this.hasRouterSlot()) {
212
183
  if (this.fileUpload) {
213
- this.openFileExplorer();
184
+ renderFileHiddenInput(this.icFileSelection, this.el, this.multiple, this.fileInputName, this.selectedFiles, this.disabled, this.accept);
214
185
  }
215
186
  if (this.disabled || this.loading) {
216
187
  event.stopImmediatePropagation();
@@ -220,33 +191,19 @@ const Button = class {
220
191
  }
221
192
  }
222
193
  }
223
- themeChangeHandler(ev) {
224
- const theme = ev.detail;
225
- this.updateTheme(theme.mode);
194
+ themeChangeHandler({ detail }) {
195
+ this.updateTheme(detail.mode);
226
196
  }
227
197
  /**
228
198
  * Sets focus on the native `button`.
229
199
  */
230
200
  async setFocus() {
231
- if (this.buttonEl) {
232
- this.buttonEl.focus();
233
- }
234
- }
235
- hasIconSlot() {
236
- const iconEl = this.el.querySelector(`[slot="icon"]`);
237
- return iconEl !== null;
238
- }
239
- hasLeftIconSlot() {
240
- const iconEl = this.el.querySelector(`[slot="left-icon"]`);
241
- return iconEl !== null;
242
- }
243
- hasTopIconSlot() {
244
- const iconEl = this.el.querySelector(`[slot="top-icon"]`);
245
- return iconEl !== null;
201
+ var _a;
202
+ (_a = this.buttonEl) === null || _a === void 0 ? void 0 : _a.focus();
246
203
  }
247
- hasRightIconSlot() {
248
- const iconEl = this.el.querySelector(`[slot="right-icon"]`);
249
- return iconEl !== null;
204
+ hasIconSlot(position) {
205
+ const selectorPrefix = position ? `${position}-` : "";
206
+ return this.el.querySelector(`[slot="${selectorPrefix}icon"]`) !== null;
250
207
  }
251
208
  hasRouterSlot() {
252
209
  this.routerSlot = this.el.querySelector('[slot="router-item"]');
@@ -255,16 +212,8 @@ const Button = class {
255
212
  }
256
213
  return !!this.routerSlot;
257
214
  }
258
- handleHiddenFormButtonClick(form) {
259
- const hiddenFormButton = document.createElement("button");
260
- hiddenFormButton.setAttribute("type", this.el.type);
261
- hiddenFormButton.style.display = "none";
262
- form.appendChild(hiddenFormButton);
263
- hiddenFormButton.click();
264
- hiddenFormButton.remove();
265
- }
266
215
  updateTheme(newTheme = null) {
267
- const foregroundColor = getThemeFromContext(this.el, newTheme || null);
216
+ const foregroundColor = getThemeFromContext(this.el, newTheme);
268
217
  if (foregroundColor !== IcThemeForegroundEnum.Default) {
269
218
  this.appearance = foregroundColor;
270
219
  }
@@ -307,15 +256,15 @@ const Button = class {
307
256
  describedBy = this.describedById;
308
257
  }
309
258
  const ButtonContent = () => {
310
- 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() &&
311
- !this.hasLeftIconSlot() &&
312
- !this.hasRightIconSlot() &&
259
+ 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.hasIconSlot("left") && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "left-icon" }))), this.hasIconSlot("top") &&
260
+ !this.hasIconSlot("left") &&
261
+ !this.hasIconSlot("right") &&
313
262
  !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" ||
314
263
  this.variant === "destructive" ||
315
264
  this.appearance === IcThemeForegroundEnum.Dark ||
316
265
  this.appearance === IcThemeForegroundEnum.Light
317
266
  ? "light"
318
- : "dark" }))) : (h("slot", null)), this.hasRightIconSlot() && !this.loading && !this.dropdown && (h("div", { class: { "icon-container": true, "right-icon": true } }, h("slot", { name: "right-icon" }))), this.dropdown &&
267
+ : "dark" }))) : (h("slot", null)), this.hasIconSlot("right") && !this.loading && !this.dropdown && (h("div", { class: { "icon-container": true, "right-icon": true } }, h("slot", { name: "right-icon" }))), this.dropdown &&
319
268
  !this.loading &&
320
269
  this.variant !== "icon" &&
321
270
  this.variant !== "destructive" && (h("span", { class: {
@@ -339,7 +288,7 @@ const Button = class {
339
288
  ["white-background"]: this.variant === "secondary" &&
340
289
  !this.transparentBackground &&
341
290
  this.appearance !== "light",
342
- }, 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 &&
291
+ }, 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.variant === "icon" && (!!title || !!ariaLabel) }, this.hasRouterSlot() ? (h("slot", { name: "router-item" })) : (h(ButtonContent, null)))), isSlotUsed(this.el, "badge") && h("slot", { name: "badge" }), !this.hasTooltip &&
343
292
  (this.hasRouterSlot() ? (h("slot", { name: "router-item" })) : (h(ButtonContent, null))), this.describedByContent && (h("span", { id: describedBy, class: "ic-button-describedby" }, this.describedByContent))));
344
293
  }
345
294
  static get delegatesFocus() { return true; }
@@ -350,7 +299,7 @@ const Button = class {
350
299
  };
351
300
  Button.style = icButtonCss;
352
301
 
353
- const icLoadingIndicatorCss = "/*! 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:block;--linear-border-radius:0.25rem;--inner-color:var(--ic-action-default);--outer-color:var(--ic-architectural-100);--label-color:var(--ic-color-primary-text);--margin:none;--linear-line-height:var(--ic-space-xs)}:host(.light){--inner-color:var(--ic-architectural-white);--outer-color:var(--ic-architectural-800);--label-color:var(--ic-architectural-white)}.ic-loading-container{display:flex;flex-direction:column;justify-content:center;align-items:center}:host([size=\"small\"]){--circular-diameter:2.5rem;--linear-line-height:var(--ic-space-xxs)}:host([size=\"default\"]){--circular-diameter:5rem}:host([size=\"large\"]){--circular-diameter:7.5rem}:host([size=\"icon\"]){display:inline-block;--margin:var(--ic-space-xxxs);--circular-diameter:1.25rem}:host(.label){--margin:0 0 var(--ic-space-xs) 0}.ic-loading-label{white-space:nowrap;color:var(--label-color);margin-left:var(--label-margin-left)}.ic-loading-circular-outer{height:var(--circular-diameter);width:var(--circular-diameter)}.ic-loading-circular-outer.indeterminate{animation:circular-animation 1s linear;animation-iteration-count:infinite}@keyframes circular-animation{100%{transform:rotate(360deg)}}.ic-loading-circular-outer,.ic-loading-linear-outer{margin:var(--margin)}.ic-loading-linear-outer{background-color:var(--outer-color);height:var(--linear-line-height);width:100%;border-radius:var(--linear-border-radius);overflow:hidden}.ic-loading-linear-inner{position:relative;height:100%;background-color:var(--inner-color);border-radius:var(--linear-border-radius)}.indeterminate>.ic-loading-linear-inner{animation:linear-animation 2s infinite}.determinate>.ic-loading-linear-inner{transition:width 0.5s;width:var(--linear-width)}:host(.full-width){--linear-border-radius:none}@keyframes linear-animation{0%{width:0%;left:-1%}25%{width:0%;left:-1%}50%{width:101%;left:-1%}75%{width:0%;left:101%}100%{width:0%;left:101%}}.ic-loading-circular-svg{position:relative;width:100%;height:100%;transform:rotate(-90deg)}.ic-loading-circular-svg circle{width:100%;height:100%;fill:none;stroke:var(--outer-color);stroke-width:var(--circular-line-width);stroke-linecap:round}.ic-loading-circular-svg circle:nth-child(2){--circular-indeterminate:calc(\n (0.25 * var(--stroke-dasharray)) - var(--stroke-dasharray)\n );stroke-dasharray:var(--stroke-dasharray), var(--stroke-dasharray);stroke-dashoffset:var(--stroke-dashoffset, var(--circular-indeterminate));stroke:var(--compact-step-inner-color, var(--inner-color))}:host(.inner-label) .ic-loading-circular-inner{display:grid}:host(.inner-label) .ic-loading-circular-svg,.inner-text{grid-column:1;grid-row:1}:host(.not-required.compact-step-progress-indicator) .ic-loading-circular-svg circle:nth-child(2){stroke:var(--ic-architectural-300)}.inner-text{display:flex;align-items:center;justify-content:center;width:var(--ic-space-lg);height:inherit;overflow:hidden;margin:auto;color:var(--ic-status-info)}:host(.not-required.compact-step-progress-indicator) .inner-text{color:var(--ic-color-tertiary-text)}@media (forced-colors: active){.indeterminate>.ic-loading-circular-inner{forced-color-adjust:none}.ic-loading-linear-outer{border:var(--ic-hc-border)}.ic-loading-linear-inner{background-color:canvastext}.ic-loading-circular-svg circle{stroke:Background}.ic-loading-circular-svg circle:nth-child(2){stroke:canvastext}:host(.not-required.compact-step-progress-indicator) .ic-loading-circular-svg circle:nth-child(2){stroke:GrayText}}";
302
+ const icLoadingIndicatorCss = "/*! 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:block;--linear-border-radius:0.25rem;--inner-color:var(--ic-action-default);--outer-color:var(--ic-architectural-100);--label-color:var(--ic-color-primary-text);--margin:none;--linear-line-height:var(--ic-space-xs)}:host(.light){--inner-color:var(--ic-architectural-white);--outer-color:var(--ic-architectural-800);--label-color:var(--ic-architectural-white)}.ic-loading-container{display:flex;flex-direction:column;justify-content:center;align-items:center}:host([size=\"small\"]){--circular-diameter:2.5rem;--linear-line-height:var(--ic-space-xxs)}:host([size=\"default\"]){--circular-diameter:5rem}:host([size=\"large\"]){--circular-diameter:7.5rem}:host([size=\"icon\"]){display:inline-block;--margin:var(--ic-space-xxxs);--circular-diameter:1.25rem}:host(.label){--margin:0 0 var(--ic-space-xs) 0}.ic-loading-label{white-space:nowrap;color:var(--label-color);margin-left:var(--label-margin-left)}.ic-loading-circular-outer{height:var(--circular-diameter);width:var(--circular-diameter)}.ic-loading-circular-outer.indeterminate{animation:circular-animation 1s linear;animation-iteration-count:infinite}@keyframes circular-animation{100%{transform:rotate(360deg)}}.ic-loading-circular-outer,.ic-loading-linear-outer{margin:var(--margin)}.ic-loading-linear-outer{background-color:var(--outer-color);height:var(--linear-line-height);width:100%;border-radius:var(--linear-border-radius);overflow:hidden}.ic-loading-linear-inner{position:relative;height:100%;background-color:var(--inner-color);border-radius:var(--linear-border-radius)}.indeterminate>.ic-loading-linear-inner{animation:linear-animation 2s infinite}.determinate>.ic-loading-linear-inner{transition:width 0.5s;width:var(--linear-width)}:host(.full-width){--linear-border-radius:none}@keyframes linear-animation{0%{width:0%;left:-1%}25%{width:0%;left:-1%}50%{width:101%;left:-1%}75%{width:0%;left:101%}100%{width:0%;left:101%}}.ic-loading-circular-svg{position:relative;width:100%;height:100%;transform:rotate(-90deg)}.ic-loading-circular-svg circle{width:100%;height:100%;fill:none;stroke:var(--compact-step-outer-color, var(--outer-color));stroke-width:var(--circular-line-width);stroke-linecap:round}.ic-loading-circular-svg circle:nth-child(2){--circular-indeterminate:calc(\n (0.25 * var(--stroke-dasharray)) - var(--stroke-dasharray)\n );stroke-dasharray:var(--stroke-dasharray), var(--stroke-dasharray);stroke-dashoffset:var(--stroke-dashoffset, var(--circular-indeterminate));stroke:var(--compact-step-inner-color, var(--inner-color))}:host(.inner-label) .ic-loading-circular-inner{display:grid}:host(.inner-label) .ic-loading-circular-svg,.inner-text{grid-column:1;grid-row:1}:host(.not-required.compact-step-progress-indicator) .ic-loading-circular-svg circle:nth-child(2){stroke:var(--ic-architectural-300)}.inner-text{display:flex;align-items:center;justify-content:center;width:var(--ic-space-lg);height:inherit;overflow:hidden;margin:auto;color:var(--compact-step-inner-color, var(--ic-status-info))}:host(.not-required.compact-step-progress-indicator) .inner-text{color:var(--ic-color-tertiary-text)}:host(.light.not-required.compact-step-progress-indicator) .inner-text{color:var(--ic-architectural-400)}@media (forced-colors: active){.indeterminate>.ic-loading-circular-inner{forced-color-adjust:none}.ic-loading-linear-outer{border:var(--ic-hc-border)}.ic-loading-linear-inner{background-color:canvastext}.ic-loading-circular-svg circle{stroke:Background}.ic-loading-circular-svg circle:nth-child(2){stroke:canvastext}:host(.not-required.compact-step-progress-indicator) .ic-loading-circular-svg circle:nth-child(2){stroke:GrayText}}";
354
303
 
355
304
  const LoadingIndicator = class {
356
305
  constructor(hostRef) {