@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
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-f982899d.js');
6
- const helpers = require('./helpers-3e526fb8.js');
6
+ const helpers = require('./helpers-88e018cf.js');
7
7
  const types = require('./types-dc22e301.js');
8
8
  const popper = require('./popper-31badbf8.js');
9
9
 
@@ -39,24 +39,16 @@ const Button = class {
39
39
  this.describedById = null;
40
40
  this.mutationObserver = null;
41
41
  this.hostMutationObserver = null;
42
- this.setViewBox = () => {
43
- let iconEl;
44
- if (this.hasLeftIconSlot()) {
45
- iconEl = this.el.querySelector(`[slot="left-icon"]`);
46
- }
47
- else if (this.hasRightIconSlot()) {
48
- iconEl = this.el.querySelector(`[slot="right-icon"]`);
49
- }
50
- else {
51
- iconEl = null;
52
- }
53
- return iconEl;
54
- };
55
42
  this.handleClick = () => {
56
43
  if ((this.el.type === "submit" || this.el.type === "reset") &&
57
44
  !this.hasRouterSlot() &&
58
45
  !!this.el.closest("FORM")) {
59
- this.handleHiddenFormButtonClick(this.el.closest("FORM"));
46
+ const hiddenFormButton = document.createElement("button");
47
+ hiddenFormButton.setAttribute("type", this.el.type);
48
+ hiddenFormButton.style.display = "none";
49
+ this.el.closest("FORM").appendChild(hiddenFormButton);
50
+ hiddenFormButton.click();
51
+ hiddenFormButton.remove();
60
52
  }
61
53
  };
62
54
  this.onFocus = () => {
@@ -65,11 +57,6 @@ const Button = class {
65
57
  this.onBlur = () => {
66
58
  this.icBlur.emit();
67
59
  };
68
- this.loadingWidth = () => {
69
- if (this.loading) {
70
- this.el.style.setProperty("--min-width", `${this.el.getBoundingClientRect().width}px`);
71
- }
72
- };
73
60
  // triggered when text content of sibling element in light DOM changes
74
61
  this.mutationCallback = () => {
75
62
  this.describedByContent = this.describedByEl.innerText;
@@ -96,23 +83,6 @@ const Button = class {
96
83
  this.hasTooltip =
97
84
  !this.disableTooltip && (!!this.title || this.variant === "icon");
98
85
  };
99
- // file explorer is only opened if the property fileUpload is set to 'true'
100
- this.openFileExplorer = () => {
101
- helpers.renderFileHiddenInput(this.icFileSelection, this.el, this.multiple, this.fileInputName, this.selectedFiles, this.disabled, this.accept);
102
- };
103
- this.isTooltipSilent = () => {
104
- if (this.variant === "icon") {
105
- if (this.title)
106
- return true;
107
- else if (this.ariaLabel)
108
- return true;
109
- else
110
- return false;
111
- }
112
- else {
113
- return false;
114
- }
115
- };
116
86
  this.ariaLabel = null;
117
87
  this.describedByContent = null;
118
88
  this.title = null;
@@ -161,29 +131,26 @@ const Button = class {
161
131
  }
162
132
  }
163
133
  componentWillUpdate() {
164
- this.loadingWidth();
134
+ if (this.loading) {
135
+ this.el.style.setProperty("--min-width", `${this.el.getBoundingClientRect().width}px`);
136
+ }
165
137
  this.setHasTooltip();
166
138
  }
167
139
  componentWillLoad() {
168
- const allInheritedAttributes = helpers.inheritAttributes(this.el, [
169
- ...helpers.IC_INHERITED_ARIA,
170
- "title",
171
- ]);
172
- const { title, "aria-label": ariaLabel } = allInheritedAttributes, restInheritedAttributes = __rest(allInheritedAttributes, ["title", "aria-label"]);
140
+ const _a = helpers.inheritAttributes(this.el, [...helpers.IC_INHERITED_ARIA, "title"]), { title, "aria-label": ariaLabel } = _a, restInheritedAttributes = __rest(_a, ["title", "aria-label"]);
173
141
  this.title = title;
174
142
  this.ariaLabel = ariaLabel;
175
143
  this.inheritedAttributes = restInheritedAttributes;
176
144
  helpers.removeDisabledFalse(this.disabled, this.el);
177
145
  this.el.setAttribute("exportparts", "button");
178
- const id = this.el.id;
179
- this.id = id !== undefined ? id : null;
146
+ this.id = this.el.id || null;
180
147
  this.setHasTooltip();
181
148
  if (!this.hasTooltip) {
182
149
  const describedById = this.inheritedAttributes["aria-describedby"];
183
150
  if (describedById !== undefined) {
184
151
  this.describedById = describedById;
185
152
  const el = this.el.parentElement.querySelector(`#${describedById}`);
186
- if (el !== undefined && el !== null) {
153
+ if (el) {
187
154
  this.describedByContent = el.innerText;
188
155
  this.describedByEl = el;
189
156
  }
@@ -208,13 +175,17 @@ const Button = class {
208
175
  }
209
176
  }
210
177
  componentWillRender() {
211
- var _a;
212
- (_a = this.setViewBox()) === null || _a === void 0 ? void 0 : _a.setAttribute("viewBox", "0 0 24 24");
178
+ const iconEl = this.hasIconSlot("left")
179
+ ? this.el.querySelector(`[slot="left-icon"]`)
180
+ : this.hasIconSlot("right")
181
+ ? this.el.querySelector(`[slot="right-icon"]`)
182
+ : null;
183
+ iconEl === null || iconEl === void 0 ? void 0 : iconEl.setAttribute("viewBox", "0 0 24 24");
213
184
  }
214
185
  handleHostClick(event) {
215
186
  if (!this.hasRouterSlot()) {
216
187
  if (this.fileUpload) {
217
- this.openFileExplorer();
188
+ helpers.renderFileHiddenInput(this.icFileSelection, this.el, this.multiple, this.fileInputName, this.selectedFiles, this.disabled, this.accept);
218
189
  }
219
190
  if (this.disabled || this.loading) {
220
191
  event.stopImmediatePropagation();
@@ -224,33 +195,19 @@ const Button = class {
224
195
  }
225
196
  }
226
197
  }
227
- themeChangeHandler(ev) {
228
- const theme = ev.detail;
229
- this.updateTheme(theme.mode);
198
+ themeChangeHandler({ detail }) {
199
+ this.updateTheme(detail.mode);
230
200
  }
231
201
  /**
232
202
  * Sets focus on the native `button`.
233
203
  */
234
204
  async setFocus() {
235
- if (this.buttonEl) {
236
- this.buttonEl.focus();
237
- }
238
- }
239
- hasIconSlot() {
240
- const iconEl = this.el.querySelector(`[slot="icon"]`);
241
- return iconEl !== null;
242
- }
243
- hasLeftIconSlot() {
244
- const iconEl = this.el.querySelector(`[slot="left-icon"]`);
245
- return iconEl !== null;
246
- }
247
- hasTopIconSlot() {
248
- const iconEl = this.el.querySelector(`[slot="top-icon"]`);
249
- return iconEl !== null;
205
+ var _a;
206
+ (_a = this.buttonEl) === null || _a === void 0 ? void 0 : _a.focus();
250
207
  }
251
- hasRightIconSlot() {
252
- const iconEl = this.el.querySelector(`[slot="right-icon"]`);
253
- return iconEl !== null;
208
+ hasIconSlot(position) {
209
+ const selectorPrefix = position ? `${position}-` : "";
210
+ return this.el.querySelector(`[slot="${selectorPrefix}icon"]`) !== null;
254
211
  }
255
212
  hasRouterSlot() {
256
213
  this.routerSlot = this.el.querySelector('[slot="router-item"]');
@@ -259,16 +216,8 @@ const Button = class {
259
216
  }
260
217
  return !!this.routerSlot;
261
218
  }
262
- handleHiddenFormButtonClick(form) {
263
- const hiddenFormButton = document.createElement("button");
264
- hiddenFormButton.setAttribute("type", this.el.type);
265
- hiddenFormButton.style.display = "none";
266
- form.appendChild(hiddenFormButton);
267
- hiddenFormButton.click();
268
- hiddenFormButton.remove();
269
- }
270
219
  updateTheme(newTheme = null) {
271
- const foregroundColor = helpers.getThemeFromContext(this.el, newTheme || null);
220
+ const foregroundColor = helpers.getThemeFromContext(this.el, newTheme);
272
221
  if (foregroundColor !== types.IcThemeForegroundEnum.Default) {
273
222
  this.appearance = foregroundColor;
274
223
  }
@@ -311,15 +260,15 @@ const Button = class {
311
260
  describedBy = this.describedById;
312
261
  }
313
262
  const ButtonContent = () => {
314
- return (index.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 && (index.h("div", { class: "icon-container" }, index.h("slot", { name: "icon" }))), this.hasLeftIconSlot() && !this.loading && (index.h("div", { class: "icon-container" }, index.h("slot", { name: "left-icon" }))), this.hasTopIconSlot() &&
315
- !this.hasLeftIconSlot() &&
316
- !this.hasRightIconSlot() &&
263
+ return (index.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 && (index.h("div", { class: "icon-container" }, index.h("slot", { name: "icon" }))), this.hasIconSlot("left") && !this.loading && (index.h("div", { class: "icon-container" }, index.h("slot", { name: "left-icon" }))), this.hasIconSlot("top") &&
264
+ !this.hasIconSlot("left") &&
265
+ !this.hasIconSlot("right") &&
317
266
  !this.loading && (index.h("div", { class: "icon-container" }, index.h("slot", { name: "top-icon" }))), this.loading ? (index.h("div", { class: "loading-container" }, index.h("ic-loading-indicator", { type: "linear", appearance: this.variant === "primary" ||
318
267
  this.variant === "destructive" ||
319
268
  this.appearance === types.IcThemeForegroundEnum.Dark ||
320
269
  this.appearance === types.IcThemeForegroundEnum.Light
321
270
  ? "light"
322
- : "dark" }))) : (index.h("slot", null)), this.hasRightIconSlot() && !this.loading && !this.dropdown && (index.h("div", { class: { "icon-container": true, "right-icon": true } }, index.h("slot", { name: "right-icon" }))), this.dropdown &&
271
+ : "dark" }))) : (index.h("slot", null)), this.hasIconSlot("right") && !this.loading && !this.dropdown && (index.h("div", { class: { "icon-container": true, "right-icon": true } }, index.h("slot", { name: "right-icon" }))), this.dropdown &&
323
272
  !this.loading &&
324
273
  this.variant !== "icon" &&
325
274
  this.variant !== "destructive" && (index.h("span", { class: {
@@ -343,7 +292,7 @@ const Button = class {
343
292
  ["white-background"]: this.variant === "secondary" &&
344
293
  !this.transparentBackground &&
345
294
  this.appearance !== "light",
346
- }, onClick: this.handleClick, "aria-owns": this.ariaOwnsId, "aria-controls": this.ariaControlsId, "aria-expanded": this.dropdown && `${this.dropdownExpanded}` }, this.hasTooltip && (index.h("ic-tooltip", { id: describedBy, label: title || ariaLabel, target: buttonId, placement: this.tooltipPlacement, silent: this.isTooltipSilent() }, this.hasRouterSlot() ? (index.h("slot", { name: "router-item" })) : (index.h(ButtonContent, null)))), helpers.isSlotUsed(this.el, "badge") && index.h("slot", { name: "badge" }), !this.hasTooltip &&
295
+ }, onClick: this.handleClick, "aria-owns": this.ariaOwnsId, "aria-controls": this.ariaControlsId, "aria-expanded": this.dropdown && `${this.dropdownExpanded}` }, this.hasTooltip && (index.h("ic-tooltip", { id: describedBy, label: title || ariaLabel, target: buttonId, placement: this.tooltipPlacement, silent: this.variant === "icon" && (!!title || !!ariaLabel) }, this.hasRouterSlot() ? (index.h("slot", { name: "router-item" })) : (index.h(ButtonContent, null)))), helpers.isSlotUsed(this.el, "badge") && index.h("slot", { name: "badge" }), !this.hasTooltip &&
347
296
  (this.hasRouterSlot() ? (index.h("slot", { name: "router-item" })) : (index.h(ButtonContent, null))), this.describedByContent && (index.h("span", { id: describedBy, class: "ic-button-describedby" }, this.describedByContent))));
348
297
  }
349
298
  static get delegatesFocus() { return true; }
@@ -354,7 +303,7 @@ const Button = class {
354
303
  };
355
304
  Button.style = icButtonCss;
356
305
 
357
- 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}}";
306
+ 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}}";
358
307
 
359
308
  const LoadingIndicator = class {
360
309
  constructor(hostRef) {