@ukic/web-components 3.0.0-alpha.9 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1061) hide show
  1. package/README.md +2 -1
  2. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  3. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  4. package/dist/cjs/core.cjs.js +13 -11
  5. package/dist/cjs/core.cjs.js.map +1 -1
  6. package/dist/cjs/{helpers-eca4c27e.js → helpers-a0a128bd.js} +71 -26
  7. package/dist/cjs/helpers-a0a128bd.js.map +1 -0
  8. package/dist/cjs/ic-accordion-group.cjs.entry.js +31 -14
  9. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ic-accordion.cjs.entry.js +65 -42
  11. package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-alert.cjs.entry.js +38 -17
  13. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-back-to-top.cjs.entry.js +29 -15
  15. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-badge.cjs.entry.js +60 -18
  17. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  18. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +53 -37
  19. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ic-breadcrumb.cjs.entry.js +38 -23
  21. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  22. package/dist/cjs/ic-button_3.cjs.entry.js +304 -144
  23. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  24. package/dist/cjs/ic-card-vertical.cjs.entry.js +54 -33
  25. package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -1
  26. package/dist/cjs/ic-checkbox-group.cjs.entry.js +33 -10
  27. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  28. package/dist/cjs/ic-checkbox.cjs.entry.js +49 -30
  29. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  30. package/dist/cjs/ic-chip.cjs.entry.js +45 -24
  31. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  32. package/dist/cjs/ic-classification-banner.cjs.entry.js +22 -6
  33. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  34. package/dist/cjs/ic-data-list.cjs.entry.js +11 -5
  35. package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
  36. package/dist/cjs/ic-data-row.cjs.entry.js +28 -18
  37. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  38. package/dist/cjs/ic-dialog.cjs.entry.js +164 -115
  39. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  40. package/dist/cjs/ic-divider.cjs.entry.js +35 -15
  41. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  42. package/dist/cjs/ic-empty-state.cjs.entry.js +19 -11
  43. package/dist/cjs/ic-empty-state.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ic-footer-link-group.cjs.entry.js +8 -8
  45. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ic-footer-link.cjs.entry.js +12 -11
  47. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-footer.cjs.entry.js +32 -19
  49. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ic-hero.cjs.entry.js +29 -17
  51. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +32 -20
  53. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +126 -68
  55. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ic-input-label_2.cjs.entry.js +45 -17
  57. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ic-link.cjs.entry.js +29 -22
  59. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  60. package/dist/cjs/ic-menu-group.cjs.entry.js +5 -5
  61. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ic-menu-item.cjs.entry.js +21 -19
  63. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ic-navigation-button.cjs.entry.js +26 -20
  65. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ic-navigation-group.cjs.entry.js +63 -39
  67. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  68. package/dist/cjs/ic-navigation-item.cjs.entry.js +70 -49
  69. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  70. package/dist/cjs/ic-navigation-menu.cjs.entry.js +55 -33
  71. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  72. package/dist/cjs/ic-page-header.cjs.entry.js +49 -28
  73. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ic-pagination-item.cjs.entry.js +28 -15
  75. package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ic-pagination.cjs.entry.js +61 -28
  77. package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-popover-menu.cjs.entry.js +74 -42
  79. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  80. package/dist/cjs/ic-radio-group.cjs.entry.js +55 -29
  81. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  82. package/dist/cjs/ic-radio-option.cjs.entry.js +36 -24
  83. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  84. package/dist/cjs/ic-search-bar.cjs.entry.js +154 -64
  85. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  86. package/dist/cjs/ic-section-container.cjs.entry.js +12 -5
  87. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
  88. package/dist/cjs/ic-select.cjs.entry.js +234 -137
  89. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ic-side-navigation.cjs.entry.js +107 -71
  91. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  92. package/dist/cjs/ic-skeleton.cjs.entry.js +11 -4
  93. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  94. package/dist/cjs/ic-skip-link.cjs.entry.js +55 -0
  95. package/dist/cjs/ic-skip-link.cjs.entry.js.map +1 -0
  96. package/dist/cjs/ic-status-tag.cjs.entry.js +26 -7
  97. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  98. package/dist/cjs/ic-step.cjs.entry.js +35 -33
  99. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  100. package/dist/cjs/ic-stepper.cjs.entry.js +50 -35
  101. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  102. package/dist/cjs/ic-switch.cjs.entry.js +50 -22
  103. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  104. package/dist/cjs/ic-tab-context.cjs.entry.js +45 -26
  105. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  106. package/dist/cjs/ic-tab-group.cjs.entry.js +14 -9
  107. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  108. package/dist/cjs/ic-tab-panel.cjs.entry.js +16 -12
  109. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  110. package/dist/cjs/ic-tab.cjs.entry.js +22 -16
  111. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  112. package/dist/cjs/ic-text-field.cjs.entry.js +205 -76
  113. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  114. package/dist/cjs/ic-theme.cjs.entry.js +13 -7
  115. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  116. package/dist/cjs/ic-toast-region.cjs.entry.js +2 -3
  117. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  118. package/dist/cjs/ic-toast.cjs.entry.js +30 -22
  119. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  120. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +61 -29
  121. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
  122. package/dist/cjs/ic-toggle-button.cjs.entry.js +82 -50
  123. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  124. package/dist/cjs/ic-top-navigation.cjs.entry.js +59 -34
  125. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  126. package/dist/cjs/ic-typography.cjs.entry.js +53 -27
  127. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  128. package/dist/cjs/index-d337cd8a.js +2611 -0
  129. package/dist/cjs/index-d337cd8a.js.map +1 -0
  130. package/dist/cjs/loader.cjs.js +5 -3
  131. package/dist/cjs/loader.cjs.js.map +1 -1
  132. package/dist/collection/collection-manifest.json +6 -5
  133. package/dist/collection/components/ic-accordion/ic-accordion.js +80 -46
  134. package/dist/collection/components/ic-accordion/ic-accordion.js.map +1 -1
  135. package/dist/collection/components/ic-accordion/ic-accordion.stories.js +611 -0
  136. package/dist/collection/components/ic-accordion-group/ic-accordion-group.js +49 -21
  137. package/dist/collection/components/ic-accordion-group/ic-accordion-group.js.map +1 -1
  138. package/dist/collection/components/ic-alert/ic-alert.css +1 -1
  139. package/dist/collection/components/ic-alert/ic-alert.js +58 -22
  140. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  141. package/dist/collection/components/ic-alert/ic-alert.stories.js +271 -0
  142. package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +49 -18
  143. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +59 -14
  144. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
  145. package/dist/collection/components/ic-back-to-top/ic-back-to-top.stories.js +216 -0
  146. package/dist/collection/components/ic-back-to-top/ic-back-to-top.types.js.map +1 -1
  147. package/dist/collection/components/ic-badge/ic-badge.css +4 -0
  148. package/dist/collection/components/ic-badge/ic-badge.js +104 -29
  149. package/dist/collection/components/ic-badge/ic-badge.js.map +1 -1
  150. package/dist/collection/components/ic-badge/ic-badge.stories.js +1092 -0
  151. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +14 -0
  152. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +51 -25
  153. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
  154. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +63 -40
  155. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
  156. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.stories.js +362 -0
  157. package/dist/collection/components/ic-button/ic-button.css +31 -27
  158. package/dist/collection/components/ic-button/ic-button.js +269 -98
  159. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  160. package/dist/collection/components/ic-button/ic-button.stories.js +2387 -0
  161. package/dist/collection/components/ic-card-vertical/ic-card-vertical.css +6 -1
  162. package/dist/collection/components/ic-card-vertical/ic-card-vertical.js +88 -42
  163. package/dist/collection/components/ic-card-vertical/ic-card-vertical.js.map +1 -1
  164. package/dist/collection/components/ic-card-vertical/ic-card-vertical.stories.js +1050 -0
  165. package/dist/collection/components/ic-checkbox/ic-checkbox.css +29 -0
  166. package/dist/collection/components/ic-checkbox/ic-checkbox.js +91 -45
  167. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  168. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +4 -0
  169. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +63 -21
  170. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  171. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.stories.js +726 -0
  172. package/dist/collection/components/ic-chip/ic-chip.css +2 -2
  173. package/dist/collection/components/ic-chip/ic-chip.js +67 -30
  174. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  175. package/dist/collection/components/ic-chip/ic-chip.stories.js +980 -0
  176. package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +4 -0
  177. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +33 -8
  178. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
  179. package/dist/collection/components/ic-classification-banner/ic-classification-banner.stories.js +131 -0
  180. package/dist/collection/components/ic-data-list/ic-data-list.js +18 -7
  181. package/dist/collection/components/ic-data-list/ic-data-list.js.map +1 -1
  182. package/dist/collection/components/ic-data-list/ic-data-list.stories.js +493 -0
  183. package/dist/collection/components/ic-data-row/ic-data-row.js +38 -21
  184. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
  185. package/dist/collection/components/ic-dialog/ic-dialog.css +0 -6
  186. package/dist/collection/components/ic-dialog/ic-dialog.js +218 -146
  187. package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
  188. package/dist/collection/components/ic-dialog/ic-dialog.stories.js +1118 -0
  189. package/dist/collection/components/ic-divider/ic-divider.css +23 -69
  190. package/dist/collection/components/ic-divider/ic-divider.js +55 -22
  191. package/dist/collection/components/ic-divider/ic-divider.js.map +1 -1
  192. package/dist/collection/components/ic-divider/ic-divider.stories.js +394 -0
  193. package/dist/collection/components/ic-empty-state/ic-empty-state.css +15 -0
  194. package/dist/collection/components/ic-empty-state/ic-empty-state.js +58 -13
  195. package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +1 -1
  196. package/dist/collection/components/ic-empty-state/ic-empty-state.stories.js +404 -0
  197. package/dist/collection/components/ic-footer/ic-footer.js +49 -25
  198. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  199. package/dist/collection/components/ic-footer/ic-footer.stories.js +384 -0
  200. package/dist/collection/components/ic-footer-link/ic-footer-link.css +18 -0
  201. package/dist/collection/components/ic-footer-link/ic-footer-link.js +26 -15
  202. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
  203. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +6 -5
  204. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
  205. package/dist/collection/components/ic-hero/ic-hero.css +1 -1
  206. package/dist/collection/components/ic-hero/ic-hero.js +54 -25
  207. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  208. package/dist/collection/components/ic-hero/ic-hero.stories.js +448 -0
  209. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +40 -21
  210. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
  211. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +11 -1
  212. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +55 -20
  213. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
  214. package/dist/collection/components/ic-input-container/ic-input-container.js +16 -6
  215. package/dist/collection/components/ic-input-container/ic-input-container.js.map +1 -1
  216. package/dist/collection/components/ic-input-label/ic-input-label.js +48 -11
  217. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
  218. package/dist/collection/components/ic-input-validation/ic-input-validation.js +31 -14
  219. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
  220. package/dist/collection/components/ic-link/ic-link.css +17 -8
  221. package/dist/collection/components/ic-link/ic-link.js +49 -28
  222. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  223. package/dist/collection/components/ic-link/ic-link.stories.js +85 -0
  224. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +124 -66
  225. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  226. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.stories.js +464 -0
  227. package/dist/collection/components/ic-menu/ic-menu.js +136 -74
  228. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  229. package/dist/collection/components/ic-menu/ic-menu.types.js.map +1 -1
  230. package/dist/collection/components/ic-menu-group/ic-menu-group.js +4 -5
  231. package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +1 -1
  232. package/dist/collection/components/ic-menu-item/ic-menu-item.css +1 -0
  233. package/dist/collection/components/ic-menu-item/ic-menu-item.js +53 -28
  234. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
  235. package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +4 -0
  236. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +44 -23
  237. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  238. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +47 -49
  239. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +126 -41
  240. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  241. package/dist/collection/components/ic-navigation-group/ic-navigation-group.types.js +2 -0
  242. package/dist/collection/components/ic-navigation-group/ic-navigation-group.types.js.map +1 -0
  243. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +8 -37
  244. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +107 -63
  245. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  246. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +2 -2
  247. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +61 -34
  248. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
  249. package/dist/collection/components/ic-page-header/ic-page-header.js +72 -34
  250. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
  251. package/dist/collection/components/ic-page-header/ic-page-header.stories.js +823 -0
  252. package/dist/collection/components/ic-pagination/ic-pagination.css +10 -2
  253. package/dist/collection/components/ic-pagination/ic-pagination.js +100 -44
  254. package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
  255. package/dist/collection/components/ic-pagination/ic-pagination.stories.js +164 -0
  256. package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +19 -3
  257. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +48 -22
  258. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -1
  259. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +97 -52
  260. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
  261. package/dist/collection/components/ic-popover-menu/ic-popover-menu.stories.js +573 -0
  262. package/dist/collection/components/ic-radio-group/ic-radio-group.js +90 -43
  263. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  264. package/dist/collection/components/ic-radio-group/ic-radio-group.stories.js +474 -0
  265. package/dist/collection/components/ic-radio-option/ic-radio-option.css +20 -0
  266. package/dist/collection/components/ic-radio-option/ic-radio-option.js +64 -33
  267. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  268. package/dist/collection/components/ic-search-bar/ic-search-bar.css +6 -13
  269. package/dist/collection/components/ic-search-bar/ic-search-bar.js +252 -101
  270. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  271. package/dist/collection/components/ic-search-bar/ic-search-bar.stories.js +593 -0
  272. package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +1 -1
  273. package/dist/collection/components/ic-section-container/ic-section-container.js +15 -5
  274. package/dist/collection/components/ic-section-container/ic-section-container.js.map +1 -1
  275. package/dist/collection/components/ic-section-container/ic-section-container.stories.js +62 -0
  276. package/dist/collection/components/ic-select/ic-select.css +12 -2
  277. package/dist/collection/components/ic-select/ic-select.js +333 -177
  278. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  279. package/dist/collection/components/ic-select/ic-select_(multi).stories.js +892 -0
  280. package/dist/collection/components/ic-select/ic-select_(searchable).stories.js +965 -0
  281. package/dist/collection/components/ic-select/ic-select_(single).stories.js +790 -0
  282. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +11 -3
  283. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +146 -89
  284. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  285. package/dist/collection/components/ic-side-navigation/ic-side-navigation.stories.js +2547 -0
  286. package/dist/collection/components/ic-skeleton/ic-skeleton.js +14 -4
  287. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
  288. package/dist/collection/components/ic-skeleton/ic-skeleton.stories.js +143 -0
  289. package/dist/collection/components/ic-skip-link/ic-skip-link.css +46 -0
  290. package/dist/collection/components/ic-skip-link/ic-skip-link.js +203 -0
  291. package/dist/collection/components/ic-skip-link/ic-skip-link.js.map +1 -0
  292. package/dist/collection/components/ic-skip-link/ic-skip-link.stories.js +504 -0
  293. package/dist/collection/components/ic-status-tag/ic-status-tag.css +2 -1
  294. package/dist/collection/components/ic-status-tag/ic-status-tag.js +41 -9
  295. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
  296. package/dist/collection/components/ic-status-tag/ic-status-tag.stories.js +196 -0
  297. package/dist/collection/components/ic-step/ic-step.css +8 -31
  298. package/dist/collection/components/ic-step/ic-step.js +67 -40
  299. package/dist/collection/components/ic-step/ic-step.js.map +1 -1
  300. package/dist/collection/components/ic-stepper/ic-stepper.js +61 -37
  301. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  302. package/dist/collection/components/ic-stepper/ic-stepper.stories.js +281 -0
  303. package/dist/collection/components/ic-switch/ic-switch.js +72 -27
  304. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  305. package/dist/collection/components/ic-switch/ic-switch.stories.js +149 -0
  306. package/dist/collection/components/ic-tab/ic-tab.css +13 -3
  307. package/dist/collection/components/ic-tab/ic-tab.js +40 -21
  308. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  309. package/dist/collection/components/ic-tab-context/ic-tab-context.js +60 -31
  310. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
  311. package/dist/collection/components/ic-tab-context/ic-tabs.stories.js +316 -0
  312. package/dist/collection/components/ic-tab-group/ic-tab-group.js +21 -9
  313. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
  314. package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +5 -1
  315. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +50 -14
  316. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
  317. package/dist/collection/components/ic-text-field/ic-text-field.css +1 -0
  318. package/dist/collection/components/ic-text-field/ic-text-field.js +432 -148
  319. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  320. package/dist/collection/components/ic-text-field/ic-text-field.stories.js +1048 -0
  321. package/dist/collection/components/ic-theme/ic-theme.js +19 -9
  322. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
  323. package/dist/collection/components/ic-theme/ic-theme.stories.js +434 -0
  324. package/dist/collection/components/ic-toast/ic-toast.css +1 -1
  325. package/dist/collection/components/ic-toast/ic-toast.js +49 -28
  326. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
  327. package/dist/collection/components/ic-toast/ic-toast.stories.js +396 -0
  328. package/dist/collection/components/ic-toast-region/ic-toast-region.js +6 -5
  329. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
  330. package/dist/collection/components/ic-toggle-button/ic-toggle-button.css +8 -17
  331. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +116 -61
  332. package/dist/collection/components/ic-toggle-button/ic-toggle-button.js.map +1 -1
  333. package/dist/collection/components/ic-toggle-button/ic-toggle-button.stories.js +427 -0
  334. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +90 -35
  335. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js.map +1 -1
  336. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.stories.js +585 -0
  337. package/dist/collection/components/ic-tooltip/ic-tooltip.js +67 -38
  338. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  339. package/dist/collection/components/ic-tooltip/ic-tooltip.stories.js +366 -0
  340. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +9 -5
  341. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +89 -47
  342. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  343. package/dist/collection/components/ic-top-navigation/ic-top-navigation.stories.js +1091 -0
  344. package/dist/collection/components/ic-typography/ic-typography.js +73 -32
  345. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  346. package/dist/collection/components/ic-typography/ic-typography.stories.js +447 -0
  347. package/dist/collection/patterns/top-nav-content-footer.stories.js +109 -0
  348. package/dist/collection/patterns/z-index.stories.js +474 -0
  349. package/dist/collection/utils/constants.js +39 -0
  350. package/dist/collection/utils/constants.js.map +1 -1
  351. package/dist/collection/utils/helpers.js +29 -24
  352. package/dist/collection/utils/helpers.js.map +1 -1
  353. package/dist/collection/utils/testa11y.helpers.js +2 -1
  354. package/dist/collection/utils/testa11y.helpers.js.map +1 -1
  355. package/dist/collection/utils/types.js.map +1 -1
  356. package/dist/components/helpers.js +69 -25
  357. package/dist/components/helpers.js.map +1 -1
  358. package/dist/components/ic-accordion-group.js +29 -12
  359. package/dist/components/ic-accordion-group.js.map +1 -1
  360. package/dist/components/ic-accordion.js +63 -40
  361. package/dist/components/ic-accordion.js.map +1 -1
  362. package/dist/components/ic-alert.js +36 -15
  363. package/dist/components/ic-alert.js.map +1 -1
  364. package/dist/components/ic-back-to-top.js +28 -13
  365. package/dist/components/ic-back-to-top.js.map +1 -1
  366. package/dist/components/ic-badge.js +60 -18
  367. package/dist/components/ic-badge.js.map +1 -1
  368. package/dist/components/ic-breadcrumb-group.js +51 -35
  369. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  370. package/dist/components/ic-breadcrumb2.js +36 -21
  371. package/dist/components/ic-breadcrumb2.js.map +1 -1
  372. package/dist/components/ic-button2.js +171 -63
  373. package/dist/components/ic-button2.js.map +1 -1
  374. package/dist/components/ic-card-vertical.js +52 -31
  375. package/dist/components/ic-card-vertical.js.map +1 -1
  376. package/dist/components/ic-checkbox-group.js +31 -8
  377. package/dist/components/ic-checkbox-group.js.map +1 -1
  378. package/dist/components/ic-checkbox.js +47 -28
  379. package/dist/components/ic-checkbox.js.map +1 -1
  380. package/dist/components/ic-chip.js +43 -22
  381. package/dist/components/ic-chip.js.map +1 -1
  382. package/dist/components/ic-classification-banner.js +21 -5
  383. package/dist/components/ic-classification-banner.js.map +1 -1
  384. package/dist/components/ic-data-list.js +10 -4
  385. package/dist/components/ic-data-list.js.map +1 -1
  386. package/dist/components/ic-data-row.js +27 -17
  387. package/dist/components/ic-data-row.js.map +1 -1
  388. package/dist/components/ic-dialog.js +165 -116
  389. package/dist/components/ic-dialog.js.map +1 -1
  390. package/dist/components/ic-divider2.js +33 -13
  391. package/dist/components/ic-divider2.js.map +1 -1
  392. package/dist/components/ic-empty-state.js +19 -10
  393. package/dist/components/ic-empty-state.js.map +1 -1
  394. package/dist/components/ic-footer-link-group.js +6 -6
  395. package/dist/components/ic-footer-link-group.js.map +1 -1
  396. package/dist/components/ic-footer-link.js +10 -9
  397. package/dist/components/ic-footer-link.js.map +1 -1
  398. package/dist/components/ic-footer.js +31 -18
  399. package/dist/components/ic-footer.js.map +1 -1
  400. package/dist/components/ic-hero.js +27 -15
  401. package/dist/components/ic-hero.js.map +1 -1
  402. package/dist/components/ic-horizontal-scroll2.js +30 -18
  403. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  404. package/dist/components/ic-input-component-container2.js +31 -9
  405. package/dist/components/ic-input-component-container2.js.map +1 -1
  406. package/dist/components/ic-input-container2.js +12 -5
  407. package/dist/components/ic-input-container2.js.map +1 -1
  408. package/dist/components/ic-input-label2.js +28 -8
  409. package/dist/components/ic-input-label2.js.map +1 -1
  410. package/dist/components/ic-input-validation2.js +15 -7
  411. package/dist/components/ic-input-validation2.js.map +1 -1
  412. package/dist/components/ic-link2.js +27 -20
  413. package/dist/components/ic-link2.js.map +1 -1
  414. package/dist/components/ic-loading-indicator2.js +89 -54
  415. package/dist/components/ic-loading-indicator2.js.map +1 -1
  416. package/dist/components/ic-menu-group.js +3 -3
  417. package/dist/components/ic-menu-group.js.map +1 -1
  418. package/dist/components/ic-menu-item2.js +19 -17
  419. package/dist/components/ic-menu-item2.js.map +1 -1
  420. package/dist/components/ic-menu2.js +81 -52
  421. package/dist/components/ic-menu2.js.map +1 -1
  422. package/dist/components/ic-navigation-button.js +24 -18
  423. package/dist/components/ic-navigation-button.js.map +1 -1
  424. package/dist/components/ic-navigation-group.js +64 -39
  425. package/dist/components/ic-navigation-group.js.map +1 -1
  426. package/dist/components/ic-navigation-item.js +69 -48
  427. package/dist/components/ic-navigation-item.js.map +1 -1
  428. package/dist/components/ic-navigation-menu2.js +54 -32
  429. package/dist/components/ic-navigation-menu2.js.map +1 -1
  430. package/dist/components/ic-page-header.js +48 -27
  431. package/dist/components/ic-page-header.js.map +1 -1
  432. package/dist/components/ic-pagination-item2.js +26 -13
  433. package/dist/components/ic-pagination-item2.js.map +1 -1
  434. package/dist/components/ic-pagination.js +59 -26
  435. package/dist/components/ic-pagination.js.map +1 -1
  436. package/dist/components/ic-popover-menu.js +72 -40
  437. package/dist/components/ic-popover-menu.js.map +1 -1
  438. package/dist/components/ic-radio-group.js +53 -27
  439. package/dist/components/ic-radio-group.js.map +1 -1
  440. package/dist/components/ic-radio-option.js +34 -22
  441. package/dist/components/ic-radio-option.js.map +1 -1
  442. package/dist/components/ic-search-bar.js +152 -62
  443. package/dist/components/ic-search-bar.js.map +1 -1
  444. package/dist/components/ic-section-container2.js +11 -4
  445. package/dist/components/ic-section-container2.js.map +1 -1
  446. package/dist/components/ic-select.js +232 -135
  447. package/dist/components/ic-select.js.map +1 -1
  448. package/dist/components/ic-side-navigation.js +106 -70
  449. package/dist/components/ic-side-navigation.js.map +1 -1
  450. package/dist/components/ic-skeleton.js +10 -3
  451. package/dist/components/ic-skeleton.js.map +1 -1
  452. package/dist/components/ic-skip-link.d.ts +11 -0
  453. package/dist/components/ic-skip-link.js +83 -0
  454. package/dist/components/ic-skip-link.js.map +1 -0
  455. package/dist/components/ic-status-tag.js +24 -5
  456. package/dist/components/ic-status-tag.js.map +1 -1
  457. package/dist/components/ic-step.js +33 -31
  458. package/dist/components/ic-step.js.map +1 -1
  459. package/dist/components/ic-stepper.js +48 -33
  460. package/dist/components/ic-stepper.js.map +1 -1
  461. package/dist/components/ic-switch.js +48 -20
  462. package/dist/components/ic-switch.js.map +1 -1
  463. package/dist/components/ic-tab-context.js +44 -25
  464. package/dist/components/ic-tab-context.js.map +1 -1
  465. package/dist/components/ic-tab-group.js +12 -7
  466. package/dist/components/ic-tab-group.js.map +1 -1
  467. package/dist/components/ic-tab-panel.js +16 -11
  468. package/dist/components/ic-tab-panel.js.map +1 -1
  469. package/dist/components/ic-tab.js +20 -14
  470. package/dist/components/ic-tab.js.map +1 -1
  471. package/dist/components/ic-text-field.js +208 -75
  472. package/dist/components/ic-text-field.js.map +1 -1
  473. package/dist/components/ic-theme.js +12 -6
  474. package/dist/components/ic-theme.js.map +1 -1
  475. package/dist/components/ic-toast-region.js +1 -2
  476. package/dist/components/ic-toast-region.js.map +1 -1
  477. package/dist/components/ic-toast.js +29 -21
  478. package/dist/components/ic-toast.js.map +1 -1
  479. package/dist/components/ic-toggle-button-group.js +59 -27
  480. package/dist/components/ic-toggle-button-group.js.map +1 -1
  481. package/dist/components/ic-toggle-button.js +81 -49
  482. package/dist/components/ic-toggle-button.js.map +1 -1
  483. package/dist/components/ic-tooltip2.js +42 -25
  484. package/dist/components/ic-tooltip2.js.map +1 -1
  485. package/dist/components/ic-top-navigation.js +58 -33
  486. package/dist/components/ic-top-navigation.js.map +1 -1
  487. package/dist/components/ic-typography2.js +51 -25
  488. package/dist/components/ic-typography2.js.map +1 -1
  489. package/dist/core/core.css +395 -264
  490. package/dist/core/core.esm.js +1 -1
  491. package/dist/core/core.esm.js.map +1 -1
  492. package/dist/core/index.esm.js.map +1 -1
  493. package/dist/core/p-06d97789.entry.js +2 -0
  494. package/dist/core/p-06d97789.entry.js.map +1 -0
  495. package/dist/core/{p-27274ca8.entry.js → p-071f4748.entry.js} +2 -2
  496. package/dist/core/p-071f4748.entry.js.map +1 -0
  497. package/dist/core/p-09070f61.entry.js +2 -0
  498. package/dist/core/p-09070f61.entry.js.map +1 -0
  499. package/dist/core/p-0c0ac69d.entry.js +2 -0
  500. package/dist/core/p-0c0ac69d.entry.js.map +1 -0
  501. package/dist/core/p-0d016565.entry.js +2 -0
  502. package/dist/core/p-0d016565.entry.js.map +1 -0
  503. package/dist/core/p-0e96d4d8.entry.js +2 -0
  504. package/dist/core/p-0e96d4d8.entry.js.map +1 -0
  505. package/dist/core/p-10cd26dc.entry.js +2 -0
  506. package/dist/core/p-10cd26dc.entry.js.map +1 -0
  507. package/dist/core/{p-a87d13b3.entry.js → p-110486f0.entry.js} +2 -2
  508. package/dist/core/p-110486f0.entry.js.map +1 -0
  509. package/dist/core/p-116ad73d.entry.js +2 -0
  510. package/dist/core/p-116ad73d.entry.js.map +1 -0
  511. package/dist/core/{p-8b554299.entry.js → p-1171a945.entry.js} +2 -2
  512. package/dist/core/p-1171a945.entry.js.map +1 -0
  513. package/dist/core/{p-0cb72d37.entry.js → p-17cf7b50.entry.js} +2 -2
  514. package/dist/core/p-17cf7b50.entry.js.map +1 -0
  515. package/dist/core/p-1ac08e6d.entry.js +2 -0
  516. package/dist/core/p-1ac08e6d.entry.js.map +1 -0
  517. package/dist/core/p-1f455336.entry.js +2 -0
  518. package/dist/core/p-1f455336.entry.js.map +1 -0
  519. package/dist/core/p-20c4d90b.entry.js +2 -0
  520. package/dist/core/p-20c4d90b.entry.js.map +1 -0
  521. package/dist/core/{p-641e244d.entry.js → p-2537f33e.entry.js} +2 -2
  522. package/dist/core/p-2537f33e.entry.js.map +1 -0
  523. package/dist/core/{p-87aa30b4.entry.js → p-264ce7a0.entry.js} +2 -2
  524. package/dist/core/p-264ce7a0.entry.js.map +1 -0
  525. package/dist/core/p-28656111.entry.js +2 -0
  526. package/dist/core/p-28656111.entry.js.map +1 -0
  527. package/dist/core/p-2b1a331b.entry.js +2 -0
  528. package/dist/core/p-2b1a331b.entry.js.map +1 -0
  529. package/dist/core/p-33243fff.entry.js +2 -0
  530. package/dist/core/p-33243fff.entry.js.map +1 -0
  531. package/dist/core/p-37df68fe.entry.js +2 -0
  532. package/dist/core/p-37df68fe.entry.js.map +1 -0
  533. package/dist/core/p-3b185c32.js.map +1 -1
  534. package/dist/core/p-426ec638.js.map +1 -1
  535. package/dist/core/{p-199b9196.entry.js → p-44e32417.entry.js} +2 -2
  536. package/dist/core/p-44e32417.entry.js.map +1 -0
  537. package/dist/core/{p-6e630778.entry.js → p-45595f98.entry.js} +2 -2
  538. package/dist/core/p-45595f98.entry.js.map +1 -0
  539. package/dist/core/p-49768069.entry.js +2 -0
  540. package/dist/core/p-49768069.entry.js.map +1 -0
  541. package/dist/core/p-4c68494c.entry.js +2 -0
  542. package/dist/core/p-4c68494c.entry.js.map +1 -0
  543. package/dist/core/{p-f37c6a76.entry.js → p-4f2a1950.entry.js} +2 -2
  544. package/dist/core/p-4f2a1950.entry.js.map +1 -0
  545. package/dist/core/p-50f4d151.entry.js +2 -0
  546. package/dist/core/p-50f4d151.entry.js.map +1 -0
  547. package/dist/core/p-55a37101.entry.js +2 -0
  548. package/dist/core/p-55a37101.entry.js.map +1 -0
  549. package/dist/core/{p-1223d0e9.entry.js → p-5c349c9d.entry.js} +2 -2
  550. package/dist/core/p-5c349c9d.entry.js.map +1 -0
  551. package/dist/core/p-5e1fd097.entry.js +2 -0
  552. package/dist/core/p-5e1fd097.entry.js.map +1 -0
  553. package/dist/core/p-68a5aaff.js.map +1 -1
  554. package/dist/core/p-69e4daec.entry.js +2 -0
  555. package/dist/core/p-69e4daec.entry.js.map +1 -0
  556. package/dist/core/p-701696aa.entry.js +2 -0
  557. package/dist/core/p-701696aa.entry.js.map +1 -0
  558. package/dist/core/{p-8452846e.entry.js → p-729745d3.entry.js} +2 -2
  559. package/dist/core/p-729745d3.entry.js.map +1 -0
  560. package/dist/core/{p-1bf956cb.entry.js → p-73fc198f.entry.js} +2 -2
  561. package/dist/core/p-73fc198f.entry.js.map +1 -0
  562. package/dist/core/p-74600ed8.entry.js +2 -0
  563. package/dist/core/p-74600ed8.entry.js.map +1 -0
  564. package/dist/core/p-78e7a859.entry.js +2 -0
  565. package/dist/core/p-78e7a859.entry.js.map +1 -0
  566. package/dist/core/{p-419d3378.entry.js → p-7e79bd0e.entry.js} +2 -2
  567. package/dist/core/p-7e79bd0e.entry.js.map +1 -0
  568. package/dist/core/p-7eaf8da8.entry.js +2 -0
  569. package/dist/core/p-7eaf8da8.entry.js.map +1 -0
  570. package/dist/core/p-811d447b.entry.js +2 -0
  571. package/dist/core/p-811d447b.entry.js.map +1 -0
  572. package/dist/core/p-85734ebf.entry.js +2 -0
  573. package/dist/core/p-85734ebf.entry.js.map +1 -0
  574. package/dist/core/p-85b7d931.entry.js +2 -0
  575. package/dist/core/p-85b7d931.entry.js.map +1 -0
  576. package/dist/core/{p-26bc7c62.entry.js → p-8856dff4.entry.js} +2 -2
  577. package/dist/core/p-8856dff4.entry.js.map +1 -0
  578. package/dist/core/p-8b268274.entry.js +2 -0
  579. package/dist/core/p-8b268274.entry.js.map +1 -0
  580. package/dist/core/p-8e4e97b4.js +3 -0
  581. package/dist/core/p-8e4e97b4.js.map +1 -0
  582. package/dist/core/p-972671ea.entry.js +2 -0
  583. package/dist/core/p-972671ea.entry.js.map +1 -0
  584. package/dist/core/{p-6c1cf351.entry.js → p-98328cb9.entry.js} +2 -2
  585. package/dist/core/p-98328cb9.entry.js.map +1 -0
  586. package/dist/core/{p-5be2c26a.entry.js → p-a103068b.entry.js} +2 -2
  587. package/dist/core/p-a103068b.entry.js.map +1 -0
  588. package/dist/core/{p-e4cb5585.entry.js → p-a20a7cd3.entry.js} +2 -2
  589. package/dist/core/p-a20a7cd3.entry.js.map +1 -0
  590. package/dist/core/p-a22658fb.entry.js +2 -0
  591. package/dist/core/p-a22658fb.entry.js.map +1 -0
  592. package/dist/core/{p-5dcc0489.entry.js → p-a55e7988.entry.js} +2 -2
  593. package/dist/core/p-a55e7988.entry.js.map +1 -0
  594. package/dist/core/{p-20ac0d2a.entry.js → p-a71055c9.entry.js} +2 -2
  595. package/dist/core/p-a71055c9.entry.js.map +1 -0
  596. package/dist/core/p-a794b724.entry.js +2 -0
  597. package/dist/core/p-a794b724.entry.js.map +1 -0
  598. package/dist/core/p-b21b4fea.entry.js +2 -0
  599. package/dist/core/p-b21b4fea.entry.js.map +1 -0
  600. package/dist/core/p-b953b22f.entry.js +2 -0
  601. package/dist/core/p-b953b22f.entry.js.map +1 -0
  602. package/dist/core/p-c2e091d7.js.map +1 -1
  603. package/dist/core/p-c9726fbd.entry.js +2 -0
  604. package/dist/core/p-c9726fbd.entry.js.map +1 -0
  605. package/dist/core/p-d981598e.entry.js +2 -0
  606. package/dist/core/p-d981598e.entry.js.map +1 -0
  607. package/dist/core/p-d9aec0dd.entry.js +2 -0
  608. package/dist/core/p-d9aec0dd.entry.js.map +1 -0
  609. package/dist/core/p-e1255160.js +2 -0
  610. package/dist/core/p-e1255160.js.map +1 -0
  611. package/dist/core/p-ed8957da.js +2 -0
  612. package/dist/core/p-ed8957da.js.map +1 -0
  613. package/dist/core/p-f074ef5b.js.map +1 -1
  614. package/dist/core/p-f3315216.entry.js +2 -0
  615. package/dist/core/p-f3315216.entry.js.map +1 -0
  616. package/dist/core/p-f34efc17.entry.js +2 -0
  617. package/dist/core/p-f34efc17.entry.js.map +1 -0
  618. package/dist/core/p-f43f411a.entry.js +2 -0
  619. package/dist/core/p-f43f411a.entry.js.map +1 -0
  620. package/dist/core/{p-96b4ca6e.entry.js → p-fa02a267.entry.js} +2 -2
  621. package/dist/core/p-fa02a267.entry.js.map +1 -0
  622. package/dist/core/p-ff995eb8.entry.js +2 -0
  623. package/dist/core/p-ff995eb8.entry.js.map +1 -0
  624. package/dist/esm/app-globals-0f993ce5.js +5 -0
  625. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  626. package/dist/esm/core.js +14 -12
  627. package/dist/esm/core.js.map +1 -1
  628. package/dist/esm/{helpers-2624c32c.js → helpers-dd035d0d.js} +71 -27
  629. package/dist/esm/helpers-dd035d0d.js.map +1 -0
  630. package/dist/esm/ic-accordion-group.entry.js +31 -14
  631. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  632. package/dist/esm/ic-accordion.entry.js +65 -42
  633. package/dist/esm/ic-accordion.entry.js.map +1 -1
  634. package/dist/esm/ic-alert.entry.js +38 -17
  635. package/dist/esm/ic-alert.entry.js.map +1 -1
  636. package/dist/esm/ic-back-to-top.entry.js +29 -15
  637. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  638. package/dist/esm/ic-badge.entry.js +60 -18
  639. package/dist/esm/ic-badge.entry.js.map +1 -1
  640. package/dist/esm/ic-breadcrumb-group.entry.js +53 -37
  641. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  642. package/dist/esm/ic-breadcrumb.entry.js +38 -23
  643. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  644. package/dist/esm/ic-button_3.entry.js +304 -144
  645. package/dist/esm/ic-button_3.entry.js.map +1 -1
  646. package/dist/esm/ic-card-vertical.entry.js +54 -33
  647. package/dist/esm/ic-card-vertical.entry.js.map +1 -1
  648. package/dist/esm/ic-checkbox-group.entry.js +33 -10
  649. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  650. package/dist/esm/ic-checkbox.entry.js +49 -30
  651. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  652. package/dist/esm/ic-chip.entry.js +45 -24
  653. package/dist/esm/ic-chip.entry.js.map +1 -1
  654. package/dist/esm/ic-classification-banner.entry.js +22 -6
  655. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  656. package/dist/esm/ic-data-list.entry.js +11 -5
  657. package/dist/esm/ic-data-list.entry.js.map +1 -1
  658. package/dist/esm/ic-data-row.entry.js +28 -18
  659. package/dist/esm/ic-data-row.entry.js.map +1 -1
  660. package/dist/esm/ic-dialog.entry.js +164 -115
  661. package/dist/esm/ic-dialog.entry.js.map +1 -1
  662. package/dist/esm/ic-divider.entry.js +35 -15
  663. package/dist/esm/ic-divider.entry.js.map +1 -1
  664. package/dist/esm/ic-empty-state.entry.js +19 -11
  665. package/dist/esm/ic-empty-state.entry.js.map +1 -1
  666. package/dist/esm/ic-footer-link-group.entry.js +8 -8
  667. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  668. package/dist/esm/ic-footer-link.entry.js +12 -11
  669. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  670. package/dist/esm/ic-footer.entry.js +32 -19
  671. package/dist/esm/ic-footer.entry.js.map +1 -1
  672. package/dist/esm/ic-hero.entry.js +29 -17
  673. package/dist/esm/ic-hero.entry.js.map +1 -1
  674. package/dist/esm/ic-horizontal-scroll.entry.js +32 -20
  675. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  676. package/dist/esm/ic-input-component-container_3.entry.js +126 -68
  677. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  678. package/dist/esm/ic-input-label_2.entry.js +45 -17
  679. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  680. package/dist/esm/ic-link.entry.js +29 -22
  681. package/dist/esm/ic-link.entry.js.map +1 -1
  682. package/dist/esm/ic-menu-group.entry.js +5 -5
  683. package/dist/esm/ic-menu-group.entry.js.map +1 -1
  684. package/dist/esm/ic-menu-item.entry.js +21 -19
  685. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  686. package/dist/esm/ic-navigation-button.entry.js +26 -20
  687. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  688. package/dist/esm/ic-navigation-group.entry.js +63 -39
  689. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  690. package/dist/esm/ic-navigation-item.entry.js +70 -49
  691. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  692. package/dist/esm/ic-navigation-menu.entry.js +55 -33
  693. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  694. package/dist/esm/ic-page-header.entry.js +49 -28
  695. package/dist/esm/ic-page-header.entry.js.map +1 -1
  696. package/dist/esm/ic-pagination-item.entry.js +28 -15
  697. package/dist/esm/ic-pagination-item.entry.js.map +1 -1
  698. package/dist/esm/ic-pagination.entry.js +61 -28
  699. package/dist/esm/ic-pagination.entry.js.map +1 -1
  700. package/dist/esm/ic-popover-menu.entry.js +74 -42
  701. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  702. package/dist/esm/ic-radio-group.entry.js +55 -29
  703. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  704. package/dist/esm/ic-radio-option.entry.js +36 -24
  705. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  706. package/dist/esm/ic-search-bar.entry.js +154 -64
  707. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  708. package/dist/esm/ic-section-container.entry.js +12 -5
  709. package/dist/esm/ic-section-container.entry.js.map +1 -1
  710. package/dist/esm/ic-select.entry.js +234 -137
  711. package/dist/esm/ic-select.entry.js.map +1 -1
  712. package/dist/esm/ic-side-navigation.entry.js +107 -71
  713. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  714. package/dist/esm/ic-skeleton.entry.js +11 -4
  715. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  716. package/dist/esm/ic-skip-link.entry.js +51 -0
  717. package/dist/esm/ic-skip-link.entry.js.map +1 -0
  718. package/dist/esm/ic-status-tag.entry.js +26 -7
  719. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  720. package/dist/esm/ic-step.entry.js +35 -33
  721. package/dist/esm/ic-step.entry.js.map +1 -1
  722. package/dist/esm/ic-stepper.entry.js +50 -35
  723. package/dist/esm/ic-stepper.entry.js.map +1 -1
  724. package/dist/esm/ic-switch.entry.js +50 -22
  725. package/dist/esm/ic-switch.entry.js.map +1 -1
  726. package/dist/esm/ic-tab-context.entry.js +45 -26
  727. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  728. package/dist/esm/ic-tab-group.entry.js +14 -9
  729. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  730. package/dist/esm/ic-tab-panel.entry.js +16 -12
  731. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  732. package/dist/esm/ic-tab.entry.js +22 -16
  733. package/dist/esm/ic-tab.entry.js.map +1 -1
  734. package/dist/esm/ic-text-field.entry.js +205 -76
  735. package/dist/esm/ic-text-field.entry.js.map +1 -1
  736. package/dist/esm/ic-theme.entry.js +13 -7
  737. package/dist/esm/ic-theme.entry.js.map +1 -1
  738. package/dist/esm/ic-toast-region.entry.js +2 -3
  739. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  740. package/dist/esm/ic-toast.entry.js +30 -22
  741. package/dist/esm/ic-toast.entry.js.map +1 -1
  742. package/dist/esm/ic-toggle-button-group.entry.js +61 -29
  743. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
  744. package/dist/esm/ic-toggle-button.entry.js +82 -50
  745. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  746. package/dist/esm/ic-top-navigation.entry.js +59 -34
  747. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  748. package/dist/esm/ic-typography.entry.js +53 -27
  749. package/dist/esm/ic-typography.entry.js.map +1 -1
  750. package/dist/esm/index-a7a720e7.js +2580 -0
  751. package/dist/esm/index-a7a720e7.js.map +1 -0
  752. package/dist/esm/loader.js +6 -4
  753. package/dist/esm/loader.js.map +1 -1
  754. package/dist/types/components/ic-accordion/ic-accordion.d.ts +3 -3
  755. package/dist/types/components/ic-accordion-group/ic-accordion-group.d.ts +5 -5
  756. package/dist/types/components/ic-alert/ic-alert.d.ts +1 -1
  757. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +6 -2
  758. package/dist/types/components/ic-back-to-top/ic-back-to-top.types.d.ts +1 -0
  759. package/dist/types/components/ic-badge/ic-badge.d.ts +6 -1
  760. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +2 -1
  761. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +2 -2
  762. package/dist/types/components/ic-button/ic-button.d.ts +7 -6
  763. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +10 -10
  764. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +7 -7
  765. package/dist/types/components/ic-data-list/ic-data-list.d.ts +1 -1
  766. package/dist/types/components/ic-data-row/ic-data-row.d.ts +2 -2
  767. package/dist/types/components/ic-dialog/ic-dialog.d.ts +15 -11
  768. package/dist/types/components/ic-divider/ic-divider.d.ts +3 -3
  769. package/dist/types/components/ic-empty-state/ic-empty-state.d.ts +5 -1
  770. package/dist/types/components/ic-footer/ic-footer.d.ts +4 -4
  771. package/dist/types/components/ic-hero/ic-hero.d.ts +3 -3
  772. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +6 -6
  773. package/dist/types/components/ic-input-label/ic-input-label.d.ts +2 -2
  774. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +4 -4
  775. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +2 -2
  776. package/dist/types/components/ic-menu/ic-menu.d.ts +10 -10
  777. package/dist/types/components/ic-menu/ic-menu.types.d.ts +1 -1
  778. package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +2 -2
  779. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +1 -1
  780. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +18 -6
  781. package/dist/types/components/ic-navigation-group/ic-navigation-group.types.d.ts +6 -0
  782. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +8 -8
  783. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +5 -3
  784. package/dist/types/components/ic-pagination/ic-pagination.d.ts +9 -9
  785. package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +4 -4
  786. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +4 -4
  787. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +9 -9
  788. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +6 -6
  789. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +12 -12
  790. package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +1 -1
  791. package/dist/types/components/ic-select/ic-select.d.ts +20 -20
  792. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +12 -12
  793. package/dist/types/components/ic-skip-link/ic-skip-link.d.ts +33 -0
  794. package/dist/types/components/ic-stepper/ic-stepper.d.ts +1 -1
  795. package/dist/types/components/ic-switch/ic-switch.d.ts +1 -1
  796. package/dist/types/components/ic-tab/ic-tab.d.ts +2 -2
  797. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +7 -1
  798. package/dist/types/components/ic-text-field/ic-text-field.d.ts +51 -34
  799. package/dist/types/components/ic-theme/ic-theme.d.ts +2 -2
  800. package/dist/types/components/ic-toast/ic-toast.d.ts +3 -3
  801. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +1 -1
  802. package/dist/types/components/ic-toggle-button/ic-toggle-button.d.ts +3 -3
  803. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +1 -1
  804. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +9 -9
  805. package/dist/types/components/ic-typography/ic-typography.d.ts +1 -1
  806. package/dist/types/components.d.ts +358 -215
  807. package/dist/types/stencil-public-runtime.d.ts +9 -10
  808. package/dist/types/utils/constants.d.ts +1 -0
  809. package/dist/types/utils/helpers.d.ts +10 -10
  810. package/dist/types/utils/types.d.ts +8 -4
  811. package/hydrate/index.d.ts +53 -12
  812. package/hydrate/index.js +32726 -20605
  813. package/hydrate/index.mjs +34407 -0
  814. package/hydrate/package.json +7 -1
  815. package/loader/cdn.js +1 -3
  816. package/loader/index.cjs.js +1 -3
  817. package/loader/index.d.ts +3 -0
  818. package/loader/index.es2017.js +1 -3
  819. package/loader/index.js +1 -3
  820. package/package.json +19 -13
  821. package/vscode-data.json +109 -339
  822. package/dist/cjs/helpers-eca4c27e.js.map +0 -1
  823. package/dist/cjs/index-f982899d.js +0 -3047
  824. package/dist/cjs/index-f982899d.js.map +0 -1
  825. package/dist/collection/components/ic-accordion/test/basic/ic-accordion.spec.js +0 -349
  826. package/dist/collection/components/ic-accordion/test/basic/ic-accordion.spec.js.map +0 -1
  827. package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js +0 -129
  828. package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js.map +0 -1
  829. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +0 -329
  830. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +0 -1
  831. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +0 -145
  832. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +0 -1
  833. package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js +0 -256
  834. package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js.map +0 -1
  835. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js +0 -162
  836. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +0 -1
  837. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +0 -219
  838. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +0 -1
  839. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +0 -332
  840. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +0 -1
  841. package/dist/collection/components/ic-card-vertical/test/basic/ic-card-vertical.spec.js +0 -214
  842. package/dist/collection/components/ic-card-vertical/test/basic/ic-card-vertical.spec.js.map +0 -1
  843. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +0 -284
  844. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +0 -1
  845. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +0 -188
  846. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +0 -1
  847. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js +0 -188
  848. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +0 -1
  849. package/dist/collection/components/ic-data-list/test/basic/ic-data-list.spec.js +0 -161
  850. package/dist/collection/components/ic-data-list/test/basic/ic-data-list.spec.js.map +0 -1
  851. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +0 -74
  852. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +0 -1
  853. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +0 -448
  854. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +0 -1
  855. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js +0 -109
  856. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +0 -1
  857. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +0 -181
  858. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +0 -1
  859. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js +0 -46
  860. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +0 -1
  861. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +0 -66
  862. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +0 -1
  863. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +0 -109
  864. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +0 -1
  865. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js +0 -223
  866. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +0 -1
  867. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +0 -172
  868. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +0 -1
  869. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js +0 -38
  870. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +0 -1
  871. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js +0 -84
  872. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +0 -1
  873. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js +0 -89
  874. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +0 -1
  875. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +0 -120
  876. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +0 -1
  877. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +0 -149
  878. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +0 -1
  879. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +0 -1108
  880. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +0 -1
  881. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js +0 -94
  882. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +0 -1
  883. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js +0 -121
  884. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +0 -1
  885. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +0 -95
  886. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +0 -1
  887. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +0 -309
  888. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +0 -1
  889. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +0 -130
  890. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +0 -1
  891. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js +0 -176
  892. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +0 -1
  893. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +0 -291
  894. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +0 -1
  895. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +0 -390
  896. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +0 -1
  897. package/dist/collection/components/ic-pagination-item/test/basic/ic-pagination-item.spec.js +0 -79
  898. package/dist/collection/components/ic-pagination-item/test/basic/ic-pagination-item.spec.js.map +0 -1
  899. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js +0 -398
  900. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +0 -1
  901. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +0 -389
  902. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +0 -1
  903. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +0 -553
  904. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +0 -1
  905. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js +0 -69
  906. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +0 -1
  907. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +0 -1672
  908. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +0 -1
  909. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +0 -503
  910. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +0 -1
  911. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +0 -89
  912. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +0 -1
  913. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +0 -26
  914. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +0 -1
  915. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +0 -176
  916. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +0 -1
  917. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +0 -752
  918. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +0 -1
  919. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +0 -93
  920. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +0 -1
  921. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +0 -175
  922. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +0 -1
  923. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +0 -390
  924. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +0 -1
  925. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js +0 -50
  926. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +0 -1
  927. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +0 -312
  928. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +0 -1
  929. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +0 -341
  930. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +0 -1
  931. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js +0 -72
  932. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +0 -1
  933. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +0 -79
  934. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +0 -1
  935. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +0 -314
  936. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +0 -1
  937. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +0 -64
  938. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +0 -1
  939. package/dist/collection/components/ic-toggle-button/test/basic/ic-toggle-button.spec.js +0 -126
  940. package/dist/collection/components/ic-toggle-button/test/basic/ic-toggle-button.spec.js.map +0 -1
  941. package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js +0 -337
  942. package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js.map +0 -1
  943. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +0 -321
  944. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +0 -1
  945. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +0 -314
  946. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +0 -1
  947. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +0 -407
  948. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +0 -1
  949. package/dist/collection/testspec.setup.js +0 -77
  950. package/dist/collection/testspec.setup.js.map +0 -1
  951. package/dist/core/p-0cb72d37.entry.js.map +0 -1
  952. package/dist/core/p-1223d0e9.entry.js.map +0 -1
  953. package/dist/core/p-190c3474.entry.js +0 -2
  954. package/dist/core/p-190c3474.entry.js.map +0 -1
  955. package/dist/core/p-199b9196.entry.js.map +0 -1
  956. package/dist/core/p-1bf956cb.entry.js.map +0 -1
  957. package/dist/core/p-20ac0d2a.entry.js.map +0 -1
  958. package/dist/core/p-243ad74c.entry.js +0 -2
  959. package/dist/core/p-243ad74c.entry.js.map +0 -1
  960. package/dist/core/p-24a34d72.entry.js +0 -2
  961. package/dist/core/p-24a34d72.entry.js.map +0 -1
  962. package/dist/core/p-26bc7c62.entry.js.map +0 -1
  963. package/dist/core/p-27274ca8.entry.js.map +0 -1
  964. package/dist/core/p-29afeb33.entry.js +0 -2
  965. package/dist/core/p-29afeb33.entry.js.map +0 -1
  966. package/dist/core/p-2cc0d6b9.entry.js +0 -2
  967. package/dist/core/p-2cc0d6b9.entry.js.map +0 -1
  968. package/dist/core/p-31c84a47.entry.js +0 -2
  969. package/dist/core/p-31c84a47.entry.js.map +0 -1
  970. package/dist/core/p-36ac5305.entry.js +0 -2
  971. package/dist/core/p-36ac5305.entry.js.map +0 -1
  972. package/dist/core/p-3ea4a005.entry.js +0 -2
  973. package/dist/core/p-3ea4a005.entry.js.map +0 -1
  974. package/dist/core/p-404b482e.entry.js +0 -2
  975. package/dist/core/p-404b482e.entry.js.map +0 -1
  976. package/dist/core/p-419d3378.entry.js.map +0 -1
  977. package/dist/core/p-47038ea3.entry.js +0 -2
  978. package/dist/core/p-47038ea3.entry.js.map +0 -1
  979. package/dist/core/p-490bf0ee.entry.js +0 -2
  980. package/dist/core/p-490bf0ee.entry.js.map +0 -1
  981. package/dist/core/p-4e6e34fe.entry.js +0 -2
  982. package/dist/core/p-4e6e34fe.entry.js.map +0 -1
  983. package/dist/core/p-4fce49bd.entry.js +0 -2
  984. package/dist/core/p-4fce49bd.entry.js.map +0 -1
  985. package/dist/core/p-5b42dbef.entry.js +0 -2
  986. package/dist/core/p-5b42dbef.entry.js.map +0 -1
  987. package/dist/core/p-5be2c26a.entry.js.map +0 -1
  988. package/dist/core/p-5d5345a4.entry.js +0 -2
  989. package/dist/core/p-5d5345a4.entry.js.map +0 -1
  990. package/dist/core/p-5dcc0489.entry.js.map +0 -1
  991. package/dist/core/p-5f6d6b3f.entry.js +0 -2
  992. package/dist/core/p-5f6d6b3f.entry.js.map +0 -1
  993. package/dist/core/p-5f74782e.entry.js +0 -2
  994. package/dist/core/p-5f74782e.entry.js.map +0 -1
  995. package/dist/core/p-6227fff5.entry.js +0 -2
  996. package/dist/core/p-6227fff5.entry.js.map +0 -1
  997. package/dist/core/p-641e244d.entry.js.map +0 -1
  998. package/dist/core/p-6b5e91e2.js +0 -3
  999. package/dist/core/p-6b5e91e2.js.map +0 -1
  1000. package/dist/core/p-6c1cf351.entry.js.map +0 -1
  1001. package/dist/core/p-6e630778.entry.js.map +0 -1
  1002. package/dist/core/p-7c8cd719.entry.js +0 -2
  1003. package/dist/core/p-7c8cd719.entry.js.map +0 -1
  1004. package/dist/core/p-7fa74998.entry.js +0 -2
  1005. package/dist/core/p-7fa74998.entry.js.map +0 -1
  1006. package/dist/core/p-7ff4632d.entry.js +0 -2
  1007. package/dist/core/p-7ff4632d.entry.js.map +0 -1
  1008. package/dist/core/p-8452846e.entry.js.map +0 -1
  1009. package/dist/core/p-84c3a870.entry.js +0 -2
  1010. package/dist/core/p-84c3a870.entry.js.map +0 -1
  1011. package/dist/core/p-8624bb98.entry.js +0 -2
  1012. package/dist/core/p-8624bb98.entry.js.map +0 -1
  1013. package/dist/core/p-87aa30b4.entry.js.map +0 -1
  1014. package/dist/core/p-8b554299.entry.js.map +0 -1
  1015. package/dist/core/p-932f3e3c.js +0 -2
  1016. package/dist/core/p-932f3e3c.js.map +0 -1
  1017. package/dist/core/p-96b4ca6e.entry.js.map +0 -1
  1018. package/dist/core/p-9cfd6855.entry.js +0 -2
  1019. package/dist/core/p-9cfd6855.entry.js.map +0 -1
  1020. package/dist/core/p-a87d13b3.entry.js.map +0 -1
  1021. package/dist/core/p-abb383bd.entry.js +0 -2
  1022. package/dist/core/p-abb383bd.entry.js.map +0 -1
  1023. package/dist/core/p-af934e73.entry.js +0 -2
  1024. package/dist/core/p-af934e73.entry.js.map +0 -1
  1025. package/dist/core/p-b73b7139.entry.js +0 -2
  1026. package/dist/core/p-b73b7139.entry.js.map +0 -1
  1027. package/dist/core/p-b9941d97.entry.js +0 -2
  1028. package/dist/core/p-b9941d97.entry.js.map +0 -1
  1029. package/dist/core/p-c1e93306.entry.js +0 -2
  1030. package/dist/core/p-c1e93306.entry.js.map +0 -1
  1031. package/dist/core/p-d21d8014.entry.js +0 -2
  1032. package/dist/core/p-d21d8014.entry.js.map +0 -1
  1033. package/dist/core/p-df957570.entry.js +0 -2
  1034. package/dist/core/p-df957570.entry.js.map +0 -1
  1035. package/dist/core/p-e1f8d915.entry.js +0 -2
  1036. package/dist/core/p-e1f8d915.entry.js.map +0 -1
  1037. package/dist/core/p-e4cb5585.entry.js.map +0 -1
  1038. package/dist/core/p-f073fc69.entry.js +0 -2
  1039. package/dist/core/p-f073fc69.entry.js.map +0 -1
  1040. package/dist/core/p-f2d9eefe.entry.js +0 -2
  1041. package/dist/core/p-f2d9eefe.entry.js.map +0 -1
  1042. package/dist/core/p-f37c6a76.entry.js.map +0 -1
  1043. package/dist/core/p-f7872eef.entry.js +0 -2
  1044. package/dist/core/p-f7872eef.entry.js.map +0 -1
  1045. package/dist/core/p-f9dceda0.entry.js +0 -2
  1046. package/dist/core/p-f9dceda0.entry.js.map +0 -1
  1047. package/dist/core/p-fac53f92.entry.js +0 -2
  1048. package/dist/core/p-fac53f92.entry.js.map +0 -1
  1049. package/dist/core/p-fddcf298.entry.js +0 -2
  1050. package/dist/core/p-fddcf298.entry.js.map +0 -1
  1051. package/dist/core/p-ffc150c5.entry.js +0 -2
  1052. package/dist/core/p-ffc150c5.entry.js.map +0 -1
  1053. package/dist/esm/helpers-2624c32c.js.map +0 -1
  1054. package/dist/esm/index-d1d2c456.js +0 -3016
  1055. package/dist/esm/index-d1d2c456.js.map +0 -1
  1056. package/dist/esm/polyfills/core-js.js +0 -11
  1057. package/dist/esm/polyfills/dom.js +0 -79
  1058. package/dist/esm/polyfills/es5-html-element.js +0 -1
  1059. package/dist/esm/polyfills/index.js +0 -34
  1060. package/dist/esm/polyfills/system.js +0 -6
  1061. package/dist/types/testspec.setup.d.ts +0 -24
