@ukic/web-components 2.25.0 → 2.26.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (367) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-80016ff7.js → helpers-94b33ab0.js} +6 -2
  3. package/dist/cjs/helpers-94b33ab0.js.map +1 -0
  4. package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
  5. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  6. package/dist/cjs/ic-alert.cjs.entry.js +17 -1
  7. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  8. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  9. package/dist/cjs/ic-badge.cjs.entry.js +1 -1
  10. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
  11. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  12. package/dist/cjs/ic-button_3.cjs.entry.js +11 -6
  13. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-card.cjs.entry.js +25 -1
  15. package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
  17. package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
  18. package/dist/cjs/ic-chip.cjs.entry.js +9 -3
  19. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ic-classification-banner.cjs.entry.js +12 -3
  21. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  22. package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
  23. package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
  24. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  25. package/dist/cjs/ic-empty-state.cjs.entry.js +20 -1
  26. package/dist/cjs/ic-empty-state.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  29. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  30. package/dist/cjs/ic-hero.cjs.entry.js +17 -1
  31. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  32. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
  33. package/dist/cjs/ic-input-component-container_3.cjs.entry.js +1 -1
  34. package/dist/cjs/ic-input-label_2.cjs.entry.js +1 -1
  35. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  36. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  37. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  38. package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
  39. package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
  40. package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
  41. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  42. package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
  43. package/dist/cjs/ic-pagination-item.cjs.entry.js +1 -1
  44. package/dist/cjs/ic-pagination.cjs.entry.js +1 -1
  45. package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
  46. package/dist/cjs/ic-radio-group.cjs.entry.js +41 -22
  47. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
  49. package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
  50. package/dist/cjs/ic-select.cjs.entry.js +1 -1
  51. package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
  52. package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
  53. package/dist/cjs/ic-step.cjs.entry.js +1 -1
  54. package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
  55. package/dist/cjs/ic-switch.cjs.entry.js +1 -1
  56. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  57. package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
  58. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  59. package/dist/cjs/ic-text-field.cjs.entry.js +1 -1
  60. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  61. package/dist/cjs/ic-toast.cjs.entry.js +1 -1
  62. package/dist/cjs/ic-toggle-button.cjs.entry.js +1 -1
  63. package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
  64. package/dist/cjs/ic-typography.cjs.entry.js +47 -12
  65. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  66. package/dist/cjs/loader.cjs.js +1 -1
  67. package/dist/collection/components/ic-alert/ic-alert.js +18 -2
  68. package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
  69. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +15 -0
  70. package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +1 -1
  71. package/dist/collection/components/ic-card/ic-card.js +26 -2
  72. package/dist/collection/components/ic-card/ic-card.js.map +1 -1
  73. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js +21 -0
  74. package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +1 -1
  75. package/dist/collection/components/ic-chip/ic-chip.css +1 -0
  76. package/dist/collection/components/ic-chip/ic-chip.js +8 -2
  77. package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
  78. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +15 -0
  79. package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -1
  80. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +12 -3
  81. package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
  82. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js +48 -0
  83. package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +1 -1
  84. package/dist/collection/components/ic-empty-state/ic-empty-state.js +21 -2
  85. package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +1 -1
  86. package/dist/collection/components/ic-hero/ic-hero.js +18 -2
  87. package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
  88. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +15 -0
  89. package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -1
  90. package/dist/collection/components/ic-radio-group/ic-radio-group.js +40 -21
  91. package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
  92. package/dist/collection/components/ic-tooltip/ic-tooltip.js +56 -6
  93. package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
  94. package/dist/collection/components/ic-typography/ic-typography.css +8 -0
  95. package/dist/collection/components/ic-typography/ic-typography.js +148 -13
  96. package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
  97. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +55 -0
  98. package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -1
  99. package/dist/collection/utils/helpers.js +4 -1
  100. package/dist/collection/utils/helpers.js.map +1 -1
  101. package/dist/components/helpers.js +5 -2
  102. package/dist/components/helpers.js.map +1 -1
  103. package/dist/components/ic-alert2.js +18 -2
  104. package/dist/components/ic-alert2.js.map +1 -1
  105. package/dist/components/ic-back-to-top.js +1 -1
  106. package/dist/components/ic-badge.js +1 -1
  107. package/dist/components/ic-breadcrumb-group.js +1 -1
  108. package/dist/components/ic-breadcrumb2.js +1 -1
  109. package/dist/components/ic-button2.js +1 -1
  110. package/dist/components/ic-card.js +26 -2
  111. package/dist/components/ic-card.js.map +1 -1
  112. package/dist/components/ic-checkbox-group.js +1 -1
  113. package/dist/components/ic-checkbox.js +1 -1
  114. package/dist/components/ic-chip.js +9 -3
  115. package/dist/components/ic-chip.js.map +1 -1
  116. package/dist/components/ic-classification-banner.js +12 -3
  117. package/dist/components/ic-classification-banner.js.map +1 -1
  118. package/dist/components/ic-data-row.js +1 -1
  119. package/dist/components/ic-dialog.js +1 -1
  120. package/dist/components/ic-divider2.js +1 -1
  121. package/dist/components/ic-empty-state.js +21 -2
  122. package/dist/components/ic-empty-state.js.map +1 -1
  123. package/dist/components/ic-footer-link-group.js +1 -1
  124. package/dist/components/ic-footer-link.js +1 -1
  125. package/dist/components/ic-footer.js +1 -1
  126. package/dist/components/ic-hero.js +18 -2
  127. package/dist/components/ic-hero.js.map +1 -1
  128. package/dist/components/ic-horizontal-scroll2.js +1 -1
  129. package/dist/components/ic-input-component-container2.js +1 -1
  130. package/dist/components/ic-input-label2.js +1 -1
  131. package/dist/components/ic-input-validation2.js +1 -1
  132. package/dist/components/ic-link2.js +1 -1
  133. package/dist/components/ic-loading-indicator2.js +1 -1
  134. package/dist/components/ic-menu-group.js +1 -1
  135. package/dist/components/ic-menu-item2.js +1 -1
  136. package/dist/components/ic-navigation-button.js +1 -1
  137. package/dist/components/ic-navigation-group.js +1 -1
  138. package/dist/components/ic-navigation-item.js +1 -1
  139. package/dist/components/ic-navigation-menu2.js +1 -1
  140. package/dist/components/ic-page-header.js +1 -1
  141. package/dist/components/ic-pagination-item2.js +1 -1
  142. package/dist/components/ic-popover-menu.js +1 -1
  143. package/dist/components/ic-radio-group.js +41 -22
  144. package/dist/components/ic-radio-group.js.map +1 -1
  145. package/dist/components/ic-radio-option.js +1 -1
  146. package/dist/components/ic-search-bar.js +1 -1
  147. package/dist/components/ic-select.js +1 -1
  148. package/dist/components/ic-side-navigation.js +1 -1
  149. package/dist/components/ic-step.js +1 -1
  150. package/dist/components/ic-stepper.js +1 -1
  151. package/dist/components/ic-switch.js +1 -1
  152. package/dist/components/ic-tab-panel.js +1 -1
  153. package/dist/components/ic-text-field2.js +1 -1
  154. package/dist/components/ic-theme.js +1 -1
  155. package/dist/components/ic-toast.js +1 -1
  156. package/dist/components/ic-tooltip2.js +12 -5
  157. package/dist/components/ic-tooltip2.js.map +1 -1
  158. package/dist/components/ic-top-navigation.js +1 -1
  159. package/dist/components/ic-typography2.js +53 -15
  160. package/dist/components/ic-typography2.js.map +1 -1
  161. package/dist/core/core.esm.js +1 -1
  162. package/dist/core/core.esm.js.map +1 -1
  163. package/dist/core/{p-21885256.entry.js → p-02262e76.entry.js} +2 -2
  164. package/dist/core/{p-e720925a.entry.js → p-03f23a55.entry.js} +2 -2
  165. package/dist/core/{p-b85c5581.entry.js → p-093600a2.entry.js} +2 -2
  166. package/dist/core/{p-6fdc8bef.entry.js → p-13a6e7ea.entry.js} +2 -2
  167. package/dist/core/{p-3574b7e4.entry.js → p-13ec2a00.entry.js} +2 -2
  168. package/dist/core/{p-bf70fe93.entry.js → p-1ae6aadb.entry.js} +2 -2
  169. package/dist/core/{p-c9efaee1.entry.js → p-1d6e6ebe.entry.js} +2 -2
  170. package/dist/core/{p-cc3f2353.entry.js → p-223889da.entry.js} +2 -2
  171. package/dist/core/{p-9128a8e0.entry.js → p-227f6a41.entry.js} +2 -2
  172. package/dist/core/{p-2e8aaf89.entry.js → p-230187a8.entry.js} +2 -2
  173. package/dist/core/p-2d930c9c.entry.js +2 -0
  174. package/dist/core/p-2d930c9c.entry.js.map +1 -0
  175. package/dist/core/p-3af60dee.entry.js +2 -0
  176. package/dist/core/{p-ced03499.entry.js.map → p-3af60dee.entry.js.map} +1 -1
  177. package/dist/core/{p-af439ab9.entry.js → p-3b4c9571.entry.js} +2 -2
  178. package/dist/core/{p-c623e1b0.entry.js → p-3f2d4108.entry.js} +2 -2
  179. package/dist/core/{p-9ec428cc.entry.js → p-49e997c7.entry.js} +2 -2
  180. package/dist/core/{p-de8d16f8.entry.js → p-55b11f6f.entry.js} +2 -2
  181. package/dist/core/{p-a10eebcc.entry.js → p-5ccd3703.entry.js} +2 -2
  182. package/dist/core/{p-a0e94ddd.entry.js → p-60746e10.entry.js} +2 -2
  183. package/dist/core/{p-4e6c5e80.entry.js → p-60f7f555.entry.js} +2 -2
  184. package/dist/core/{p-a305dc90.entry.js → p-69576aa0.entry.js} +2 -2
  185. package/dist/core/{p-3cc52cbc.entry.js → p-6fae7e1f.entry.js} +2 -2
  186. package/dist/core/{p-3cc52cbc.entry.js.map → p-6fae7e1f.entry.js.map} +1 -1
  187. package/dist/core/{p-81d3b43b.entry.js → p-7c2b59fe.entry.js} +2 -2
  188. package/dist/core/{p-cbb92eb0.entry.js → p-836e71de.entry.js} +2 -2
  189. package/dist/core/{p-52855153.entry.js → p-843ed766.entry.js} +2 -2
  190. package/dist/core/p-8c325d9b.entry.js +2 -0
  191. package/dist/core/p-8c325d9b.entry.js.map +1 -0
  192. package/dist/core/{p-20f1b05a.entry.js → p-9146a7f9.entry.js} +2 -2
  193. package/dist/core/{p-5443b79a.entry.js → p-936ab032.entry.js} +2 -2
  194. package/dist/core/{p-a399de54.entry.js → p-96505636.entry.js} +2 -2
  195. package/dist/core/{p-deebcbe3.entry.js → p-9c9ba3cd.entry.js} +2 -2
  196. package/dist/core/{p-072a5366.entry.js → p-a6ff78aa.entry.js} +2 -2
  197. package/dist/core/{p-74176f4c.entry.js → p-a75f3c4d.entry.js} +2 -2
  198. package/dist/core/p-ad67c84f.entry.js +2 -0
  199. package/dist/core/p-ad67c84f.entry.js.map +1 -0
  200. package/dist/core/{p-73e5eca2.entry.js → p-aeb001d7.entry.js} +2 -2
  201. package/dist/core/{p-1c654ddd.entry.js → p-b2ceb541.entry.js} +2 -2
  202. package/dist/core/{p-18536c24.entry.js → p-b9be021b.entry.js} +2 -2
  203. package/dist/core/p-b9be021b.entry.js.map +1 -0
  204. package/dist/core/{p-910ab8e5.entry.js → p-bb963aa4.entry.js} +2 -2
  205. package/dist/core/p-be5d5f93.entry.js +2 -0
  206. package/dist/core/p-be5d5f93.entry.js.map +1 -0
  207. package/dist/core/{p-6167880d.entry.js → p-c1d5e7f2.entry.js} +2 -2
  208. package/dist/core/{p-8df60639.entry.js → p-c59474bb.entry.js} +2 -2
  209. package/dist/core/{p-8d98835c.entry.js → p-cb14349b.entry.js} +2 -2
  210. package/dist/core/p-d21f0d15.entry.js +2 -0
  211. package/dist/core/p-d21f0d15.entry.js.map +1 -0
  212. package/dist/core/{p-9419b840.entry.js → p-d3750771.entry.js} +2 -2
  213. package/dist/core/{p-b3178032.entry.js → p-db52d416.entry.js} +2 -2
  214. package/dist/core/p-dbc0f5da.entry.js +2 -0
  215. package/dist/core/p-dbc0f5da.entry.js.map +1 -0
  216. package/dist/core/{p-7ce6fb3b.entry.js → p-dcd475cc.entry.js} +2 -2
  217. package/dist/core/{p-4661ee3b.entry.js → p-dd9d8e68.entry.js} +2 -2
  218. package/dist/core/{p-09a2f6ff.entry.js → p-def5ba6b.entry.js} +2 -2
  219. package/dist/core/{p-e4f0fc68.entry.js → p-e6bad80b.entry.js} +2 -2
  220. package/dist/core/{p-2c9cf064.entry.js → p-e7fa6804.entry.js} +2 -2
  221. package/dist/core/{p-8619c625.entry.js → p-e8fa0095.entry.js} +2 -2
  222. package/dist/core/p-ed2b2bd7.entry.js +2 -0
  223. package/dist/core/p-ed2b2bd7.entry.js.map +1 -0
  224. package/dist/core/{p-92c7f4c5.entry.js → p-ee1c9f20.entry.js} +2 -2
  225. package/dist/core/{p-4c97f1e6.entry.js → p-f735a277.entry.js} +2 -2
  226. package/dist/core/{p-a5dd7065.js → p-fef9e8c9.js} +2 -2
  227. package/dist/core/p-fef9e8c9.js.map +1 -0
  228. package/dist/esm/core.js +1 -1
  229. package/dist/esm/{helpers-988ce06b.js → helpers-3905ccc4.js} +6 -3
  230. package/dist/esm/helpers-3905ccc4.js.map +1 -0
  231. package/dist/esm/ic-accordion-group.entry.js +1 -1
  232. package/dist/esm/ic-accordion.entry.js +1 -1
  233. package/dist/esm/ic-alert.entry.js +18 -2
  234. package/dist/esm/ic-alert.entry.js.map +1 -1
  235. package/dist/esm/ic-back-to-top.entry.js +1 -1
  236. package/dist/esm/ic-badge.entry.js +1 -1
  237. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  238. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  239. package/dist/esm/ic-button_3.entry.js +11 -6
  240. package/dist/esm/ic-button_3.entry.js.map +1 -1
  241. package/dist/esm/ic-card.entry.js +26 -2
  242. package/dist/esm/ic-card.entry.js.map +1 -1
  243. package/dist/esm/ic-checkbox-group.entry.js +1 -1
  244. package/dist/esm/ic-checkbox.entry.js +1 -1
  245. package/dist/esm/ic-chip.entry.js +9 -3
  246. package/dist/esm/ic-chip.entry.js.map +1 -1
  247. package/dist/esm/ic-classification-banner.entry.js +12 -3
  248. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  249. package/dist/esm/ic-data-row.entry.js +1 -1
  250. package/dist/esm/ic-dialog.entry.js +1 -1
  251. package/dist/esm/ic-divider.entry.js +1 -1
  252. package/dist/esm/ic-empty-state.entry.js +21 -2
  253. package/dist/esm/ic-empty-state.entry.js.map +1 -1
  254. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  255. package/dist/esm/ic-footer-link.entry.js +1 -1
  256. package/dist/esm/ic-footer.entry.js +1 -1
  257. package/dist/esm/ic-hero.entry.js +18 -2
  258. package/dist/esm/ic-hero.entry.js.map +1 -1
  259. package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
  260. package/dist/esm/ic-input-component-container_3.entry.js +1 -1
  261. package/dist/esm/ic-input-label_2.entry.js +1 -1
  262. package/dist/esm/ic-link.entry.js +1 -1
  263. package/dist/esm/ic-menu-group.entry.js +1 -1
  264. package/dist/esm/ic-menu-item.entry.js +1 -1
  265. package/dist/esm/ic-navigation-button.entry.js +1 -1
  266. package/dist/esm/ic-navigation-group.entry.js +1 -1
  267. package/dist/esm/ic-navigation-item.entry.js +1 -1
  268. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  269. package/dist/esm/ic-page-header.entry.js +1 -1
  270. package/dist/esm/ic-pagination-item.entry.js +1 -1
  271. package/dist/esm/ic-pagination.entry.js +1 -1
  272. package/dist/esm/ic-popover-menu.entry.js +1 -1
  273. package/dist/esm/ic-radio-group.entry.js +41 -22
  274. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  275. package/dist/esm/ic-radio-option.entry.js +1 -1
  276. package/dist/esm/ic-search-bar.entry.js +1 -1
  277. package/dist/esm/ic-select.entry.js +1 -1
  278. package/dist/esm/ic-side-navigation.entry.js +1 -1
  279. package/dist/esm/ic-status-tag.entry.js +1 -1
  280. package/dist/esm/ic-step.entry.js +1 -1
  281. package/dist/esm/ic-stepper.entry.js +1 -1
  282. package/dist/esm/ic-switch.entry.js +1 -1
  283. package/dist/esm/ic-tab-group.entry.js +1 -1
  284. package/dist/esm/ic-tab-panel.entry.js +1 -1
  285. package/dist/esm/ic-tab.entry.js +1 -1
  286. package/dist/esm/ic-text-field.entry.js +1 -1
  287. package/dist/esm/ic-theme.entry.js +1 -1
  288. package/dist/esm/ic-toast.entry.js +1 -1
  289. package/dist/esm/ic-toggle-button.entry.js +1 -1
  290. package/dist/esm/ic-top-navigation.entry.js +1 -1
  291. package/dist/esm/ic-typography.entry.js +48 -13
  292. package/dist/esm/ic-typography.entry.js.map +1 -1
  293. package/dist/esm/loader.js +1 -1
  294. package/dist/types/components/ic-alert/ic-alert.d.ts +3 -0
  295. package/dist/types/components/ic-card/ic-card.d.ts +2 -0
  296. package/dist/types/components/ic-chip/ic-chip.d.ts +2 -0
  297. package/dist/types/components/ic-empty-state/ic-empty-state.d.ts +3 -0
  298. package/dist/types/components/ic-hero/ic-hero.d.ts +3 -0
  299. package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +3 -0
  300. package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +7 -0
  301. package/dist/types/components/ic-typography/ic-typography.d.ts +23 -1
  302. package/dist/types/components.d.ts +30 -0
  303. package/dist/types/utils/helpers.d.ts +2 -1
  304. package/hydrate/index.js +194 -45
  305. package/package.json +2 -2
  306. package/dist/cjs/helpers-80016ff7.js.map +0 -1
  307. package/dist/core/p-18536c24.entry.js.map +0 -1
  308. package/dist/core/p-2eb95212.entry.js +0 -2
  309. package/dist/core/p-2eb95212.entry.js.map +0 -1
  310. package/dist/core/p-4d1490ce.entry.js +0 -2
  311. package/dist/core/p-4d1490ce.entry.js.map +0 -1
  312. package/dist/core/p-74e3ca39.entry.js +0 -2
  313. package/dist/core/p-74e3ca39.entry.js.map +0 -1
  314. package/dist/core/p-88c0dc04.entry.js +0 -2
  315. package/dist/core/p-88c0dc04.entry.js.map +0 -1
  316. package/dist/core/p-a5dd7065.js.map +0 -1
  317. package/dist/core/p-ced03499.entry.js +0 -2
  318. package/dist/core/p-de7c0f2c.entry.js +0 -2
  319. package/dist/core/p-de7c0f2c.entry.js.map +0 -1
  320. package/dist/core/p-e5a6218b.entry.js +0 -2
  321. package/dist/core/p-e5a6218b.entry.js.map +0 -1
  322. package/dist/core/p-f807e600.entry.js +0 -2
  323. package/dist/core/p-f807e600.entry.js.map +0 -1
  324. package/dist/esm/helpers-988ce06b.js.map +0 -1
  325. /package/dist/core/{p-21885256.entry.js.map → p-02262e76.entry.js.map} +0 -0
  326. /package/dist/core/{p-e720925a.entry.js.map → p-03f23a55.entry.js.map} +0 -0
  327. /package/dist/core/{p-b85c5581.entry.js.map → p-093600a2.entry.js.map} +0 -0
  328. /package/dist/core/{p-6fdc8bef.entry.js.map → p-13a6e7ea.entry.js.map} +0 -0
  329. /package/dist/core/{p-3574b7e4.entry.js.map → p-13ec2a00.entry.js.map} +0 -0
  330. /package/dist/core/{p-bf70fe93.entry.js.map → p-1ae6aadb.entry.js.map} +0 -0
  331. /package/dist/core/{p-c9efaee1.entry.js.map → p-1d6e6ebe.entry.js.map} +0 -0
  332. /package/dist/core/{p-cc3f2353.entry.js.map → p-223889da.entry.js.map} +0 -0
  333. /package/dist/core/{p-9128a8e0.entry.js.map → p-227f6a41.entry.js.map} +0 -0
  334. /package/dist/core/{p-2e8aaf89.entry.js.map → p-230187a8.entry.js.map} +0 -0
  335. /package/dist/core/{p-af439ab9.entry.js.map → p-3b4c9571.entry.js.map} +0 -0
  336. /package/dist/core/{p-c623e1b0.entry.js.map → p-3f2d4108.entry.js.map} +0 -0
  337. /package/dist/core/{p-9ec428cc.entry.js.map → p-49e997c7.entry.js.map} +0 -0
  338. /package/dist/core/{p-de8d16f8.entry.js.map → p-55b11f6f.entry.js.map} +0 -0
  339. /package/dist/core/{p-a10eebcc.entry.js.map → p-5ccd3703.entry.js.map} +0 -0
  340. /package/dist/core/{p-a0e94ddd.entry.js.map → p-60746e10.entry.js.map} +0 -0
  341. /package/dist/core/{p-4e6c5e80.entry.js.map → p-60f7f555.entry.js.map} +0 -0
  342. /package/dist/core/{p-a305dc90.entry.js.map → p-69576aa0.entry.js.map} +0 -0
  343. /package/dist/core/{p-81d3b43b.entry.js.map → p-7c2b59fe.entry.js.map} +0 -0
  344. /package/dist/core/{p-cbb92eb0.entry.js.map → p-836e71de.entry.js.map} +0 -0
  345. /package/dist/core/{p-52855153.entry.js.map → p-843ed766.entry.js.map} +0 -0
  346. /package/dist/core/{p-20f1b05a.entry.js.map → p-9146a7f9.entry.js.map} +0 -0
  347. /package/dist/core/{p-5443b79a.entry.js.map → p-936ab032.entry.js.map} +0 -0
  348. /package/dist/core/{p-a399de54.entry.js.map → p-96505636.entry.js.map} +0 -0
  349. /package/dist/core/{p-deebcbe3.entry.js.map → p-9c9ba3cd.entry.js.map} +0 -0
  350. /package/dist/core/{p-072a5366.entry.js.map → p-a6ff78aa.entry.js.map} +0 -0
  351. /package/dist/core/{p-74176f4c.entry.js.map → p-a75f3c4d.entry.js.map} +0 -0
  352. /package/dist/core/{p-73e5eca2.entry.js.map → p-aeb001d7.entry.js.map} +0 -0
  353. /package/dist/core/{p-1c654ddd.entry.js.map → p-b2ceb541.entry.js.map} +0 -0
  354. /package/dist/core/{p-910ab8e5.entry.js.map → p-bb963aa4.entry.js.map} +0 -0
  355. /package/dist/core/{p-6167880d.entry.js.map → p-c1d5e7f2.entry.js.map} +0 -0
  356. /package/dist/core/{p-8df60639.entry.js.map → p-c59474bb.entry.js.map} +0 -0
  357. /package/dist/core/{p-8d98835c.entry.js.map → p-cb14349b.entry.js.map} +0 -0
  358. /package/dist/core/{p-9419b840.entry.js.map → p-d3750771.entry.js.map} +0 -0
  359. /package/dist/core/{p-b3178032.entry.js.map → p-db52d416.entry.js.map} +0 -0
  360. /package/dist/core/{p-7ce6fb3b.entry.js.map → p-dcd475cc.entry.js.map} +0 -0
  361. /package/dist/core/{p-4661ee3b.entry.js.map → p-dd9d8e68.entry.js.map} +0 -0
  362. /package/dist/core/{p-09a2f6ff.entry.js.map → p-def5ba6b.entry.js.map} +0 -0
  363. /package/dist/core/{p-e4f0fc68.entry.js.map → p-e6bad80b.entry.js.map} +0 -0
  364. /package/dist/core/{p-2c9cf064.entry.js.map → p-e7fa6804.entry.js.map} +0 -0
  365. /package/dist/core/{p-8619c625.entry.js.map → p-e8fa0095.entry.js.map} +0 -0
  366. /package/dist/core/{p-92c7f4c5.entry.js.map → p-ee1c9f20.entry.js.map} +0 -0
  367. /package/dist/core/{p-4c97f1e6.entry.js.map → p-f735a277.entry.js.map} +0 -0
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d1d2c456.js';
1
+ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-d1d2c456.js';
2
2
  import { c as closeIcon } from './close-icon-539ec8d1.js';
