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