@ukic/canary-web-components 2.0.0-canary.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1298) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +162 -0
  3. package/dist/cjs/OpenInNew-f9958725.js +7 -0
  4. package/dist/cjs/OpenInNew-f9958725.js.map +1 -0
  5. package/dist/cjs/check-icon-b2f60716.js +10 -0
  6. package/dist/cjs/check-icon-b2f60716.js.map +1 -0
  7. package/dist/cjs/chevron-icon-2bb3a907.js +10 -0
  8. package/dist/cjs/chevron-icon-2bb3a907.js.map +1 -0
  9. package/dist/cjs/close-icon-8ccb0163.js +12 -0
  10. package/dist/cjs/close-icon-8ccb0163.js.map +1 -0
  11. package/dist/cjs/core.cjs.js +28 -0
  12. package/dist/cjs/core.cjs.js.map +1 -0
  13. package/dist/cjs/helpers-3811d14b.js +599 -0
  14. package/dist/cjs/helpers-3811d14b.js.map +1 -0
  15. package/dist/cjs/ic-alert.cjs.entry.js +73 -0
  16. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -0
  17. package/dist/cjs/ic-back-to-top.cjs.entry.js +145 -0
  18. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -0
  19. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +188 -0
  20. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -0
  21. package/dist/cjs/ic-breadcrumb.cjs.entry.js +74 -0
  22. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -0
  23. package/dist/cjs/ic-button_3.cjs.entry.js +560 -0
  24. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -0
  25. package/dist/cjs/ic-card.cjs.entry.js +126 -0
  26. package/dist/cjs/ic-card.cjs.entry.js.map +1 -0
  27. package/dist/cjs/ic-checkbox-group.cjs.entry.js +69 -0
  28. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -0
  29. package/dist/cjs/ic-checkbox.cjs.entry.js +114 -0
  30. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -0
  31. package/dist/cjs/ic-chip.cjs.entry.js +80 -0
  32. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -0
  33. package/dist/cjs/ic-classification-banner.cjs.entry.js +42 -0
  34. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -0
  35. package/dist/cjs/ic-data-entity.cjs.entry.js +31 -0
  36. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -0
  37. package/dist/cjs/ic-data-row.cjs.entry.js +91 -0
  38. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -0
  39. package/dist/cjs/ic-dialog.cjs.entry.js +295 -0
  40. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -0
  41. package/dist/cjs/ic-divider.cjs.entry.js +30 -0
  42. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -0
  43. package/dist/cjs/ic-footer-link-group.cjs.entry.js +71 -0
  44. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -0
  45. package/dist/cjs/ic-footer-link.cjs.entry.js +67 -0
  46. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -0
  47. package/dist/cjs/ic-footer.cjs.entry.js +90 -0
  48. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -0
  49. package/dist/cjs/ic-hero.cjs.entry.js +75 -0
  50. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -0
  51. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +177 -0
  52. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -0
  53. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +699 -0
  54. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -0
  55. package/dist/cjs/ic-input-label_2.cjs.entry.js +85 -0
  56. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -0
  57. package/dist/cjs/ic-link.cjs.entry.js +76 -0
  58. package/dist/cjs/ic-link.cjs.entry.js.map +1 -0
  59. package/dist/cjs/ic-menu-group.cjs.entry.js +24 -0
  60. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -0
  61. package/dist/cjs/ic-menu-item.cjs.entry.js +122 -0
  62. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -0
  63. package/dist/cjs/ic-navigation-button.cjs.entry.js +88 -0
  64. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -0
  65. package/dist/cjs/ic-navigation-group.cjs.entry.js +289 -0
  66. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -0
  67. package/dist/cjs/ic-navigation-item.cjs.entry.js +154 -0
  68. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -0
  69. package/dist/cjs/ic-navigation-menu.cjs.entry.js +124 -0
  70. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -0
  71. package/dist/cjs/ic-page-header.cjs.entry.js +105 -0
  72. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -0
  73. package/dist/cjs/ic-pagination-bar.cjs.entry.js +270 -0
  74. package/dist/cjs/ic-pagination-bar.cjs.entry.js.map +1 -0
  75. package/dist/cjs/ic-pagination_4.cjs.entry.js +1115 -0
  76. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -0
  77. package/dist/cjs/ic-popover-menu.cjs.entry.js +237 -0
  78. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -0
  79. package/dist/cjs/ic-radio-group.cjs.entry.js +130 -0
  80. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -0
  81. package/dist/cjs/ic-radio-option.cjs.entry.js +141 -0
  82. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -0
  83. package/dist/cjs/ic-search-bar.cjs.entry.js +493 -0
  84. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -0
  85. package/dist/cjs/ic-section-container.cjs.entry.js +29 -0
  86. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -0
  87. package/dist/cjs/ic-side-navigation.cjs.entry.js +435 -0
  88. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -0
  89. package/dist/cjs/ic-skeleton.cjs.entry.js +59 -0
  90. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -0
  91. package/dist/cjs/ic-status-tag.cjs.entry.js +36 -0
  92. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -0
  93. package/dist/cjs/ic-step.cjs.entry.js +140 -0
  94. package/dist/cjs/ic-step.cjs.entry.js.map +1 -0
  95. package/dist/cjs/ic-stepper.cjs.entry.js +221 -0
  96. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -0
  97. package/dist/cjs/ic-switch.cjs.entry.js +86 -0
  98. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -0
  99. package/dist/cjs/ic-tab-context.cjs.entry.js +269 -0
  100. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -0
  101. package/dist/cjs/ic-tab-group.cjs.entry.js +38 -0
  102. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -0
  103. package/dist/cjs/ic-tab-panel.cjs.entry.js +44 -0
  104. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -0
  105. package/dist/cjs/ic-tab.cjs.entry.js +103 -0
  106. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -0
  107. package/dist/cjs/ic-theme.cjs.entry.js +62 -0
  108. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -0
  109. package/dist/cjs/ic-toast-region.cjs.entry.js +48 -0
  110. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -0
  111. package/dist/cjs/ic-toast.cjs.entry.js +169 -0
  112. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -0
  113. package/dist/cjs/ic-top-navigation.cjs.entry.js +217 -0
  114. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -0
  115. package/dist/cjs/ic-typography.cjs.entry.js +128 -0
  116. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -0
  117. package/dist/cjs/ic-unstable-data-table.cjs.entry.js +271 -0
  118. package/dist/cjs/ic-unstable-data-table.cjs.entry.js.map +1 -0
  119. package/dist/cjs/index-4f4d2b43.js +2689 -0
  120. package/dist/cjs/index-4f4d2b43.js.map +1 -0
  121. package/dist/cjs/index.cjs.js +4 -0
  122. package/dist/cjs/index.cjs.js.map +1 -0
  123. package/dist/cjs/loader.cjs.js +24 -0
  124. package/dist/cjs/loader.cjs.js.map +1 -0
  125. package/dist/cjs/popper-d7adcfc6.js +1796 -0
  126. package/dist/cjs/popper-d7adcfc6.js.map +1 -0
  127. package/dist/cjs/types-3eb02246.js +16 -0
  128. package/dist/cjs/types-3eb02246.js.map +1 -0
  129. package/dist/collection/assets/OpenInNew.svg +1 -0
  130. package/dist/collection/assets/back-icon.svg +3 -0
  131. package/dist/collection/assets/check-icon.svg +3 -0
  132. package/dist/collection/assets/chevron-icon.svg +3 -0
  133. package/dist/collection/assets/clear-icon.svg +3 -0
  134. package/dist/collection/assets/close-icon.svg +5 -0
  135. package/dist/collection/assets/dismiss-icon.svg +3 -0
  136. package/dist/collection/assets/error-icon.svg +6 -0
  137. package/dist/collection/assets/hamburger-menu-icon.svg +5 -0
  138. package/dist/collection/assets/info-icon.svg +6 -0
  139. package/dist/collection/assets/neutral-icon.svg +6 -0
  140. package/dist/collection/assets/pagination-first-last.svg +3 -0
  141. package/dist/collection/assets/pagination-next-previous.svg +3 -0
  142. package/dist/collection/assets/search-icon.svg +3 -0
  143. package/dist/collection/assets/success-icon.svg +6 -0
  144. package/dist/collection/assets/warning-icon-outline.svg +3 -0
  145. package/dist/collection/assets/warning-icon.svg +6 -0
  146. package/dist/collection/collection-manifest.json +71 -0
  147. package/dist/collection/components/ic-alert/ic-alert.css +616 -0
  148. package/dist/collection/components/ic-alert/ic-alert.js +243 -0
  149. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -0
  150. package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js +11 -0
  151. package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js.map +1 -0
  152. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js +16 -0
  153. package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js.map +1 -0
  154. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +182 -0
  155. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +1 -0
  156. package/dist/collection/components/ic-back-to-top/assets/ArrowUpward.svg +3 -0
  157. package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +542 -0
  158. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +171 -0
  159. package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -0
  160. package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js +28 -0
  161. package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js.map +1 -0
  162. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js +68 -0
  163. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js.map +1 -0
  164. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +123 -0
  165. package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +1 -0
  166. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +100 -0
  167. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +166 -0
  168. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -0
  169. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js +2 -0
  170. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js.map +1 -0
  171. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js +118 -0
  172. package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +1 -0
  173. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.css +36 -0
  174. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +234 -0
  175. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -0
  176. package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js +21 -0
  177. package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js.map +1 -0
  178. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js +35 -0
  179. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js.map +1 -0
  180. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js +41 -0
  181. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js.map +1 -0
  182. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +181 -0
  183. package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +1 -0
  184. package/dist/collection/components/ic-button/ic-button.css +871 -0
  185. package/dist/collection/components/ic-button/ic-button.js +727 -0
  186. package/dist/collection/components/ic-button/ic-button.js.map +1 -0
  187. package/dist/collection/components/ic-button/ic-button.types.js +2 -0
  188. package/dist/collection/components/ic-button/ic-button.types.js.map +1 -0
  189. package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js +11 -0
  190. package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js.map +1 -0
  191. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js +198 -0
  192. package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js.map +1 -0
  193. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +256 -0
  194. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -0
  195. package/dist/collection/components/ic-card/ic-card.css +620 -0
  196. package/dist/collection/components/ic-card/ic-card.js +400 -0
  197. package/dist/collection/components/ic-card/ic-card.js.map +1 -0
  198. package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js +21 -0
  199. package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js.map +1 -0
  200. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js +23 -0
  201. package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js.map +1 -0
  202. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js +152 -0
  203. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +1 -0
  204. package/dist/collection/components/ic-checkbox/ic-checkbox.css +675 -0
  205. package/dist/collection/components/ic-checkbox/ic-checkbox.js +386 -0
  206. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -0
  207. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +482 -0
  208. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +295 -0
  209. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -0
  210. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js +2 -0
  211. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js.map +1 -0
  212. package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js +16 -0
  213. package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js.map +1 -0
  214. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js +201 -0
  215. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js.map +1 -0
  216. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +203 -0
  217. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -0
  218. package/dist/collection/components/ic-chip/ic-chip.css +597 -0
  219. package/dist/collection/components/ic-chip/ic-chip.js +250 -0
  220. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -0
  221. package/dist/collection/components/ic-chip/ic-chip.types.js +2 -0
  222. package/dist/collection/components/ic-chip/ic-chip.types.js.map +1 -0
  223. package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js +11 -0
  224. package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js.map +1 -0
  225. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +110 -0
  226. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -0
  227. package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +504 -0
  228. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +141 -0
  229. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -0
  230. package/dist/collection/components/ic-classification-banner/ic-classification-banner.types.js +2 -0
  231. package/dist/collection/components/ic-classification-banner/ic-classification-banner.types.js.map +1 -0
  232. package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js +11 -0
  233. package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js.map +1 -0
  234. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js +140 -0
  235. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +1 -0
  236. package/dist/collection/components/ic-data-entity/ic-data-entity.css +474 -0
  237. package/dist/collection/components/ic-data-entity/ic-data-entity.js +70 -0
  238. package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +1 -0
  239. package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js +11 -0
  240. package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js.map +1 -0
  241. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js +161 -0
  242. package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +1 -0
  243. package/dist/collection/components/ic-data-row/ic-data-row.css +525 -0
  244. package/dist/collection/components/ic-data-row/ic-data-row.js +157 -0
  245. package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -0
  246. package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js +18 -0
  247. package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js.map +1 -0
  248. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +74 -0
  249. package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +1 -0
  250. package/dist/collection/components/ic-data-table/assets/ascending-icon.svg +3 -0
  251. package/dist/collection/components/ic-data-table/assets/descending-icon.svg +3 -0
  252. package/dist/collection/components/ic-data-table/assets/unsorted-icon.svg +3 -0
  253. package/dist/collection/components/ic-data-table/ic-data-table.css +214 -0
  254. package/dist/collection/components/ic-data-table/ic-data-table.js +533 -0
  255. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -0
  256. package/dist/collection/components/ic-data-table/ic-data-table.types.js +2 -0
  257. package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -0
  258. package/dist/collection/components/ic-data-table/test/a11y/ic-data-table.test.a11y.js +28 -0
  259. package/dist/collection/components/ic-data-table/test/a11y/ic-data-table.test.a11y.js.map +1 -0
  260. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +466 -0
  261. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -0
  262. package/dist/collection/components/ic-dialog/ic-dialog.css +592 -0
  263. package/dist/collection/components/ic-dialog/ic-dialog.js +640 -0
  264. package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -0
  265. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js +28 -0
  266. package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js.map +1 -0
  267. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js +207 -0
  268. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js.map +1 -0
  269. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +520 -0
  270. package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -0
  271. package/dist/collection/components/ic-divider/ic-divider.css +11 -0
  272. package/dist/collection/components/ic-divider/ic-divider.js +44 -0
  273. package/dist/collection/components/ic-divider/ic-divider.js.map +1 -0
  274. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js +24 -0
  275. package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +1 -0
  276. package/dist/collection/components/ic-footer/ic-footer.css +543 -0
  277. package/dist/collection/components/ic-footer/ic-footer.js +252 -0
  278. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -0
  279. package/dist/collection/components/ic-footer/ic-footer.types.js +2 -0
  280. package/dist/collection/components/ic-footer/ic-footer.types.js.map +1 -0
  281. package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js +21 -0
  282. package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js.map +1 -0
  283. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js +50 -0
  284. package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js.map +1 -0
  285. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +140 -0
  286. package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -0
  287. package/dist/collection/components/ic-footer-link/ic-footer-link.css +612 -0
  288. package/dist/collection/components/ic-footer-link/ic-footer-link.js +200 -0
  289. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -0
  290. package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js +21 -0
  291. package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js.map +1 -0
  292. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js +62 -0
  293. package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +1 -0
  294. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +522 -0
  295. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +114 -0
  296. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -0
  297. package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js +21 -0
  298. package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js.map +1 -0
  299. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +98 -0
  300. package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -0
  301. package/dist/collection/components/ic-hero/ic-hero.css +726 -0
  302. package/dist/collection/components/ic-hero/ic-hero.js +275 -0
  303. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -0
  304. package/dist/collection/components/ic-hero/ic-hero.types.js +2 -0
  305. package/dist/collection/components/ic-hero/ic-hero.types.js.map +1 -0
  306. package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js +11 -0
  307. package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js.map +1 -0
  308. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +76 -0
  309. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -0
  310. package/dist/collection/components/ic-horizontal-scroll/assets/left-arrow.svg +3 -0
  311. package/dist/collection/components/ic-horizontal-scroll/assets/right-arrow.svg +3 -0
  312. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +535 -0
  313. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +232 -0
  314. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -0
  315. package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js +34 -0
  316. package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js.map +1 -0
  317. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js +180 -0
  318. package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +1 -0
  319. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +166 -0
  320. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +208 -0
  321. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -0
  322. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +117 -0
  323. package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -0
  324. package/dist/collection/components/ic-input-container/ic-input-container.css +4 -0
  325. package/dist/collection/components/ic-input-container/ic-input-container.js +66 -0
  326. package/dist/collection/components/ic-input-container/ic-input-container.js.map +1 -0
  327. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js +38 -0
  328. package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +1 -0
  329. package/dist/collection/components/ic-input-label/ic-input-label.css +35 -0
  330. package/dist/collection/components/ic-input-label/ic-input-label.js +194 -0
  331. package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -0
  332. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js +98 -0
  333. package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +1 -0
  334. package/dist/collection/components/ic-input-validation/ic-input-validation.css +34 -0
  335. package/dist/collection/components/ic-input-validation/ic-input-validation.js +152 -0
  336. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -0
  337. package/dist/collection/components/ic-input-validation/ic-input-validation.types.js +2 -0
  338. package/dist/collection/components/ic-input-validation/ic-input-validation.types.js.map +1 -0
  339. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js +89 -0
  340. package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +1 -0
  341. package/dist/collection/components/ic-link/ic-link.css +558 -0
  342. package/dist/collection/components/ic-link/ic-link.js +264 -0
  343. package/dist/collection/components/ic-link/ic-link.js.map +1 -0
  344. package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js +11 -0
  345. package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js.map +1 -0
  346. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +203 -0
  347. package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -0
  348. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +663 -0
  349. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +423 -0
  350. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -0
  351. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js +2 -0
  352. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js.map +1 -0
  353. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js +11 -0
  354. package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +1 -0
  355. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js +34 -0
  356. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +1 -0
  357. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +141 -0
  358. package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -0
  359. package/dist/collection/components/ic-menu/ic-menu.css +629 -0
  360. package/dist/collection/components/ic-menu/ic-menu.js +1150 -0
  361. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -0
  362. package/dist/collection/components/ic-menu/ic-menu.types.js +2 -0
  363. package/dist/collection/components/ic-menu/ic-menu.types.js.map +1 -0
  364. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +657 -0
  365. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -0
  366. package/dist/collection/components/ic-menu-group/ic-menu-group.css +465 -0
  367. package/dist/collection/components/ic-menu-group/ic-menu-group.js +45 -0
  368. package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +1 -0
  369. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js +94 -0
  370. package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +1 -0
  371. package/dist/collection/components/ic-menu-item/ic-menu-item.css +628 -0
  372. package/dist/collection/components/ic-menu-item/ic-menu-item.js +394 -0
  373. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -0
  374. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js +2 -0
  375. package/dist/collection/components/ic-menu-item/ic-menu-item.types.js.map +1 -0
  376. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js +108 -0
  377. package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +1 -0
  378. package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +456 -0
  379. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +267 -0
  380. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -0
  381. package/dist/collection/components/ic-navigation-button/ic-navigation-button.types.js +2 -0
  382. package/dist/collection/components/ic-navigation-button/ic-navigation-button.types.js.map +1 -0
  383. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +84 -0
  384. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -0
  385. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +646 -0
  386. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +379 -0
  387. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -0
  388. package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js +18 -0
  389. package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js.map +1 -0
  390. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +309 -0
  391. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +1 -0
  392. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +1028 -0
  393. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +444 -0
  394. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -0
  395. package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js +18 -0
  396. package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js.map +1 -0
  397. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +118 -0
  398. package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +1 -0
  399. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +92 -0
  400. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +202 -0
  401. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -0
  402. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js +29 -0
  403. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js.map +1 -0
  404. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js +176 -0
  405. package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +1 -0
  406. package/dist/collection/components/ic-page-header/ic-page-header.css +582 -0
  407. package/dist/collection/components/ic-page-header/ic-page-header.js +272 -0
  408. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -0
  409. package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js +13 -0
  410. package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js.map +1 -0
  411. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js +177 -0
  412. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js.map +1 -0
  413. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +284 -0
  414. package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +1 -0
  415. package/dist/collection/components/ic-pagination/ic-pagination.css +486 -0
  416. package/dist/collection/components/ic-pagination/ic-pagination.js +498 -0
  417. package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -0
  418. package/dist/collection/components/ic-pagination/ic-pagination.types.js +2 -0
  419. package/dist/collection/components/ic-pagination/ic-pagination.types.js.map +1 -0
  420. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js +11 -0
  421. package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +1 -0
  422. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js +128 -0
  423. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js.map +1 -0
  424. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +335 -0
  425. package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -0
  426. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.css +107 -0
  427. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +539 -0
  428. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -0
  429. package/dist/collection/components/ic-pagination-bar/test/a11y/ic-pagination-bar.test.a11y.js +11 -0
  430. package/dist/collection/components/ic-pagination-bar/test/a11y/ic-pagination-bar.test.a11y.js.map +1 -0
  431. package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js +415 -0
  432. package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js.map +1 -0
  433. package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +581 -0
  434. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +229 -0
  435. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -0
  436. package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js +2 -0
  437. package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js.map +1 -0
  438. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +536 -0
  439. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +433 -0
  440. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -0
  441. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js +13 -0
  442. package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +1 -0
  443. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js +30 -0
  444. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +1 -0
  445. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js +381 -0
  446. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +1 -0
  447. package/dist/collection/components/ic-radio-group/ic-radio-group.css +486 -0
  448. package/dist/collection/components/ic-radio-group/ic-radio-group.js +363 -0
  449. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -0
  450. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js +2 -0
  451. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js.map +1 -0
  452. package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js +16 -0
  453. package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js.map +1 -0
  454. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js +343 -0
  455. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +1 -0
  456. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +303 -0
  457. package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -0
  458. package/dist/collection/components/ic-radio-option/ic-radio-option.css +654 -0
  459. package/dist/collection/components/ic-radio-option/ic-radio-option.js +384 -0
  460. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -0
  461. package/dist/collection/components/ic-search-bar/ic-search-bar.css +560 -0
  462. package/dist/collection/components/ic-search-bar/ic-search-bar.js +1318 -0
  463. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -0
  464. package/dist/collection/components/ic-search-bar/ic-search-bar.types.js +2 -0
  465. package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +1 -0
  466. package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js +11 -0
  467. package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js.map +1 -0
  468. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js +1118 -0
  469. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +1 -0
  470. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +584 -0
  471. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -0
  472. package/dist/collection/components/ic-section-container/ic-section-container.css +514 -0
  473. package/dist/collection/components/ic-section-container/ic-section-container.js +74 -0
  474. package/dist/collection/components/ic-section-container/ic-section-container.js.map +1 -0
  475. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js +69 -0
  476. package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +1 -0
  477. package/dist/collection/components/ic-select/assets/Check.svg +3 -0
  478. package/dist/collection/components/ic-select/assets/Clear.svg +3 -0
  479. package/dist/collection/components/ic-select/assets/Expand.svg +3 -0
  480. package/dist/collection/components/ic-select/ic-select.css +670 -0
  481. package/dist/collection/components/ic-select/ic-select.js +1285 -0
  482. package/dist/collection/components/ic-select/ic-select.js.map +1 -0
  483. package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js +28 -0
  484. package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js.map +1 -0
  485. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js +1768 -0
  486. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +1 -0
  487. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +1296 -0
  488. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -0
  489. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +635 -0
  490. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +638 -0
  491. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -0
  492. package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js +2 -0
  493. package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js.map +1 -0
  494. package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js +14 -0
  495. package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js.map +1 -0
  496. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js +411 -0
  497. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js.map +1 -0
  498. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js +432 -0
  499. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +1 -0
  500. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +470 -0
  501. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +1 -0
  502. package/dist/collection/components/ic-skeleton/ic-skeleton.css +503 -0
  503. package/dist/collection/components/ic-skeleton/ic-skeleton.js +112 -0
  504. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -0
  505. package/dist/collection/components/ic-skeleton/ic-skeleton.types.js +2 -0
  506. package/dist/collection/components/ic-skeleton/ic-skeleton.types.js.map +1 -0
  507. package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js +11 -0
  508. package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js.map +1 -0
  509. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +89 -0
  510. package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +1 -0
  511. package/dist/collection/components/ic-status-tag/ic-status-tag.css +504 -0
  512. package/dist/collection/components/ic-status-tag/ic-status-tag.js +138 -0
  513. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -0
  514. package/dist/collection/components/ic-status-tag/ic-status-tag.types.js +2 -0
  515. package/dist/collection/components/ic-status-tag/ic-status-tag.types.js.map +1 -0
  516. package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js +11 -0
  517. package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js.map +1 -0
  518. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +43 -0
  519. package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +1 -0
  520. package/dist/collection/components/ic-step/ic-step.css +278 -0
  521. package/dist/collection/components/ic-step/ic-step.js +394 -0
  522. package/dist/collection/components/ic-step/ic-step.js.map +1 -0
  523. package/dist/collection/components/ic-step/ic-step.types.js +2 -0
  524. package/dist/collection/components/ic-step/ic-step.types.js.map +1 -0
  525. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +176 -0
  526. package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +1 -0
  527. package/dist/collection/components/ic-stepper/ic-stepper.css +28 -0
  528. package/dist/collection/components/ic-stepper/ic-stepper.js +317 -0
  529. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -0
  530. package/dist/collection/components/ic-stepper/ic-stepper.types.js +2 -0
  531. package/dist/collection/components/ic-stepper/ic-stepper.types.js.map +1 -0
  532. package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js +36 -0
  533. package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js.map +1 -0
  534. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js +74 -0
  535. package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +1 -0
  536. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js +49 -0
  537. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js.map +1 -0
  538. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +706 -0
  539. package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -0
  540. package/dist/collection/components/ic-switch/ic-switch.css +656 -0
  541. package/dist/collection/components/ic-switch/ic-switch.js +329 -0
  542. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -0
  543. package/dist/collection/components/ic-switch/ic-switch.types.js +2 -0
  544. package/dist/collection/components/ic-switch/ic-switch.types.js.map +1 -0
  545. package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js +11 -0
  546. package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js.map +1 -0
  547. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +104 -0
  548. package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -0
  549. package/dist/collection/components/ic-tab/ic-tab.css +521 -0
  550. package/dist/collection/components/ic-tab/ic-tab.js +361 -0
  551. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -0
  552. package/dist/collection/components/ic-tab/ic-tab.types.js +2 -0
  553. package/dist/collection/components/ic-tab/ic-tab.types.js.map +1 -0
  554. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js +32 -0
  555. package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js.map +1 -0
  556. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +159 -0
  557. package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -0
  558. package/dist/collection/components/ic-tab-context/ic-tab-context.js +451 -0
  559. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -0
  560. package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js +19 -0
  561. package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js.map +1 -0
  562. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js +317 -0
  563. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js.map +1 -0
  564. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +390 -0
  565. package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +1 -0
  566. package/dist/collection/components/ic-tab-group/ic-tab-group.css +25 -0
  567. package/dist/collection/components/ic-tab-group/ic-tab-group.js +124 -0
  568. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -0
  569. package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +7 -0
  570. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +196 -0
  571. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -0
  572. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js +65 -0
  573. package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +1 -0
  574. package/dist/collection/components/ic-text-field/ic-text-field.css +558 -0
  575. package/dist/collection/components/ic-text-field/ic-text-field.js +1107 -0
  576. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -0
  577. package/dist/collection/components/ic-text-field/ic-text-field.types.js +2 -0
  578. package/dist/collection/components/ic-text-field/ic-text-field.types.js.map +1 -0
  579. package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js +33 -0
  580. package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js.map +1 -0
  581. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js +98 -0
  582. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +1 -0
  583. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +236 -0
  584. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -0
  585. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +310 -0
  586. package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +1 -0
  587. package/dist/collection/components/ic-theme/ic-theme.js +106 -0
  588. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -0
  589. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js +72 -0
  590. package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +1 -0
  591. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +77 -0
  592. package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +1 -0
  593. package/dist/collection/components/ic-toast/ic-toast.css +602 -0
  594. package/dist/collection/components/ic-toast/ic-toast.js +386 -0
  595. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -0
  596. package/dist/collection/components/ic-toast/ic-toast.types.js +2 -0
  597. package/dist/collection/components/ic-toast/ic-toast.types.js.map +1 -0
  598. package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js +16 -0
  599. package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js.map +1 -0
  600. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js +82 -0
  601. package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js.map +1 -0
  602. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +278 -0
  603. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -0
  604. package/dist/collection/components/ic-toast-region/ic-toast-region.js +81 -0
  605. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -0
  606. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +62 -0
  607. package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +1 -0
  608. package/dist/collection/components/ic-tooltip/ic-tooltip.css +563 -0
  609. package/dist/collection/components/ic-tooltip/ic-tooltip.js +294 -0
  610. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -0
  611. package/dist/collection/components/ic-tooltip/ic-tooltip.types.js +2 -0
  612. package/dist/collection/components/ic-tooltip/ic-tooltip.types.js.map +1 -0
  613. package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js +15 -0
  614. package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js.map +1 -0
  615. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js +115 -0
  616. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +1 -0
  617. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +128 -0
  618. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -0
  619. package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +737 -0
  620. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +439 -0
  621. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -0
  622. package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js +30 -0
  623. package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js.map +1 -0
  624. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js +61 -0
  625. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js.map +1 -0
  626. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js +242 -0
  627. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js.map +1 -0
  628. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +299 -0
  629. package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +1 -0
  630. package/dist/collection/components/ic-typography/ic-typography.css +627 -0
  631. package/dist/collection/components/ic-typography/ic-typography.js +271 -0
  632. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -0
  633. package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js +11 -0
  634. package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js.map +1 -0
  635. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js +39 -0
  636. package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js.map +1 -0
  637. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +324 -0
  638. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -0
  639. package/dist/collection/index.js +2 -0
  640. package/dist/collection/index.js.map +1 -0
  641. package/dist/collection/normalize.css +440 -0
  642. package/dist/collection/testspec.setup.js +63 -0
  643. package/dist/collection/testspec.setup.js.map +1 -0
  644. package/dist/collection/utils/constants.js +81 -0
  645. package/dist/collection/utils/constants.js.map +1 -0
  646. package/dist/collection/utils/helpers.js +433 -0
  647. package/dist/collection/utils/helpers.js.map +1 -0
  648. package/dist/collection/utils/testa11y.helpers.js +8 -0
  649. package/dist/collection/utils/testa11y.helpers.js.map +1 -0
  650. package/dist/collection/utils/types.js +13 -0
  651. package/dist/collection/utils/types.js.map +1 -0
  652. package/dist/components/OpenInNew.js +5 -0
  653. package/dist/components/OpenInNew.js.map +1 -0
  654. package/dist/components/check-icon.js +8 -0
  655. package/dist/components/check-icon.js.map +1 -0
  656. package/dist/components/chevron-icon.js +8 -0
  657. package/dist/components/chevron-icon.js.map +1 -0
  658. package/dist/components/close-icon.js +10 -0
  659. package/dist/components/close-icon.js.map +1 -0
  660. package/dist/components/helpers.js +552 -0
  661. package/dist/components/helpers.js.map +1 -0
  662. package/dist/components/ic-alert.d.ts +11 -0
  663. package/dist/components/ic-alert.js +8 -0
  664. package/dist/components/ic-alert.js.map +1 -0
  665. package/dist/components/ic-alert2.js +117 -0
  666. package/dist/components/ic-alert2.js.map +1 -0
  667. package/dist/components/ic-back-to-top.d.ts +11 -0
  668. package/dist/components/ic-back-to-top.js +169 -0
  669. package/dist/components/ic-back-to-top.js.map +1 -0
  670. package/dist/components/ic-breadcrumb-group.d.ts +11 -0
  671. package/dist/components/ic-breadcrumb-group.js +218 -0
  672. package/dist/components/ic-breadcrumb-group.js.map +1 -0
  673. package/dist/components/ic-breadcrumb.d.ts +11 -0
  674. package/dist/components/ic-breadcrumb.js +8 -0
  675. package/dist/components/ic-breadcrumb.js.map +1 -0
  676. package/dist/components/ic-breadcrumb2.js +96 -0
  677. package/dist/components/ic-breadcrumb2.js.map +1 -0
  678. package/dist/components/ic-button.d.ts +11 -0
  679. package/dist/components/ic-button.js +8 -0
  680. package/dist/components/ic-button.js.map +1 -0
  681. package/dist/components/ic-button2.js +284 -0
  682. package/dist/components/ic-button2.js.map +1 -0
  683. package/dist/components/ic-card.d.ts +11 -0
  684. package/dist/components/ic-card.js +183 -0
  685. package/dist/components/ic-card.js.map +1 -0
  686. package/dist/components/ic-checkbox-group.d.ts +11 -0
  687. package/dist/components/ic-checkbox-group.js +111 -0
  688. package/dist/components/ic-checkbox-group.js.map +1 -0
  689. package/dist/components/ic-checkbox.d.ts +11 -0
  690. package/dist/components/ic-checkbox.js +147 -0
  691. package/dist/components/ic-checkbox.js.map +1 -0
  692. package/dist/components/ic-chip.d.ts +11 -0
  693. package/dist/components/ic-chip.js +114 -0
  694. package/dist/components/ic-chip.js.map +1 -0
  695. package/dist/components/ic-classification-banner.d.ts +11 -0
  696. package/dist/components/ic-classification-banner.js +68 -0
  697. package/dist/components/ic-classification-banner.js.map +1 -0
  698. package/dist/components/ic-data-entity.d.ts +11 -0
  699. package/dist/components/ic-data-entity.js +54 -0
  700. package/dist/components/ic-data-entity.js.map +1 -0
  701. package/dist/components/ic-data-row.d.ts +11 -0
  702. package/dist/components/ic-data-row.js +116 -0
  703. package/dist/components/ic-data-row.js.map +1 -0
  704. package/dist/components/ic-dialog.d.ts +11 -0
  705. package/dist/components/ic-dialog.js +356 -0
  706. package/dist/components/ic-dialog.js.map +1 -0
  707. package/dist/components/ic-divider.d.ts +11 -0
  708. package/dist/components/ic-divider.js +8 -0
  709. package/dist/components/ic-divider.js.map +1 -0
  710. package/dist/components/ic-divider2.js +42 -0
  711. package/dist/components/ic-divider2.js.map +1 -0
  712. package/dist/components/ic-footer-link-group.d.ts +11 -0
  713. package/dist/components/ic-footer-link-group.js +102 -0
  714. package/dist/components/ic-footer-link-group.js.map +1 -0
  715. package/dist/components/ic-footer-link.d.ts +11 -0
  716. package/dist/components/ic-footer-link.js +90 -0
  717. package/dist/components/ic-footer-link.js.map +1 -0
  718. package/dist/components/ic-footer.d.ts +11 -0
  719. package/dist/components/ic-footer.js +125 -0
  720. package/dist/components/ic-footer.js.map +1 -0
  721. package/dist/components/ic-hero.d.ts +11 -0
  722. package/dist/components/ic-hero.js +115 -0
  723. package/dist/components/ic-hero.js.map +1 -0
  724. package/dist/components/ic-horizontal-scroll.d.ts +11 -0
  725. package/dist/components/ic-horizontal-scroll.js +8 -0
  726. package/dist/components/ic-horizontal-scroll.js.map +1 -0
  727. package/dist/components/ic-horizontal-scroll2.js +218 -0
  728. package/dist/components/ic-horizontal-scroll2.js.map +1 -0
  729. package/dist/components/ic-input-component-container.d.ts +11 -0
  730. package/dist/components/ic-input-component-container.js +8 -0
  731. package/dist/components/ic-input-component-container.js.map +1 -0
  732. package/dist/components/ic-input-component-container2.js +71 -0
  733. package/dist/components/ic-input-component-container2.js.map +1 -0
  734. package/dist/components/ic-input-container.d.ts +11 -0
  735. package/dist/components/ic-input-container.js +8 -0
  736. package/dist/components/ic-input-container.js.map +1 -0
  737. package/dist/components/ic-input-container2.js +40 -0
  738. package/dist/components/ic-input-container2.js.map +1 -0
  739. package/dist/components/ic-input-label.d.ts +11 -0
  740. package/dist/components/ic-input-label.js +8 -0
  741. package/dist/components/ic-input-label.js.map +1 -0
  742. package/dist/components/ic-input-label2.js +74 -0
  743. package/dist/components/ic-input-label2.js.map +1 -0
  744. package/dist/components/ic-input-validation.d.ts +11 -0
  745. package/dist/components/ic-input-validation.js +8 -0
  746. package/dist/components/ic-input-validation.js.map +1 -0
  747. package/dist/components/ic-input-validation2.js +67 -0
  748. package/dist/components/ic-input-validation2.js.map +1 -0
  749. package/dist/components/ic-link.d.ts +11 -0
  750. package/dist/components/ic-link.js +8 -0
  751. package/dist/components/ic-link.js.map +1 -0
  752. package/dist/components/ic-link2.js +97 -0
  753. package/dist/components/ic-link2.js.map +1 -0
  754. package/dist/components/ic-loading-indicator.d.ts +11 -0
  755. package/dist/components/ic-loading-indicator.js +8 -0
  756. package/dist/components/ic-loading-indicator.js.map +1 -0
  757. package/dist/components/ic-loading-indicator2.js +226 -0
  758. package/dist/components/ic-loading-indicator2.js.map +1 -0
  759. package/dist/components/ic-menu-group.d.ts +11 -0
  760. package/dist/components/ic-menu-group.js +46 -0
  761. package/dist/components/ic-menu-group.js.map +1 -0
  762. package/dist/components/ic-menu-item.d.ts +11 -0
  763. package/dist/components/ic-menu-item.js +8 -0
  764. package/dist/components/ic-menu-item.js.map +1 -0
  765. package/dist/components/ic-menu-item2.js +169 -0
  766. package/dist/components/ic-menu-item2.js.map +1 -0
  767. package/dist/components/ic-menu.d.ts +11 -0
  768. package/dist/components/ic-menu.js +8 -0
  769. package/dist/components/ic-menu.js.map +1 -0
  770. package/dist/components/ic-menu2.js +692 -0
  771. package/dist/components/ic-menu2.js.map +1 -0
  772. package/dist/components/ic-navigation-button.d.ts +11 -0
  773. package/dist/components/ic-navigation-button.js +137 -0
  774. package/dist/components/ic-navigation-button.js.map +1 -0
  775. package/dist/components/ic-navigation-group.d.ts +11 -0
  776. package/dist/components/ic-navigation-group.js +319 -0
  777. package/dist/components/ic-navigation-group.js.map +1 -0
  778. package/dist/components/ic-navigation-item.d.ts +11 -0
  779. package/dist/components/ic-navigation-item.js +200 -0
  780. package/dist/components/ic-navigation-item.js.map +1 -0
  781. package/dist/components/ic-navigation-menu.d.ts +11 -0
  782. package/dist/components/ic-navigation-menu.js +8 -0
  783. package/dist/components/ic-navigation-menu.js.map +1 -0
  784. package/dist/components/ic-navigation-menu2.js +161 -0
  785. package/dist/components/ic-navigation-menu2.js.map +1 -0
  786. package/dist/components/ic-page-header.d.ts +11 -0
  787. package/dist/components/ic-page-header.js +166 -0
  788. package/dist/components/ic-page-header.js.map +1 -0
  789. package/dist/components/ic-pagination-bar.d.ts +11 -0
  790. package/dist/components/ic-pagination-bar.js +8 -0
  791. package/dist/components/ic-pagination-bar.js.map +1 -0
  792. package/dist/components/ic-pagination-bar2.js +378 -0
  793. package/dist/components/ic-pagination-bar2.js.map +1 -0
  794. package/dist/components/ic-pagination-item.d.ts +11 -0
  795. package/dist/components/ic-pagination-item.js +8 -0
  796. package/dist/components/ic-pagination-item.js.map +1 -0
  797. package/dist/components/ic-pagination-item2.js +81 -0
  798. package/dist/components/ic-pagination-item2.js.map +1 -0
  799. package/dist/components/ic-pagination.d.ts +11 -0
  800. package/dist/components/ic-pagination.js +8 -0
  801. package/dist/components/ic-pagination.js.map +1 -0
  802. package/dist/components/ic-pagination2.js +285 -0
  803. package/dist/components/ic-pagination2.js.map +1 -0
  804. package/dist/components/ic-popover-menu.d.ts +11 -0
  805. package/dist/components/ic-popover-menu.js +290 -0
  806. package/dist/components/ic-popover-menu.js.map +1 -0
  807. package/dist/components/ic-radio-group.d.ts +11 -0
  808. package/dist/components/ic-radio-group.js +174 -0
  809. package/dist/components/ic-radio-group.js.map +1 -0
  810. package/dist/components/ic-radio-option.d.ts +11 -0
  811. package/dist/components/ic-radio-option.js +171 -0
  812. package/dist/components/ic-radio-option.js.map +1 -0
  813. package/dist/components/ic-search-bar.d.ts +11 -0
  814. package/dist/components/ic-search-bar.js +604 -0
  815. package/dist/components/ic-search-bar.js.map +1 -0
  816. package/dist/components/ic-section-container.d.ts +11 -0
  817. package/dist/components/ic-section-container.js +8 -0
  818. package/dist/components/ic-section-container.js.map +1 -0
  819. package/dist/components/ic-section-container2.js +43 -0
  820. package/dist/components/ic-section-container2.js.map +1 -0
  821. package/dist/components/ic-select.d.ts +11 -0
  822. package/dist/components/ic-select.js +8 -0
  823. package/dist/components/ic-select.js.map +1 -0
  824. package/dist/components/ic-select2.js +728 -0
  825. package/dist/components/ic-select2.js.map +1 -0
  826. package/dist/components/ic-side-navigation.d.ts +11 -0
  827. package/dist/components/ic-side-navigation.js +496 -0
  828. package/dist/components/ic-side-navigation.js.map +1 -0
  829. package/dist/components/ic-skeleton.d.ts +11 -0
  830. package/dist/components/ic-skeleton.js +80 -0
  831. package/dist/components/ic-skeleton.js.map +1 -0
  832. package/dist/components/ic-status-tag.d.ts +11 -0
  833. package/dist/components/ic-status-tag.js +61 -0
  834. package/dist/components/ic-status-tag.js.map +1 -0
  835. package/dist/components/ic-step.d.ts +11 -0
  836. package/dist/components/ic-step.js +179 -0
  837. package/dist/components/ic-step.js.map +1 -0
  838. package/dist/components/ic-stepper.d.ts +11 -0
  839. package/dist/components/ic-stepper.js +246 -0
  840. package/dist/components/ic-stepper.js.map +1 -0
  841. package/dist/components/ic-switch.d.ts +11 -0
  842. package/dist/components/ic-switch.js +124 -0
  843. package/dist/components/ic-switch.js.map +1 -0
  844. package/dist/components/ic-tab-context.d.ts +11 -0
  845. package/dist/components/ic-tab-context.js +289 -0
  846. package/dist/components/ic-tab-context.js.map +1 -0
  847. package/dist/components/ic-tab-group.d.ts +11 -0
  848. package/dist/components/ic-tab-group.js +87 -0
  849. package/dist/components/ic-tab-group.js.map +1 -0
  850. package/dist/components/ic-tab-panel.d.ts +11 -0
  851. package/dist/components/ic-tab-panel.js +64 -0
  852. package/dist/components/ic-tab-panel.js.map +1 -0
  853. package/dist/components/ic-tab.d.ts +11 -0
  854. package/dist/components/ic-tab.js +131 -0
  855. package/dist/components/ic-tab.js.map +1 -0
  856. package/dist/components/ic-text-field.d.ts +11 -0
  857. package/dist/components/ic-text-field.js +8 -0
  858. package/dist/components/ic-text-field.js.map +1 -0
  859. package/dist/components/ic-text-field2.js +325 -0
  860. package/dist/components/ic-text-field2.js.map +1 -0
  861. package/dist/components/ic-theme.d.ts +11 -0
  862. package/dist/components/ic-theme.js +77 -0
  863. package/dist/components/ic-theme.js.map +1 -0
  864. package/dist/components/ic-toast-region.d.ts +11 -0
  865. package/dist/components/ic-toast-region.js +63 -0
  866. package/dist/components/ic-toast-region.js.map +1 -0
  867. package/dist/components/ic-toast.d.ts +11 -0
  868. package/dist/components/ic-toast.js +218 -0
  869. package/dist/components/ic-toast.js.map +1 -0
  870. package/dist/components/ic-tooltip.d.ts +11 -0
  871. package/dist/components/ic-tooltip.js +8 -0
  872. package/dist/components/ic-tooltip.js.map +1 -0
  873. package/dist/components/ic-tooltip2.js +1970 -0
  874. package/dist/components/ic-tooltip2.js.map +1 -0
  875. package/dist/components/ic-top-navigation.d.ts +11 -0
  876. package/dist/components/ic-top-navigation.js +290 -0
  877. package/dist/components/ic-top-navigation.js.map +1 -0
  878. package/dist/components/ic-typography.d.ts +11 -0
  879. package/dist/components/ic-typography.js +8 -0
  880. package/dist/components/ic-typography.js.map +1 -0
  881. package/dist/components/ic-typography2.js +149 -0
  882. package/dist/components/ic-typography2.js.map +1 -0
  883. package/dist/components/ic-unstable-data-table.d.ts +11 -0
  884. package/dist/components/ic-unstable-data-table.js +397 -0
  885. package/dist/components/ic-unstable-data-table.js.map +1 -0
  886. package/dist/components/index.d.ts +27 -0
  887. package/dist/components/index.js +3 -0
  888. package/dist/components/index.js.map +1 -0
  889. package/dist/components/types.js +16 -0
  890. package/dist/components/types.js.map +1 -0
  891. package/dist/core/core.css +101 -0
  892. package/dist/core/core.esm.js +2 -0
  893. package/dist/core/core.esm.js.map +1 -0
  894. package/dist/core/index.esm.js +2 -0
  895. package/dist/core/index.esm.js.map +1 -0
  896. package/dist/core/normalize.css +440 -0
  897. package/dist/core/p-019688bf.entry.js +2 -0
  898. package/dist/core/p-019688bf.entry.js.map +1 -0
  899. package/dist/core/p-0584ebc5.entry.js +2 -0
  900. package/dist/core/p-0584ebc5.entry.js.map +1 -0
  901. package/dist/core/p-06321d19.js +2 -0
  902. package/dist/core/p-06321d19.js.map +1 -0
  903. package/dist/core/p-095d3352.entry.js +2 -0
  904. package/dist/core/p-095d3352.entry.js.map +1 -0
  905. package/dist/core/p-10fd8931.entry.js +2 -0
  906. package/dist/core/p-10fd8931.entry.js.map +1 -0
  907. package/dist/core/p-11833706.entry.js +2 -0
  908. package/dist/core/p-11833706.entry.js.map +1 -0
  909. package/dist/core/p-1af8f256.js +3 -0
  910. package/dist/core/p-1af8f256.js.map +1 -0
  911. package/dist/core/p-1b5f5bf2.entry.js +2 -0
  912. package/dist/core/p-1b5f5bf2.entry.js.map +1 -0
  913. package/dist/core/p-1e0eb83a.entry.js +2 -0
  914. package/dist/core/p-1e0eb83a.entry.js.map +1 -0
  915. package/dist/core/p-2138a75e.entry.js +2 -0
  916. package/dist/core/p-2138a75e.entry.js.map +1 -0
  917. package/dist/core/p-29d35210.entry.js +2 -0
  918. package/dist/core/p-29d35210.entry.js.map +1 -0
  919. package/dist/core/p-2c6f2aad.entry.js +2 -0
  920. package/dist/core/p-2c6f2aad.entry.js.map +1 -0
  921. package/dist/core/p-35b9f898.entry.js +2 -0
  922. package/dist/core/p-35b9f898.entry.js.map +1 -0
  923. package/dist/core/p-3b686a68.entry.js +2 -0
  924. package/dist/core/p-3b686a68.entry.js.map +1 -0
  925. package/dist/core/p-4208e336.entry.js +2 -0
  926. package/dist/core/p-4208e336.entry.js.map +1 -0
  927. package/dist/core/p-44512ebe.js +2 -0
  928. package/dist/core/p-44512ebe.js.map +1 -0
  929. package/dist/core/p-4ddbc685.entry.js +2 -0
  930. package/dist/core/p-4ddbc685.entry.js.map +1 -0
  931. package/dist/core/p-4efac9a5.entry.js +2 -0
  932. package/dist/core/p-4efac9a5.entry.js.map +1 -0
  933. package/dist/core/p-5278461f.entry.js +2 -0
  934. package/dist/core/p-5278461f.entry.js.map +1 -0
  935. package/dist/core/p-55278403.entry.js +2 -0
  936. package/dist/core/p-55278403.entry.js.map +1 -0
  937. package/dist/core/p-57839a76.entry.js +2 -0
  938. package/dist/core/p-57839a76.entry.js.map +1 -0
  939. package/dist/core/p-5914df44.entry.js +2 -0
  940. package/dist/core/p-5914df44.entry.js.map +1 -0
  941. package/dist/core/p-5d89cfab.entry.js +2 -0
  942. package/dist/core/p-5d89cfab.entry.js.map +1 -0
  943. package/dist/core/p-5f6b0c72.entry.js +2 -0
  944. package/dist/core/p-5f6b0c72.entry.js.map +1 -0
  945. package/dist/core/p-633cb50b.entry.js +2 -0
  946. package/dist/core/p-633cb50b.entry.js.map +1 -0
  947. package/dist/core/p-6f57b13c.js +2 -0
  948. package/dist/core/p-6f57b13c.js.map +1 -0
  949. package/dist/core/p-7232b2f0.entry.js +2 -0
  950. package/dist/core/p-7232b2f0.entry.js.map +1 -0
  951. package/dist/core/p-7adfd23a.entry.js +2 -0
  952. package/dist/core/p-7adfd23a.entry.js.map +1 -0
  953. package/dist/core/p-7b1dea48.entry.js +2 -0
  954. package/dist/core/p-7b1dea48.entry.js.map +1 -0
  955. package/dist/core/p-7b475a6c.entry.js +2 -0
  956. package/dist/core/p-7b475a6c.entry.js.map +1 -0
  957. package/dist/core/p-7c0dcd00.js +2 -0
  958. package/dist/core/p-7c0dcd00.js.map +1 -0
  959. package/dist/core/p-7dda131b.entry.js +2 -0
  960. package/dist/core/p-7dda131b.entry.js.map +1 -0
  961. package/dist/core/p-80c4fdfb.entry.js +2 -0
  962. package/dist/core/p-80c4fdfb.entry.js.map +1 -0
  963. package/dist/core/p-83adbb69.entry.js +2 -0
  964. package/dist/core/p-83adbb69.entry.js.map +1 -0
  965. package/dist/core/p-8ae9fdd1.entry.js +2 -0
  966. package/dist/core/p-8ae9fdd1.entry.js.map +1 -0
  967. package/dist/core/p-8c7f4343.js +2 -0
  968. package/dist/core/p-8c7f4343.js.map +1 -0
  969. package/dist/core/p-8d4f7027.js +2 -0
  970. package/dist/core/p-8d4f7027.js.map +1 -0
  971. package/dist/core/p-92a9c0f7.entry.js +2 -0
  972. package/dist/core/p-92a9c0f7.entry.js.map +1 -0
  973. package/dist/core/p-a3b86ed0.entry.js +2 -0
  974. package/dist/core/p-a3b86ed0.entry.js.map +1 -0
  975. package/dist/core/p-a9e4e5f8.entry.js +2 -0
  976. package/dist/core/p-a9e4e5f8.entry.js.map +1 -0
  977. package/dist/core/p-ad3102a5.entry.js +2 -0
  978. package/dist/core/p-ad3102a5.entry.js.map +1 -0
  979. package/dist/core/p-b36723c5.entry.js +2 -0
  980. package/dist/core/p-b36723c5.entry.js.map +1 -0
  981. package/dist/core/p-b5c0b75c.js +2 -0
  982. package/dist/core/p-b5c0b75c.js.map +1 -0
  983. package/dist/core/p-b6e9eab9.entry.js +2 -0
  984. package/dist/core/p-b6e9eab9.entry.js.map +1 -0
  985. package/dist/core/p-b7d521e9.entry.js +2 -0
  986. package/dist/core/p-b7d521e9.entry.js.map +1 -0
  987. package/dist/core/p-b9c3598b.entry.js +2 -0
  988. package/dist/core/p-b9c3598b.entry.js.map +1 -0
  989. package/dist/core/p-bdb10987.entry.js +2 -0
  990. package/dist/core/p-bdb10987.entry.js.map +1 -0
  991. package/dist/core/p-c571e57c.entry.js +2 -0
  992. package/dist/core/p-c571e57c.entry.js.map +1 -0
  993. package/dist/core/p-cc15dfdc.entry.js +2 -0
  994. package/dist/core/p-cc15dfdc.entry.js.map +1 -0
  995. package/dist/core/p-cc2b961d.entry.js +2 -0
  996. package/dist/core/p-cc2b961d.entry.js.map +1 -0
  997. package/dist/core/p-d0fccb05.entry.js +2 -0
  998. package/dist/core/p-d0fccb05.entry.js.map +1 -0
  999. package/dist/core/p-d19b9d1b.entry.js +2 -0
  1000. package/dist/core/p-d19b9d1b.entry.js.map +1 -0
  1001. package/dist/core/p-d77c0936.entry.js +2 -0
  1002. package/dist/core/p-d77c0936.entry.js.map +1 -0
  1003. package/dist/core/p-df0b02b4.entry.js +2 -0
  1004. package/dist/core/p-df0b02b4.entry.js.map +1 -0
  1005. package/dist/core/p-e948ffe5.entry.js +2 -0
  1006. package/dist/core/p-e948ffe5.entry.js.map +1 -0
  1007. package/dist/core/p-ed9bc07a.entry.js +2 -0
  1008. package/dist/core/p-ed9bc07a.entry.js.map +1 -0
  1009. package/dist/core/p-f0fd1444.entry.js +2 -0
  1010. package/dist/core/p-f0fd1444.entry.js.map +1 -0
  1011. package/dist/core/p-f91432bf.entry.js +2 -0
  1012. package/dist/core/p-f91432bf.entry.js.map +1 -0
  1013. package/dist/core/p-fdcf4f5d.entry.js +2 -0
  1014. package/dist/core/p-fdcf4f5d.entry.js.map +1 -0
  1015. package/dist/core/p-fef750a3.entry.js +2 -0
  1016. package/dist/core/p-fef750a3.entry.js.map +1 -0
  1017. package/dist/esm/OpenInNew-67a881e0.js +5 -0
  1018. package/dist/esm/OpenInNew-67a881e0.js.map +1 -0
  1019. package/dist/esm/check-icon-abb210ec.js +8 -0
  1020. package/dist/esm/check-icon-abb210ec.js.map +1 -0
  1021. package/dist/esm/chevron-icon-7927f709.js +8 -0
  1022. package/dist/esm/chevron-icon-7927f709.js.map +1 -0
  1023. package/dist/esm/close-icon-2f02b42a.js +10 -0
  1024. package/dist/esm/close-icon-2f02b42a.js.map +1 -0
  1025. package/dist/esm/core.js +23 -0
  1026. package/dist/esm/core.js.map +1 -0
  1027. package/dist/esm/helpers-8617aaa0.js +552 -0
  1028. package/dist/esm/helpers-8617aaa0.js.map +1 -0
  1029. package/dist/esm/ic-alert.entry.js +69 -0
  1030. package/dist/esm/ic-alert.entry.js.map +1 -0
  1031. package/dist/esm/ic-back-to-top.entry.js +141 -0
  1032. package/dist/esm/ic-back-to-top.entry.js.map +1 -0
  1033. package/dist/esm/ic-breadcrumb-group.entry.js +184 -0
  1034. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -0
  1035. package/dist/esm/ic-breadcrumb.entry.js +70 -0
  1036. package/dist/esm/ic-breadcrumb.entry.js.map +1 -0
  1037. package/dist/esm/ic-button_3.entry.js +554 -0
  1038. package/dist/esm/ic-button_3.entry.js.map +1 -0
  1039. package/dist/esm/ic-card.entry.js +122 -0
  1040. package/dist/esm/ic-card.entry.js.map +1 -0
  1041. package/dist/esm/ic-checkbox-group.entry.js +65 -0
  1042. package/dist/esm/ic-checkbox-group.entry.js.map +1 -0
  1043. package/dist/esm/ic-checkbox.entry.js +110 -0
  1044. package/dist/esm/ic-checkbox.entry.js.map +1 -0
  1045. package/dist/esm/ic-chip.entry.js +76 -0
  1046. package/dist/esm/ic-chip.entry.js.map +1 -0
  1047. package/dist/esm/ic-classification-banner.entry.js +38 -0
  1048. package/dist/esm/ic-classification-banner.entry.js.map +1 -0
  1049. package/dist/esm/ic-data-entity.entry.js +27 -0
  1050. package/dist/esm/ic-data-entity.entry.js.map +1 -0
  1051. package/dist/esm/ic-data-row.entry.js +87 -0
  1052. package/dist/esm/ic-data-row.entry.js.map +1 -0
  1053. package/dist/esm/ic-dialog.entry.js +291 -0
  1054. package/dist/esm/ic-dialog.entry.js.map +1 -0
  1055. package/dist/esm/ic-divider.entry.js +26 -0
  1056. package/dist/esm/ic-divider.entry.js.map +1 -0
  1057. package/dist/esm/ic-footer-link-group.entry.js +67 -0
  1058. package/dist/esm/ic-footer-link-group.entry.js.map +1 -0
  1059. package/dist/esm/ic-footer-link.entry.js +63 -0
  1060. package/dist/esm/ic-footer-link.entry.js.map +1 -0
  1061. package/dist/esm/ic-footer.entry.js +86 -0
  1062. package/dist/esm/ic-footer.entry.js.map +1 -0
  1063. package/dist/esm/ic-hero.entry.js +71 -0
  1064. package/dist/esm/ic-hero.entry.js.map +1 -0
  1065. package/dist/esm/ic-horizontal-scroll.entry.js +173 -0
  1066. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -0
  1067. package/dist/esm/ic-input-component-container_3.entry.js +693 -0
  1068. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -0
  1069. package/dist/esm/ic-input-label_2.entry.js +80 -0
  1070. package/dist/esm/ic-input-label_2.entry.js.map +1 -0
  1071. package/dist/esm/ic-link.entry.js +72 -0
  1072. package/dist/esm/ic-link.entry.js.map +1 -0
  1073. package/dist/esm/ic-menu-group.entry.js +20 -0
  1074. package/dist/esm/ic-menu-group.entry.js.map +1 -0
  1075. package/dist/esm/ic-menu-item.entry.js +118 -0
  1076. package/dist/esm/ic-menu-item.entry.js.map +1 -0
  1077. package/dist/esm/ic-navigation-button.entry.js +84 -0
  1078. package/dist/esm/ic-navigation-button.entry.js.map +1 -0
  1079. package/dist/esm/ic-navigation-group.entry.js +285 -0
  1080. package/dist/esm/ic-navigation-group.entry.js.map +1 -0
  1081. package/dist/esm/ic-navigation-item.entry.js +150 -0
  1082. package/dist/esm/ic-navigation-item.entry.js.map +1 -0
  1083. package/dist/esm/ic-navigation-menu.entry.js +120 -0
  1084. package/dist/esm/ic-navigation-menu.entry.js.map +1 -0
  1085. package/dist/esm/ic-page-header.entry.js +101 -0
  1086. package/dist/esm/ic-page-header.entry.js.map +1 -0
  1087. package/dist/esm/ic-pagination-bar.entry.js +266 -0
  1088. package/dist/esm/ic-pagination-bar.entry.js.map +1 -0
  1089. package/dist/esm/ic-pagination_4.entry.js +1108 -0
  1090. package/dist/esm/ic-pagination_4.entry.js.map +1 -0
  1091. package/dist/esm/ic-popover-menu.entry.js +233 -0
  1092. package/dist/esm/ic-popover-menu.entry.js.map +1 -0
  1093. package/dist/esm/ic-radio-group.entry.js +126 -0
  1094. package/dist/esm/ic-radio-group.entry.js.map +1 -0
  1095. package/dist/esm/ic-radio-option.entry.js +137 -0
  1096. package/dist/esm/ic-radio-option.entry.js.map +1 -0
  1097. package/dist/esm/ic-search-bar.entry.js +489 -0
  1098. package/dist/esm/ic-search-bar.entry.js.map +1 -0
  1099. package/dist/esm/ic-section-container.entry.js +25 -0
  1100. package/dist/esm/ic-section-container.entry.js.map +1 -0
  1101. package/dist/esm/ic-side-navigation.entry.js +431 -0
  1102. package/dist/esm/ic-side-navigation.entry.js.map +1 -0
  1103. package/dist/esm/ic-skeleton.entry.js +55 -0
  1104. package/dist/esm/ic-skeleton.entry.js.map +1 -0
  1105. package/dist/esm/ic-status-tag.entry.js +32 -0
  1106. package/dist/esm/ic-status-tag.entry.js.map +1 -0
  1107. package/dist/esm/ic-step.entry.js +136 -0
  1108. package/dist/esm/ic-step.entry.js.map +1 -0
  1109. package/dist/esm/ic-stepper.entry.js +217 -0
  1110. package/dist/esm/ic-stepper.entry.js.map +1 -0
  1111. package/dist/esm/ic-switch.entry.js +82 -0
  1112. package/dist/esm/ic-switch.entry.js.map +1 -0
  1113. package/dist/esm/ic-tab-context.entry.js +265 -0
  1114. package/dist/esm/ic-tab-context.entry.js.map +1 -0
  1115. package/dist/esm/ic-tab-group.entry.js +34 -0
  1116. package/dist/esm/ic-tab-group.entry.js.map +1 -0
  1117. package/dist/esm/ic-tab-panel.entry.js +40 -0
  1118. package/dist/esm/ic-tab-panel.entry.js.map +1 -0
  1119. package/dist/esm/ic-tab.entry.js +99 -0
  1120. package/dist/esm/ic-tab.entry.js.map +1 -0
  1121. package/dist/esm/ic-theme.entry.js +58 -0
  1122. package/dist/esm/ic-theme.entry.js.map +1 -0
  1123. package/dist/esm/ic-toast-region.entry.js +44 -0
  1124. package/dist/esm/ic-toast-region.entry.js.map +1 -0
  1125. package/dist/esm/ic-toast.entry.js +165 -0
  1126. package/dist/esm/ic-toast.entry.js.map +1 -0
  1127. package/dist/esm/ic-top-navigation.entry.js +213 -0
  1128. package/dist/esm/ic-top-navigation.entry.js.map +1 -0
  1129. package/dist/esm/ic-typography.entry.js +124 -0
  1130. package/dist/esm/ic-typography.entry.js.map +1 -0
  1131. package/dist/esm/ic-unstable-data-table.entry.js +267 -0
  1132. package/dist/esm/ic-unstable-data-table.entry.js.map +1 -0
  1133. package/dist/esm/index-36ab8165.js +2659 -0
  1134. package/dist/esm/index-36ab8165.js.map +1 -0
  1135. package/dist/esm/index.js +3 -0
  1136. package/dist/esm/index.js.map +1 -0
  1137. package/dist/esm/loader.js +20 -0
  1138. package/dist/esm/loader.js.map +1 -0
  1139. package/dist/esm/polyfills/core-js.js +11 -0
  1140. package/dist/esm/polyfills/css-shim.js +1 -0
  1141. package/dist/esm/polyfills/dom.js +79 -0
  1142. package/dist/esm/polyfills/es5-html-element.js +1 -0
  1143. package/dist/esm/polyfills/index.js +34 -0
  1144. package/dist/esm/polyfills/system.js +6 -0
  1145. package/dist/esm/popper-15e448b4.js +1794 -0
  1146. package/dist/esm/popper-15e448b4.js.map +1 -0
  1147. package/dist/esm/types-dd515332.js +16 -0
  1148. package/dist/esm/types-dd515332.js.map +1 -0
  1149. package/dist/index.cjs.js +1 -0
  1150. package/dist/index.js +1 -0
  1151. package/dist/types/components/ic-alert/ic-alert.d.ts +48 -0
  1152. package/dist/types/components/ic-alert/test/a11y/ic-alert.test.a11y.d.ts +1 -0
  1153. package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +25 -0
  1154. package/dist/types/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.d.ts +1 -0
  1155. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +30 -0
  1156. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +1 -0
  1157. package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +40 -0
  1158. package/dist/types/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.d.ts +1 -0
  1159. package/dist/types/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.d.ts +2 -0
  1160. package/dist/types/components/ic-button/ic-button.d.ts +132 -0
  1161. package/dist/types/components/ic-button/ic-button.types.d.ts +3 -0
  1162. package/dist/types/components/ic-button/test/a11y/ic-button.test.a11y.d.ts +1 -0
  1163. package/dist/types/components/ic-card/ic-card.d.ts +83 -0
  1164. package/dist/types/components/ic-card/test/a11y/ic-card.test.a11y.d.ts +1 -0
  1165. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +72 -0
  1166. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +54 -0
  1167. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.types.d.ts +8 -0
  1168. package/dist/types/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.d.ts +1 -0
  1169. package/dist/types/components/ic-chip/ic-chip.d.ts +50 -0
  1170. package/dist/types/components/ic-chip/ic-chip.types.d.ts +1 -0
  1171. package/dist/types/components/ic-chip/test/a11y/ic-chip.test.a11y.d.ts +1 -0
  1172. package/dist/types/components/ic-classification-banner/ic-classification-banner.d.ts +24 -0
  1173. package/dist/types/components/ic-classification-banner/ic-classification-banner.types.d.ts +1 -0
  1174. package/dist/types/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.d.ts +1 -0
  1175. package/dist/types/components/ic-data-entity/ic-data-entity.d.ts +12 -0
  1176. package/dist/types/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.d.ts +1 -0
  1177. package/dist/types/components/ic-data-row/ic-data-row.d.ts +37 -0
  1178. package/dist/types/components/ic-data-row/test/a11y/ic-data-row.test.a11y.d.ts +1 -0
  1179. package/dist/types/components/ic-data-table/ic-data-table.d.ts +97 -0
  1180. package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +15 -0
  1181. package/dist/types/components/ic-data-table/test/a11y/ic-data-table.test.a11y.d.ts +1 -0
  1182. package/dist/types/components/ic-dialog/ic-dialog.d.ts +123 -0
  1183. package/dist/types/components/ic-dialog/test/a11y/ic-dialog.test.a11y.d.ts +1 -0
  1184. package/dist/types/components/ic-divider/ic-divider.d.ts +6 -0
  1185. package/dist/types/components/ic-footer/ic-footer.d.ts +52 -0
  1186. package/dist/types/components/ic-footer/ic-footer.types.d.ts +1 -0
  1187. package/dist/types/components/ic-footer/test/a11y/ic-footer.test.a11y.d.ts +1 -0
  1188. package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +41 -0
  1189. package/dist/types/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.d.ts +1 -0
  1190. package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +19 -0
  1191. package/dist/types/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.d.ts +1 -0
  1192. package/dist/types/components/ic-hero/ic-hero.d.ts +57 -0
  1193. package/dist/types/components/ic-hero/ic-hero.types.d.ts +1 -0
  1194. package/dist/types/components/ic-hero/test/a11y/ic-hero.test.a11y.d.ts +1 -0
  1195. package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +40 -0
  1196. package/dist/types/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.d.ts +1 -0
  1197. package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +40 -0
  1198. package/dist/types/components/ic-input-container/ic-input-container.d.ts +11 -0
  1199. package/dist/types/components/ic-input-label/ic-input-label.d.ts +36 -0
  1200. package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +30 -0
  1201. package/dist/types/components/ic-input-validation/ic-input-validation.types.d.ts +1 -0
  1202. package/dist/types/components/ic-link/ic-link.d.ts +50 -0
  1203. package/dist/types/components/ic-link/test/a11y/ic-link.test.a11y.d.ts +1 -0
  1204. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +80 -0
  1205. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +7 -0
  1206. package/dist/types/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.d.ts +1 -0
  1207. package/dist/types/components/ic-menu/ic-menu.d.ts +167 -0
  1208. package/dist/types/components/ic-menu/ic-menu.types.d.ts +12 -0
  1209. package/dist/types/components/ic-menu-group/ic-menu-group.d.ts +8 -0
  1210. package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +74 -0
  1211. package/dist/types/components/ic-menu-item/ic-menu-item.types.d.ts +1 -0
  1212. package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +53 -0
  1213. package/dist/types/components/ic-navigation-button/ic-navigation-button.types.d.ts +1 -0
  1214. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +63 -0
  1215. package/dist/types/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.d.ts +1 -0
  1216. package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +85 -0
  1217. package/dist/types/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.d.ts +1 -0
  1218. package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +36 -0
  1219. package/dist/types/components/ic-page-header/ic-page-header.d.ts +57 -0
  1220. package/dist/types/components/ic-page-header/test/a11y/ic-page-header.test.a11y.d.ts +1 -0
  1221. package/dist/types/components/ic-pagination/ic-pagination.d.ts +82 -0
  1222. package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +6 -0
  1223. package/dist/types/components/ic-pagination/test/a11y/ic-pagination.test.a11y.d.ts +1 -0
  1224. package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +103 -0
  1225. package/dist/types/components/ic-pagination-bar/test/a11y/ic-pagination-bar.test.a11y.d.ts +1 -0
  1226. package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +47 -0
  1227. package/dist/types/components/ic-pagination-item/ic-pagination-item.types.d.ts +1 -0
  1228. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +59 -0
  1229. package/dist/types/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.d.ts +1 -0
  1230. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +60 -0
  1231. package/dist/types/components/ic-radio-group/ic-radio-group.types.d.ts +7 -0
  1232. package/dist/types/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.d.ts +1 -0
  1233. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +70 -0
  1234. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +243 -0
  1235. package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +5 -0
  1236. package/dist/types/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.d.ts +1 -0
  1237. package/dist/types/components/ic-section-container/ic-section-container.d.ts +12 -0
  1238. package/dist/types/components/ic-select/ic-select.d.ts +226 -0
  1239. package/dist/types/components/ic-select/test/a11y/ic-select.test.a11y.d.ts +1 -0
  1240. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +101 -0
  1241. package/dist/types/components/ic-side-navigation/ic-side-navigation.types.d.ts +9 -0
  1242. package/dist/types/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.d.ts +1 -0
  1243. package/dist/types/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.d.ts +6 -0
  1244. package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +18 -0
  1245. package/dist/types/components/ic-skeleton/ic-skeleton.types.d.ts +1 -0
  1246. package/dist/types/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.d.ts +1 -0
  1247. package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +25 -0
  1248. package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +2 -0
  1249. package/dist/types/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.d.ts +1 -0
  1250. package/dist/types/components/ic-step/ic-step.d.ts +54 -0
  1251. package/dist/types/components/ic-step/ic-step.types.d.ts +3 -0
  1252. package/dist/types/components/ic-stepper/ic-stepper.d.ts +43 -0
  1253. package/dist/types/components/ic-stepper/ic-stepper.types.d.ts +1 -0
  1254. package/dist/types/components/ic-stepper/test/a11y/ic-stepper.test.a11y.d.ts +1 -0
  1255. package/dist/types/components/ic-stepper/test/basic/ic-stepper-test-examples.d.ts +4 -0
  1256. package/dist/types/components/ic-switch/ic-switch.d.ts +75 -0
  1257. package/dist/types/components/ic-switch/ic-switch.types.d.ts +4 -0
  1258. package/dist/types/components/ic-switch/test/a11y/ic-switch.test.a11y.d.ts +1 -0
  1259. package/dist/types/components/ic-tab/ic-tab.d.ts +59 -0
  1260. package/dist/types/components/ic-tab/ic-tab.types.d.ts +8 -0
  1261. package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +64 -0
  1262. package/dist/types/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.d.ts +1 -0
  1263. package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +23 -0
  1264. package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +37 -0
  1265. package/dist/types/components/ic-text-field/ic-text-field.d.ts +217 -0
  1266. package/dist/types/components/ic-text-field/ic-text-field.types.d.ts +3 -0
  1267. package/dist/types/components/ic-text-field/test/a11y/ic-text-field.test.a11y.d.ts +1 -0
  1268. package/dist/types/components/ic-theme/ic-theme.d.ts +18 -0
  1269. package/dist/types/components/ic-toast/ic-toast.d.ts +66 -0
  1270. package/dist/types/components/ic-toast/ic-toast.types.d.ts +1 -0
  1271. package/dist/types/components/ic-toast/test/a11y/ic-toast.test.a11y.d.ts +1 -0
  1272. package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +12 -0
  1273. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +50 -0
  1274. package/dist/types/components/ic-tooltip/ic-tooltip.types.d.ts +1 -0
  1275. package/dist/types/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.d.ts +1 -0
  1276. package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +84 -0
  1277. package/dist/types/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.d.ts +1 -0
  1278. package/dist/types/components/ic-typography/ic-typography.d.ts +56 -0
  1279. package/dist/types/components/ic-typography/test/a11y/ic-typography.test.a11y.d.ts +1 -0
  1280. package/dist/types/components.d.ts +4709 -0
  1281. package/dist/types/index.d.ts +1 -0
  1282. package/dist/types/interface.d.ts +14 -0
  1283. package/dist/types/stencil-public-runtime.d.ts +1640 -0
  1284. package/dist/types/testspec.setup.d.ts +15 -0
  1285. package/dist/types/utils/constants.d.ts +38 -0
  1286. package/dist/types/utils/helpers.d.ts +123 -0
  1287. package/dist/types/utils/testa11y.helpers.d.ts +2 -0
  1288. package/dist/types/utils/types.d.ts +65 -0
  1289. package/hydrate/index.d.ts +218 -0
  1290. package/hydrate/index.js +18605 -0
  1291. package/hydrate/package.json +6 -0
  1292. package/loader/cdn.js +3 -0
  1293. package/loader/index.cjs.js +3 -0
  1294. package/loader/index.d.ts +21 -0
  1295. package/loader/index.es2017.js +3 -0
  1296. package/loader/index.js +4 -0
  1297. package/loader/package.json +11 -0
  1298. package/package.json +81 -0
