@ukic/web-components 2.2.0 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (748) hide show
  1. package/dist/cjs/{OpenInNew-f9958725.js → OpenInNew-d5d30e77.js} +1 -1
  2. package/dist/cjs/OpenInNew-d5d30e77.js.map +1 -0
  3. package/dist/cjs/{check-icon-b2f60716.js → check-icon-7225d79b.js} +1 -1
  4. package/dist/cjs/check-icon-7225d79b.js.map +1 -0
  5. package/dist/cjs/{chevron-icon-2bb3a907.js → chevron-icon-3bf07531.js} +1 -1
  6. package/dist/cjs/chevron-icon-3bf07531.js.map +1 -0
  7. package/dist/cjs/{close-icon-8ccb0163.js → close-icon-7f6ef8e4.js} +2 -2
  8. package/dist/cjs/close-icon-7f6ef8e4.js.map +1 -0
  9. package/dist/cjs/core.cjs.js +3 -6
  10. package/dist/cjs/core.cjs.js.map +1 -1
  11. package/dist/cjs/{helpers-eb53c416.js → helpers-d166f875.js} +43 -21
  12. package/dist/cjs/helpers-d166f875.js.map +1 -0
  13. package/dist/cjs/ic-alert.cjs.entry.js +5 -5
  14. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ic-back-to-top.cjs.entry.js +3 -3
  16. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +3 -3
  18. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ic-breadcrumb.cjs.entry.js +4 -4
  20. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ic-button_3.cjs.entry.js +131 -41
  22. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-card.cjs.entry.js +4 -4
  24. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-checkbox-group.cjs.entry.js +5 -4
  26. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-checkbox.cjs.entry.js +11 -5
  28. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-chip.cjs.entry.js +3 -3
  30. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-classification-banner.cjs.entry.js +1 -1
  32. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-data-entity.cjs.entry.js +1 -1
  34. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-data-row.cjs.entry.js +3 -3
  36. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-dialog.cjs.entry.js +5 -5
  38. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-divider.cjs.entry.js +3 -3
  40. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-empty-state.cjs.entry.js +37 -0
  42. package/dist/cjs/ic-empty-state.cjs.entry.js.map +1 -0
  43. package/dist/cjs/ic-footer-link-group.cjs.entry.js +3 -3
  44. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-footer-link.cjs.entry.js +4 -4
  46. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ic-footer.cjs.entry.js +7 -4
  48. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-hero.cjs.entry.js +3 -3
  50. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +3 -3
  52. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +43 -37
  54. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-input-label_2.cjs.entry.js +4 -4
  56. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ic-link.cjs.entry.js +4 -4
  58. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  60. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-menu-item.cjs.entry.js +5 -5
  62. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-navigation-button.cjs.entry.js +5 -5
  64. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-navigation-group.cjs.entry.js +33 -15
  66. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-navigation-item.cjs.entry.js +8 -9
  68. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-navigation-menu.cjs.entry.js +3 -3
  70. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-page-header.cjs.entry.js +3 -3
  72. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ic-pagination-item.cjs.entry.js +3 -3
  74. package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ic-pagination.cjs.entry.js +3 -3
  76. package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
  77. package/dist/cjs/ic-popover-menu.cjs.entry.js +68 -16
  78. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-radio-group.cjs.entry.js +3 -3
  80. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ic-radio-option.cjs.entry.js +3 -3
  82. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ic-search-bar.cjs.entry.js +38 -21
  84. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ic-section-container.cjs.entry.js +1 -1
  86. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ic-select.cjs.entry.js +71 -17
  88. package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ic-side-navigation.cjs.entry.js +18 -9
  90. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  91. package/dist/cjs/ic-skeleton.cjs.entry.js +1 -1
  92. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  93. package/dist/cjs/ic-status-tag.cjs.entry.js +4 -4
  94. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ic-step.cjs.entry.js +2 -2
  96. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  97. package/dist/cjs/ic-stepper.cjs.entry.js +3 -3
  98. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  99. package/dist/cjs/ic-switch.cjs.entry.js +4 -4
  100. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  101. package/dist/cjs/ic-tab-context.cjs.entry.js +2 -2
  102. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  103. package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
  104. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  105. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  106. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  107. package/dist/cjs/ic-tab.cjs.entry.js +3 -3
  108. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  109. package/dist/cjs/ic-text-field.cjs.entry.js +3 -3
  110. package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
  111. package/dist/cjs/ic-theme.cjs.entry.js +3 -3
  112. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  113. package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
  114. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  115. package/dist/cjs/ic-toast.cjs.entry.js +5 -5
  116. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  117. package/dist/cjs/ic-top-navigation.cjs.entry.js +4 -4
  118. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  119. package/dist/cjs/ic-typography.cjs.entry.js +13 -5
  120. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  121. package/dist/cjs/{index-2a0c6769.js → index-54d2bed9.js} +102 -26
  122. package/dist/cjs/index-54d2bed9.js.map +1 -0
  123. package/dist/cjs/loader.cjs.js +3 -12
  124. package/dist/cjs/loader.cjs.js.map +1 -1
  125. package/dist/cjs/{popper-d7adcfc6.js → popper-31badbf8.js} +1 -1
  126. package/dist/cjs/popper-31badbf8.js.map +1 -0
  127. package/dist/cjs/{types-3eb02246.js → types-7d67439f.js} +1 -1
  128. package/dist/cjs/types-7d67439f.js.map +1 -0
  129. package/dist/collection/assets/close-icon.svg +1 -1
  130. package/dist/collection/assets/error-icon.svg +3 -2
  131. package/dist/collection/assets/hamburger-menu-icon.svg +1 -1
  132. package/dist/collection/assets/info-icon.svg +3 -2
  133. package/dist/collection/assets/neutral-icon.svg +4 -3
  134. package/dist/collection/assets/success-icon.svg +3 -2
  135. package/dist/collection/assets/warning-icon.svg +3 -2
  136. package/dist/collection/collection-manifest.json +61 -60
  137. package/dist/collection/components/ic-alert/ic-alert.css +9 -9
  138. package/dist/collection/components/ic-alert/ic-alert.js +3 -2
  139. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  140. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +5 -1
  141. package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
  142. package/dist/collection/components/ic-button/ic-button.css +19 -3
  143. package/dist/collection/components/ic-button/ic-button.js +40 -15
  144. package/dist/collection/components/ic-button/ic-button.js.map +1 -1
  145. package/dist/collection/components/ic-button/ic-button.types.js.map +1 -1
  146. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +17 -2
  147. package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -1
  148. package/dist/collection/components/ic-card/ic-card.js +4 -2
  149. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  150. package/dist/collection/components/ic-checkbox/ic-checkbox.css +34 -0
  151. package/dist/collection/components/ic-checkbox/ic-checkbox.js +41 -6
  152. package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
  153. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +35 -5
  154. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
  155. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +28 -0
  156. package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -1
  157. package/dist/collection/components/ic-chip/ic-chip.js +8 -5
  158. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  159. package/dist/collection/components/ic-chip/ic-chip.types.js.map +1 -1
  160. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +2 -1
  161. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
  162. package/dist/collection/components/ic-dialog/ic-dialog.js +14 -5
  163. package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
  164. package/dist/collection/components/ic-empty-state/ic-empty-state.css +49 -0
  165. package/dist/collection/components/ic-empty-state/ic-empty-state.js +160 -0
  166. package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +1 -0
  167. package/dist/collection/components/ic-empty-state/ic-empty-state.types.js +2 -0
  168. package/dist/collection/components/ic-empty-state/ic-empty-state.types.js.map +1 -0
  169. package/dist/collection/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.js +38 -0
  170. package/dist/collection/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.js.map +1 -0
  171. package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js +86 -0
  172. package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js.map +1 -0
  173. package/dist/collection/components/ic-footer/ic-footer.js +8 -3
  174. package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
  175. package/dist/collection/components/ic-footer-link/ic-footer-link.js +2 -1
  176. package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
  177. package/dist/collection/components/ic-hero/ic-hero.js +4 -2
  178. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  179. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +4 -2
  180. package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
  181. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +2 -1
  182. package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
  183. package/dist/collection/components/ic-input-validation/ic-input-validation.css +1 -1
  184. package/dist/collection/components/ic-input-validation/ic-input-validation.js +4 -2
  185. package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
  186. package/dist/collection/components/ic-link/ic-link.js +6 -3
  187. package/dist/collection/components/ic-link/ic-link.js.map +1 -1
  188. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +6 -3
  189. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
  190. package/dist/collection/components/ic-menu/ic-menu.css +17 -0
  191. package/dist/collection/components/ic-menu/ic-menu.js +107 -48
  192. package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
  193. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +13 -2
  194. package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -1
  195. package/dist/collection/components/ic-menu-item/ic-menu-item.js +4 -2
  196. package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
  197. package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +1 -0
  198. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +5 -3
  199. package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
  200. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +1 -1
  201. package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -1
  202. package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +6 -2
  203. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +30 -11
  204. package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
  205. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +3 -3
  206. package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +1 -1
  207. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +4 -1
  208. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +6 -5
  209. package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
  210. package/dist/collection/components/ic-page-header/ic-page-header.js +2 -1
  211. package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
  212. package/dist/collection/components/ic-pagination/ic-pagination.js +8 -4
  213. package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
  214. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +4 -2
  215. package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -1
  216. package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +12 -0
  217. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +69 -14
  218. package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
  219. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js +14 -0
  220. package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +1 -1
  221. package/dist/collection/components/ic-radio-group/ic-radio-group.js +6 -3
  222. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  223. package/dist/collection/components/ic-radio-option/ic-radio-option.js +8 -4
  224. package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
  225. package/dist/collection/components/ic-search-bar/ic-search-bar.js +103 -34
  226. package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
  227. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js +19 -0
  228. package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +1 -1
  229. package/dist/collection/components/ic-section-container/ic-section-container.js +2 -1
  230. package/dist/collection/components/ic-section-container/ic-section-container.js.map +1 -1
  231. package/dist/collection/components/ic-select/ic-select.js +85 -22
  232. package/dist/collection/components/ic-select/ic-select.js.map +1 -1
  233. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js +30 -0
  234. package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +1 -1
  235. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +51 -3
  236. package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -1
  237. package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +4 -0
  238. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +30 -3
  239. package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
  240. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js +20 -0
  241. package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +1 -1
  242. package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -1
  243. package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
  244. package/dist/collection/components/ic-status-tag/ic-status-tag.css +4 -4
  245. package/dist/collection/components/ic-status-tag/ic-status-tag.js +4 -2
  246. package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
  247. package/dist/collection/components/ic-step/ic-step.js +8 -4
  248. package/dist/collection/components/ic-step/ic-step.js.map +1 -1
  249. package/dist/collection/components/ic-stepper/ic-stepper.js +4 -2
  250. package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
  251. package/dist/collection/components/ic-switch/ic-switch.css +1 -1
  252. package/dist/collection/components/ic-switch/ic-switch.js +4 -2
  253. package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
  254. package/dist/collection/components/ic-tab/ic-tab.js +10 -5
  255. package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
  256. package/dist/collection/components/ic-tab-context/ic-tab-context.js +10 -5
  257. package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
  258. package/dist/collection/components/ic-tab-group/ic-tab-group.js +2 -1
  259. package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
  260. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +4 -2
  261. package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
  262. package/dist/collection/components/ic-text-field/ic-text-field.js +26 -13
  263. package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
  264. package/dist/collection/components/ic-theme/ic-theme.js +2 -1
  265. package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
  266. package/dist/collection/components/ic-toast/ic-toast.css +2 -2
  267. package/dist/collection/components/ic-toast/ic-toast.js +8 -4
  268. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
  269. package/dist/collection/components/ic-toast-region/ic-toast-region.js +4 -2
  270. package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
  271. package/dist/collection/components/ic-tooltip/ic-tooltip.css +9 -0
  272. package/dist/collection/components/ic-tooltip/ic-tooltip.js +112 -35
  273. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  274. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js +2 -0
  275. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +1 -1
  276. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +160 -1
  277. package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -1
  278. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +3 -2
  279. package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
  280. package/dist/collection/components/ic-typography/ic-typography.css +21 -1
  281. package/dist/collection/components/ic-typography/ic-typography.js +83 -2
  282. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  283. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +28 -0
  284. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -1
  285. package/dist/collection/utils/helpers.js +25 -8
  286. package/dist/collection/utils/helpers.js.map +1 -1
  287. package/dist/collection/utils/types.js.map +1 -1
  288. package/dist/components/close-icon.js +1 -1
  289. package/dist/components/helpers.js +41 -19
  290. package/dist/components/helpers.js.map +1 -1
  291. package/dist/components/ic-alert2.js +1 -1
  292. package/dist/components/ic-alert2.js.map +1 -1
  293. package/dist/components/ic-back-to-top.js.map +1 -1
  294. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  295. package/dist/components/ic-breadcrumb2.js.map +1 -1
  296. package/dist/components/ic-button2.js +20 -5
  297. package/dist/components/ic-button2.js.map +1 -1
  298. package/dist/components/ic-card.js.map +1 -1
  299. package/dist/components/ic-checkbox-group.js +3 -1
  300. package/dist/components/ic-checkbox-group.js.map +1 -1
  301. package/dist/components/ic-checkbox.js +9 -2
  302. package/dist/components/ic-checkbox.js.map +1 -1
  303. package/dist/components/ic-chip.js.map +1 -1
  304. package/dist/components/ic-classification-banner.js.map +1 -1
  305. package/dist/components/ic-data-entity.js.map +1 -1
  306. package/dist/components/ic-data-row.js.map +1 -1
  307. package/dist/components/ic-dialog.js +1 -1
  308. package/dist/components/ic-dialog.js.map +1 -1
  309. package/dist/components/ic-divider2.js.map +1 -1
  310. package/dist/components/ic-empty-state.d.ts +11 -0
  311. package/dist/components/ic-empty-state.js +63 -0
  312. package/dist/components/ic-empty-state.js.map +1 -0
  313. package/dist/components/ic-footer-link-group.js.map +1 -1
  314. package/dist/components/ic-footer-link.js.map +1 -1
  315. package/dist/components/ic-footer.js +4 -1
  316. package/dist/components/ic-footer.js.map +1 -1
  317. package/dist/components/ic-hero.js.map +1 -1
  318. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  319. package/dist/components/ic-input-component-container2.js.map +1 -1
  320. package/dist/components/ic-input-container2.js.map +1 -1
  321. package/dist/components/ic-input-label2.js.map +1 -1
  322. package/dist/components/ic-input-validation2.js +1 -1
  323. package/dist/components/ic-input-validation2.js.map +1 -1
  324. package/dist/components/ic-link2.js.map +1 -1
  325. package/dist/components/ic-loading-indicator2.js.map +1 -1
  326. package/dist/components/ic-menu-group.js.map +1 -1
  327. package/dist/components/ic-menu-item2.js.map +1 -1
  328. package/dist/components/ic-menu2.js +40 -32
  329. package/dist/components/ic-menu2.js.map +1 -1
  330. package/dist/components/ic-navigation-button.js +2 -2
  331. package/dist/components/ic-navigation-button.js.map +1 -1
  332. package/dist/components/ic-navigation-group.js +29 -11
  333. package/dist/components/ic-navigation-group.js.map +1 -1
  334. package/dist/components/ic-navigation-item.js +3 -4
  335. package/dist/components/ic-navigation-item.js.map +1 -1
  336. package/dist/components/ic-navigation-menu2.js.map +1 -1
  337. package/dist/components/ic-page-header.js.map +1 -1
  338. package/dist/components/ic-pagination-item2.js.map +1 -1
  339. package/dist/components/ic-pagination.js.map +1 -1
  340. package/dist/components/ic-popover-menu.js +64 -12
  341. package/dist/components/ic-popover-menu.js.map +1 -1
  342. package/dist/components/ic-radio-group.js.map +1 -1
  343. package/dist/components/ic-radio-option.js.map +1 -1
  344. package/dist/components/ic-search-bar.js +37 -18
  345. package/dist/components/ic-search-bar.js.map +1 -1
  346. package/dist/components/ic-section-container2.js.map +1 -1
  347. package/dist/components/ic-select.js +69 -14
  348. package/dist/components/ic-select.js.map +1 -1
  349. package/dist/components/ic-side-navigation.js +15 -5
  350. package/dist/components/ic-side-navigation.js.map +1 -1
  351. package/dist/components/ic-skeleton.js.map +1 -1
  352. package/dist/components/ic-status-tag.js +1 -1
  353. package/dist/components/ic-status-tag.js.map +1 -1
  354. package/dist/components/ic-step.js.map +1 -1
  355. package/dist/components/ic-stepper.js.map +1 -1
  356. package/dist/components/ic-switch.js +1 -1
  357. package/dist/components/ic-switch.js.map +1 -1
  358. package/dist/components/ic-tab-context.js.map +1 -1
  359. package/dist/components/ic-tab-group.js.map +1 -1
  360. package/dist/components/ic-tab-panel.js.map +1 -1
  361. package/dist/components/ic-tab.js.map +1 -1
  362. package/dist/components/ic-text-field2.js.map +1 -1
  363. package/dist/components/ic-theme.js.map +1 -1
  364. package/dist/components/ic-toast-region.js.map +1 -1
  365. package/dist/components/ic-toast.js +1 -1
  366. package/dist/components/ic-toast.js.map +1 -1
  367. package/dist/components/ic-tooltip2.js +109 -34
  368. package/dist/components/ic-tooltip2.js.map +1 -1
  369. package/dist/components/ic-top-navigation.js +1 -1
  370. package/dist/components/ic-top-navigation.js.map +1 -1
  371. package/dist/components/ic-typography2.js +14 -2
  372. package/dist/components/ic-typography2.js.map +1 -1
  373. package/dist/components/index.d.ts +6 -0
  374. package/dist/components/index.js +1 -1
  375. package/dist/components/types.js.map +1 -1
  376. package/dist/core/core.css +26 -26
  377. package/dist/core/core.esm.js +1 -1
  378. package/dist/core/core.esm.js.map +1 -1
  379. package/dist/core/{p-7ae091ef.entry.js → p-0dcc76b1.entry.js} +2 -2
  380. package/dist/core/p-0dcc76b1.entry.js.map +1 -0
  381. package/dist/core/p-101bce17.entry.js +2 -0
  382. package/dist/core/p-101bce17.entry.js.map +1 -0
  383. package/dist/core/p-16e8bb5a.entry.js +2 -0
  384. package/dist/core/p-16e8bb5a.entry.js.map +1 -0
  385. package/dist/core/p-18068237.js +3 -0
  386. package/dist/core/p-18068237.js.map +1 -0
  387. package/dist/core/p-1c54269e.entry.js +2 -0
  388. package/dist/core/p-1c54269e.entry.js.map +1 -0
  389. package/dist/core/{p-8991f656.entry.js → p-27897d29.entry.js} +2 -2
  390. package/dist/core/p-27897d29.entry.js.map +1 -0
  391. package/dist/core/{p-27d42378.entry.js → p-27bf4783.entry.js} +2 -2
  392. package/dist/core/p-27bf4783.entry.js.map +1 -0
  393. package/dist/core/{p-7536dd31.entry.js → p-3297713b.entry.js} +2 -2
  394. package/dist/core/p-3297713b.entry.js.map +1 -0
  395. package/dist/core/{p-06321d19.js → p-3b185c32.js} +1 -1
  396. package/dist/core/{p-429e4d24.entry.js → p-3fc638fc.entry.js} +2 -2
  397. package/dist/core/p-3fc638fc.entry.js.map +1 -0
  398. package/dist/core/p-414ff132.entry.js +2 -0
  399. package/dist/core/p-414ff132.entry.js.map +1 -0
  400. package/dist/core/{p-8d4f7027.js → p-426ec638.js} +1 -1
  401. package/dist/core/{p-1b9b8355.entry.js → p-433cfd47.entry.js} +2 -2
  402. package/dist/core/p-433cfd47.entry.js.map +1 -0
  403. package/dist/core/{p-90d3a41b.entry.js → p-455bfed1.entry.js} +2 -2
  404. package/dist/core/p-455bfed1.entry.js.map +1 -0
  405. package/dist/core/{p-5c9c940f.entry.js → p-4c4261e7.entry.js} +2 -2
  406. package/dist/core/p-4c4261e7.entry.js.map +1 -0
  407. package/dist/core/{p-8c45ab61.entry.js → p-4f7c20b3.entry.js} +2 -2
  408. package/dist/core/p-4f7c20b3.entry.js.map +1 -0
  409. package/dist/core/p-521c8f40.entry.js +2 -0
  410. package/dist/core/p-521c8f40.entry.js.map +1 -0
  411. package/dist/core/{p-041604fc.entry.js → p-5b8be53f.entry.js} +2 -2
  412. package/dist/core/p-5b8be53f.entry.js.map +1 -0
  413. package/dist/core/{p-f923d11b.entry.js → p-5fcbcc3f.entry.js} +2 -2
  414. package/dist/core/p-5fcbcc3f.entry.js.map +1 -0
  415. package/dist/core/{p-3adb1167.entry.js → p-607e7bf2.entry.js} +2 -2
  416. package/dist/core/p-607e7bf2.entry.js.map +1 -0
  417. package/dist/core/{p-6f57b13c.js → p-613aa265.js} +1 -1
  418. package/dist/core/p-613aa265.js.map +1 -0
  419. package/dist/core/p-62499150.entry.js +2 -0
  420. package/dist/core/p-62499150.entry.js.map +1 -0
  421. package/dist/core/{p-cef93d12.entry.js → p-630ae754.entry.js} +2 -2
  422. package/dist/core/p-630ae754.entry.js.map +1 -0
  423. package/dist/core/{p-5c846d0a.entry.js → p-65df7222.entry.js} +2 -2
  424. package/dist/core/p-65df7222.entry.js.map +1 -0
  425. package/dist/core/{p-8ca80000.entry.js → p-6781620e.entry.js} +2 -2
  426. package/dist/core/p-6781620e.entry.js.map +1 -0
  427. package/dist/core/p-67c18f72.entry.js +2 -0
  428. package/dist/core/p-67c18f72.entry.js.map +1 -0
  429. package/dist/core/{p-7c0dcd00.js → p-68a5aaff.js} +1 -1
  430. package/dist/core/p-68a5aaff.js.map +1 -0
  431. package/dist/core/{p-95992c98.entry.js → p-68fda79a.entry.js} +2 -2
  432. package/dist/core/p-68fda79a.entry.js.map +1 -0
  433. package/dist/core/{p-892d9d9f.entry.js → p-7194c255.entry.js} +2 -2
  434. package/dist/core/p-7194c255.entry.js.map +1 -0
  435. package/dist/core/p-77266738.entry.js +2 -0
  436. package/dist/core/p-77266738.entry.js.map +1 -0
  437. package/dist/core/{p-d2215b72.entry.js → p-7be2b1fd.entry.js} +2 -2
  438. package/dist/core/p-7be2b1fd.entry.js.map +1 -0
  439. package/dist/core/p-831b0f3f.entry.js +2 -0
  440. package/dist/core/p-831b0f3f.entry.js.map +1 -0
  441. package/dist/core/{p-2ae7687a.entry.js → p-83e535de.entry.js} +2 -2
  442. package/dist/core/p-83e535de.entry.js.map +1 -0
  443. package/dist/core/{p-441e7d98.entry.js → p-85dd5e5b.entry.js} +2 -2
  444. package/dist/core/p-85dd5e5b.entry.js.map +1 -0
  445. package/dist/core/{p-ce791694.entry.js → p-87149cbd.entry.js} +2 -2
  446. package/dist/core/p-87149cbd.entry.js.map +1 -0
  447. package/dist/core/{p-9e551fe9.entry.js → p-8e6169e0.entry.js} +2 -2
  448. package/dist/core/p-8e6169e0.entry.js.map +1 -0
  449. package/dist/core/{p-ca6d834e.entry.js → p-9248228e.entry.js} +2 -2
  450. package/dist/core/p-9248228e.entry.js.map +1 -0
  451. package/dist/core/{p-f665242d.entry.js → p-932a67ca.entry.js} +2 -2
  452. package/dist/core/p-932a67ca.entry.js.map +1 -0
  453. package/dist/core/p-937ecd5b.entry.js +2 -0
  454. package/dist/core/p-937ecd5b.entry.js.map +1 -0
  455. package/dist/core/{p-5144e840.entry.js → p-94903a21.entry.js} +2 -2
  456. package/dist/core/p-94903a21.entry.js.map +1 -0
  457. package/dist/core/p-96022913.entry.js +2 -0
  458. package/dist/core/p-96022913.entry.js.map +1 -0
  459. package/dist/core/{p-65750560.entry.js → p-9650e00e.entry.js} +2 -2
  460. package/dist/core/p-9650e00e.entry.js.map +1 -0
  461. package/dist/core/{p-a8b94619.entry.js → p-99741b0f.entry.js} +2 -2
  462. package/dist/core/p-99741b0f.entry.js.map +1 -0
  463. package/dist/core/{p-1959ec8d.entry.js → p-a0a02a13.entry.js} +2 -2
  464. package/dist/core/p-a0a02a13.entry.js.map +1 -0
  465. package/dist/core/{p-cbbf4b05.entry.js → p-a421d3a1.entry.js} +2 -2
  466. package/dist/core/p-a421d3a1.entry.js.map +1 -0
  467. package/dist/core/{p-c012b867.entry.js → p-b0b1de0e.entry.js} +2 -2
  468. package/dist/core/p-b0b1de0e.entry.js.map +1 -0
  469. package/dist/core/p-b82776d0.entry.js +2 -0
  470. package/dist/core/p-b82776d0.entry.js.map +1 -0
  471. package/dist/core/{p-6840589f.entry.js → p-c1859843.entry.js} +2 -2
  472. package/dist/core/p-c1859843.entry.js.map +1 -0
  473. package/dist/core/{p-8c7f4343.js → p-c2e091d7.js} +1 -1
  474. package/dist/core/{p-332690f0.entry.js → p-c31e6dbb.entry.js} +2 -2
  475. package/dist/core/p-c31e6dbb.entry.js.map +1 -0
  476. package/dist/core/{p-96bcd466.entry.js → p-c390fbad.entry.js} +2 -2
  477. package/dist/core/p-c390fbad.entry.js.map +1 -0
  478. package/dist/core/p-cb2c18de.entry.js +2 -0
  479. package/dist/core/p-cb2c18de.entry.js.map +1 -0
  480. package/dist/core/{p-6bad30aa.entry.js → p-d16100e8.entry.js} +2 -2
  481. package/dist/core/p-d16100e8.entry.js.map +1 -0
  482. package/dist/core/{p-b698b8ad.entry.js → p-d20917ae.entry.js} +2 -2
  483. package/dist/core/p-d20917ae.entry.js.map +1 -0
  484. package/dist/core/{p-a29fe0c6.entry.js → p-d65ace31.entry.js} +2 -2
  485. package/dist/core/p-d65ace31.entry.js.map +1 -0
  486. package/dist/core/p-d78c90fe.entry.js +2 -0
  487. package/dist/core/p-d78c90fe.entry.js.map +1 -0
  488. package/dist/core/{p-adceb0cf.entry.js → p-e2d0039d.entry.js} +2 -2
  489. package/dist/core/p-e2d0039d.entry.js.map +1 -0
  490. package/dist/core/{p-a588886f.entry.js → p-e3923b67.entry.js} +2 -2
  491. package/dist/core/p-e3923b67.entry.js.map +1 -0
  492. package/dist/core/{p-f7695299.entry.js → p-ebd60291.entry.js} +2 -2
  493. package/dist/core/p-ebd60291.entry.js.map +1 -0
  494. package/dist/core/p-ebe76390.js +2 -0
  495. package/dist/core/p-ebe76390.js.map +1 -0
  496. package/dist/core/p-f074ef5b.js +2 -0
  497. package/dist/core/{p-ee11e185.entry.js → p-fedcfea3.entry.js} +2 -2
  498. package/dist/core/p-fedcfea3.entry.js.map +1 -0
  499. package/dist/esm/{OpenInNew-67a881e0.js → OpenInNew-cdeed5ce.js} +1 -1
  500. package/dist/esm/OpenInNew-cdeed5ce.js.map +1 -0
  501. package/dist/esm/{check-icon-abb210ec.js → check-icon-4a9f8371.js} +1 -1
  502. package/dist/esm/check-icon-4a9f8371.js.map +1 -0
  503. package/dist/esm/{chevron-icon-7927f709.js → chevron-icon-589e3b46.js} +1 -1
  504. package/dist/esm/chevron-icon-589e3b46.js.map +1 -0
  505. package/dist/esm/{close-icon-2f02b42a.js → close-icon-539ec8d1.js} +2 -2
  506. package/dist/esm/close-icon-539ec8d1.js.map +1 -0
  507. package/dist/esm/core.js +4 -7
  508. package/dist/esm/core.js.map +1 -1
  509. package/dist/esm/{helpers-85903813.js → helpers-b0e80358.js} +44 -22
  510. package/dist/esm/helpers-b0e80358.js.map +1 -0
  511. package/dist/esm/ic-alert.entry.js +5 -5
  512. package/dist/esm/ic-alert.entry.js.map +1 -1
  513. package/dist/esm/ic-back-to-top.entry.js +3 -3
  514. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  515. package/dist/esm/ic-breadcrumb-group.entry.js +3 -3
  516. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  517. package/dist/esm/ic-breadcrumb.entry.js +4 -4
  518. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  519. package/dist/esm/ic-button_3.entry.js +131 -41
  520. package/dist/esm/ic-button_3.entry.js.map +1 -1
  521. package/dist/esm/ic-card.entry.js +4 -4
  522. package/dist/esm/ic-card.entry.js.map +1 -1
  523. package/dist/esm/ic-checkbox-group.entry.js +5 -4
  524. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  525. package/dist/esm/ic-checkbox.entry.js +11 -5
  526. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  527. package/dist/esm/ic-chip.entry.js +3 -3
  528. package/dist/esm/ic-chip.entry.js.map +1 -1
  529. package/dist/esm/ic-classification-banner.entry.js +1 -1
  530. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  531. package/dist/esm/ic-data-entity.entry.js +1 -1
  532. package/dist/esm/ic-data-entity.entry.js.map +1 -1
  533. package/dist/esm/ic-data-row.entry.js +3 -3
  534. package/dist/esm/ic-data-row.entry.js.map +1 -1
  535. package/dist/esm/ic-dialog.entry.js +5 -5
  536. package/dist/esm/ic-dialog.entry.js.map +1 -1
  537. package/dist/esm/ic-divider.entry.js +3 -3
  538. package/dist/esm/ic-divider.entry.js.map +1 -1
  539. package/dist/esm/ic-empty-state.entry.js +33 -0
  540. package/dist/esm/ic-empty-state.entry.js.map +1 -0
  541. package/dist/esm/ic-footer-link-group.entry.js +3 -3
  542. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  543. package/dist/esm/ic-footer-link.entry.js +4 -4
  544. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  545. package/dist/esm/ic-footer.entry.js +7 -4
  546. package/dist/esm/ic-footer.entry.js.map +1 -1
  547. package/dist/esm/ic-hero.entry.js +3 -3
  548. package/dist/esm/ic-hero.entry.js.map +1 -1
  549. package/dist/esm/ic-horizontal-scroll.entry.js +3 -3
  550. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  551. package/dist/esm/ic-input-component-container_3.entry.js +43 -37
  552. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
  553. package/dist/esm/ic-input-label_2.entry.js +4 -4
  554. package/dist/esm/ic-input-label_2.entry.js.map +1 -1
  555. package/dist/esm/ic-link.entry.js +4 -4
  556. package/dist/esm/ic-link.entry.js.map +1 -1
  557. package/dist/esm/ic-menu-group.entry.js +1 -1
  558. package/dist/esm/ic-menu-group.entry.js.map +1 -1
  559. package/dist/esm/ic-menu-item.entry.js +5 -5
  560. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  561. package/dist/esm/ic-navigation-button.entry.js +5 -5
  562. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  563. package/dist/esm/ic-navigation-group.entry.js +33 -15
  564. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  565. package/dist/esm/ic-navigation-item.entry.js +8 -9
  566. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  567. package/dist/esm/ic-navigation-menu.entry.js +3 -3
  568. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  569. package/dist/esm/ic-page-header.entry.js +3 -3
  570. package/dist/esm/ic-page-header.entry.js.map +1 -1
  571. package/dist/esm/ic-pagination-item.entry.js +3 -3
  572. package/dist/esm/ic-pagination-item.entry.js.map +1 -1
  573. package/dist/esm/ic-pagination.entry.js +3 -3
  574. package/dist/esm/ic-pagination.entry.js.map +1 -1
  575. package/dist/esm/ic-popover-menu.entry.js +68 -16
  576. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  577. package/dist/esm/ic-radio-group.entry.js +3 -3
  578. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  579. package/dist/esm/ic-radio-option.entry.js +3 -3
  580. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  581. package/dist/esm/ic-search-bar.entry.js +38 -21
  582. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  583. package/dist/esm/ic-section-container.entry.js +1 -1
  584. package/dist/esm/ic-section-container.entry.js.map +1 -1
  585. package/dist/esm/ic-select.entry.js +71 -17
  586. package/dist/esm/ic-select.entry.js.map +1 -1
  587. package/dist/esm/ic-side-navigation.entry.js +18 -9
  588. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  589. package/dist/esm/ic-skeleton.entry.js +1 -1
  590. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  591. package/dist/esm/ic-status-tag.entry.js +4 -4
  592. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  593. package/dist/esm/ic-step.entry.js +2 -2
  594. package/dist/esm/ic-step.entry.js.map +1 -1
  595. package/dist/esm/ic-stepper.entry.js +3 -3
  596. package/dist/esm/ic-stepper.entry.js.map +1 -1
  597. package/dist/esm/ic-switch.entry.js +4 -4
  598. package/dist/esm/ic-switch.entry.js.map +1 -1
  599. package/dist/esm/ic-tab-context.entry.js +2 -2
  600. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  601. package/dist/esm/ic-tab-group.entry.js +3 -3
  602. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  603. package/dist/esm/ic-tab-panel.entry.js +2 -2
  604. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  605. package/dist/esm/ic-tab.entry.js +3 -3
  606. package/dist/esm/ic-tab.entry.js.map +1 -1
  607. package/dist/esm/ic-text-field.entry.js +3 -3
  608. package/dist/esm/ic-text-field.entry.js.map +1 -1
  609. package/dist/esm/ic-theme.entry.js +3 -3
  610. package/dist/esm/ic-theme.entry.js.map +1 -1
  611. package/dist/esm/ic-toast-region.entry.js +1 -1
  612. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  613. package/dist/esm/ic-toast.entry.js +5 -5
  614. package/dist/esm/ic-toast.entry.js.map +1 -1
  615. package/dist/esm/ic-top-navigation.entry.js +4 -4
  616. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  617. package/dist/esm/ic-typography.entry.js +13 -5
  618. package/dist/esm/ic-typography.entry.js.map +1 -1
  619. package/dist/esm/{index-fd30b77e.js → index-14c9f375.js} +102 -26
  620. package/dist/esm/index-14c9f375.js.map +1 -0
  621. package/dist/esm/loader.js +4 -13
  622. package/dist/esm/loader.js.map +1 -1
  623. package/dist/esm/{popper-15e448b4.js → popper-0fbeff6d.js} +1 -1
  624. package/dist/esm/popper-0fbeff6d.js.map +1 -0
  625. package/dist/esm/{types-dd515332.js → types-b2398b37.js} +1 -1
  626. package/dist/esm/types-b2398b37.js.map +1 -0
  627. package/dist/types/components/ic-alert/ic-alert.d.ts +1 -1
  628. package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +3 -3
  629. package/dist/types/components/ic-button/ic-button.d.ts +8 -4
  630. package/dist/types/components/ic-button/ic-button.types.d.ts +0 -1
  631. package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +6 -2
  632. package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +6 -2
  633. package/dist/types/components/ic-chip/ic-chip.d.ts +3 -2
  634. package/dist/types/components/ic-chip/ic-chip.types.d.ts +0 -1
  635. package/dist/types/components/ic-dialog/ic-dialog.d.ts +5 -5
  636. package/dist/types/components/ic-empty-state/ic-empty-state.d.ts +35 -0
  637. package/dist/types/components/ic-empty-state/ic-empty-state.types.d.ts +1 -0
  638. package/dist/types/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.d.ts +1 -0
  639. package/dist/types/components/ic-menu/ic-menu.d.ts +8 -0
  640. package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +4 -0
  641. package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +3 -0
  642. package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +8 -0
  643. package/dist/types/components/ic-select/ic-select.d.ts +14 -0
  644. package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +5 -0
  645. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +5 -0
  646. package/dist/types/components/ic-typography/ic-typography.d.ts +17 -0
  647. package/dist/types/components.d.ts +167 -16
  648. package/dist/types/stencil-public-runtime.d.ts +17 -5
  649. package/dist/types/utils/helpers.d.ts +2 -2
  650. package/dist/types/utils/types.d.ts +12 -2
  651. package/hydrate/index.d.ts +6 -6
  652. package/hydrate/index.js +626 -263
  653. package/loader/index.d.ts +1 -1
  654. package/package.json +5 -6
  655. package/dist/cjs/OpenInNew-f9958725.js.map +0 -1
  656. package/dist/cjs/check-icon-b2f60716.js.map +0 -1
  657. package/dist/cjs/chevron-icon-2bb3a907.js.map +0 -1
  658. package/dist/cjs/close-icon-8ccb0163.js.map +0 -1
  659. package/dist/cjs/helpers-eb53c416.js.map +0 -1
  660. package/dist/cjs/index-2a0c6769.js.map +0 -1
  661. package/dist/cjs/popper-d7adcfc6.js.map +0 -1
  662. package/dist/cjs/types-3eb02246.js.map +0 -1
  663. package/dist/core/p-0330cb21.entry.js +0 -2
  664. package/dist/core/p-0330cb21.entry.js.map +0 -1
  665. package/dist/core/p-03d1a4a1.entry.js +0 -2
  666. package/dist/core/p-03d1a4a1.entry.js.map +0 -1
  667. package/dist/core/p-041604fc.entry.js.map +0 -1
  668. package/dist/core/p-1959ec8d.entry.js.map +0 -1
  669. package/dist/core/p-1b9b8355.entry.js.map +0 -1
  670. package/dist/core/p-26d5fd0f.entry.js +0 -2
  671. package/dist/core/p-26d5fd0f.entry.js.map +0 -1
  672. package/dist/core/p-27d42378.entry.js.map +0 -1
  673. package/dist/core/p-2ae7687a.entry.js.map +0 -1
  674. package/dist/core/p-332690f0.entry.js.map +0 -1
  675. package/dist/core/p-39adc795.entry.js +0 -2
  676. package/dist/core/p-39adc795.entry.js.map +0 -1
  677. package/dist/core/p-3adb1167.entry.js.map +0 -1
  678. package/dist/core/p-429e4d24.entry.js.map +0 -1
  679. package/dist/core/p-441e7d98.entry.js.map +0 -1
  680. package/dist/core/p-44512ebe.js +0 -2
  681. package/dist/core/p-48301eff.entry.js +0 -2
  682. package/dist/core/p-48301eff.entry.js.map +0 -1
  683. package/dist/core/p-5144e840.entry.js.map +0 -1
  684. package/dist/core/p-5c846d0a.entry.js.map +0 -1
  685. package/dist/core/p-5c9c940f.entry.js.map +0 -1
  686. package/dist/core/p-5dd0b02e.js +0 -2
  687. package/dist/core/p-5dd0b02e.js.map +0 -1
  688. package/dist/core/p-65750560.entry.js.map +0 -1
  689. package/dist/core/p-6840589f.entry.js.map +0 -1
  690. package/dist/core/p-69920d86.js +0 -3
  691. package/dist/core/p-69920d86.js.map +0 -1
  692. package/dist/core/p-6bad30aa.entry.js.map +0 -1
  693. package/dist/core/p-6f57b13c.js.map +0 -1
  694. package/dist/core/p-7536dd31.entry.js.map +0 -1
  695. package/dist/core/p-7ae091ef.entry.js.map +0 -1
  696. package/dist/core/p-7c0dcd00.js.map +0 -1
  697. package/dist/core/p-7c46caf2.entry.js +0 -2
  698. package/dist/core/p-7c46caf2.entry.js.map +0 -1
  699. package/dist/core/p-83d5bcae.entry.js +0 -2
  700. package/dist/core/p-83d5bcae.entry.js.map +0 -1
  701. package/dist/core/p-892d9d9f.entry.js.map +0 -1
  702. package/dist/core/p-8991f656.entry.js.map +0 -1
  703. package/dist/core/p-8c45ab61.entry.js.map +0 -1
  704. package/dist/core/p-8ca80000.entry.js.map +0 -1
  705. package/dist/core/p-90d3a41b.entry.js.map +0 -1
  706. package/dist/core/p-95992c98.entry.js.map +0 -1
  707. package/dist/core/p-96b71172.entry.js +0 -2
  708. package/dist/core/p-96b71172.entry.js.map +0 -1
  709. package/dist/core/p-96bcd466.entry.js.map +0 -1
  710. package/dist/core/p-9e551fe9.entry.js.map +0 -1
  711. package/dist/core/p-a29fe0c6.entry.js.map +0 -1
  712. package/dist/core/p-a588886f.entry.js.map +0 -1
  713. package/dist/core/p-a8b94619.entry.js.map +0 -1
  714. package/dist/core/p-adceb0cf.entry.js.map +0 -1
  715. package/dist/core/p-b698b8ad.entry.js.map +0 -1
  716. package/dist/core/p-b6c538ea.entry.js +0 -2
  717. package/dist/core/p-b6c538ea.entry.js.map +0 -1
  718. package/dist/core/p-c012b867.entry.js.map +0 -1
  719. package/dist/core/p-c5716cbc.entry.js +0 -2
  720. package/dist/core/p-c5716cbc.entry.js.map +0 -1
  721. package/dist/core/p-ca6d834e.entry.js.map +0 -1
  722. package/dist/core/p-cbbf4b05.entry.js.map +0 -1
  723. package/dist/core/p-ce791694.entry.js.map +0 -1
  724. package/dist/core/p-cef93d12.entry.js.map +0 -1
  725. package/dist/core/p-d2215b72.entry.js.map +0 -1
  726. package/dist/core/p-e0ee714a.entry.js +0 -2
  727. package/dist/core/p-e0ee714a.entry.js.map +0 -1
  728. package/dist/core/p-e6370b7e.entry.js +0 -2
  729. package/dist/core/p-e6370b7e.entry.js.map +0 -1
  730. package/dist/core/p-ee11e185.entry.js.map +0 -1
  731. package/dist/core/p-f24814b8.entry.js +0 -2
  732. package/dist/core/p-f24814b8.entry.js.map +0 -1
  733. package/dist/core/p-f665242d.entry.js.map +0 -1
  734. package/dist/core/p-f7695299.entry.js.map +0 -1
  735. package/dist/core/p-f923d11b.entry.js.map +0 -1
  736. package/dist/esm/OpenInNew-67a881e0.js.map +0 -1
  737. package/dist/esm/check-icon-abb210ec.js.map +0 -1
  738. package/dist/esm/chevron-icon-7927f709.js.map +0 -1
  739. package/dist/esm/close-icon-2f02b42a.js.map +0 -1
  740. package/dist/esm/helpers-85903813.js.map +0 -1
  741. package/dist/esm/index-fd30b77e.js.map +0 -1
  742. package/dist/esm/polyfills/css-shim.js +0 -1
  743. package/dist/esm/popper-15e448b4.js.map +0 -1
  744. package/dist/esm/types-dd515332.js.map +0 -1
  745. /package/dist/core/{p-06321d19.js.map → p-3b185c32.js.map} +0 -0
  746. /package/dist/core/{p-44512ebe.js.map → p-426ec638.js.map} +0 -0
  747. /package/dist/core/{p-8c7f4343.js.map → p-c2e091d7.js.map} +0 -0
  748. /package/dist/core/{p-8d4f7027.js.map → p-f074ef5b.js.map} +0 -0
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-fd30b77e.js';
2
- import { c as checkResizeObserver } from './helpers-85903813.js';
3
- import './types-dd515332.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-14c9f375.js';
2
+ import { c as checkResizeObserver } from './helpers-b0e80358.js';
3
+ import './types-b2398b37.js';
4
4
 
