@ukic/canary-web-components 2.0.0-canary.23 → 2.0.0-canary.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (674) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-85c5ca15.js → helpers-6817cfbb.js} +20 -31
  3. package/dist/cjs/helpers-6817cfbb.js.map +1 -0
  4. package/dist/cjs/ic-accordion-group.cjs.entry.js +7 -7
  5. package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
  6. package/dist/cjs/ic-accordion.cjs.entry.js +3 -3
  7. package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
  8. package/dist/cjs/ic-alert.cjs.entry.js +11 -4
  9. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ic-back-to-top.cjs.entry.js +14 -11
  11. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-badge.cjs.entry.js +26 -14
  13. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +3 -3
  15. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-breadcrumb.cjs.entry.js +2 -2
  17. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  18. package/dist/cjs/ic-button_3.cjs.entry.js +21 -18
  19. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ic-card-horizontal.cjs.entry.js +1 -1
  21. package/dist/cjs/{ic-card-vertical.cjs.entry.js → ic-card.cjs.entry.js} +5 -5
  22. package/dist/cjs/ic-card.cjs.entry.js.map +1 -0
  23. package/dist/cjs/ic-checkbox-group.cjs.entry.js +4 -5
  24. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ic-checkbox.cjs.entry.js +14 -5
  26. package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-chip.cjs.entry.js +9 -2
  28. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
  30. package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-data-entity.cjs.entry.js +29 -0
  32. package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -0
  33. package/dist/cjs/ic-data-row.cjs.entry.js +9 -8
  34. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  35. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +2 -2
  36. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-data-table.cjs.entry.js +205 -51
  38. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-date-input.cjs.entry.js +3 -2
  40. package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-date-picker.cjs.entry.js +5 -3
  42. package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ic-dialog.cjs.entry.js +96 -11
  44. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-empty-state_2.cjs.entry.js +7 -7
  46. package/dist/cjs/ic-empty-state_2.cjs.entry.js.map +1 -1
  47. package/dist/cjs/ic-footer-link-group.cjs.entry.js +8 -8
  48. package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ic-footer-link.cjs.entry.js +6 -5
  50. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-footer.cjs.entry.js +7 -7
  52. package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-hero.cjs.entry.js +8 -7
  54. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +4 -4
  56. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +24 -20
  58. package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ic-link.cjs.entry.js +6 -5
  60. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-menu-item.cjs.entry.js +2 -2
  62. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-menu-with-multi.cjs.entry.js +11 -9
  64. package/dist/cjs/ic-menu-with-multi.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-menu.cjs.entry.js +9 -7
  66. package/dist/cjs/ic-menu.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-navigation-group.cjs.entry.js +8 -8
  68. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-navigation-item.cjs.entry.js +4 -4
  70. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  72. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ic-page-header.cjs.entry.js +7 -6
  74. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ic-pagination_4.cjs.entry.js +99 -92
  76. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  77. package/dist/cjs/ic-popover-menu.cjs.entry.js +2 -2
  78. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-radio-group.cjs.entry.js +25 -14
  80. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ic-radio-option.cjs.entry.js +17 -4
  82. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ic-search-bar.cjs.entry.js +23 -17
  84. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ic-select-with-multi.cjs.entry.js +21 -13
  86. package/dist/cjs/ic-select-with-multi.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ic-side-navigation.cjs.entry.js +6 -6
  88. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ic-skeleton.cjs.entry.js +5 -4
  90. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  91. package/dist/cjs/ic-status-tag.cjs.entry.js +10 -1
  92. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  93. package/dist/cjs/ic-step.cjs.entry.js +42 -39
  94. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ic-stepper.cjs.entry.js +15 -15
  96. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  97. package/dist/cjs/ic-switch.cjs.entry.js +5 -4
  98. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  99. package/dist/cjs/ic-tab-context.cjs.entry.js +11 -0
  100. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  101. package/dist/cjs/ic-tab-group.cjs.entry.js +4 -3
  102. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  103. package/dist/cjs/ic-tab-panel.cjs.entry.js +7 -0
  104. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  105. package/dist/cjs/ic-tab.cjs.entry.js +3 -3
  106. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  107. package/dist/cjs/ic-toast-region.cjs.entry.js +7 -0
  108. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  109. package/dist/cjs/ic-toast.cjs.entry.js +34 -82
  110. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  111. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +16 -16
  112. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
  113. package/dist/cjs/ic-toggle-button.cjs.entry.js +12 -12
  114. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  115. package/dist/cjs/ic-top-navigation.cjs.entry.js +3 -3
  116. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  117. package/dist/cjs/ic-tree-item.cjs.entry.js +1 -1
  118. package/dist/cjs/ic-tree-view.cjs.entry.js +1 -1
  119. package/dist/cjs/ic-typography.cjs.entry.js +5 -5
  120. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  121. package/dist/cjs/index-4cf27b16.js +10 -10
  122. package/dist/cjs/loader.cjs.js +1 -1
  123. package/dist/collection/collection-manifest.json +2 -2
  124. package/dist/collection/components/ic-data-table/ic-data-table.css +31 -7
  125. package/dist/collection/components/ic-data-table/ic-data-table.js +323 -56
  126. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  127. package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -1
  128. package/dist/collection/components/ic-data-table/story-data.js +149 -54
  129. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  130. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +15 -0
  131. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
  132. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js +1 -1
  133. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js.map +1 -1
  134. package/dist/collection/components/ic-date-input/ic-date-input.js +20 -1
  135. package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
  136. package/dist/collection/components/ic-date-input/test/basic/ic-date-input.spec.js +9 -0
  137. package/dist/collection/components/ic-date-input/test/basic/ic-date-input.spec.js.map +1 -1
  138. package/dist/collection/components/ic-date-picker/ic-date-picker.css +24 -24
  139. package/dist/collection/components/ic-date-picker/ic-date-picker.js +21 -1
  140. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
  141. package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker.spec.js +10 -0
  142. package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker.spec.js.map +1 -1
  143. package/dist/collection/components/ic-menu-with-multi/ic-menu.css +11 -11
  144. package/dist/collection/components/ic-menu-with-multi/ic-menu.js +30 -7
  145. package/dist/collection/components/ic-menu-with-multi/ic-menu.js.map +1 -1
  146. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js +1 -1
  147. package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js.map +1 -1
  148. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +1 -1
  149. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  150. package/dist/collection/components/ic-select-with-multi/ic-select.css +12 -14
  151. package/dist/collection/components/ic-select-with-multi/ic-select.js +142 -13
  152. package/dist/collection/components/ic-select-with-multi/ic-select.js.map +1 -1
  153. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.e2e.js +1 -1
  154. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.e2e.js.map +1 -1
  155. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js +6 -6
  156. package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js.map +1 -1
  157. package/dist/collection/utils/helpers.js +22 -0
  158. package/dist/collection/utils/helpers.js.map +1 -1
  159. package/dist/collection/utils/types.js.map +1 -1
  160. package/dist/components/helpers2.js +18 -29
  161. package/dist/components/helpers2.js.map +1 -1
  162. package/dist/components/ic-accordion-group.js +8 -8
  163. package/dist/components/ic-accordion-group.js.map +1 -1
  164. package/dist/components/ic-accordion.js +3 -3
  165. package/dist/components/ic-accordion.js.map +1 -1
  166. package/dist/components/ic-alert.js +1 -127
  167. package/dist/components/ic-alert.js.map +1 -1
  168. package/dist/components/ic-alert2.js +139 -0
  169. package/dist/components/ic-alert2.js.map +1 -0
  170. package/dist/components/ic-back-to-top.js +15 -24
  171. package/dist/components/ic-back-to-top.js.map +1 -1
  172. package/dist/components/ic-badge.js +30 -16
  173. package/dist/components/ic-badge.js.map +1 -1
  174. package/dist/components/ic-breadcrumb-group.js +3 -3
  175. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  176. package/dist/components/ic-breadcrumb2.js +2 -2
  177. package/dist/components/ic-breadcrumb2.js.map +1 -1
  178. package/dist/components/ic-button2.js +14 -11
  179. package/dist/components/ic-button2.js.map +1 -1
  180. package/dist/components/{ic-card-vertical.js → ic-card.js} +10 -10
  181. package/dist/components/ic-card.js.map +1 -0
  182. package/dist/components/ic-checkbox-group.js +5 -5
  183. package/dist/components/ic-checkbox-group.js.map +1 -1
  184. package/dist/components/ic-checkbox.js +20 -5
  185. package/dist/components/ic-checkbox.js.map +1 -1
  186. package/dist/components/ic-chip.js +10 -2
  187. package/dist/components/ic-chip.js.map +1 -1
  188. package/dist/components/ic-classification-banner.js +2 -2
  189. package/dist/components/ic-classification-banner.js.map +1 -1
  190. package/dist/components/ic-data-entity.js +53 -0
  191. package/dist/components/ic-data-entity.js.map +1 -0
  192. package/dist/components/ic-data-row.js +11 -9
  193. package/dist/components/ic-data-row.js.map +1 -1
  194. package/dist/components/ic-data-table-title-bar.js +1 -1
  195. package/dist/components/ic-data-table-title-bar.js.map +1 -1
  196. package/dist/components/ic-data-table.js +212 -52
  197. package/dist/components/ic-data-table.js.map +1 -1
  198. package/dist/components/ic-date-input2.js +3 -1
  199. package/dist/components/ic-date-input2.js.map +1 -1
  200. package/dist/components/ic-date-picker.js +5 -2
  201. package/dist/components/ic-date-picker.js.map +1 -1
  202. package/dist/components/ic-dialog.js +112 -14
  203. package/dist/components/ic-dialog.js.map +1 -1
  204. package/dist/components/ic-empty-state2.js +6 -6
  205. package/dist/components/ic-empty-state2.js.map +1 -1
  206. package/dist/components/ic-footer-link-group.js +9 -9
  207. package/dist/components/ic-footer-link-group.js.map +1 -1
  208. package/dist/components/ic-footer-link.js +7 -12
  209. package/dist/components/ic-footer-link.js.map +1 -1
  210. package/dist/components/ic-footer.js +7 -7
  211. package/dist/components/ic-footer.js.map +1 -1
  212. package/dist/components/ic-hero.js +9 -7
  213. package/dist/components/ic-hero.js.map +1 -1
  214. package/dist/components/ic-horizontal-scroll2.js +4 -4
  215. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  216. package/dist/components/ic-input-component-container2.js +15 -10
  217. package/dist/components/ic-input-component-container2.js.map +1 -1
  218. package/dist/components/ic-input-label2.js +11 -9
  219. package/dist/components/ic-input-label2.js.map +1 -1
  220. package/dist/components/ic-input-validation2.js +3 -3
  221. package/dist/components/ic-input-validation2.js.map +1 -1
  222. package/dist/components/ic-link2.js +7 -5
  223. package/dist/components/ic-link2.js.map +1 -1
  224. package/dist/components/ic-loading-indicator2.js +8 -8
  225. package/dist/components/ic-loading-indicator2.js.map +1 -1
  226. package/dist/components/ic-menu-item2.js +2 -2
  227. package/dist/components/ic-menu-item2.js.map +1 -1
  228. package/dist/components/ic-menu2.js +10 -7
  229. package/dist/components/ic-menu2.js.map +1 -1
  230. package/dist/components/ic-menu3.js +11 -8
  231. package/dist/components/ic-menu3.js.map +1 -1
  232. package/dist/components/ic-navigation-group.js +8 -8
  233. package/dist/components/ic-navigation-group.js.map +1 -1
  234. package/dist/components/ic-navigation-item.js +4 -4
  235. package/dist/components/ic-navigation-item.js.map +1 -1
  236. package/dist/components/ic-navigation-menu2.js +1 -1
  237. package/dist/components/ic-navigation-menu2.js.map +1 -1
  238. package/dist/components/ic-page-header.js +8 -6
  239. package/dist/components/ic-page-header.js.map +1 -1
  240. package/dist/components/ic-pagination-bar2.js +1 -1
  241. package/dist/components/ic-pagination-bar2.js.map +1 -1
  242. package/dist/components/ic-pagination2.js +34 -36
  243. package/dist/components/ic-pagination2.js.map +1 -1
  244. package/dist/components/ic-popover-menu.js +2 -2
  245. package/dist/components/ic-popover-menu.js.map +1 -1
  246. package/dist/components/ic-radio-group.js +27 -15
  247. package/dist/components/ic-radio-group.js.map +1 -1
  248. package/dist/components/ic-radio-option.js +25 -6
  249. package/dist/components/ic-radio-option.js.map +1 -1
  250. package/dist/components/ic-search-bar.js +26 -19
  251. package/dist/components/ic-search-bar.js.map +1 -1
  252. package/dist/components/ic-select-with-multi.js +28 -13
  253. package/dist/components/ic-select-with-multi.js.map +1 -1
  254. package/dist/components/ic-select2.js +28 -13
  255. package/dist/components/ic-select2.js.map +1 -1
  256. package/dist/components/ic-side-navigation.js +6 -6
  257. package/dist/components/ic-side-navigation.js.map +1 -1
  258. package/dist/components/ic-skeleton.js +6 -4
  259. package/dist/components/ic-skeleton.js.map +1 -1
  260. package/dist/components/ic-status-tag.js +12 -1
  261. package/dist/components/ic-status-tag.js.map +1 -1
  262. package/dist/components/ic-step.js +48 -45
  263. package/dist/components/ic-step.js.map +1 -1
  264. package/dist/components/ic-stepper.js +15 -15
  265. package/dist/components/ic-stepper.js.map +1 -1
  266. package/dist/components/ic-switch.js +6 -4
  267. package/dist/components/ic-switch.js.map +1 -1
  268. package/dist/components/ic-tab-context.js +11 -0
  269. package/dist/components/ic-tab-context.js.map +1 -1
  270. package/dist/components/ic-tab-group.js +5 -3
  271. package/dist/components/ic-tab-group.js.map +1 -1
  272. package/dist/components/ic-tab-panel.js +8 -0
  273. package/dist/components/ic-tab-panel.js.map +1 -1
  274. package/dist/components/ic-tab.js +3 -3
  275. package/dist/components/ic-tab.js.map +1 -1
  276. package/dist/components/ic-text-field2.js +54 -50
  277. package/dist/components/ic-text-field2.js.map +1 -1
  278. package/dist/components/ic-toast-region.js +9 -1
  279. package/dist/components/ic-toast-region.js.map +1 -1
  280. package/dist/components/ic-toast.js +35 -85
  281. package/dist/components/ic-toast.js.map +1 -1
  282. package/dist/components/ic-toggle-button-group.js +16 -16
  283. package/dist/components/ic-toggle-button-group.js.map +1 -1
  284. package/dist/components/ic-toggle-button.js +13 -13
  285. package/dist/components/ic-toggle-button.js.map +1 -1
  286. package/dist/components/ic-top-navigation.js +3 -3
  287. package/dist/components/ic-top-navigation.js.map +1 -1
  288. package/dist/components/ic-typography2.js +5 -5
  289. package/dist/components/ic-typography2.js.map +1 -1
  290. package/dist/core/core.css +1 -1
  291. package/dist/core/core.esm.js +1 -1
  292. package/dist/core/core.esm.js.map +1 -1
  293. package/dist/core/{p-0896531a.entry.js → p-0180e00a.entry.js} +2 -2
  294. package/dist/core/p-0180e00a.entry.js.map +1 -0
  295. package/dist/core/p-046f4de6.entry.js +2 -0
  296. package/dist/core/p-046f4de6.entry.js.map +1 -0
  297. package/dist/core/{p-00b29b5c.entry.js → p-0ec04c16.entry.js} +2 -2
  298. package/dist/core/p-0ec04c16.entry.js.map +1 -0
  299. package/dist/core/p-13993bf3.entry.js +2 -0
  300. package/dist/core/p-13993bf3.entry.js.map +1 -0
  301. package/dist/core/p-16a48a63.entry.js +2 -0
  302. package/dist/core/p-16a48a63.entry.js.map +1 -0
  303. package/dist/core/{p-401d0c66.entry.js → p-20997691.entry.js} +2 -2
  304. package/dist/core/{p-64b1e4a8.entry.js → p-216fbd5e.entry.js} +2 -2
  305. package/dist/core/p-216fbd5e.entry.js.map +1 -0
  306. package/dist/core/p-297e99cf.js +2 -0
  307. package/dist/core/p-297e99cf.js.map +1 -0
  308. package/dist/core/p-2d063032.entry.js +2 -0
  309. package/dist/core/p-2d063032.entry.js.map +1 -0
  310. package/dist/core/p-2ee5d3fb.entry.js +2 -0
  311. package/dist/core/p-2ee5d3fb.entry.js.map +1 -0
  312. package/dist/core/p-2f7e6e38.entry.js +2 -0
  313. package/dist/core/p-2f7e6e38.entry.js.map +1 -0
  314. package/dist/core/p-3a59391f.entry.js +2 -0
  315. package/dist/core/p-3a59391f.entry.js.map +1 -0
  316. package/dist/core/p-3ba4335c.entry.js +2 -0
  317. package/dist/core/p-3ba4335c.entry.js.map +1 -0
  318. package/dist/core/p-40e5fa80.entry.js +2 -0
  319. package/dist/core/p-40e5fa80.entry.js.map +1 -0
  320. package/dist/core/p-418a84d4.entry.js +2 -0
  321. package/dist/core/p-418a84d4.entry.js.map +1 -0
  322. package/dist/core/p-41916ef7.entry.js +2 -0
  323. package/dist/core/p-41916ef7.entry.js.map +1 -0
  324. package/dist/core/{p-4188b38a.entry.js → p-452985d9.entry.js} +2 -2
  325. package/dist/core/{p-f1072c28.entry.js.map → p-452985d9.entry.js.map} +1 -1
  326. package/dist/core/p-486a6957.entry.js +2 -0
  327. package/dist/core/p-486a6957.entry.js.map +1 -0
  328. package/dist/core/{p-21ecca00.entry.js → p-5348af01.entry.js} +2 -2
  329. package/dist/core/p-5348af01.entry.js.map +1 -0
  330. package/dist/core/{p-54306250.entry.js → p-5fea8f1c.entry.js} +2 -2
  331. package/dist/core/{p-54306250.entry.js.map → p-5fea8f1c.entry.js.map} +1 -1
  332. package/dist/core/p-6358925c.entry.js +2 -0
  333. package/dist/core/p-6358925c.entry.js.map +1 -0
  334. package/dist/core/p-6398a726.entry.js +2 -0
  335. package/dist/core/p-6398a726.entry.js.map +1 -0
  336. package/dist/core/{p-3f2ae26e.entry.js → p-648fb902.entry.js} +2 -2
  337. package/dist/core/p-648fb902.entry.js.map +1 -0
  338. package/dist/core/p-673a4a62.entry.js +2 -0
  339. package/dist/core/p-673a4a62.entry.js.map +1 -0
  340. package/dist/core/{p-88ba5a88.entry.js → p-67ae9d37.entry.js} +2 -2
  341. package/dist/core/p-6af080d3.entry.js +2 -0
  342. package/dist/core/p-6af080d3.entry.js.map +1 -0
  343. package/dist/core/{p-bcf04b18.entry.js → p-6b01e096.entry.js} +2 -2
  344. package/dist/core/p-6b01e096.entry.js.map +1 -0
  345. package/dist/core/{p-cbd730aa.entry.js → p-6b1fcf87.entry.js} +2 -2
  346. package/dist/core/p-6b1fcf87.entry.js.map +1 -0
  347. package/dist/core/{p-22260ed4.entry.js → p-6fb3d61e.entry.js} +2 -2
  348. package/dist/core/p-74abc3bb.entry.js +2 -0
  349. package/dist/core/p-74abc3bb.entry.js.map +1 -0
  350. package/dist/core/{p-f1072c28.entry.js → p-787ffd96.entry.js} +2 -2
  351. package/dist/core/p-787ffd96.entry.js.map +1 -0
  352. package/dist/core/p-789ae7f5.entry.js +2 -0
  353. package/dist/core/p-789ae7f5.entry.js.map +1 -0
  354. package/dist/core/{p-4309460f.entry.js → p-80d6a6b5.entry.js} +2 -2
  355. package/dist/core/{p-2fb52051.js → p-8128572e.js} +2 -2
  356. package/dist/core/p-89c7ea3e.entry.js +2 -0
  357. package/dist/core/p-89c7ea3e.entry.js.map +1 -0
  358. package/dist/core/p-8d276e8f.entry.js +2 -0
  359. package/dist/core/p-8d276e8f.entry.js.map +1 -0
  360. package/dist/core/{p-30d385c6.entry.js → p-92f701e7.entry.js} +2 -2
  361. package/dist/core/p-92f701e7.entry.js.map +1 -0
  362. package/dist/core/p-969cadfa.entry.js +2 -0
  363. package/dist/core/p-969cadfa.entry.js.map +1 -0
  364. package/dist/core/p-9777ebb1.entry.js +2 -0
  365. package/dist/core/p-9777ebb1.entry.js.map +1 -0
  366. package/dist/core/{p-41a53070.entry.js → p-97f141a6.entry.js} +2 -2
  367. package/dist/core/p-97f141a6.entry.js.map +1 -0
  368. package/dist/core/p-989310a8.entry.js +2 -0
  369. package/dist/core/p-989310a8.entry.js.map +1 -0
  370. package/dist/core/p-99185fd5.entry.js +2 -0
  371. package/dist/core/p-99185fd5.entry.js.map +1 -0
  372. package/dist/core/p-99f96c33.entry.js +2 -0
  373. package/dist/core/p-99f96c33.entry.js.map +1 -0
  374. package/dist/core/{p-ede631c5.entry.js → p-9b34989b.entry.js} +2 -2
  375. package/dist/core/{p-b6e208e3.entry.js → p-a72af8db.entry.js} +2 -2
  376. package/dist/core/p-aa72f551.entry.js +2 -0
  377. package/dist/core/p-aa72f551.entry.js.map +1 -0
  378. package/dist/core/p-aaaa9261.entry.js +2 -0
  379. package/dist/core/p-aaaa9261.entry.js.map +1 -0
  380. package/dist/core/p-b2c433e2.entry.js +2 -0
  381. package/dist/core/p-b2c433e2.entry.js.map +1 -0
  382. package/dist/core/p-bd1f8741.entry.js +2 -0
  383. package/dist/core/p-bd1f8741.entry.js.map +1 -0
  384. package/dist/core/p-bee3fdb0.entry.js +2 -0
  385. package/dist/core/p-bee3fdb0.entry.js.map +1 -0
  386. package/dist/core/{p-2533d147.entry.js → p-bfc5f3f4.entry.js} +2 -2
  387. package/dist/core/p-bfc5f3f4.entry.js.map +1 -0
  388. package/dist/core/p-c6bdbe69.entry.js +2 -0
  389. package/dist/core/p-c6bdbe69.entry.js.map +1 -0
  390. package/dist/core/p-c98ce508.entry.js +2 -0
  391. package/dist/core/p-c98ce508.entry.js.map +1 -0
  392. package/dist/core/p-cb3afdbf.entry.js +2 -0
  393. package/dist/core/p-cb3afdbf.entry.js.map +1 -0
  394. package/dist/core/p-ccf72538.entry.js +2 -0
  395. package/dist/core/p-ccf72538.entry.js.map +1 -0
  396. package/dist/core/p-ce0999f1.entry.js +2 -0
  397. package/dist/core/p-ce0999f1.entry.js.map +1 -0
  398. package/dist/core/p-d02a4d1b.entry.js +2 -0
  399. package/dist/core/p-d02a4d1b.entry.js.map +1 -0
  400. package/dist/core/p-d362992d.entry.js +2 -0
  401. package/dist/core/p-d362992d.entry.js.map +1 -0
  402. package/dist/core/p-d8322108.entry.js +2 -0
  403. package/dist/core/p-d8322108.entry.js.map +1 -0
  404. package/dist/core/{p-125bc120.entry.js → p-d86cdbc8.entry.js} +2 -2
  405. package/dist/core/{p-a4d0f166.entry.js → p-da8255b8.entry.js} +2 -2
  406. package/dist/core/p-da8255b8.entry.js.map +1 -0
  407. package/dist/core/p-ee8a3de6.entry.js +2 -0
  408. package/dist/core/p-ee8a3de6.entry.js.map +1 -0
  409. package/dist/core/{p-be70c278.entry.js → p-f09b2041.entry.js} +2 -2
  410. package/dist/core/{p-be70c278.entry.js.map → p-f09b2041.entry.js.map} +1 -1
  411. package/dist/core/p-f1044e4d.entry.js +2 -0
  412. package/dist/core/p-f1044e4d.entry.js.map +1 -0
  413. package/dist/core/p-f10f7f37.entry.js +2 -0
  414. package/dist/core/p-f10f7f37.entry.js.map +1 -0
  415. package/dist/core/p-fa77211d.entry.js +2 -0
  416. package/dist/core/p-fa77211d.entry.js.map +1 -0
  417. package/dist/esm/core.js +1 -1
  418. package/dist/esm/{helpers-f543bc77.js → helpers-5bd2012a.js} +19 -30
  419. package/dist/esm/helpers-5bd2012a.js.map +1 -0
  420. package/dist/esm/{helpers-0f5fe29b.js → helpers-886489d5.js} +2 -2
  421. package/dist/esm/{helpers-0f5fe29b.js.map → helpers-886489d5.js.map} +1 -1
  422. package/dist/esm/ic-accordion-group.entry.js +8 -8
  423. package/dist/esm/ic-accordion-group.entry.js.map +1 -1
  424. package/dist/esm/ic-accordion.entry.js +4 -4
  425. package/dist/esm/ic-accordion.entry.js.map +1 -1
  426. package/dist/esm/ic-alert.entry.js +12 -5
  427. package/dist/esm/ic-alert.entry.js.map +1 -1
  428. package/dist/esm/ic-back-to-top.entry.js +15 -12
  429. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  430. package/dist/esm/ic-badge.entry.js +27 -15
  431. package/dist/esm/ic-badge.entry.js.map +1 -1
  432. package/dist/esm/ic-breadcrumb-group.entry.js +4 -4
  433. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  434. package/dist/esm/ic-breadcrumb.entry.js +3 -3
  435. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  436. package/dist/esm/ic-button_3.entry.js +22 -19
  437. package/dist/esm/ic-button_3.entry.js.map +1 -1
  438. package/dist/esm/ic-card-horizontal.entry.js +1 -1
  439. package/dist/esm/{ic-card-vertical.entry.js → ic-card.entry.js} +6 -6
  440. package/dist/esm/ic-card.entry.js.map +1 -0
  441. package/dist/esm/ic-checkbox-group.entry.js +5 -6
  442. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  443. package/dist/esm/ic-checkbox.entry.js +15 -6
  444. package/dist/esm/ic-checkbox.entry.js.map +1 -1
  445. package/dist/esm/ic-chip.entry.js +10 -3
  446. package/dist/esm/ic-chip.entry.js.map +1 -1
  447. package/dist/esm/ic-classification-banner.entry.js +2 -2
  448. package/dist/esm/ic-classification-banner.entry.js.map +1 -1
  449. package/dist/esm/ic-data-entity.entry.js +25 -0
  450. package/dist/esm/ic-data-entity.entry.js.map +1 -0
  451. package/dist/esm/ic-data-row.entry.js +10 -9
  452. package/dist/esm/ic-data-row.entry.js.map +1 -1
  453. package/dist/esm/ic-data-table-title-bar.entry.js +2 -2
  454. package/dist/esm/ic-data-table-title-bar.entry.js.map +1 -1
  455. package/dist/esm/ic-data-table.entry.js +206 -52
  456. package/dist/esm/ic-data-table.entry.js.map +1 -1
  457. package/dist/esm/ic-date-input.entry.js +3 -2
  458. package/dist/esm/ic-date-input.entry.js.map +1 -1
  459. package/dist/esm/ic-date-picker.entry.js +5 -3
  460. package/dist/esm/ic-date-picker.entry.js.map +1 -1
  461. package/dist/esm/ic-dialog.entry.js +97 -12
  462. package/dist/esm/ic-dialog.entry.js.map +1 -1
  463. package/dist/esm/ic-divider.entry.js +1 -1
  464. package/dist/esm/ic-empty-state_2.entry.js +8 -8
  465. package/dist/esm/ic-empty-state_2.entry.js.map +1 -1
  466. package/dist/esm/ic-footer-link-group.entry.js +9 -9
  467. package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
  468. package/dist/esm/ic-footer-link.entry.js +7 -6
  469. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  470. package/dist/esm/ic-footer.entry.js +8 -8
  471. package/dist/esm/ic-footer.entry.js.map +1 -1
  472. package/dist/esm/ic-hero.entry.js +9 -8
  473. package/dist/esm/ic-hero.entry.js.map +1 -1
  474. package/dist/esm/ic-horizontal-scroll.entry.js +5 -5
  475. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  476. package/dist/esm/ic-input-component-container_4.entry.js +25 -21
  477. package/dist/esm/ic-input-component-container_4.entry.js.map +1 -1
  478. package/dist/esm/ic-link.entry.js +7 -6
  479. package/dist/esm/ic-link.entry.js.map +1 -1
  480. package/dist/esm/ic-menu-group.entry.js +1 -1
  481. package/dist/esm/ic-menu-item.entry.js +3 -3
  482. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  483. package/dist/esm/ic-menu-with-multi.entry.js +11 -9
  484. package/dist/esm/ic-menu-with-multi.entry.js.map +1 -1
  485. package/dist/esm/ic-menu.entry.js +10 -8
  486. package/dist/esm/ic-menu.entry.js.map +1 -1
  487. package/dist/esm/ic-navigation-button.entry.js +1 -1
  488. package/dist/esm/ic-navigation-group.entry.js +9 -9
  489. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  490. package/dist/esm/ic-navigation-item.entry.js +5 -5
  491. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  492. package/dist/esm/ic-navigation-menu.entry.js +2 -2
  493. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  494. package/dist/esm/ic-page-header.entry.js +8 -7
  495. package/dist/esm/ic-page-header.entry.js.map +1 -1
  496. package/dist/esm/ic-pagination_4.entry.js +100 -93
  497. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  498. package/dist/esm/ic-popover-menu.entry.js +3 -3
  499. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  500. package/dist/esm/ic-radio-group.entry.js +26 -15
  501. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  502. package/dist/esm/ic-radio-option.entry.js +18 -5
  503. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  504. package/dist/esm/ic-search-bar.entry.js +24 -18
  505. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  506. package/dist/esm/ic-select-with-multi.entry.js +21 -13
  507. package/dist/esm/ic-select-with-multi.entry.js.map +1 -1
  508. package/dist/esm/ic-side-navigation.entry.js +7 -7
  509. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  510. package/dist/esm/ic-skeleton.entry.js +5 -4
  511. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  512. package/dist/esm/ic-status-tag.entry.js +11 -2
  513. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  514. package/dist/esm/ic-step.entry.js +43 -40
  515. package/dist/esm/ic-step.entry.js.map +1 -1
  516. package/dist/esm/ic-stepper.entry.js +16 -16
  517. package/dist/esm/ic-stepper.entry.js.map +1 -1
  518. package/dist/esm/ic-switch.entry.js +6 -5
  519. package/dist/esm/ic-switch.entry.js.map +1 -1
  520. package/dist/esm/ic-tab-context.entry.js +11 -0
  521. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  522. package/dist/esm/ic-tab-group.entry.js +5 -4
  523. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  524. package/dist/esm/ic-tab-panel.entry.js +8 -1
  525. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  526. package/dist/esm/ic-tab.entry.js +4 -4
  527. package/dist/esm/ic-tab.entry.js.map +1 -1
  528. package/dist/esm/ic-theme.entry.js +1 -1
  529. package/dist/esm/ic-toast-region.entry.js +7 -0
  530. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  531. package/dist/esm/ic-toast.entry.js +35 -83
  532. package/dist/esm/ic-toast.entry.js.map +1 -1
  533. package/dist/esm/ic-toggle-button-group.entry.js +16 -16
  534. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
  535. package/dist/esm/ic-toggle-button.entry.js +13 -13
  536. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  537. package/dist/esm/ic-top-navigation.entry.js +4 -4
  538. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  539. package/dist/esm/ic-tree-item.entry.js +1 -1
  540. package/dist/esm/ic-tree-view.entry.js +1 -1
  541. package/dist/esm/ic-typography.entry.js +6 -6
  542. package/dist/esm/ic-typography.entry.js.map +1 -1
  543. package/dist/esm/index-93509377.js +10 -10
  544. package/dist/esm/loader.js +1 -1
  545. package/dist/types/components/ic-data-table/ic-data-table.d.ts +36 -9
  546. package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +16 -4
  547. package/dist/types/components/ic-data-table/story-data.d.ts +69 -8
  548. package/dist/types/components/ic-date-input/ic-date-input.d.ts +4 -0
  549. package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +4 -0
  550. package/dist/types/components/ic-menu-with-multi/ic-menu.d.ts +4 -0
  551. package/dist/types/components/ic-select-with-multi/ic-select.d.ts +31 -1
  552. package/dist/types/components.d.ts +133 -8
  553. package/dist/types/interface.d.ts +1 -0
  554. package/dist/types/utils/helpers.d.ts +6 -0
  555. package/dist/types/utils/types.d.ts +1 -1
  556. package/hydrate/index.js +1231 -843
  557. package/package.json +3 -3
  558. package/dist/cjs/helpers-85c5ca15.js.map +0 -1
  559. package/dist/cjs/ic-card-vertical.cjs.entry.js.map +0 -1
  560. package/dist/cjs/ic-data-list.cjs.entry.js +0 -28
  561. package/dist/cjs/ic-data-list.cjs.entry.js.map +0 -1
  562. package/dist/components/ic-card-vertical.js.map +0 -1
  563. package/dist/components/ic-data-list.js +0 -51
  564. package/dist/components/ic-data-list.js.map +0 -1
  565. package/dist/core/p-00b29b5c.entry.js.map +0 -1
  566. package/dist/core/p-01937eb0.entry.js +0 -2
  567. package/dist/core/p-01937eb0.entry.js.map +0 -1
  568. package/dist/core/p-06db67a5.entry.js +0 -2
  569. package/dist/core/p-06db67a5.entry.js.map +0 -1
  570. package/dist/core/p-0896531a.entry.js.map +0 -1
  571. package/dist/core/p-155054f4.entry.js +0 -2
  572. package/dist/core/p-155054f4.entry.js.map +0 -1
  573. package/dist/core/p-19be677b.entry.js +0 -2
  574. package/dist/core/p-19be677b.entry.js.map +0 -1
  575. package/dist/core/p-20aae323.entry.js +0 -2
  576. package/dist/core/p-20aae323.entry.js.map +0 -1
  577. package/dist/core/p-21ecca00.entry.js.map +0 -1
  578. package/dist/core/p-2533d147.entry.js.map +0 -1
  579. package/dist/core/p-2ec4ced3.entry.js +0 -2
  580. package/dist/core/p-2ec4ced3.entry.js.map +0 -1
  581. package/dist/core/p-30d385c6.entry.js.map +0 -1
  582. package/dist/core/p-3bd8a4fa.entry.js +0 -2
  583. package/dist/core/p-3bd8a4fa.entry.js.map +0 -1
  584. package/dist/core/p-3f2ae26e.entry.js.map +0 -1
  585. package/dist/core/p-4188b38a.entry.js.map +0 -1
  586. package/dist/core/p-41a53070.entry.js.map +0 -1
  587. package/dist/core/p-436d179b.entry.js +0 -2
  588. package/dist/core/p-436d179b.entry.js.map +0 -1
  589. package/dist/core/p-439d1a97.entry.js +0 -2
  590. package/dist/core/p-439d1a97.entry.js.map +0 -1
  591. package/dist/core/p-4974da93.entry.js +0 -2
  592. package/dist/core/p-4974da93.entry.js.map +0 -1
  593. package/dist/core/p-4d316a43.entry.js +0 -2
  594. package/dist/core/p-4d316a43.entry.js.map +0 -1
  595. package/dist/core/p-57527684.entry.js +0 -2
  596. package/dist/core/p-57527684.entry.js.map +0 -1
  597. package/dist/core/p-5a95dd44.entry.js +0 -2
  598. package/dist/core/p-5a95dd44.entry.js.map +0 -1
  599. package/dist/core/p-5cecbd1f.entry.js +0 -2
  600. package/dist/core/p-5cecbd1f.entry.js.map +0 -1
  601. package/dist/core/p-5e41f96d.entry.js +0 -2
  602. package/dist/core/p-5e41f96d.entry.js.map +0 -1
  603. package/dist/core/p-64826d54.entry.js +0 -2
  604. package/dist/core/p-64826d54.entry.js.map +0 -1
  605. package/dist/core/p-64b1e4a8.entry.js.map +0 -1
  606. package/dist/core/p-65cf6a11.entry.js +0 -2
  607. package/dist/core/p-65cf6a11.entry.js.map +0 -1
  608. package/dist/core/p-6a5ffe7d.entry.js +0 -2
  609. package/dist/core/p-6a5ffe7d.entry.js.map +0 -1
  610. package/dist/core/p-6c6c71ba.entry.js +0 -2
  611. package/dist/core/p-6c6c71ba.entry.js.map +0 -1
  612. package/dist/core/p-6f0e9434.entry.js +0 -2
  613. package/dist/core/p-6f0e9434.entry.js.map +0 -1
  614. package/dist/core/p-84eaa486.entry.js +0 -2
  615. package/dist/core/p-84eaa486.entry.js.map +0 -1
  616. package/dist/core/p-85cb6bb7.entry.js +0 -2
  617. package/dist/core/p-85cb6bb7.entry.js.map +0 -1
  618. package/dist/core/p-8c5b63c6.entry.js +0 -2
  619. package/dist/core/p-8c5b63c6.entry.js.map +0 -1
  620. package/dist/core/p-8da08c05.entry.js +0 -2
  621. package/dist/core/p-8da08c05.entry.js.map +0 -1
  622. package/dist/core/p-91cf89c8.entry.js +0 -2
  623. package/dist/core/p-91cf89c8.entry.js.map +0 -1
  624. package/dist/core/p-98981fa7.entry.js +0 -2
  625. package/dist/core/p-98981fa7.entry.js.map +0 -1
  626. package/dist/core/p-9d3e0e60.entry.js +0 -2
  627. package/dist/core/p-9d3e0e60.entry.js.map +0 -1
  628. package/dist/core/p-a2194364.entry.js +0 -2
  629. package/dist/core/p-a2194364.entry.js.map +0 -1
  630. package/dist/core/p-a4d0f166.entry.js.map +0 -1
  631. package/dist/core/p-aaa6f849.entry.js +0 -2
  632. package/dist/core/p-aaa6f849.entry.js.map +0 -1
  633. package/dist/core/p-adbe0d89.js +0 -2
  634. package/dist/core/p-adbe0d89.js.map +0 -1
  635. package/dist/core/p-b4ab627a.entry.js +0 -2
  636. package/dist/core/p-b4ab627a.entry.js.map +0 -1
  637. package/dist/core/p-b7abaec8.entry.js +0 -2
  638. package/dist/core/p-b7abaec8.entry.js.map +0 -1
  639. package/dist/core/p-bc4aec3a.entry.js +0 -2
  640. package/dist/core/p-bc4aec3a.entry.js.map +0 -1
  641. package/dist/core/p-bcf04b18.entry.js.map +0 -1
  642. package/dist/core/p-bf009b9a.entry.js +0 -2
  643. package/dist/core/p-bf009b9a.entry.js.map +0 -1
  644. package/dist/core/p-cbd730aa.entry.js.map +0 -1
  645. package/dist/core/p-d76e24e4.entry.js +0 -2
  646. package/dist/core/p-d76e24e4.entry.js.map +0 -1
  647. package/dist/core/p-d7bf1057.entry.js +0 -2
  648. package/dist/core/p-d7bf1057.entry.js.map +0 -1
  649. package/dist/core/p-d9254b14.entry.js +0 -2
  650. package/dist/core/p-d9254b14.entry.js.map +0 -1
  651. package/dist/core/p-e20f8772.entry.js +0 -2
  652. package/dist/core/p-e20f8772.entry.js.map +0 -1
  653. package/dist/core/p-e26769b0.entry.js +0 -2
  654. package/dist/core/p-e26769b0.entry.js.map +0 -1
  655. package/dist/core/p-e2dba05a.entry.js +0 -2
  656. package/dist/core/p-e2dba05a.entry.js.map +0 -1
  657. package/dist/core/p-ec862c7e.entry.js +0 -2
  658. package/dist/core/p-ec862c7e.entry.js.map +0 -1
  659. package/dist/core/p-ef9175d8.entry.js +0 -2
  660. package/dist/core/p-ef9175d8.entry.js.map +0 -1
  661. package/dist/core/p-f4db39eb.entry.js +0 -2
  662. package/dist/core/p-f4db39eb.entry.js.map +0 -1
  663. package/dist/esm/helpers-f543bc77.js.map +0 -1
  664. package/dist/esm/ic-card-vertical.entry.js.map +0 -1
  665. package/dist/esm/ic-data-list.entry.js +0 -24
  666. package/dist/esm/ic-data-list.entry.js.map +0 -1
  667. /package/dist/core/{p-401d0c66.entry.js.map → p-20997691.entry.js.map} +0 -0
  668. /package/dist/core/{p-88ba5a88.entry.js.map → p-67ae9d37.entry.js.map} +0 -0
  669. /package/dist/core/{p-22260ed4.entry.js.map → p-6fb3d61e.entry.js.map} +0 -0
  670. /package/dist/core/{p-4309460f.entry.js.map → p-80d6a6b5.entry.js.map} +0 -0
  671. /package/dist/core/{p-2fb52051.js.map → p-8128572e.js.map} +0 -0
  672. /package/dist/core/{p-ede631c5.entry.js.map → p-9b34989b.entry.js.map} +0 -0
  673. /package/dist/core/{p-b6e208e3.entry.js.map → p-a72af8db.entry.js.map} +0 -0
  674. /package/dist/core/{p-125bc120.entry.js.map → p-d86cdbc8.entry.js.map} +0 -0
