@ukic/web-components 2.1.0-beta.15 → 2.1.0-beta.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (744) hide show
  1. package/dist/cjs/core.cjs.js +10 -3
  2. package/dist/cjs/core.cjs.js.map +1 -1
  3. package/dist/cjs/{helpers-d6b5880e.js → helpers-eb53c416.js} +7 -1
  4. package/dist/cjs/helpers-eb53c416.js.map +1 -0
  5. package/dist/cjs/ic-alert.cjs.entry.js +2 -2
  6. package/dist/cjs/ic-back-to-top.cjs.entry.js +2 -2
  7. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +2 -2
  8. package/dist/cjs/ic-breadcrumb.cjs.entry.js +2 -2
  9. package/dist/cjs/ic-button_3.cjs.entry.js +31 -31
  10. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  11. package/dist/cjs/ic-card.cjs.entry.js +4 -3
  12. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ic-checkbox-group.cjs.entry.js +5 -2
  14. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-checkbox.cjs.entry.js +3 -2
  16. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-chip.cjs.entry.js +5 -2
  18. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-classification-banner.cjs.entry.js +1 -1
  20. package/dist/cjs/ic-data-entity.cjs.entry.js +1 -1
  21. package/dist/cjs/ic-data-row.cjs.entry.js +2 -2
  22. package/dist/cjs/ic-dialog.cjs.entry.js +296 -0
  23. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -0
  24. package/dist/cjs/ic-divider.cjs.entry.js +2 -2
  25. package/dist/cjs/ic-footer-link-group.cjs.entry.js +2 -2
  26. package/dist/cjs/ic-footer-link.cjs.entry.js +2 -2
  27. package/dist/cjs/ic-footer.cjs.entry.js +3 -3
  28. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-hero.cjs.entry.js +2 -2
  30. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +2 -2
  31. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +65 -26
  32. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-input-label_2.cjs.entry.js +3 -3
  34. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-link.cjs.entry.js +2 -2
  36. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  37. package/dist/cjs/ic-menu-item.cjs.entry.js +4 -3
  38. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-navigation-button.cjs.entry.js +2 -2
  40. package/dist/cjs/ic-navigation-group.cjs.entry.js +44 -18
  41. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  42. package/dist/cjs/ic-navigation-item.cjs.entry.js +2 -2
  43. package/dist/cjs/ic-navigation-menu.cjs.entry.js +2 -2
  44. package/dist/cjs/ic-page-header.cjs.entry.js +3 -3
  45. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ic-pagination-item.cjs.entry.js +6 -1
  47. package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-pagination.cjs.entry.js +3 -2
  49. package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ic-popover-menu.cjs.entry.js +3 -3
  51. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ic-radio-group.cjs.entry.js +16 -5
  53. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ic-radio-option.cjs.entry.js +5 -11
  55. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ic-search-bar.cjs.entry.js +6 -3
  57. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ic-section-container.cjs.entry.js +1 -1
  59. package/dist/cjs/ic-select.cjs.entry.js +34 -32
  60. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-side-navigation.cjs.entry.js +51 -42
  62. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-skeleton.cjs.entry.js +1 -1
  64. package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
  65. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ic-step.cjs.entry.js +1 -1
  67. package/dist/cjs/ic-stepper.cjs.entry.js +2 -2
  68. package/dist/cjs/ic-switch.cjs.entry.js +4 -3
  69. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  70. package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
  71. package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
  72. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
  74. package/dist/cjs/ic-tab.cjs.entry.js +5 -1
  75. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ic-text-field.cjs.entry.js +4 -5
  77. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ic-theme.cjs.entry.js +2 -2
  79. package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
  80. package/dist/cjs/ic-toast.cjs.entry.js +2 -2
  81. package/dist/cjs/ic-top-navigation.cjs.entry.js +2 -2
  82. package/dist/cjs/ic-typography.cjs.entry.js +2 -2
  83. package/dist/cjs/{index-a62312a7.js → index-014e3058.js} +222 -43
  84. package/dist/cjs/index-014e3058.js.map +1 -0
  85. package/dist/cjs/loader.cjs.js +4 -3
  86. package/dist/cjs/loader.cjs.js.map +1 -1
  87. package/dist/collection/collection-manifest.json +13 -12
  88. package/dist/collection/components/ic-alert/ic-alert.e2e.js +16 -0
  89. package/dist/collection/components/ic-alert/ic-alert.e2e.js.map +1 -0
  90. package/dist/collection/components/ic-alert/ic-alert.spec.js +182 -0
  91. package/dist/collection/components/ic-alert/ic-alert.spec.js.map +1 -0
  92. package/dist/collection/components/ic-back-to-top/ic-back-to-top.e2e.js +68 -0
  93. package/dist/collection/components/ic-back-to-top/ic-back-to-top.e2e.js.map +1 -0
  94. package/dist/collection/components/ic-back-to-top/ic-back-to-top.spec.js +123 -0
  95. package/dist/collection/components/ic-back-to-top/ic-back-to-top.spec.js.map +1 -0
  96. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.spec.js +118 -0
  97. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.spec.js.map +1 -0
  98. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.e2e.js +41 -0
  99. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.e2e.js.map +1 -0
  100. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.spec.js +181 -0
  101. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.spec.js.map +1 -0
  102. package/dist/collection/components/ic-button/ic-button.e2e.js +173 -0
  103. package/dist/collection/components/ic-button/ic-button.e2e.js.map +1 -0
  104. package/dist/collection/components/ic-button/ic-button.js +3 -2
  105. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  106. package/dist/collection/components/ic-button/ic-button.spec.js +230 -0
  107. package/dist/collection/components/ic-button/ic-button.spec.js.map +1 -0
  108. package/dist/collection/components/ic-card/ic-card.css +3 -2
  109. package/dist/collection/components/ic-card/ic-card.e2e.js +23 -0
  110. package/dist/collection/components/ic-card/ic-card.e2e.js.map +1 -0
  111. package/dist/collection/components/ic-card/ic-card.js +2 -1
  112. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  113. package/dist/collection/components/ic-card/ic-card.spec.js +152 -0
  114. package/dist/collection/components/ic-card/ic-card.spec.js.map +1 -0
  115. package/dist/collection/components/ic-checkbox/ic-checkbox.js +2 -1
  116. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  117. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.e2e.js +201 -0
  118. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.e2e.js.map +1 -0
  119. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +4 -1
  120. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  121. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.spec.js +175 -0
  122. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.spec.js.map +1 -0
  123. package/dist/collection/components/ic-chip/ic-chip.js +4 -1
  124. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  125. package/dist/collection/components/ic-chip/ic-chip.spec.js +110 -0
  126. package/dist/collection/components/ic-chip/ic-chip.spec.js.map +1 -0
  127. package/dist/collection/components/ic-classification-banner/ic-classification-banner.spec.js +140 -0
  128. package/dist/collection/components/ic-classification-banner/ic-classification-banner.spec.js.map +1 -0
  129. package/dist/collection/components/ic-data-entity/ic-data-entity.spec.js +161 -0
  130. package/dist/collection/components/ic-data-entity/ic-data-entity.spec.js.map +1 -0
  131. package/dist/collection/components/ic-data-row/ic-data-row.spec.js +185 -0
  132. package/dist/collection/components/ic-data-row/ic-data-row.spec.js.map +1 -0
  133. package/dist/collection/components/ic-dialog/ic-dialog.css +595 -0
  134. package/dist/collection/components/ic-dialog/ic-dialog.e2e.js +204 -0
  135. package/dist/collection/components/ic-dialog/ic-dialog.e2e.js.map +1 -0
  136. package/dist/collection/components/ic-dialog/ic-dialog.js +641 -0
  137. package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -0
  138. package/dist/collection/components/ic-dialog/ic-dialog.spec.js +520 -0
  139. package/dist/collection/components/ic-dialog/ic-dialog.spec.js.map +1 -0
  140. package/dist/collection/components/ic-dialog/ic-dialog.test.a11y.js +28 -0
  141. package/dist/collection/components/ic-dialog/ic-dialog.test.a11y.js.map +1 -0
  142. package/dist/collection/components/ic-divider/ic-divider.spec.js +24 -0
  143. package/dist/collection/components/ic-divider/ic-divider.spec.js.map +1 -0
  144. package/dist/collection/components/ic-footer/ic-footer.e2e.js +50 -0
  145. package/dist/collection/components/ic-footer/ic-footer.e2e.js.map +1 -0
  146. package/dist/collection/components/ic-footer/ic-footer.js +1 -1
  147. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  148. package/dist/collection/components/ic-footer/ic-footer.spec.js +140 -0
  149. package/dist/collection/components/ic-footer/ic-footer.spec.js.map +1 -0
  150. package/dist/collection/components/ic-footer-link/ic-footer-link.spec.js +62 -0
  151. package/dist/collection/components/ic-footer-link/ic-footer-link.spec.js.map +1 -0
  152. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.spec.js +98 -0
  153. package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.spec.js.map +1 -0
  154. package/dist/collection/components/ic-hero/ic-hero.spec.js +76 -0
  155. package/dist/collection/components/ic-hero/ic-hero.spec.js.map +1 -0
  156. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.spec.js +180 -0
  157. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.spec.js.map +1 -0
  158. package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +32 -4
  159. package/dist/collection/components/ic-input-component-container/ic-input-component-container.spec.js +117 -0
  160. package/dist/collection/components/ic-input-component-container/ic-input-component-container.spec.js.map +1 -0
  161. package/dist/collection/components/ic-input-container/ic-input-container.spec.js +38 -0
  162. package/dist/collection/components/ic-input-container/ic-input-container.spec.js.map +1 -0
  163. package/dist/collection/components/ic-input-label/ic-input-label.spec.js +98 -0
  164. package/dist/collection/components/ic-input-label/ic-input-label.spec.js.map +1 -0
  165. package/dist/collection/components/ic-input-validation/ic-input-validation.css +0 -8
  166. package/dist/collection/components/ic-input-validation/ic-input-validation.spec.js +89 -0
  167. package/dist/collection/components/ic-input-validation/ic-input-validation.spec.js.map +1 -0
  168. package/dist/collection/components/ic-link/ic-link.spec.js +203 -0
  169. package/dist/collection/components/ic-link/ic-link.spec.js.map +1 -0
  170. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.e2e.js +34 -0
  171. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.e2e.js.map +1 -0
  172. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.spec.js +141 -0
  173. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.spec.js.map +1 -0
  174. package/dist/collection/components/ic-menu/ic-menu.css +9 -1
  175. package/dist/collection/components/ic-menu/ic-menu.js +85 -22
  176. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  177. package/dist/collection/components/ic-menu/ic-menu.spec.js +650 -0
  178. package/dist/collection/components/ic-menu/ic-menu.spec.js.map +1 -0
  179. package/dist/collection/components/ic-menu-group/ic-menu-group.spec.js +94 -0
  180. package/dist/collection/components/ic-menu-group/ic-menu-group.spec.js.map +1 -0
  181. package/dist/collection/components/ic-menu-item/ic-menu-item.css +2 -2
  182. package/dist/collection/components/ic-menu-item/ic-menu-item.js +2 -1
  183. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
  184. package/dist/collection/components/ic-menu-item/ic-menu-item.spec.js +105 -0
  185. package/dist/collection/components/ic-menu-item/ic-menu-item.spec.js.map +1 -0
  186. package/dist/collection/components/ic-navigation-button/ic-navigation-button.spec.js +84 -0
  187. package/dist/collection/components/ic-navigation-button/ic-navigation-button.spec.js.map +1 -0
  188. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +1 -1
  189. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +41 -15
  190. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  191. package/dist/collection/components/ic-navigation-group/ic-navigation-group.spec.js +309 -0
  192. package/dist/collection/components/ic-navigation-group/ic-navigation-group.spec.js.map +1 -0
  193. package/dist/collection/components/ic-navigation-item/ic-navigation-item.spec.js +118 -0
  194. package/dist/collection/components/ic-navigation-item/ic-navigation-item.spec.js.map +1 -0
  195. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.e2e.js +29 -0
  196. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.e2e.js.map +1 -0
  197. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.spec.js +176 -0
  198. package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.spec.js.map +1 -0
  199. package/dist/collection/components/ic-page-header/ic-page-header.css +1 -1
  200. package/dist/collection/components/ic-page-header/ic-page-header.e2e.js +177 -0
  201. package/dist/collection/components/ic-page-header/ic-page-header.e2e.js.map +1 -0
  202. package/dist/collection/components/ic-page-header/ic-page-header.spec.js +284 -0
  203. package/dist/collection/components/ic-page-header/ic-page-header.spec.js.map +1 -0
  204. package/dist/collection/components/ic-pagination/ic-pagination.e2e.js +128 -0
  205. package/dist/collection/components/ic-pagination/ic-pagination.e2e.js.map +1 -0
  206. package/dist/collection/components/ic-pagination/ic-pagination.js +3 -2
  207. package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
  208. package/dist/collection/components/ic-pagination/ic-pagination.spec.js +325 -0
  209. package/dist/collection/components/ic-pagination/ic-pagination.spec.js.map +1 -0
  210. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +5 -1
  211. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -1
  212. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +1 -1
  213. package/dist/collection/components/ic-popover-menu/ic-popover-menu.e2e.js +30 -0
  214. package/dist/collection/components/ic-popover-menu/ic-popover-menu.e2e.js.map +1 -0
  215. package/dist/collection/components/ic-popover-menu/ic-popover-menu.spec.js +381 -0
  216. package/dist/collection/components/ic-popover-menu/ic-popover-menu.spec.js.map +1 -0
  217. package/dist/collection/components/ic-radio-group/ic-radio-group.e2e.js +343 -0
  218. package/dist/collection/components/ic-radio-group/ic-radio-group.e2e.js.map +1 -0
  219. package/dist/collection/components/ic-radio-group/ic-radio-group.js +19 -8
  220. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  221. package/dist/collection/components/ic-radio-group/ic-radio-group.spec.js +303 -0
  222. package/dist/collection/components/ic-radio-group/ic-radio-group.spec.js.map +1 -0
  223. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js +2 -0
  224. package/dist/collection/components/ic-radio-group/ic-radio-group.types.js.map +1 -0
  225. package/dist/collection/components/ic-radio-option/ic-radio-option.css +1 -1
  226. package/dist/collection/components/ic-radio-option/ic-radio-option.js +5 -14
  227. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  228. package/dist/collection/components/ic-search-bar/ic-search-bar.e2e.js +1054 -0
  229. package/dist/collection/components/ic-search-bar/ic-search-bar.e2e.js.map +1 -0
  230. package/dist/collection/components/ic-search-bar/ic-search-bar.js +12 -9
  231. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  232. package/dist/collection/components/ic-search-bar/ic-search-bar.spec.js +570 -0
  233. package/dist/collection/components/ic-search-bar/ic-search-bar.spec.js.map +1 -0
  234. package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +1 -1
  235. package/dist/collection/components/ic-section-container/ic-section-container.spec.js +69 -0
  236. package/dist/collection/components/ic-section-container/ic-section-container.spec.js.map +1 -0
  237. package/dist/collection/components/ic-select/ic-select.e2e.js +1765 -0
  238. package/dist/collection/components/ic-select/ic-select.e2e.js.map +1 -0
  239. package/dist/collection/components/ic-select/ic-select.js +35 -33
  240. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  241. package/dist/collection/components/ic-select/ic-select.spec.js +1276 -0
  242. package/dist/collection/components/ic-select/ic-select.spec.js.map +1 -0
  243. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +0 -7
  244. package/dist/collection/components/ic-side-navigation/ic-side-navigation.e2e.js +412 -0
  245. package/dist/collection/components/ic-side-navigation/ic-side-navigation.e2e.js.map +1 -0
  246. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +48 -39
  247. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  248. package/dist/collection/components/ic-side-navigation/ic-side-navigation.spec.js +470 -0
  249. package/dist/collection/components/ic-side-navigation/ic-side-navigation.spec.js.map +1 -0
  250. package/dist/collection/components/ic-skeleton/ic-skeleton.spec.js +89 -0
  251. package/dist/collection/components/ic-skeleton/ic-skeleton.spec.js.map +1 -0
  252. package/dist/collection/components/ic-status-tag/ic-status-tag.css +2 -6
  253. package/dist/collection/components/ic-status-tag/ic-status-tag.spec.js +43 -0
  254. package/dist/collection/components/ic-status-tag/ic-status-tag.spec.js.map +1 -0
  255. package/dist/collection/components/ic-step/ic-step.spec.js +176 -0
  256. package/dist/collection/components/ic-step/ic-step.spec.js.map +1 -0
  257. package/dist/collection/components/ic-stepper/ic-stepper.e2e.js +49 -0
  258. package/dist/collection/components/ic-stepper/ic-stepper.e2e.js.map +1 -0
  259. package/dist/collection/components/ic-stepper/ic-stepper.spec.js +706 -0
  260. package/dist/collection/components/ic-stepper/ic-stepper.spec.js.map +1 -0
  261. package/dist/collection/components/ic-switch/ic-switch.css +1 -1
  262. package/dist/collection/components/ic-switch/ic-switch.js +2 -1
  263. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  264. package/dist/collection/components/ic-switch/ic-switch.spec.js +104 -0
  265. package/dist/collection/components/ic-switch/ic-switch.spec.js.map +1 -0
  266. package/dist/collection/components/ic-tab/ic-tab.e2e.js +32 -0
  267. package/dist/collection/components/ic-tab/ic-tab.e2e.js.map +1 -0
  268. package/dist/collection/components/ic-tab/ic-tab.js +4 -0
  269. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  270. package/dist/collection/components/ic-tab/ic-tab.spec.js +159 -0
  271. package/dist/collection/components/ic-tab/ic-tab.spec.js.map +1 -0
  272. package/dist/collection/components/ic-tab-context/ic-tab-context.e2e.js +317 -0
  273. package/dist/collection/components/ic-tab-context/ic-tab-context.e2e.js.map +1 -0
  274. package/dist/collection/components/ic-tab-context/ic-tab-context.spec.js +369 -0
  275. package/dist/collection/components/ic-tab-context/ic-tab-context.spec.js.map +1 -0
  276. package/dist/collection/components/ic-tab-group/ic-tab-group.css +2 -2
  277. package/dist/collection/components/ic-tab-panel/ic-tab-panel.spec.js +65 -0
  278. package/dist/collection/components/ic-tab-panel/ic-tab-panel.spec.js.map +1 -0
  279. package/dist/collection/components/ic-text-field/ic-text-field.css +0 -4
  280. package/dist/collection/components/ic-text-field/ic-text-field.e2e.js +98 -0
  281. package/dist/collection/components/ic-text-field/ic-text-field.e2e.js.map +1 -0
  282. package/dist/collection/components/ic-text-field/ic-text-field.input.spec.js +236 -0
  283. package/dist/collection/components/ic-text-field/ic-text-field.input.spec.js.map +1 -0
  284. package/dist/collection/components/ic-text-field/ic-text-field.js +11 -12
  285. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  286. package/dist/collection/components/ic-text-field/ic-text-field.textarea.spec.js +310 -0
  287. package/dist/collection/components/ic-text-field/ic-text-field.textarea.spec.js.map +1 -0
  288. package/dist/collection/components/ic-theme/ic-theme.e2e.js +72 -0
  289. package/dist/collection/components/ic-theme/ic-theme.e2e.js.map +1 -0
  290. package/dist/collection/components/ic-theme/ic-theme.spec.js +77 -0
  291. package/dist/collection/components/ic-theme/ic-theme.spec.js.map +1 -0
  292. package/dist/collection/components/ic-toast/ic-toast.e2e.js +82 -0
  293. package/dist/collection/components/ic-toast/ic-toast.e2e.js.map +1 -0
  294. package/dist/collection/components/ic-toast/ic-toast.spec.js +278 -0
  295. package/dist/collection/components/ic-toast/ic-toast.spec.js.map +1 -0
  296. package/dist/collection/components/ic-toast-region/ic-toast-region.spec.js +62 -0
  297. package/dist/collection/components/ic-toast-region/ic-toast-region.spec.js.map +1 -0
  298. package/dist/collection/components/ic-tooltip/ic-tooltip.css +22 -8
  299. package/dist/collection/components/ic-tooltip/ic-tooltip.e2e.js +115 -0
  300. package/dist/collection/components/ic-tooltip/ic-tooltip.e2e.js.map +1 -0
  301. package/dist/collection/components/ic-tooltip/ic-tooltip.js +26 -27
  302. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  303. package/dist/collection/components/ic-tooltip/ic-tooltip.spec.js +128 -0
  304. package/dist/collection/components/ic-tooltip/ic-tooltip.spec.js.map +1 -0
  305. package/dist/collection/components/ic-top-navigation/ic-top-navigation.e2e.js +42 -0
  306. package/dist/collection/components/ic-top-navigation/ic-top-navigation.e2e.js.map +1 -0
  307. package/dist/collection/components/ic-top-navigation/ic-top-navigation.mobile.e2e.js +242 -0
  308. package/dist/collection/components/ic-top-navigation/ic-top-navigation.mobile.e2e.js.map +1 -0
  309. package/dist/collection/components/ic-top-navigation/ic-top-navigation.spec.js +286 -0
  310. package/dist/collection/components/ic-top-navigation/ic-top-navigation.spec.js.map +1 -0
  311. package/dist/collection/components/ic-typography/ic-typography.e2e.js +36 -0
  312. package/dist/collection/components/ic-typography/ic-typography.e2e.js.map +1 -0
  313. package/dist/collection/components/ic-typography/ic-typography.spec.js +296 -0
  314. package/dist/collection/components/ic-typography/ic-typography.spec.js.map +1 -0
  315. package/dist/collection/testspec.setup.js +11 -0
  316. package/dist/collection/testspec.setup.js.map +1 -1
  317. package/dist/collection/utils/helpers.js +5 -0
  318. package/dist/collection/utils/helpers.js.map +1 -1
  319. package/dist/components/helpers.js +6 -1
  320. package/dist/components/helpers.js.map +1 -1
  321. package/dist/components/ic-alert.js +1 -113
  322. package/dist/components/ic-alert.js.map +1 -1
  323. package/dist/components/ic-alert2.js +117 -0
  324. package/dist/components/ic-alert2.js.map +1 -0
  325. package/dist/components/ic-back-to-top.js +2 -2
  326. package/dist/components/ic-breadcrumb-group.js +2 -2
  327. package/dist/components/ic-breadcrumb2.js +1 -1
  328. package/dist/components/ic-button2.js +4 -3
  329. package/dist/components/ic-button2.js.map +1 -1
  330. package/dist/components/ic-card.js +4 -3
  331. package/dist/components/ic-card.js.map +1 -1
  332. package/dist/components/ic-checkbox-group.js +5 -2
  333. package/dist/components/ic-checkbox-group.js.map +1 -1
  334. package/dist/components/ic-checkbox.js +3 -2
  335. package/dist/components/ic-checkbox.js.map +1 -1
  336. package/dist/components/ic-chip.js +5 -2
  337. package/dist/components/ic-chip.js.map +1 -1
  338. package/dist/components/ic-classification-banner.js +1 -1
  339. package/dist/components/ic-data-entity.js +1 -1
  340. package/dist/components/ic-data-row.js +2 -2
  341. package/dist/components/ic-dialog.d.ts +11 -0
  342. package/dist/components/ic-dialog.js +357 -0
  343. package/dist/components/ic-dialog.js.map +1 -0
  344. package/dist/components/ic-divider2.js +2 -2
  345. package/dist/components/ic-footer-link-group.js +2 -2
  346. package/dist/components/ic-footer-link.js +2 -2
  347. package/dist/components/ic-footer.js +3 -3
  348. package/dist/components/ic-footer.js.map +1 -1
  349. package/dist/components/ic-hero.js +2 -2
  350. package/dist/components/ic-horizontal-scroll2.js +2 -2
  351. package/dist/components/ic-input-component-container2.js +3 -3
  352. package/dist/components/ic-input-component-container2.js.map +1 -1
  353. package/dist/components/ic-input-container2.js +1 -1
  354. package/dist/components/ic-input-label2.js +2 -2
  355. package/dist/components/ic-input-validation2.js +3 -3
  356. package/dist/components/ic-input-validation2.js.map +1 -1
  357. package/dist/components/ic-link2.js +2 -2
  358. package/dist/components/ic-loading-indicator2.js +1 -1
  359. package/dist/components/ic-menu-group.js +1 -1
  360. package/dist/components/ic-menu-item2.js +4 -3
  361. package/dist/components/ic-menu-item2.js.map +1 -1
  362. package/dist/components/ic-menu2.js +65 -26
  363. package/dist/components/ic-menu2.js.map +1 -1
  364. package/dist/components/ic-navigation-button.js +2 -2
  365. package/dist/components/ic-navigation-group.js +44 -18
  366. package/dist/components/ic-navigation-group.js.map +1 -1
  367. package/dist/components/ic-navigation-item.js +2 -2
  368. package/dist/components/ic-navigation-menu2.js +2 -2
  369. package/dist/components/ic-page-header.js +3 -3
  370. package/dist/components/ic-page-header.js.map +1 -1
  371. package/dist/components/ic-pagination-item2.js +5 -1
  372. package/dist/components/ic-pagination-item2.js.map +1 -1
  373. package/dist/components/ic-pagination.js +3 -2
  374. package/dist/components/ic-pagination.js.map +1 -1
  375. package/dist/components/ic-popover-menu.js +3 -3
  376. package/dist/components/ic-popover-menu.js.map +1 -1
  377. package/dist/components/ic-radio-group.js +16 -5
  378. package/dist/components/ic-radio-group.js.map +1 -1
  379. package/dist/components/ic-radio-option.js +5 -11
  380. package/dist/components/ic-radio-option.js.map +1 -1
  381. package/dist/components/ic-search-bar.js +6 -3
  382. package/dist/components/ic-search-bar.js.map +1 -1
  383. package/dist/components/ic-section-container2.js +1 -1
  384. package/dist/components/ic-select.js +34 -32
  385. package/dist/components/ic-select.js.map +1 -1
  386. package/dist/components/ic-side-navigation.js +51 -42
  387. package/dist/components/ic-side-navigation.js.map +1 -1
  388. package/dist/components/ic-skeleton.js +1 -1
  389. package/dist/components/ic-status-tag.js +3 -3
  390. package/dist/components/ic-status-tag.js.map +1 -1
  391. package/dist/components/ic-step.js +1 -1
  392. package/dist/components/ic-stepper.js +2 -2
  393. package/dist/components/ic-switch.js +4 -3
  394. package/dist/components/ic-switch.js.map +1 -1
  395. package/dist/components/ic-tab-context.js +1 -1
  396. package/dist/components/ic-tab-group.js +3 -3
  397. package/dist/components/ic-tab-group.js.map +1 -1
  398. package/dist/components/ic-tab-panel.js +1 -1
  399. package/dist/components/ic-tab.js +5 -1
  400. package/dist/components/ic-tab.js.map +1 -1
  401. package/dist/components/ic-text-field2.js +4 -5
  402. package/dist/components/ic-text-field2.js.map +1 -1
  403. package/dist/components/ic-theme.js +2 -2
  404. package/dist/components/ic-toast-region.js +1 -1
  405. package/dist/components/ic-toast.js +2 -2
  406. package/dist/components/ic-tooltip2.js +29 -30
  407. package/dist/components/ic-tooltip2.js.map +1 -1
  408. package/dist/components/ic-top-navigation.js +2 -2
  409. package/dist/components/ic-typography2.js +1 -1
  410. package/dist/components/index.d.ts +9 -60
  411. package/dist/components/index.js +1 -58
  412. package/dist/components/index.js.map +1 -1
  413. package/dist/core/core.css +41 -2
  414. package/dist/core/core.esm.js +1 -1
  415. package/dist/core/core.esm.js.map +1 -1
  416. package/dist/core/index.esm.js.map +1 -1
  417. package/dist/core/{p-de45134c.entry.js → p-04d626ee.entry.js} +2 -2
  418. package/dist/core/p-04d626ee.entry.js.map +1 -0
  419. package/dist/core/p-06321d19.js.map +1 -1
  420. package/dist/core/{p-050dbce8.entry.js → p-0d325b4c.entry.js} +2 -2
  421. package/dist/core/p-0d325b4c.entry.js.map +1 -0
  422. package/dist/core/{p-46371c05.entry.js → p-249af8ab.entry.js} +2 -2
  423. package/dist/core/p-249af8ab.entry.js.map +1 -0
  424. package/dist/core/{p-36e0671f.entry.js → p-29d9fea1.entry.js} +2 -2
  425. package/dist/core/p-29d9fea1.entry.js.map +1 -0
  426. package/dist/core/p-2e051e1e.entry.js +2 -0
  427. package/dist/core/p-2e051e1e.entry.js.map +1 -0
  428. package/dist/core/{p-bffa2e1a.entry.js → p-2ec49a7e.entry.js} +2 -2
  429. package/dist/core/p-2ec49a7e.entry.js.map +1 -0
  430. package/dist/core/{p-223a214f.entry.js → p-3114a4b3.entry.js} +2 -2
  431. package/dist/core/p-3114a4b3.entry.js.map +1 -0
  432. package/dist/core/{p-50421f27.entry.js → p-311c38b3.entry.js} +2 -2
  433. package/dist/core/p-311c38b3.entry.js.map +1 -0
  434. package/dist/core/p-31ccdd50.entry.js +2 -0
  435. package/dist/core/p-31ccdd50.entry.js.map +1 -0
  436. package/dist/core/p-31e80ccb.entry.js +2 -0
  437. package/dist/core/p-31e80ccb.entry.js.map +1 -0
  438. package/dist/core/p-323bce82.entry.js +2 -0
  439. package/dist/core/p-323bce82.entry.js.map +1 -0
  440. package/dist/core/{p-a9184841.entry.js → p-3918c27a.entry.js} +2 -2
  441. package/dist/core/p-3918c27a.entry.js.map +1 -0
  442. package/dist/core/p-3ce0aa02.entry.js +2 -0
  443. package/dist/core/p-3ce0aa02.entry.js.map +1 -0
  444. package/dist/core/p-44512ebe.js.map +1 -1
  445. package/dist/core/{p-471820e6.js → p-4a385752.js} +2 -2
  446. package/dist/core/p-4a385752.js.map +1 -0
  447. package/dist/core/{p-312c10b0.entry.js → p-4c4fa082.entry.js} +2 -2
  448. package/dist/core/p-4c4fa082.entry.js.map +1 -0
  449. package/dist/core/{p-fc7dce3d.entry.js → p-4f7b34ed.entry.js} +2 -2
  450. package/dist/core/p-4f7b34ed.entry.js.map +1 -0
  451. package/dist/core/{p-c85476c0.entry.js → p-524557bc.entry.js} +2 -2
  452. package/dist/core/p-524557bc.entry.js.map +1 -0
  453. package/dist/core/p-551986d1.entry.js +2 -0
  454. package/dist/core/p-551986d1.entry.js.map +1 -0
  455. package/dist/core/p-57460fa3.entry.js +2 -0
  456. package/dist/core/p-57460fa3.entry.js.map +1 -0
  457. package/dist/core/p-5fcd965f.entry.js +2 -0
  458. package/dist/core/p-5fcd965f.entry.js.map +1 -0
  459. package/dist/core/{p-68547339.entry.js → p-617950f8.entry.js} +2 -2
  460. package/dist/core/p-617950f8.entry.js.map +1 -0
  461. package/dist/core/{p-af815dfb.entry.js → p-68308ecd.entry.js} +2 -2
  462. package/dist/core/p-68308ecd.entry.js.map +1 -0
  463. package/dist/core/p-6c76c6ba.entry.js +2 -0
  464. package/dist/core/p-6c76c6ba.entry.js.map +1 -0
  465. package/dist/core/p-6f57b13c.js.map +1 -1
  466. package/dist/core/p-79914e0c.entry.js +2 -0
  467. package/dist/core/p-79914e0c.entry.js.map +1 -0
  468. package/dist/core/{p-e6217f40.entry.js → p-820e4c17.entry.js} +2 -2
  469. package/dist/core/p-820e4c17.entry.js.map +1 -0
  470. package/dist/core/{p-1585e5c1.entry.js → p-84c8c4c7.entry.js} +2 -2
  471. package/dist/core/p-84c8c4c7.entry.js.map +1 -0
  472. package/dist/core/{p-29ea6f88.entry.js → p-8911656b.entry.js} +2 -2
  473. package/dist/core/p-8911656b.entry.js.map +1 -0
  474. package/dist/core/p-8c7f4343.js.map +1 -1
  475. package/dist/core/p-8d4f7027.js.map +1 -1
  476. package/dist/core/p-97286148.entry.js +2 -0
  477. package/dist/core/p-97286148.entry.js.map +1 -0
  478. package/dist/core/{p-454b1ecd.entry.js → p-97fd0cc1.entry.js} +2 -2
  479. package/dist/core/p-97fd0cc1.entry.js.map +1 -0
  480. package/dist/core/p-a74b8476.entry.js +2 -0
  481. package/dist/core/p-a74b8476.entry.js.map +1 -0
  482. package/dist/core/{p-4dd0eb6a.entry.js → p-a9de9aba.entry.js} +2 -2
  483. package/dist/core/p-a9de9aba.entry.js.map +1 -0
  484. package/dist/core/p-ad6c4c02.entry.js +2 -0
  485. package/dist/core/p-ad6c4c02.entry.js.map +1 -0
  486. package/dist/core/{p-ca20c9c3.entry.js → p-aeef3c9d.entry.js} +2 -2
  487. package/dist/core/p-aeef3c9d.entry.js.map +1 -0
  488. package/dist/core/p-b03bd9c6.entry.js +2 -0
  489. package/dist/core/p-b03bd9c6.entry.js.map +1 -0
  490. package/dist/core/p-b0685167.entry.js +2 -0
  491. package/dist/core/p-b0685167.entry.js.map +1 -0
  492. package/dist/core/p-b35a9909.entry.js +2 -0
  493. package/dist/core/p-b35a9909.entry.js.map +1 -0
  494. package/dist/core/p-bad10f6c.entry.js +2 -0
  495. package/dist/core/p-bad10f6c.entry.js.map +1 -0
  496. package/dist/core/{p-a18c0672.entry.js → p-bda4414e.entry.js} +2 -2
  497. package/dist/core/p-bda4414e.entry.js.map +1 -0
  498. package/dist/core/p-c0333310.entry.js +2 -0
  499. package/dist/core/p-c0333310.entry.js.map +1 -0
  500. package/dist/core/{p-2e63f202.entry.js → p-c3f9fb1d.entry.js} +2 -2
  501. package/dist/core/p-c3f9fb1d.entry.js.map +1 -0
  502. package/dist/core/{p-fb5861c6.entry.js → p-ca6820dc.entry.js} +2 -2
  503. package/dist/core/p-ca6820dc.entry.js.map +1 -0
  504. package/dist/core/p-d6694b41.entry.js +2 -0
  505. package/dist/core/p-d6694b41.entry.js.map +1 -0
  506. package/dist/core/{p-70124e59.entry.js → p-da4c1409.entry.js} +2 -2
  507. package/dist/core/p-da4c1409.entry.js.map +1 -0
  508. package/dist/core/p-dbe06c3b.entry.js +2 -0
  509. package/dist/core/p-dbe06c3b.entry.js.map +1 -0
  510. package/dist/core/{p-28bc3bf0.entry.js → p-df67b151.entry.js} +2 -2
  511. package/dist/core/p-df67b151.entry.js.map +1 -0
  512. package/dist/core/{p-df1b0f17.entry.js → p-dfd31e28.entry.js} +2 -2
  513. package/dist/core/p-dfd31e28.entry.js.map +1 -0
  514. package/dist/core/{p-5e896163.entry.js → p-e3e6308b.entry.js} +2 -2
  515. package/dist/core/p-e3e6308b.entry.js.map +1 -0
  516. package/dist/core/{p-b7cf6411.entry.js → p-ea233813.entry.js} +2 -2
  517. package/dist/core/p-ea233813.entry.js.map +1 -0
  518. package/dist/core/p-ec26fc38.js.map +1 -1
  519. package/dist/core/{p-d2d5132d.entry.js → p-ecdcae46.entry.js} +2 -2
  520. package/dist/core/p-ecdcae46.entry.js.map +1 -0
  521. package/dist/core/{p-443052a7.entry.js → p-ef91c17e.entry.js} +2 -2
  522. package/dist/core/p-ef91c17e.entry.js.map +1 -0
  523. package/dist/core/{p-cee45622.entry.js → p-f0714432.entry.js} +2 -2
  524. package/dist/core/p-f0714432.entry.js.map +1 -0
  525. package/dist/core/p-f3053872.js +3 -0
  526. package/dist/core/p-f3053872.js.map +1 -0
  527. package/dist/core/{p-a8dc8196.entry.js → p-f381e93f.entry.js} +2 -2
  528. package/dist/core/p-f381e93f.entry.js.map +1 -0
  529. package/dist/core/p-fd482bd7.entry.js +2 -0
  530. package/dist/core/p-fd482bd7.entry.js.map +1 -0
  531. package/dist/core/p-fe2c4009.entry.js +2 -0
  532. package/dist/core/p-fe2c4009.entry.js.map +1 -0
  533. package/dist/esm/core.js +7 -3
  534. package/dist/esm/core.js.map +1 -1
  535. package/dist/esm/{helpers-73666f14.js → helpers-8e57082b.js} +7 -2
  536. package/dist/esm/helpers-8e57082b.js.map +1 -0
  537. package/dist/esm/ic-alert.entry.js +2 -2
  538. package/dist/esm/ic-back-to-top.entry.js +2 -2
  539. package/dist/esm/ic-breadcrumb-group.entry.js +2 -2
  540. package/dist/esm/ic-breadcrumb.entry.js +2 -2
  541. package/dist/esm/ic-button_3.entry.js +31 -31
  542. package/dist/esm/ic-button_3.entry.js.map +1 -1
  543. package/dist/esm/ic-card.entry.js +4 -3
  544. package/dist/esm/ic-card.entry.js.map +1 -1
  545. package/dist/esm/ic-checkbox-group.entry.js +5 -2
  546. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  547. package/dist/esm/ic-checkbox.entry.js +3 -2
  548. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  549. package/dist/esm/ic-chip.entry.js +5 -2
  550. package/dist/esm/ic-chip.entry.js.map +1 -1
  551. package/dist/esm/ic-classification-banner.entry.js +1 -1
  552. package/dist/esm/ic-data-entity.entry.js +1 -1
  553. package/dist/esm/ic-data-row.entry.js +2 -2
  554. package/dist/esm/ic-dialog.entry.js +292 -0
  555. package/dist/esm/ic-dialog.entry.js.map +1 -0
  556. package/dist/esm/ic-divider.entry.js +2 -2
  557. package/dist/esm/ic-footer-link-group.entry.js +2 -2
  558. package/dist/esm/ic-footer-link.entry.js +2 -2
  559. package/dist/esm/ic-footer.entry.js +3 -3
  560. package/dist/esm/ic-footer.entry.js.map +1 -1
  561. package/dist/esm/ic-hero.entry.js +2 -2
  562. package/dist/esm/ic-horizontal-scroll.entry.js +2 -2
  563. package/dist/esm/ic-input-component-container_3.entry.js +65 -26
  564. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  565. package/dist/esm/ic-input-label_2.entry.js +3 -3
  566. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  567. package/dist/esm/ic-link.entry.js +2 -2
  568. package/dist/esm/ic-menu-group.entry.js +1 -1
  569. package/dist/esm/ic-menu-item.entry.js +4 -3
  570. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  571. package/dist/esm/ic-navigation-button.entry.js +2 -2
  572. package/dist/esm/ic-navigation-group.entry.js +44 -18
  573. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  574. package/dist/esm/ic-navigation-item.entry.js +2 -2
  575. package/dist/esm/ic-navigation-menu.entry.js +2 -2
  576. package/dist/esm/ic-page-header.entry.js +3 -3
  577. package/dist/esm/ic-page-header.entry.js.map +1 -1
  578. package/dist/esm/ic-pagination-item.entry.js +6 -1
  579. package/dist/esm/ic-pagination-item.entry.js.map +1 -1
  580. package/dist/esm/ic-pagination.entry.js +3 -2
  581. package/dist/esm/ic-pagination.entry.js.map +1 -1
  582. package/dist/esm/ic-popover-menu.entry.js +3 -3
  583. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  584. package/dist/esm/ic-radio-group.entry.js +16 -5
  585. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  586. package/dist/esm/ic-radio-option.entry.js +5 -11
  587. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  588. package/dist/esm/ic-search-bar.entry.js +6 -3
  589. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  590. package/dist/esm/ic-section-container.entry.js +1 -1
  591. package/dist/esm/ic-select.entry.js +34 -32
  592. package/dist/esm/ic-select.entry.js.map +1 -1
  593. package/dist/esm/ic-side-navigation.entry.js +51 -42
  594. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  595. package/dist/esm/ic-skeleton.entry.js +1 -1
  596. package/dist/esm/ic-status-tag.entry.js +3 -3
  597. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  598. package/dist/esm/ic-step.entry.js +1 -1
  599. package/dist/esm/ic-stepper.entry.js +2 -2
  600. package/dist/esm/ic-switch.entry.js +4 -3
  601. package/dist/esm/ic-switch.entry.js.map +1 -1
  602. package/dist/esm/ic-tab-context.entry.js +1 -1
  603. package/dist/esm/ic-tab-group.entry.js +3 -3
  604. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  605. package/dist/esm/ic-tab-panel.entry.js +1 -1
  606. package/dist/esm/ic-tab.entry.js +5 -1
  607. package/dist/esm/ic-tab.entry.js.map +1 -1
  608. package/dist/esm/ic-text-field.entry.js +4 -5
  609. package/dist/esm/ic-text-field.entry.js.map +1 -1
  610. package/dist/esm/ic-theme.entry.js +2 -2
  611. package/dist/esm/ic-toast-region.entry.js +1 -1
  612. package/dist/esm/ic-toast.entry.js +2 -2
  613. package/dist/esm/ic-top-navigation.entry.js +2 -2
  614. package/dist/esm/ic-typography.entry.js +2 -2
  615. package/dist/esm/{index-3b144b17.js → index-a77644e1.js} +222 -44
  616. package/dist/esm/index-a77644e1.js.map +1 -0
  617. package/dist/esm/loader.js +4 -3
  618. package/dist/esm/loader.js.map +1 -1
  619. package/dist/esm/polyfills/css-shim.js +1 -1
  620. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +1 -1
  621. package/dist/types/components/ic-button/ic-button.types.d.ts +4 -4
  622. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +1 -0
  623. package/dist/types/components/ic-chip/ic-chip.d.ts +1 -0
  624. package/dist/types/components/ic-chip/ic-chip.types.d.ts +2 -2
  625. package/dist/types/components/ic-classification-banner/ic-classification-banner.types.d.ts +1 -1
  626. package/dist/types/components/ic-dialog/ic-dialog.d.ts +123 -0
  627. package/dist/types/components/ic-dialog/ic-dialog.test.a11y.d.ts +1 -0
  628. package/dist/types/components/ic-footer/ic-footer.types.d.ts +1 -1
  629. package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +1 -1
  630. package/dist/types/components/ic-hero/ic-hero.types.d.ts +1 -1
  631. package/dist/types/components/ic-input-validation/ic-input-validation.types.d.ts +1 -1
  632. package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +2 -2
  633. package/dist/types/components/ic-menu/ic-menu.d.ts +6 -0
  634. package/dist/types/components/ic-menu-item/ic-menu-item.types.d.ts +1 -1
  635. package/dist/types/components/ic-navigation-button/ic-navigation-button.types.d.ts +1 -1
  636. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +3 -1
  637. package/dist/types/components/ic-pagination/ic-pagination.d.ts +1 -1
  638. package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +1 -1
  639. package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +2 -1
  640. package/dist/types/components/ic-pagination-item/ic-pagination-item.types.d.ts +1 -1
  641. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +4 -3
  642. package/dist/types/components/ic-radio-group/ic-radio-group.types.d.ts +7 -0
  643. package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +1 -3
  644. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +1 -1
  645. package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +1 -1
  646. package/dist/types/components/ic-select/ic-select.d.ts +3 -3
  647. package/dist/types/components/ic-skeleton/ic-skeleton.types.d.ts +1 -1
  648. package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +2 -2
  649. package/dist/types/components/ic-step/ic-step.types.d.ts +3 -3
  650. package/dist/types/components/ic-stepper/ic-stepper.types.d.ts +1 -1
  651. package/dist/types/components/ic-tab/ic-tab.d.ts +1 -0
  652. package/dist/types/components/ic-text-field/ic-text-field.d.ts +1 -1
  653. package/dist/types/components/ic-text-field/ic-text-field.types.d.ts +3 -3
  654. package/dist/types/components/ic-toast/ic-toast.types.d.ts +1 -1
  655. package/dist/types/components/ic-tooltip/ic-tooltip.types.d.ts +1 -1
  656. package/dist/types/components.d.ts +187 -27
  657. package/dist/types/stencil-public-runtime.d.ts +72 -15
  658. package/dist/types/testspec.setup.d.ts +9 -0
  659. package/dist/types/utils/helpers.d.ts +1 -0
  660. package/dist/types/utils/types.d.ts +22 -22
  661. package/hydrate/index.d.ts +17 -16
  662. package/hydrate/index.js +699 -262
  663. package/loader/index.d.ts +9 -0
  664. package/package.json +5 -5
  665. package/dist/cjs/helpers-d6b5880e.js.map +0 -1
  666. package/dist/cjs/index-a62312a7.js.map +0 -1
  667. package/dist/core/p-050dbce8.entry.js.map +0 -1
  668. package/dist/core/p-06962e10.entry.js +0 -2
  669. package/dist/core/p-06962e10.entry.js.map +0 -1
  670. package/dist/core/p-0969a95a.entry.js +0 -2
  671. package/dist/core/p-0969a95a.entry.js.map +0 -1
  672. package/dist/core/p-0a11ec35.entry.js +0 -2
  673. package/dist/core/p-0a11ec35.entry.js.map +0 -1
  674. package/dist/core/p-0f153569.entry.js +0 -2
  675. package/dist/core/p-0f153569.entry.js.map +0 -1
  676. package/dist/core/p-1585e5c1.entry.js.map +0 -1
  677. package/dist/core/p-223a214f.entry.js.map +0 -1
  678. package/dist/core/p-28bc3bf0.entry.js.map +0 -1
  679. package/dist/core/p-29ea6f88.entry.js.map +0 -1
  680. package/dist/core/p-2e63f202.entry.js.map +0 -1
  681. package/dist/core/p-2e6ea6d3.entry.js +0 -2
  682. package/dist/core/p-2e6ea6d3.entry.js.map +0 -1
  683. package/dist/core/p-2fb97a1b.entry.js +0 -2
  684. package/dist/core/p-2fb97a1b.entry.js.map +0 -1
  685. package/dist/core/p-312c10b0.entry.js.map +0 -1
  686. package/dist/core/p-31b4b684.entry.js +0 -2
  687. package/dist/core/p-31b4b684.entry.js.map +0 -1
  688. package/dist/core/p-32cc8827.entry.js +0 -2
  689. package/dist/core/p-32cc8827.entry.js.map +0 -1
  690. package/dist/core/p-3498db0b.entry.js +0 -2
  691. package/dist/core/p-3498db0b.entry.js.map +0 -1
  692. package/dist/core/p-36e0671f.entry.js.map +0 -1
  693. package/dist/core/p-443052a7.entry.js.map +0 -1
  694. package/dist/core/p-454b1ecd.entry.js.map +0 -1
  695. package/dist/core/p-46371c05.entry.js.map +0 -1
  696. package/dist/core/p-471820e6.js.map +0 -1
  697. package/dist/core/p-4dd0eb6a.entry.js.map +0 -1
  698. package/dist/core/p-50421f27.entry.js.map +0 -1
  699. package/dist/core/p-559b3d17.entry.js +0 -2
  700. package/dist/core/p-559b3d17.entry.js.map +0 -1
  701. package/dist/core/p-589f6dd3.js +0 -3
  702. package/dist/core/p-589f6dd3.js.map +0 -1
  703. package/dist/core/p-5a3f3f37.entry.js +0 -2
  704. package/dist/core/p-5a3f3f37.entry.js.map +0 -1
  705. package/dist/core/p-5e896163.entry.js.map +0 -1
  706. package/dist/core/p-68547339.entry.js.map +0 -1
  707. package/dist/core/p-6f2be5bd.entry.js +0 -2
  708. package/dist/core/p-6f2be5bd.entry.js.map +0 -1
  709. package/dist/core/p-70124e59.entry.js.map +0 -1
  710. package/dist/core/p-80164baa.entry.js +0 -2
  711. package/dist/core/p-80164baa.entry.js.map +0 -1
  712. package/dist/core/p-80eff050.entry.js +0 -2
  713. package/dist/core/p-80eff050.entry.js.map +0 -1
  714. package/dist/core/p-8edd3a9b.entry.js +0 -2
  715. package/dist/core/p-8edd3a9b.entry.js.map +0 -1
  716. package/dist/core/p-9715ec62.entry.js +0 -2
  717. package/dist/core/p-9715ec62.entry.js.map +0 -1
  718. package/dist/core/p-983cb33c.entry.js +0 -2
  719. package/dist/core/p-983cb33c.entry.js.map +0 -1
  720. package/dist/core/p-a18c0672.entry.js.map +0 -1
  721. package/dist/core/p-a8dc8196.entry.js.map +0 -1
  722. package/dist/core/p-a9184841.entry.js.map +0 -1
  723. package/dist/core/p-af815dfb.entry.js.map +0 -1
  724. package/dist/core/p-b69226d2.entry.js +0 -2
  725. package/dist/core/p-b69226d2.entry.js.map +0 -1
  726. package/dist/core/p-b7cf6411.entry.js.map +0 -1
  727. package/dist/core/p-bffa2e1a.entry.js.map +0 -1
  728. package/dist/core/p-c85476c0.entry.js.map +0 -1
  729. package/dist/core/p-ca20c9c3.entry.js.map +0 -1
  730. package/dist/core/p-cee45622.entry.js.map +0 -1
  731. package/dist/core/p-d2d5132d.entry.js.map +0 -1
  732. package/dist/core/p-de45134c.entry.js.map +0 -1
  733. package/dist/core/p-df1b0f17.entry.js.map +0 -1
  734. package/dist/core/p-e16e817e.entry.js +0 -2
  735. package/dist/core/p-e16e817e.entry.js.map +0 -1
  736. package/dist/core/p-e6217f40.entry.js.map +0 -1
  737. package/dist/core/p-faeedfd1.entry.js +0 -2
  738. package/dist/core/p-faeedfd1.entry.js.map +0 -1
  739. package/dist/core/p-fb5861c6.entry.js.map +0 -1
  740. package/dist/core/p-fc7dce3d.entry.js.map +0 -1
  741. package/dist/core/p-fd18d7a3.entry.js +0 -2
  742. package/dist/core/p-fd18d7a3.entry.js.map +0 -1
  743. package/dist/esm/helpers-73666f14.js.map +0 -1
  744. package/dist/esm/index-3b144b17.js.map +0 -1