@@ -1,8 +1,47 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class LoadingIndicator {
3
3
  constructor() {
4
+ this.clipInnerElement = false;
5
+ /**
6
+ * The description that will be set as the aria-label of the loading indicator when not using a visible label.
7
+ */
8
+ this.description = "Loading";
9
+ /**
10
+ * If `true`, when linear, the full-width variant (i.e. without a border radius) will be displayed.
11
+ */
12
+ this.fullWidth = false;
13
+ /**
14
+ * The time in milliseconds before the label changes.
15
+ */
16
+ this.labelDuration = 8000;
17
+ /**
18
+ * The maximum value that the progress value can take.
19
+ * Used to calculate the proportional width of the progress bar.
20
+ */
21
+ this.max = 100;
22
+ /**
23
+ * The minimum value that the progress value can take.
24
+ * Used to calculate the proportional width of the progress bar.
25
+ */
26
+ this.min = 0;
27
+ /**
28
+ * If `true`, the element will display as black and white.
29
+ */
30
+ this.monochrome = false;
31
+ /**
32
+ * The size of the loading indicator.
33
+ */
34
+ this.size = "medium";
35
+ /**
36
+ * The type of indicator, either linear or circular.
37
+ */
38
+ this.type = "circular";
39
+ /**
40
+ * Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
41
+ */
42
+ this.theme = "inherit";
4
43
  this.updateCircularProgressMeter = () => {
5
- if (!this.indeterminate) {
44
+ if (!this.indeterminate && this.circularMeter) {
6
45
  this.circularMeter.style.setProperty("--progress-value", String(this.progress));
7
46
  }
8
47
  };
@@ -23,52 +62,59 @@ export class LoadingIndicator {
23
62
  var _a;
24
63
  let variant = "h4";
25
64
  const width = (_a = this.outerElement) === null || _a === void 0 ? void 0 : _a.offsetWidth;
26
- if (this.size === "small" || (this.type === "circular" && width < 60)) {
65
+ if (this.size === "small" ||
66
+ (width && this.type === "circular" && width < 60)) {
27
67
  variant = "label";
28
68
  }
29
69
  else if (this.size === "large" ||
30
- (this.type === "circular" && width >= 120)) {
70
+ (width && this.type === "circular" && width >= 120)) {
31
71
  variant = "h2";
32
72
  }
33
73
  return variant;
34
74
  };
35
75
  // Sets the circular indicator line width - accounting for the circle size being altered using the CSS custom property
36
76
  this.setCircleLineWidth = () => {
37
- const { offsetWidth: width } = this.outerElement;
38
77
  const compactStepCircularLineWidth = this.el.classList.contains("compact-step-progress-indicator")
39
78
  ? 40
40
79
  : 0;
41
80
  const toastDismissTimerCircularLineWidth = this.el.classList.contains("toast-dismiss-timer")
42
81
  ? 20
43
82
  : 0;
44
- if (width ||
45
- compactStepCircularLineWidth ||
46
- toastDismissTimerCircularLineWidth) {
47
- this.circularLineWidth =
48
- (compactStepCircularLineWidth ||
49
- toastDismissTimerCircularLineWidth ||
50
- width) * 0.1;
51
- this.circularDiameter =
83
+ if (this.outerElement) {
84
+ const { offsetWidth: width } = this.outerElement;
85
+ if (width ||
52
86
  compactStepCircularLineWidth ||
53
- toastDismissTimerCircularLineWidth ||
54
- width;
55
- this.outerElement.style.setProperty("--circular-line-width", `${this.circularLineWidth}px`);
87
+ toastDismissTimerCircularLineWidth) {
88
+ this.circularLineWidth =
89
+ (compactStepCircularLineWidth ||
90
+ toastDismissTimerCircularLineWidth ||
91
+ width) * 0.1;
92
+ this.circularDiameter =
93
+ compactStepCircularLineWidth ||
94
+ toastDismissTimerCircularLineWidth ||
95
+ width;
96
+ this.outerElement.style.setProperty("--circular-line-width", `${this.circularLineWidth}px`);
97
+ }
56
98
  }
57
99
  };
58
100
  this.setLinearDeterminateWidth = () => {
101
+ const max = this.max;
102
+ const min = this.min;
59
103
  if (!this.innerElement)
60
104
  return;
61
105
  // Ensure progress cannot be out of bounds
62
- const progress = Math.min(this.max, Math.max(this.min, this.progress));
63
- const proportion = (progress - this.min) / (this.max - this.min);
64
- this.clipInnerElement = proportion > 0.5;
65
- if (this.clipInnerElement) {
66
- this.innerElement.classList.remove("clip");
67
- }
68
- else {
69
- this.innerElement.classList.add("clip");
106
+ if (this.progress) {
107
+ const progress = Math.min(max, Math.max(min, this.progress));
108
+ const proportion = (progress - min) / (max - min);
109
+ this.clipInnerElement = proportion > 0.5;
110
+ if (this.clipInnerElement) {
111
+ this.innerElement.classList.remove("clip");
112
+ }
113
+ else {
114
+ this.innerElement.classList.add("clip");
115
+ }
116
+ this.innerElement.style.setProperty("--linear-width", `${proportion * 100}%`);
70
117
  }
71
- this.innerElement.style.setProperty("--linear-width", `${proportion * 100}%`);
72
118
  };
73
119
  this.calcOuterClass = () => {
74
120
  let cls = `ic-loading-${this.type}-outer`;
@@ -105,31 +151,18 @@ export class LoadingIndicator {
105
151
  };
106
152
  this.setDashSteps = (radius) => {
107
153
  const dashArray = 2 * Math.PI * radius;
108
- const progress = Math.min(Math.max(this.progress, this.min), this.max);
109
- const proportion = -1 - (progress - this.min) / (this.max - this.min);
110
- this.circularMeter.style.setProperty("--stroke-dasharray", `${dashArray}px`);
111
- if (!this.indeterminate) {
112
- this.circularMeter.style.setProperty("--circular-steps-max", String(this.max));
113
- this.circularMeter.style.setProperty("--stroke-dashoffset", `${proportion * dashArray}px`);
154
+ if (this.circularMeter) {
155
+ this.circularMeter.style.setProperty("--stroke-dasharray", `${dashArray}px`);
156
+ if (!this.indeterminate && this.progress) {
157
+ const min = this.min;
158
+ const max = this.max;
159
+ const progress = Math.min(Math.max(this.progress, min), max);
160
+ const proportion = -1 - (progress - min) / (max - min);
161
+ this.circularMeter.style.setProperty("--circular-steps-max", String(this.max));
162
+ this.circularMeter.style.setProperty("--stroke-dashoffset", `${proportion * dashArray}px`);
163
+ }
114
164
  }
115
165
  };
116
- this.circularDiameter = undefined;
117
- this.circularLineWidth = undefined;
118
- this.indeterminate = undefined;
119
- this.indicatorLabel = undefined;
120
- this.clipInnerElement = false;
121
- this.description = "Loading";
122
- this.fullWidth = false;
123
- this.innerLabel = undefined;
124
- this.labelDuration = 8000;
125
- this.max = 100;
126
- this.min = 0;
127
- this.monochrome = false;
128
- this.size = "medium";
129
- this.type = "circular";
130
- this.label = undefined;
131
- this.progress = undefined;
132
- this.theme = "inherit";
133
166
  }
134
167
  watchPropHandler() {
135
168
  this.updateLabel();
@@ -148,9 +181,10 @@ export class LoadingIndicator {
148
181
  this.el.setAttribute("exportparts", "ic-loading-container");
149
182
  }
150
183
  componentDidLoad() {
184
+ var _a;
151
185
  if (this.type === "circular") {
152
186
  this.setCircleLineWidth();
153
- this.circularMeter = this.el.shadowRoot.querySelector(".ic-loading-circular-svg circle:nth-child(2)");
187
+ this.circularMeter = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".ic-loading-circular-svg circle:nth-child(2)");
154
188
  this.updateCircularProgressMeter();
155
189
  }
156
190
  if (Number(this.progress) >= 0 && this.type === "linear") {
@@ -168,15 +202,15 @@ export class LoadingIndicator {
168
202
  render() {
169
203
  const { theme, label, description, size, fullWidth, innerLabel, monochrome, } = this;
170
204
  const { x, y, r } = this.setCircleXY();
171
- return (h(Host, { class: {
205
+ return (h(Host, { key: 'b17f695d24b5f1a62714e4ed4241ae04d62d71f7', class: {
172
206
  [`ic-theme-${theme}`]: theme !== "inherit",
173
207
  "ic-loading-indicator-label": !!label,
174
- "ic-loading-indicator-full-width": fullWidth,
208
+ "ic-loading-indicator-full-width": !!fullWidth,
175
209
  "inner-label": !!innerLabel,
176
- "ic-loading-indicator-monochrome": monochrome,
177
- } }, h("div", { class: "ic-loading-container", part: "ic-loading-container" }, h("div", { ref: (el) => (this.outerElement = el), class: this.calcOuterClass(), role: "progressbar", "aria-labelledby": this.label && this.size !== "icon" && "ic-loading-label", "aria-label": description, "aria-valuenow": this.progress, "aria-valuemin": this.min, "aria-valuemax": this.max }, h("div", { ref: (el) => (this.innerElement = el), class: `ic-loading-${this.type}-inner` }, this.innerLabel &&
210
+ "ic-loading-indicator-monochrome": !!monochrome,
211
+ } }, h("div", { key: '01b49b1b944995a0311f780d04675b4929c99406', class: "ic-loading-container", part: "ic-loading-container" }, h("div", { key: '2a3ff1778af28ca4dca52fa48a8a21809be7cc10', ref: (el) => (this.outerElement = el), class: this.calcOuterClass(), role: "progressbar", "aria-labelledby": this.label && this.size !== "icon" && "ic-loading-label", "aria-label": description, "aria-valuenow": this.progress, "aria-valuemin": this.min, "aria-valuemax": this.max }, h("div", { key: '858cf1fe1b405bd3afc005198caba3edee162129', ref: (el) => (this.innerElement = el), class: `ic-loading-${this.type}-inner` }, this.innerLabel &&
178
212
  this.innerLabel !== undefined &&
179
- this.size === "small" && (h("ic-typography", { variant: "subtitle-small", class: "inner-text" }, this.innerLabel)), this.type === "circular" && (h("svg", { class: "ic-loading-circular-svg", viewBox: `0 0 ${this.circularDiameter || 0} ${this.circularDiameter || 0}` }, h("circle", { cx: `${x}`, cy: `${y}`, r: `${r}` }), h("circle", { cx: `${x}`, cy: `${y}`, r: `${r}` }))))), label && size !== "icon" && (h("ic-typography", { id: "ic-loading-label", class: "ic-loading-label", role: "status", variant: this.getLabelVariant() }, h("p", null, this.indicatorLabel))))));
213
+ this.size === "small" && (h("ic-typography", { key: '4f64dad9d84fa059f17cc5992c67ae5c49dcad79', variant: "subtitle-small", class: "inner-text" }, this.innerLabel)), this.type === "circular" && (h("svg", { key: '8951796434ce976b8de54fb6d8ef3c83954c9963', class: "ic-loading-circular-svg", viewBox: `0 0 ${this.circularDiameter || 0} ${this.circularDiameter || 0}` }, h("circle", { key: 'ba08f047bd24717b2f0fe63fc997514f65f671ca', cx: `${x}`, cy: `${y}`, r: `${r}` }), h("circle", { key: 'f8220ad9a66c16f27a1e99ec7bce39d959b0b1ae', cx: `${x}`, cy: `${y}`, r: `${r}` }))))), label && size !== "icon" && (h("ic-typography", { key: '16d99f7f3404b3f487018ad5e004ebf78ac455f5', id: "ic-loading-label", class: "ic-loading-label", role: "status", variant: this.getLabelVariant() }, h("p", { key: '18e223aa28d162404989460f7b8e552edec83316' }, this.indicatorLabel))))));
180
214
  }
181
215
  static get is() { return "ic-loading-indicator"; }
182
216
  static get encapsulation() { return "shadow"; }
@@ -197,7 +231,7 @@ export class LoadingIndicator {
197
231
  "mutable": false,
198
232
  "complexType": {
199
233
  "original": "string",
200
- "resolved": "string",
234
+ "resolved": "string | undefined",
201
235
  "references": {}
202
236
  },
203
237
  "required": false,
@@ -206,6 +240,8 @@ export class LoadingIndicator {
206
240
  "tags": [],
207
241
  "text": "The description that will be set as the aria-label of the loading indicator when not using a visible label."
208
242
  },
243
+ "getter": false,
244
+ "setter": false,
209
245
  "attribute": "description",
210
246
  "reflect": false,
211
247
  "defaultValue": "\"Loading\""
@@ -215,7 +251,7 @@ export class LoadingIndicator {
215
251
  "mutable": false,
216
252
  "complexType": {
217
253
  "original": "boolean",
218
- "resolved": "boolean",
254
+ "resolved": "boolean | undefined",
219
255
  "references": {}
220
256
  },
221
257
  "required": false,
@@ -224,6 +260,8 @@ export class LoadingIndicator {
224
260
  "tags": [],
225
261
  "text": "If `true`, when linear, the full-width variant (i.e. without a border radius) will be displayed."
226
262
  },
263
+ "getter": false,
264
+ "setter": false,
227
265
  "attribute": "full-width",
228
266
  "reflect": true,
229
267
  "defaultValue": "false"
@@ -233,7 +271,7 @@ export class LoadingIndicator {
233
271
  "mutable": false,
234
272
  "complexType": {
235
273
  "original": "number",
236
- "resolved": "number",
274
+ "resolved": "number | undefined",
237
275
  "references": {}
238
276
  },
239
277
  "required": false,
@@ -245,6 +283,8 @@ export class LoadingIndicator {
245
283
  }],
246
284
  "text": ""
247
285
  },
286
+ "getter": false,
287
+ "setter": false,
248
288
  "attribute": "inner-label",
249
289
  "reflect": false
250
290
  },
@@ -253,7 +293,7 @@ export class LoadingIndicator {
253
293
  "mutable": false,
254
294
  "complexType": {
255
295
  "original": "number",
256
- "resolved": "number",
296
+ "resolved": "number | undefined",
257
297
  "references": {}
258
298
  },
259
299
  "required": false,
@@ -262,6 +302,8 @@ export class LoadingIndicator {
262
302
  "tags": [],
263
303
  "text": "The time in milliseconds before the label changes."
264
304
  },
305
+ "getter": false,
306
+ "setter": false,
265
307
  "attribute": "label-duration",
266
308
  "reflect": false,
267
309
  "defaultValue": "8000"
@@ -271,7 +313,7 @@ export class LoadingIndicator {
271
313
  "mutable": false,
272
314
  "complexType": {
273
315
  "original": "number",
274
- "resolved": "number",
316
+ "resolved": "number | undefined",
275
317
  "references": {}
276
318
  },
277
319
  "required": false,
@@ -280,6 +322,8 @@ export class LoadingIndicator {
280
322
  "tags": [],
281
323
  "text": "The maximum value that the progress value can take.\nUsed to calculate the proportional width of the progress bar."
282
324
  },
325
+ "getter": false,
326
+ "setter": false,
283
327
  "attribute": "max",
284
328
  "reflect": false,
285
329
  "defaultValue": "100"
@@ -289,7 +333,7 @@ export class LoadingIndicator {
289
333
  "mutable": false,
290
334
  "complexType": {
291
335
  "original": "number",
292
- "resolved": "number",
336
+ "resolved": "number | undefined",
293
337
  "references": {}
294
338
  },
295
339
  "required": false,
@@ -298,6 +342,8 @@ export class LoadingIndicator {
298
342
  "tags": [],
299
343
  "text": "The minimum value that the progress value can take.\nUsed to calculate the proportional width of the progress bar."
300
344
  },
345
+ "getter": false,
346
+ "setter": false,
301
347
  "attribute": "min",
302
348
  "reflect": false,
303
349
  "defaultValue": "0"
@@ -307,7 +353,7 @@ export class LoadingIndicator {
307
353
  "mutable": false,
308
354
  "complexType": {
309
355
  "original": "boolean",
310
- "resolved": "boolean",
356
+ "resolved": "boolean | undefined",
311
357
  "references": {}
312
358
  },
313
359
  "required": false,
@@ -316,6 +362,8 @@ export class LoadingIndicator {
316
362
  "tags": [],
317
363
  "text": "If `true`, the element will display as black and white."
318
364
  },
365
+ "getter": false,
366
+ "setter": false,
319
367
  "attribute": "monochrome",
320
368
  "reflect": false,
321
369
  "defaultValue": "false"
@@ -325,7 +373,7 @@ export class LoadingIndicator {
325
373
  "mutable": false,
326
374
  "complexType": {
327
375
  "original": "IcLoadingSizes",
328
- "resolved": "\"icon\" | \"large\" | \"medium\" | \"small\"",
376
+ "resolved": "\"icon\" | \"large\" | \"medium\" | \"small\" | undefined",
329
377
  "references": {
330
378
  "IcLoadingSizes": {
331
379
  "location": "import",
@@ -340,6 +388,8 @@ export class LoadingIndicator {
340
388
  "tags": [],
341
389
  "text": "The size of the loading indicator."
342
390
  },
391
+ "getter": false,
392
+ "setter": false,
343
393
  "attribute": "size",
344
394
  "reflect": true,
345
395
  "defaultValue": "\"medium\""
@@ -349,7 +399,7 @@ export class LoadingIndicator {
349
399
  "mutable": false,
350
400
  "complexType": {
351
401
  "original": "IcLoadingTypes",
352
- "resolved": "\"circular\" | \"linear\"",
402
+ "resolved": "\"circular\" | \"linear\" | undefined",
353
403
  "references": {
354
404
  "IcLoadingTypes": {
355
405
  "location": "import",
@@ -364,6 +414,8 @@ export class LoadingIndicator {
364
414
  "tags": [],
365
415
  "text": "The type of indicator, either linear or circular."
366
416
  },
417
+ "getter": false,
418
+ "setter": false,
367
419
  "attribute": "type",
368
420
  "reflect": true,
369
421
  "defaultValue": "\"circular\""
@@ -373,7 +425,7 @@ export class LoadingIndicator {
373
425
  "mutable": false,
374
426
  "complexType": {
375
427
  "original": "string | string[]",
376
- "resolved": "string | string[]",
428
+ "resolved": "string | string[] | undefined",
377
429
  "references": {}
378
430
  },
379
431
  "required": false,
@@ -382,6 +434,8 @@ export class LoadingIndicator {
382
434
  "tags": [],
383
435
  "text": "The label to be displayed beneath the loading indicator.\nDisplay a changing label by supplying an array of messages."
384
436
  },
437
+ "getter": false,
438
+ "setter": false,
385
439
  "attribute": "label",
386
440
  "reflect": false
387
441
  },
@@ -390,7 +444,7 @@ export class LoadingIndicator {
390
444
  "mutable": false,
391
445
  "complexType": {
392
446
  "original": "number",
393
- "resolved": "number",
447
+ "resolved": "number | undefined",
394
448
  "references": {}
395
449
  },
396
450
  "required": false,
@@ -399,6 +453,8 @@ export class LoadingIndicator {
399
453
  "tags": [],
400
454
  "text": "The current amount of progress made.\nIf not provided, component acts as an indeterminate loading indicator."
401
455
  },
456
+ "getter": false,
457
+ "setter": false,
402
458
  "attribute": "progress",
403
459
  "reflect": false
404
460
  },
@@ -407,7 +463,7 @@ export class LoadingIndicator {
407
463
  "mutable": false,
408
464
  "complexType": {
409
465
  "original": "IcThemeMode",
410
- "resolved": "\"dark\" | \"inherit\" | \"light\"",
466
+ "resolved": "\"dark\" | \"inherit\" | \"light\" | undefined",
411
467
  "references": {
412
468
  "IcThemeMode": {
413
469
  "location": "import",
@@ -417,11 +473,13 @@ export class LoadingIndicator {
417
473
  }
418
474
  },
419
475
  "required": false,
420
- "optional": false,
476
+ "optional": true,
421
477
  "docs": {
422
478
  "tags": [],
423
479
  "text": "Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component."
424
480
  },
481
+ "getter": false,
482
+ "setter": false,
425
483
  "attribute": "theme",
426
484
  "reflect": false,
427
485
  "defaultValue": "\"inherit\""
@@ -1 +1 @@
1
- {"version":3,"file":"ic-loading-indicator.js","sourceRoot":"","sources":["../../../src/components/ic-loading-indicator/ic-loading-indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAahF,MAAM,OAAO,gBAAgB;;QA6HnB,gCAA2B,GAAG,GAAG,EAAE;YACzC,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;gBACxB,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,WAAW,CAClC,kBAAkB,EAClB,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CACtB,CAAC;YACJ,CAAC;QACH,CAAC,CAAC;QAEM,aAAQ,GAAG,CACjB,UAAkB,EAClB,QAAiC,EACjC,EAAE;YACF,OAAO,IAAI,OAAO,CAAC,GAAG,EAAE;gBACtB,IAAI,CAAC,QAAQ,GAAG,WAAW,CAAC,GAAG,EAAE;oBAC/B,IAAI,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;wBAC3C,UAAU,EAAE,CAAC;oBACf,CAAC;yBAAM,CAAC;wBACN,UAAU,GAAG,CAAC,CAAC;oBACjB,CAAC;oBACD,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;gBACvC,CAAC,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;YACzB,CAAC,CAAC,CAAC;QACL,CAAC,CAAC;QAEM,oBAAe,GAAG,GAAG,EAAE;;YAC7B,IAAI,OAAO,GAA0B,IAAI,CAAC;YAC1C,MAAM,KAAK,GAAG,MAAA,IAAI,CAAC,YAAY,0CAAE,WAAW,CAAC;YAC7C,IAAI,IAAI,CAAC,IAAI,KAAK,OAAO,IAAI,CAAC,IAAI,CAAC,IA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,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Host, Prop, State, Watch } from \"@stencil/core\";\nimport {\n IcLoadingCircleXYR,\n IcLoadingSizes,\n IcLoadingTypes,\n} from \"./ic-loading-indicator.types\";\nimport { IcThemeMode } from \"../../utils/types\";\n\n@Component({\n tag: \"ic-loading-indicator\",\n styleUrl: \"ic-loading-indicator.css\",\n shadow: true,\n})\nexport class LoadingIndicator {\n private circularMeter: SVGCircleElement;\n private innerElement?: HTMLDivElement;\n private interval: ReturnType<typeof setInterval>;\n private labelList: string[];\n private outerElement?: HTMLDivElement;\n\n @Element() el: HTMLIcLoadingIndicatorElement;\n\n @State() circularDiameter: number;\n @State() circularLineWidth: number;\n @State() indeterminate: boolean;\n @State() indicatorLabel: string;\n @State() clipInnerElement: boolean = false;\n\n /**\n * The description that will be set as the aria-label of the loading indicator when not using a visible label.\n */\n @Prop() description?: string = \"Loading\";\n\n /**\n * If `true`, when linear, the full-width variant (i.e. without a border radius) will be displayed.\n */\n @Prop({ reflect: true }) fullWidth?: boolean = false;\n\n /**\n * @internal The step number of a compact step, managed by ic-step.\n */\n @Prop() innerLabel?: number;\n\n /**\n * The time in milliseconds before the label changes.\n */\n @Prop() labelDuration?: number = 8000;\n\n /**\n * The maximum value that the progress value can take.\n * Used to calculate the proportional width of the progress bar.\n */\n @Prop() max?: number = 100;\n\n /**\n * The minimum value that the progress value can take.\n * Used to calculate the proportional width of the progress bar.\n */\n @Prop() min?: number = 0;\n\n /**\n * If `true`, the element will display as black and white.\n */\n @Prop() monochrome?: boolean = false;\n\n /**\n * The size of the loading indicator.\n */\n @Prop({ reflect: true }) size?: IcLoadingSizes = \"medium\";\n\n /**\n * The type of indicator, either linear or circular.\n */\n @Prop({ reflect: true }) type?: IcLoadingTypes = \"circular\";\n\n /**\n * The label to be displayed beneath the loading indicator.\n * Display a changing label by supplying an array of messages.\n */\n @Prop() label?: string | string[];\n\n @Watch(\"label\")\n watchPropHandler(): void {\n this.updateLabel();\n }\n\n /**\n * The current amount of progress made.\n * If not provided, component acts as an indeterminate loading indicator.\n */\n @Prop() progress?: number;\n\n @Watch(\"progress\")\n watchProgressHandler(): void {\n if (this.type === \"circular\") {\n this.updateCircularProgressMeter();\n }\n }\n\n /**\n * Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n @Prop() theme: IcThemeMode = \"inherit\";\n\n disconnectedCallback(): void {\n clearInterval(this.interval);\n }\n\n componentWillLoad(): void {\n this.indeterminate = this.progress === undefined;\n this.updateLabel();\n this.el.setAttribute(\"exportparts\", \"ic-loading-container\");\n }\n\n componentDidLoad(): void {\n if (this.type === \"circular\") {\n this.setCircleLineWidth();\n this.circularMeter = this.el.shadowRoot.querySelector(\n \".ic-loading-circular-svg circle:nth-child(2)\"\n );\n this.updateCircularProgressMeter();\n }\n\n if (Number(this.progress) >= 0 && this.type === \"linear\") {\n this.setLinearDeterminateWidth();\n }\n }\n\n componentWillUpdate(): void {\n this.indeterminate = this.progress === undefined;\n }\n\n componentDidUpdate(): void {\n if (Number(this.progress) >= 0 && this.type === \"linear\") {\n this.setLinearDeterminateWidth();\n }\n }\n\n private updateCircularProgressMeter = () => {\n if (!this.indeterminate) {\n this.circularMeter.style.setProperty(\n \"--progress-value\",\n String(this.progress)\n );\n }\n };\n\n private getLabel = (\n labelIndex: number,\n setLabel: (label: string) => void\n ) => {\n return new Promise(() => {\n this.interval = setInterval(() => {\n if (labelIndex < this.labelList.length - 1) {\n labelIndex++;\n } else {\n labelIndex = 0;\n }\n setLabel(this.labelList[labelIndex]);\n }, this.labelDuration);\n });\n };\n\n private getLabelVariant = () => {\n let variant: \"label\" | \"h4\" | \"h2\" = \"h4\";\n const width = this.outerElement?.offsetWidth;\n if (this.size === \"small\" || (this.type === \"circular\" && width < 60)) {\n variant = \"label\";\n } else if (\n this.size === \"large\" ||\n (this.type === \"circular\" && width >= 120)\n ) {\n variant = \"h2\";\n }\n return variant;\n };\n\n // Sets the circular indicator line width - accounting for the circle size being altered using the CSS custom property\n private setCircleLineWidth = () => {\n const { offsetWidth: width } = this.outerElement;\n\n const compactStepCircularLineWidth = this.el.classList.contains(\n \"compact-step-progress-indicator\"\n )\n ? 40\n : 0;\n const toastDismissTimerCircularLineWidth = this.el.classList.contains(\n \"toast-dismiss-timer\"\n )\n ? 20\n : 0;\n\n if (\n width ||\n compactStepCircularLineWidth ||\n toastDismissTimerCircularLineWidth\n ) {\n this.circularLineWidth =\n (compactStepCircularLineWidth ||\n toastDismissTimerCircularLineWidth ||\n width) * 0.1;\n this.circularDiameter =\n compactStepCircularLineWidth ||\n toastDismissTimerCircularLineWidth ||\n width;\n this.outerElement.style.setProperty(\n \"--circular-line-width\",\n `${this.circularLineWidth}px`\n );\n }\n };\n\n private setLinearDeterminateWidth = () => {\n if (!this.innerElement) return;\n // Ensure progress cannot be out of bounds\n\n const progress = Math.min(this.max, Math.max(this.min, this.progress));\n const proportion = (progress - this.min) / (this.max - this.min);\n this.clipInnerElement = proportion > 0.5;\n if (this.clipInnerElement) {\n this.innerElement.classList.remove(\"clip\");\n } else {\n this.innerElement.classList.add(\"clip\");\n }\n this.innerElement.style.setProperty(\n \"--linear-width\",\n `${proportion * 100}%`\n );\n };\n\n private calcOuterClass = (): string => {\n let cls = `ic-loading-${this.type}-outer`;\n cls += this.indeterminate ? \" indeterminate\" : \" determinate\";\n return cls;\n };\n\n private updateLabel = (): void => {\n if (this.label !== undefined) {\n if (typeof this.label === \"string\") {\n this.indicatorLabel = this.label;\n } else {\n this.labelList = this.label;\n const labelIndex = 0;\n this.indicatorLabel = this.labelList[labelIndex];\n if (this.labelList.length > 1) {\n this.getLabel(labelIndex, (label) => {\n this.indicatorLabel = label;\n });\n }\n }\n }\n };\n\n private setCircleXY = (): IcLoadingCircleXYR => {\n if (this.circularDiameter > 0) {\n const r = this.circularDiameter / 2;\n const x = r;\n const y = r;\n const nextRadius = r - this.circularLineWidth / 2;\n this.setDashSteps(nextRadius);\n\n return { x, y, r: nextRadius };\n }\n return { x: 0, y: 0, r: 0 };\n };\n\n private setDashSteps = (radius: number) => {\n const dashArray = 2 * Math.PI * radius;\n const progress = Math.min(Math.max(this.progress, this.min), this.max);\n const proportion = -1 - (progress - this.min) / (this.max - this.min);\n\n this.circularMeter.style.setProperty(\n \"--stroke-dasharray\",\n `${dashArray}px`\n );\n\n if (!this.indeterminate) {\n this.circularMeter.style.setProperty(\n \"--circular-steps-max\",\n String(this.max)\n );\n this.circularMeter.style.setProperty(\n \"--stroke-dashoffset\",\n `${proportion * dashArray}px`\n );\n }\n };\n\n render() {\n const {\n theme,\n label,\n description,\n size,\n fullWidth,\n innerLabel,\n monochrome,\n } = this;\n const { x, y, r } = this.setCircleXY();\n\n return (\n <Host\n class={{\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n \"ic-loading-indicator-label\": !!label,\n \"ic-loading-indicator-full-width\": fullWidth,\n \"inner-label\": !!innerLabel,\n \"ic-loading-indicator-monochrome\": monochrome,\n }}\n >\n <div class=\"ic-loading-container\" part=\"ic-loading-container\">\n <div\n ref={(el) => (this.outerElement = el as HTMLDivElement)}\n class={this.calcOuterClass()}\n role=\"progressbar\"\n aria-labelledby={\n this.label && this.size !== \"icon\" && \"ic-loading-label\"\n }\n aria-label={description}\n aria-valuenow={this.progress}\n aria-valuemin={this.min}\n aria-valuemax={this.max}\n >\n <div\n ref={(el) => (this.innerElement = el as HTMLDivElement)}\n class={`ic-loading-${this.type}-inner`}\n >\n {this.innerLabel &&\n this.innerLabel !== undefined &&\n this.size === \"small\" && (\n <ic-typography variant=\"subtitle-small\" class=\"inner-text\">\n {this.innerLabel}\n </ic-typography>\n )}\n {this.type === \"circular\" && (\n <svg\n class=\"ic-loading-circular-svg\"\n viewBox={`0 0 ${this.circularDiameter || 0} ${\n this.circularDiameter || 0\n }`}\n >\n <circle cx={`${x}`} cy={`${y}`} r={`${r}`}></circle>\n <circle cx={`${x}`} cy={`${y}`} r={`${r}`}></circle>\n </svg>\n )}\n </div>\n </div>\n {label && size !== \"icon\" && (\n <ic-typography\n id=\"ic-loading-label\"\n class=\"ic-loading-label\"\n role=\"status\"\n variant={this.getLabelVariant()}\n >\n <p>{this.indicatorLabel}</p>\n </ic-typography>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"ic-loading-indicator.js","sourceRoot":"","sources":["../../../src/components/ic-loading-indicator/ic-loading-indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAahF,MAAM,OAAO,gBAAgB;IAL7B;QAkBW,qBAAgB,GAAY,KAAK,CAAC;QAE3C;;WAEG;QACK,gBAAW,GAAY,SAAS,CAAC;QAEzC;;WAEG;QACsB,cAAS,GAAa,KAAK,CAAC;QAOrD;;WAEG;QACK,kBAAa,GAAY,IAAI,CAAC;QAEtC;;;WAGG;QACK,QAAG,GAAY,GAAG,CAAC;QAE3B;;;WAGG;QACK,QAAG,GAAY,CAAC,CAAC;QAEzB;;WAEG;QACK,eAAU,GAAa,KAAK,CAAC;QAErC;;WAEG;QACsB,SAAI,GAAoB,QAAQ,CAAC;QAE1D;;WAEG;QACsB,SAAI,GAAoB,UAAU,CAAC;QA0B5D;;WAEG;QACK,UAAK,GAAiB,SAAS,CAAC;QAoChC,gCAA2B,GAAG,GAAG,EAAE;YACzC,IAAI,CAAC,IAAI,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Host, Prop, State, Watch } from \"@stencil/core\";\nimport {\n IcLoadingCircleXYR,\n IcLoadingSizes,\n IcLoadingTypes,\n} from \"./ic-loading-indicator.types\";\nimport { IcThemeMode, IcTypographyVariants } from \"../../utils/types\";\n\n@Component({\n tag: \"ic-loading-indicator\",\n styleUrl: \"ic-loading-indicator.css\",\n shadow: true,\n})\nexport class LoadingIndicator {\n private circularMeter?: SVGCircleElement | null;\n private innerElement?: HTMLDivElement;\n private interval: ReturnType<typeof setInterval>;\n private labelList: string[];\n private outerElement?: HTMLDivElement;\n\n @Element() el: HTMLIcLoadingIndicatorElement;\n\n @State() circularDiameter: number;\n @State() circularLineWidth: number;\n @State() indeterminate: boolean;\n @State() indicatorLabel: string;\n @State() clipInnerElement: boolean = false;\n\n /**\n * The description that will be set as the aria-label of the loading indicator when not using a visible label.\n */\n @Prop() description?: string = \"Loading\";\n\n /**\n * If `true`, when linear, the full-width variant (i.e. without a border radius) will be displayed.\n */\n @Prop({ reflect: true }) fullWidth?: boolean = false;\n\n /**\n * @internal The step number of a compact step, managed by ic-step.\n */\n @Prop() innerLabel?: number;\n\n /**\n * The time in milliseconds before the label changes.\n */\n @Prop() labelDuration?: number = 8000;\n\n /**\n * The maximum value that the progress value can take.\n * Used to calculate the proportional width of the progress bar.\n */\n @Prop() max?: number = 100;\n\n /**\n * The minimum value that the progress value can take.\n * Used to calculate the proportional width of the progress bar.\n */\n @Prop() min?: number = 0;\n\n /**\n * If `true`, the element will display as black and white.\n */\n @Prop() monochrome?: boolean = false;\n\n /**\n * The size of the loading indicator.\n */\n @Prop({ reflect: true }) size?: IcLoadingSizes = \"medium\";\n\n /**\n * The type of indicator, either linear or circular.\n */\n @Prop({ reflect: true }) type?: IcLoadingTypes = \"circular\";\n\n /**\n * The label to be displayed beneath the loading indicator.\n * Display a changing label by supplying an array of messages.\n */\n @Prop() label?: string | string[];\n\n @Watch(\"label\")\n watchPropHandler(): void {\n this.updateLabel();\n }\n\n /**\n * The current amount of progress made.\n * If not provided, component acts as an indeterminate loading indicator.\n */\n @Prop() progress?: number;\n\n @Watch(\"progress\")\n watchProgressHandler(): void {\n if (this.type === \"circular\") {\n this.updateCircularProgressMeter();\n }\n }\n\n /**\n * Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n @Prop() theme?: IcThemeMode = \"inherit\";\n\n disconnectedCallback(): void {\n clearInterval(this.interval);\n }\n\n componentWillLoad(): void {\n this.indeterminate = this.progress === undefined;\n this.updateLabel();\n this.el.setAttribute(\"exportparts\", \"ic-loading-container\");\n }\n\n componentDidLoad(): void {\n if (this.type === \"circular\") {\n this.setCircleLineWidth();\n this.circularMeter = this.el.shadowRoot?.querySelector(\n \".ic-loading-circular-svg circle:nth-child(2)\"\n );\n this.updateCircularProgressMeter();\n }\n\n if (Number(this.progress) >= 0 && this.type === \"linear\") {\n this.setLinearDeterminateWidth();\n }\n }\n\n componentWillUpdate(): void {\n this.indeterminate = this.progress === undefined;\n }\n\n componentDidUpdate(): void {\n if (Number(this.progress) >= 0 && this.type === \"linear\") {\n this.setLinearDeterminateWidth();\n }\n }\n\n private updateCircularProgressMeter = () => {\n if (!this.indeterminate && this.circularMeter) {\n this.circularMeter.style.setProperty(\n \"--progress-value\",\n String(this.progress)\n );\n }\n };\n\n private getLabel = (\n labelIndex: number,\n setLabel: (label: string) => void\n ) => {\n return new Promise(() => {\n this.interval = setInterval(() => {\n if (labelIndex < this.labelList.length - 1) {\n labelIndex++;\n } else {\n labelIndex = 0;\n }\n setLabel(this.labelList[labelIndex]);\n }, this.labelDuration);\n });\n };\n\n private getLabelVariant = (): IcTypographyVariants => {\n let variant: \"label\" | \"h4\" | \"h2\" = \"h4\";\n const width = this.outerElement?.offsetWidth;\n if (\n this.size === \"small\" ||\n (width && this.type === \"circular\" && width < 60)\n ) {\n variant = \"label\";\n } else if (\n this.size === \"large\" ||\n (width && this.type === \"circular\" && width >= 120)\n ) {\n variant = \"h2\";\n }\n return variant;\n };\n\n // Sets the circular indicator line width - accounting for the circle size being altered using the CSS custom property\n private setCircleLineWidth = () => {\n const compactStepCircularLineWidth = this.el.classList.contains(\n \"compact-step-progress-indicator\"\n )\n ? 40\n : 0;\n const toastDismissTimerCircularLineWidth = this.el.classList.contains(\n \"toast-dismiss-timer\"\n )\n ? 20\n : 0;\n\n if (this.outerElement) {\n const { offsetWidth: width } = this.outerElement;\n\n if (\n width ||\n compactStepCircularLineWidth ||\n toastDismissTimerCircularLineWidth\n ) {\n this.circularLineWidth =\n (compactStepCircularLineWidth ||\n toastDismissTimerCircularLineWidth ||\n width) * 0.1;\n this.circularDiameter =\n compactStepCircularLineWidth ||\n toastDismissTimerCircularLineWidth ||\n width;\n this.outerElement.style.setProperty(\n \"--circular-line-width\",\n `${this.circularLineWidth}px`\n );\n }\n }\n };\n\n private setLinearDeterminateWidth = () => {\n const max = this.max!;\n const min = this.min!;\n\n if (!this.innerElement) return;\n // Ensure progress cannot be out of bounds\n\n if (this.progress) {\n const progress = Math.min(max, Math.max(min, this.progress));\n const proportion = (progress - min) / (max - min);\n this.clipInnerElement = proportion > 0.5;\n if (this.clipInnerElement) {\n this.innerElement.classList.remove(\"clip\");\n } else {\n this.innerElement.classList.add(\"clip\");\n }\n this.innerElement.style.setProperty(\n \"--linear-width\",\n `${proportion * 100}%`\n );\n }\n };\n\n private calcOuterClass = (): string => {\n let cls = `ic-loading-${this.type}-outer`;\n cls += this.indeterminate ? \" indeterminate\" : \" determinate\";\n return cls;\n };\n\n private updateLabel = (): void => {\n if (this.label !== undefined) {\n if (typeof this.label === \"string\") {\n this.indicatorLabel = this.label;\n } else {\n this.labelList = this.label;\n const labelIndex = 0;\n this.indicatorLabel = this.labelList[labelIndex];\n if (this.labelList.length > 1) {\n this.getLabel(labelIndex, (label) => {\n this.indicatorLabel = label;\n });\n }\n }\n }\n };\n\n private setCircleXY = (): IcLoadingCircleXYR => {\n if (this.circularDiameter > 0) {\n const r = this.circularDiameter / 2;\n const x = r;\n const y = r;\n const nextRadius = r - this.circularLineWidth / 2;\n this.setDashSteps(nextRadius);\n\n return { x, y, r: nextRadius };\n }\n return { x: 0, y: 0, r: 0 };\n };\n\n private setDashSteps = (radius: number) => {\n const dashArray = 2 * Math.PI * radius;\n\n if (this.circularMeter) {\n this.circularMeter.style.setProperty(\n \"--stroke-dasharray\",\n `${dashArray}px`\n );\n\n if (!this.indeterminate && this.progress) {\n const min = this.min!;\n const max = this.max!;\n const progress = Math.min(Math.max(this.progress, min), max);\n const proportion = -1 - (progress - min) / (max - min);\n this.circularMeter.style.setProperty(\n \"--circular-steps-max\",\n String(this.max)\n );\n this.circularMeter.style.setProperty(\n \"--stroke-dashoffset\",\n `${proportion * dashArray}px`\n );\n }\n }\n };\n\n render() {\n const {\n theme,\n label,\n description,\n size,\n fullWidth,\n innerLabel,\n monochrome,\n } = this;\n const { x, y, r } = this.setCircleXY();\n\n return (\n <Host\n class={{\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n \"ic-loading-indicator-label\": !!label,\n \"ic-loading-indicator-full-width\": !!fullWidth,\n \"inner-label\": !!innerLabel,\n \"ic-loading-indicator-monochrome\": !!monochrome,\n }}\n >\n <div class=\"ic-loading-container\" part=\"ic-loading-container\">\n <div\n ref={(el) => (this.outerElement = el as HTMLDivElement)}\n class={this.calcOuterClass()}\n role=\"progressbar\"\n aria-labelledby={\n this.label && this.size !== \"icon\" && \"ic-loading-label\"\n }\n aria-label={description}\n aria-valuenow={this.progress}\n aria-valuemin={this.min}\n aria-valuemax={this.max}\n >\n <div\n ref={(el) => (this.innerElement = el as HTMLDivElement)}\n class={`ic-loading-${this.type}-inner`}\n >\n {this.innerLabel &&\n this.innerLabel !== undefined &&\n this.size === \"small\" && (\n <ic-typography variant=\"subtitle-small\" class=\"inner-text\">\n {this.innerLabel}\n </ic-typography>\n )}\n {this.type === \"circular\" && (\n <svg\n class=\"ic-loading-circular-svg\"\n viewBox={`0 0 ${this.circularDiameter || 0} ${\n this.circularDiameter || 0\n }`}\n >\n <circle cx={`${x}`} cy={`${y}`} r={`${r}`}></circle>\n <circle cx={`${x}`} cy={`${y}`} r={`${r}`}></circle>\n </svg>\n )}\n </div>\n </div>\n {label && size !== \"icon\" && (\n <ic-typography\n id=\"ic-loading-label\"\n class=\"ic-loading-label\"\n role=\"status\"\n variant={this.getLabelVariant()}\n >\n <p>{this.indicatorLabel}</p>\n </ic-typography>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}