@@ -7,7 +7,7 @@ const closeIcon = require('./close-icon-d62b369d.js');
7
7
  const helpers = require('./helpers-093368be.js');
8
8
  const types = require('./types-17dba796.js');
9
9
 
10
- const icToastCss = "/*! 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{--bottom-position:var(--ic-space-xl);position:fixed;bottom:var(--bottom-position);left:50%;transform:translate(-50%);animation:fadein var(--ic-transition-duration-slow) ease-in-out;z-index:var(--ic-z-index-toast)}:host(.ic-toast-hidden){display:none;animation:fadeout var(--ic-transition-duration-slow) ease-in-out}:host(:focus){outline:none}.container{max-width:32.5rem;min-width:18rem;box-shadow:var(--ic-elevation-overlay);min-height:3.5rem;background-color:var(--ic-architectural-800);color:var(--ic-color-white-text);display:flex;align-items:center;position:relative;border-radius:var(--ic-border-radius)}.toast-icon-container{height:100%;display:flex;align-items:center}.divider{height:100%;width:var(--ic-space-xs);position:absolute;border-radius:var(--ic-space-xxxs) 0 0 var(--ic-space-xxxs)}.divider-neutral{background-color:var(--ic-status-unknown)}.divider-info{background-color:var(--ic-status-info-contrast)}.divider-warning{background-color:var(--ic-status-warning-contrast)}.divider-error{background-color:var(--ic-status-error-contrast)}.divider-success{background-color:var(--ic-status-success-contrast)}.toast-icon,::slotted(svg){height:var(--ic-space-lg);width:var(--ic-space-lg);margin-left:var(--ic-space-md)}:host([variant=\"neutral\"]) .toast-icon svg,::slotted(svg){fill:var(--ic-status-unknown)}:host([variant=\"info\"]) .toast-icon svg{fill:var(--ic-status-info-contrast)}:host([variant=\"warning\"]) .toast-icon svg{fill:var(--ic-status-warning-contrast)}:host([variant=\"error\"]) .toast-icon svg{fill:var(--ic-status-error-contrast)}:host([variant=\"success\"]) .toast-icon svg{fill:var(--ic-status-success-contrast)}.toast-content{margin-left:var(--ic-space-xs);width:100%}.no-icon{margin-left:var(--ic-space-md)}.toast-message{padding:var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0}.toast-action-container{padding-bottom:var(--ic-space-md)}ic-button{padding:var(--ic-space-xs)}.toast-dismiss-timer{padding:var(--ic-space-sm)}@media (max-width: 576px){:host{--bottom-position:var(--ic-space-lg);width:calc(100% - 2 * var(--ic-space-md))}}@media (min-width: 993px){:host{--bottom-position:calc(var(--ic-space-xl) + var(--ic-space-xs))}}@media (forced-colors: active){.container{border:var(--ic-hc-border)}}@keyframes fadein{from{bottom:0;opacity:0}to{bottom:var(--bottom-position);opacity:1}}@keyframes fadeout{from{bottom:var(--bottom-position);opacity:1}to{bottom:0;opacity:0}}";
10
+ const icToastCss = "/*! 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}@media (prefers-reduced-motion: no-preference){:host{animation:fadein var(--ic-transition-duration-slow) ease-in-out}:host(.hidden){animation:fadeout var(--ic-transition-duration-slow) ease-in-out}}:host{--bottom-position:var(--ic-space-xl);position:fixed;bottom:var(--bottom-position);left:50%;transform:translate(-50%);z-index:var(--ic-z-index-toast)}:host(.hidden){display:none}.container{max-width:32.5rem;min-width:18rem;box-shadow:var(--ic-elevation-overlay);min-height:3.5rem;background-color:var(--ic-architectural-800);color:var(--ic-color-white-text);display:flex;align-items:center;position:relative;border-radius:var(--ic-border-radius)}.toast-icon-container{height:100%;display:flex;align-items:center}.divider{height:100%;width:var(--ic-space-xs);position:absolute;border-radius:var(--ic-space-xxxs) 0 0 var(--ic-space-xxxs)}.divider-neutral{background-color:var(--ic-status-unknown)}.divider-info{background-color:var(--ic-status-info-contrast)}.divider-warning{background-color:var(--ic-status-warning-contrast)}.divider-error{background-color:var(--ic-status-error-contrast)}.divider-success{background-color:var(--ic-status-success-contrast)}.toast-icon,::slotted(svg){height:var(--ic-space-lg);width:var(--ic-space-lg);margin-left:var(--ic-space-md)}:host([variant=\"neutral\"]) .toast-icon svg,::slotted(svg){fill:var(--ic-status-unknown)}:host([variant=\"info\"]) .toast-icon svg{fill:var(--ic-status-info-contrast)}:host([variant=\"warning\"]) .toast-icon svg{fill:var(--ic-status-warning-contrast)}:host([variant=\"error\"]) .toast-icon svg{fill:var(--ic-status-error-contrast)}:host([variant=\"success\"]) .toast-icon svg{fill:var(--ic-status-success-contrast)}.toast-content{margin-left:var(--ic-space-xs);width:100%}.no-icon{margin-left:var(--ic-space-md)}.toast-message{padding:var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0}.toast-action-container{padding-bottom:var(--ic-space-md)}ic-button,.toast-dismiss-timer{padding:var(--ic-space-xs)}@media (max-width: 576px){:host{--bottom-position:var(--ic-space-lg);width:calc(100% - 2 * var(--ic-space-md))}}@media (min-width: 993px){:host{--bottom-position:calc(var(--ic-space-xl) + var(--ic-space-xs))}}@media (forced-colors: active){.container{border:var(--ic-hc-border)}}@keyframes fadein{from{bottom:0;opacity:0}to{bottom:var(--bottom-position);opacity:1}}@keyframes fadeout{from{bottom:var(--bottom-position);opacity:1}to{bottom:0;opacity:0}}";
11
11
 