@@ -75,11 +75,30 @@ const EMPTY_OBJ = {};
75
75
  const SVG_NS = 'http://www.w3.org/2000/svg';
76
76
  const HTML_NS = 'http://www.w3.org/1999/xhtml';
77
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
+ */
78
85
  const isComplexType = (o) => {
79
86
  // https://jsperf.com/typeof-fn-object/5
80
87
  o = typeof o;
81
88
  return o === 'object' || o === 'function';
82
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
+ }
83
102
  /**
84
103
  * Production h() function based on Preact by
85
104
  * Jason Miller (@developit)
@@ -88,7 +107,6 @@ const isComplexType = (o) => {
88
107
  *
89
108
  * Modified for Stencil's compiler and vdom
90
109
  */
91
- // const stack: any[] = [];
92
110
  // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
93
111
  // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
94
112
  const h = (nodeName, vnodeData, ...children) => {
@@ -158,6 +176,14 @@ const h = (nodeName, vnodeData, ...children) => {
158
176
  }
159
177
  return vnode;
160
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
+ */
161
187
  const newVNode = (tag, text) => {
162
188
  const vnode = {
163
189
  $flags$: 0,
@@ -178,11 +204,31 @@ const newVNode = (tag, text) => {
178
204
  return vnode;
179
205
  };
180
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
+ */
181
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
+ */
182
221
  const vdomFnUtils = {
183
222
  forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
184
223
  map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),
185
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
+ */
186
232
  const convertToPublic = (node) => ({
187
233
  vattrs: node.$attrs$,
188
234
  vchildren: node.$children$,
@@ -191,6 +237,15 @@ const convertToPublic = (node) => ({
191
237
  vtag: node.$tag$,
192
238
  vtext: node.$text$,
193
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
+ */
194
249
  const convertToPrivate = (node) => {
195
250
  if (typeof node.vtag === 'function') {
196
251
  const vnodeData = Object.assign({}, node.vattrs);
@@ -505,6 +560,7 @@ const registerStyle = (scopeId, cssText, allowCS) => {
505
560
  styles.set(scopeId, style);
506
561
  };
507
562
  const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
563
+ var _a;
508
564
  let scopeId = getScopeId(cmpMeta);
509
565
  const style = styles.get(scopeId);
510
566
  // if an element is NOT connected then getRootNode() will return the wrong root node
@@ -525,10 +581,16 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
525
581
  styleElm.innerHTML = style;
526
582
  }
527
583
  else {
584
+ // TODO(STENCIL-659): Remove code implementing the CSS variable shim
528
585
  {
529
586
  styleElm = doc.createElement('style');
530
587
  styleElm.innerHTML = style;
531
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
+ }
532
594
  styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
533
595
  }
534
596
  if (appliedStyles) {
@@ -548,6 +610,7 @@ const attachStyles = (hostRef) => {
548
610
  const flags = cmpMeta.$flags$;
549
611
  const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
550
612
  const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
613
+ // TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
551
614
  if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
552
615
  // only required when we're NOT using native shadow dom (slot)
553
616
  // or this browser doesn't support native shadow dom
@@ -866,6 +929,21 @@ const putBackInOriginalLocation = (parentElm, recursive) => {
866
929
  }
867
930
  plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
868
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
+ */
869
947
  const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
870
948
  let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
871
949
  let childNode;
@@ -882,27 +960,41 @@ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) =>
882
960
  }
883
961
  }
884
962
  };
885
- const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
886
- for (; startIdx <= endIdx; ++startIdx) {
887
- if ((vnode = vnodes[startIdx])) {
888
- elm = vnode.$elm$;
889
- callNodeRefs(vnode);
890
- {
891
- // we're removing this element
892
- // so it's possible we need to show slot fallback content now
893
- checkSlotFallbackVisibility = true;
894
- if (elm['s-ol']) {
895
- // remove the original location comment
896
- elm['s-ol'].remove();
897
- }
898
- else {
899
- // it's possible that child nodes of the node
900
- // that's being removed are slot nodes
901
- putBackInOriginalLocation(elm, true);
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
+ }
902
994
  }
995
+ // remove the vnode's element from the dom
996
+ elm.remove();
903
997
  }
904
- // remove the vnode's element from the dom
905
- elm.remove();
906
998
  }
907
999
  }
908
1000
  };
@@ -1160,7 +1252,8 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
1160
1252
  *
1161
1253
  * So, in other words, if `key` attrs are not set on VNodes which may be
1162
1254
  * changing order within a `children` array or something along those lines then
1163
- * we could obtain a false positive and then have to do needless re-rendering.
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).
1164
1257
  *
1165
1258
  * @param leftVNode the first VNode to check
1166
1259
  * @param rightVNode the second VNode to check
@@ -1382,12 +1475,31 @@ const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
1382
1475
  }
1383
1476
  return slotNameAttr === '';
1384
1477
  };
1385
- const callNodeRefs = (vNode) => {
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) => {
1386
1486
  {
1387
1487
  vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
1388
- vNode.$children$ && vNode.$children$.map(callNodeRefs);
1488
+ vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
1389
1489
  }
1390
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
+ */
1391
1503
  const renderVdom = (hostRef, renderFnResults) => {
1392
1504
  const hostElm = hostRef.$hostElement$;
1393
1505
  const cmpMeta = hostRef.$cmpMeta$;
@@ -1510,35 +1622,84 @@ const scheduleUpdate = (hostRef, isInitialLoad) => {
1510
1622
  const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1511
1623
  return writeTask(dispatch) ;
1512
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
+ */
1513
1635
  const dispatchHooks = (hostRef, isInitialLoad) => {
1514
1636
  const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
1515
1637
  const instance = hostRef.$lazyInstance$ ;
1516
- let promise;
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;
1517
1651
  if (isInitialLoad) {
1518
1652
  {
1519
1653
  hostRef.$flags$ |= 256 /* HOST_FLAGS.isListenReady */;
1520
1654
  if (hostRef.$queuedListeners$) {
1521
1655
  hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
1522
- hostRef.$queuedListeners$ = null;
1656
+ hostRef.$queuedListeners$ = undefined;
1523
1657
  }
1524
1658
  }
1525
1659
  {
1526
- promise = safeCall(instance, 'componentWillLoad');
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');
1527
1666
  }
1528
1667
  }
1529
1668
  else {
1530
1669
  {
1531
- promise = safeCall(instance, 'componentWillUpdate');
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');
1532
1676
  }
1533
1677
  }
1534
1678
  {
1535
- promise = then(promise, () => safeCall(instance, 'componentWillRender'));
1679
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, 'componentWillRender'));
1536
1680
  }
1537
1681
  endSchedule();
1538
- return then(promise, () => updateComponent(hostRef, instance, isInitialLoad));
1682
+ return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1539
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) => maybePromise instanceof Promise ? maybePromise.then(fn) : fn();
1540
1701
  const updateComponent = async (hostRef, instance, isInitialLoad) => {
1541
- // updateComponent
1702
+ var _a;
1542
1703
  const elm = hostRef.$hostElement$;
1543
1704
  const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
1544
1705
  const rc = elm['s-rc'];
@@ -1560,7 +1721,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
1560
1721
  endRender();
1561
1722
  endUpdate();
1562
1723
  {
1563
- const childrenPromises = elm['s-p'];
1724
+ const childrenPromises = (_a = elm['s-p']) !== null && _a !== void 0 ? _a : [];
1564
1725
  const postUpdate = () => postUpdateComponent(hostRef);
1565
1726
  if (childrenPromises.length === 0) {
1566
1727
  postUpdate();
@@ -1667,9 +1828,6 @@ const safeCall = (instance, method, arg) => {
1667
1828
  }
1668
1829
  return undefined;
1669
1830
  };
1670
- const then = (promise, thenFn) => {
1671
- return promise && promise.then ? promise.then(thenFn) : thenFn();
1672
- };
1673
1831
  const addHydratedFlag = (elm) => elm.classList.add('hydrated')
1674
1832
  ;
1675
1833
  const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
@@ -1833,9 +1991,9 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1833
1991
  const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1834
1992
  // initializeComponent
1835
1993
  if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1994
+ // Let the runtime know that the component has been initialized
1995
+ hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
1836
1996
  {
1837
- // we haven't initialized this element yet
1838
- hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
1839
1997
  // lazy loaded components
1840
1998
  // request the component's implementation to be
1841
1999
  // wired up with the host element
@@ -1938,7 +2096,8 @@ const connectedCallback = (elm) => {
1938
2096
  // if the slot polyfill is required we'll need to put some nodes
1939
2097
  // in here to act as original content anchors as we move nodes around
1940
2098
  // host element has been connected to the DOM
1941
- if ((cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
2099
+ if ((// TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
2100
+ cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
1942
2101
  setContentReference(elm);
1943
2102
  }
1944
2103
  }
@@ -2013,6 +2172,7 @@ const disconnectedCallback = (elm) => {
2013
2172
  }
2014
2173
  };
2015
2174
  const bootstrapLazy = (lazyBundles, options = {}) => {
2175
+ var _a;
2016
2176
  const endBootstrap = createTime();
2017
2177
  const cmpTags = [];
2018
2178
  const exclude = options.exclude || [];
@@ -2110,6 +2270,11 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
2110
2270
  {
2111
2271
  visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
2112
2272
  visibilityStyle.setAttribute('data-styles', '');
2273
+ // Apply CSP nonce to the style tag if it exists
2274
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
2275
+ if (nonce != null) {
2276
+ visibilityStyle.setAttribute('nonce', nonce);
2277
+ }
2113
2278
  head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
2114
2279
  }
2115
2280
  // Process deferred connectedCallbacks now all components have been registered
@@ -2160,6 +2325,13 @@ const getHostListenerTarget = (elm, flags) => {
2160
2325
  };
2161
2326
  // prettier-ignore
2162
2327
  const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
2328
+ /**
2329
+ * Assigns the given value to the nonce property on the runtime platform object.
2330
+ * During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
2331
+ * @param nonce The value to be assigned to the platform nonce property.
2332
+ * @returns void
2333
+ */
2334
+ const setNonce = (nonce) => (plt.$nonce$ = nonce);
2163
2335
  const hostRefs = /*@__PURE__*/ new WeakMap();
2164
2336
  const getHostRef = (ref) => hostRefs.get(ref);
2165
2337
  const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
@@ -2200,10 +2372,6 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2200
2372
  }
2201
2373
  switch(bundleId) {
2202
2374
 
2203
- case 'ic-alert.cjs':
2204
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2205
- /* webpackMode: "lazy" */
2206
- './ic-alert.cjs.entry.js')); }).then(processMod, consoleError);
2207
2375
  case 'ic-back-to-top.cjs':
2208
2376
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2209
2377
  /* webpackMode: "lazy" */
@@ -2240,6 +2408,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2240
2408
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2241
2409
  /* webpackMode: "lazy" */
2242
2410
  './ic-data-row.cjs.entry.js')); }).then(processMod, consoleError);