@@ -0,0 +1,2659 @@
1
+ const NAMESPACE = 'core';
2
+
3
+ /**
4
+ * Virtual DOM patching algorithm based on Snabbdom by
5
+ * Simon Friis Vindum (@paldepind)
6
+ * Licensed under the MIT License
7
+ * https://github.com/snabbdom/snabbdom/blob/master/LICENSE
8
+ *
9
+ * Modified for Stencil's renderer and slot projection
10
+ */
11
+ let scopeId;
12
+ let contentRef;
13
+ let hostTagName;
14
+ let useNativeShadowDom = false;
15
+ let checkSlotFallbackVisibility = false;
16
+ let checkSlotRelocate = false;
17
+ let isSvgMode = false;
18
+ let queuePending = false;
19
+ const createTime = (fnName, tagName = '') => {
20
+ {
21
+ return () => {
22
+ return;
23
+ };
24
+ }
25
+ };
26
+ const uniqueTime = (key, measureText) => {
27
+ {
28
+ return () => {
29
+ return;
30
+ };
31
+ }
32
+ };
33
+ const CONTENT_REF_ID = 'r';
34
+ const ORG_LOCATION_ID = 'o';
35
+ const SLOT_NODE_ID = 's';
36
+ const TEXT_NODE_ID = 't';
37
+ const HYDRATE_ID = 's-id';
38
+ const HYDRATED_STYLE_ID = 'sty-id';
39
+ const HYDRATE_CHILD_ID = 'c-id';
40
+ const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
41
+ const XLINK_NS = 'http://www.w3.org/1999/xlink';
42
+ /**
43
+ * Default style mode id
44
+ */
45
+ /**
46
+ * Reusable empty obj/array
47
+ * Don't add values to these!!
48
+ */
49
+ const EMPTY_OBJ = {};
50
+ /**
51
+ * Namespaces
52
+ */
53
+ const SVG_NS = 'http://www.w3.org/2000/svg';
54
+ const HTML_NS = 'http://www.w3.org/1999/xhtml';
55
+ const isDef = (v) => v != null;
56
+ /**
57
+ * Check whether a value is a 'complex type', defined here as an object or a
58
+ * function.
59
+ *
60
+ * @param o the value to check
61
+ * @returns whether it's a complex type or not
62
+ */
63
+ const isComplexType = (o) => {
64
+ // https://jsperf.com/typeof-fn-object/5
65
+ o = typeof o;
66
+ return o === 'object' || o === 'function';
67
+ };
68
+ /**
69
+ * Helper method for querying a `meta` tag that contains a nonce value
70
+ * out of a DOM's head.
71
+ *
72
+ * @param doc The DOM containing the `head` to query against
73
+ * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
74
+ * exists or the tag has no content.
75
+ */
76
+ function queryNonceMetaTagContent(doc) {
77
+ var _a, _b, _c;
78
+ return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;
79
+ }
80
+ /**
81
+ * Production h() function based on Preact by
82
+ * Jason Miller (@developit)
83
+ * Licensed under the MIT License
84
+ * https://github.com/developit/preact/blob/master/LICENSE
85
+ *
86
+ * Modified for Stencil's compiler and vdom
87
+ */
88
+ // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
89
+ // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
90
+ const h = (nodeName, vnodeData, ...children) => {
91
+ let child = null;
92
+ let key = null;
93
+ let slotName = null;
94
+ let simple = false;
95
+ let lastSimple = false;
96
+ const vNodeChildren = [];
97
+ const walk = (c) => {
98
+ for (let i = 0; i < c.length; i++) {
99
+ child = c[i];
100
+ if (Array.isArray(child)) {
101
+ walk(child);
102
+ }
103
+ else if (child != null && typeof child !== 'boolean') {
104
+ if ((simple = typeof nodeName !== 'function' && !isComplexType(child))) {
105
+ child = String(child);
106
+ }
107
+ if (simple && lastSimple) {
108
+ // If the previous child was simple (string), we merge both
109
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
110
+ }
111
+ else {
112
+ // Append a new vNode, if it's text, we create a text vNode
113
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
114
+ }
115
+ lastSimple = simple;
116
+ }
117
+ }
118
+ };
119
+ walk(children);
120
+ if (vnodeData) {
121
+ // normalize class / classname attributes
122
+ if (vnodeData.key) {
123
+ key = vnodeData.key;
124
+ }
125
+ if (vnodeData.name) {
126
+ slotName = vnodeData.name;
127
+ }
128
+ {
129
+ const classData = vnodeData.className || vnodeData.class;
130
+ if (classData) {
131
+ vnodeData.class =
132
+ typeof classData !== 'object'
133
+ ? classData
134
+ : Object.keys(classData)
135
+ .filter((k) => classData[k])
136
+ .join(' ');
137
+ }
138
+ }
139
+ }
140
+ if (typeof nodeName === 'function') {
141
+ // nodeName is a functional component
142
+ return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);
143
+ }
144
+ const vnode = newVNode(nodeName, null);
145
+ vnode.$attrs$ = vnodeData;
146
+ if (vNodeChildren.length > 0) {
147
+ vnode.$children$ = vNodeChildren;
148
+ }
149
+ {
150
+ vnode.$key$ = key;
151
+ }
152
+ {
153
+ vnode.$name$ = slotName;
154
+ }
155
+ return vnode;
156
+ };
157
+ /**
158
+ * A utility function for creating a virtual DOM node from a tag and some
159
+ * possible text content.
160
+ *
161
+ * @param tag the tag for this element
162
+ * @param text possible text content for the node
163
+ * @returns a newly-minted virtual DOM node
164
+ */
165
+ const newVNode = (tag, text) => {
166
+ const vnode = {
167
+ $flags$: 0,
168
+ $tag$: tag,
169
+ $text$: text,
170
+ $elm$: null,
171
+ $children$: null,
172
+ };
173
+ {
174
+ vnode.$attrs$ = null;
175
+ }
176
+ {
177
+ vnode.$key$ = null;
178
+ }
179
+ {
180
+ vnode.$name$ = null;
181
+ }
182
+ return vnode;
183
+ };
184
+ const Host = {};
185
+ /**
186
+ * Check whether a given node is a Host node or not
187
+ *
188
+ * @param node the virtual DOM node to check
189
+ * @returns whether it's a Host node or not
190
+ */
191
+ const isHost = (node) => node && node.$tag$ === Host;
192
+ /**
193
+ * Implementation of {@link d.FunctionalUtilities} for Stencil's VDom.
194
+ *
195
+ * Note that these functions convert from {@link d.VNode} to
196
+ * {@link d.ChildNode} to give functional component developers a friendly
197
+ * interface.
198
+ */
199
+ const vdomFnUtils = {
200
+ forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
201
+ map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),
202
+ };
203
+ /**
204
+ * Convert a {@link d.VNode} to a {@link d.ChildNode} in order to present a
205
+ * friendlier public interface (hence, 'convertToPublic').
206
+ *
207
+ * @param node the virtual DOM node to convert
208
+ * @returns a converted child node
209
+ */
210
+ const convertToPublic = (node) => ({
211
+ vattrs: node.$attrs$,
212
+ vchildren: node.$children$,
213
+ vkey: node.$key$,
214
+ vname: node.$name$,
215
+ vtag: node.$tag$,
216
+ vtext: node.$text$,
217
+ });
218
+ /**
219
+ * Convert a {@link d.ChildNode} back to an equivalent {@link d.VNode} in
220
+ * order to use the resulting object in the virtual DOM. The initial object was
221
+ * likely created as part of presenting a public API, so converting it back
222
+ * involved making it 'private' again (hence, `convertToPrivate`).
223
+ *
224
+ * @param node the child node to convert
225
+ * @returns a converted virtual DOM node
226
+ */
227
+ const convertToPrivate = (node) => {
228
+ if (typeof node.vtag === 'function') {
229
+ const vnodeData = Object.assign({}, node.vattrs);
230
+ if (node.vkey) {
231
+ vnodeData.key = node.vkey;
232
+ }
233
+ if (node.vname) {
234
+ vnodeData.name = node.vname;
235
+ }
236
+ return h(node.vtag, vnodeData, ...(node.vchildren || []));
237
+ }
238
+ const vnode = newVNode(node.vtag, node.vtext);
239
+ vnode.$attrs$ = node.vattrs;
240
+ vnode.$children$ = node.vchildren;
241
+ vnode.$key$ = node.vkey;
242
+ vnode.$name$ = node.vname;
243
+ return vnode;
244
+ };
245
+ const initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
246
+ const endHydrate = createTime('hydrateClient', tagName);
247
+ const shadowRoot = hostElm.shadowRoot;
248
+ const childRenderNodes = [];
249
+ const slotNodes = [];
250
+ const shadowRootNodes = shadowRoot ? [] : null;
251
+ const vnode = (hostRef.$vnode$ = newVNode(tagName, null));
252
+ if (!plt.$orgLocNodes$) {
253
+ initializeDocumentHydrate(doc.body, (plt.$orgLocNodes$ = new Map()));
254
+ }
255
+ hostElm[HYDRATE_ID] = hostId;
256
+ hostElm.removeAttribute(HYDRATE_ID);
257
+ clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);
258
+ childRenderNodes.map((c) => {
259
+ const orgLocationId = c.$hostId$ + '.' + c.$nodeId$;
260
+ const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
261
+ const node = c.$elm$;
262
+ if (orgLocationNode && supportsShadow && orgLocationNode['s-en'] === '') {
263
+ orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
264
+ }
265
+ if (!shadowRoot) {
266
+ node['s-hn'] = tagName;
267
+ if (orgLocationNode) {
268
+ node['s-ol'] = orgLocationNode;
269
+ node['s-ol']['s-nr'] = node;
270
+ }
271
+ }
272
+ plt.$orgLocNodes$.delete(orgLocationId);
273
+ });
274
+ if (shadowRoot) {
275
+ shadowRootNodes.map((shadowRootNode) => {
276
+ if (shadowRootNode) {
277
+ shadowRoot.appendChild(shadowRootNode);
278
+ }
279
+ });
280
+ }
281
+ endHydrate();
282
+ };
283
+ const clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {
284
+ let childNodeType;
285
+ let childIdSplt;
286
+ let childVNode;
287
+ let i;
288
+ if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {
289
+ childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
290
+ if (childNodeType) {
291
+ // got the node data from the element's attribute
292
+ // `${hostId}.${nodeId}.${depth}.${index}`
293
+ childIdSplt = childNodeType.split('.');
294
+ if (childIdSplt[0] === hostId || childIdSplt[0] === '0') {
295
+ childVNode = {
296
+ $flags$: 0,
297
+ $hostId$: childIdSplt[0],
298
+ $nodeId$: childIdSplt[1],
299
+ $depth$: childIdSplt[2],
300
+ $index$: childIdSplt[3],
301
+ $tag$: node.tagName.toLowerCase(),
302
+ $elm$: node,
303
+ $attrs$: null,
304
+ $children$: null,
305
+ $key$: null,
306
+ $name$: null,
307
+ $text$: null,
308
+ };
309
+ childRenderNodes.push(childVNode);
310
+ node.removeAttribute(HYDRATE_CHILD_ID);
311
+ // this is a new child vnode
312
+ // so ensure its parent vnode has the vchildren array
313
+ if (!parentVNode.$children$) {
314
+ parentVNode.$children$ = [];
315
+ }
316
+ // add our child vnode to a specific index of the vnode's children
317
+ parentVNode.$children$[childVNode.$index$] = childVNode;
318
+ // this is now the new parent vnode for all the next child checks
319
+ parentVNode = childVNode;
320
+ if (shadowRootNodes && childVNode.$depth$ === '0') {
321
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
322
+ }
323
+ }
324
+ }
325
+ // recursively drill down, end to start so we can remove nodes
326
+ for (i = node.childNodes.length - 1; i >= 0; i--) {
327
+ clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.childNodes[i], hostId);
328
+ }
329
+ if (node.shadowRoot) {
330
+ // keep drilling down through the shadow root nodes
331
+ for (i = node.shadowRoot.childNodes.length - 1; i >= 0; i--) {
332
+ clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.shadowRoot.childNodes[i], hostId);
333
+ }
334
+ }
335
+ }
336
+ else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {
337
+ // `${COMMENT_TYPE}.${hostId}.${nodeId}.${depth}.${index}`
338
+ childIdSplt = node.nodeValue.split('.');
339
+ if (childIdSplt[1] === hostId || childIdSplt[1] === '0') {
340
+ // comment node for either the host id or a 0 host id
341
+ childNodeType = childIdSplt[0];
342
+ childVNode = {
343
+ $flags$: 0,
344
+ $hostId$: childIdSplt[1],
345
+ $nodeId$: childIdSplt[2],
346
+ $depth$: childIdSplt[3],
347
+ $index$: childIdSplt[4],
348
+ $elm$: node,
349
+ $attrs$: null,
350
+ $children$: null,
351
+ $key$: null,
352
+ $name$: null,
353
+ $tag$: null,
354
+ $text$: null,
355
+ };
356
+ if (childNodeType === TEXT_NODE_ID) {
357
+ childVNode.$elm$ = node.nextSibling;
358
+ if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* NODE_TYPE.TextNode */) {
359
+ childVNode.$text$ = childVNode.$elm$.textContent;
360
+ childRenderNodes.push(childVNode);
361
+ // remove the text comment since it's no longer needed
362
+ node.remove();
363
+ if (!parentVNode.$children$) {
364
+ parentVNode.$children$ = [];
365
+ }
366
+ parentVNode.$children$[childVNode.$index$] = childVNode;
367
+ if (shadowRootNodes && childVNode.$depth$ === '0') {
368
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
369
+ }
370
+ }
371
+ }
372
+ else if (childVNode.$hostId$ === hostId) {
373
+ // this comment node is specifcally for this host id
374
+ if (childNodeType === SLOT_NODE_ID) {
375
+ // `${SLOT_NODE_ID}.${hostId}.${nodeId}.${depth}.${index}.${slotName}`;
376
+ childVNode.$tag$ = 'slot';
377
+ if (childIdSplt[5]) {
378
+ node['s-sn'] = childVNode.$name$ = childIdSplt[5];
379
+ }
380
+ else {
381
+ node['s-sn'] = '';
382
+ }
383
+ node['s-sr'] = true;
384
+ if (shadowRootNodes) {
385
+ // browser support shadowRoot and this is a shadow dom component
386
+ // create an actual slot element
387
+ childVNode.$elm$ = doc.createElement(childVNode.$tag$);
388
+ if (childVNode.$name$) {
389
+ // add the slot name attribute
390
+ childVNode.$elm$.setAttribute('name', childVNode.$name$);
391
+ }
392
+ // insert the new slot element before the slot comment
393
+ node.parentNode.insertBefore(childVNode.$elm$, node);
394
+ // remove the slot comment since it's not needed for shadow
395
+ node.remove();
396
+ if (childVNode.$depth$ === '0') {
397
+ shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
398
+ }
399
+ }
400
+ slotNodes.push(childVNode);
401
+ if (!parentVNode.$children$) {
402
+ parentVNode.$children$ = [];
403
+ }
404
+ parentVNode.$children$[childVNode.$index$] = childVNode;
405
+ }
406
+ else if (childNodeType === CONTENT_REF_ID) {
407
+ // `${CONTENT_REF_ID}.${hostId}`;
408
+ if (shadowRootNodes) {
409
+ // remove the content ref comment since it's not needed for shadow
410
+ node.remove();
411
+ }
412
+ else {
413
+ hostElm['s-cr'] = node;
414
+ node['s-cn'] = true;
415
+ }
416
+ }
417
+ }
418
+ }
419
+ }
420
+ else if (parentVNode && parentVNode.$tag$ === 'style') {
421
+ const vnode = newVNode(null, node.textContent);
422
+ vnode.$elm$ = node;
423
+ vnode.$index$ = '0';
424
+ parentVNode.$children$ = [vnode];
425
+ }
426
+ };
427
+ const initializeDocumentHydrate = (node, orgLocNodes) => {
428
+ if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {
429
+ let i = 0;
430
+ for (; i < node.childNodes.length; i++) {
431
+ initializeDocumentHydrate(node.childNodes[i], orgLocNodes);
432
+ }
433
+ if (node.shadowRoot) {
434
+ for (i = 0; i < node.shadowRoot.childNodes.length; i++) {
435
+ initializeDocumentHydrate(node.shadowRoot.childNodes[i], orgLocNodes);
436
+ }
437
+ }
438
+ }
439
+ else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {
440
+ const childIdSplt = node.nodeValue.split('.');
441
+ if (childIdSplt[0] === ORG_LOCATION_ID) {
442
+ orgLocNodes.set(childIdSplt[1] + '.' + childIdSplt[2], node);
443
+ node.nodeValue = '';
444
+ // useful to know if the original location is
445
+ // the root light-dom of a shadow dom component
446
+ node['s-en'] = childIdSplt[3];
447
+ }
448
+ }
449
+ };
450
+ /**
451
+ * Parse a new property value for a given property type.
452
+ *
453
+ * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
454
+ * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
455
+ * 1. `any`, the type given to `propValue` in the function signature
456
+ * 2. the type stored from `propType`.
457
+ *
458
+ * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
459
+ *
460
+ * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
461
+ * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
462
+ * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
463
+ * ```tsx
464
+ * <my-cmp prop-val={0}></my-cmp>
465
+ * ```
466
+ *
467
+ * HTML prop values on the other hand, will always a string
468
+ *
469
+ * @param propValue the new value to coerce to some type
470
+ * @param propType the type of the prop, expressed as a binary number
471
+ * @returns the parsed/coerced value
472
+ */
473
+ const parsePropertyValue = (propValue, propType) => {
474
+ // ensure this value is of the correct prop type
475
+ if (propValue != null && !isComplexType(propValue)) {
476
+ if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
477
+ // per the HTML spec, any string value means it is a boolean true value
478
+ // but we'll cheat here and say that the string "false" is the boolean false
479
+ return propValue === 'false' ? false : propValue === '' || !!propValue;
480
+ }
481
+ if (propType & 2 /* MEMBER_FLAGS.Number */) {
482
+ // force it to be a number
483
+ return parseFloat(propValue);
484
+ }
485
+ if (propType & 1 /* MEMBER_FLAGS.String */) {
486
+ // could have been passed as a number or boolean
487
+ // but we still want it as a string
488
+ return String(propValue);
489
+ }
490
+ // redundant return here for better minification
491
+ return propValue;
492
+ }
493
+ // not sure exactly what type we want
494
+ // so no need to change to a different type
495
+ return propValue;
496
+ };
497
+ const getElement = (ref) => (getHostRef(ref).$hostElement$ );
498
+ const createEvent = (ref, name, flags) => {
499
+ const elm = getElement(ref);
500
+ return {
501
+ emit: (detail) => {
502
+ return emitEvent(elm, name, {
503
+ bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
504
+ composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
505
+ cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
506
+ detail,
507
+ });
508
+ },
509
+ };
510
+ };
511
+ /**
512
+ * Helper function to create & dispatch a custom Event on a provided target
513
+ * @param elm the target of the Event
514
+ * @param name the name to give the custom Event
515
+ * @param opts options for configuring a custom Event
516
+ * @returns the custom Event
517
+ */
518
+ const emitEvent = (elm, name, opts) => {
519
+ const ev = plt.ce(name, opts);
520
+ elm.dispatchEvent(ev);
521
+ return ev;
522
+ };
523
+ const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
524
+ const registerStyle = (scopeId, cssText, allowCS) => {
525
+ let style = styles.get(scopeId);
526
+ if (supportsConstructableStylesheets && allowCS) {
527
+ style = (style || new CSSStyleSheet());
528
+ if (typeof style === 'string') {
529
+ style = cssText;
530
+ }
531
+ else {
532
+ style.replaceSync(cssText);
533
+ }
534
+ }
535
+ else {
536
+ style = cssText;
537
+ }
538
+ styles.set(scopeId, style);
539
+ };
540
+ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
541
+ var _a;
542
+ let scopeId = getScopeId(cmpMeta);
543
+ const style = styles.get(scopeId);
544
+ // if an element is NOT connected then getRootNode() will return the wrong root node
545
+ // so the fallback is to always use the document for the root node in those cases
546
+ styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
547
+ if (style) {
548
+ if (typeof style === 'string') {
549
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
550
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
551
+ let styleElm;
552
+ if (!appliedStyles) {
553
+ rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
554
+ }
555
+ if (!appliedStyles.has(scopeId)) {
556
+ if (styleContainerNode.host &&
557
+ (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId}"]`))) {
558
+ // This is only happening on native shadow-dom, do not needs CSS var shim
559
+ styleElm.innerHTML = style;
560
+ }
561
+ else {
562
+ // TODO(STENCIL-659): Remove code implementing the CSS variable shim
563
+ {
564
+ styleElm = doc.createElement('style');
565
+ styleElm.innerHTML = style;
566
+ }
567
+ // Apply CSP nonce to the style tag if it exists
568
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
569
+ if (nonce != null) {
570
+ styleElm.setAttribute('nonce', nonce);
571
+ }
572
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
573
+ }
574
+ if (appliedStyles) {
575
+ appliedStyles.add(scopeId);
576
+ }
577
+ }
578
+ }
579
+ else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
580
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
581
+ }
582
+ }
583
+ return scopeId;
584
+ };
585
+ const attachStyles = (hostRef) => {
586
+ const cmpMeta = hostRef.$cmpMeta$;
587
+ const elm = hostRef.$hostElement$;
588
+ const flags = cmpMeta.$flags$;
589
+ const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
590
+ const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
591
+ // TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
592
+ if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
593
+ // only required when we're NOT using native shadow dom (slot)
594
+ // or this browser doesn't support native shadow dom
595
+ // and this host element was NOT created with SSR
596
+ // let's pick out the inner content for slot projection
597
+ // create a node to represent where the original
598
+ // content was first placed, which is useful later on
599
+ // DOM WRITE!!
600
+ elm['s-sc'] = scopeId;
601
+ elm.classList.add(scopeId + '-h');
602
+ if (flags & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {
603
+ elm.classList.add(scopeId + '-s');
604
+ }
605
+ }
606
+ endAttachStyles();
607
+ };
608
+ const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
609
+ const convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, '$1{');
610
+ /**
611
+ * Production setAccessor() function based on Preact by
612
+ * Jason Miller (@developit)
613
+ * Licensed under the MIT License
614
+ * https://github.com/developit/preact/blob/master/LICENSE
615
+ *
616
+ * Modified for Stencil's compiler and vdom
617
+ */
618
+ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
619
+ if (oldValue !== newValue) {
620
+ let isProp = isMemberInElement(elm, memberName);
621
+ let ln = memberName.toLowerCase();
622
+ if (memberName === 'class') {
623
+ const classList = elm.classList;
624
+ const oldClasses = parseClassList(oldValue);
625
+ const newClasses = parseClassList(newValue);
626
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
627
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
628
+ }
629
+ else if (memberName === 'style') {
630
+ // update style attribute, css properties and values
631
+ {
632
+ for (const prop in oldValue) {
633
+ if (!newValue || newValue[prop] == null) {
634
+ if (prop.includes('-')) {
635
+ elm.style.removeProperty(prop);
636
+ }
637
+ else {
638
+ elm.style[prop] = '';
639
+ }
640
+ }
641
+ }
642
+ }
643
+ for (const prop in newValue) {
644
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
645
+ if (prop.includes('-')) {
646
+ elm.style.setProperty(prop, newValue[prop]);
647
+ }
648
+ else {
649
+ elm.style[prop] = newValue[prop];
650
+ }
651
+ }
652
+ }
653
+ }
654
+ else if (memberName === 'key')
655
+ ;
656
+ else if (memberName === 'ref') {
657
+ // minifier will clean this up
658
+ if (newValue) {
659
+ newValue(elm);
660
+ }
661
+ }
662
+ else if ((!isProp ) &&
663
+ memberName[0] === 'o' &&
664
+ memberName[1] === 'n') {
665
+ // Event Handlers
666
+ // so if the member name starts with "on" and the 3rd characters is
667
+ // a capital letter, and it's not already a member on the element,
668
+ // then we're assuming it's an event listener
669
+ if (memberName[2] === '-') {
670
+ // on- prefixed events
671
+ // allows to be explicit about the dom event to listen without any magic
672
+ // under the hood:
673
+ // <my-cmp on-click> // listens for "click"
674
+ // <my-cmp on-Click> // listens for "Click"
675
+ // <my-cmp on-ionChange> // listens for "ionChange"
676
+ // <my-cmp on-EVENTS> // listens for "EVENTS"
677
+ memberName = memberName.slice(3);
678
+ }
679
+ else if (isMemberInElement(win, ln)) {
680
+ // standard event
681
+ // the JSX attribute could have been "onMouseOver" and the
682
+ // member name "onmouseover" is on the window's prototype
683
+ // so let's add the listener "mouseover", which is all lowercased
684
+ memberName = ln.slice(2);
685
+ }
686
+ else {
687
+ // custom event
688
+ // the JSX attribute could have been "onMyCustomEvent"
689
+ // so let's trim off the "on" prefix and lowercase the first character
690
+ // and add the listener "myCustomEvent"
691
+ // except for the first character, we keep the event name case
692
+ memberName = ln[2] + memberName.slice(3);
693
+ }
694
+ if (oldValue) {
695
+ plt.rel(elm, memberName, oldValue, false);
696
+ }
697
+ if (newValue) {
698
+ plt.ael(elm, memberName, newValue, false);
699
+ }
700
+ }
701
+ else {
702
+ // Set property if it exists and it's not a SVG
703
+ const isComplex = isComplexType(newValue);
704
+ if ((isProp || (isComplex && newValue !== null)) && !isSvg) {
705
+ try {
706
+ if (!elm.tagName.includes('-')) {
707
+ const n = newValue == null ? '' : newValue;
708
+ // Workaround for Safari, moving the <input> caret when re-assigning the same valued
709
+ if (memberName === 'list') {
710
+ isProp = false;
711
+ }
712
+ else if (oldValue == null || elm[memberName] != n) {
713
+ elm[memberName] = n;
714
+ }
715
+ }
716
+ else {
717
+ elm[memberName] = newValue;
718
+ }
719
+ }
720
+ catch (e) { }
721
+ }
722
+ /**
723
+ * Need to manually update attribute if:
724
+ * - memberName is not an attribute
725
+ * - if we are rendering the host element in order to reflect attribute
726
+ * - if it's a SVG, since properties might not work in <svg>
727
+ * - if the newValue is null/undefined or 'false'.
728
+ */
729
+ let xlink = false;
730
+ {
731
+ if (ln !== (ln = ln.replace(/^xlink\:?/, ''))) {
732
+ memberName = ln;
733
+ xlink = true;
734
+ }
735
+ }
736
+ if (newValue == null || newValue === false) {
737
+ if (newValue !== false || elm.getAttribute(memberName) === '') {
738
+ if (xlink) {
739
+ elm.removeAttributeNS(XLINK_NS, memberName);
740
+ }
741
+ else {
742
+ elm.removeAttribute(memberName);
743
+ }
744
+ }
745
+ }
746
+ else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {
747
+ newValue = newValue === true ? '' : newValue;
748
+ if (xlink) {
749
+ elm.setAttributeNS(XLINK_NS, memberName, newValue);
750
+ }
751
+ else {
752
+ elm.setAttribute(memberName, newValue);
753
+ }
754
+ }
755
+ }
756
+ }
757
+ };
758
+ const parseClassListRegex = /\s/;
759
+ const parseClassList = (value) => (!value ? [] : value.split(parseClassListRegex));
760
+ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
761
+ // if the element passed in is a shadow root, which is a document fragment
762
+ // then we want to be adding attrs/props to the shadow root's "host" element
763
+ // if it's not a shadow root, then we add attrs/props to the same element
764
+ const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host
765
+ ? newVnode.$elm$.host
766
+ : newVnode.$elm$;
767
+ const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
768
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
769
+ {
770
+ // remove attributes no longer present on the vnode by setting them to undefined
771
+ for (memberName in oldVnodeAttrs) {
772
+ if (!(memberName in newVnodeAttrs)) {
773
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], undefined, isSvgMode, newVnode.$flags$);
774
+ }
775
+ }
776
+ }
777
+ // add new & update changed attributes
778
+ for (memberName in newVnodeAttrs) {
779
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
780
+ }
781
+ };
782
+ /**
783
+ * Create a DOM Node corresponding to one of the children of a given VNode.
784
+ *
785
+ * @param oldParentVNode the parent VNode from the previous render
786
+ * @param newParentVNode the parent VNode from the current render
787
+ * @param childIndex the index of the VNode, in the _new_ parent node's
788
+ * children, for which we will create a new DOM node
789
+ * @param parentElm the parent DOM node which our new node will be a child of
790
+ * @returns the newly created node
791
+ */
792
+ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
793
+ // tslint:disable-next-line: prefer-const
794
+ const newVNode = newParentVNode.$children$[childIndex];
795
+ let i = 0;
796
+ let elm;
797
+ let childNode;
798
+ let oldVNode;
799
+ if (!useNativeShadowDom) {
800
+ // remember for later we need to check to relocate nodes
801
+ checkSlotRelocate = true;
802
+ if (newVNode.$tag$ === 'slot') {
803
+ if (scopeId) {
804
+ // scoped css needs to add its scoped id to the parent element
805
+ parentElm.classList.add(scopeId + '-s');
806
+ }
807
+ newVNode.$flags$ |= newVNode.$children$
808
+ ? // slot element has fallback content
809
+ 2 /* VNODE_FLAGS.isSlotFallback */
810
+ : // slot element does not have fallback content
811
+ 1 /* VNODE_FLAGS.isSlotReference */;
812
+ }
813
+ }
814
+ if (newVNode.$text$ !== null) {
815
+ // create text node
816
+ elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
817
+ }
818
+ else if (newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {
819
+ // create a slot reference node
820
+ elm = newVNode.$elm$ =
821
+ doc.createTextNode('');
822
+ }
823
+ else {
824
+ if (!isSvgMode) {
825
+ isSvgMode = newVNode.$tag$ === 'svg';
826
+ }
827
+ // create element
828
+ elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */
829
+ ? 'slot-fb'
830
+ : newVNode.$tag$)
831
+ );
832
+ if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
833
+ isSvgMode = false;
834
+ }
835
+ // add css classes, attrs, props, listeners, etc.
836
+ {
837
+ updateElement(null, newVNode, isSvgMode);
838
+ }
839
+ if (isDef(scopeId) && elm['s-si'] !== scopeId) {
840
+ // if there is a scopeId and this is the initial render
841
+ // then let's add the scopeId as a css class
842
+ elm.classList.add((elm['s-si'] = scopeId));
843
+ }
844
+ if (newVNode.$children$) {
845
+ for (i = 0; i < newVNode.$children$.length; ++i) {
846
+ // create the node
847
+ childNode = createElm(oldParentVNode, newVNode, i, elm);
848
+ // return node could have been null
849
+ if (childNode) {
850
+ // append our new node
851
+ elm.appendChild(childNode);
852
+ }
853
+ }
854
+ }
855
+ {
856
+ if (newVNode.$tag$ === 'svg') {
857
+ // Only reset the SVG context when we're exiting <svg> element
858
+ isSvgMode = false;
859
+ }
860
+ else if (elm.tagName === 'foreignObject') {
861
+ // Reenter SVG context when we're exiting <foreignObject> element
862
+ isSvgMode = true;
863
+ }
864
+ }
865
+ }
866
+ {
867
+ elm['s-hn'] = hostTagName;
868
+ if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
869
+ // remember the content reference comment
870
+ elm['s-sr'] = true;
871
+ // remember the content reference comment
872
+ elm['s-cr'] = contentRef;
873
+ // remember the slot name, or empty string for default slot
874
+ elm['s-sn'] = newVNode.$name$ || '';
875
+ // check if we've got an old vnode for this slot
876
+ oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
877
+ if (oldVNode && oldVNode.$tag$ === newVNode.$tag$ && oldParentVNode.$elm$) {
878
+ // we've got an old slot vnode and the wrapper is being replaced
879
+ // so let's move the old slot content back to it's original location
880
+ putBackInOriginalLocation(oldParentVNode.$elm$, false);
881
+ }
882
+ }
883
+ }
884
+ return elm;
885
+ };
886
+ const putBackInOriginalLocation = (parentElm, recursive) => {
887
+ plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
888
+ const oldSlotChildNodes = parentElm.childNodes;
889
+ for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
890
+ const childNode = oldSlotChildNodes[i];
891
+ if (childNode['s-hn'] !== hostTagName && childNode['s-ol']) {
892
+ // // this child node in the old element is from another component
893
+ // // remove this node from the old slot's parent
894
+ // childNode.remove();
895
+ // and relocate it back to it's original location
896
+ parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode));
897
+ // remove the old original location comment entirely
898
+ // later on the patch function will know what to do
899
+ // and move this to the correct spot in need be
900
+ childNode['s-ol'].remove();
901
+ childNode['s-ol'] = undefined;
902
+ checkSlotRelocate = true;
903
+ }
904
+ if (recursive) {
905
+ putBackInOriginalLocation(childNode, recursive);
906
+ }
907
+ }
908
+ plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
909
+ };
910
+ /**
911
+ * Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
912
+ * add them to the DOM in the appropriate place.
913
+ *
914
+ * @param parentElm the DOM node which should be used as a parent for the new
915
+ * DOM nodes
916
+ * @param before a child of the `parentElm` which the new children should be
917
+ * inserted before (optional)
918
+ * @param parentVNode the parent virtual DOM node
919
+ * @param vnodes the new child virtual DOM nodes to produce DOM nodes for
920
+ * @param startIdx the index in the child virtual DOM nodes at which to start
921
+ * creating DOM nodes (inclusive)
922
+ * @param endIdx the index in the child virtual DOM nodes at which to stop
923
+ * creating DOM nodes (inclusive)
924
+ */
925
+ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
926
+ let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
927
+ let childNode;
928
+ if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
929
+ containerElm = containerElm.shadowRoot;
930
+ }
931
+ for (; startIdx <= endIdx; ++startIdx) {
932
+ if (vnodes[startIdx]) {
933
+ childNode = createElm(null, parentVNode, startIdx, parentElm);
934
+ if (childNode) {
935
+ vnodes[startIdx].$elm$ = childNode;
936
+ containerElm.insertBefore(childNode, referenceNode(before) );
937
+ }
938
+ }
939
+ }
940
+ };
941
+ /**
942
+ * Remove the DOM elements corresponding to a list of {@link d.VNode} objects.
943
+ * This can be used to, for instance, clean up after a list of children which
944
+ * should no longer be shown.
945
+ *
946
+ * This function also handles some of Stencil's slot relocation logic.
947
+ *
948
+ * @param vnodes a list of virtual DOM nodes to remove
949
+ * @param startIdx the index at which to start removing nodes (inclusive)
950
+ * @param endIdx the index at which to stop removing nodes (inclusive)
951
+ */
952
+ const removeVnodes = (vnodes, startIdx, endIdx) => {
953
+ for (let index = startIdx; index <= endIdx; ++index) {
954
+ const vnode = vnodes[index];
955
+ if (vnode) {
956
+ const elm = vnode.$elm$;
957
+ nullifyVNodeRefs(vnode);
958
+ if (elm) {
959
+ {
960
+ // we're removing this element
961
+ // so it's possible we need to show slot fallback content now
962
+ checkSlotFallbackVisibility = true;
963
+ if (elm['s-ol']) {
964
+ // remove the original location comment
965
+ elm['s-ol'].remove();
966
+ }
967
+ else {
968
+ // it's possible that child nodes of the node
969
+ // that's being removed are slot nodes
970
+ putBackInOriginalLocation(elm, true);
971
+ }
972
+ }
973
+ // remove the vnode's element from the dom
974
+ elm.remove();
975
+ }
976
+ }
977
+ }
978
+ };
979
+ /**
980
+ * Reconcile the children of a new VNode with the children of an old VNode by
981
+ * traversing the two collections of children, identifying nodes that are
982
+ * conserved or changed, calling out to `patch` to make any necessary
983
+ * updates to the DOM, and rearranging DOM nodes as needed.
984
+ *
985
+ * The algorithm for reconciling children works by analyzing two 'windows' onto
986
+ * the two arrays of children (`oldCh` and `newCh`). We keep track of the
987
+ * 'windows' by storing start and end indices and references to the
988
+ * corresponding array entries. Initially the two 'windows' are basically equal
989
+ * to the entire array, but we progressively narrow the windows until there are
990
+ * no children left to update by doing the following:
991
+ *
992
+ * 1. Skip any `null` entries at the beginning or end of the two arrays, so
993
+ * that if we have an initial array like the following we'll end up dealing
994
+ * only with a window bounded by the highlighted elements:
995
+ *
996
+ * [null, null, VNode1 , ... , VNode2, null, null]
997
+ * ^^^^^^ ^^^^^^
998
+ *
999
+ * 2. Check to see if the elements at the head and tail positions are equal
1000
+ * across the windows. This will basically detect elements which haven't
1001
+ * been added, removed, or changed position, i.e. if you had the following
1002
+ * VNode elements (represented as HTML):
1003
+ *
1004
+ * oldVNode: `<div><p><span>HEY</span></p></div>`
1005
+ * newVNode: `<div><p><span>THERE</span></p></div>`
1006
+ *
1007
+ * Then when comparing the children of the `<div>` tag we check the equality
1008
+ * of the VNodes corresponding to the `<p>` tags and, since they are the
1009
+ * same tag in the same position, we'd be able to avoid completely
1010
+ * re-rendering the subtree under them with a new DOM element and would just
1011
+ * call out to `patch` to handle reconciling their children and so on.
1012
+ *
1013
+ * 3. Check, for both windows, to see if the element at the beginning of the
1014
+ * window corresponds to the element at the end of the other window. This is
1015
+ * a heuristic which will let us identify _some_ situations in which
1016
+ * elements have changed position, for instance it _should_ detect that the
1017
+ * children nodes themselves have not changed but merely moved in the
1018
+ * following example:
1019
+ *
1020
+ * oldVNode: `<div><element-one /><element-two /></div>`
1021
+ * newVNode: `<div><element-two /><element-one /></div>`
1022
+ *
1023
+ * If we find cases like this then we also need to move the concrete DOM
1024
+ * elements corresponding to the moved children to write the re-order to the
1025
+ * DOM.
1026
+ *
1027
+ * 4. Finally, if VNodes have the `key` attribute set on them we check for any
1028
+ * nodes in the old children which have the same key as the first element in
1029
+ * our window on the new children. If we find such a node we handle calling
1030
+ * out to `patch`, moving relevant DOM nodes, and so on, in accordance with
1031
+ * what we find.
1032
+ *
1033
+ * Finally, once we've narrowed our 'windows' to the point that either of them
1034
+ * collapse (i.e. they have length 0) we then handle any remaining VNode
1035
+ * insertion or deletion that needs to happen to get a DOM state that correctly
1036
+ * reflects the new child VNodes. If, for instance, after our window on the old
1037
+ * children has collapsed we still have more nodes on the new children that
1038
+ * we haven't dealt with yet then we need to add them, or if the new children
1039
+ * collapse but we still have unhandled _old_ children then we need to make
1040
+ * sure the corresponding DOM nodes are removed.
1041
+ *
1042
+ * @param parentElm the node into which the parent VNode is rendered
1043
+ * @param oldCh the old children of the parent node
1044
+ * @param newVNode the new VNode which will replace the parent
1045
+ * @param newCh the new children of the parent node
1046
+ */
1047
+ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
1048
+ let oldStartIdx = 0;
1049
+ let newStartIdx = 0;
1050
+ let idxInOld = 0;
1051
+ let i = 0;
1052
+ let oldEndIdx = oldCh.length - 1;
1053
+ let oldStartVnode = oldCh[0];
1054
+ let oldEndVnode = oldCh[oldEndIdx];
1055
+ let newEndIdx = newCh.length - 1;
1056
+ let newStartVnode = newCh[0];
1057
+ let newEndVnode = newCh[newEndIdx];
1058
+ let node;
1059
+ let elmToMove;
1060
+ while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
1061
+ if (oldStartVnode == null) {
1062
+ // VNode might have been moved left
1063
+ oldStartVnode = oldCh[++oldStartIdx];
1064
+ }
1065
+ else if (oldEndVnode == null) {
1066
+ oldEndVnode = oldCh[--oldEndIdx];
1067
+ }
1068
+ else if (newStartVnode == null) {
1069
+ newStartVnode = newCh[++newStartIdx];
1070
+ }
1071
+ else if (newEndVnode == null) {
1072
+ newEndVnode = newCh[--newEndIdx];
1073
+ }
1074
+ else if (isSameVnode(oldStartVnode, newStartVnode)) {
1075
+ // if the start nodes are the same then we should patch the new VNode
1076
+ // onto the old one, and increment our `newStartIdx` and `oldStartIdx`
1077
+ // indices to reflect that. We don't need to move any DOM Nodes around
1078
+ // since things are matched up in order.
1079
+ patch(oldStartVnode, newStartVnode);
1080
+ oldStartVnode = oldCh[++oldStartIdx];
1081
+ newStartVnode = newCh[++newStartIdx];
1082
+ }
1083
+ else if (isSameVnode(oldEndVnode, newEndVnode)) {
1084
+ // likewise, if the end nodes are the same we patch new onto old and
1085
+ // decrement our end indices, and also likewise in this case we don't
1086
+ // need to move any DOM Nodes.
1087
+ patch(oldEndVnode, newEndVnode);
1088
+ oldEndVnode = oldCh[--oldEndIdx];
1089
+ newEndVnode = newCh[--newEndIdx];
1090
+ }
1091
+ else if (isSameVnode(oldStartVnode, newEndVnode)) {
1092
+ // case: "Vnode moved right"
1093
+ //
1094
+ // We've found that the last node in our window on the new children is
1095
+ // the same VNode as the _first_ node in our window on the old children
1096
+ // we're dealing with now. Visually, this is the layout of these two
1097
+ // nodes:
1098
+ //
1099
+ // newCh: [..., newStartVnode , ... , newEndVnode , ...]
1100
+ // ^^^^^^^^^^^
1101
+ // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
1102
+ // ^^^^^^^^^^^^^
1103
+ //
1104
+ // In this situation we need to patch `newEndVnode` onto `oldStartVnode`
1105
+ // and move the DOM element for `oldStartVnode`.
1106
+ if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
1107
+ putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
1108
+ }
1109
+ patch(oldStartVnode, newEndVnode);
1110
+ // We need to move the element for `oldStartVnode` into a position which
1111
+ // will be appropriate for `newEndVnode`. For this we can use
1112
+ // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
1113
+ // sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
1114
+ // `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
1115
+ //
1116
+ // <old-start-node />
1117
+ // <some-intervening-node />
1118
+ // <old-end-node />
1119
+ // <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
1120
+ // <next-sibling />
1121
+ //
1122
+ // If instead `oldEndVnode.$elm$` has no sibling then we just want to put
1123
+ // the node for `oldStartVnode` at the end of the children of
1124
+ // `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
1125
+ // aren't any siblings, and passing `null` to `Node.insertBefore` will
1126
+ // append it to the children of the parent element.
1127
+ parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
1128
+ oldStartVnode = oldCh[++oldStartIdx];
1129
+ newEndVnode = newCh[--newEndIdx];
1130
+ }
1131
+ else if (isSameVnode(oldEndVnode, newStartVnode)) {
1132
+ // case: "Vnode moved left"
1133
+ //
1134
+ // We've found that the first node in our window on the new children is
1135
+ // the same VNode as the _last_ node in our window on the old children.
1136
+ // Visually, this is the layout of these two nodes:
1137
+ //
1138
+ // newCh: [..., newStartVnode , ... , newEndVnode , ...]
1139
+ // ^^^^^^^^^^^^^
1140
+ // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
1141
+ // ^^^^^^^^^^^
1142
+ //
1143
+ // In this situation we need to patch `newStartVnode` onto `oldEndVnode`
1144
+ // (which will handle updating any changed attributes, reconciling their
1145
+ // children etc) but we also need to move the DOM node to which
1146
+ // `oldEndVnode` corresponds.
1147
+ if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
1148
+ putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
1149
+ }
1150
+ patch(oldEndVnode, newStartVnode);
1151
+ // We've already checked above if `oldStartVnode` and `newStartVnode` are
1152
+ // the same node, so since we're here we know that they are not. Thus we
1153
+ // can move the element for `oldEndVnode` _before_ the element for
1154
+ // `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
1155
+ // future.
1156
+ parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
1157
+ oldEndVnode = oldCh[--oldEndIdx];
1158
+ newStartVnode = newCh[++newStartIdx];
1159
+ }
1160
+ else {
1161
+ // Here we do some checks to match up old and new nodes based on the
1162
+ // `$key$` attribute, which is set by putting a `key="my-key"` attribute
1163
+ // in the JSX for a DOM element in the implementation of a Stencil
1164
+ // component.
1165
+ //
1166
+ // First we check to see if there are any nodes in the array of old
1167
+ // children which have the same key as the first node in the new
1168
+ // children.
1169
+ idxInOld = -1;
1170
+ {
1171
+ for (i = oldStartIdx; i <= oldEndIdx; ++i) {
1172
+ if (oldCh[i] && oldCh[i].$key$ !== null && oldCh[i].$key$ === newStartVnode.$key$) {
1173
+ idxInOld = i;
1174
+ break;
1175
+ }
1176
+ }
1177
+ }
1178
+ if (idxInOld >= 0) {
1179
+ // We found a node in the old children which matches up with the first
1180
+ // node in the new children! So let's deal with that
1181
+ elmToMove = oldCh[idxInOld];
1182
+ if (elmToMove.$tag$ !== newStartVnode.$tag$) {
1183
+ // the tag doesn't match so we'll need a new DOM element
1184
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
1185
+ }
1186
+ else {
1187
+ patch(elmToMove, newStartVnode);
1188
+ // invalidate the matching old node so that we won't try to update it
1189
+ // again later on
1190
+ oldCh[idxInOld] = undefined;
1191
+ node = elmToMove.$elm$;
1192
+ }
1193
+ newStartVnode = newCh[++newStartIdx];
1194
+ }
1195
+ else {
1196
+ // We either didn't find an element in the old children that matches
1197
+ // the key of the first new child OR the build is not using `key`
1198
+ // attributes at all. In either case we need to create a new element
1199
+ // for the new node.
1200
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
1201
+ newStartVnode = newCh[++newStartIdx];
1202
+ }
1203
+ if (node) {
1204
+ // if we created a new node then handle inserting it to the DOM
1205
+ {
1206
+ parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
1207
+ }
1208
+ }
1209
+ }
1210
+ }
1211
+ if (oldStartIdx > oldEndIdx) {
1212
+ // we have some more new nodes to add which don't match up with old nodes
1213
+ addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
1214
+ }
1215
+ else if (newStartIdx > newEndIdx) {
1216
+ // there are nodes in the `oldCh` array which no longer correspond to nodes
1217
+ // in the new array, so lets remove them (which entails cleaning up the
1218
+ // relevant DOM nodes)
1219
+ removeVnodes(oldCh, oldStartIdx, oldEndIdx);
1220
+ }
1221
+ };
1222
+ /**
1223
+ * Compare two VNodes to determine if they are the same
1224
+ *
1225
+ * **NB**: This function is an equality _heuristic_ based on the available
1226
+ * information set on the two VNodes and can be misleading under certain
1227
+ * circumstances. In particular, if the two nodes do not have `key` attrs
1228
+ * (available under `$key$` on VNodes) then the function falls back on merely
1229
+ * checking that they have the same tag.
1230
+ *
1231
+ * So, in other words, if `key` attrs are not set on VNodes which may be
1232
+ * changing order within a `children` array or something along those lines then
1233
+ * we could obtain a false negative and then have to do needless re-rendering
1234
+ * (i.e. we'd say two VNodes aren't equal when in fact they should be).
1235
+ *
1236
+ * @param leftVNode the first VNode to check
1237
+ * @param rightVNode the second VNode to check
1238
+ * @returns whether they're equal or not
1239
+ */
1240
+ const isSameVnode = (leftVNode, rightVNode) => {
1241
+ // compare if two vnode to see if they're "technically" the same
1242
+ // need to have the same element tag, and same key to be the same
1243
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
1244
+ if (leftVNode.$tag$ === 'slot') {
1245
+ return leftVNode.$name$ === rightVNode.$name$;
1246
+ }
1247
+ // this will be set if components in the build have `key` attrs set on them
1248
+ {
1249
+ return leftVNode.$key$ === rightVNode.$key$;
1250
+ }
1251
+ }
1252
+ return false;
1253
+ };
1254
+ const referenceNode = (node) => {
1255
+ // this node was relocated to a new location in the dom
1256
+ // because of some other component's slot
1257
+ // but we still have an html comment in place of where
1258
+ // it's original location was according to it's original vdom
1259
+ return (node && node['s-ol']) || node;
1260
+ };
1261
+ const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;
1262
+ /**
1263
+ * Handle reconciling an outdated VNode with a new one which corresponds to
1264
+ * it. This function handles flushing updates to the DOM and reconciling the
1265
+ * children of the two nodes (if any).
1266
+ *
1267
+ * @param oldVNode an old VNode whose DOM element and children we want to update
1268
+ * @param newVNode a new VNode representing an updated version of the old one
1269
+ */
1270
+ const patch = (oldVNode, newVNode) => {
1271
+ const elm = (newVNode.$elm$ = oldVNode.$elm$);
1272
+ const oldChildren = oldVNode.$children$;
1273
+ const newChildren = newVNode.$children$;
1274
+ const tag = newVNode.$tag$;
1275
+ const text = newVNode.$text$;
1276
+ let defaultHolder;
1277
+ if (text === null) {
1278
+ {
1279
+ // test if we're rendering an svg element, or still rendering nodes inside of one
1280
+ // only add this to the when the compiler sees we're using an svg somewhere
1281
+ isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
1282
+ }
1283
+ {
1284
+ if (tag === 'slot')
1285
+ ;
1286
+ else {
1287
+ // either this is the first render of an element OR it's an update
1288
+ // AND we already know it's possible it could have changed
1289
+ // this updates the element's css classes, attrs, props, listeners, etc.
1290
+ updateElement(oldVNode, newVNode, isSvgMode);
1291
+ }
1292
+ }
1293
+ if (oldChildren !== null && newChildren !== null) {
1294
+ // looks like there's child vnodes for both the old and new vnodes
1295
+ // so we need to call `updateChildren` to reconcile them
1296
+ updateChildren(elm, oldChildren, newVNode, newChildren);
1297
+ }
1298
+ else if (newChildren !== null) {
1299
+ // no old child vnodes, but there are new child vnodes to add
1300
+ if (oldVNode.$text$ !== null) {
1301
+ // the old vnode was text, so be sure to clear it out
1302
+ elm.textContent = '';
1303
+ }
1304
+ // add the new vnode children
1305
+ addVnodes(elm, null, newVNode, newChildren, 0, newChildren.length - 1);
1306
+ }
1307
+ else if (oldChildren !== null) {
1308
+ // no new child vnodes, but there are old child vnodes to remove
1309
+ removeVnodes(oldChildren, 0, oldChildren.length - 1);
1310
+ }
1311
+ if (isSvgMode && tag === 'svg') {
1312
+ isSvgMode = false;
1313
+ }
1314
+ }
1315
+ else if ((defaultHolder = elm['s-cr'])) {
1316
+ // this element has slotted content
1317
+ defaultHolder.parentNode.textContent = text;
1318
+ }
1319
+ else if (oldVNode.$text$ !== text) {
1320
+ // update the text content for the text only vnode
1321
+ // and also only if the text is different than before
1322
+ elm.data = text;
1323
+ }
1324
+ };
1325
+ const updateFallbackSlotVisibility = (elm) => {
1326
+ // tslint:disable-next-line: prefer-const
1327
+ const childNodes = elm.childNodes;
1328
+ let childNode;
1329
+ let i;
1330
+ let ilen;
1331
+ let j;
1332
+ let slotNameAttr;
1333
+ let nodeType;
1334
+ for (i = 0, ilen = childNodes.length; i < ilen; i++) {
1335
+ childNode = childNodes[i];
1336
+ if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1337
+ if (childNode['s-sr']) {
1338
+ // this is a slot fallback node
1339
+ // get the slot name for this slot reference node
1340
+ slotNameAttr = childNode['s-sn'];
1341
+ // by default always show a fallback slot node
1342
+ // then hide it if there are other slots in the light dom
1343
+ childNode.hidden = false;
1344
+ for (j = 0; j < ilen; j++) {
1345
+ nodeType = childNodes[j].nodeType;
1346
+ if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {
1347
+ // this sibling node is from a different component OR is a named fallback slot node
1348
+ if (nodeType === 1 /* NODE_TYPE.ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
1349
+ childNode.hidden = true;
1350
+ break;
1351
+ }
1352
+ }
1353
+ else {
1354
+ // this is a default fallback slot node
1355
+ // any element or text node (with content)
1356
+ // should hide the default fallback slot node
1357
+ if (nodeType === 1 /* NODE_TYPE.ElementNode */ ||
1358
+ (nodeType === 3 /* NODE_TYPE.TextNode */ && childNodes[j].textContent.trim() !== '')) {
1359
+ childNode.hidden = true;
1360
+ break;
1361
+ }
1362
+ }
1363
+ }
1364
+ }
1365
+ // keep drilling down
1366
+ updateFallbackSlotVisibility(childNode);
1367
+ }
1368
+ }
1369
+ };
1370
+ const relocateNodes = [];
1371
+ const relocateSlotContent = (elm) => {
1372
+ // tslint:disable-next-line: prefer-const
1373
+ let childNode;
1374
+ let node;
1375
+ let hostContentNodes;
1376
+ let slotNameAttr;
1377
+ let relocateNodeData;
1378
+ let j;
1379
+ let i = 0;
1380
+ const childNodes = elm.childNodes;
1381
+ const ilen = childNodes.length;
1382
+ for (; i < ilen; i++) {
1383
+ childNode = childNodes[i];
1384
+ if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {
1385
+ // first got the content reference comment node
1386
+ // then we got it's parent, which is where all the host content is in now
1387
+ hostContentNodes = node.parentNode.childNodes;
1388
+ slotNameAttr = childNode['s-sn'];
1389
+ for (j = hostContentNodes.length - 1; j >= 0; j--) {
1390
+ node = hostContentNodes[j];
1391
+ if (!node['s-cn'] && !node['s-nr'] && node['s-hn'] !== childNode['s-hn']) {
1392
+ // let's do some relocating to its new home
1393
+ // but never relocate a content reference node
1394
+ // that is suppose to always represent the original content location
1395
+ if (isNodeLocatedInSlot(node, slotNameAttr)) {
1396
+ // it's possible we've already decided to relocate this node
1397
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1398
+ // made some changes to slots
1399
+ // let's make sure we also double check
1400
+ // fallbacks are correctly hidden or shown
1401
+ checkSlotFallbackVisibility = true;
1402
+ node['s-sn'] = node['s-sn'] || slotNameAttr;
1403
+ if (relocateNodeData) {
1404
+ // previously we never found a slot home for this node
1405
+ // but turns out we did, so let's remember it now
1406
+ relocateNodeData.$slotRefNode$ = childNode;
1407
+ }
1408
+ else {
1409
+ // add to our list of nodes to relocate
1410
+ relocateNodes.push({
1411
+ $slotRefNode$: childNode,
1412
+ $nodeToRelocate$: node,
1413
+ });
1414
+ }
1415
+ if (node['s-sr']) {
1416
+ relocateNodes.map((relocateNode) => {
1417
+ if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
1418
+ relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1419
+ if (relocateNodeData && !relocateNode.$slotRefNode$) {
1420
+ relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
1421
+ }
1422
+ }
1423
+ });
1424
+ }
1425
+ }
1426
+ else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
1427
+ // so far this element does not have a slot home, not setting slotRefNode on purpose
1428
+ // if we never find a home for this element then we'll need to hide it
1429
+ relocateNodes.push({
1430
+ $nodeToRelocate$: node,
1431
+ });
1432
+ }
1433
+ }
1434
+ }
1435
+ }
1436
+ if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1437
+ relocateSlotContent(childNode);
1438
+ }
1439
+ }
1440
+ };
1441
+ const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
1442
+ if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1443
+ if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {
1444
+ return true;
1445
+ }
1446
+ if (nodeToRelocate.getAttribute('slot') === slotNameAttr) {
1447
+ return true;
1448
+ }
1449
+ return false;
1450
+ }
1451
+ if (nodeToRelocate['s-sn'] === slotNameAttr) {
1452
+ return true;
1453
+ }
1454
+ return slotNameAttr === '';
1455
+ };
1456
+ /**
1457
+ * 'Nullify' any VDom `ref` callbacks on a VDom node or its children by
1458
+ * calling them with `null`. This signals that the DOM element corresponding to
1459
+ * the VDom node has been removed from the DOM.
1460
+ *
1461
+ * @param vNode a virtual DOM node
1462
+ */
1463
+ const nullifyVNodeRefs = (vNode) => {
1464
+ {
1465
+ vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
1466
+ vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
1467
+ }
1468
+ };
1469
+ /**
1470
+ * The main entry point for Stencil's virtual DOM-based rendering engine
1471
+ *
1472
+ * Given a {@link d.HostRef} container and some virtual DOM nodes, this
1473
+ * function will handle creating a virtual DOM tree with a single root, patching
1474
+ * the current virtual DOM tree onto an old one (if any), dealing with slot
1475
+ * relocation, and reflecting attributes.
1476
+ *
1477
+ * @param hostRef data needed to root and render the virtual DOM tree, such as
1478
+ * the DOM node into which it should be rendered.
1479
+ * @param renderFnResults the virtual DOM nodes to be rendered
1480
+ */
1481
+ const renderVdom = (hostRef, renderFnResults) => {
1482
+ const hostElm = hostRef.$hostElement$;
1483
+ const cmpMeta = hostRef.$cmpMeta$;
1484
+ const oldVNode = hostRef.$vnode$ || newVNode(null, null);
1485
+ const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
1486
+ hostTagName = hostElm.tagName;
1487
+ if (cmpMeta.$attrsToReflect$) {
1488
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
1489
+ cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
1490
+ }
1491
+ rootVnode.$tag$ = null;
1492
+ rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
1493
+ hostRef.$vnode$ = rootVnode;
1494
+ rootVnode.$elm$ = oldVNode.$elm$ = (hostElm.shadowRoot || hostElm );
1495
+ {
1496
+ scopeId = hostElm['s-sc'];
1497
+ }
1498
+ {
1499
+ contentRef = hostElm['s-cr'];
1500
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) !== 0;
1501
+ // always reset
1502
+ checkSlotFallbackVisibility = false;
1503
+ }
1504
+ // synchronous patch
1505
+ patch(oldVNode, rootVnode);
1506
+ {
1507
+ // while we're moving nodes around existing nodes, temporarily disable
1508
+ // the disconnectCallback from working
1509
+ plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
1510
+ if (checkSlotRelocate) {
1511
+ relocateSlotContent(rootVnode.$elm$);
1512
+ let relocateData;
1513
+ let nodeToRelocate;
1514
+ let orgLocationNode;
1515
+ let parentNodeRef;
1516
+ let insertBeforeNode;
1517
+ let refNode;
1518
+ let i = 0;
1519
+ for (; i < relocateNodes.length; i++) {
1520
+ relocateData = relocateNodes[i];
1521
+ nodeToRelocate = relocateData.$nodeToRelocate$;
1522
+ if (!nodeToRelocate['s-ol']) {
1523
+ // add a reference node marking this node's original location
1524
+ // keep a reference to this node for later lookups
1525
+ orgLocationNode =
1526
+ doc.createTextNode('');
1527
+ orgLocationNode['s-nr'] = nodeToRelocate;
1528
+ nodeToRelocate.parentNode.insertBefore((nodeToRelocate['s-ol'] = orgLocationNode), nodeToRelocate);
1529
+ }
1530
+ }
1531
+ for (i = 0; i < relocateNodes.length; i++) {
1532
+ relocateData = relocateNodes[i];
1533
+ nodeToRelocate = relocateData.$nodeToRelocate$;
1534
+ if (relocateData.$slotRefNode$) {
1535
+ // by default we're just going to insert it directly
1536
+ // after the slot reference node
1537
+ parentNodeRef = relocateData.$slotRefNode$.parentNode;
1538
+ insertBeforeNode = relocateData.$slotRefNode$.nextSibling;
1539
+ orgLocationNode = nodeToRelocate['s-ol'];
1540
+ while ((orgLocationNode = orgLocationNode.previousSibling)) {
1541
+ refNode = orgLocationNode['s-nr'];
1542
+ if (refNode && refNode['s-sn'] === nodeToRelocate['s-sn'] && parentNodeRef === refNode.parentNode) {
1543
+ refNode = refNode.nextSibling;
1544
+ if (!refNode || !refNode['s-nr']) {
1545
+ insertBeforeNode = refNode;
1546
+ break;
1547
+ }
1548
+ }
1549
+ }
1550
+ if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
1551
+ nodeToRelocate.nextSibling !== insertBeforeNode) {
1552
+ // we've checked that it's worth while to relocate
1553
+ // since that the node to relocate
1554
+ // has a different next sibling or parent relocated
1555
+ if (nodeToRelocate !== insertBeforeNode) {
1556
+ if (!nodeToRelocate['s-hn'] && nodeToRelocate['s-ol']) {
1557
+ // probably a component in the index.html that doesn't have it's hostname set
1558
+ nodeToRelocate['s-hn'] = nodeToRelocate['s-ol'].parentNode.nodeName;
1559
+ }
1560
+ // add it back to the dom but in its new home
1561
+ parentNodeRef.insertBefore(nodeToRelocate, insertBeforeNode);
1562
+ }
1563
+ }
1564
+ }
1565
+ else {
1566
+ // this node doesn't have a slot home to go to, so let's hide it
1567
+ if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1568
+ nodeToRelocate.hidden = true;
1569
+ }
1570
+ }
1571
+ }
1572
+ }
1573
+ if (checkSlotFallbackVisibility) {
1574
+ updateFallbackSlotVisibility(rootVnode.$elm$);
1575
+ }
1576
+ // done moving nodes around
1577
+ // allow the disconnect callback to work again
1578
+ plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
1579
+ // always reset
1580
+ relocateNodes.length = 0;
1581
+ }
1582
+ };
1583
+ const attachToAncestor = (hostRef, ancestorComponent) => {
1584
+ if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
1585
+ ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
1586
+ }
1587
+ };
1588
+ const scheduleUpdate = (hostRef, isInitialLoad) => {
1589
+ {
1590
+ hostRef.$flags$ |= 16 /* HOST_FLAGS.isQueuedForUpdate */;
1591
+ }
1592
+ if (hostRef.$flags$ & 4 /* HOST_FLAGS.isWaitingForChildren */) {
1593
+ hostRef.$flags$ |= 512 /* HOST_FLAGS.needsRerender */;
1594
+ return;
1595
+ }
1596
+ attachToAncestor(hostRef, hostRef.$ancestorComponent$);
1597
+ // there is no ancestor component or the ancestor component
1598
+ // has already fired off its lifecycle update then
1599
+ // fire off the initial update
1600
+ const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1601
+ return writeTask(dispatch) ;
1602
+ };
1603
+ /**
1604
+ * Dispatch initial-render and update lifecycle hooks, enqueuing calls to
1605
+ * component lifecycle methods like `componentWillLoad` as well as
1606
+ * {@link updateComponent}, which will kick off the virtual DOM re-render.
1607
+ *
1608
+ * @param hostRef a reference to a host DOM node
1609
+ * @param isInitialLoad whether we're on the initial load or not
1610
+ * @returns an empty Promise which is used to enqueue a series of operations for
1611
+ * the component
1612
+ */
1613
+ const dispatchHooks = (hostRef, isInitialLoad) => {
1614
+ const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
1615
+ const instance = hostRef.$lazyInstance$ ;
1616
+ // We're going to use this variable together with `enqueue` to implement a
1617
+ // little promise-based queue. We start out with it `undefined`. When we add
1618
+ // the first function to the queue we'll set this variable to be that
1619
+ // function's return value. When we attempt to add subsequent values to the
1620
+ // queue we'll check that value and, if it was a `Promise`, we'll then chain
1621
+ // the new function off of that `Promise` using `.then()`. This will give our
1622
+ // queue two nice properties:
1623
+ //
1624
+ // 1. If all functions added to the queue are synchronous they'll be called
1625
+ // synchronously right away.
1626
+ // 2. If all functions added to the queue are asynchronous they'll all be
1627
+ // called in order after `dispatchHooks` exits.
1628
+ let maybePromise;
1629
+ if (isInitialLoad) {
1630
+ {
1631
+ hostRef.$flags$ |= 256 /* HOST_FLAGS.isListenReady */;
1632
+ if (hostRef.$queuedListeners$) {
1633
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
1634
+ hostRef.$queuedListeners$ = undefined;
1635
+ }
1636
+ }
1637
+ {
1638
+ // If `componentWillLoad` returns a `Promise` then we want to wait on
1639
+ // whatever's going on in that `Promise` before we launch into
1640
+ // rendering the component, doing other lifecycle stuff, etc. So
1641
+ // in that case we assign the returned promise to the variable we
1642
+ // declared above to hold a possible 'queueing' Promise
1643
+ maybePromise = safeCall(instance, 'componentWillLoad');
1644
+ }
1645
+ }
1646
+ else {
1647
+ {
1648
+ // Like `componentWillLoad` above, we allow Stencil component
1649
+ // authors to return a `Promise` from this lifecycle callback, and
1650
+ // we specify that our runtime will wait for that `Promise` to
1651
+ // resolve before the component re-renders. So if the method
1652
+ // returns a `Promise` we need to keep it around!
1653
+ maybePromise = safeCall(instance, 'componentWillUpdate');
1654
+ }
1655
+ }
1656
+ {
1657
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, 'componentWillRender'));
1658
+ }
1659
+ endSchedule();
1660
+ return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1661
+ };
1662
+ /**
1663
+ * This function uses a Promise to implement a simple first-in, first-out queue
1664
+ * of functions to be called.
1665
+ *
1666
+ * The queue is ordered on the basis of the first argument. If it's
1667
+ * `undefined`, then nothing is on the queue yet, so the provided function can
1668
+ * be called synchronously (although note that this function may return a
1669
+ * `Promise`). The idea is that then the return value of that enqueueing
1670
+ * operation is kept around, so that if it was a `Promise` then subsequent
1671
+ * functions can be enqueued by calling this function again with that `Promise`
1672
+ * as the first argument.
1673
+ *
1674
+ * @param maybePromise either a `Promise` which should resolve before the next function is called or an 'empty' sentinel
1675
+ * @param fn a function to enqueue
1676
+ * @returns either a `Promise` or the return value of the provided function
1677
+ */
1678
+ const enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn) : fn();
1679
+ /**
1680
+ * Check that a value is a `Promise`. To check, we first see if the value is an
1681
+ * instance of the `Promise` global. In a few circumstances, in particular if
1682
+ * the global has been overwritten, this is could be misleading, so we also do
1683
+ * a little 'duck typing' check to see if the `.then` property of the value is
1684
+ * defined and a function.
1685
+ *
1686
+ * @param maybePromise it might be a promise!
1687
+ * @returns whether it is or not
1688
+ */
1689
+ const isPromisey = (maybePromise) => maybePromise instanceof Promise ||
1690
+ (maybePromise && maybePromise.then && typeof maybePromise.then === 'function');
1691
+ const updateComponent = async (hostRef, instance, isInitialLoad) => {
1692
+ var _a;
1693
+ const elm = hostRef.$hostElement$;
1694
+ const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
1695
+ const rc = elm['s-rc'];
1696
+ if (isInitialLoad) {
1697
+ // DOM WRITE!
1698
+ attachStyles(hostRef);
1699
+ }
1700
+ const endRender = createTime('render', hostRef.$cmpMeta$.$tagName$);
1701
+ {
1702
+ callRender(hostRef, instance);
1703
+ }
1704
+ if (rc) {
1705
+ // ok, so turns out there are some child host elements
1706
+ // waiting on this parent element to load
1707
+ // let's fire off all update callbacks waiting
1708
+ rc.map((cb) => cb());
1709
+ elm['s-rc'] = undefined;
1710
+ }
1711
+ endRender();
1712
+ endUpdate();
1713
+ {
1714
+ const childrenPromises = (_a = elm['s-p']) !== null && _a !== void 0 ? _a : [];
1715
+ const postUpdate = () => postUpdateComponent(hostRef);
1716
+ if (childrenPromises.length === 0) {
1717
+ postUpdate();
1718
+ }
1719
+ else {
1720
+ Promise.all(childrenPromises).then(postUpdate);
1721
+ hostRef.$flags$ |= 4 /* HOST_FLAGS.isWaitingForChildren */;
1722
+ childrenPromises.length = 0;
1723
+ }
1724
+ }
1725
+ };
1726
+ const callRender = (hostRef, instance, elm) => {
1727
+ try {
1728
+ instance = instance.render() ;
1729
+ {
1730
+ hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
1731
+ }
1732
+ {
1733
+ hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
1734
+ }
1735
+ {
1736
+ {
1737
+ // looks like we've got child nodes to render into this host element
1738
+ // or we need to update the css class/attrs on the host element
1739
+ // DOM WRITE!
1740
+ {
1741
+ renderVdom(hostRef, instance);
1742
+ }
1743
+ }
1744
+ }
1745
+ }
1746
+ catch (e) {
1747
+ consoleError(e, hostRef.$hostElement$);
1748
+ }
1749
+ return null;
1750
+ };
1751
+ const postUpdateComponent = (hostRef) => {
1752
+ const tagName = hostRef.$cmpMeta$.$tagName$;
1753
+ const elm = hostRef.$hostElement$;
1754
+ const endPostUpdate = createTime('postUpdate', tagName);
1755
+ const instance = hostRef.$lazyInstance$ ;
1756
+ const ancestorComponent = hostRef.$ancestorComponent$;
1757
+ {
1758
+ safeCall(instance, 'componentDidRender');
1759
+ }
1760
+ if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
1761
+ hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
1762
+ {
1763
+ // DOM WRITE!
1764
+ addHydratedFlag(elm);
1765
+ }
1766
+ {
1767
+ safeCall(instance, 'componentDidLoad');
1768
+ }
1769
+ endPostUpdate();
1770
+ {
1771
+ hostRef.$onReadyResolve$(elm);
1772
+ if (!ancestorComponent) {
1773
+ appDidLoad();
1774
+ }
1775
+ }
1776
+ }
1777
+ else {
1778
+ {
1779
+ safeCall(instance, 'componentDidUpdate');
1780
+ }
1781
+ endPostUpdate();
1782
+ }
1783
+ {
1784
+ hostRef.$onInstanceResolve$(elm);
1785
+ }
1786
+ // load events fire from bottom to top
1787
+ // the deepest elements load first then bubbles up
1788
+ {
1789
+ if (hostRef.$onRenderResolve$) {
1790
+ hostRef.$onRenderResolve$();
1791
+ hostRef.$onRenderResolve$ = undefined;
1792
+ }
1793
+ if (hostRef.$flags$ & 512 /* HOST_FLAGS.needsRerender */) {
1794
+ nextTick(() => scheduleUpdate(hostRef, false));
1795
+ }
1796
+ hostRef.$flags$ &= ~(4 /* HOST_FLAGS.isWaitingForChildren */ | 512 /* HOST_FLAGS.needsRerender */);
1797
+ }
1798
+ // ( •_•)
1799
+ // ( •_•)>⌐■-■
1800
+ // (⌐■_■)
1801
+ };
1802
+ const appDidLoad = (who) => {
1803
+ // on appload
1804
+ // we have finish the first big initial render
1805
+ {
1806
+ addHydratedFlag(doc.documentElement);
1807
+ }
1808
+ nextTick(() => emitEvent(win, 'appload', { detail: { namespace: NAMESPACE } }));
1809
+ };
1810
+ const safeCall = (instance, method, arg) => {
1811
+ if (instance && instance[method]) {
1812
+ try {
1813
+ return instance[method](arg);
1814
+ }
1815
+ catch (e) {
1816
+ consoleError(e);
1817
+ }
1818
+ }
1819
+ return undefined;
1820
+ };
1821
+ const addHydratedFlag = (elm) => elm.classList.add('hydrated')
1822
+ ;
1823
+ const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1824
+ const setValue = (ref, propName, newVal, cmpMeta) => {
1825
+ // check our new property value against our internal value
1826
+ const hostRef = getHostRef(ref);
1827
+ const elm = hostRef.$hostElement$ ;
1828
+ const oldVal = hostRef.$instanceValues$.get(propName);
1829
+ const flags = hostRef.$flags$;
1830
+ const instance = hostRef.$lazyInstance$ ;
1831
+ newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1832
+ // explicitly check for NaN on both sides, as `NaN === NaN` is always false
1833
+ const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1834
+ const didValueChange = newVal !== oldVal && !areBothNaN;
1835
+ if ((!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) || oldVal === undefined) && didValueChange) {
1836
+ // gadzooks! the property's value has changed!!
1837
+ // set our new value!
1838
+ hostRef.$instanceValues$.set(propName, newVal);
1839
+ if (instance) {
1840
+ // get an array of method names of watch functions to call
1841
+ if (cmpMeta.$watchers$ && flags & 128 /* HOST_FLAGS.isWatchReady */) {
1842
+ const watchMethods = cmpMeta.$watchers$[propName];
1843
+ if (watchMethods) {
1844
+ // this instance is watching for when this property changed
1845
+ watchMethods.map((watchMethodName) => {
1846
+ try {
1847
+ // fire off each of the watch methods that are watching this property
1848
+ instance[watchMethodName](newVal, oldVal, propName);
1849
+ }
1850
+ catch (e) {
1851
+ consoleError(e, elm);
1852
+ }
1853
+ });
1854
+ }
1855
+ }
1856
+ if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1857
+ // looks like this value actually changed, so we've got work to do!
1858
+ // but only if we've already rendered, otherwise just chill out
1859
+ // queue that we need to do an update, but don't worry about queuing
1860
+ // up millions cuz this function ensures it only runs once
1861
+ scheduleUpdate(hostRef, false);
1862
+ }
1863
+ }
1864
+ }
1865
+ };
1866
+ /**
1867
+ * Attach a series of runtime constructs to a compiled Stencil component
1868
+ * constructor, including getters and setters for the `@Prop` and `@State`
1869
+ * decorators, callbacks for when attributes change, and so on.
1870
+ *
1871
+ * @param Cstr the constructor for a component that we need to process
1872
+ * @param cmpMeta metadata collected previously about the component
1873
+ * @param flags a number used to store a series of bit flags
1874
+ * @returns a reference to the same constructor passed in (but now mutated)
1875
+ */
1876
+ const proxyComponent = (Cstr, cmpMeta, flags) => {
1877
+ if (cmpMeta.$members$) {
1878
+ if (Cstr.watchers) {
1879
+ cmpMeta.$watchers$ = Cstr.watchers;
1880
+ }
1881
+ // It's better to have a const than two Object.entries()
1882
+ const members = Object.entries(cmpMeta.$members$);
1883
+ const prototype = Cstr.prototype;
1884
+ members.map(([memberName, [memberFlags]]) => {
1885
+ if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
1886
+ ((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
1887
+ // proxyComponent - prop
1888
+ Object.defineProperty(prototype, memberName, {
1889
+ get() {
1890
+ // proxyComponent, get value
1891
+ return getValue(this, memberName);
1892
+ },
1893
+ set(newValue) {
1894
+ // proxyComponent, set value
1895
+ setValue(this, memberName, newValue, cmpMeta);
1896
+ },
1897
+ configurable: true,
1898
+ enumerable: true,
1899
+ });
1900
+ }
1901
+ else if (flags & 1 /* PROXY_FLAGS.isElementConstructor */ &&
1902
+ memberFlags & 64 /* MEMBER_FLAGS.Method */) {
1903
+ // proxyComponent - method
1904
+ Object.defineProperty(prototype, memberName, {
1905
+ value(...args) {
1906
+ const ref = getHostRef(this);
1907
+ return ref.$onInstancePromise$.then(() => ref.$lazyInstance$[memberName](...args));
1908
+ },
1909
+ });
1910
+ }
1911
+ });
1912
+ if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
1913
+ const attrNameToPropName = new Map();
1914
+ prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1915
+ plt.jmp(() => {
1916
+ const propName = attrNameToPropName.get(attrName);
1917
+ // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
1918
+ // in the case where an attribute was set inline.
1919
+ // ```html
1920
+ // <my-component some-attribute="some-value"></my-component>
1921
+ // ```
1922
+ //
1923
+ // There is an edge case where a developer sets the attribute inline on a custom element and then
1924
+ // programmatically changes it before it has been upgraded as shown below:
1925
+ //
1926
+ // ```html
1927
+ // <!-- this component has _not_ been upgraded yet -->
1928
+ // <my-component id="test" some-attribute="some-value"></my-component>
1929
+ // <script>
1930
+ // // grab non-upgraded component
1931
+ // el = document.querySelector("#test");
1932
+ // el.someAttribute = "another-value";
1933
+ // // upgrade component
1934
+ // customElements.define('my-component', MyComponent);
1935
+ // </script>
1936
+ // ```
1937
+ // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
1938
+ // will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
1939
+ // to the value that was set inline i.e. "some-value" from above example. When
1940
+ // the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
1941
+ //
1942
+ // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
1943
+ // by connectedCallback as this attributeChangedCallback will not fire.
1944
+ //
1945
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1946
+ //
1947
+ // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
1948
+ // properties here given that this goes against best practices outlined here
1949
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
1950
+ if (this.hasOwnProperty(propName)) {
1951
+ newValue = this[propName];
1952
+ delete this[propName];
1953
+ }
1954
+ else if (prototype.hasOwnProperty(propName) &&
1955
+ typeof this[propName] === 'number' &&
1956
+ this[propName] == newValue) {
1957
+ // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
1958
+ // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
1959
+ // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
1960
+ return;
1961
+ }
1962
+ this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1963
+ });
1964
+ };
1965
+ // create an array of attributes to observe
1966
+ // and also create a map of html attribute name to js property name
1967
+ Cstr.observedAttributes = members
1968
+ .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
1969
+ .map(([propName, m]) => {
1970
+ const attrName = m[1] || propName;
1971
+ attrNameToPropName.set(attrName, propName);
1972
+ if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1973
+ cmpMeta.$attrsToReflect$.push([propName, attrName]);
1974
+ }
1975
+ return attrName;
1976
+ });
1977
+ }
1978
+ }
1979
+ return Cstr;
1980
+ };
1981
+ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1982
+ // initializeComponent
1983
+ if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1984
+ // Let the runtime know that the component has been initialized
1985
+ hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
1986
+ {
1987
+ // lazy loaded components
1988
+ // request the component's implementation to be
1989
+ // wired up with the host element
1990
+ Cstr = loadModule(cmpMeta);
1991
+ if (Cstr.then) {
1992
+ // Await creates a micro-task avoid if possible
1993
+ const endLoad = uniqueTime();
1994
+ Cstr = await Cstr;
1995
+ endLoad();
1996
+ }
1997
+ if (!Cstr.isProxied) {
1998
+ // we've never proxied this Constructor before
1999
+ // let's add the getters/setters to its prototype before
2000
+ // the first time we create an instance of the implementation
2001
+ {
2002
+ cmpMeta.$watchers$ = Cstr.watchers;
2003
+ }
2004
+ proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
2005
+ Cstr.isProxied = true;
2006
+ }
2007
+ const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);
2008
+ // ok, time to construct the instance
2009
+ // but let's keep track of when we start and stop
2010
+ // so that the getters/setters don't incorrectly step on data
2011
+ {
2012
+ hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;
2013
+ }
2014
+ // construct the lazy-loaded component implementation
2015
+ // passing the hostRef is very important during
2016
+ // construction in order to directly wire together the
2017
+ // host element and the lazy-loaded instance
2018
+ try {
2019
+ new Cstr(hostRef);
2020
+ }
2021
+ catch (e) {
2022
+ consoleError(e);
2023
+ }
2024
+ {
2025
+ hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
2026
+ }
2027
+ {
2028
+ hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;
2029
+ }
2030
+ endNewInstance();
2031
+ fireConnectedCallback(hostRef.$lazyInstance$);
2032
+ }
2033
+ if (Cstr.style) {
2034
+ // this component has styles but we haven't registered them yet
2035
+ let style = Cstr.style;
2036
+ const scopeId = getScopeId(cmpMeta);
2037
+ if (!styles.has(scopeId)) {
2038
+ const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
2039
+ registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
2040
+ endRegisterStyles();
2041
+ }
2042
+ }
2043
+ }
2044
+ // we've successfully created a lazy instance
2045
+ const ancestorComponent = hostRef.$ancestorComponent$;
2046
+ const schedule = () => scheduleUpdate(hostRef, true);
2047
+ if (ancestorComponent && ancestorComponent['s-rc']) {
2048
+ // this is the initial load and this component it has an ancestor component
2049
+ // but the ancestor component has NOT fired its will update lifecycle yet
2050
+ // so let's just cool our jets and wait for the ancestor to continue first
2051
+ // this will get fired off when the ancestor component
2052
+ // finally gets around to rendering its lazy self
2053
+ // fire off the initial update
2054
+ ancestorComponent['s-rc'].push(schedule);
2055
+ }
2056
+ else {
2057
+ schedule();
2058
+ }
2059
+ };
2060
+ const fireConnectedCallback = (instance) => {
2061
+ {
2062
+ safeCall(instance, 'connectedCallback');
2063
+ }
2064
+ };
2065
+ const connectedCallback = (elm) => {
2066
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
2067
+ const hostRef = getHostRef(elm);
2068
+ const cmpMeta = hostRef.$cmpMeta$;
2069
+ const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
2070
+ if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
2071
+ // first time this component has connected
2072
+ hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
2073
+ let hostId;
2074
+ {
2075
+ hostId = elm.getAttribute(HYDRATE_ID);
2076
+ if (hostId) {
2077
+ if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
2078
+ const scopeId = addStyle(elm.shadowRoot, cmpMeta);
2079
+ elm.classList.remove(scopeId + '-h', scopeId + '-s');
2080
+ }
2081
+ initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
2082
+ }
2083
+ }
2084
+ if (!hostId) {
2085
+ // initUpdate
2086
+ // if the slot polyfill is required we'll need to put some nodes
2087
+ // in here to act as original content anchors as we move nodes around
2088
+ // host element has been connected to the DOM
2089
+ if ((// TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
2090
+ cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
2091
+ setContentReference(elm);
2092
+ }
2093
+ }
2094
+ {
2095
+ // find the first ancestor component (if there is one) and register
2096
+ // this component as one of the actively loading child components for its ancestor
2097
+ let ancestorComponent = elm;
2098
+ while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {
2099
+ // climb up the ancestors looking for the first
2100
+ // component that hasn't finished its lifecycle update yet
2101
+ if ((ancestorComponent.nodeType === 1 /* NODE_TYPE.ElementNode */ &&
2102
+ ancestorComponent.hasAttribute('s-id') &&
2103
+ ancestorComponent['s-p']) ||
2104
+ ancestorComponent['s-p']) {
2105
+ // we found this components first ancestor component
2106
+ // keep a reference to this component's ancestor component
2107
+ attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));
2108
+ break;
2109
+ }
2110
+ }
2111
+ }
2112
+ // Lazy properties
2113
+ // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
2114
+ if (cmpMeta.$members$) {
2115
+ Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
2116
+ if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {
2117
+ const value = elm[memberName];
2118
+ delete elm[memberName];
2119
+ elm[memberName] = value;
2120
+ }
2121
+ });
2122
+ }
2123
+ {
2124
+ initializeComponent(elm, hostRef, cmpMeta);
2125
+ }
2126
+ }
2127
+ else {
2128
+ // not the first time this has connected
2129
+ // reattach any event listeners to the host
2130
+ // since they would have been removed when disconnected
2131
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
2132
+ // fire off connectedCallback() on component instance
2133
+ fireConnectedCallback(hostRef.$lazyInstance$);
2134
+ }
2135
+ endConnected();
2136
+ }
2137
+ };
2138
+ const setContentReference = (elm) => {
2139
+ // only required when we're NOT using native shadow dom (slot)
2140
+ // or this browser doesn't support native shadow dom
2141
+ // and this host element was NOT created with SSR
2142
+ // let's pick out the inner content for slot projection
2143
+ // create a node to represent where the original
2144
+ // content was first placed, which is useful later on
2145
+ const contentRefElm = (elm['s-cr'] = doc.createComment(''));
2146
+ contentRefElm['s-cn'] = true;
2147
+ elm.insertBefore(contentRefElm, elm.firstChild);
2148
+ };
2149
+ const disconnectedCallback = (elm) => {
2150
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
2151
+ const hostRef = getHostRef(elm);
2152
+ const instance = hostRef.$lazyInstance$ ;
2153
+ {
2154
+ if (hostRef.$rmListeners$) {
2155
+ hostRef.$rmListeners$.map((rmListener) => rmListener());
2156
+ hostRef.$rmListeners$ = undefined;
2157
+ }
2158
+ }
2159
+ {
2160
+ safeCall(instance, 'disconnectedCallback');
2161
+ }
2162
+ }
2163
+ };
2164
+ const bootstrapLazy = (lazyBundles, options = {}) => {
2165
+ var _a;
2166
+ const endBootstrap = createTime();
2167
+ const cmpTags = [];
2168
+ const exclude = options.exclude || [];
2169
+ const customElements = win.customElements;
2170
+ const head = doc.head;
2171
+ const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
2172
+ const visibilityStyle = /*@__PURE__*/ doc.createElement('style');
2173
+ const deferredConnectedCallbacks = [];
2174
+ const styles = /*@__PURE__*/ doc.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
2175
+ let appLoadFallback;
2176
+ let isBootstrapping = true;
2177
+ let i = 0;
2178
+ Object.assign(plt, options);
2179
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
2180
+ {
2181
+ // If the app is already hydrated there is not point to disable the
2182
+ // async queue. This will improve the first input delay
2183
+ plt.$flags$ |= 2 /* PLATFORM_FLAGS.appLoaded */;
2184
+ }
2185
+ {
2186
+ for (; i < styles.length; i++) {
2187
+ registerStyle(styles[i].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles[i].innerHTML), true);
2188
+ }
2189
+ }
2190
+ lazyBundles.map((lazyBundle) => {
2191
+ lazyBundle[1].map((compactMeta) => {
2192
+ const cmpMeta = {
2193
+ $flags$: compactMeta[0],
2194
+ $tagName$: compactMeta[1],
2195
+ $members$: compactMeta[2],
2196
+ $listeners$: compactMeta[3],
2197
+ };
2198
+ {
2199
+ cmpMeta.$members$ = compactMeta[2];
2200
+ }
2201
+ {
2202
+ cmpMeta.$listeners$ = compactMeta[3];
2203
+ }
2204
+ {
2205
+ cmpMeta.$attrsToReflect$ = [];
2206
+ }
2207
+ {
2208
+ cmpMeta.$watchers$ = {};
2209
+ }
2210
+ const tagName = cmpMeta.$tagName$;
2211
+ const HostElement = class extends HTMLElement {
2212
+ // StencilLazyHost
2213
+ constructor(self) {
2214
+ // @ts-ignore
2215
+ super(self);
2216
+ self = this;
2217
+ registerHost(self, cmpMeta);
2218
+ if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
2219
+ // this component is using shadow dom
2220
+ // and this browser supports shadow dom
2221
+ // add the read-only property "shadowRoot" to the host element
2222
+ // adding the shadow root build conditionals to minimize runtime
2223
+ {
2224
+ {
2225
+ self.attachShadow({
2226
+ mode: 'open',
2227
+ delegatesFocus: !!(cmpMeta.$flags$ & 16 /* CMP_FLAGS.shadowDelegatesFocus */),
2228
+ });
2229
+ }
2230
+ }
2231
+ }
2232
+ }
2233
+ connectedCallback() {
2234
+ if (appLoadFallback) {
2235
+ clearTimeout(appLoadFallback);
2236
+ appLoadFallback = null;
2237
+ }
2238
+ if (isBootstrapping) {
2239
+ // connectedCallback will be processed once all components have been registered
2240
+ deferredConnectedCallbacks.push(this);
2241
+ }
2242
+ else {
2243
+ plt.jmp(() => connectedCallback(this));
2244
+ }
2245
+ }
2246
+ disconnectedCallback() {
2247
+ plt.jmp(() => disconnectedCallback(this));
2248
+ }
2249
+ componentOnReady() {
2250
+ return getHostRef(this).$onReadyPromise$;
2251
+ }
2252
+ };
2253
+ cmpMeta.$lazyBundleId$ = lazyBundle[0];
2254
+ if (!exclude.includes(tagName) && !customElements.get(tagName)) {
2255
+ cmpTags.push(tagName);
2256
+ customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));
2257
+ }
2258
+ });
2259
+ });
2260
+ {
2261
+ visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
2262
+ visibilityStyle.setAttribute('data-styles', '');
2263
+ // Apply CSP nonce to the style tag if it exists
2264
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
2265
+ if (nonce != null) {
2266
+ visibilityStyle.setAttribute('nonce', nonce);
2267
+ }
2268
+ head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
2269
+ }
2270
+ // Process deferred connectedCallbacks now all components have been registered
2271
+ isBootstrapping = false;
2272
+ if (deferredConnectedCallbacks.length) {
2273
+ deferredConnectedCallbacks.map((host) => host.connectedCallback());
2274
+ }
2275
+ else {
2276
+ {
2277
+ plt.jmp(() => (appLoadFallback = setTimeout(appDidLoad, 30)));
2278
+ }
2279
+ }
2280
+ // Fallback appLoad event
2281
+ endBootstrap();
2282
+ };
2283
+ const Fragment = (_, children) => children;
2284
+ const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
2285
+ if (listeners) {
2286
+ listeners.map(([flags, name, method]) => {
2287
+ const target = getHostListenerTarget(elm, flags) ;
2288
+ const handler = hostListenerProxy(hostRef, method);
2289
+ const opts = hostListenerOpts(flags);
2290
+ plt.ael(target, name, handler, opts);
2291
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
2292
+ });
2293
+ }
2294
+ };
2295
+ const hostListenerProxy = (hostRef, methodName) => (ev) => {
2296
+ try {
2297
+ {
2298
+ if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
2299
+ // instance is ready, let's call it's member method for this event
2300
+ hostRef.$lazyInstance$[methodName](ev);
2301
+ }
2302
+ else {
2303
+ (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
2304
+ }
2305
+ }
2306
+ }
2307
+ catch (e) {
2308
+ consoleError(e);
2309
+ }
2310
+ };
2311
+ const getHostListenerTarget = (elm, flags) => {
2312
+ if (flags & 4 /* LISTENER_FLAGS.TargetDocument */)
2313
+ return doc;
2314
+ if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
2315
+ return win;
2316
+ return elm;
2317
+ };
2318
+ // prettier-ignore
2319
+ const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
2320
+ /**
2321
+ * Assigns the given value to the nonce property on the runtime platform object.
2322
+ * During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
2323
+ * @param nonce The value to be assigned to the platform nonce property.
2324
+ * @returns void
2325
+ */
2326
+ const setNonce = (nonce) => (plt.$nonce$ = nonce);
2327
+ const hostRefs = /*@__PURE__*/ new WeakMap();
2328
+ const getHostRef = (ref) => hostRefs.get(ref);
2329
+ const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
2330
+ const registerHost = (elm, cmpMeta) => {
2331
+ const hostRef = {
2332
+ $flags$: 0,
2333
+ $hostElement$: elm,
2334
+ $cmpMeta$: cmpMeta,
2335
+ $instanceValues$: new Map(),
2336
+ };
2337
+ {
2338
+ hostRef.$onInstancePromise$ = new Promise((r) => (hostRef.$onInstanceResolve$ = r));
2339
+ }
2340
+ {
2341
+ hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
2342
+ elm['s-p'] = [];
2343
+ elm['s-rc'] = [];
2344
+ }
2345
+ addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
2346
+ return hostRefs.set(elm, hostRef);
2347
+ };
2348
+ const isMemberInElement = (elm, memberName) => memberName in elm;
2349
+ const consoleError = (e, el) => (0, console.error)(e, el);
2350
+ const cmpModules = /*@__PURE__*/ new Map();
2351
+ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2352
+ // loadModuleImport
2353
+ const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
2354
+ const bundleId = cmpMeta.$lazyBundleId$;
2355
+ const module = cmpModules.get(bundleId) ;
2356
+ if (module) {
2357
+ return module[exportName];
2358
+ }
2359
+
2360
+ if (!hmrVersionId || !BUILD.hotModuleReplacement) {
2361
+ const processMod = importedModule => {
2362
+ cmpModules.set(bundleId, importedModule);
2363
+ return importedModule[exportName];
2364
+ }
2365
+ switch(bundleId) {
2366
+
2367
+ case 'ic-back-to-top':
2368
+ return import(
2369
+ /* webpackMode: "lazy" */
2370
+ './ic-back-to-top.entry.js').then(processMod, consoleError);
2371
+ case 'ic-breadcrumb-group':
2372
+ return import(
2373
+ /* webpackMode: "lazy" */
2374
+ './ic-breadcrumb-group.entry.js').then(processMod, consoleError);
2375
+ case 'ic-card':
2376
+ return import(
2377
+ /* webpackMode: "lazy" */
2378
+ './ic-card.entry.js').then(processMod, consoleError);
2379
+ case 'ic-checkbox':
2380
+ return import(
2381
+ /* webpackMode: "lazy" */
2382
+ './ic-checkbox.entry.js').then(processMod, consoleError);
2383
+ case 'ic-checkbox-group':
2384
+ return import(
2385
+ /* webpackMode: "lazy" */
2386
+ './ic-checkbox-group.entry.js').then(processMod, consoleError);
2387
+ case 'ic-chip':
2388
+ return import(
2389
+ /* webpackMode: "lazy" */
2390
+ './ic-chip.entry.js').then(processMod, consoleError);
2391
+ case 'ic-classification-banner':
2392
+ return import(
2393
+ /* webpackMode: "lazy" */
2394
+ './ic-classification-banner.entry.js').then(processMod, consoleError);
2395
+ case 'ic-data-entity':
2396
+ return import(
2397
+ /* webpackMode: "lazy" */
2398
+ './ic-data-entity.entry.js').then(processMod, consoleError);
2399
+ case 'ic-data-row':
2400
+ return import(
2401
+ /* webpackMode: "lazy" */
2402
+ './ic-data-row.entry.js').then(processMod, consoleError);
2403
+ case 'ic-dialog':
2404
+ return import(
2405
+ /* webpackMode: "lazy" */
2406
+ './ic-dialog.entry.js').then(processMod, consoleError);
2407
+ case 'ic-footer':
2408
+ return import(
2409
+ /* webpackMode: "lazy" */
2410
+ './ic-footer.entry.js').then(processMod, consoleError);
2411
+ case 'ic-footer-link':
2412
+ return import(
2413
+ /* webpackMode: "lazy" */
2414
+ './ic-footer-link.entry.js').then(processMod, consoleError);
2415
+ case 'ic-footer-link-group':
2416
+ return import(
2417
+ /* webpackMode: "lazy" */
2418
+ './ic-footer-link-group.entry.js').then(processMod, consoleError);
2419
+ case 'ic-hero':
2420
+ return import(
2421
+ /* webpackMode: "lazy" */
2422
+ './ic-hero.entry.js').then(processMod, consoleError);
2423
+ case 'ic-menu-group':
2424
+ return import(
2425
+ /* webpackMode: "lazy" */
2426
+ './ic-menu-group.entry.js').then(processMod, consoleError);
2427
+ case 'ic-navigation-button':
2428
+ return import(
2429
+ /* webpackMode: "lazy" */
2430
+ './ic-navigation-button.entry.js').then(processMod, consoleError);
2431
+ case 'ic-navigation-group':
2432
+ return import(
2433
+ /* webpackMode: "lazy" */
2434
+ './ic-navigation-group.entry.js').then(processMod, consoleError);
2435
+ case 'ic-navigation-item':
2436
+ return import(
2437
+ /* webpackMode: "lazy" */
2438
+ './ic-navigation-item.entry.js').then(processMod, consoleError);
2439
+ case 'ic-page-header':
2440
+ return import(
2441
+ /* webpackMode: "lazy" */
2442
+ './ic-page-header.entry.js').then(processMod, consoleError);
2443
+ case 'ic-popover-menu':
2444
+ return import(
2445
+ /* webpackMode: "lazy" */
2446
+ './ic-popover-menu.entry.js').then(processMod, consoleError);
2447
+ case 'ic-radio-group':
2448
+ return import(
2449
+ /* webpackMode: "lazy" */
2450
+ './ic-radio-group.entry.js').then(processMod, consoleError);
2451
+ case 'ic-radio-option':
2452
+ return import(
2453
+ /* webpackMode: "lazy" */
2454
+ './ic-radio-option.entry.js').then(processMod, consoleError);
2455
+ case 'ic-search-bar':
2456
+ return import(
2457
+ /* webpackMode: "lazy" */
2458
+ './ic-search-bar.entry.js').then(processMod, consoleError);
2459
+ case 'ic-side-navigation':
2460
+ return import(
2461
+ /* webpackMode: "lazy" */
2462
+ './ic-side-navigation.entry.js').then(processMod, consoleError);
2463
+ case 'ic-skeleton':
2464
+ return import(
2465
+ /* webpackMode: "lazy" */
2466
+ './ic-skeleton.entry.js').then(processMod, consoleError);
2467
+ case 'ic-status-tag':
2468
+ return import(
2469
+ /* webpackMode: "lazy" */
2470
+ './ic-status-tag.entry.js').then(processMod, consoleError);
2471
+ case 'ic-step':
2472
+ return import(
2473
+ /* webpackMode: "lazy" */
2474
+ './ic-step.entry.js').then(processMod, consoleError);
2475
+ case 'ic-stepper':
2476
+ return import(
2477
+ /* webpackMode: "lazy" */
2478
+ './ic-stepper.entry.js').then(processMod, consoleError);
2479
+ case 'ic-switch':
2480
+ return import(
2481
+ /* webpackMode: "lazy" */
2482
+ './ic-switch.entry.js').then(processMod, consoleError);
2483
+ case 'ic-tab':
2484
+ return import(
2485
+ /* webpackMode: "lazy" */
2486
+ './ic-tab.entry.js').then(processMod, consoleError);
2487
+ case 'ic-tab-context':
2488
+ return import(
2489
+ /* webpackMode: "lazy" */
2490
+ './ic-tab-context.entry.js').then(processMod, consoleError);
2491
+ case 'ic-tab-group':
2492
+ return import(
2493
+ /* webpackMode: "lazy" */
2494
+ './ic-tab-group.entry.js').then(processMod, consoleError);
2495
+ case 'ic-tab-panel':
2496
+ return import(
2497
+ /* webpackMode: "lazy" */
2498
+ './ic-tab-panel.entry.js').then(processMod, consoleError);
2499
+ case 'ic-theme':
2500
+ return import(
2501
+ /* webpackMode: "lazy" */
2502
+ './ic-theme.entry.js').then(processMod, consoleError);
2503
+ case 'ic-toast':
2504
+ return import(
2505
+ /* webpackMode: "lazy" */
2506
+ './ic-toast.entry.js').then(processMod, consoleError);
2507
+ case 'ic-toast-region':
2508
+ return import(
2509
+ /* webpackMode: "lazy" */
2510
+ './ic-toast-region.entry.js').then(processMod, consoleError);
2511
+ case 'ic-top-navigation':
2512
+ return import(
2513
+ /* webpackMode: "lazy" */
2514
+ './ic-top-navigation.entry.js').then(processMod, consoleError);
2515
+ case 'ic-unstable-data-table':
2516
+ return import(
2517
+ /* webpackMode: "lazy" */
2518
+ './ic-unstable-data-table.entry.js').then(processMod, consoleError);
2519
+ case 'ic-alert':
2520
+ return import(
2521
+ /* webpackMode: "lazy" */
2522
+ './ic-alert.entry.js').then(processMod, consoleError);
2523
+ case 'ic-breadcrumb':
2524
+ return import(
2525
+ /* webpackMode: "lazy" */
2526
+ './ic-breadcrumb.entry.js').then(processMod, consoleError);
2527
+ case 'ic-divider':
2528
+ return import(
2529
+ /* webpackMode: "lazy" */
2530
+ './ic-divider.entry.js').then(processMod, consoleError);
2531
+ case 'ic-menu-item':
2532
+ return import(
2533
+ /* webpackMode: "lazy" */
2534
+ './ic-menu-item.entry.js').then(processMod, consoleError);
2535
+ case 'ic-navigation-menu':
2536
+ return import(
2537
+ /* webpackMode: "lazy" */
2538
+ './ic-navigation-menu.entry.js').then(processMod, consoleError);
2539
+ case 'ic-pagination-bar':
2540
+ return import(
2541
+ /* webpackMode: "lazy" */
2542
+ './ic-pagination-bar.entry.js').then(processMod, consoleError);
2543
+ case 'ic-pagination_4':
2544
+ return import(
2545
+ /* webpackMode: "lazy" */
2546
+ './ic-pagination_4.entry.js').then(processMod, consoleError);
2547
+ case 'ic-horizontal-scroll':
2548
+ return import(
2549
+ /* webpackMode: "lazy" */
2550
+ './ic-horizontal-scroll.entry.js').then(processMod, consoleError);
2551
+ case 'ic-link':
2552
+ return import(
2553
+ /* webpackMode: "lazy" */
2554
+ './ic-link.entry.js').then(processMod, consoleError);
2555
+ case 'ic-input-component-container_3':
2556
+ return import(
2557
+ /* webpackMode: "lazy" */
2558
+ './ic-input-component-container_3.entry.js').then(processMod, consoleError);
2559
+ case 'ic-section-container':
2560
+ return import(
2561
+ /* webpackMode: "lazy" */
2562
+ './ic-section-container.entry.js').then(processMod, consoleError);
2563
+ case 'ic-input-label_2':
2564
+ return import(
2565
+ /* webpackMode: "lazy" */
2566
+ './ic-input-label_2.entry.js').then(processMod, consoleError);
2567
+ case 'ic-button_3':
2568
+ return import(
2569
+ /* webpackMode: "lazy" */
2570
+ './ic-button_3.entry.js').then(processMod, consoleError);
2571
+ case 'ic-typography':
2572
+ return import(
2573
+ /* webpackMode: "lazy" */
2574
+ './ic-typography.entry.js').then(processMod, consoleError);
2575
+ }
2576
+ }
2577
+ return import(
2578
+ /* @vite-ignore */
2579
+ /* webpackInclude: /\.entry\.js$/ */
2580
+ /* webpackExclude: /\.system\.entry\.js$/ */
2581
+ /* webpackMode: "lazy" */
2582
+ `./${bundleId}.entry.js${''}`).then((importedModule) => {
2583
+ {
2584
+ cmpModules.set(bundleId, importedModule);
2585
+ }
2586
+ return importedModule[exportName];
2587
+ }, consoleError);
2588
+ };
2589
+ const styles = /*@__PURE__*/ new Map();
2590
+ const win = typeof window !== 'undefined' ? window : {};
2591
+ const doc = win.document || { head: {} };
2592
+ const plt = {
2593
+ $flags$: 0,
2594
+ $resourcesUrl$: '',
2595
+ jmp: (h) => h(),
2596
+ raf: (h) => requestAnimationFrame(h),
2597
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
2598
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
2599
+ ce: (eventName, opts) => new CustomEvent(eventName, opts),
2600
+ };
2601
+ const supportsShadow =
2602
+ // TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
2603
+ true;
2604
+ const promiseResolve = (v) => Promise.resolve(v);
2605
+ const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
2606
+ try {
2607
+ new CSSStyleSheet();
2608
+ return typeof new CSSStyleSheet().replaceSync === 'function';
2609
+ }
2610
+ catch (e) { }
2611
+ return false;
2612
+ })()
2613
+ ;
2614
+ const queueDomReads = [];
2615
+ const queueDomWrites = [];
2616
+ const queueTask = (queue, write) => (cb) => {
2617
+ queue.push(cb);
2618
+ if (!queuePending) {
2619
+ queuePending = true;
2620
+ if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {
2621
+ nextTick(flush);
2622
+ }
2623
+ else {
2624
+ plt.raf(flush);
2625
+ }
2626
+ }
2627
+ };
2628
+ const consume = (queue) => {
2629
+ for (let i = 0; i < queue.length; i++) {
2630
+ try {
2631
+ queue[i](performance.now());
2632
+ }
2633
+ catch (e) {
2634
+ consoleError(e);
2635
+ }
2636
+ }
2637
+ queue.length = 0;
2638
+ };
2639
+ const flush = () => {
2640
+ // always force a bunch of medium callbacks to run, but still have
2641
+ // a throttle on how many can run in a certain time
2642
+ // DOM READS!!!
2643
+ consume(queueDomReads);
2644
+ // DOM WRITES!!!
2645
+ {
2646
+ consume(queueDomWrites);
2647
+ if ((queuePending = queueDomReads.length > 0)) {
2648
+ // still more to do yet, but we've run out of time
2649
+ // let's let this thing cool off and try again in the next tick
2650
+ plt.raf(flush);
2651
+ }
2652
+ }
2653
+ };
2654
+ const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
2655
+ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
2656
+
2657
+ export { Fragment as F, Host as H, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
2658
+
2659
+ //# sourceMappingURL=index-36ab8165.js.map