12
12
  const AUTO_DISMISS_TIMER_REFRESH_RATE_MS = 1000;
13
13
  const TOAST_HEADING_CHAR_LIMIT = 70;
@@ -24,15 +24,6 @@ const Toast = class {
24
24
  this.timerProgress -=
25
25
  (AUTO_DISMISS_TIMER_REFRESH_RATE_MS / this.autoDismissTimeout) * 100;
26
26
  };
27
- this.onFocus = () => {
28
- if (this.focusInteractiveElement) {
29
- this.isManual = true;
30
- }
31
- };
32
- this.onBlur = () => {
33
- this.handleTimer({ type: "mouseleave" });
34
- };
35
- this.isManual = undefined;
36
27
  this.timerProgress = 100;
37
28
  this.visible = false;
38
29
  this.autoDismissTimeout = 5000;
@@ -77,78 +68,45 @@ const Toast = class {
77
68
  }
78
69
  componentDidLoad() {
79
70
  helpers.onComponentRequiredPropUndefined([{ prop: this.heading, propName: "heading" }], "Toast");
80
- }
81
- componentDidUpdate() {
82
- if (this.focusInteractiveElement && this.isManual) {
83
- this.resetAutoDismissTimer();
84
- const actionContent = helpers.getSlot(this.el, "action");
85
- const dismissButton = this.el.shadowRoot.querySelector("ic-button");
86
- if (actionContent)
87
- this.interactiveElements.push(actionContent);
88
- if (dismissButton)
89
- this.interactiveElements.push(dismissButton);
90
- this.focusInteractiveElement = false;
91
- this.findNextInteractiveElement(this.shiftKeyPressed).setFocus();
92
- this.shiftKeyPressed = false;
93
- }
94
- }
95
- watchVisibleHandler() {
96
- if (this.visible) {
97
- const actionContent = helpers.getSlot(this.el, "action");
98
- const dismissButton = this.el.shadowRoot.querySelector("ic-button");
99
- if (actionContent)
100
- this.interactiveElements.push(actionContent);
101
- if (dismissButton)
102
- this.interactiveElements.push(dismissButton);
103
- }
104
- else {
105
- this.interactiveElements = [];
106
- }
71
+ const actionContent = helpers.getSlot(this.el, "action");
72
+ const dismissButton = this.el.shadowRoot.querySelector("ic-button");
73
+ if (actionContent)
74
+ this.interactiveElements.push(actionContent);
75
+ if (dismissButton)
76
+ this.interactiveElements.push(dismissButton);
107
77
  }