3
- import { V as VARIANT_ICONS, i as isSlotUsed } from './helpers-988ce06b.js';
3
+ import { j as checkSlotInChildMutations, V as VARIANT_ICONS, i as isSlotUsed } from './helpers-3905ccc4.js';
4
4
  import { I as IcThemeForegroundEnum } from './types-6f6b41a5.js';
5
5
 
6
6
  const icAlertCss = "/*! 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}.container{min-height:3.5rem;border-radius:var(--ic-border-radius);position:relative;display:flex;align-items:center}.container-neutral{background-color:var(--ic-status-unknown-light)}.container-info{background-color:var(--ic-status-info-light)}.container-warning{background-color:var(--ic-status-warning-light)}.container-error{background-color:var(--ic-status-error-light)}.container-success{background-color:var(--ic-status-success-light)}.alert-icon-container{height:100%;display:flex;align-items:center}.divider{height:100%;width:var(--ic-space-xs);border-radius:var(--ic-space-xxxs) 0 0 var(--ic-space-xxxs);position:absolute}.divider-neutral{background-color:var(--ic-status-unknown)}.divider-info{background-color:var(--ic-status-info)}.divider-warning{background-color:var(--ic-status-warning)}.divider-error{background-color:var(--ic-status-error)}.divider-success{background-color:var(--ic-status-success)}.alert-icon{height:var(--ic-space-lg);width:1.375rem;margin-left:1.125rem}.alert-icon>svg{height:var(--ic-space-lg);width:var(--ic-space-lg);display:inline-block}.icon-neutral>svg{fill:var(--ic-status-unknown)}:host([variant=\"info\"]) .alert-icon svg{fill:var(--ic-status-info)}:host([variant=\"warning\"]) .alert-icon svg{fill:var(--ic-status-warning)}:host([variant=\"error\"]) .alert-icon svg{fill:var(--ic-status-error)}:host([variant=\"success\"]) .alert-icon svg{fill:var(--ic-status-success)}.alert-content{display:flex;align-items:center;margin-left:0.625rem;width:100%}.alert-message{display:flex;align-items:center;padding:var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0;flex:1}.alert-message-title-above{display:inline}.alert-title{margin-right:var(--ic-space-xs)}.alert-title-above{white-space:normal}.alert-action-container{margin-right:var(--ic-space-xs);display:flex;align-items:center}.dismiss-icon{margin-right:var(--ic-space-xxxs);margin-left:-0.375rem;padding:0.375rem;border:none;border-radius:50%;background-color:inherit;display:flex;align-items:center;justify-content:center}.dismiss-icon:hover{cursor:pointer}@media (max-width: 628px){.alert-content{display:flex;flex-direction:column;align-items:flex-start}.alert-message{display:flex;flex-direction:column;align-items:flex-start}.alert-title{white-space:normal}.alert-action-container{margin-bottom:var(--ic-space-xs)}}@media (forced-colors: active){.container{border:var(--ic-hc-border)}}";