5
- const icTypographyCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;position:relative}:host(.ic-typography-vertical-margins-h1){margin:0 0 var(--ic-space-xl)}:host(.ic-typography-vertical-margins-h2){margin:var(--ic-space-xxl) 0 var(--ic-space-lg)}:host(.ic-typography-vertical-margins-h3){margin:var(--ic-space-xl) 0 var(--ic-space-md)}:host(.ic-typography-vertical-margins-h4){margin:var(--ic-space-lg) 0 var(--ic-space-md)}:host(.ic-typography-vertical-margins-subtitle-large),:host(.ic-typography-vertical-margins-subtitle-small),:host(.ic-typography-vertical-margins-body),:host(.ic-typography-vertical-margins-code-large),:host(.ic-typography-vertical-margins-code-small),:host(.ic-typography-vertical-margins-code-extra-small){margin:0 0 var(--ic-space-md)}:host(.ic-typography-vertical-margins-caption),:host(.ic-typography-vertical-margins-caption-uppercase){margin:0 0 var(--ic-space-xs)}:host(.ic-typography-vertical-margins-h2:first-child),:host(.ic-typography-vertical-margins-h3:first-child),:host(.ic-typography-vertical-margins-h4:first-child){margin-top:0}:host(.ic-typography-h1){font:var(--ic-font-h1)}:host(.ic-typography-h2){font:var(--ic-font-h2);letter-spacing:var(--ic-font-letter-spacing-0pt0025)}:host(.ic-typography-h3){font:var(--ic-font-h3)}:host(.ic-typography-h4){font:var(--ic-font-h4);letter-spacing:var(--ic-font-letter-spacing-0pt0015)}:host(.ic-typography-subtitle-large){font:var(--ic-font-subtitle-large);letter-spacing:var(--ic-font-letter-spacing-0pt0015)}:host(.ic-typography-subtitle-small){font:var(--ic-font-subtitle-small);letter-spacing:var(--ic-font-letter-spacing-0pt0015)}:host(.ic-typography-body){font:var(--ic-font-body);letter-spacing:var(--ic-font-letter-spacing-0pt005)}:host(.ic-typography-caption){font:var(--ic-font-caption);letter-spacing:var(--ic-font-letter-spacing-0pt0025)}:host(.ic-typography-caption-uppercase){font:var(--ic-font-caption);letter-spacing:var(--ic-font-letter-spacing-0pt0025);text-transform:uppercase}:host(.ic-typography-label){font:var(--ic-font-label);letter-spacing:var(--ic-font-letter-spacing-0pt025)}:host(.ic-typography-label-uppercase){font:var(--ic-font-label);letter-spacing:var(--ic-font-letter-spacing-0pt025);text-transform:uppercase}:host(.ic-typography-code-large){font:var(--ic-font-code-large);letter-spacing:var(--ic-font-letter-spacing-0pt025)}:host(.ic-typography-code-small){font:var(--ic-font-code-small);letter-spacing:var(--ic-font-letter-spacing-0pt005)}:host(.ic-typography-code-extra-small){font:var(--ic-font-code-extra-small);letter-spacing:var(--ic-font-letter-spacing-0pt025)}:host(.ic-typography-no-wrap){white-space:nowrap}:host ::slotted(h1),:host ::slotted(h2),:host ::slotted(h3),:host ::slotted(h4),:host ::slotted(h5),:host ::slotted(h6),:host ::slotted(p),:host ::slotted(label){font:inherit;letter-spacing:inherit}.trunc-wrapper{display:-webkit-box;-webkit-box-orient:vertical;line-clamp:var(--truncation-max-lines, initial);-webkit-line-clamp:var(--truncation-max-lines, initial);overflow:hidden}.trunc-btn{border:none;background:none;padding:0;color:var(--ic-color-primary-text);text-decoration:underline;font-weight:var(--ic-font-weight-bold);transition:var(--ic-easing-transition-fast)}.trunc-btn:hover,.trunc-btn.focus{outline:none;border-bottom:var(--ic-space-xxs) solid !important;margin-bottom:calc(-1 * var(--ic-space-xxs)) !important;text-decoration:none;cursor:pointer}@supports (text-decoration-thickness: 25%){.trunc-btn:hover,.trunc-btn.focus{text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:25%;border-bottom:0 !important;margin-bottom:0 !important}}";
5
+ const icTypographyCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;position:relative}:host(.ic-typography-vertical-margins-h1){margin:0 0 var(--ic-space-xl)}:host(.ic-typography-vertical-margins-h2){margin:var(--ic-space-xxl) 0 var(--ic-space-lg)}:host(.ic-typography-vertical-margins-h3){margin:var(--ic-space-xl) 0 var(--ic-space-md)}:host(.ic-typography-vertical-margins-h4){margin:var(--ic-space-lg) 0 var(--ic-space-md)}:host(.ic-typography-vertical-margins-subtitle-large),:host(.ic-typography-vertical-margins-subtitle-small),:host(.ic-typography-vertical-margins-body),:host(.ic-typography-vertical-margins-code-large),:host(.ic-typography-vertical-margins-code-small),:host(.ic-typography-vertical-margins-code-extra-small){margin:0 0 var(--ic-space-md)}:host(.ic-typography-vertical-margins-caption),:host(.ic-typography-vertical-margins-caption-uppercase){margin:0 0 var(--ic-space-xs)}:host(.ic-typography-vertical-margins-h2:first-child),:host(.ic-typography-vertical-margins-h3:first-child),:host(.ic-typography-vertical-margins-h4:first-child){margin-top:0}:host(.ic-typography-h1){font:var(--ic-font-h1) !important}:host(.ic-typography-h2){font:var(--ic-font-h2);letter-spacing:var(--ic-font-letter-spacing-0pt0025)}:host(.ic-typography-h3){font:var(--ic-font-h3)}:host(.ic-typography-h4){font:var(--ic-font-h4);letter-spacing:var(--ic-font-letter-spacing-0pt0015)}:host(.ic-typography-subtitle-large){font:var(--ic-font-subtitle-large);letter-spacing:var(--ic-font-letter-spacing-0pt0015)}:host(.ic-typography-subtitle-small){font:var(--ic-font-subtitle-small);letter-spacing:var(--ic-font-letter-spacing-0pt0015)}:host(.ic-typography-body){font:var(--ic-font-body);letter-spacing:var(--ic-font-letter-spacing-0pt005)}:host(.ic-typography-caption){font:var(--ic-font-caption);letter-spacing:var(--ic-font-letter-spacing-0pt0025)}:host(.ic-typography-caption-uppercase){font:var(--ic-font-caption);letter-spacing:var(--ic-font-letter-spacing-0pt0025);text-transform:uppercase}:host(.ic-typography-label){font:var(--ic-font-label);letter-spacing:var(--ic-font-letter-spacing-0pt025)}:host(.ic-typography-label-uppercase){font:var(--ic-font-label);letter-spacing:var(--ic-font-letter-spacing-0pt025);text-transform:uppercase}:host(.ic-typography-code-large){font:var(--ic-font-code-large);letter-spacing:var(--ic-font-letter-spacing-0pt025)}:host(.ic-typography-code-small){font:var(--ic-font-code-small);letter-spacing:var(--ic-font-letter-spacing-0pt005)}:host(.ic-typography-code-extra-small){font:var(--ic-font-code-extra-small);letter-spacing:var(--ic-font-letter-spacing-0pt025)}:host(.ic-typography-no-wrap){white-space:nowrap}:host ::slotted(h1),:host ::slotted(h2),:host ::slotted(h3),:host ::slotted(h4),:host ::slotted(h5),:host ::slotted(h6),:host ::slotted(p),:host ::slotted(label){font:inherit;letter-spacing:inherit}.trunc-wrapper{display:-webkit-box;-webkit-box-orient:vertical;line-clamp:var(--truncation-max-lines, initial);-webkit-line-clamp:var(--truncation-max-lines, initial);overflow:hidden}.trunc-btn{border:none;background:none;padding:0;color:var(--ic-color-primary-text);text-decoration:underline;font-weight:var(--ic-font-weight-bold);transition:var(--ic-easing-transition-fast)}.trunc-btn:hover,.trunc-btn.focus{outline:none;border-bottom:var(--ic-space-xxs) solid !important;margin-bottom:calc(-1 * var(--ic-space-xxs)) !important;text-decoration:none;cursor:pointer}:host(.strikethrough){text-decoration:line-through}:host(.underline){text-decoration:underline}:host(.underline.strikethrough){text-decoration:line-through underline}:host(.italic){font-style:italic !important}:host(.bold){font-weight:var(--ic-font-weight-bold)}@supports (text-decoration-thickness: 25%){.trunc-btn:hover,.trunc-btn.focus{text-decoration-line:underline;text-decoration-thickness:25%;text-underline-offset:25%;border-bottom:0 !important;margin-bottom:0 !important}}";
6
6
 