108
78
  handleDismiss() {
109
79
  this.visible = false;
110
- this.resetAutoDismissTimer();
80
+ clearInterval(this.timerRefreshInterval);
81
+ this.timerProgress = 100;
111
82
  }
112
83
  handleKeyboard(ev) {
113
- if (this.visible) {
114
- if (this.isManual) {
115
- switch (ev.key) {
116
- case "Tab":
117
- ev.preventDefault();
118
- this.findNextInteractiveElement(ev.shiftKey).setFocus();
119
- break;
120
- case "Escape":
121
- !ev.repeat && this.dismissAction();
122
- ev.stopImmediatePropagation();
123
- break;
124
- }
125
- }
126
- else {
127
- if (ev.key === "Tab") {
128
- this.shiftKeyPressed = ev.shiftKey;
129
- this.focusInteractiveElement = true;
130
- }
84
+ if (this.isManual && this.visible) {
85
+ switch (ev.key) {
86
+ case "Tab":
87
+ ev.preventDefault();
88
+ this.findNextInteractiveElement(ev.shiftKey).setFocus();
89
+ break;
90
+ case "Escape":
91
+ !ev.repeat && this.dismissAction();
92
+ ev.stopImmediatePropagation();
93
+ break;
131
94
  }
132
95
  }
133
96
  }
134
97
  handleTimer(ev) {
135
- switch (ev.type) {
136
- case "mouseenter":
137
- if (!this.isManual) {
138
- this.resetAutoDismissTimer();
139
- }
140
- this.isManual = true;
141
- break;
142
- case "mouseleave":
143
- if (this.dismissMode === "automatic") {
144
- this.isManual = false;
145
- this.interactiveElements = [];
146
- if (this.visible) {
147
- this.dismissTimeout = window.setTimeout(this.dismissAction, this.autoDismissTimeout);
148
- this.timerRefreshInterval = window.setInterval(this.handleProgressChange, AUTO_DISMISS_TIMER_REFRESH_RATE_MS);
149
- }
150
- }
151
- break;
98
+ if (!this.isManual) {
99
+ switch (ev.type) {
100
+ case "mouseenter":
101
+ window.clearTimeout(this.dismissTimeout);
102
+ window.clearInterval(this.timerRefreshInterval);
103
+ this.timerProgress = 100;
104
+ break;
105
+ case "mouseleave":
106
+ this.dismissTimeout = window.setTimeout(this.dismissAction, this.autoDismissTimeout);
107
+ this.timerRefreshInterval = window.setInterval(this.handleProgressChange, AUTO_DISMISS_TIMER_REFRESH_RATE_MS);
108
+ break;
109
+ }
152
110
  }
153
111
  }
154
112
  /**
@@ -188,11 +146,6 @@ const Toast = class {
188
146
  ? this.interactiveElements[currentIndex + (isBackwards ? -1 : 1)]
189
147
  : firstEl;
190
148
  }
191
- resetAutoDismissTimer() {
192
- window.clearTimeout(this.dismissTimeout);
193
- window.clearInterval(this.timerRefreshInterval);
194
- this.timerProgress = 100;
195
- }
196
149
  isActive(targetEl) {
197
150
  return targetEl === this.el
198
151
  ? !!this.el.shadowRoot.activeElement
@@ -200,18 +153,17 @@ const Toast = class {
200
153
  }
201
154
  render() {
202
155
  const { variant, heading, message, visible, isManual, dismissButtonAriaLabel, } = this;
203
- return (index.h(index.Host, { class: { ["ic-toast-hidden"]: !visible }, role: isManual ? "dialog" : "status", tabindex: "0", onFocus: this.onFocus, onBlur: this.onBlur }, index.h("div", { class: "container" }, variant && visible && (index.h("div", { class: "toast-icon-container" }, index.h("div", { class: {
156
+ return (index.h(index.Host, { class: { ["hidden"]: !visible }, role: isManual ? "dialog" : "status" }, index.h("div", { class: "container" }, variant && visible && (index.h("div", { class: "toast-icon-container" }, index.h("div", { class: {
204
157
  ["divider"]: true,
205
158
  [`divider-${variant}`]: true,
206
159
  } }), variant === "neutral" ? (index.h("slot", { name: "neutral-icon" })) : (index.h("span", { class: "toast-icon", innerHTML: helpers.VARIANT_ICONS[variant].icon })))), index.h("div", { class: {
207
160
  ["toast-content"]: true,
208
161
  ["no-icon"]: variant === "neutral" && !helpers.isSlotUsed(this.el, "neutral-icon"),
209
- } }, index.h("div", { class: "toast-message" }, index.h("ic-typography", { variant: "subtitle-large" }, visible && index.h("h5", null, heading)), message && (index.h("ic-typography", { variant: "body" }, visible && index.h("p", null, message)))), helpers.isSlotUsed(this.el, "action") && (index.h("div", { class: "toast-action-container" }, index.h("slot", { name: "action" })))), !isManual ? (index.h("ic-loading-indicator", { class: "toast-dismiss-timer", appearance: "light", size: "icon", progress: this.timerProgress, description: "" })) : (index.h("ic-button", { id: "dismiss-button", innerHTML: closeIcon.closeIcon, onClick: this.dismissAction, variant: "icon", appearance: types.IcThemeForegroundEnum.Light, "aria-label": dismissButtonAriaLabel })))));
162
+ } }, index.h("div", { class: "toast-message" }, index.h("ic-typography", { variant: "subtitle-large" }, visible && index.h("h5", null, heading)), message && (index.h("ic-typography", { variant: "body" }, visible && index.h("p", null, message)))), helpers.isSlotUsed(this.el, "action") && (index.h("div", { class: "toast-action-container" }, index.h("slot", { name: "action" })))), !isManual ? (index.h("ic-loading-indicator", { class: "toast-dismiss-timer", appearance: "light", size: "icon", progress: this.timerProgress })) : (index.h("ic-button", { id: "dismiss-button", innerHTML: closeIcon.closeIcon, onClick: this.dismissAction, variant: "icon", appearance: types.IcThemeForegroundEnum.Light, "aria-label": dismissButtonAriaLabel })))));
210
163
  }
211
164
  get el() { return index.getElement(this); }
212
165
  static get watchers() { return {
213
- "dismissMode": ["dismissModeChangeHandler"],
214
- "visible": ["watchVisibleHandler"]
166
+ "dismissMode": ["dismissModeChangeHandler"]
215
167
  }; }
216
168
  };
217
169
  Toast.style = icToastCss;
@@ -1 +1 @@
1
- {"file":"ic-toast.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,UAAU,GAAG,2vJAA2vJ;;ACK9wJ,MAAM,kCAAkC,GAAG,IAAI,CAAC;AAChD,MAAM,wBAAwB,GAAG,EAAE,CAAC;AAC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,CAAC,EAAEL,kBAAU,CAAC,IAAI,CAAC,EAAE,EAAE,QAAQ,CAAC,KAAKK,OAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,wBAAwB,EAAE,EAAEA,OAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,IAAIA,OAAC,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,qBAAqB,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC,aAAa,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,KAAKA,OAAC,CAAC,WAAW,EAAE,EAAE,EAAE,EAAE,gBAAgB,EAAE,SAAS,EAAEE,mBAAS,EAAE,OAAO,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAEC,2BAAqB,CAAC,KAAK,EAAE,YAAY,EAAE,sBAAsB,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE;KACjrB;;;;;;;;;;;","names":["isSlotUsed","VARIANT_ICONS","isPropDefined","onComponentRequiredPropUndefined","getSlot","h","Host","closeIcon","IcThemeForegroundEnum"],"sources":["../web-components/dist/collection/components/ic-toast/ic-toast.css?tag=ic-toast&encapsulation=shadow","../web-components/dist/collection/components/ic-toast/ic-toast.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n/**\n * @prop --ic-z-index-toast: z-index of toast\n */\n\n:host {\n --bottom-position: var(--ic-space-xl);\n\n position: fixed;\n bottom: var(--bottom-position);\n left: 50%;\n transform: translate(-50%);\n animation: fadein var(--ic-transition-duration-slow) ease-in-out;\n z-index: var(--ic-z-index-toast);\n}\n\n:host(.ic-toast-hidden) {\n display: none;\n animation: fadeout var(--ic-transition-duration-slow) ease-in-out;\n}\n\n:host(:focus) {\n outline: none;\n}\n\n.container {\n max-width: 32.5rem;\n min-width: 18rem;\n box-shadow: var(--ic-elevation-overlay);\n min-height: 3.5rem;\n background-color: var(--ic-architectural-800);\n color: var(--ic-color-white-text);\n display: flex;\n align-items: center;\n position: relative;\n border-radius: var(--ic-border-radius);\n}\n\n.toast-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 position: absolute;\n border-radius: var(--ic-space-xxxs) 0 0 var(--ic-space-xxxs);\n}\n\n.divider-neutral {\n background-color: var(--ic-status-unknown);\n}\n\n.divider-info {\n background-color: var(--ic-status-info-contrast);\n}\n\n.divider-warning {\n background-color: var(--ic-status-warning-contrast);\n}\n\n.divider-error {\n background-color: var(--ic-status-error-contrast);\n}\n\n.divider-success {\n background-color: var(--ic-status-success-contrast);\n}\n\n.toast-icon,\n::slotted(svg) {\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n margin-left: var(--ic-space-md);\n}\n\n:host([variant=\"neutral\"]) .toast-icon svg,\n::slotted(svg) {\n fill: var(--ic-status-unknown);\n}\n\n:host([variant=\"info\"]) .toast-icon svg {\n fill: var(--ic-status-info-contrast);\n}\n\n:host([variant=\"warning\"]) .toast-icon svg {\n fill: var(--ic-status-warning-contrast);\n}\n\n:host([variant=\"error\"]) .toast-icon svg {\n fill: var(--ic-status-error-contrast);\n}\n\n:host([variant=\"success\"]) .toast-icon svg {\n fill: var(--ic-status-success-contrast);\n}\n\n.toast-content {\n margin-left: var(--ic-space-xs);\n width: 100%;\n}\n\n.no-icon {\n margin-left: var(--ic-space-md);\n}\n\n.toast-message {\n padding: var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0;\n}\n\n.toast-action-container {\n padding-bottom: var(--ic-space-md);\n}\n\nic-button {\n padding: var(--ic-space-xs);\n}\n\n.toast-dismiss-timer {\n padding: var(--ic-space-sm);\n}\n\n@media (max-width: 576px) {\n :host {\n --bottom-position: var(--ic-space-lg);\n\n width: calc(100% - 2 * var(--ic-space-md));\n }\n}\n\n@media (min-width: 993px) {\n :host {\n --bottom-position: calc(var(--ic-space-xl) + var(--ic-space-xs));\n }\n}\n\n@media (forced-colors: active) {\n .container {\n border: var(--ic-hc-border);\n }\n}\n\n@keyframes fadein {\n from {\n bottom: 0;\n opacity: 0;\n }\n\n to {\n bottom: var(--bottom-position);\n opacity: 1;\n }\n}\n\n@keyframes fadeout {\n from {\n bottom: var(--bottom-position);\n opacity: 1;\n }\n\n to {\n bottom: 0;\n opacity: 0;\n }\n}\n","import { h, Host, } from \"@stencil/core\";\nimport closeIcon from \"../../assets/close-icon.svg\";\nimport { VARIANT_ICONS } from \"../../utils/constants\";\nimport { getSlot, isPropDefined, isSlotUsed, onComponentRequiredPropUndefined, } from \"../../utils/helpers\";\nimport { IcThemeForegroundEnum, } from \"../../utils/types\";\nconst AUTO_DISMISS_TIMER_REFRESH_RATE_MS = 1000;\nconst TOAST_HEADING_CHAR_LIMIT = 70;\nconst TOAST_MESSAGE_CHAR_LIMIT = 140;\n/**\n * @slot action - IcButton or IcLink is placed below header and message. If used will default toast to manual `dismiss` type.\n * @slot neutral-icon - A custom neutral icon is placed on the left side of the component. If used will default toast to `neutral` variant.\n */\nexport class Toast {\n constructor() {\n this.interactiveElements = [];\n this.dismissAction = () => {\n this.icDismiss.emit();\n };\n this.handleProgressChange = () => {\n this.timerProgress -=\n (AUTO_DISMISS_TIMER_REFRESH_RATE_MS / this.autoDismissTimeout) * 100;\n };\n this.onFocus = () => {\n if (this.focusInteractiveElement) {\n this.isManual = true;\n }\n };\n this.onBlur = () => {\n this.handleTimer({ type: \"mouseleave\" });\n };\n this.isManual = undefined;\n this.timerProgress = 100;\n this.visible = false;\n this.autoDismissTimeout = 5000;\n this.dismissButtonAriaLabel = \"dismiss\";\n this.dismissMode = \"manual\";\n this.heading = undefined;\n this.message = undefined;\n this.neutralIconAriaLabel = undefined;\n this.variant = undefined;\n }\n dismissModeChangeHandler(newValue) {\n this.isManual = newValue === \"manual\";\n }\n disconnectedCallback() {\n window.clearTimeout(this.dismissTimeout);\n window.clearInterval(this.timerRefreshInterval);\n }\n componentWillLoad() {\n var _a, _b;\n this.handleLongText(this.heading.length > TOAST_HEADING_CHAR_LIMIT, ((_a = this.message) === null || _a === void 0 ? void 0 : _a.length) > TOAST_MESSAGE_CHAR_LIMIT);\n if (this.autoDismissTimeout < 5000)\n this.autoDismissTimeout = 5000;\n if (isSlotUsed(this.el, \"action\"))\n this.dismissMode = \"manual\";\n this.isManual = this.dismissMode === \"manual\";\n if (isSlotUsed(this.el, \"neutral-icon\"))\n this.variant = \"neutral\";\n if (this.variant === \"neutral\") {\n this.neutralVariantLabel =\n (_b = this.neutralIconAriaLabel) !== null && _b !== void 0 ? _b : VARIANT_ICONS[this.variant].ariaLabel;\n }\n if (this.isManual) {\n const toastMessage = isPropDefined(this.message)\n ? `. ${this.message}`\n : \"\";\n this.el.setAttribute(\"aria-label\", this.variant\n ? this.neutralVariantLabel || VARIANT_ICONS[this.variant].ariaLabel\n : this.heading);\n (this.variant || this.message) &&\n this.el.setAttribute(\"aria-description\", this.variant ? `${this.heading}${toastMessage}` : this.message);\n }\n }\n componentDidLoad() {\n onComponentRequiredPropUndefined([{ prop: this.heading, propName: \"heading\" }], \"Toast\");\n }\n componentDidUpdate() {\n if (this.focusInteractiveElement && this.isManual) {\n this.resetAutoDismissTimer();\n const actionContent = getSlot(this.el, \"action\");\n const dismissButton = this.el.shadowRoot.querySelector(\"ic-button\");\n if (actionContent)\n this.interactiveElements.push(actionContent);\n if (dismissButton)\n this.interactiveElements.push(dismissButton);\n this.focusInteractiveElement = false;\n this.findNextInteractiveElement(this.shiftKeyPressed).setFocus();\n this.shiftKeyPressed = false;\n }\n }\n watchVisibleHandler() {\n if (this.visible) {\n const actionContent = getSlot(this.el, \"action\");\n const dismissButton = this.el.shadowRoot.querySelector(\"ic-button\");\n if (actionContent)\n this.interactiveElements.push(actionContent);\n if (dismissButton)\n this.interactiveElements.push(dismissButton);\n }\n else {\n this.interactiveElements = [];\n }\n }\n handleDismiss() {\n this.visible = false;\n this.resetAutoDismissTimer();\n }\n handleKeyboard(ev) {\n if (this.visible) {\n if (this.isManual) {\n switch (ev.key) {\n case \"Tab\":\n ev.preventDefault();\n this.findNextInteractiveElement(ev.shiftKey).setFocus();\n break;\n case \"Escape\":\n !ev.repeat && this.dismissAction();\n ev.stopImmediatePropagation();\n break;\n }\n }\n else {\n if (ev.key === \"Tab\") {\n this.shiftKeyPressed = ev.shiftKey;\n this.focusInteractiveElement = true;\n }\n }\n }\n }\n handleTimer(ev) {\n switch (ev.type) {\n case \"mouseenter\":\n if (!this.isManual) {\n this.resetAutoDismissTimer();\n }\n this.isManual = true;\n break;\n case \"mouseleave\":\n if (this.dismissMode === \"automatic\") {\n this.isManual = false;\n this.interactiveElements = [];\n if (this.visible) {\n this.dismissTimeout = window.setTimeout(this.dismissAction, this.autoDismissTimeout);\n this.timerRefreshInterval = window.setInterval(this.handleProgressChange, AUTO_DISMISS_TIMER_REFRESH_RATE_MS);\n }\n }\n break;\n }\n }\n /**\n * @internal Used to display the individual toast.\n * @returns The element that previously had focus before the toast appeared\n */\n async setVisible() {\n if (!this.visible)\n this.visible = true;\n if (!this.isManual) {\n this.dismissTimeout = window.setTimeout(this.dismissAction, this.autoDismissTimeout);\n this.timerRefreshInterval = window.setInterval(this.handleProgressChange, AUTO_DISMISS_TIMER_REFRESH_RATE_MS);\n return null;\n }\n else {\n window.setTimeout(() => this.interactiveElements[0].setFocus(), 200);\n return document.activeElement;\n }\n }\n handleLongText(headingTooLong, messageTooLong) {\n if (messageTooLong || headingTooLong) {\n console.error(`Too many characters in toast ${headingTooLong ? \"heading\" : \"\"}${headingTooLong && messageTooLong ? \" and \" : \"\"}${messageTooLong ? \"message\" : \"\"}. Refer to character limits specified in the prop description`);\n }\n }\n findNextInteractiveElement(isBackwards) {\n const firstEl = this.interactiveElements[0];\n const lastEl = this.interactiveElements[this.interactiveElements.length - 1];\n if (this.isActive(isBackwards ? firstEl : lastEl))\n return isBackwards ? lastEl : firstEl;\n let currentIndex;\n return this.interactiveElements.some((el, index) => {\n if (!this.isActive(el))\n return false;\n currentIndex = index;\n return true;\n })\n ? this.interactiveElements[currentIndex + (isBackwards ? -1 : 1)]\n : firstEl;\n }\n resetAutoDismissTimer() {\n window.clearTimeout(this.dismissTimeout);\n window.clearInterval(this.timerRefreshInterval);\n this.timerProgress = 100;\n }\n isActive(targetEl) {\n return targetEl === this.el\n ? !!this.el.shadowRoot.activeElement\n : document.activeElement === targetEl;\n }\n render() {\n const { variant, heading, message, visible, isManual, dismissButtonAriaLabel, } = this;\n return (h(Host, { class: { [\"ic-toast-hidden\"]: !visible }, role: isManual ? \"dialog\" : \"status\", tabindex: \"0\", onFocus: this.onFocus, onBlur: this.onBlur }, h(\"div\", { class: \"container\" }, variant && visible && (h(\"div\", { class: \"toast-icon-container\" }, h(\"div\", { class: {\n [\"divider\"]: true,\n [`divider-${variant}`]: true,\n } }), variant === \"neutral\" ? (h(\"slot\", { name: \"neutral-icon\" })) : (h(\"span\", { class: \"toast-icon\", innerHTML: VARIANT_ICONS[variant].icon })))), h(\"div\", { class: {\n [\"toast-content\"]: true,\n [\"no-icon\"]: variant === \"neutral\" && !isSlotUsed(this.el, \"neutral-icon\"),\n } }, h(\"div\", { class: \"toast-message\" }, h(\"ic-typography\", { variant: \"subtitle-large\" }, visible && h(\"h5\", null, heading)), message && (h(\"ic-typography\", { variant: \"body\" }, visible && h(\"p\", null, message)))), isSlotUsed(this.el, \"action\") && (h(\"div\", { class: \"toast-action-container\" }, h(\"slot\", { name: \"action\" })))), !isManual ? (h(\"ic-loading-indicator\", { class: \"toast-dismiss-timer\", appearance: \"light\", size: \"icon\", progress: this.timerProgress, description: \"\" })) : (h(\"ic-button\", { id: \"dismiss-button\", innerHTML: closeIcon, onClick: this.dismissAction, variant: \"icon\", appearance: IcThemeForegroundEnum.Light, \"aria-label\": dismissButtonAriaLabel })))));\n }\n static get is() { return \"ic-toast\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-toast.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-toast.css\"]\n };\n }\n static get properties() {\n return {\n \"autoDismissTimeout\": {\n \"type\": \"number\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If toast dismissMode is set to `automatic`, use this prop to define the time before the toast dismisses (in MILLISECONDS)\\n(NOTE: Has a minimum value of `5000ms`)\"\n },\n \"attribute\": \"auto-dismiss-timeout\",\n \"reflect\": false,\n \"defaultValue\": \"5000\"\n },\n \"dismissButtonAriaLabel\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If toast can be manually dismissed, this prop sets a custom aria-label for the ic-button component\"\n },\n \"attribute\": \"dismiss-button-aria-label\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"dismiss\\\"\"\n },\n \"dismissMode\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"IcActivationTypes\",\n \"resolved\": \"\\\"automatic\\\" | \\\"manual\\\"\",\n \"references\": {\n \"IcActivationTypes\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcActivationTypes\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"How the toast will be dismissed. If manual will display a dismiss button.\"\n },\n \"attribute\": \"dismiss-mode\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"manual\\\"\"\n },\n \"heading\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The title to display at the start of the toast. (NOTE: Should be no more than `70` characters)\"\n },\n \"attribute\": \"heading\",\n \"reflect\": false\n },\n \"message\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The main body message of the toast. (NOTE: Should be no more than `140` characters)\"\n },\n \"attribute\": \"message\",\n \"reflect\": false\n },\n \"neutralIconAriaLabel\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Provides a custom alt-text to be announced to screen readers, if slotting a custom neutral icon\"\n },\n \"attribute\": \"neutral-icon-aria-label\",\n \"reflect\": false\n },\n \"variant\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"IcStatusVariants\",\n \"resolved\": \"\\\"error\\\" | \\\"info\\\" | \\\"neutral\\\" | \\\"success\\\" | \\\"warning\\\"\",\n \"references\": {\n \"IcStatusVariants\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcStatusVariants\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The variant of the toast being rendered\"\n },\n \"attribute\": \"variant\",\n \"reflect\": false\n }\n };\n }\n static get states() {\n return {\n \"isManual\": {},\n \"timerProgress\": {},\n \"visible\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"icDismiss\",\n \"name\": \"icDismiss\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Is emitted when the user dismisses the toast\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"setVisible\": {\n \"complexType\": {\n \"signature\": \"() => Promise<HTMLElement>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"HTMLElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLElement\"\n }\n },\n \"return\": \"Promise<HTMLElement>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Used to display the individual toast.\"\n }, {\n \"name\": \"returns\",\n \"text\": \"The element that previously had focus before the toast appeared\"\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"dismissMode\",\n \"methodName\": \"dismissModeChangeHandler\"\n }, {\n \"propName\": \"visible\",\n \"methodName\": \"watchVisibleHandler\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"icDismiss\",\n \"method\": \"handleDismiss\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": false\n }, {\n \"name\": \"keydown\",\n \"method\": \"handleKeyboard\",\n \"target\": \"document\",\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"mouseenter\",\n \"method\": \"handleTimer\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": true\n }, {\n \"name\": \"mouseleave\",\n \"method\": \"handleTimer\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": true\n }];\n }\n}\n//# sourceMappingURL=ic-toast.js.map\n"],"version":3}
1
+ {"file":"ic-toast.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,UAAU,GAAG,iwJAAiwJ;;ACKpxJ,MAAM,kCAAkC,GAAG,IAAI,CAAC;AAChD,MAAM,wBAAwB,GAAG,EAAE,CAAC;AACpC,MAAM,wBAAwB,GAAG,GAAG,CAAC;MAKxB,KAAK;IACd;;;QACI,IAAI,CAAC,mBAAmB,GAAG,EAAE,CAAC;QAC9B,IAAI,CAAC,aAAa,GAAG;YACjB,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;SACzB,CAAC;QACF,IAAI,CAAC,oBAAoB,GAAG;YACxB,IAAI,CAAC,aAAa;gBACd,CAAC,kCAAkC,GAAG,IAAI,CAAC,kBAAkB,IAAI,GAAG,CAAC;SAC5E,CAAC;QACF,IAAI,CAAC,aAAa,GAAG,GAAG,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACrB,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC;QAC/B,IAAI,CAAC,sBAAsB,GAAG,SAAS,CAAC;QACxC,IAAI,CAAC,WAAW,GAAG,QAAQ,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC;QACzB,IAAI,CAAC,oBAAoB,GAAG,SAAS,CAAC;QACtC,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC;KAC5B;IACD,wBAAwB,CAAC,QAAQ;QAC7B,IAAI,CAAC,QAAQ,GAAG,QAAQ,KAAK,QAAQ,CAAC;KACzC;IACD,oBAAoB;QAChB,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACzC,M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CAAC,CAAC,CAAC,CAAC,EAAEL,kBAAU,CAAC,IAAI,CAAC,EAAE,EAAE,QAAQ,CAAC,KAAKK,OAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,wBAAwB,EAAE,EAAEA,OAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,IAAIA,OAAC,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,qBAAqB,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC,aAAa,EAAE,CAAC,KAAKA,OAAC,CAAC,WAAW,EAAE,EAAE,EAAE,EAAE,gBAAgB,EAAE,SAAS,EAAEE,mBAAS,EAAE,OAAO,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAEC,2BAAqB,CAAC,KAAK,EAAE,YAAY,EAAE,sBAAsB,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE;KAChqB;;;;;;;;;;","names":["isSlotUsed","VARIANT_ICONS","isPropDefined","onComponentRequiredPropUndefined","getSlot","h","Host","closeIcon","IcThemeForegroundEnum"],"sources":["../web-components/dist/collection/components/ic-toast/ic-toast.css?tag=ic-toast&encapsulation=shadow","../web-components/dist/collection/components/ic-toast/ic-toast.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n/**\n * @prop --ic-z-index-toast: z-index of toast\n */\n\n@media (prefers-reduced-motion: no-preference) {\n :host {\n animation: fadein var(--ic-transition-duration-slow) ease-in-out;\n }\n\n :host(.hidden) {\n animation: fadeout var(--ic-transition-duration-slow) ease-in-out;\n }\n}\n\n:host {\n --bottom-position: var(--ic-space-xl);\n\n position: fixed;\n bottom: var(--bottom-position);\n left: 50%;\n transform: translate(-50%);\n z-index: var(--ic-z-index-toast);\n}\n\n:host(.hidden) {\n display: none;\n}\n\n.container {\n max-width: 32.5rem;\n min-width: 18rem;\n box-shadow: var(--ic-elevation-overlay);\n min-height: 3.5rem;\n background-color: var(--ic-architectural-800);\n color: var(--ic-color-white-text);\n display: flex;\n align-items: center;\n position: relative;\n border-radius: var(--ic-border-radius);\n}\n\n.toast-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 position: absolute;\n border-radius: var(--ic-space-xxxs) 0 0 var(--ic-space-xxxs);\n}\n\n.divider-neutral {\n background-color: var(--ic-status-unknown);\n}\n\n.divider-info {\n background-color: var(--ic-status-info-contrast);\n}\n\n.divider-warning {\n background-color: var(--ic-status-warning-contrast);\n}\n\n.divider-error {\n background-color: var(--ic-status-error-contrast);\n}\n\n.divider-success {\n background-color: var(--ic-status-success-contrast);\n}\n\n.toast-icon,\n::slotted(svg) {\n height: var(--ic-space-lg);\n width: var(--ic-space-lg);\n margin-left: var(--ic-space-md);\n}\n\n:host([variant=\"neutral\"]) .toast-icon svg,\n::slotted(svg) {\n fill: var(--ic-status-unknown);\n}\n\n:host([variant=\"info\"]) .toast-icon svg {\n fill: var(--ic-status-info-contrast);\n}\n\n:host([variant=\"warning\"]) .toast-icon svg {\n fill: var(--ic-status-warning-contrast);\n}\n\n:host([variant=\"error\"]) .toast-icon svg {\n fill: var(--ic-status-error-contrast);\n}\n\n:host([variant=\"success\"]) .toast-icon svg {\n fill: var(--ic-status-success-contrast);\n}\n\n.toast-content {\n margin-left: var(--ic-space-xs);\n width: 100%;\n}\n\n.no-icon {\n margin-left: var(--ic-space-md);\n}\n\n.toast-message {\n padding: var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0;\n}\n\n.toast-action-container {\n padding-bottom: var(--ic-space-md);\n}\n\nic-button,\n.toast-dismiss-timer {\n padding: var(--ic-space-xs);\n}\n\n@media (max-width: 576px) {\n :host {\n --bottom-position: var(--ic-space-lg);\n\n width: calc(100% - 2 * var(--ic-space-md));\n }\n}\n\n@media (min-width: 993px) {\n :host {\n --bottom-position: calc(var(--ic-space-xl) + var(--ic-space-xs));\n }\n}\n\n@media (forced-colors: active) {\n .container {\n border: var(--ic-hc-border);\n }\n}\n\n@keyframes fadein {\n from {\n bottom: 0;\n opacity: 0;\n }\n\n to {\n bottom: var(--bottom-position);\n opacity: 1;\n }\n}\n\n@keyframes fadeout {\n from {\n bottom: var(--bottom-position);\n opacity: 1;\n }\n\n to {\n bottom: 0;\n opacity: 0;\n }\n}\n","import { h, Host, } from \"@stencil/core\";\nimport closeIcon from \"../../assets/close-icon.svg\";\nimport { VARIANT_ICONS } from \"../../utils/constants\";\nimport { getSlot, isPropDefined, isSlotUsed, onComponentRequiredPropUndefined, } from \"../../utils/helpers\";\nimport { IcThemeForegroundEnum, } from \"../../utils/types\";\nconst AUTO_DISMISS_TIMER_REFRESH_RATE_MS = 1000;\nconst TOAST_HEADING_CHAR_LIMIT = 70;\nconst TOAST_MESSAGE_CHAR_LIMIT = 140;\n/**\n * @slot action - IcButton or IcLink is placed below header and message. If used will default toast to manual `dismiss` type.\n * @slot neutral-icon - A custom neutral icon is placed on the left side of the component. If used will default toast to `neutral` variant.\n */\nexport class Toast {\n constructor() {\n this.interactiveElements = [];\n this.dismissAction = () => {\n this.icDismiss.emit();\n };\n this.handleProgressChange = () => {\n this.timerProgress -=\n (AUTO_DISMISS_TIMER_REFRESH_RATE_MS / this.autoDismissTimeout) * 100;\n };\n this.timerProgress = 100;\n this.visible = false;\n this.autoDismissTimeout = 5000;\n this.dismissButtonAriaLabel = \"dismiss\";\n this.dismissMode = \"manual\";\n this.heading = undefined;\n this.message = undefined;\n this.neutralIconAriaLabel = undefined;\n this.variant = undefined;\n }\n dismissModeChangeHandler(newValue) {\n this.isManual = newValue === \"manual\";\n }\n disconnectedCallback() {\n window.clearTimeout(this.dismissTimeout);\n window.clearInterval(this.timerRefreshInterval);\n }\n componentWillLoad() {\n var _a, _b;\n this.handleLongText(this.heading.length > TOAST_HEADING_CHAR_LIMIT, ((_a = this.message) === null || _a === void 0 ? void 0 : _a.length) > TOAST_MESSAGE_CHAR_LIMIT);\n if (this.autoDismissTimeout < 5000)\n this.autoDismissTimeout = 5000;\n if (isSlotUsed(this.el, \"action\"))\n this.dismissMode = \"manual\";\n this.isManual = this.dismissMode === \"manual\";\n if (isSlotUsed(this.el, \"neutral-icon\"))\n this.variant = \"neutral\";\n if (this.variant === \"neutral\") {\n this.neutralVariantLabel =\n (_b = this.neutralIconAriaLabel) !== null && _b !== void 0 ? _b : VARIANT_ICONS[this.variant].ariaLabel;\n }\n if (this.isManual) {\n const toastMessage = isPropDefined(this.message)\n ? `. ${this.message}`\n : \"\";\n this.el.setAttribute(\"aria-label\", this.variant\n ? this.neutralVariantLabel || VARIANT_ICONS[this.variant].ariaLabel\n : this.heading);\n (this.variant || this.message) &&\n this.el.setAttribute(\"aria-description\", this.variant ? `${this.heading}${toastMessage}` : this.message);\n }\n }\n componentDidLoad() {\n onComponentRequiredPropUndefined([{ prop: this.heading, propName: \"heading\" }], \"Toast\");\n const actionContent = getSlot(this.el, \"action\");\n const dismissButton = this.el.shadowRoot.querySelector(\"ic-button\");\n if (actionContent)\n this.interactiveElements.push(actionContent);\n if (dismissButton)\n this.interactiveElements.push(dismissButton);\n }\n handleDismiss() {\n this.visible = false;\n clearInterval(this.timerRefreshInterval);\n this.timerProgress = 100;\n }\n handleKeyboard(ev) {\n if (this.isManual && this.visible) {\n switch (ev.key) {\n case \"Tab\":\n ev.preventDefault();\n this.findNextInteractiveElement(ev.shiftKey).setFocus();\n break;\n case \"Escape\":\n !ev.repeat && this.dismissAction();\n ev.stopImmediatePropagation();\n break;\n }\n }\n }\n handleTimer(ev) {\n if (!this.isManual) {\n switch (ev.type) {\n case \"mouseenter\":\n window.clearTimeout(this.dismissTimeout);\n window.clearInterval(this.timerRefreshInterval);\n this.timerProgress = 100;\n break;\n case \"mouseleave\":\n this.dismissTimeout = window.setTimeout(this.dismissAction, this.autoDismissTimeout);\n this.timerRefreshInterval = window.setInterval(this.handleProgressChange, AUTO_DISMISS_TIMER_REFRESH_RATE_MS);\n break;\n }\n }\n }\n /**\n * @internal Used to display the individual toast.\n * @returns The element that previously had focus before the toast appeared\n */\n async setVisible() {\n if (!this.visible)\n this.visible = true;\n if (!this.isManual) {\n this.dismissTimeout = window.setTimeout(this.dismissAction, this.autoDismissTimeout);\n this.timerRefreshInterval = window.setInterval(this.handleProgressChange, AUTO_DISMISS_TIMER_REFRESH_RATE_MS);\n return null;\n }\n else {\n window.setTimeout(() => this.interactiveElements[0].setFocus(), 200);\n return document.activeElement;\n }\n }\n handleLongText(headingTooLong, messageTooLong) {\n if (messageTooLong || headingTooLong) {\n console.error(`Too many characters in toast ${headingTooLong ? \"heading\" : \"\"}${headingTooLong && messageTooLong ? \" and \" : \"\"}${messageTooLong ? \"message\" : \"\"}. Refer to character limits specified in the prop description`);\n }\n }\n findNextInteractiveElement(isBackwards) {\n const firstEl = this.interactiveElements[0];\n const lastEl = this.interactiveElements[this.interactiveElements.length - 1];\n if (this.isActive(isBackwards ? firstEl : lastEl))\n return isBackwards ? lastEl : firstEl;\n let currentIndex;\n return this.interactiveElements.some((el, index) => {\n if (!this.isActive(el))\n return false;\n currentIndex = index;\n return true;\n })\n ? this.interactiveElements[currentIndex + (isBackwards ? -1 : 1)]\n : firstEl;\n }\n isActive(targetEl) {\n return targetEl === this.el\n ? !!this.el.shadowRoot.activeElement\n : document.activeElement === targetEl;\n }\n render() {\n const { variant, heading, message, visible, isManual, dismissButtonAriaLabel, } = this;\n return (h(Host, { class: { [\"hidden\"]: !visible }, role: isManual ? \"dialog\" : \"status\" }, h(\"div\", { class: \"container\" }, variant && visible && (h(\"div\", { class: \"toast-icon-container\" }, h(\"div\", { class: {\n [\"divider\"]: true,\n [`divider-${variant}`]: true,\n } }), variant === \"neutral\" ? (h(\"slot\", { name: \"neutral-icon\" })) : (h(\"span\", { class: \"toast-icon\", innerHTML: VARIANT_ICONS[variant].icon })))), h(\"div\", { class: {\n [\"toast-content\"]: true,\n [\"no-icon\"]: variant === \"neutral\" && !isSlotUsed(this.el, \"neutral-icon\"),\n } }, h(\"div\", { class: \"toast-message\" }, h(\"ic-typography\", { variant: \"subtitle-large\" }, visible && h(\"h5\", null, heading)), message && (h(\"ic-typography\", { variant: \"body\" }, visible && h(\"p\", null, message)))), isSlotUsed(this.el, \"action\") && (h(\"div\", { class: \"toast-action-container\" }, h(\"slot\", { name: \"action\" })))), !isManual ? (h(\"ic-loading-indicator\", { class: \"toast-dismiss-timer\", appearance: \"light\", size: \"icon\", progress: this.timerProgress })) : (h(\"ic-button\", { id: \"dismiss-button\", innerHTML: closeIcon, onClick: this.dismissAction, variant: \"icon\", appearance: IcThemeForegroundEnum.Light, \"aria-label\": dismissButtonAriaLabel })))));\n }\n static get is() { return \"ic-toast\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-toast.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-toast.css\"]\n };\n }\n static get properties() {\n return {\n \"autoDismissTimeout\": {\n \"type\": \"number\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If toast dismissMode is set to `automatic`, use this prop to define the time before the toast dismisses (in MILLISECONDS)\\n(NOTE: Has a minimum value of `5000ms`)\"\n },\n \"attribute\": \"auto-dismiss-timeout\",\n \"reflect\": false,\n \"defaultValue\": \"5000\"\n },\n \"dismissButtonAriaLabel\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If toast can be manually dismissed, this prop sets a custom aria-label for the ic-button component\"\n },\n \"attribute\": \"dismiss-button-aria-label\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"dismiss\\\"\"\n },\n \"dismissMode\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"IcActivationTypes\",\n \"resolved\": \"\\\"automatic\\\" | \\\"manual\\\"\",\n \"references\": {\n \"IcActivationTypes\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcActivationTypes\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"How the toast will be dismissed. If manual will display a dismiss button.\"\n },\n \"attribute\": \"dismiss-mode\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"manual\\\"\"\n },\n \"heading\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The title to display at the start of the toast. (NOTE: Should be no more than `70` characters)\"\n },\n \"attribute\": \"heading\",\n \"reflect\": false\n },\n \"message\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The main body message of the toast. (NOTE: Should be no more than `140` characters)\"\n },\n \"attribute\": \"message\",\n \"reflect\": false\n },\n \"neutralIconAriaLabel\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Provides a custom alt-text to be announced to screen readers, if slotting a custom neutral icon\"\n },\n \"attribute\": \"neutral-icon-aria-label\",\n \"reflect\": false\n },\n \"variant\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"IcStatusVariants\",\n \"resolved\": \"\\\"error\\\" | \\\"info\\\" | \\\"neutral\\\" | \\\"success\\\" | \\\"warning\\\"\",\n \"references\": {\n \"IcStatusVariants\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcStatusVariants\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The variant of the toast being rendered\"\n },\n \"attribute\": \"variant\",\n \"reflect\": false\n }\n };\n }\n static get states() {\n return {\n \"timerProgress\": {},\n \"visible\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"icDismiss\",\n \"name\": \"icDismiss\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Is emitted when the user dismisses the toast\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"setVisible\": {\n \"complexType\": {\n \"signature\": \"() => Promise<HTMLElement>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"HTMLElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLElement\"\n }\n },\n \"return\": \"Promise<HTMLElement>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"Used to display the individual toast.\"\n }, {\n \"name\": \"returns\",\n \"text\": \"The element that previously had focus before the toast appeared\"\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"dismissMode\",\n \"methodName\": \"dismissModeChangeHandler\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"icDismiss\",\n \"method\": \"handleDismiss\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": false\n }, {\n \"name\": \"keydown\",\n \"method\": \"handleKeyboard\",\n \"target\": \"document\",\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"mouseenter\",\n \"method\": \"handleTimer\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": true\n }, {\n \"name\": \"mouseleave\",\n \"method\": \"handleTimer\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": true\n }];\n }\n}\n//# sourceMappingURL=ic-toast.js.map\n"],"version":3}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-4cf27b16.js');
6
6
 