@@ -10,10 +10,18 @@ const Alert = class {
10
10
  registerInstance(this, hostRef);
11
11
  this.dismiss = createEvent(this, "dismiss", 7);
12
12
  this.icDismiss = createEvent(this, "icDismiss", 7);
13
+ this.hostMutationObserver = null;
13
14
  this.dismissAction = () => {
14
15
  this.dismiss.emit();
15
16
  this.icDismiss.emit();
16
17
  };
18
+ this.hostMutationCallback = (mutationList) => {
19
+ if (mutationList.some(({ type, addedNodes, removedNodes }) => type === "childList"
20
+ ? checkSlotInChildMutations(addedNodes, removedNodes, "action")
21
+ : false)) {
22
+ forceUpdate(this);
23
+ }
24
+ };
17
25
  this.alertTitleWrap = false;
18
26
  this.visible = true;
19
27
  this.announced = true;
@@ -23,8 +31,16 @@ const Alert = class {
23
31
  this.titleAbove = false;
24
32
  this.variant = "neutral";
25
33
  }
34
+ disconnectedCallback() {
35
+ var _a;
36
+ (_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
37
+ }
26
38
  componentDidLoad() {
27
39
  this.alertTitleShouldWrap();
40
+ this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);
41
+ this.hostMutationObserver.observe(this.el, {
42
+ childList: true,
43
+ });
28
44
  }
29
45
  handleClick() {
30
46
  this.visible = !this.visible;
@@ -1 +1 @@
1
- {"file":"ic-alert.entry.js","mappings":";;;;;AAAA,MAAM,UAAU,GAAG,+uJAA+uJ;;MCyBrvJ,KAAK;;;;;QAuDR,kBAAa,GAAG;YACtB,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YACpB,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;SACvB,CAAC;8BAvDiC,KAAK;uBACZ,IAAI;yBAKF,IAAI;2BAKF,KAAK;uBAKV,EAAE;;0BAUE,KAAK;uBAKC,SAAS;;IAY9C,gBAAgB;QACd,IAAI,CAAC,oBAAoB,EAAE,CAAC;KAC7B;IAGD,WAAW;QACT,IAAI,CAAC,OAAO,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC;KAC9B;IAOO,oBAAoB;;QAC1B,MAAM,WAAW,GACf,MAAA,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,cAAc,CAAC,0CAAE,YAAY,CAAC;QACjE,IAAI,WAAW,GAAG,EAAE;YAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;KAClD;IAED,MAAM;QACJ,MAAM,EACJ,OAAO,EACP,OAAO,EACP,OAAO,EACP,UAAU,EACV,WAAW,EACX,SAAS,EACT,OAAO,GACR,GAAG,IAAI,CAAC;QAET,QACE,OAAO,KACL,EAAC,IAAI,IACH,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,IAAI,EAChC,KAAK,EAAE;gBACL,CAAC,qBAAqB,CAAC,IAAI,GAAG,IAAI;aACnC,IAED,WACE,KAAK,EAAE;gBACL,CAAC,WAAW,GAAG,IAAI;gBACnB,CAAC,aAAa,OAAO,EAAE,GAAG,IAAI;aAC/B,IAED,WAAK,KAAK,EAAC,sBAAsB,IAC/B,WACE,KAAK,EAAE;gBACL,CAAC,SAAS,GAAG,IAAI;gBACjB,CAAC,WAAW,OAAO,EAAE,GAAG,IAAI;aAC7B,GACI,EACP,YACE,KAAK,EAAE;gBACL,CAAC,YAAY,GAAG,IAAI;gBACpB,CAAC,eAAe,GAAG,IAAI;gBACvB,CAAC,QAAQ,OAAO,EAAE,GAAG,IAAI;aAC1B,EACD,SAAS,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC,IAAI,GAChC,CACJ,EACN,WAAK,KAAK,EAAC,eAAe,IACxB,WACE,KAAK,EAAE;gBACL,CAAC,eAAe,GAAG,IAAI;gBACvB,CAAC,2BAA2B,GAC1B,UAAU,IAAI,IAAI,CAAC,cAAc;aACpC,IAEA,OAAO,KACN,qBACE,KAAK,EAAE;gBACL,CAAC,aAAa,GAAG,IAAI;gBACrB,CAAC,mBAAmB,GAAG,UAAU,IAAI,IAAI,CAAC,cAAc;aACzD,EACD,OAAO,EAAC,gBAAgB,IAExB,aAAI,OAAO,CAAK,CACF,CACjB,EACD,YAAM,IAAI,EAAC,SAAS,IAClB,qBAAe,OAAO,EAAC,MAAM,IAAE,OAAO,CAAiB,CAClD,CACH,EACL,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,QAAQ,CAAC,KAC5B,WAAK,KAAK,EAAC,wBAAwB,IACjC,YAAM,IAAI,EAAC,QAAQ,GAAG,CAClB,CACP,CACG,EACN,WAAK,KAAK,EAAC,wBAAwB,IAChC,WAAW,KACV,iBACE,KAAK,EAAE;gBACL,CAAC,eAAe,GAAG,IAAI;gBACvB,CAAC,cAAc,GAAG,IAAI;aACvB,EACD,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,IAAI,CAAC,aAAa,EAC3B,OAAO,EAAC,MAAM,EACd,UAAU,EAAE,qBAAqB,CAAC,IAAI,EACtC,KAAK,EAAC,SAAS,GACJ,CACd,CACG,CACF,CACD,CACR,EACD;KACH;;;;;;;","names":[],"sources":["src/components/ic-alert/ic-alert.css?tag=ic-alert&encapsulation=shadow","src/components/ic-alert/ic-alert.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n display: block;\n}\n\n.container {\n min-height: 3.5rem;\n border-radius: var(--ic-border-radius);\n position: relative;\n display: flex;\n align-items: center;\n}\n\n.container-neutral {\n background-color: var(--ic-status-unknown-light);\n}\n\n.container-info {\n background-color: var(--ic-status-info-light);\n}\n\n.container-warning {\n background-color: var(--ic-status-warning-light);\n}\n\n.container-error {\n background-color: var(--ic-status-error-light);\n}\n\n.container-success {\n background-color: var(--ic-status-success-light);\n}\n\n.alert-icon-container {\n height: 100%;\n display: flex;\n align-items: center;\n}\n\n.divider {\n height: 100%;\n width: var(--ic-space-xs);\n border-radius: var(--ic-space-xxxs) 0 0 var(--ic-space-xxxs);\n position: absolute;\n}\n\n.divider-neutral {\n background-color: var(--ic-status-unknown);\n}\n\n.divider-info {\n background-color: var(--ic-status-info);\n}\n\n.divider-warning {\n background-color: var(--ic-status-warning);\n}\n\n.divider-error {\n background-color: var(--ic-status-error);\n}\n\n.divider-success {\n background-color: var(--ic-status-success);\n}\n\n.alert-icon {\n height: var(--ic-space-lg);\n width: 1.375rem;\n margin-left: 1.125rem;\n}\n\n.alert-icon > svg {\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n display: inline-block;\n}\n\n.icon-neutral > svg {\n fill: var(--ic-status-unknown);\n}\n\n:host([variant=\"info\"]) .alert-icon svg {\n fill: var(--ic-status-info);\n}\n\n:host([variant=\"warning\"]) .alert-icon svg {\n fill: var(--ic-status-warning);\n}\n\n:host([variant=\"error\"]) .alert-icon svg {\n fill: var(--ic-status-error);\n}\n\n:host([variant=\"success\"]) .alert-icon svg {\n fill: var(--ic-status-success);\n}\n\n.alert-content {\n display: flex;\n align-items: center;\n margin-left: 0.625rem;\n width: 100%;\n}\n\n.alert-message {\n display: flex;\n align-items: center;\n padding: var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0;\n flex: 1;\n}\n\n.alert-message-title-above {\n display: inline;\n}\n\n.alert-title {\n margin-right: var(--ic-space-xs);\n}\n\n.alert-title-above {\n white-space: normal;\n}\n\n.alert-action-container {\n margin-right: var(--ic-space-xs);\n display: flex;\n align-items: center;\n}\n\n.dismiss-icon {\n margin-right: var(--ic-space-xxxs);\n margin-left: -0.375rem;\n padding: 0.375rem;\n border: none;\n border-radius: 50%;\n background-color: inherit;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.dismiss-icon:hover {\n cursor: pointer;\n}\n\n@media (max-width: 628px) {\n .alert-content {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n }\n\n .alert-message {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n }\n\n .alert-title {\n white-space: normal;\n }\n\n .alert-action-container {\n margin-bottom: var(--ic-space-xs);\n }\n}\n\n@media (forced-colors: active) {\n .container {\n border: var(--ic-hc-border);\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n State,\n Listen,\n Prop,\n h,\n} from \"@stencil/core\";\nimport closeIcon from \"../../assets/close-icon.svg\";\nimport { isSlotUsed } from \"../../utils/helpers\";\nimport { IcThemeForegroundEnum, IcStatusVariants } from \"../../utils/types\";\nimport { VARIANT_ICONS } from \"../../utils/constants\";\n\n/**\n * @slot message - Content is placed to the right of the title.\n * @slot action - Content is placed to the right of the message.\n */\n@Component({\n tag: \"ic-alert\",\n styleUrl: \"ic-alert.css\",\n shadow: true,\n})\nexport class Alert {\n @Element() el: HTMLIcAlertElement;\n\n @State() alertTitleWrap: boolean = false;\n @State() visible: boolean = true;\n\n /**\n * If `true`, the alert will have the 'alert' ARIA role and will be announced to screen readers.\n */\n @Prop() announced?: boolean = true;\n\n /**\n * If `true`, the alert will have a close icon at the end to dismiss it.\n */\n @Prop() dismissible?: boolean = false;\n\n /**\n * The optional title to display at the start of the alert.\n */\n @Prop() heading?: string = \"\";\n\n /**\n * The main body message of the alert.\n */\n @Prop() message?: string;\n\n /**\n * If `true`, the title and message will appear above and below instead of inline.\n */\n @Prop() titleAbove?: boolean = false;\n\n /**\n * The variant of the alert which will be rendered.\n */\n @Prop() variant?: IcStatusVariants = \"neutral\";\n\n /**\n * @deprecated This event should not be used anymore. Use icDismiss instead.\n */\n @Event() dismiss: EventEmitter<void>;\n\n /**\n * Is emitted when the user dismisses the alert.\n */\n @Event() icDismiss: EventEmitter<void>;\n\n componentDidLoad(): void {\n this.alertTitleShouldWrap();\n }\n\n @Listen(\"icDismiss\", { capture: true })\n handleClick(): void {\n this.visible = !this.visible;\n }\n\n private dismissAction = (): void => {\n this.dismiss.emit();\n this.icDismiss.emit();\n };\n\n private alertTitleShouldWrap() {\n const titleHeight =\n this.el.shadowRoot.querySelector(\".alert-title\")?.clientHeight;\n if (titleHeight > 24) this.alertTitleWrap = true;\n }\n\n render() {\n const {\n variant,\n heading,\n message,\n titleAbove,\n dismissible,\n announced,\n visible,\n } = this;\n\n return (\n visible && (\n <Host\n role={announced ? \"alert\" : null}\n class={{\n [IcThemeForegroundEnum.Dark]: true,\n }}\n >\n <div\n class={{\n [\"container\"]: true,\n [`container-${variant}`]: true,\n }}\n >\n <div class=\"alert-icon-container\">\n <div\n class={{\n [\"divider\"]: true,\n [`divider-${variant}`]: true,\n }}\n ></div>\n <span\n class={{\n [\"alert-icon\"]: true,\n [\"svg-container\"]: true,\n [`icon-${variant}`]: true,\n }}\n innerHTML={VARIANT_ICONS[variant].icon}\n ></span>\n </div>\n <div class=\"alert-content\">\n <div\n class={{\n [\"alert-message\"]: true,\n [\"alert-message-title-above\"]:\n titleAbove || this.alertTitleWrap,\n }}\n >\n {heading && (\n <ic-typography\n class={{\n [\"alert-title\"]: true,\n [\"alert-title-above\"]: titleAbove || this.alertTitleWrap,\n }}\n variant=\"subtitle-large\"\n >\n <p>{heading}</p>\n </ic-typography>\n )}\n <slot name=\"message\">\n <ic-typography variant=\"body\">{message}</ic-typography>\n </slot>\n </div>\n {isSlotUsed(this.el, \"action\") && (\n <div class=\"alert-action-container\">\n <slot name=\"action\" />\n </div>\n )}\n </div>\n <div class=\"dismiss-icon-container\">\n {dismissible && (\n <ic-button\n class={{\n [\"svg-container\"]: true,\n [\"dismiss-icon\"]: true,\n }}\n innerHTML={closeIcon}\n onClick={this.dismissAction}\n variant=\"icon\"\n appearance={IcThemeForegroundEnum.Dark}\n title=\"dismiss\"\n ></ic-button>\n )}\n </div>\n </div>\n </Host>\n )\n );\n }\n}\n"],"version":3}
1
+ {"file":"ic-alert.entry.js","mappings":";;;;;AAAA,MAAM,UAAU,GAAG,+uJAA+uJ;;MC0BrvJ,KAAK;;;;;QACR,yBAAoB,GAAqB,IAAI,CAAC;QAiE9C,kBAAa,GAAG;YACtB,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YACpB,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;SACvB,CAAC;QAQM,yBAAoB,GAAG,CAAC,YAA8B;YAC5D,IACE,YAAY,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,YAAY,EAAE,KACnD,IAAI,KAAK,WAAW;kBAChB,yBAAyB,CAAC,UAAU,EAAE,YAAY,EAAE,QAAQ,CAAC;kBAC7D,KAAK,CACV,EACD;gBACA,WAAW,CAAC,IAAI,CAAC,CAAC;aACnB;SACF,CAAC;8BAlFiC,KAAK;uBACZ,IAAI;yBAKF,IAAI;2BAKF,KAAK;uBAKV,EAAE;;0BAUE,KAAK;uBAKC,SAAS;;IAY9C,oBAAoB;;QAClB,MAAA,IAAI,CAAC,oBAAoB,0CAAE,UAAU,EAAE,CAAC;KACzC;IAED,gBAAgB;QACd,IAAI,CAAC,oBAAoB,EAAE,CAAC;QAE5B,IAAI,CAAC,oBAAoB,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;QAC5E,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE;YACzC,SAAS,EAAE,IAAI;SAChB,CAAC,CAAC;KACJ;IAGD,WAAW;QACT,IAAI,CAAC,OAAO,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC;KAC9B;IAOO,oBAAoB;;QAC1B,MAAM,WAAW,GACf,MAAA,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,cAAc,CAAC,0CAAE,YAAY,CAAC;QACjE,IAAI,WAAW,GAAG,EAAE;YAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;KAClD;IAcD,MAAM;QACJ,MAAM,EACJ,OAAO,EACP,OAAO,EACP,OAAO,EACP,UAAU,EACV,WAAW,EACX,SAAS,EACT,OAAO,GACR,GAAG,IAAI,CAAC;QAET,QACE,OAAO,KACL,EAAC,IAAI,IACH,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,IAAI,EAChC,KAAK,EAAE;gBACL,CAAC,qBAAqB,CAAC,IAAI,GAAG,IAAI;aACnC,IAED,WACE,KAAK,EAAE;gBACL,CAAC,WAAW,GAAG,IAAI;gBACnB,CAAC,aAAa,OAAO,EAAE,GAAG,IAAI;aAC/B,IAED,WAAK,KAAK,EAAC,sBAAsB,IAC/B,WACE,KAAK,EAAE;gBACL,CAAC,SAAS,GAAG,IAAI;gBACjB,CAAC,WAAW,OAAO,EAAE,GAAG,IAAI;aAC7B,GACI,EACP,YACE,KAAK,EAAE;gBACL,CAAC,YAAY,GAAG,IAAI;gBACpB,CAAC,eAAe,GAAG,IAAI;gBACvB,CAAC,QAAQ,OAAO,EAAE,GAAG,IAAI;aAC1B,EACD,SAAS,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC,IAAI,GAChC,CACJ,EACN,WAAK,KAAK,EAAC,eAAe,IACxB,WACE,KAAK,EAAE;gBACL,CAAC,eAAe,GAAG,IAAI;gBACvB,CAAC,2BAA2B,GAC1B,UAAU,IAAI,IAAI,CAAC,cAAc;aACpC,IAEA,OAAO,KACN,qBACE,KAAK,EAAE;gBACL,CAAC,aAAa,GAAG,IAAI;gBACrB,CAAC,mBAAmB,GAAG,UAAU,IAAI,IAAI,CAAC,cAAc;aACzD,EACD,OAAO,EAAC,gBAAgB,IAExB,aAAI,OAAO,CAAK,CACF,CACjB,EACD,YAAM,IAAI,EAAC,SAAS,IAClB,qBAAe,OAAO,EAAC,MAAM,IAAE,OAAO,CAAiB,CAClD,CACH,EACL,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,QAAQ,CAAC,KAC5B,WAAK,KAAK,EAAC,wBAAwB,IACjC,YAAM,IAAI,EAAC,QAAQ,GAAG,CAClB,CACP,CACG,EACN,WAAK,KAAK,EAAC,wBAAwB,IAChC,WAAW,KACV,iBACE,KAAK,EAAE;gBACL,CAAC,eAAe,GAAG,IAAI;gBACvB,CAAC,cAAc,GAAG,IAAI;aACvB,EACD,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,IAAI,CAAC,aAAa,EAC3B,OAAO,EAAC,MAAM,EACd,UAAU,EAAE,qBAAqB,CAAC,IAAI,EACtC,KAAK,EAAC,SAAS,GACJ,CACd,CACG,CACF,CACD,CACR,EACD;KACH;;;;;;;","names":[],"sources":["src/components/ic-alert/ic-alert.css?tag=ic-alert&encapsulation=shadow","src/components/ic-alert/ic-alert.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n display: block;\n}\n\n.container {\n min-height: 3.5rem;\n border-radius: var(--ic-border-radius);\n position: relative;\n display: flex;\n align-items: center;\n}\n\n.container-neutral {\n background-color: var(--ic-status-unknown-light);\n}\n\n.container-info {\n background-color: var(--ic-status-info-light);\n}\n\n.container-warning {\n background-color: var(--ic-status-warning-light);\n}\n\n.container-error {\n background-color: var(--ic-status-error-light);\n}\n\n.container-success {\n background-color: var(--ic-status-success-light);\n}\n\n.alert-icon-container {\n height: 100%;\n display: flex;\n align-items: center;\n}\n\n.divider {\n height: 100%;\n width: var(--ic-space-xs);\n border-radius: var(--ic-space-xxxs) 0 0 var(--ic-space-xxxs);\n position: absolute;\n}\n\n.divider-neutral {\n background-color: var(--ic-status-unknown);\n}\n\n.divider-info {\n background-color: var(--ic-status-info);\n}\n\n.divider-warning {\n background-color: var(--ic-status-warning);\n}\n\n.divider-error {\n background-color: var(--ic-status-error);\n}\n\n.divider-success {\n background-color: var(--ic-status-success);\n}\n\n.alert-icon {\n height: var(--ic-space-lg);\n width: 1.375rem;\n margin-left: 1.125rem;\n}\n\n.alert-icon > svg {\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n display: inline-block;\n}\n\n.icon-neutral > svg {\n fill: var(--ic-status-unknown);\n}\n\n:host([variant=\"info\"]) .alert-icon svg {\n fill: var(--ic-status-info);\n}\n\n:host([variant=\"warning\"]) .alert-icon svg {\n fill: var(--ic-status-warning);\n}\n\n:host([variant=\"error\"]) .alert-icon svg {\n fill: var(--ic-status-error);\n}\n\n:host([variant=\"success\"]) .alert-icon svg {\n fill: var(--ic-status-success);\n}\n\n.alert-content {\n display: flex;\n align-items: center;\n margin-left: 0.625rem;\n width: 100%;\n}\n\n.alert-message {\n display: flex;\n align-items: center;\n padding: var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0;\n flex: 1;\n}\n\n.alert-message-title-above {\n display: inline;\n}\n\n.alert-title {\n margin-right: var(--ic-space-xs);\n}\n\n.alert-title-above {\n white-space: normal;\n}\n\n.alert-action-container {\n margin-right: var(--ic-space-xs);\n display: flex;\n align-items: center;\n}\n\n.dismiss-icon {\n margin-right: var(--ic-space-xxxs);\n margin-left: -0.375rem;\n padding: 0.375rem;\n border: none;\n border-radius: 50%;\n background-color: inherit;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.dismiss-icon:hover {\n cursor: pointer;\n}\n\n@media (max-width: 628px) {\n .alert-content {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n }\n\n .alert-message {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n }\n\n .alert-title {\n white-space: normal;\n }\n\n .alert-action-container {\n margin-bottom: var(--ic-space-xs);\n }\n}\n\n@media (forced-colors: active) {\n .container {\n border: var(--ic-hc-border);\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n Host,\n State,\n Listen,\n Prop,\n h,\n forceUpdate,\n} from \"@stencil/core\";\nimport closeIcon from \"../../assets/close-icon.svg\";\nimport { isSlotUsed, checkSlotInChildMutations } from \"../../utils/helpers\";\nimport { IcThemeForegroundEnum, IcStatusVariants } from \"../../utils/types\";\nimport { VARIANT_ICONS } from \"../../utils/constants\";\n\n/**\n * @slot message - Content is placed to the right of the title.\n * @slot action - Content is placed to the right of the message.\n */\n@Component({\n tag: \"ic-alert\",\n styleUrl: \"ic-alert.css\",\n shadow: true,\n})\nexport class Alert {\n private hostMutationObserver: MutationObserver = null;\n\n @Element() el: HTMLIcAlertElement;\n\n @State() alertTitleWrap: boolean = false;\n @State() visible: boolean = true;\n\n /**\n * If `true`, the alert will have the 'alert' ARIA role and will be announced to screen readers.\n */\n @Prop() announced?: boolean = true;\n\n /**\n * If `true`, the alert will have a close icon at the end to dismiss it.\n */\n @Prop() dismissible?: boolean = false;\n\n /**\n * The optional title to display at the start of the alert.\n */\n @Prop() heading?: string = \"\";\n\n /**\n * The main body message of the alert.\n */\n @Prop() message?: string;\n\n /**\n * If `true`, the title and message will appear above and below instead of inline.\n */\n @Prop() titleAbove?: boolean = false;\n\n /**\n * The variant of the alert which will be rendered.\n */\n @Prop() variant?: IcStatusVariants = \"neutral\";\n\n /**\n * @deprecated This event should not be used anymore. Use icDismiss instead.\n */\n @Event() dismiss: EventEmitter<void>;\n\n /**\n * Is emitted when the user dismisses the alert.\n */\n @Event() icDismiss: EventEmitter<void>;\n\n disconnectedCallback(): void {\n this.hostMutationObserver?.disconnect();\n }\n\n componentDidLoad(): void {\n this.alertTitleShouldWrap();\n\n this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);\n this.hostMutationObserver.observe(this.el, {\n childList: true,\n });\n }\n\n @Listen(\"icDismiss\", { capture: true })\n handleClick(): void {\n this.visible = !this.visible;\n }\n\n private dismissAction = (): void => {\n this.dismiss.emit();\n this.icDismiss.emit();\n };\n\n private alertTitleShouldWrap() {\n const titleHeight =\n this.el.shadowRoot.querySelector(\".alert-title\")?.clientHeight;\n if (titleHeight > 24) this.alertTitleWrap = true;\n }\n\n private hostMutationCallback = (mutationList: MutationRecord[]): void => {\n if (\n mutationList.some(({ type, addedNodes, removedNodes }) =>\n type === \"childList\"\n ? checkSlotInChildMutations(addedNodes, removedNodes, \"action\")\n : false\n )\n ) {\n forceUpdate(this);\n }\n };\n\n render() {\n const {\n variant,\n heading,\n message,\n titleAbove,\n dismissible,\n announced,\n visible,\n } = this;\n\n return (\n visible && (\n <Host\n role={announced ? \"alert\" : null}\n class={{\n [IcThemeForegroundEnum.Dark]: true,\n }}\n >\n <div\n class={{\n [\"container\"]: true,\n [`container-${variant}`]: true,\n }}\n >\n <div class=\"alert-icon-container\">\n <div\n class={{\n [\"divider\"]: true,\n [`divider-${variant}`]: true,\n }}\n ></div>\n <span\n class={{\n [\"alert-icon\"]: true,\n [\"svg-container\"]: true,\n [`icon-${variant}`]: true,\n }}\n innerHTML={VARIANT_ICONS[variant].icon}\n ></span>\n </div>\n <div class=\"alert-content\">\n <div\n class={{\n [\"alert-message\"]: true,\n [\"alert-message-title-above\"]:\n titleAbove || this.alertTitleWrap,\n }}\n >\n {heading && (\n <ic-typography\n class={{\n [\"alert-title\"]: true,\n [\"alert-title-above\"]: titleAbove || this.alertTitleWrap,\n }}\n variant=\"subtitle-large\"\n >\n <p>{heading}</p>\n </ic-typography>\n )}\n <slot name=\"message\">\n <ic-typography variant=\"body\">{message}</ic-typography>\n </slot>\n </div>\n {isSlotUsed(this.el, \"action\") && (\n <div class=\"alert-action-container\">\n <slot name=\"action\" />\n </div>\n )}\n </div>\n <div class=\"dismiss-icon-container\">\n {dismissible && (\n <ic-button\n class={{\n [\"svg-container\"]: true,\n [\"dismiss-icon\"]: true,\n }}\n innerHTML={closeIcon}\n onClick={this.dismissAction}\n variant=\"icon\"\n appearance={IcThemeForegroundEnum.Dark}\n title=\"dismiss\"\n ></ic-button>\n )}\n </div>\n </div>\n </Host>\n )\n );\n }\n}\n"],"version":3}
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, g as getElement } from './index-d1d2c456.js';
2
- import { o as onComponentPropUndefinedChange, a as onComponentRequiredPropUndefined } from './helpers-988ce06b.js';
2
+ import { o as onComponentPropUndefinedChange, a as onComponentRequiredPropUndefined } from './helpers-3905ccc4.js';
3
3
  import './types-6f6b41a5.js';
4
4
 
5
5
  const ArrowUpward = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" aria-hidden="true">
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-d1d2c456.js';
2
- import { c as convertToRGBA, h as hexToRgba, g as getCssProperty, r as rgbaStrToObj, b as getThemeForegroundColor, d as isPropDefined, a as onComponentRequiredPropUndefined } from './helpers-988ce06b.js';
2
+ import { c as convertToRGBA, h as hexToRgba, g as getCssProperty, r as rgbaStrToObj, b as getThemeForegroundColor, d as isPropDefined, a as onComponentRequiredPropUndefined } from './helpers-3905ccc4.js';
3
3
  import './types-6f6b41a5.js';
4
4
 
5
5
  const icBadgeCss = "@media (prefers-reduced-motion: no-preference){:host(.show){animation:expand var(--ic-transition-duration-slow)}:host(.hide){animation:shrink var(--ic-transition-duration-slow)}}:host{display:flex;height:var(--ic-space-md);min-width:var(--ic-space-md);width:-moz-fit-content;width:fit-content;border-radius:calc(2 * var(--ic-space-xxl));position:absolute}:host(.neutral){background-color:var(--ic-architectural-500)}:host(.light){background-color:var(--ic-architectural-40)}:host(.info){background-color:var(--ic-status-info)}:host(.warning){background-color:var(--ic-status-warning-mid)}:host(.error){background-color:var(--ic-status-error)}:host(.success){background-color:var(--ic-status-success)}:host(.small){height:var(--ic-space-sm);min-width:var(--ic-space-sm)}:host(.large){height:calc(var(--ic-space-md) + var(--ic-space-xxs));min-width:calc(var(--ic-space-md) + var(--ic-space-xxs))}:host(.dot.default){height:var(--ic-space-xs);width:var(--ic-space-xs);min-width:var(--ic-space-xs)}:host(.dot.small){height:calc(var(--ic-space-xxs) + var(--ic-space-xxxs));width:calc(var(--ic-space-xxs) + var(--ic-space-xxxs));min-width:calc(var(--ic-space-xxs) + var(--ic-space-xxxs))}:host(.dot.large){height:var(--ic-space-sm);width:var(--ic-space-sm);min-width:var(--ic-space-sm)}:host(.foreground-dark) ::slotted(*){fill:var(--ic-color-primary-text)}:host(.foreground-light) ::slotted(*){fill:white}:host(.foreground-dark) ic-typography{color:var(--ic-color-primary-text)}:host(.foreground-light) ic-typography{color:white}:host(.text) ic-typography{align-self:center;padding:0 calc((var(--ic-space-xs) + var(--ic-space-1px)) / 2)\n var(--ic-space-1px)}:host(.text.small) ic-typography{padding:0 0.2132rem}:host(.text.large) ic-typography{padding:0 calc((var(--ic-space-sm) + var(--ic-space-1px)) / 2)\n var(--ic-space-1px)}:host(.icon) ::slotted(svg){width:var(--ic-space-sm);height:var(--ic-space-sm);padding:var(--ic-space-xxxs)}:host(.icon.small) ::slotted(svg){width:var(--ic-space-xs);height:var(--ic-space-xs)}:host(.icon.large) ::slotted(svg){width:calc(var(--ic-space-sm) + var(--ic-space-xxxs));height:calc(var(--ic-space-sm) + var(--ic-space-xxxs));padding:calc(var(--ic-space-xxxs) + var(--ic-space-1px))}:host(.far){top:calc(-1 * var(--ic-space-xs));right:calc(-1 * var(--ic-space-xs))}:host(.far.small),:host(.dot.far.large){top:calc(-1 * var(--ic-space-xxs));right:calc(-1 * var(--ic-space-xxs))}:host(.dot.far),:host(.dot.far.small){top:calc(-1 * var(--ic-space-xxxs));right:calc(-1 * var(--ic-space-xxxs))}:host(.near){top:calc(-1 * calc(var(--ic-space-xxs) + var(--ic-space-1px)));right:calc(-1 * calc(var(--ic-space-xxs) + var(--ic-space-1px)))}:host(.dot.near){top:calc(-1 * var(--ic-space-1px));right:calc(-1 * var(--ic-space-1px))}:host(.inline){position:static}:host(.hide){visibility:hidden !important;transition:visibility var(--ic-transition-duration-slow)}@keyframes expand{from{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes shrink{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-d1d2c456.js';
2
- import { D as DEVICE_SIZES, e as getCurrentDeviceSize, f as checkResizeObserver } from './helpers-988ce06b.js';
2
+ import { D as DEVICE_SIZES, e as getCurrentDeviceSize, f as checkResizeObserver } from './helpers-3905ccc4.js';
3
3
  import './types-6f6b41a5.js';
4
4
 
5
5
  const icBreadcrumbGroupCss = ":host{display:block}:host ol{display:flex;list-style-type:none;align-items:center;flex-wrap:wrap;padding:0;margin:0}:host(.back) ol ::slotted(ic-breadcrumb){display:none}:host(.back) ol ::slotted(ic-breadcrumb.show){display:flex}:host(.collapsed) ol ::slotted(ic-breadcrumb.hide){display:none;opacity:0;visibility:hidden}:host(.collapsed) ol ::slotted(ic-breadcrumb.visuallyhidden){display:block;opacity:0;transition:all var(--ic-easing-transition-slow)}:host(.collapsed) ol ::slotted(ic-breadcrumb.fade){opacity:1}";
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-d1d2c456.js';
2
2
  import { C as Chevron } from './chevron-icon-589e3b46.js';
3
- import { i as isSlotUsed, d as isPropDefined } from './helpers-988ce06b.js';
3
+ import { i as isSlotUsed, d as isPropDefined } from './helpers-3905ccc4.js';
4
4
  import './types-6f6b41a5.js';
5
5
 
6
6
  const backIcon = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-d1d2c456.js';
2
- import { w as IC_INHERITED_ARIA, j as removeDisabledFalse, v as inheritAttributes, U as renderFileHiddenInput, k as getThemeFromContext, i as isSlotUsed, d as isPropDefined, a as onComponentRequiredPropUndefined } from './helpers-988ce06b.js';
2
+ import { y as IC_INHERITED_ARIA, k as removeDisabledFalse, x as inheritAttributes, X as renderFileHiddenInput, l as getThemeFromContext, i as isSlotUsed, d as isPropDefined, a as onComponentRequiredPropUndefined } from './helpers-3905ccc4.js';
3
3
  import { I as IcThemeForegroundEnum } from './types-6f6b41a5.js';
4
4
  import { c as createPopper } from './popper-0fbeff6d.js';
5
5
 
@@ -582,9 +582,7 @@ const Tooltip = class {
582
582
  .getBoundingClientRect();
583
583
  this.getTooltipTranslate(dialogEl);
584
584
  }
585
- this.popperInstance = createPopper(this.el, this.toolTip, {
586
- placement: this.placement,
587
- modifiers: [
585
+ this.popperInstance = createPopper(this.el, this.toolTip, Object.assign({ placement: this.placement, modifiers: [
588
586
  {
589
587
  name: "offset",
590
588
  options: {
@@ -601,8 +599,7 @@ const Tooltip = class {
601
599
  name: "eventListeners",
602
600
  options: { scroll: false, resize: false },
603
601
  },
604
- ],
605
- });
602
+ ] }, this.popperProps));
606
603
  }
607
604
  else {
608
605
  console.warn(`Tooltip can't display without prop 'label' set`);
@@ -662,6 +659,14 @@ const Tooltip = class {
662
659
  this.silent = false;
663
660
  this.target = undefined;
664
661
  this.label = undefined;
662
+ this.popperProps = {};
663
+ }
664
+ /**
665
+ * @internal This method allows props to be added to the PopperJS createPopper instance outside of tooltip
666
+ * @param props object - createPopper props set externally
667
+ */
668
+ async setExternalPopperProps(props) {
669
+ this.popperProps = props;
665
670
  }
666
671
  disconnectedCallback() {
667
672
  this.manageEventListeners("remove");