7
7
  const Typography = class {
8
8
  constructor(hostRef) {
@@ -74,7 +74,11 @@ const Typography = class {
74
74
  this.truncated = false;
75
75
  this.truncButtonFocussed = false;
76
76
  this.applyVerticalMargins = false;
77
+ this.bold = false;
78
+ this.italic = false;
77
79
  this.maxLines = undefined;
80
+ this.strikethrough = false;
81
+ this.underline = false;
78
82
  this.variant = "body";
79
83
  this.expanded = false;
80
84
  }
@@ -98,10 +102,14 @@ const Typography = class {
98
102
  }
99
103
  }
100
104
  render() {
101
- const { variant, applyVerticalMargins, maxLines, truncated, expanded } = this;
105
+ const { variant, applyVerticalMargins, maxLines, truncated, expanded, strikethrough, underline, italic, bold, } = this;
102
106
  return (h(Host, { class: {
103
107
  [`ic-typography-${variant}`]: true,
104
108
  [`ic-typography-vertical-margins-${variant}`]: applyVerticalMargins,
109
+ ["bold"]: bold,
110
+ ["italic"]: italic,
111
+ ["strikethrough"]: strikethrough,
112
+ ["underline"]: underline,
105
113
  } }, variant === "body" && maxLines > 0 ? (h("div", { class: "trunc-wrapper", ref: (el) => (this.truncWrapperEl = el) }, h("slot", null))) : (h("slot", null)), variant === "body" && maxLines > 0 && truncated && (h("button", { class: { "trunc-btn": true, focus: this.truncButtonFocussed }, onFocus: this.truncButtonFocus, onBlur: this.truncButtonBlur, onMouseDown: this.truncButtonFocusFromMouse, onClick: this.toggleExpanded, "aria-hidden": "true" }, expanded ? "See less" : "See more"))));
106
114
  }
107
115
  get el() { return getElement(this); }
@@ -1 +1 @@
1
- {"file":"ic-typography.entry.js","mappings":"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","names":[],"sources":["./src/components/ic-typography/ic-typography.css?tag=ic-typography&encapsulation=shadow","./src/components/ic-typography/ic-typography.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n display: block;\n position: relative;\n}\n\n:host(.ic-typography-vertical-margins-h1) {\n margin: 0 0 var(--ic-space-xl);\n}\n\n:host(.ic-typography-vertical-margins-h2) {\n margin: var(--ic-space-xxl) 0 var(--ic-space-lg);\n}\n\n:host(.ic-typography-vertical-margins-h3) {\n margin: var(--ic-space-xl) 0 var(--ic-space-md);\n}\n\n:host(.ic-typography-vertical-margins-h4) {\n margin: var(--ic-space-lg) 0 var(--ic-space-md);\n}\n\n:host(.ic-typography-vertical-margins-subtitle-large),\n:host(.ic-typography-vertical-margins-subtitle-small),\n:host(.ic-typography-vertical-margins-body),\n:host(.ic-typography-vertical-margins-code-large),\n:host(.ic-typography-vertical-margins-code-small),\n:host(.ic-typography-vertical-margins-code-extra-small) {\n margin: 0 0 var(--ic-space-md);\n}\n\n:host(.ic-typography-vertical-margins-caption),\n:host(.ic-typography-vertical-margins-caption-uppercase) {\n margin: 0 0 var(--ic-space-xs);\n}\n\n:host(.ic-typography-vertical-margins-h2:first-child),\n:host(.ic-typography-vertical-margins-h3:first-child),\n:host(.ic-typography-vertical-margins-h4:first-child) {\n margin-top: 0;\n}\n\n:host(.ic-typography-h1) {\n font: var(--ic-font-h1);\n}\n\n:host(.ic-typography-h2) {\n font: var(--ic-font-h2);\n letter-spacing: var(--ic-font-letter-spacing-0pt0025);\n}\n\n:host(.ic-typography-h3) {\n font: var(--ic-font-h3);\n}\n\n:host(.ic-typography-h4) {\n font: var(--ic-font-h4);\n letter-spacing: var(--ic-font-letter-spacing-0pt0015);\n}\n\n:host(.ic-typography-subtitle-large) {\n font: var(--ic-font-subtitle-large);\n letter-spacing: var(--ic-font-letter-spacing-0pt0015);\n}\n\n:host(.ic-typography-subtitle-small) {\n font: var(--ic-font-subtitle-small);\n letter-spacing: var(--ic-font-letter-spacing-0pt0015);\n}\n\n:host(.ic-typography-body) {\n font: var(--ic-font-body);\n letter-spacing: var(--ic-font-letter-spacing-0pt005);\n}\n\n:host(.ic-typography-caption) {\n font: var(--ic-font-caption);\n letter-spacing: var(--ic-font-letter-spacing-0pt0025);\n}\n\n:host(.ic-typography-caption-uppercase) {\n font: var(--ic-font-caption);\n letter-spacing: var(--ic-font-letter-spacing-0pt0025);\n text-transform: uppercase;\n}\n\n:host(.ic-typography-label) {\n font: var(--ic-font-label);\n letter-spacing: var(--ic-font-letter-spacing-0pt025);\n}\n\n:host(.ic-typography-label-uppercase) {\n font: var(--ic-font-label);\n letter-spacing: var(--ic-font-letter-spacing-0pt025);\n text-transform: uppercase;\n}\n\n:host(.ic-typography-code-large) {\n font: var(--ic-font-code-large);\n letter-spacing: var(--ic-font-letter-spacing-0pt025);\n}\n\n:host(.ic-typography-code-small) {\n font: var(--ic-font-code-small);\n letter-spacing: var(--ic-font-letter-spacing-0pt005);\n}\n\n:host(.ic-typography-code-extra-small) {\n font: var(--ic-font-code-extra-small);\n letter-spacing: var(--ic-font-letter-spacing-0pt025);\n}\n\n:host(.ic-typography-no-wrap) {\n white-space: nowrap;\n}\n\n:host ::slotted(h1),\n:host ::slotted(h2),\n:host ::slotted(h3),\n:host ::slotted(h4),\n:host ::slotted(h5),\n:host ::slotted(h6),\n:host ::slotted(p),\n:host ::slotted(label) {\n font: inherit;\n letter-spacing: inherit;\n}\n\n.trunc-wrapper {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n line-clamp: var(--truncation-max-lines, initial);\n -webkit-line-clamp: var(--truncation-max-lines, initial);\n overflow: hidden;\n}\n\n.trunc-btn {\n border: none;\n background: none;\n padding: 0;\n color: var(--ic-color-primary-text);\n text-decoration: underline;\n font-weight: var(--ic-font-weight-bold);\n transition: var(--ic-easing-transition-fast);\n}\n\n.trunc-btn:hover,\n.trunc-btn.focus {\n outline: none;\n border-bottom: var(--ic-space-xxs) solid !important;\n margin-bottom: calc(-1 * var(--ic-space-xxs)) !important;\n text-decoration: none;\n cursor: pointer;\n}\n\n@supports (text-decoration-thickness: 25%) {\n .trunc-btn:hover,\n .trunc-btn.focus {\n text-decoration-line: underline;\n text-decoration-thickness: 25%;\n text-underline-offset: 25%;\n border-bottom: 0 !important;\n margin-bottom: 0 !important;\n }\n}\n","import { Component, Prop, h, Element, Host, State, Watch } from \"@stencil/core\";\n\nimport { IcTypographyVariants } from \"../../utils/types\";\nimport { checkResizeObserver } from \"../../utils/helpers\";\n\n@Component({\n styleUrl: \"ic-typography.css\",\n tag: \"ic-typography\",\n shadow: true,\n})\nexport class Typography {\n private focusBtnFromKeyboard: boolean = true;\n private lastMarkerTop: number = 0;\n private lastWidth: number = 0;\n private marker: HTMLElement;\n private resizeInterval: number;\n private resizeObserver: ResizeObserver = null;\n private truncatedHeight: number = 0;\n private truncWrapperEl: Element;\n\n @Element() el: HTMLIcTypographyElement;\n\n @State() truncated: boolean = false;\n @State() truncButtonFocussed: boolean = false;\n\n /**\n * If `true`, appropriate top and bottom margins will be applied to the typography.\n */\n @Prop() applyVerticalMargins?: boolean = false;\n\n /**\n * The number of lines to display before truncating the text, only used for the 'body' variant.\n */\n @Prop() maxLines?: number;\n\n /**\n * The ICDS typography style to use.\n */\n @Prop() variant?: IcTypographyVariants = \"body\";\n\n @State() expanded: boolean = false;\n\n @Watch(\"expanded\")\n watchExpandedHandler(): void {\n this.el.setAttribute(\n \"style\",\n `--truncation-max-lines: ${this.expanded ? \"initial\" : this.maxLines}`\n );\n }\n\n disconnectedCallback(): void {\n if (this.resizeObserver !== null) {\n this.resizeObserver.disconnect();\n }\n }\n\n componentDidLoad(): void {\n if (this.variant === \"body\" && this.maxLines > 0) {\n const marker = document.createElement(\"span\");\n marker.style.visibility = \"hidden\";\n this.el.appendChild(marker);\n this.marker = marker;\n this.lastWidth = this.el.clientWidth;\n this.checkMaxLines(this.el.clientHeight);\n checkResizeObserver(this.runResizeObserver);\n }\n }\n\n private toggleExpanded = () => {\n this.expanded = !this.expanded;\n };\n\n private checkMaxLines = (height: number) => {\n //24 is the height of a single line\n const numLines = Math.floor(height / 24);\n if (numLines > this.maxLines) {\n this.el.setAttribute(\"style\", `--truncation-max-lines: ${this.maxLines}`);\n this.truncatedHeight = this.el.clientHeight;\n this.truncated = true;\n }\n };\n\n private checkMarkerPosition = (elTop: number, markerTop: number) => {\n if (markerTop - elTop < this.truncatedHeight) {\n this.truncated = false;\n this.expanded = false;\n } else {\n this.truncated = true;\n }\n };\n\n private getElementTop = (el: HTMLElement) => {\n return el.getClientRects ? el.getClientRects()[0].top : 0;\n };\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n clearTimeout(this.resizeInterval);\n this.resizeInterval = window.setTimeout(this.resizeObserverCallback, 50);\n });\n this.resizeObserver.observe(this.truncWrapperEl);\n };\n\n private resizeObserverCallback = () => {\n if (this.lastWidth === this.el.clientWidth) {\n return;\n }\n\n if (this.truncatedHeight === 0) {\n this.checkMaxLines(this.el.clientHeight);\n return;\n }\n\n const markerTop = this.getElementTop(this.marker);\n if (markerTop === this.lastMarkerTop) {\n return;\n }\n\n this.checkMarkerPosition(this.getElementTop(this.el), markerTop);\n this.lastMarkerTop = markerTop;\n this.lastWidth = this.el.clientWidth;\n };\n\n private truncButtonFocus = (): void => {\n if (this.focusBtnFromKeyboard) {\n this.truncButtonFocussed = true;\n }\n };\n\n private truncButtonBlur = (): void => {\n this.focusBtnFromKeyboard = true;\n this.truncButtonFocussed = false;\n };\n\n private truncButtonFocusFromMouse = (): void => {\n this.focusBtnFromKeyboard = false;\n };\n\n render() {\n const { variant, applyVerticalMargins, maxLines, truncated, expanded } =\n this;\n\n return (\n <Host\n class={{\n [`ic-typography-${variant}`]: true,\n [`ic-typography-vertical-margins-${variant}`]: applyVerticalMargins,\n }}\n >\n {variant === \"body\" && maxLines > 0 ? (\n <div class=\"trunc-wrapper\" ref={(el) => (this.truncWrapperEl = el)}>\n <slot />\n </div>\n ) : (\n <slot />\n )}\n {variant === \"body\" && maxLines > 0 && truncated && (\n <button\n class={{ \"trunc-btn\": true, focus: this.truncButtonFocussed }}\n onFocus={this.truncButtonFocus}\n onBlur={this.truncButtonBlur}\n onMouseDown={this.truncButtonFocusFromMouse}\n onClick={this.toggleExpanded}\n aria-hidden=\"true\"\n >\n {expanded ? \"See less\" : \"See more\"}\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-typography.entry.js","mappings":"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","names":[],"sources":["src/components/ic-typography/ic-typography.css?tag=ic-typography&encapsulation=shadow","src/components/ic-typography/ic-typography.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n display: block;\n position: relative;\n}\n\n:host(.ic-typography-vertical-margins-h1) {\n margin: 0 0 var(--ic-space-xl);\n}\n\n:host(.ic-typography-vertical-margins-h2) {\n margin: var(--ic-space-xxl) 0 var(--ic-space-lg);\n}\n\n:host(.ic-typography-vertical-margins-h3) {\n margin: var(--ic-space-xl) 0 var(--ic-space-md);\n}\n\n:host(.ic-typography-vertical-margins-h4) {\n margin: var(--ic-space-lg) 0 var(--ic-space-md);\n}\n\n:host(.ic-typography-vertical-margins-subtitle-large),\n:host(.ic-typography-vertical-margins-subtitle-small),\n:host(.ic-typography-vertical-margins-body),\n:host(.ic-typography-vertical-margins-code-large),\n:host(.ic-typography-vertical-margins-code-small),\n:host(.ic-typography-vertical-margins-code-extra-small) {\n margin: 0 0 var(--ic-space-md);\n}\n\n:host(.ic-typography-vertical-margins-caption),\n:host(.ic-typography-vertical-margins-caption-uppercase) {\n margin: 0 0 var(--ic-space-xs);\n}\n\n:host(.ic-typography-vertical-margins-h2:first-child),\n:host(.ic-typography-vertical-margins-h3:first-child),\n:host(.ic-typography-vertical-margins-h4:first-child) {\n margin-top: 0;\n}\n\n:host(.ic-typography-h1) {\n font: var(--ic-font-h1) !important;\n}\n\n:host(.ic-typography-h2) {\n font: var(--ic-font-h2);\n letter-spacing: var(--ic-font-letter-spacing-0pt0025);\n}\n\n:host(.ic-typography-h3) {\n font: var(--ic-font-h3);\n}\n\n:host(.ic-typography-h4) {\n font: var(--ic-font-h4);\n letter-spacing: var(--ic-font-letter-spacing-0pt0015);\n}\n\n:host(.ic-typography-subtitle-large) {\n font: var(--ic-font-subtitle-large);\n letter-spacing: var(--ic-font-letter-spacing-0pt0015);\n}\n\n:host(.ic-typography-subtitle-small) {\n font: var(--ic-font-subtitle-small);\n letter-spacing: var(--ic-font-letter-spacing-0pt0015);\n}\n\n:host(.ic-typography-body) {\n font: var(--ic-font-body);\n letter-spacing: var(--ic-font-letter-spacing-0pt005);\n}\n\n:host(.ic-typography-caption) {\n font: var(--ic-font-caption);\n letter-spacing: var(--ic-font-letter-spacing-0pt0025);\n}\n\n:host(.ic-typography-caption-uppercase) {\n font: var(--ic-font-caption);\n letter-spacing: var(--ic-font-letter-spacing-0pt0025);\n text-transform: uppercase;\n}\n\n:host(.ic-typography-label) {\n font: var(--ic-font-label);\n letter-spacing: var(--ic-font-letter-spacing-0pt025);\n}\n\n:host(.ic-typography-label-uppercase) {\n font: var(--ic-font-label);\n letter-spacing: var(--ic-font-letter-spacing-0pt025);\n text-transform: uppercase;\n}\n\n:host(.ic-typography-code-large) {\n font: var(--ic-font-code-large);\n letter-spacing: var(--ic-font-letter-spacing-0pt025);\n}\n\n:host(.ic-typography-code-small) {\n font: var(--ic-font-code-small);\n letter-spacing: var(--ic-font-letter-spacing-0pt005);\n}\n\n:host(.ic-typography-code-extra-small) {\n font: var(--ic-font-code-extra-small);\n letter-spacing: var(--ic-font-letter-spacing-0pt025);\n}\n\n:host(.ic-typography-no-wrap) {\n white-space: nowrap;\n}\n\n:host ::slotted(h1),\n:host ::slotted(h2),\n:host ::slotted(h3),\n:host ::slotted(h4),\n:host ::slotted(h5),\n:host ::slotted(h6),\n:host ::slotted(p),\n:host ::slotted(label) {\n font: inherit;\n letter-spacing: inherit;\n}\n\n.trunc-wrapper {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n line-clamp: var(--truncation-max-lines, initial);\n -webkit-line-clamp: var(--truncation-max-lines, initial);\n overflow: hidden;\n}\n\n.trunc-btn {\n border: none;\n background: none;\n padding: 0;\n color: var(--ic-color-primary-text);\n text-decoration: underline;\n font-weight: var(--ic-font-weight-bold);\n transition: var(--ic-easing-transition-fast);\n}\n\n.trunc-btn:hover,\n.trunc-btn.focus {\n outline: none;\n border-bottom: var(--ic-space-xxs) solid !important;\n margin-bottom: calc(-1 * var(--ic-space-xxs)) !important;\n text-decoration: none;\n cursor: pointer;\n}\n\n:host(.strikethrough) {\n text-decoration: line-through;\n}\n\n:host(.underline) {\n text-decoration: underline;\n}\n\n:host(.underline.strikethrough) {\n text-decoration: line-through underline;\n}\n\n:host(.italic) {\n font-style: italic !important;\n}\n\n:host(.bold) {\n font-weight: var(--ic-font-weight-bold);\n}\n\n@supports (text-decoration-thickness: 25%) {\n .trunc-btn:hover,\n .trunc-btn.focus {\n text-decoration-line: underline;\n text-decoration-thickness: 25%;\n text-underline-offset: 25%;\n border-bottom: 0 !important;\n margin-bottom: 0 !important;\n }\n}\n","import { Component, Prop, h, Element, Host, State, Watch } from \"@stencil/core\";\n\nimport { IcTypographyVariants } from \"../../utils/types\";\nimport { checkResizeObserver } from \"../../utils/helpers\";\n\n@Component({\n styleUrl: \"ic-typography.css\",\n tag: \"ic-typography\",\n shadow: true,\n})\nexport class Typography {\n private focusBtnFromKeyboard: boolean = true;\n private lastMarkerTop: number = 0;\n private lastWidth: number = 0;\n private marker: HTMLElement;\n private resizeInterval: number;\n private resizeObserver: ResizeObserver = null;\n private truncatedHeight: number = 0;\n private truncWrapperEl: Element;\n\n @Element() el: HTMLIcTypographyElement;\n\n @State() truncated: boolean = false;\n @State() truncButtonFocussed: boolean = false;\n\n /**\n * If `true`, appropriate top and bottom margins will be applied to the typography.\n */\n @Prop() applyVerticalMargins?: boolean = false;\n\n /**\n * If `true`, the typography will have a bold font weight.\n * Note: This will have no impact on variants that already use an equivalent or higher font weight (h1, h2, and subtitle-large).\n */\n @Prop() bold?: boolean = false;\n\n /**\n * If `true`, the typography will have an italic font style.\n */\n @Prop() italic?: boolean = false;\n\n /**\n * The number of lines to display before truncating the text, only used for the 'body' variant.\n */\n @Prop() maxLines?: number;\n\n /**\n * If `true`, the typography will have a line through it.\n */\n @Prop() strikethrough?: boolean = false;\n\n /**\n * If `true`, the typography will have a line under it.\n */\n @Prop() underline?: boolean = false;\n\n /**\n * The ICDS typography style to use.\n */\n @Prop() variant?: IcTypographyVariants = \"body\";\n\n @State() expanded: boolean = false;\n\n @Watch(\"expanded\")\n watchExpandedHandler(): void {\n this.el.setAttribute(\n \"style\",\n `--truncation-max-lines: ${this.expanded ? \"initial\" : this.maxLines}`\n );\n }\n\n disconnectedCallback(): void {\n if (this.resizeObserver !== null) {\n this.resizeObserver.disconnect();\n }\n }\n\n componentDidLoad(): void {\n if (this.variant === \"body\" && this.maxLines > 0) {\n const marker = document.createElement(\"span\");\n marker.style.visibility = \"hidden\";\n this.el.appendChild(marker);\n this.marker = marker;\n this.lastWidth = this.el.clientWidth;\n this.checkMaxLines(this.el.clientHeight);\n checkResizeObserver(this.runResizeObserver);\n }\n }\n\n private toggleExpanded = () => {\n this.expanded = !this.expanded;\n };\n\n private checkMaxLines = (height: number) => {\n //24 is the height of a single line\n const numLines = Math.floor(height / 24);\n if (numLines > this.maxLines) {\n this.el.setAttribute(\"style\", `--truncation-max-lines: ${this.maxLines}`);\n this.truncatedHeight = this.el.clientHeight;\n this.truncated = true;\n }\n };\n\n private checkMarkerPosition = (elTop: number, markerTop: number) => {\n if (markerTop - elTop < this.truncatedHeight) {\n this.truncated = false;\n this.expanded = false;\n } else {\n this.truncated = true;\n }\n };\n\n private getElementTop = (el: HTMLElement) => {\n return el.getClientRects ? el.getClientRects()[0].top : 0;\n };\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n clearTimeout(this.resizeInterval);\n this.resizeInterval = window.setTimeout(this.resizeObserverCallback, 50);\n });\n this.resizeObserver.observe(this.truncWrapperEl);\n };\n\n private resizeObserverCallback = () => {\n if (this.lastWidth === this.el.clientWidth) {\n return;\n }\n\n if (this.truncatedHeight === 0) {\n this.checkMaxLines(this.el.clientHeight);\n return;\n }\n\n const markerTop = this.getElementTop(this.marker);\n if (markerTop === this.lastMarkerTop) {\n return;\n }\n\n this.checkMarkerPosition(this.getElementTop(this.el), markerTop);\n this.lastMarkerTop = markerTop;\n this.lastWidth = this.el.clientWidth;\n };\n\n private truncButtonFocus = (): void => {\n if (this.focusBtnFromKeyboard) {\n this.truncButtonFocussed = true;\n }\n };\n\n private truncButtonBlur = (): void => {\n this.focusBtnFromKeyboard = true;\n this.truncButtonFocussed = false;\n };\n\n private truncButtonFocusFromMouse = (): void => {\n this.focusBtnFromKeyboard = false;\n };\n\n render() {\n const {\n variant,\n applyVerticalMargins,\n maxLines,\n truncated,\n expanded,\n strikethrough,\n underline,\n italic,\n bold,\n } = this;\n\n return (\n <Host\n class={{\n [`ic-typography-${variant}`]: true,\n [`ic-typography-vertical-margins-${variant}`]: applyVerticalMargins,\n [\"bold\"]: bold,\n [\"italic\"]: italic,\n [\"strikethrough\"]: strikethrough,\n [\"underline\"]: underline,\n }}\n >\n {variant === \"body\" && maxLines > 0 ? (\n <div class=\"trunc-wrapper\" ref={(el) => (this.truncWrapperEl = el)}>\n <slot />\n </div>\n ) : (\n <slot />\n )}\n {variant === \"body\" && maxLines > 0 && truncated && (\n <button\n class={{ \"trunc-btn\": true, focus: this.truncButtonFocussed }}\n onFocus={this.truncButtonFocus}\n onBlur={this.truncButtonBlur}\n onMouseDown={this.truncButtonFocusFromMouse}\n onClick={this.toggleExpanded}\n aria-hidden=\"true\"\n >\n {expanded ? \"See less\" : \"See more\"}\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -118,13 +118,13 @@ const h = (nodeName, vnodeData, ...children) => {
118
118
  };
119
119
  walk(children);
120
120
  if (vnodeData) {
121
- // normalize class / classname attributes
122
121
  if (vnodeData.key) {
123
122
  key = vnodeData.key;
124
123
  }
125
124
  if (vnodeData.name) {
126
125
  slotName = vnodeData.name;
127
126
  }
127
+ // normalize class / className attributes
128
128
  {
129
129
  const classData = vnodeData.className || vnodeData.class;
130
130
  if (classData) {
@@ -370,7 +370,7 @@ const clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes
370
370
  }
371
371
  }
372
372
  else if (childVNode.$hostId$ === hostId) {
373
- // this comment node is specifcally for this host id
373
+ // this comment node is specifically for this host id
374
374
  if (childNodeType === SLOT_NODE_ID) {
375
375
  // `${SLOT_NODE_ID}.${hostId}.${nodeId}.${depth}.${index}.${slotName}`;
376
376
  childVNode.$tag$ = 'slot';
@@ -537,9 +537,9 @@ const registerStyle = (scopeId, cssText, allowCS) => {
537
537
  }
538
538
  styles.set(scopeId, style);
539
539
  };
540
- const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
540
+ const addStyle = (styleContainerNode, cmpMeta, mode) => {
541
541
  var _a;
542
- let scopeId = getScopeId(cmpMeta);
542
+ const scopeId = getScopeId(cmpMeta);
543
543
  const style = styles.get(scopeId);
544
544
  // if an element is NOT connected then getRootNode() will return the wrong root node
545
545
  // so the fallback is to always use the document for the root node in those cases
@@ -559,11 +559,8 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
559
559
  styleElm.innerHTML = style;
560
560
  }
561
561
  else {
562
- // TODO(STENCIL-659): Remove code implementing the CSS variable shim
563
- {
564
- styleElm = doc.createElement('style');
565
- styleElm.innerHTML = style;
566
- }
562
+ styleElm = doc.createElement('style');
563
+ styleElm.innerHTML = style;
567
564
  // Apply CSP nonce to the style tag if it exists
568
565
  const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
569
566
  if (nonce != null) {
@@ -588,7 +585,6 @@ const attachStyles = (hostRef) => {
588
585
  const flags = cmpMeta.$flags$;
589
586
  const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
590
587
  const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
591
- // TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
592
588
  if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
593
589
  // only required when we're NOT using native shadow dom (slot)
594
590
  // or this browser doesn't support native shadow dom
@@ -615,6 +611,21 @@ const convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g
615
611
  *
616
612
  * Modified for Stencil's compiler and vdom
617
613
  */
614
+ /**
615
+ * When running a VDom render set properties present on a VDom node onto the
616
+ * corresponding HTML element.
617
+ *
618
+ * Note that this function has special functionality for the `class`,
619
+ * `style`, `key`, and `ref` attributes, as well as event handlers (like
620
+ * `onClick`, etc). All others are just passed through as-is.
621
+ *
622
+ * @param elm the HTMLElement onto which attributes should be set
623
+ * @param memberName the name of the attribute to set
624
+ * @param oldValue the old value for the attribute
625
+ * @param newValue the new value for the attribute
626
+ * @param isSvg whether we're in an svg context or not
627
+ * @param flags bitflags for Vdom variables
628
+ */
618
629
  const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
619
630
  if (oldValue !== newValue) {
620
631
  let isProp = isMemberInElement(elm, memberName);
@@ -1477,17 +1488,44 @@ const nullifyVNodeRefs = (vNode) => {
1477
1488
  * @param hostRef data needed to root and render the virtual DOM tree, such as
1478
1489
  * the DOM node into which it should be rendered.
1479
1490
  * @param renderFnResults the virtual DOM nodes to be rendered
1491
+ * @param isInitialLoad whether or not this is the first call after page load
1480
1492
  */
1481
- const renderVdom = (hostRef, renderFnResults) => {
1493
+ const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1482
1494
  const hostElm = hostRef.$hostElement$;
1483
1495
  const cmpMeta = hostRef.$cmpMeta$;
1484
1496
  const oldVNode = hostRef.$vnode$ || newVNode(null, null);
1497
+ // if `renderFnResults` is a Host node then we can use it directly. If not,
1498
+ // we need to call `h` again to wrap the children of our component in a
1499
+ // 'dummy' Host node (well, an empty vnode) since `renderVdom` assumes
1500
+ // implicitly that the top-level vdom node is 1) an only child and 2)
1501
+ // contains attrs that need to be set on the host element.
1485
1502
  const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
1486
1503
  hostTagName = hostElm.tagName;
1487
1504
  if (cmpMeta.$attrsToReflect$) {
1488
1505
  rootVnode.$attrs$ = rootVnode.$attrs$ || {};
1489
1506
  cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
1490
1507
  }
1508
+ // On the first render and *only* on the first render we want to check for
1509
+ // any attributes set on the host element which are also set on the vdom
1510
+ // node. If we find them, we override the value on the VDom node attrs with
1511
+ // the value from the host element, which allows developers building apps
1512
+ // with Stencil components to override e.g. the `role` attribute on a
1513
+ // component even if it's already set on the `Host`.
1514
+ if (isInitialLoad && rootVnode.$attrs$) {
1515
+ for (const key of Object.keys(rootVnode.$attrs$)) {
1516
+ // We have a special implementation in `setAccessor` for `style` and
1517
+ // `class` which reconciles values coming from the VDom with values
1518
+ // already present on the DOM element, so we don't want to override those
1519
+ // attributes on the VDom tree with values from the host element if they
1520
+ // are present.
1521
+ //
1522
+ // Likewise, `ref` and `key` are special internal values for the Stencil
1523
+ // runtime and we don't want to override those either.
1524
+ if (hostElm.hasAttribute(key) && !['key', 'ref', 'style', 'class'].includes(key)) {
1525
+ rootVnode.$attrs$[key] = hostElm[key];
1526
+ }
1527
+ }
1528
+ }
1491
1529
  rootVnode.$tag$ = null;
1492
1530
  rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
1493
1531
  hostRef.$vnode$ = rootVnode;
@@ -1554,7 +1592,7 @@ const renderVdom = (hostRef, renderFnResults) => {
1554
1592
  // has a different next sibling or parent relocated
1555
1593
  if (nodeToRelocate !== insertBeforeNode) {
1556
1594
  if (!nodeToRelocate['s-hn'] && nodeToRelocate['s-ol']) {
1557
- // probably a component in the index.html that doesn't have it's hostname set
1595
+ // probably a component in the index.html that doesn't have its hostname set
1558
1596
  nodeToRelocate['s-hn'] = nodeToRelocate['s-ol'].parentNode.nodeName;
1559
1597
  }
1560
1598
  // add it back to the dom but in its new home
@@ -1688,6 +1726,16 @@ const enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.th
1688
1726
  */
1689
1727
  const isPromisey = (maybePromise) => maybePromise instanceof Promise ||
1690
1728
  (maybePromise && maybePromise.then && typeof maybePromise.then === 'function');
1729
+ /**
1730
+ * Update a component given reference to its host elements and so on.
1731
+ *
1732
+ * @param hostRef an object containing references to the element's host node,
1733
+ * VDom nodes, and other metadata
1734
+ * @param instance a reference to the underlying host element where it will be
1735
+ * rendered
1736
+ * @param isInitialLoad whether or not this function is being called as part of
1737
+ * the first render cycle
1738
+ */
1691
1739
  const updateComponent = async (hostRef, instance, isInitialLoad) => {
1692
1740
  var _a;
1693
1741
  const elm = hostRef.$hostElement$;
@@ -1699,7 +1747,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
1699
1747
  }
1700
1748
  const endRender = createTime('render', hostRef.$cmpMeta$.$tagName$);
1701
1749
  {
1702
- callRender(hostRef, instance);
1750
+ callRender(hostRef, instance, elm, isInitialLoad);
1703
1751
  }
1704
1752
  if (rc) {
1705
1753
  // ok, so turns out there are some child host elements
@@ -1723,7 +1771,19 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
1723
1771
  }
1724
1772
  }
1725
1773
  };
1726
- const callRender = (hostRef, instance, elm) => {
1774
+ /**
1775
+ * Handle making the call to the VDom renderer with the proper context given
1776
+ * various build variables
1777
+ *
1778
+ * @param hostRef an object containing references to the element's host node,
1779
+ * VDom nodes, and other metadata
1780
+ * @param instance a reference to the underlying host element where it will be
1781
+ * rendered
1782
+ * @param elm the Host element for the component
1783
+ * @param isInitialLoad whether or not this function is being called as part of
1784
+ * @returns an empty promise
1785
+ */
1786
+ const callRender = (hostRef, instance, elm, isInitialLoad) => {
1727
1787
  try {
1728
1788
  instance = instance.render() ;
1729
1789
  {
@@ -1738,7 +1798,7 @@ const callRender = (hostRef, instance, elm) => {
1738
1798
  // or we need to update the css class/attrs on the host element
1739
1799
  // DOM WRITE!
1740
1800
  {
1741
- renderVdom(hostRef, instance);
1801
+ renderVdom(hostRef, instance, isInitialLoad);
1742
1802
  }
1743
1803
  }
1744
1804
  }
@@ -1934,12 +1994,12 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1934
1994
  // customElements.define('my-component', MyComponent);
1935
1995
  // </script>
1936
1996
  // ```
1937
- // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
1997
+ // In this case if we do not un-shadow here and use the value of the shadowing property, attributeChangedCallback
1938
1998
  // will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
1939
1999
  // to the value that was set inline i.e. "some-value" from above example. When
1940
- // the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
2000
+ // the connectedCallback attempts to un-shadow it will use "some-value" as the initial value rather than "another-value"
1941
2001
  //
1942
- // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
2002
+ // The case where the attribute was NOT set inline but was not set programmatically shall be handled/un-shadowed
1943
2003
  // by connectedCallback as this attributeChangedCallback will not fire.
1944
2004
  //
1945
2005
  // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
@@ -2086,7 +2146,7 @@ const connectedCallback = (elm) => {
2086
2146
  // if the slot polyfill is required we'll need to put some nodes
2087
2147
  // in here to act as original content anchors as we move nodes around
2088
2148
  // host element has been connected to the DOM
2089
- if ((// TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
2149
+ if ((// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
2090
2150
  cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
2091
2151
  setContentReference(elm);
2092
2152
  }
@@ -2130,7 +2190,12 @@ const connectedCallback = (elm) => {
2130
2190
  // since they would have been removed when disconnected
2131
2191
  addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
2132
2192
  // fire off connectedCallback() on component instance
2133
- fireConnectedCallback(hostRef.$lazyInstance$);
2193
+ if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$) {
2194
+ fireConnectedCallback(hostRef.$lazyInstance$);
2195
+ }
2196
+ else if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$onReadyPromise$) {
2197
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));
2198
+ }
2134
2199
  }
2135
2200
  endConnected();
2136
2201
  }
@@ -2146,18 +2211,25 @@ const setContentReference = (elm) => {
2146
2211
  contentRefElm['s-cn'] = true;
2147
2212
  elm.insertBefore(contentRefElm, elm.firstChild);
2148
2213
  };
2149
- const disconnectedCallback = (elm) => {
2214
+ const disconnectInstance = (instance) => {
2215
+ {
2216
+ safeCall(instance, 'disconnectedCallback');
2217
+ }
2218
+ };
2219
+ const disconnectedCallback = async (elm) => {
2150
2220
  if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
2151
2221
  const hostRef = getHostRef(elm);
2152
- const instance = hostRef.$lazyInstance$ ;
2153
2222
  {
2154
2223
  if (hostRef.$rmListeners$) {
2155
2224
  hostRef.$rmListeners$.map((rmListener) => rmListener());
2156
2225
  hostRef.$rmListeners$ = undefined;
2157
2226
  }
2158
2227
  }
2159
- {
2160
- safeCall(instance, 'disconnectedCallback');
2228
+ if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$) {
2229
+ disconnectInstance(hostRef.$lazyInstance$);
2230
+ }
2231
+ else if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$onReadyPromise$) {
2232
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
2161
2233
  }
2162
2234
  }
2163
2235
  };
@@ -2402,6 +2474,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2402
2474
  return import(
2403
2475
  /* webpackMode: "lazy" */
2404
2476
  './ic-dialog.entry.js').then(processMod, consoleError);
2477
+ case 'ic-empty-state':
2478
+ return import(
2479
+ /* webpackMode: "lazy" */
2480
+ './ic-empty-state.entry.js').then(processMod, consoleError);
2405
2481
  case 'ic-footer':
2406
2482
  return import(
2407
2483
  /* webpackMode: "lazy" */
@@ -2601,7 +2677,7 @@ const plt = {
2601
2677
  ce: (eventName, opts) => new CustomEvent(eventName, opts),
2602
2678
  };
2603
2679
  const supportsShadow =
2604
- // TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
2680
+ // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
2605
2681
  true;
2606
2682
  const promiseResolve = (v) => Promise.resolve(v);
2607
2683
  const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
@@ -2658,4 +2734,4 @@ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
2658
2734
 
2659
2735
  export { Fragment as F, Host as H, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
2660
2736
 
2661
- //# sourceMappingURL=index-fd30b77e.js.map
2737
+ //# sourceMappingURL=index-14c9f375.js.map