7
- const icToggleButtonGroupCss = "/*! 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}:root{display:block}:host{display:flex;flex-direction:row;width:-moz-fit-content;width:fit-content;min-width:-moz-min-content;min-width:min-content;border:var(--ic-border-width) solid var(--ic-action-default);border-radius:var(--ic-border-radius)}:host(.ic-toggle-button-group-full-width){width:100%;max-width:100%}:host(.ic-toggle-button-group-loading){min-width:-moz-max-content;min-width:max-content}:host(:focus){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);transition:var(--ic-transition-duration-fast);outline:none}::slotted(ic-toggle-button){flex-grow:1;width:-moz-min-content;width:min-content;--toggle-button-border:none}::slotted(ic-toggle-button:not(:last-of-type)){border-right:var(--ic-border-width) solid var(--ic-action-default)}:host(.ic-toggle-button-group-disabled){border:var(--ic-border-disabled);pointer-events:none}:host(.ic-toggle-button-group-disabled) ::slotted(ic-toggle-button:not(:last-of-type)){border-right:var(--ic-border-disabled)}:host(.ic-toggle-button-group-dark){border:var(--ic-border-width) solid var(--ic-action-dark)}:host(.ic-toggle-button-group-dark) ::slotted(ic-toggle-button:not(:last-of-type)){border-right:var(--ic-border-width) solid var(--ic-action-dark)}:host(.ic-toggle-button-group-light) ::slotted(ic-toggle-button:not(:last-of-type)){border-right:var(--ic-border-width) solid var(--ic-action-light)}:host(.ic-toggle-button-group-light){border:var(--ic-border-width) solid var(--ic-action-light)}";
7
+ const icToggleButtonGroupCss = "/*! 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}:root{display:block}:host{display:flex;flex-direction:row;width:-moz-fit-content;width:fit-content;min-width:-moz-min-content;min-width:min-content;border:var(--ic-border-width) solid var(--ic-action-default);border-radius:var(--ic-border-radius)}:host(.full-width){width:100%;max-width:100%}:host(.loading){min-width:-moz-max-content;min-width:max-content}:host(:focus){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);transition:var(--ic-transition-duration-fast);outline:none}::slotted(ic-toggle-button){flex-grow:1;width:-moz-min-content;width:min-content;--toggle-button-border:none}::slotted(ic-toggle-button:not(:last-of-type)){border-right:var(--ic-border-width) solid var(--ic-action-default)}:host(.disabled){border:var(--ic-border-disabled);pointer-events:none}:host(.disabled) ::slotted(ic-toggle-button:not(:last-of-type)){border-right:var(--ic-border-disabled)}:host(.dark){border:var(--ic-border-width) solid var(--ic-action-dark)}:host(.dark) ::slotted(ic-toggle-button:not(:last-of-type)){border-right:var(--ic-border-width) solid var(--ic-action-dark)}:host(.light) ::slotted(ic-toggle-button:not(:last-of-type)){border-right:var(--ic-border-width) solid var(--ic-action-light)}:host(.light){border:var(--ic-border-width) solid var(--ic-action-light)}";
8
8
 