2411
+ case 'ic-dialog.cjs':
2412
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2413
+ /* webpackMode: "lazy" */
2414
+ './ic-dialog.cjs.entry.js')); }).then(processMod, consoleError);
2243
2415
  case 'ic-footer.cjs':
2244
2416
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2245
2417
  /* webpackMode: "lazy" */
@@ -2356,6 +2528,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2356
2528
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2357
2529
  /* webpackMode: "lazy" */
2358
2530
  './ic-top-navigation.cjs.entry.js')); }).then(processMod, consoleError);
2531
+ case 'ic-alert.cjs':
2532
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2533
+ /* webpackMode: "lazy" */
2534
+ './ic-alert.cjs.entry.js')); }).then(processMod, consoleError);
2359
2535
  case 'ic-breadcrumb.cjs':
2360
2536
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2361
2537
  /* webpackMode: "lazy" */
@@ -2434,7 +2610,9 @@ const plt = {
2434
2610
  rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
2435
2611
  ce: (eventName, opts) => new CustomEvent(eventName, opts),
2436
2612
  };
2437
- const supportsShadow = true;
2613
+ const supportsShadow =
2614
+ // TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
2615
+ true;
2438
2616
  const promiseResolve = (v) => Promise.resolve(v);
2439
2617
  const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
2440
2618
  try {
@@ -2496,5 +2674,6 @@ exports.getElement = getElement;
2496
2674
  exports.h = h;
2497
2675
  exports.promiseResolve = promiseResolve;
2498
2676
  exports.registerInstance = registerInstance;
2677
+ exports.setNonce = setNonce;
2499
2678
 
2500
- //# sourceMappingURL=index-a62312a7.js.map
2679
+ //# sourceMappingURL=index-014e3058.js.map