9
9
  const TOGGLE_GROUP = "IC-TOGGLE-BUTTON-GROUP";
10
10
  const ToggleButtonGroup = class {
@@ -33,18 +33,18 @@ const ToggleButtonGroup = class {
33
33
  const el = ev.target;
34
34
  const relEl = ev.relatedTarget;
35
35
  const toggleButtons = Array.from(el.querySelectorAll("ic-toggle-button"));
36
- if (((toggleButtons.every((el) => !el.checked) ||
36
+ if (((toggleButtons.every((el) => !el.toggleChecked) ||
37
37
  this.selectType !== "single") &&
38
38
  this.lastKeyPressed.shift === false) ||
39
- (toggleButtons.every((el) => !el.checked) &&
39
+ (toggleButtons.every((el) => !el.toggleChecked) &&
40
40
  this.lastKeyPressed.shift === true &&
41
41
  relEl.tagName == TOGGLE_GROUP)) {
42
42
  toggleButtons[0].focus();
43
43
  }
44
44
  else if (this.lastKeyPressed.shift === false ||
45
45
  (this.lastKeyPressed.shift === true && relEl.tagName == TOGGLE_GROUP)) {
46
- // if checked is true and selectMethod is "single", focus that toggle
47
- const toggledButton = toggleButtons.filter((el) => el.checked);
46
+ // if toggleChecked is true and selectMethod is "single", focus that toggle
47
+ const toggledButton = toggleButtons.filter((el) => el.toggleChecked);
48
48
  toggledButton[0].focus();
49
49
  }
50
50
  };
@@ -109,19 +109,19 @@ const ToggleButtonGroup = class {
109
109
  clickedToggle = tabTarget;
110
110
  }
111
111
  allToggles.forEach((el) => {
112
- if (el.id !== clickedToggle.id && el.checked) {
113
- el.checked = false;
112
+ if (el.id !== clickedToggle.id && el.toggleChecked) {
113
+ el.toggleChecked = false;
114
114
  }
115
115
  });
116
116
  this.icChange.emit({
117
- checked: ev.detail.checked,
117
+ toggleChecked: ev.detail.toggleChecked,
118
118
  selectedOption: clickedToggle,
119
119
  });
120
120
  }
121
121
  else {
122
- const toggledOptions = this.getAllToggleButtons().filter((el) => el.checked && !el.disabled);
122
+ const toggledOptions = this.getAllToggleButtons().filter((el) => el.toggleChecked && !el.disabled);
123
123
  this.icChange.emit({
124
- checked: toggledOptions.map((opt) => opt.checked),
124
+ toggleChecked: toggledOptions.map((opt) => opt.toggleChecked),
125
125
  toggledOptions: toggledOptions.map((opt) => ({
126
126
  toggleButton: opt,
127
127
  })),
@@ -156,10 +156,10 @@ const ToggleButtonGroup = class {
156
156
  }
157
157
  // trigger selectHandler when unable to add 'target'
158
158
  proxySelectHandler(toggle) {
159
- toggle.checked = true;
159
+ toggle.toggleChecked = true;
160
160
  const customEv = new CustomEvent("icToggleChecked", {
161
161
  detail: {
162
- checked: toggle.checked,
162
+ toggleChecked: toggle.toggleChecked,
163
163
  },
164
164
  });
165
165
  this.selectHandler(customEv, toggle);
@@ -169,10 +169,10 @@ const ToggleButtonGroup = class {
169
169
  }
170
170
  render() {
171
171
  return (index.h(index.Host, { role: "group", "aria-label": this.accessibleLabel, "aria-disabled": this.disabled ? "true" : "false", tabindex: 0, class: {
172
- ["ic-toggle-button-group-full-width"]: this.fullWidth,
173
- ["ic-toggle-button-group-loading"]: this.loading,
174
- ["ic-toggle-button-group-disabled"]: this.disabled,
175
- [`ic-toggle-button-group-${this.appearance}`]: true,
172
+ ["full-width"]: this.fullWidth,
173
+ ["loading"]: this.loading,
174
+ ["disabled"]: this.disabled,
175
+ [`${this.appearance}`]: true,
176
176
  }, onFocus: this.handleHostFocus }, index.h("slot", null)));
177
177
  }
178
178
  get el() { return index.getElement(this); }